/* =========================================================================
   MILANO AUTO CENTER S.R.L. — Global Stylesheet
   Palette: Black · White · Red  |  Display: Saira Condensed · Body: Manrope
   ========================================================================= */

/* ----------------------------- Design Tokens ---------------------------- */
:root {
  --black:        #0a0a0d;
  --black-2:      #111116;
  --black-3:      #16161d;
  --panel:        #1b1b23;
  --panel-line:   rgba(255, 255, 255, .08);
  --white:        #ffffff;
  --off-white:    #f3f4f6;
  --grey:         #9aa0aa;
  --grey-2:       #6b7079;

  --red:          #e2231a;
  --red-bright:   #ff3b30;
  --red-deep:     #b01510;

  --maxw:         1280px;
  --gutter:       clamp(1.25rem, 4vw, 4rem);
  --radius:       14px;
  --radius-lg:    22px;

  --t-fast:       .25s cubic-bezier(.2,.7,.3,1);
  --t-med:        .45s cubic-bezier(.2,.7,.3,1);
  --t-slow:       .8s cubic-bezier(.16,1,.3,1);

  --font-display: "Saira Condensed", "Arial Narrow", sans-serif;
  --font-body:    "Manrope", system-ui, sans-serif;

  --shadow:       0 18px 50px -18px rgba(0,0,0,.65);
  --shadow-red:   0 18px 50px -14px rgba(226,35,26,.55);
}

