/*
 * Autotrasporti Fulceri — restyling verde / oro / carta
 * Override non distruttivo del foglio stile pubblicato.
 */

:root {
  --paper: #f2efe8;
  --paper-deep: #e7e2d8;
  --white: #fbfaf6;
  --ink: #151a17;
  --ink-soft: #242a26;
  --forest: #244b3b;
  --forest-dark: #17372b;
  --bronze: #b79a55;
  --gold-soft: #d0b66d;
  --stone: #6f746f;
  --line: #cbc6ba;
  --line-dark: #f2efe833;
}

body {
  background: var(--paper);
}

/* Header e marchio */
.site-header {
  background: rgb(242 239 232 / 97%);
  border-bottom-color: rgb(111 116 111 / 25%);
}

.site-header > .brand-logo {
  position: relative;
}

.site-header > .brand-logo img {
  mix-blend-mode: multiply;
}

.site-header > .brand-logo::after {
  content: "";
  position: absolute;
  top: 35px;
  left: 53px;
  width: 162px;
  height: 1px;
  background: var(--bronze);
  pointer-events: none;
}

.desktop-nav a::after {
  background: var(--bronze);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  background: var(--forest);
  border-color: var(--bronze);
}

.header-cta::after {
  content: "↗";
  color: var(--gold-soft);
  font-size: 16px;
  line-height: 1;
}

.header-cta:hover {
  color: var(--white);
  background: var(--forest-dark);
  border-color: var(--gold-soft);
}

/* Accenti e azioni */
.eyebrow,
.section-kicker {
  color: var(--bronze);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: 0.17em;
}

.eyebrow::after,
.section-kicker::after {
  width: 64px;
  height: 2px;
  margin-top: 20px;
}

.section-kicker.light,
.process-list > li > span,
.specialization-list article > span,
.authorization-grid strong,
.footer-links > span,
.footer-contact > span,
.contact-aside dt {
  color: var(--gold-soft);
}

.button-primary {
  color: var(--white);
  background: var(--forest);
}

.button-primary:hover {
  background: var(--forest-dark);
}

.text-link span,
.solution-card > a span {
  color: var(--bronze);
}

/* Home: qualifiche */
.trust-bar {
  min-height: 120px;
  color: var(--gold-soft);
  background: var(--forest);
  border-top: 2px solid var(--bronze);
  font-size: 16px;
}

.trust-bar span {
  color: var(--gold-soft);
  border-right: 2px solid rgb(183 154 85 / 78%);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.trust-bar span:last-child {
  border-right: 0;
}

.trust-bar strong {
  display: block;
  margin-top: 10px;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.07em;
}

/* Etichette operative: più leggibili, senza competere con i titoli. */
.solution-card .card-number,
.capability-copy > span,
.sector-preview-copy > span,
.sector-card-copy > span,
.detail-index span,
.process-list > li > span {
  font-size: 16px;
  font-weight: 650;
}

.solution-card > small,
.detail-index small,
.case-grid small {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.fleet-type-label,
.form-intro span {
  font-size: 15px;
  font-weight: 650;
}

.fleet-type-label::after {
  width: 50px;
  height: 2px;
}

/* Home: tre esigenze, senza contenuto aggiuntivo sottostante */
.needs-section {
  padding-bottom: clamp(64px, 6vw, 92px);
}

.needs-section .section-heading {
  margin-bottom: clamp(44px, 5vw, 66px);
}

.solution-card {
  min-height: 390px;
}

/* Home: sede su verde pieno, come approvato */
.needs-section + .split-story {
  background: var(--forest);
}

.needs-section + .split-story .story-copy h2 {
  color: var(--white);
}

.needs-section + .split-story .story-copy p:not(.section-kicker) {
  color: #d7ded9;
}

.needs-section + .split-story .section-kicker {
  color: var(--gold-soft);
}

.needs-section + .split-story .text-link {
  color: var(--white);
}

/* Blocchi verdi nelle pagine interne */
.page-hero-forest .page-hero-copy,
.page-hero-ink .page-hero-copy,
.process-section,
.sector-preview,
.specialization-section,
.contact-aside {
  background: var(--forest);
}

.page-hero-forest .page-hero-copy,
.page-hero-ink .page-hero-copy,
.process-section,
.specialization-section,
.contact-aside {
  border-color: rgb(242 239 232 / 20%);
}

.process-list,
.process-list li,
.specialization-list,
.specialization-list article,
.contact-aside dl,
.contact-aside dl > div {
  border-color: rgb(242 239 232 / 22%);
}

.authorization-section {
  background: var(--forest-dark);
}

.authorization-grid article {
  background: var(--forest-dark);
  padding: 0;
}

.authorization-download-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  padding: 28px;
  color: var(--white);
  background: var(--forest-dark);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.authorization-download-card:hover {
  background: #173e31;
  box-shadow: inset 0 0 0 1px rgb(207 174 93 / 55%);
}

.authorization-download-card:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid var(--gold-soft);
  outline-offset: -4px;
}

.authorization-download-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  color: var(--gold-soft);
  border-top: 1px solid rgb(207 174 93 / 45%);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}

.authorization-download-label > span {
  font-size: 19px;
  line-height: 1;
}

.sector-preview-grid,
.sector-preview-grid article {
  border-color: rgb(242 239 232 / 20%);
}

.final-cta {
  background: var(--forest-dark);
}

/* Form e stati di interazione */
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--bronze);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-color: var(--bronze);
}

/* Il logo nel footer resta su carta per mantenere contrasto sul fondo scuro. */
.site-footer .footer-logo::after {
  display: none;
}

@media (max-width: 1120px) {
  .site-header > .brand-logo::after {
    top: 31px;
    left: 47px;
    width: 142px;
  }
}

@media (max-width: 900px) {
  .mobile-menu-panel {
    border-top-color: var(--bronze);
  }

  .trust-bar {
    min-height: 104px;
  }

  .trust-bar span {
    font-size: 14px;
  }

  .trust-bar strong {
    margin-top: 7px;
    font-size: 16px;
  }
}

@media (max-width: 620px) {
  .site-header > .brand-logo::after {
    top: 27px;
    left: 41px;
    width: 124px;
  }

  .trust-bar {
    gap: 14px;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .trust-bar span,
  .trust-bar span:first-child {
    border-right: 0;
    border-bottom-width: 1px;
    border-bottom-color: rgb(183 154 85 / 55%);
  }

  .trust-bar span:last-child {
    border-bottom: 0;
  }

  .eyebrow,
  .section-kicker {
    font-size: 15px;
  }

  .solution-card {
    min-height: 330px;
  }
}
