/* ===========================================================
   erresse — Soluzioni di stampa termica
   Design system / global stylesheet
   =========================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-var.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
  font-style: normal;
}

/* ---------- Tokens ---------- */
:root {
  --ink:        #0d2748;   /* deepest navy */
  --navy:       #153a72;   /* brand navy */
  --navy-700:   #1b4586;
  --blue:       #1f74cf;   /* accent blue */
  --blue-bright:#2b86e6;   /* swoosh bright */
  --slate:      #334155;
  --muted:      #5c6b82;
  --line:       #e4eaf3;
  --line-soft:  #eef2f8;
  --bg:         #ffffff;
  --bg-soft:    #f4f8fd;
  --bg-tint:    #eef4fb;
  --white:      #ffffff;

  --radius:     16px;
  --radius-sm:  11px;
  --radius-lg:  24px;

  --shadow-sm:  0 1px 2px rgba(13,39,72,.06), 0 2px 6px rgba(13,39,72,.05);
  --shadow-md:  0 10px 30px -12px rgba(13,39,72,.22);
  --shadow-lg:  0 30px 60px -22px rgba(13,39,72,.30);

  --maxw: 1200px;
  --gap: clamp(1.2rem, 3vw, 2.2rem);
  --ease: cubic-bezier(.22,.61,.36,1);

  --ff-head: "Sora", "Inter", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  color: var(--slate);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--ff-head);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.02em;
}
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(3.6rem, 8vw, 7rem) 0; }
.section--tint { background: var(--bg-soft); }
.section--ink {
  background:
    radial-gradient(120% 130% at 85% -10%, rgba(43,134,230,.20), transparent 55%),
    linear-gradient(160deg, var(--ink), #10315e 60%, var(--navy));
  color: #dbe6f5;
}
.section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--ff-head);
  font-weight: 600; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
}
.section--ink .eyebrow { color: #7fb6f2; }
.section--ink .eyebrow::before { background: linear-gradient(90deg, #7fb6f2, #bcd8f8); }

.h-lead { font-size: clamp(1.9rem, 3.6vw, 2.85rem); letter-spacing: -.03em; }
.sub {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 60ch;
}
.section--ink .sub { color: #b7c8de; }

.center { text-align: center; }
.center .sub { margin-inline: auto; }
.section-head { margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head .sub { margin-top: .9rem; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue);
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .92rem 1.5rem;
  border-radius: 999px;
  font-family: var(--ff-head);
  font-weight: 600; font-size: .96rem;
  letter-spacing: -.01em;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  box-shadow: 0 12px 26px -12px rgba(31,116,207,.75);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(31,116,207,.85); }
.btn--ghost {
  color: var(--navy); background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { transform: translateY(-2px); border-color: #c9d8ee; color: var(--blue); }
.btn--light { color: var(--navy); background: #fff; }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline-light {
  color: #fff; background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.35);
}
.btn--outline-light:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn--lg { padding: 1.05rem 1.8rem; font-size: 1.02rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--ff-head); font-weight: 600;
  color: var(--blue); font-size: .95rem;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; height: 76px;
}
.brand { display: flex; align-items: center; }
.brand img, .brand svg { height: 40px; width: auto; }
.site-header.solid { background: #ffffff; box-shadow: 0 6px 24px -18px rgba(13,39,72,.5); border-bottom-color: var(--line); }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  font-family: var(--ff-head); font-weight: 500; font-size: .96rem;
  color: var(--slate); padding: .55rem .8rem; border-radius: 8px;
  transition: color .2s, background .2s; position: relative;
}
.nav a:hover { color: var(--blue); }
.nav a.active { color: var(--navy); }
.nav a.active::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .28rem; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright)); border-radius: 2px;
}
/* header over hero (transparent) uses light text */
.site-header:not(.solid) .nav a { color: rgba(255,255,255,.9); }
.site-header:not(.solid) .nav a:hover { color: #fff; }
.site-header:not(.solid) .nav a.active { color: #fff; }
.site-header:not(.solid).on-light .nav a { color: var(--slate); }
.site-header:not(.solid).on-light .nav a.active { color: var(--navy); }

.header-cta { display: flex; align-items: center; gap: .7rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--ff-head); font-weight: 600; font-size: .95rem; color: var(--navy);
}
.header-phone svg { width: 17px; height: 17px; color: var(--blue); }
.site-header:not(.solid):not(.on-light) .header-phone { color: #fff; }
.site-header:not(.solid):not(.on-light) .header-phone svg { color: #bcd8f8; }

/* logo swap: white version over hero */
.brand .logo-dark { display: block; }
.brand .logo-light { display: none; }
.site-header:not(.solid):not(.on-light) .brand .logo-dark { display: none; }
.site-header:not(.solid):not(.on-light) .brand .logo-light { display: block; }

/* burger */
.burger {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; position: relative;
  box-shadow: var(--shadow-sm);
}
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.site-header:not(.solid):not(.on-light) .burger { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }
.site-header:not(.solid):not(.on-light) .burger span { background: #fff; }
body.nav-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 95;
  background: linear-gradient(160deg, var(--ink), var(--navy));
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 2rem 2rem;
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: transform .45s var(--ease), opacity .35s, visibility .35s;
}
body.nav-open .mobile-nav { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-nav a {
  font-family: var(--ff-head); font-weight: 600; font-size: 1.6rem; color: #fff;
  padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: space-between;
}
.mobile-nav a span { color: rgba(255,255,255,.4); font-size: 1rem; }
.mobile-nav .m-actions { margin-top: 2rem; display: flex; flex-direction: column; gap: .8rem; }
.mobile-nav .m-actions .btn { justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(90vh, 760px);
  display: flex; align-items: center;
  padding: 8rem 0 4rem; color: #fff; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(9,26,52,.94) 0%, rgba(11,33,66,.86) 42%, rgba(13,39,72,.45) 78%, rgba(13,39,72,.22) 100%),
    linear-gradient(0deg, rgba(9,22,45,.5), transparent 40%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 54px 54px; mask-image: linear-gradient(105deg, #000 30%, transparent 75%);
}
.hero__inner { max-width: 680px; }
.hero .eyebrow { color: #9cc6f4; }
.hero .eyebrow::before { background: linear-gradient(90deg, #7fb6f2, #bcd8f8); }
.hero h1 {
  color: #fff; font-size: clamp(2.4rem, 5.6vw, 4rem); line-height: 1.04;
  margin: 1.1rem 0 1.2rem; letter-spacing: -.035em; font-weight: 800;
}
.hero h1 .accent {
  background: linear-gradient(120deg, #6fb2f4, #bcd8f8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.24rem); color: #c9d8ee; max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: 2.2rem; margin-top: 3rem;
  padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.16);
}
.hero__stats .stat b {
  font-family: var(--ff-head); font-size: 1.9rem; font-weight: 700; color: #fff; display: block; line-height: 1;
}
.hero__stats .stat span { font-size: .86rem; color: #a8bfda; letter-spacing: .02em; }

/* ---------- Marquee / trust bar ---------- */
.trustbar { background: var(--ink); border-top: 1px solid rgba(255,255,255,.08); }
.trustbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2.6rem; padding: 1.15rem 0; }
.trustbar .ti {
  display: inline-flex; align-items: center; gap: .6rem;
  color: #b9cbe4; font-family: var(--ff-head); font-weight: 500; font-size: .92rem;
}
.trustbar .ti svg { width: 18px; height: 18px; color: #6fb2f4; }

/* ---------- Cards / features ---------- */
.grid { display: grid; gap: var(--gap); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem 1.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #d3e0f2; }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--bg-tint), #fff);
  border: 1px solid var(--line); color: var(--blue); margin-bottom: 1.3rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.28rem; margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: 1rem; }
.card .link-arrow { margin-top: 1.1rem; }
.card__num {
  position: absolute; top: 1.1rem; right: 1.4rem;
  font-family: var(--ff-head); font-weight: 700; font-size: 2.6rem;
  color: var(--bg-tint); line-height: 1; letter-spacing: -.04em;
}

/* feature list checks */
.checks { display: grid; gap: .85rem; margin-top: 1.6rem; }
.checks li { display: flex; align-items: flex-start; gap: .7rem; color: var(--slate); }
.checks li svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--blue); margin-top: 1px; }
.checks li b { color: var(--ink); font-weight: 600; }

/* ---------- Split / media rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media img {
  width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3; object-fit: cover;
}
.split__media .badge-float {
  position: absolute; left: -18px; bottom: -18px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 1rem 1.2rem; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .8rem;
}
.split__media .badge-float .bf-ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-bright), var(--blue)); color: #fff; }
.split__media .badge-float .bf-ico svg { width: 22px; height: 22px; }
.split__media .badge-float b { font-family: var(--ff-head); color: var(--ink); font-size: 1.5rem; line-height: 1; display: block; }
.split__media .badge-float span { font-size: .8rem; color: var(--muted); }
.split__body h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.split__body .sub { margin-top: 1rem; }
.split__body .btn, .split__body .link-arrow { margin-top: 1.7rem; }

/* ---------- Stat band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat-band .sb {
  text-align: center; padding: 1.4rem 1rem;
  border-right: 1px solid rgba(255,255,255,.12);
}
.stat-band .sb:last-child { border-right: 0; }
.stat-band .sb b { font-family: var(--ff-head); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; color: #fff; display: block; line-height: 1; }
.stat-band .sb b .u { color: #7fb6f2; display: inline; font-size: inherit; margin: 0; }
.stat-band .sb span { font-size: .92rem; color: #b7c8de; margin-top: .4rem; display: block; }

/* ---------- Product tiles ---------- */
.ptile {
  border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex; flex-direction: column;
}
.ptile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.ptile__img { aspect-ratio: 16/11; overflow: hidden; }
.ptile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ptile:hover .ptile__img img { transform: scale(1.06); }
.ptile__body { padding: 1.6rem 1.5rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.tag {
  align-self: flex-start; font-family: var(--ff-head); font-weight: 600; font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--blue);
  background: var(--bg-tint); padding: .32rem .7rem; border-radius: 999px; margin-bottom: .9rem;
}
.ptile__body h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.ptile__body p { color: var(--muted); font-size: .97rem; flex: 1; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.gallery figure { overflow: hidden; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery .g-tall { grid-column: span 4; aspect-ratio: 3/4; }
.gallery .g-wide { grid-column: span 8; aspect-ratio: 16/9; }
.gallery .g-half { grid-column: span 6; aspect-ratio: 3/2; }
.gallery .g-third { grid-column: span 4; aspect-ratio: 1/1; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(2.6rem, 6vw, 4.5rem); }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(13,39,72,.95), rgba(20,58,114,.82) 55%, rgba(31,116,207,.55));
}
.cta-band { color: #fff; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.7rem); max-width: 20ch; }
.cta-band p { color: #cdddf1; margin-top: 1rem; max-width: 52ch; }
.cta-band .cta-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem; box-shadow: var(--shadow-sm); display: flex; gap: 1.1rem; align-items: flex-start;
  transition: border-color .3s, transform .3s var(--ease);
}
.info-card + .info-card { margin-top: 1rem; }
.info-card:hover { border-color: #cfe0f5; transform: translateY(-3px); }
.info-card .ic {
  flex: 0 0 auto; width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue)); color: #fff;
}
.info-card .ic svg { width: 24px; height: 24px; }
.info-card h4 { font-size: 1.05rem; margin-bottom: .2rem; }
.info-card a, .info-card p { color: var(--muted); font-size: 1rem; }
.info-card a:hover { color: var(--blue); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-md); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--ff-head); font-weight: 500; font-size: .9rem; color: var(--ink); margin-bottom: .45rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 11px;
  font: inherit; color: var(--ink); background: var(--bg-soft); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(43,134,230,.14);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: .3rem; }
.form-card .btn { width: 100%; justify-content: center; margin-top: .4rem; }

.hours { list-style: none; }
.hours li { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid var(--line-soft); font-size: .98rem; }
.hours li:last-child { border-bottom: 0; }
.hours li span:first-child { color: var(--ink); font-weight: 500; font-family: var(--ff-head); }
.hours li span:last-child { color: var(--muted); }
.hours li.closed span:last-child { color: #b23b3b; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  position: relative; padding: 9.5rem 0 4rem; color: #fff; overflow: hidden;
  background:
    radial-gradient(110% 120% at 88% -20%, rgba(43,134,230,.28), transparent 55%),
    linear-gradient(150deg, var(--ink), #10315e 60%, var(--navy));
}
.page-hero__grid {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 54px 54px; mask-image: radial-gradient(120% 100% at 80% 0%, #000, transparent 70%);
}
.page-hero__inner { position: relative; max-width: 760px; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.4rem); margin: 1rem 0 1rem; font-weight: 800; letter-spacing: -.03em; }
.page-hero p { color: #c4d5ec; font-size: 1.12rem; max-width: 56ch; }
.crumbs { display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: #9fb6d6; font-family: var(--ff-head); }
.crumbs a:hover { color: #fff; }
.crumbs svg { width: 14px; height: 14px; opacity: .6; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b7c8de; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.f-brand .f-logo { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; }
.f-brand .f-logo svg { width: 40px; height: 40px; }
.f-brand .f-logo .ft { font-family: var(--ff-head); font-weight: 700; font-size: 1.5rem; color: #fff; letter-spacing: -.02em; }
.f-brand p { font-size: .95rem; color: #94aacb; max-width: 34ch; }
.f-social { display: flex; gap: .6rem; margin-top: 1.3rem; }
.f-social a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #cddcf0; transition: .25s var(--ease); }
.f-social a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-3px); }
.f-social a svg { width: 19px; height: 19px; }
.f-col h5 { font-family: var(--ff-head); color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.f-col ul { display: grid; gap: .6rem; }
.f-col a, .f-col li { font-size: .95rem; color: #a9bdda; }
.f-col a:hover { color: #fff; }
.f-contact li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .8rem; }
.f-contact svg { flex: 0 0 auto; width: 17px; height: 17px; color: #6fb2f4; margin-top: 3px; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; justify-content: space-between; align-items: center;
  font-size: .85rem; color: #8298ba;
}
.footer-bottom a:hover { color: #fff; }
.footer-bottom .fb-links { display: flex; gap: 1.3rem; flex-wrap: wrap; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: 1.5rem; margin: 2.4rem 0 .8rem; color: var(--ink); }
.prose h3 { font-size: 1.15rem; margin: 1.6rem 0 .5rem; color: var(--navy); }
.prose p, .prose li { color: var(--slate); font-size: 1.02rem; margin-bottom: .8rem; }
.prose ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; }
.prose li { margin-bottom: .4rem; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose .muted { color: var(--muted); font-size: .95rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; z-index: 120; left: 1rem; right: 1rem; bottom: 1rem;
  max-width: 460px; margin-inline: auto; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 1.3rem 1.4rem; transform: translateY(140%); transition: transform .5s var(--ease);
}
.cookie.show { transform: none; }
.cookie p { font-size: .9rem; color: var(--slate); margin-bottom: 1rem; }
.cookie p a { color: var(--blue); text-decoration: underline; }
.cookie .cookie-actions { display: flex; gap: .6rem; }
.cookie .btn { padding: .6rem 1.1rem; font-size: .88rem; flex: 1; justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .f-brand { grid-column: 1 / -1; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .stat-band .sb:nth-child(2) { border-right: 0; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav, .header-cta .btn, .header-phone { display: none; }
  .burger { display: block; }
  .split { grid-template-columns: 1fr; gap: 2.4rem; }
  .split--rev .split__media { order: 0; }
  .split__media .badge-float { left: auto; right: 12px; bottom: -14px; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery .g-tall, .gallery .g-wide, .gallery .g-half, .gallery .g-third { grid-column: span 6; aspect-ratio: 4/3; }
}
@media (max-width: 620px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 7rem 0 3.4rem; }
  .hero__stats { gap: 1.4rem 1.8rem; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .gallery .g-tall, .gallery .g-wide, .gallery .g-half, .gallery .g-third { grid-column: span 12; }
  .cta-band .cta-actions .btn { width: 100%; justify-content: center; }
}