/* ------------------------------- Reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; max-width: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--off-white);
  line-height: 1.65;
  overflow-x: hidden;
  font-weight: 400;
  letter-spacing: .01em;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }

/* ----------------------------- Typography ------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: .98;
  letter-spacing: .005em;
  text-transform: uppercase;
}
.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .32em;
  font-weight: 600;
  font-size: .82rem;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: ""; width: 34px; height: 2px; background: var(--red); display: inline-block;
}
.section-title {
  font-size: clamp(2.2rem, 5.5vw, 4.6rem);
  margin: .5rem 0 1rem;
}
.section-title .accent { color: var(--red); }
.lead { font-size: clamp(1rem, 1.4vw, 1.18rem); color: var(--grey); max-width: 62ch; }

/* ------------------------------ Layout ---------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(4.5rem, 9vw, 8.5rem) 0; position: relative; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }

/* ------------------------------ Buttons --------------------------------- */
.btn {
  --bg: var(--red); --fg: #fff;
  display: inline-flex; align-items: center; gap: .65rem;
  padding: 1rem 1.9rem;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; font-size: .95rem;
  border-radius: 999px;
  position: relative; overflow: hidden;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform var(--t-fast); }
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-red); }
.btn:hover svg { transform: translateX(4px); }
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .6s ease;
}
.btn:hover::after { transform: translateX(120%); }
.btn--ghost { --bg: transparent; --fg: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: #fff; box-shadow: none; background: rgba(255,255,255,.06); }
.btn--dark { --bg: var(--black); --fg: #fff; }
.btn--lg { padding: 1.15rem 2.4rem; font-size: 1.05rem; }

/* ----------------------------- Top Bar ---------------------------------- */
.topbar {
  background: var(--black);
  border-bottom: 1px solid var(--panel-line);
  font-size: .85rem;
  position: relative; z-index: 60;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 1rem; }
.topbar a { color: var(--grey); display: inline-flex; align-items: center; gap: .45rem; transition: color var(--t-fast); }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; color: var(--red); }
.topbar-left { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.topbar-right { display: flex; align-items: center; gap: 1.2rem; }
.lang-switch { display: inline-flex; gap: .2rem; align-items: center; font-family: var(--font-display); font-weight: 600; letter-spacing: .08em; }
.lang-switch a { padding: .15rem .45rem; border-radius: 6px; color: var(--grey); }
.lang-switch a.active { color: #fff; background: var(--red); }
.lang-switch span { color: var(--grey-2); }
.topbar-left .ico-only { display: none; }

/* ------------------------------ Header ---------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,13,.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}
.header.scrolled { background: rgba(10,10,13,.94); border-bottom-color: var(--panel-line); box-shadow: 0 10px 30px -20px #000; }
.header .container { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 1.5rem; }
.brand img { height: 46px; width: auto; transition: height var(--t-med); }
.header.scrolled .brand img { height: 40px; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em;
  font-weight: 600; font-size: .95rem; color: var(--off-white); position: relative; padding: .35rem 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--red);
  transition: width var(--t-fast);
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
/* The in-nav CTA is only for the mobile dropdown; the desktop CTA lives in .header-cta */
.nav > .btn { display: none; }
.nav > .btn::after { display: none; }
.header-cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--panel-line); position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; transition: var(--t-fast); }
.nav-toggle span:nth-child(1){ top: 16px; } .nav-toggle span:nth-child(2){ top: 22px; } .nav-toggle span:nth-child(3){ top: 28px; }
body.nav-open .nav-toggle span:nth-child(1){ transform: rotate(45deg); top: 22px; }
body.nav-open .nav-toggle span:nth-child(2){ opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3){ transform: rotate(-45deg); top: 22px; }

/* ------------------------------- Hero ----------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(8,8,11,.95) 0%, rgba(8,8,11,.7) 38%, rgba(8,8,11,.25) 70%, rgba(8,8,11,.55) 100%),
    radial-gradient(120% 90% at 80% 20%, rgba(226,35,26,.18), transparent 55%);
}
.hero__grain { position: absolute; inset: 0; z-index: 1; opacity: .5; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__content { position: relative; z-index: 2; padding-block: 6rem 4rem; max-width: 860px; }
.hero__content .eyebrow { margin-bottom: 1.4rem; }
.hero h1 {
  font-size: clamp(2.9rem, 8.5vw, 7rem);
  letter-spacing: -.01em;
}
.hero h1 .accent { color: var(--red); display: block; }
.hero__sub { margin-top: 1.4rem; font-size: clamp(1.05rem, 1.7vw, 1.4rem); color: #d7d9de; max-width: 56ch; }
.hero__actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__strip {
  position: relative; z-index: 2; margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  border-top: 1px solid var(--panel-line); padding-top: 2rem;
}
.hero__strip .item { display: flex; gap: .9rem; align-items: flex-start; }
.hero__strip .item svg { width: 30px; height: 30px; color: var(--red); flex: none; margin-top: 3px; }
.hero__strip strong { font-family: var(--font-display); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; display: block; }
.hero__strip span { color: var(--grey); font-size: .9rem; }
.scroll-cue { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 3; color: var(--grey); display: grid; place-items: center; gap: .4rem; font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; }
.scroll-cue .mouse { width: 24px; height: 38px; border: 2px solid var(--grey); border-radius: 14px; position: relative; }
.scroll-cue .mouse::after { content:""; position:absolute; left:50%; top:7px; width:3px; height:7px; background: var(--red); border-radius: 3px; transform: translateX(-50%); animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0%{opacity:0; transform: translate(-50%,0);} 30%{opacity:1;} 100%{opacity:0; transform: translate(-50%,12px);} }
/* The centered scroll cue can collide with the middle hero item, so only show it
   on tall desktop screens that have guaranteed clearance below the hero strip. */
.scroll-cue { display: none; }
@media (min-height: 1101px) and (min-width: 1101px) { .scroll-cue { display: grid; } }

/* --------------------------- Counters band ------------------------------ */
.counters { background: var(--black-2); border-block: 1px solid var(--panel-line); }
.counters .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.counter .num { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4rem); color: #fff; line-height: 1; }
.counter .num .accent { color: var(--red); }
.counter .label { color: var(--grey); margin-top: .4rem; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; }

/* ------------------------------ About ----------------------------------- */
.about { background: var(--black); }
.about .grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius-lg); aspect-ratio: 4/3.4; object-fit: cover; box-shadow: var(--shadow); }
.about__media .badge {
  position: absolute; right: -1.2rem; bottom: -1.2rem; background: var(--red); color: #fff;
  border-radius: var(--radius); padding: 1.3rem 1.6rem; box-shadow: var(--shadow-red); max-width: 230px;
}
.about__media .badge .big { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; }
.about__media .badge .small { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; opacity: .95; }
.about__media::before {
  content:""; position:absolute; left:-1.5rem; top:-1.5rem; width: 120px; height: 120px;
  border-left: 3px solid var(--red); border-top: 3px solid var(--red); border-radius: 6px 0 0 0; opacity:.7;
}
.about p + p { margin-top: 1rem; }
/* Checklist — used in About and on the Car Sales pages */
.points { margin-top: 1.8rem; display: grid; gap: .9rem; }
.points li { display: flex; gap: .8rem; align-items: flex-start; color: var(--off-white); }
.points svg { width: 22px; height: 22px; color: var(--red); flex: none; margin-top: 3px; }

