/* Ferrara Transport Services — site styles
   Brand: blue #0067B2, navy #06163A, slate #858FA6, green #248232, gray #A6A8AB
   Type: Cabin (headings), Open Sans (body) */

:root {
  --blue: #0067b2;
  --blue-600: #00579a;
  --blue-700: #004a83;
  --blue-50: #e8f2fa;
  --navy: #06163a;
  --navy-2: #0c2250;
  --navy-3: #13306b;
  --slate: #858fa6;
  --green: #248232;
  --gray: #a6a8ab;
  --ink: #0d1730;
  --text: #3d4760;
  --muted: #6b7590;
  --line: #e3e7ef;
  --surface: #f5f7fb;
  --white: #fff;

  --font-head: "Cabin", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(6, 22, 58, .06), 0 2px 8px rgba(6, 22, 58, .06);
  --shadow: 0 10px 30px -10px rgba(6, 22, 58, .25);
  --shadow-lg: 0 30px 60px -20px rgba(6, 22, 58, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4.5vw + .5rem, 3.75rem); }
h2 { font-size: clamp(1.75rem, 2.2vw + .8rem, 2.6rem); }
h3 { font-size: clamp(1.2rem, .6vw + 1rem, 1.45rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(860px, 100% - 40px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 .98rem/1 var(--font-head); letter-spacing: .02em;
  padding: 1em 1.6em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 103, 178, .7); }
.btn--primary:hover { background: var(--blue-600); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { color: var(--blue); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.btn--outline { border-color: var(--blue); color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--sm { padding: .75em 1.2em; font-size: .9rem; }
.btn .icon { width: 1.1em; height: 1.1em; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font: 600 .95rem var(--font-head); text-decoration: none; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: #c9d2e6; font-size: .85rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.topbar a { color: #e6ecf8; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar li { display: flex; align-items: center; gap: 8px; }
.topbar .icon { color: #5aa9e6; }
.topbar__social { gap: 14px !important; }
.topbar__social a { display: grid; place-items: center; opacity: .8; }
.topbar__social a:hover { opacity: 1; }

.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(6, 22, 58, .35); border-bottom-color: var(--line); }
.site-header .container { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 58px; width: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px;
  font: 600 .97rem var(--font-head); color: var(--ink); text-decoration: none; transition: color .2s, background .2s;
}
.nav-link:hover, .nav__item:focus-within > .nav-link { color: var(--blue); }
.nav-link.is-active, [data-active] > .nav-link { color: var(--blue); }
.nav-link .icon { width: 14px; height: 14px; transition: transform .2s; }
.nav__item:hover > .nav-link .icon { transform: rotate(180deg); }
.subnav {
  position: absolute; top: calc(100% + 8px); left: 50%; translate: -50% 6px; min-width: 260px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  list-style: none; margin: 0; padding: 10px; opacity: 0; visibility: hidden; transition: opacity .2s, translate .2s var(--ease), visibility .2s;
}
.subnav::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__item:hover > .subnav, .nav__item:focus-within > .subnav { opacity: 1; visibility: visible; translate: -50% 0; }
.subnav--wide { display: grid; grid-template-columns: 1fr 1fr; min-width: 520px; gap: 2px; }
.subnav a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 600; line-height: 1.3;
}
.subnav a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--line); flex: none; transition: background .2s; }
.subnav a:hover, .subnav a.is-active { background: var(--blue-50); color: var(--blue); }
.subnav a:hover::before, .subnav a.is-active::before { background: var(--blue); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); line-height: 1.2; }
.header-phone__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--blue-50); color: var(--blue); }
.header-phone small { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.header-phone strong { font-family: var(--font-head); font-size: 1rem; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; place-items: center; }
.nav-toggle .icon { width: 24px; height: 24px; }

@media (max-width: 1180px) {
  .header-phone { display: none; }
}
@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .brand img { height: 48px; }
  .topbar__extra { display: none !important; }
  .nav-toggle { display: grid; }
  .header-cta { display: none; }
  .nav {
    /* Absolute (not fixed): the header's backdrop-filter makes it the containing block. */
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--header-h));
    background: #fff; overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--line);
    padding: 12px 20px 96px; transform: translateX(100%); transition: transform .3s var(--ease); visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav-link { padding: 16px 4px; font-size: 1.1rem; border-radius: 0; justify-content: space-between; }
  .nav-link .icon { display: none; }
  .subnav, .subnav--wide {
    position: static; translate: none !important; opacity: 1; visibility: visible; box-shadow: none; border: 0;
    min-width: 0; padding: 0 0 12px 8px; display: block;
  }
  .subnav::before { display: none; }
  .nav__mobile-cta { display: grid !important; gap: 12px; margin-top: 24px; }
  body.nav-open { overflow: hidden; }
}
.nav__mobile-cta { display: none !important; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--alt { background: var(--surface); }
.section--dark { background: var(--navy); color: #c3cce0; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--blue { background: var(--blue); color: #e3f0fa; }
.section--blue h2, .section--blue h3 { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font: 700 .8rem var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #6cb6ee; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.lead { font-size: 1.15rem; color: var(--text); }
.section--dark .lead { color: #d3dbec; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--top { align-items: start; }
.split--reverse > :first-child { order: 2; }
.split + .split { margin-top: clamp(56px, 7vw, 96px); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}
.media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--surface); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 16 / 10; }
.media--accent::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: linear-gradient(90deg, var(--blue), var(--green)); }
.media-stack { position: relative; padding: 0 0 12% 12%; }
.media-stack .media:first-child { aspect-ratio: 4 / 3; }
.media-stack .media:last-child { position: absolute; left: 0; bottom: 0; width: 52%; aspect-ratio: 1; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.section--alt .media-stack .media:last-child { border-color: var(--surface); }
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.media-row .media { aspect-ratio: 4 / 3; }
.media-row--full { margin-top: clamp(40px, 5vw, 64px); }
.media-row--full .media { aspect-ratio: 16 / 9; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Home hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(6, 22, 58, .96) 0%, rgba(6, 22, 58, .85) 38%, rgba(6, 22, 58, .35) 70%, rgba(6, 22, 58, .2) 100%);
}
.hero__inner { padding: clamp(80px, 12vw, 160px) 0 clamp(150px, 16vw, 200px); max-width: 680px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 span { color: #6cb6ee; }
.hero p { font-size: 1.15rem; color: #d8e0ef; max-width: 560px; }
.hero__info { position: relative; margin-top: -96px; z-index: 2; }
.info-bar {
  display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.info-bar__item { display: flex; gap: 16px; align-items: center; padding: 28px 30px; border-right: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.info-bar__item:last-child { border-right: 0; }
a.info-bar__item:hover { background: var(--surface); color: var(--ink); }
.info-bar__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--blue); color: #fff; flex: none; }
.info-bar__icon .icon { width: 24px; height: 24px; }
.info-bar__label { display: block; font: 700 .75rem var(--font-head); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 2px; }
.info-bar__value { display: block; font: 600 1.02rem/1.4 var(--font-head); }
@media (max-width: 900px) {
  .info-bar { grid-template-columns: 1fr; }
  .info-bar__item { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px; }
}

/* ---------- Page hero ---------- */
.page-hero { position: relative; color: #fff; background: var(--navy); isolation: isolate; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 22, 58, .95), rgba(6, 22, 58, .72) 60%, rgba(0, 103, 178, .45)); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--blue) 0 60%, var(--green) 60%); }
.page-hero .container { padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); }
.page-hero h1 { color: #fff; margin: 0 0 14px; font-size: clamp(2.1rem, 3.5vw + .6rem, 3.4rem); max-width: 860px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: .92rem; color: #b6c2da; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #6b7aa0; }
.crumbs a { color: #e3eaf7; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- Stats ---------- */
.stats { background: var(--navy); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.stats::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/ferrara-transportation-services-map-overlay.webp") center / cover no-repeat; opacity: .12; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(40px, 5vw, 64px) 20px; text-align: center; border-right: 1px solid rgba(255, 255, 255, .1); }
.stat:last-child { border-right: 0; }
.stat__num { font: 700 clamp(2.4rem, 3vw + 1rem, 3.6rem)/1 var(--font-head); color: #fff; font-variant-numeric: tabular-nums; }
.stat__num .plus { color: #6cb6ee; }
.stat__label { margin-top: 10px; color: #a9b5cf; font-size: .95rem; letter-spacing: .02em; }
@media (max-width: 760px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .1); }
}
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.mini-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.mini-stat .stat__num { color: var(--blue); font-size: 2.6rem; }
.mini-stat .stat__num .plus { color: var(--green); }
.mini-stat .stat__label { color: var(--muted); margin-top: 6px; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .card-grid, .card-grid--2 { grid-template-columns: 1fr; } }
.service-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s;
  color: inherit; text-decoration: none;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: inherit; }
.service-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-card__img img { transform: scale(1.06); }
.service-card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.service-card__body p { font-size: .97rem; flex: 1; }
.service-card__body ul { font-size: .95rem; padding-left: 1.1em; flex: 1; }
.service-card .link-arrow { margin-top: 6px; color: var(--blue); }

.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); position: relative; }
.feature-card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--blue-50); color: var(--blue); margin-bottom: 18px; }
.feature-card__icon .icon { width: 26px; height: 26px; }
.feature-card h3, .feature-card h4 { margin-bottom: .5em; }
.feature-card ul { margin: 0; padding: 0; list-style: none; }
.feature-card li { padding: 6px 0 6px 26px; position: relative; font-size: .97rem; border-bottom: 1px dashed var(--line); }
.feature-card li:last-child { border-bottom: 0; }
.feature-card li::before { content: ""; position: absolute; left: 0; top: 14px; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); rotate: -45deg; }

/* ---------- Lists ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px 24px; }
.check-list--2 { grid-template-columns: 1fr 1fr; }
.check-list--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .check-list--2, .check-list--3 { grid-template-columns: 1fr; } }
.check-list li { position: relative; padding-left: 34px; line-height: 1.5; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230067b2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.section--dark .check-list li::before { background-color: rgba(108, 182, 238, .15); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 1.4em; }
.chips li { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 600 .92rem var(--font-head); color: var(--ink); box-shadow: var(--shadow-sm); }
.chips li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); margin-right: 9px; vertical-align: middle; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-sm); }
.panel--blue { background: linear-gradient(135deg, var(--blue), var(--blue-700)); color: #e3f0fa; border: 0; }
.panel--blue h3, .panel--blue h4 { color: #fff; }
.panel--blue .check-list li::before { background-color: rgba(255, 255, 255, .9); }
.callout { border-left: 4px solid var(--green); background: var(--surface); padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-weight: 600; color: var(--ink); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 28px 0; background: var(--surface); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 16px; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { height: 200px; width: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font: 600 1.08rem/1.4 var(--font-head); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue-50); color: var(--blue); font-size: 1.3rem; font-weight: 400; transition: rotate .25s var(--ease), background .2s, color .2s;
}
.faq details[open] summary::after { rotate: 45deg; background: var(--blue); color: #fff; }
.faq__body { padding: 0 24px 20px; }
.faq__body > :last-child { margin-bottom: 0; }

/* ---------- Quote / contact ---------- */
.quote-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .quote-wrap { grid-template-columns: 1fr; } }
.contact-cards { display: grid; gap: 14px; margin-top: 28px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 20px 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; text-decoration: none; transition: background .2s, transform .2s var(--ease); }
a.contact-card:hover { background: rgba(255, 255, 255, .1); color: #fff; transform: translateX(4px); }
.contact-card__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--blue); color: #fff; flex: none; }
.contact-card strong { display: block; font: 700 1.15rem/1.3 var(--font-head); word-break: break-word; }
.contact-card span { font-size: .9rem; color: #a9b5cf; }
.section:not(.section--dark) .contact-card { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: var(--shadow-sm); }
.section:not(.section--dark) .contact-card span { color: var(--muted); }

.form-card { background: #fff; color: var(--text); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 44px); box-shadow: var(--shadow-lg); border-top: 5px solid var(--blue); }
.form-card h2, .form-card h3 { color: var(--ink); margin-bottom: .3em; font-size: clamp(1.5rem, 1.4vw + 1rem, 2rem); }
.form-card > p { color: var(--muted); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 20px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font: 600 .88rem var(--font-head); color: var(--ink); margin-bottom: 6px; }
.field label .req { color: #c0392b; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 13px 15px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--surface); transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0, 103, 178, .12); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.option-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.option { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; font-size: .93rem; background: var(--surface); transition: border-color .2s, background .2s; }
.option:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }
.option input { width: 17px; height: 17px; accent-color: var(--blue); margin: 0; }
.form .btn { justify-self: start; }
.form-note { grid-column: 1 / -1; margin: 0; padding: 12px 16px; border-radius: 10px; background: var(--blue-50); color: var(--blue-700); font-size: .92rem; display: none; }
.form-note.is-visible { display: block; }

.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 7; background: var(--surface); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 640px) { .map { aspect-ratio: 4 / 3; } }

/* ---------- Dialog ---------- */
dialog.modal {
  width: min(640px, 100% - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: auto;
}
dialog.modal::backdrop { background: rgba(6, 22, 58, .7); backdrop-filter: blur(4px); }
dialog.modal[open] { animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal .form-card { box-shadow: none; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center; z-index: 1; }
.modal__close:hover { background: var(--line); }

/* ---------- Gallery ---------- */
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery button { display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--surface); break-inside: avoid; position: relative; }
.gallery img { width: 100%; transition: transform .5s var(--ease), filter .3s; }
.gallery button:hover img { transform: scale(1.04); filter: brightness(.9); }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(4, 12, 32, .95); }
.lightbox::backdrop { background: rgba(4, 12, 32, .95); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(1200px, 92vw); max-height: 84dvh; border-radius: var(--radius-sm); object-fit: contain; }
.lightbox__btn { position: fixed; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .2); }
.lightbox__btn .icon { width: 24px; height: 24px; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 20px; top: 50%; translate: 0 -50%; }
.lightbox__count { position: fixed; bottom: 20px; left: 50%; translate: -50% 0; color: #b6c2da; font-size: .9rem; }

/* ---------- Prose / sidebar ---------- */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 980px) { .with-sidebar { grid-template-columns: 1fr; } }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.4rem, 1vw + 1rem, 1.85rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose > :first-child { margin-top: 0; }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.prose figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; text-align: center; }
.meta-line { color: var(--muted); font-size: .92rem; }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.sidebar-card { background: var(--surface); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.sidebar-card h3 { font-size: 1.1rem; margin-bottom: 14px; }
.sidebar-card--dark { background: var(--navy); color: #c3cce0; border: 0; }
.sidebar-card--dark h3 { color: #fff; }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links a { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.side-links li:last-child a { border-bottom: 0; }
.side-links a:hover { color: var(--blue); }
.side-services { display: grid; gap: 14px; }
.side-services article { background: #fff; border-radius: var(--radius-sm); padding: 16px 18px; border: 1px solid var(--line); }
.side-services h4 { font-size: 1rem; margin-bottom: 4px; }
.side-services p { font-size: .88rem; margin: 0; line-height: 1.6; }

.sitemap-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 800px) { .sitemap-cols { grid-template-columns: 1fr; } }
.sitemap-cols ul { list-style: none; padding: 0; margin: 0; }
.sitemap-cols li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.sitemap-cols li a { text-decoration: none; font-weight: 600; color: var(--ink); }
.sitemap-cols li a:hover { color: var(--blue); }
.sitemap-cols li.sub { padding-left: 20px; }
.sitemap-cols li.sub a { font-weight: 400; }


.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .spec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .spec-grid { grid-template-columns: 1fr; } }
.spec-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--blue); }
.spec-card h4 { font-size: 1.12rem; margin-bottom: 12px; }
.spec-card ul { list-style: none; padding: 0; margin: 0; }
.spec-card li { padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.spec-card li:last-child { border-bottom: 0; }
.spec-card p { margin: 0; font-size: .95rem; }

.equipment-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 760px) { .equipment-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .equipment-list { grid-template-columns: 1fr; } }
.equipment-list li { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-sm); padding: 16px 18px; font: 600 1rem var(--font-head); color: #fff; }
.equipment-list .icon { color: #6cb6ee; width: 22px; height: 22px; }

.badge-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 1.4em; padding: 0; list-style: none; }
.badge-row li { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); font: 600 .95rem var(--font-head); color: var(--ink); box-shadow: var(--shadow-sm); }
.badge-row .icon { color: var(--green); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--blue) 0%, var(--blue-700) 60%, var(--navy-2) 100%); color: #e3f0fa; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/ferrara-transportation-services-map-overlay.webp") right center / cover no-repeat; opacity: .1; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(48px, 6vw, 72px) 0; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #040f29; color: #a9b5cf; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 40px; padding: clamp(56px, 7vw, 88px) 0 48px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 170px; margin-bottom: 18px; }
.site-footer h2 { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #c9d2e6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { color: #5aa9e6; margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.socials a:hover { background: var(--blue); text-decoration: none; }
.footer-hours { margin-top: 22px; padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.footer-hours strong { color: #fff; display: block; font-family: var(--font-head); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: .87rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Floating call (mobile) ---------- */
.fab-call { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: none; align-items: center; gap: 8px; padding: 14px 20px; border-radius: 999px; background: var(--green); color: #fff; font: 700 .95rem var(--font-head); text-decoration: none; box-shadow: 0 12px 30px -10px rgba(36, 130, 50, .8); }
.fab-call:hover { color: #fff; }
@media (max-width: 760px) { .fab-call { display: inline-flex; } }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: clamp(40px, 5vw, 64px); }

.card-grid--auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.media-row--4 { grid-template-columns: repeat(4, 1fr); }
.media-row--4 .media { aspect-ratio: 4 / 3; }
@media (max-width: 760px) { .media-row--4 { grid-template-columns: 1fr 1fr; } }
.detail-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.detail-list li { display: flex; gap: 12px; }
.detail-list .icon { color: var(--blue); margin-top: 5px; }
.quote-wrap--center { align-items: center; }