/* ----------------------------- Services --------------------------------- */
.services { background: var(--black-2); position: relative; }
.services::before {
  content:""; position:absolute; inset:0; pointer-events:none; opacity:.06;
  background-image: linear-gradient(var(--white) 1px, transparent 1px), linear-gradient(90deg, var(--white) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(120% 80% at 50% 0%, #000, transparent 75%);
}
.services__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: 3rem; position: relative; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; position: relative; }
.svc-card {
  background: linear-gradient(180deg, var(--panel), var(--black-3));
  border: 1px solid var(--panel-line);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  position: relative; overflow: hidden;
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}
.svc-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--red); transition: width var(--t-med);
}
.svc-card:hover { transform: translateY(-8px); border-color: rgba(226,35,26,.5); box-shadow: var(--shadow); }
.svc-card:hover::before { width: 100%; }
.svc-card .num { position: absolute; right: 1.2rem; top: .8rem; font-family: var(--font-display); font-size: 3.4rem; color: rgba(255,255,255,.05); }
.svc-card .ico { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: rgba(226,35,26,.12); color: var(--red); margin-bottom: 1.3rem; transition: background var(--t-med), color var(--t-med); }
.svc-card .ico svg { width: 30px; height: 30px; }
.svc-card:hover .ico { background: var(--red); color: #fff; }
.svc-card h3 { font-size: 1.45rem; margin-bottom: .6rem; }
.svc-card p { color: var(--grey); font-size: .96rem; }

/* ------------------------------ Why Us ---------------------------------- */
.why { background: var(--black); }
.why .grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.why__list { display: grid; gap: 1.1rem; }
.why__item { display: flex; gap: 1.1rem; padding: 1.3rem 1.4rem; border: 1px solid var(--panel-line); border-radius: var(--radius); background: var(--black-2); transition: transform var(--t-fast), border-color var(--t-fast); }
.why__item:hover { transform: translateX(6px); border-color: rgba(226,35,26,.4); }
.why__item .ico { width: 46px; height: 46px; flex: none; border-radius: 10px; background: rgba(226,35,26,.12); color: var(--red); display: grid; place-items: center; }
.why__item .ico svg { width: 24px; height: 24px; }
.why__item h4 { font-size: 1.2rem; margin-bottom: .25rem; }
.why__item p { color: var(--grey); font-size: .92rem; }
.why__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.why__media img { aspect-ratio: 3/3.6; object-fit: cover; width: 100%; transform: scale(1.05); }

/* ------------------------------- Chips ---------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.chips li {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em;
  font-size: .8rem; color: var(--off-white); padding: .5rem .9rem; border-radius: 999px;
  border: 1px solid var(--panel-line); background: var(--black-2); transition: border-color var(--t-fast), color var(--t-fast); }
.chips li:hover { border-color: var(--red); color: #fff; }

/* ----------------------------- Reviews ---------------------------------- */
.reviews { background: var(--black-2); border-block: 1px solid var(--panel-line); }
.reviews-card {
  max-width: 760px; margin-inline: auto; text-align: center;
  background: linear-gradient(180deg, var(--panel), var(--black-3));
  border: 1px solid var(--panel-line); border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 3.6rem); box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; gap: .2rem; position: relative; overflow: hidden;
}
.reviews-card::before { content:""; position:absolute; top:0; left:50%; transform:translateX(-50%); width:140px; height:3px; background: var(--red); }
.reviews-card .g-logo { margin-bottom: .8rem; }
.reviews-card .stars { color: #ffc107; font-size: 1.6rem; letter-spacing: .15em; }
.reviews-card .lead { color: var(--grey); }
.reviews-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 1.8rem; }

/* ----------------------------- Parallax band ---------------------------- */
.parallax {
  position: relative; min-height: 70vh; display: flex; align-items: center;
  padding-block: clamp(4rem, 9vw, 6.5rem);
  background-image: linear-gradient(90deg, rgba(8,8,11,.92) 0%, rgba(8,8,11,.55) 55%, rgba(8,8,11,.2) 100%),
    url("../assets/img/parallax-officina.jpg");
  background-size: cover; background-position: center; background-attachment: fixed;
}
.parallax__inner { max-width: 620px; }
.parallax h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
.parallax p { color: #d7d9de; margin: 1rem 0 2rem; }

/* ----------------------------- Process ---------------------------------- */
.process { background: var(--black-2); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; margin-top: 3rem; counter-reset: step; }
.step { position: relative; padding-top: 2.6rem; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-size: 1.6rem; color: var(--red);
  position: absolute; top: 0; left: 0;
}
.step::after { content:""; position:absolute; top: .85rem; left: 3rem; right: -.6rem; height: 2px; background: linear-gradient(90deg, var(--red), transparent); }
.step:last-child::after { display: none; }
.step h4 { font-size: 1.15rem; margin-bottom: .4rem; }
.step p { color: var(--grey); font-size: .9rem; }

/* ------------------------------- CTA ------------------------------------ */
.cta-band { background: linear-gradient(120deg, var(--red-deep), var(--red)); position: relative; overflow: hidden; }
.cta-band::after { content:""; position:absolute; right:-5%; top:-50%; width: 50%; height: 200%; background: rgba(255,255,255,.06); transform: rotate(18deg); }
.cta-band .inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.4rem); }
.cta-band p { color: rgba(255,255,255,.9); margin-top: .4rem; }

/* ------------------------------ Contact --------------------------------- */
.contact { background: var(--black); }
.contact .grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
/* Home "Where we are" section: vertically center the map against the taller info column */
#contatti .grid { align-items: center; }
.info-card { background: var(--black-2); border: 1px solid var(--panel-line); border-radius: var(--radius); padding: 1.4rem 1.5rem; display: flex; gap: 1rem; align-items: flex-start; transition: border-color var(--t-fast), transform var(--t-fast); }
.info-card:hover { border-color: rgba(226,35,26,.4); transform: translateY(-3px); }
.info-card .ico { width: 48px; height: 48px; flex: none; border-radius: 12px; background: rgba(226,35,26,.12); color: var(--red); display: grid; place-items: center; }
.info-card .ico svg { width: 24px; height: 24px; }
.info-card h4 { font-size: 1.1rem; margin-bottom: .2rem; }
.info-card a, .info-card p { color: var(--grey); font-size: .95rem; }
.info-card a:hover { color: #fff; }
.info-stack { display: grid; gap: 1rem; }

/* ------------------------------- Form ----------------------------------- */
.form { background: var(--black-2); border: 1px solid var(--panel-line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.6rem); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; color: var(--grey); margin-bottom: .45rem; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--black); border: 1px solid var(--panel-line); border-radius: 10px;
  padding: .9rem 1rem; color: #fff; font-family: inherit; font-size: 1rem; transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(226,35,26,.18); }
.field input::placeholder, .field textarea::placeholder { color: var(--grey-2); }
.checkbox { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--grey); }
.checkbox input { width: 18px; height: 18px; flex: none; margin-top: 3px; accent-color: var(--red); }
.checkbox a { color: var(--red); text-decoration: underline; }
.form-note { font-size: .82rem; color: var(--grey-2); margin-top: .8rem; }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: 10px; font-size: .92rem; display: none; }
.form-status.ok { display: block; background: rgba(40,170,90,.14); color: #6fe39a; border: 1px solid rgba(40,170,90,.4); }
.form-status.err { display: block; background: rgba(226,35,26,.14); color: #ff8a83; border: 1px solid rgba(226,35,26,.4); }

/* -------------------------------- Map ----------------------------------- */
.map-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--panel-line); box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 440px; border: 0; display: block; filter: grayscale(.3) contrast(1.05); }
/* Consent gate for the Google Maps embed (GDPR / Garante) */
.map-consent {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; text-align: center;
  gap: 1rem; padding: 2rem; background:
    linear-gradient(rgba(10,10,13,.82), rgba(10,10,13,.92)),
    url("../assets/img/map-consent-bg.jpg");
  background-size: cover; background-position: center;
}
.map-wrap.consented .map-consent { display: none; }
.map-consent p { color: var(--off-white); max-width: 42ch; font-size: .95rem; }
.map-consent .mc-ico { width: 48px; height: 48px; color: var(--red); }
.map-consent a { color: var(--red); text-decoration: underline; }

/* ------------------------------ Footer ---------------------------------- */
.footer { background: var(--black); border-top: 1px solid var(--panel-line); padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer .grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer img.flogo { height: 50px; margin-bottom: 1.2rem; }
.footer p { color: var(--grey); font-size: .92rem; }
.footer h5 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; font-size: 1rem; margin-bottom: 1.2rem; color: #fff; }
.footer ul li { margin-bottom: .65rem; }
.footer ul a { color: var(--grey); font-size: .92rem; transition: color var(--t-fast), padding var(--t-fast); }
.footer ul a:hover { color: #fff; padding-left: 5px; }
.footer .contact-line { display: flex; gap: .6rem; align-items: flex-start; color: var(--grey); font-size: .92rem; margin-bottom: .8rem; }
.footer .contact-line svg { width: 18px; height: 18px; color: var(--red); flex: none; margin-top: 3px; }
.socials { display: flex; gap: .7rem; margin-top: 1.2rem; }
.socials a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--panel-line); display: grid; place-items: center; color: var(--grey); transition: var(--t-fast); }
.socials a:hover { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { margin-top: clamp(2.5rem,5vw,3.5rem); border-top: 1px solid var(--panel-line); padding: 1.6rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--grey-2); font-size: .85rem; }
.footer__bottom a { color: var(--grey); } .footer__bottom a:hover { color: #fff; }

/* --------------------------- Floating actions --------------------------- */
.fab { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 70; display: grid; gap: .7rem; }
.fab a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow); transition: transform var(--t-fast); }
.fab a:hover { transform: scale(1.08); }
.fab .wa { background: #25d366; color: #fff; }
.fab .call { background: var(--red); color: #fff; }
.fab svg { width: 26px; height: 26px; }
.to-top { position: fixed; left: 1.1rem; bottom: 1.1rem; z-index: 70; width: 48px; height: 48px; border-radius: 50%; background: var(--panel); border: 1px solid var(--panel-line); color: #fff; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity var(--t-fast), transform var(--t-fast); }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--red); transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }

/* --------------------------- Cookie banner ------------------------------ */
.cookie {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 90; max-width: 940px; margin-inline: auto;
  background: var(--black-2); border: 1px solid var(--panel-line); border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem; box-shadow: var(--shadow);
  display: none; grid-template-columns: 1fr auto; gap: 1.4rem; align-items: center;
  transform: translateY(20px); opacity: 0; transition: transform var(--t-med), opacity var(--t-med);
}
.cookie.show { display: grid; }
.cookie.in { transform: translateY(0); opacity: 1; }
.cookie h4 { font-size: 1.15rem; margin-bottom: .35rem; }
.cookie p { color: var(--grey); font-size: .88rem; }
.cookie p a { color: var(--red); text-decoration: underline; }
.cookie__actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.cookie__actions .btn { padding: .8rem 1.4rem; font-size: .85rem; }
@media (max-width: 640px){ .cookie { grid-template-columns: 1fr; } }

/* --------------------------- Page hero (sub) ---------------------------- */
.page-hero { position: relative; padding: clamp(7rem, 12vw, 10rem) 0 clamp(3rem,6vw,5rem); overflow: hidden; }
.page-hero::before {
  content:""; position:absolute; inset:0; z-index:0;
  background-image: linear-gradient(0deg, var(--black) 5%, rgba(10,10,13,.7) 60%, rgba(10,10,13,.85)),
    url("../assets/img/page-hero-bg.jpg");
  background-size: cover; background-position: center;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
.breadcrumb { color: var(--grey); font-size: .85rem; margin-top: 1rem; }
.breadcrumb a:hover { color: #fff; } .breadcrumb .sep { color: var(--red); margin: 0 .5rem; }

/* ----------------------------- Reveal anim ------------------------------ */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"]{ transition-delay: .08s; }
[data-reveal][data-delay="2"]{ transition-delay: .16s; }
[data-reveal][data-delay="3"]{ transition-delay: .24s; }
[data-reveal][data-delay="4"]{ transition-delay: .32s; }
[data-reveal][data-delay="5"]{ transition-delay: .40s; }

/* ------------------------------ Responsive ------------------------------ */
/* The 7-item nav + logo + CTA needs ~1160px, so the hamburger kicks in early
   to avoid a wrapped/broken header on small laptops and tablets. */
@media (max-width: 1160px){
  .header-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav {
    /* Anchored under the sticky header (its positioning context), so it never
       overlaps the topbar/header at the top of the page. */
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    background: var(--black-2); border-bottom: 1px solid var(--panel-line); padding: 1.5rem var(--gutter) 2rem;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity var(--t-med), transform var(--t-med), visibility 0s var(--t-med);
    gap: 1.2rem; max-height: calc(100svh - 130px); overflow: auto;
  }
  body.nav-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity var(--t-med), transform var(--t-med); }
  .nav a { font-size: 1.3rem; }
  .nav > .btn { display: flex; width: 100%; justify-content: center; white-space: nowrap; margin-top: .8rem; }
}
@media (max-width: 1080px){
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 2.5rem; }
  .step::after { display: none; }
  .footer .grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
/* iPads & other touch devices: fixed backgrounds are buggy on iOS Safari */
@media (hover: none){
  .parallax { background-attachment: scroll; }
}
@media (max-width: 880px){
  .topbar-left .full { display: none; }
  .topbar-left .ico-only { display: inline-flex; }
  .lang-switch a { padding: .45rem .7rem; }
  .about .grid, .why .grid, .contact .grid { grid-template-columns: 1fr; }
  .why__media { order: -1; }
  .counters .grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
  .hero__strip { grid-template-columns: 1fr; gap: 1.2rem; }
  .parallax { min-height: auto; background-attachment: scroll; }
  .cta-band .inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px){
  /* While the cookie banner is open it covers the bottom edge — hide the
     floating buttons so they can't be tapped through it. */
  body:has(.cookie.in) .fab, body:has(.cookie.in) .to-top { display: none; }
}
@media (max-width: 560px){
  .services__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .about__media .badge { right: 0; bottom: -1rem; }
  .parallax { background-attachment: scroll; }
  .map-wrap iframe { height: 320px; }
}
@media (max-width: 480px){
  .footer .grid { grid-template-columns: 1fr; }
}

/* ============================ BLOG ============================ */
.blog-hero { text-align: center; padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(1rem, 2vw, 1.5rem); }
.blog-hero .eyebrow::before { display: none; }
.blog-hero .section-title { margin: .4rem 0 .8rem; }
.blog-hero .lead { margin-inline: auto; }
/* Cards sit close under the hero — trim the big default section top padding. */
.blog-list-section { padding-top: clamp(1.25rem, 2.5vw, 2.25rem); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: clamp(1.4rem, 2.6vw, 2.2rem);
}
.blog-card {
  background: var(--panel); border: 1px solid var(--panel-line);
  border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(226,35,26,.4); }
.blog-card__media {
  display: block; aspect-ratio: 16 / 9; background-size: cover; background-position: center;
  background-color: var(--black-3); position: relative; overflow: hidden;
}
.blog-card__media[data-noimg] {
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--black-2), var(--panel));
}
.blog-card__mono { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: rgba(255,255,255,.12); letter-spacing: .1em; }
.blog-card__body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.blog-card__date { color: var(--red); font-family: var(--font-display); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.blog-card__title { font-size: 1.4rem; line-height: 1.2; margin: 0; }
.blog-card__title a { color: var(--white); }
.blog-card__title a:hover { color: var(--red); }
.blog-card__excerpt { color: var(--grey); font-size: .96rem; margin: 0; }
.blog-card__more {
  margin-top: auto; padding-top: .4rem; color: var(--off-white); font-family: var(--font-display);
  font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; width: fit-content;
}
.blog-card__more svg { width: 18px; height: 18px; transition: transform var(--t-fast); }
.blog-card__more:hover { color: var(--red); }
.blog-card__more:hover svg { transform: translateX(4px); }
.blog-empty { text-align: center; color: var(--grey); font-size: 1.1rem; padding: 3rem 0; }

.blog-pager { display: flex; justify-content: center; gap: .5rem; margin-top: 3.5rem; }
.blog-pager a, .blog-pager .current {
  min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px;
  font-family: var(--font-display); font-weight: 600; border: 1px solid var(--panel-line);
}
.blog-pager a { color: var(--off-white); }
.blog-pager a:hover { border-color: var(--red); color: var(--red); }
.blog-pager .current { background: var(--red); color: #fff; border-color: var(--red); }

/* ---------- Single article ---------- */
.article { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 7rem); }
.article__head { max-width: 820px; }
.article__back { color: var(--grey); font-weight: 600; display: inline-block; margin-bottom: 1.6rem; }
.article__back:hover { color: var(--red); }
.article__date { color: var(--red); font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; }
.article__title { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; margin: .6rem 0 0; }
.article__cover { width: 100%; max-width: 980px; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius-lg); margin: 2.4rem auto 0; display: block; }
.article__content { max-width: 760px; margin-top: 2.6rem; font-size: 1.1rem; line-height: 1.8; color: var(--off-white); overflow-wrap: break-word; }
.article__content h2, .article__content h3 { font-family: var(--font-display); color: var(--white); margin: 2.2rem 0 .8rem; line-height: 1.15; }
.article__content h2 { font-size: 1.9rem; }
.article__content h3 { font-size: 1.45rem; }
.article__content p { margin: 0 0 1.3rem; }
.article__content a { color: var(--red); text-decoration: underline; }
.article__content img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 1.6rem 0; }
.article__content ul, .article__content ol { margin: 0 0 1.4rem; padding-left: 1.4rem; }
.article__content ul { list-style: disc; }          /* restore bullets killed by the global reset */
.article__content ol { list-style: decimal; }
.article__content ol li[data-list="bullet"] { list-style: disc; } /* Quill emits bullet lists as <ol> */
.article__content li { margin-bottom: .5rem; }
.article__content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1.6rem 0; }
.article__content iframe { max-width: 100%; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; margin: 1.6rem 0; }
.article__content blockquote { margin: 1.6rem 0; padding: .6rem 0 .6rem 1.4rem; border-left: 3px solid var(--red); color: var(--grey); font-style: italic; }
.article__foot { max-width: 760px; margin-top: 3rem; display: flex; gap: 1rem; flex-wrap: wrap; }
