/* ============================================================
   Alpine Renova Sàrl — Alpine Minimal design system
   Static, framework-free. Premium, light, animation-rich.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg:        #FFFFFF;
  --bg-2:      #EEF3F9;
  --surface:   #FFFFFF;
  --ink:       #16202E;
  --ink-soft:  #38465A;
  --muted:     #64748B;
  --line:      #E3E9F1;
  --line-2:    #CBD6E3;
  --accent:    #16467E;
  --accent-d:  #0F3460;
  --accent-soft: rgba(22, 70, 126, 0.09);
  --red:       #B08842;
  --red-soft:  rgba(176, 136, 66, 0.10);

  --ff-head: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --container: 1200px;
  --radius:   18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(17,19,22,.04), 0 2px 8px rgba(17,19,22,.04);
  --shadow:    0 10px 30px rgba(17,19,22,.08), 0 2px 8px rgba(17,19,22,.04);
  --shadow-lg: 0 30px 70px rgba(17,19,22,.14);
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--ff-head); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.section { padding-block: clamp(64px, 9vw, 130px); position: relative; }
.section--tint { background: var(--bg-2); }
.section--ink { background: var(--ink); color: #EDEDEA; }
.section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-head); font-weight: 700; font-size: .76rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.section--ink .eyebrow { color: #7FB0FF; }

.section-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-top: 16px; }
.section-sub { margin-top: 18px; color: var(--muted); font-size: 1.075rem; max-width: 62ch; }
.section-head.center .section-sub { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-family: var(--ff-head);
  font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease), background .25s;
  will-change: transform; position: relative; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(22,70,126,.28); }
.btn--primary:hover { background: var(--accent-d); box-shadow: 0 16px 34px rgba(22,70,126,.36); }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn--lg { padding: 18px 34px; font-size: 1.05rem; }

/* ---------- Header / nav ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
}
.header.scrolled {
  height: 64px; background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line-2);
  box-shadow: 0 6px 24px rgba(22,32,46,.08);
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; z-index: 110; }
.brand img { height: 38px; width: auto; transition: height .4s var(--ease); }
.header.scrolled .brand img { height: 33px; }
.nav { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; }
.nav a {
  font-family: var(--ff-head); font-weight: 600; font-size: .96rem; color: var(--ink-soft);
  padding: 9px 14px; border-radius: 999px; position: relative; transition: color .25s; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }
@media (max-width: 980px) { .hide-sm { display: none; } }

/* language switcher */
.lang { display: inline-flex; align-items: center; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; box-shadow: var(--shadow-sm); }
.lang a { font-family: var(--ff-head); font-weight: 700; font-size: .76rem; letter-spacing: .06em; color: var(--muted); padding: 6px 11px; border-radius: 999px; transition: all .25s; }
.lang a.is-active { background: var(--ink); color: #fff; }
.lang a:not(.is-active):hover { color: var(--ink); }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; position: relative; z-index: 110; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 12px; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s;
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(40px, 7vw, 90px)); padding-bottom: clamp(60px, 9vw, 120px); overflow: hidden; }
.hero::before { /* soft animated accent glow */
  content: ""; position: absolute; top: -10%; right: -8%; width: 50vw; height: 50vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle at center, var(--accent-soft), transparent 62%); z-index: 0; animation: drift 16s ease-in-out infinite alternate;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.hero-kicker { margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
.hero h1 .accent { color: var(--accent); position: relative; }
.hero h1 .underline { display: inline-block; position: relative; }
.hero h1 .underline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: .14em; background: var(--accent); border-radius: 4px;
  transform: scaleX(0); transform-origin: left; animation: ulIn 1s var(--ease-out) .5s forwards;
}
.hero-sub { margin-top: 26px; font-size: 1.16rem; color: var(--ink-soft); max-width: 52ch; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px 22px; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: .92rem; color: var(--ink-soft); }
.hero-badge svg { width: 19px; height: 19px; color: var(--accent); flex: none; }

.hero-figure { position: relative; }
.hero-figure .frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; background: var(--bg-2); }
.hero-figure .frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease-out); }
.hero-figure.in .frame img { transform: scale(1); }
.hero-float {
  position: absolute; left: -8%; bottom: 8%; background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 14px; animation: floaty 5s ease-in-out infinite;
}
.hero-float .num { font-family: var(--ff-head); font-weight: 800; font-size: 1.7rem; color: var(--ink); line-height: 1; }
.hero-float .lbl { font-size: .8rem; color: var(--muted); max-width: 12ch; }
.hero-float .dots { display: flex; gap: 4px; }
.hero-float .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: .25; }
.hero-float .dots i:last-child { opacity: 1; }

/* ---------- Marquee (trust strip) ---------- */
.marquee { background: var(--ink); color: #fff; padding: 18px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scrollX 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 14px; font-family: var(--ff-head); font-weight: 700; font-size: 1.05rem; letter-spacing: .02em; white-space: nowrap; }
.marquee-item span { color: #8b9097; }
.marquee-item .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---------- KPI / stats ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 30px); }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px,3vw,38px); position: relative; overflow: hidden; transition: transform .4s var(--ease-out), box-shadow .4s var(--ease); }
.kpi::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--accent), var(--red)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.kpi:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.kpi:hover::after { transform: scaleX(1); }
.kpi .val { font-family: var(--ff-head); font-weight: 800; font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1; color: var(--ink); letter-spacing: -0.03em; }
.kpi .val .suffix { color: var(--accent); }
.kpi .lbl { margin-top: 12px; color: var(--muted); font-weight: 500; }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 26px); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 36px); position: relative; overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 22px; transition: transform .45s var(--ease-out), background .3s, color .3s; }
.card-ico svg { width: 28px; height: 28px; }
.card:hover .card-ico { background: var(--accent); color: #fff; transform: rotate(-6deg) scale(1.06); }
.card h3 { font-size: 1.3rem; }
.card p { margin-top: 12px; color: var(--muted); font-size: .98rem; }
.card .more { margin-top: 18px; display: inline-flex; align-items: center; gap: 7px; font-family: var(--ff-head); font-weight: 700; font-size: .9rem; color: var(--accent); opacity: 0; transform: translateY(6px); transition: all .35s var(--ease-out); }
.card:hover .more { opacity: 1; transform: translateY(0); }
.card .idx { position: absolute; right: 22px; top: 18px; font-family: var(--ff-head); font-weight: 800; font-size: 3rem; color: var(--bg-2); line-height: 1; z-index: 0; transition: color .3s; }
.card:hover .idx { color: var(--accent-soft); }
.card > * { position: relative; z-index: 1; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(34px, 5vw, 72px); align-items: center; }
.steps { display: grid; gap: 18px; }
.step { display: flex; gap: 20px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease-out), box-shadow .4s; }
.step:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.step .n { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--ff-head); font-weight: 800; font-size: 1.1rem; }
.step:nth-child(2) .n { background: var(--accent); }
.step h3 { font-size: 1.18rem; }
.step p { margin-top: 7px; color: var(--muted); font-size: .96rem; }
.process-figure { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
.process-figure img { width: 100%; height: 100%; object-fit: cover; }
.process-figure .tag { position: absolute; left: 18px; bottom: 18px; right: 18px; background: rgba(17,19,22,.66); backdrop-filter: blur(6px); color: #fff; border-radius: 14px; padding: 16px 18px; }
.process-figure .tag b { font-family: var(--ff-head); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.gallery figure { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); box-shadow: var(--shadow-sm); }
.gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery figure:nth-child(6) { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.gallery figure:hover img { transform: scale(1.08); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 18px 16px; color: #fff; font-family: var(--ff-head); font-weight: 700; font-size: .95rem;
  background: linear-gradient(transparent, rgba(17,19,22,.78)); transform: translateY(8px); opacity: 0; transition: all .4s var(--ease-out);
}
.gallery figure:hover figcaption { transform: translateY(0); opacity: 1; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(34px, 5vw, 72px); align-items: center; }
.about-figure { position: relative; }
.about-figure img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.about-figure .badge { position: absolute; right: -6%; top: -6%; width: 130px; height: 130px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; text-align: center; font-family: var(--ff-head); font-weight: 800; box-shadow: var(--shadow); animation: spinSlow 24s linear infinite; }
.about-figure .badge span { font-size: .68rem; letter-spacing: .12em; }
.about-list { margin-top: 26px; display: grid; gap: 16px; }
.about-list li { display: flex; gap: 14px; align-items: flex-start; }
.about-list .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-top: 2px; }
.about-list .tick svg { width: 15px; height: 15px; }
.about-list b { font-family: var(--ff-head); }
.about-list p { color: var(--muted); font-size: .96rem; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px,2.6vw,34px); position: relative; transition: transform .4s var(--ease-out), box-shadow .4s; }
.section--ink .quote { background: #1b1e22; border-color: #2a2e33; }
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.quote .mark { font-family: Georgia, serif; font-size: 4rem; line-height: .6; color: var(--accent); height: 30px; }
.quote p { margin: 14px 0 22px; font-size: 1.04rem; color: var(--ink-soft); }
.section--ink .quote p { color: #d6d8db; }
.quote .who { display: flex; align-items: center; gap: 13px; }
.quote .who img, .quote .who .ph { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--bg-2); border: 1px solid var(--line); }
.quote .who b { display: block; font-family: var(--ff-head); font-size: .98rem; }
.quote .who span { font-size: .84rem; color: var(--muted); }
.stars { color: var(--red); display: flex; gap: 2px; margin-bottom: 4px; }
.stars svg { width: 15px; height: 15px; }
.is-placeholder { border-style: dashed; border-color: var(--line-2); }
.is-placeholder .ph-note { font-size: .72rem; color: var(--accent); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(30px, 4vw, 60px); align-items: start; }
.contact-info { display: grid; gap: 14px; align-content: start; }
.info-row { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; transition: transform .35s var(--ease-out), box-shadow .35s; }
.info-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.info-row .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.info-row .ic svg { width: 21px; height: 21px; }
.info-row .k { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.info-row .v { font-family: var(--ff-head); font-weight: 700; font-size: 1.02rem; margin-top: 2px; }
.info-row a.v:hover { color: var(--accent); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 7px; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; background: var(--bg); border: 1.5px solid var(--line-2); border-radius: 11px;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--accent); }
.form .btn { width: 100%; margin-top: 6px; }
.form-note { margin-top: 14px; font-size: .82rem; color: var(--muted); text-align: center; }
.form-status { margin-top: 14px; padding: 13px 16px; border-radius: 11px; font-weight: 600; font-size: .92rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #e8f6ec; color: #1d7a3a; }
.form-status.err { background: var(--red-soft); color: #B5121E; }

/* ---------- Contact CTA (replaces the form) ---------- */
.contact-cta { background: var(--ink); color: #EDEDEA; border-radius: var(--radius); padding: clamp(28px, 3.4vw, 48px); position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.contact-cta::before { content: ""; position: absolute; right: -30%; top: -40%; width: 60%; height: 120%; background: radial-gradient(circle, rgba(22,70,126,.42), transparent 65%); animation: drift 16s ease-in-out infinite alternate; }
.contact-cta > * { position: relative; z-index: 1; }
.contact-cta h3 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.contact-cta p { color: #b9bcc1; margin-top: 12px; max-width: 42ch; }
.contact-cta .cta-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; }
.contact-cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.contact-cta .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.contact-cta .reassure { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 22px; border-top: 1px solid #2a2e33; }
.contact-cta .reassure span { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: #cfd2d6; }
.contact-cta .reassure svg { width: 18px; height: 18px; color: #7FB0FF; flex: none; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #b9bcc1; padding-block: clamp(50px, 6vw, 80px) 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #2a2e33; }
.footer-brand img { height: 40px; margin-bottom: 18px; }
.footer-brand p { max-width: 38ch; font-size: .96rem; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: #b9bcc1; font-size: .96rem; transition: color .25s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: .86rem; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #2a2e33; display: grid; place-items: center; transition: all .3s var(--ease); }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Scroll-to-top ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); z-index: 90; opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: all .4s var(--ease-out); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent); transform: translateY(-3px); }

/* ---------- Legal / Terms page ---------- */
.legal-hero { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 70px)); padding-bottom: clamp(24px, 4vw, 40px); background: var(--bg-2); border-bottom: 1px solid var(--line); }
.legal-hero .container { max-width: 900px; }
.legal-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-top: 14px; }
.legal-hero .updated { margin-top: 14px; color: var(--muted); font-size: .92rem; }
.legal-wrap { padding-block: clamp(40px, 6vw, 80px); }
.legal-wrap .container { max-width: 900px; }
.legal { color: var(--ink-soft); }
.legal .toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 44px; box-shadow: var(--shadow-sm); }
.legal .toc h2 { font-size: 1rem; margin-bottom: 12px; color: var(--ink); }
.legal .toc ol { columns: 2; column-gap: 30px; padding-left: 18px; list-style: decimal; }
.legal .toc a { color: var(--ink-soft); font-size: .92rem; line-height: 1.9; }
.legal .toc a:hover { color: var(--accent); }
.legal section { margin-bottom: 34px; scroll-margin-top: calc(var(--header-h) + 20px); }
.legal h2 { font-size: 1.35rem; margin-bottom: 12px; color: var(--ink); }
.legal h2 .n { color: var(--accent); font-variant-numeric: tabular-nums; margin-right: 8px; }
.legal p { margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 12px; }
.legal li { margin-bottom: 6px; }
.legal .ref { color: var(--muted); font-size: .92em; }
.legal a { color: var(--accent); }
@media (max-width: 720px) { .legal .toc ol { columns: 1; } }

/* ============================================================
   "Catch" layer — first-impression hooks
   ============================================================ */

/* Scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200;
  background: linear-gradient(90deg, var(--accent), var(--red)); transition: width .08s linear; }

/* Aurora backdrop (injected into hero) */
.aurora { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; mix-blend-mode: multiply; }
.aurora span:nth-child(1) { width: 42vw; height: 42vw; left: -6vw; top: -12vw; background: radial-gradient(circle, rgba(22,70,126,.22), transparent 70%); animation: aur1 18s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { width: 36vw; height: 36vw; right: -4vw; top: 4vw; background: radial-gradient(circle, rgba(120,150,190,.20), transparent 70%); animation: aur2 22s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { width: 30vw; height: 30vw; left: 30vw; bottom: -14vw; background: radial-gradient(circle, rgba(176,136,66,.10), transparent 70%); animation: aur3 26s ease-in-out infinite alternate; }
.hero > .container { position: relative; z-index: 1; }

/* Cinematic hero entrance (staggered) */
.hero-copy > * { animation: heroIn .9s var(--ease-out) both; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .15s; }
.hero-copy > *:nth-child(3) { animation-delay: .27s; }
.hero-copy > *:nth-child(4) { animation-delay: .39s; }
.hero-copy > *:nth-child(5) { animation-delay: .50s; }

/* Magnetic + shine on the primary button */
.btn--primary { overflow: hidden; }
.btn--primary::before { content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-20deg); transition: left .6s var(--ease); pointer-events: none; }
.btn--primary:hover::before { left: 150%; }

/* Before / After slider */
.ba { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--bg-2); --pos: 50%; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .ba-before-img { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
/* "Before" = the same room shown un-renovated: drained of colour, dimmer, aged */
.ba .ba-before-img { filter: grayscale(.92) brightness(.66) contrast(.92) sepia(.18); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-1.5px); z-index: 3; pointer-events: none; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.ba-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; color: var(--ink); }
.ba-handle span svg { width: 22px; height: 22px; }
.ba-tag { position: absolute; top: 14px; z-index: 3; padding: 6px 13px; border-radius: 999px; font-family: var(--ff-head); font-weight: 700; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(6px); pointer-events: none; }
.ba-tag-before { left: 14px; background: rgba(17,19,22,.62); color: #fff; }
.ba-tag-after { right: 14px; background: rgba(176,136,66,.92); color: #fff; }
.ba::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); border-radius: inherit; pointer-events: none; z-index: 2; }

/* ============================================================
   Animations
   ============================================================ */
@keyframes heroIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes aur1 { to { transform: translate(40px, 30px) scale(1.15); } }
@keyframes aur2 { to { transform: translate(-30px, 40px) scale(1.1); } }
@keyframes aur3 { to { transform: translate(20px, -30px) scale(1.2); } }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(-40px,30px) scale(1.1); } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes scrollX { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ulIn { to { transform: scaleX(1); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; } .reveal.d6 { transition-delay: .48s; }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal-left.in { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal-right.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.94); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal-scale.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 460px; }
  .process, .about, .contact-grid { grid-template-columns: 1fr; }
  .about-figure { order: -1; max-width: 520px; }
  .cards, .quotes { grid-template-columns: repeat(2, 1fr); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure:nth-child(1) { grid-column: span 2; }
  .gallery figure:nth-child(6) { grid-column: span 2; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
/* Collapse the top nav to an off-canvas drawer before it can wrap to two lines */
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); flex-direction: column; align-items: stretch; justify-content: center; gap: 8px;
    background: var(--bg); padding: 40px; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .4s var(--ease); z-index: 105;
  }
  .nav-open .nav { transform: none; }
  .nav a { font-size: 1.2rem; padding: 12px 14px; }
  .nav a::after { display: none; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(17,19,22,.5); opacity: 0; pointer-events: none; transition: opacity .35s; z-index: 104; }
  .nav-open .nav-scrim { opacity: 1; pointer-events: auto; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .hero-float { left: 0; }
  .cards, .quotes, .kpis, .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .about-figure .badge { width: 104px; height: 104px; right: 0; }
}

/* Reduced motion */
/* ============================================================
   Motion layer II — depth, stagger & cursor reactivity
   ============================================================ */

/* Soft focus-pull: every scroll reveal also deblurs as it settles */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  filter: blur(7px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .8s var(--ease-out);
}
.reveal.in, .reveal-left.in, .reveal-right.in, .reveal-scale.in { filter: blur(0); }

/* Auto-stagger: a group's children cascade in (JS adds [data-stagger] + --i) */
[data-stagger] > * { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 85ms); }
[data-stagger].in > * { opacity: 1; transform: none; }

/* Trailing-icon nudge on buttons & links */
.btn svg, .more svg { transition: transform .35s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

/* 3D tilt + light glow on service cards (fine pointers only) */
@media (hover: hover) and (pointer: fine) {
  .card { transform-style: preserve-3d; }
  .card.is-tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-8px); transition: transform .1s linear, box-shadow .45s var(--ease), border-color .3s; box-shadow: var(--shadow-lg); border-color: transparent; }
  .card .card-ico, .card h3, .card p { transition: transform .3s var(--ease-out), background .3s, color .3s; }
  .card.is-tilt .card-ico { transform: translateZ(36px) rotate(-6deg) scale(1.06); background: var(--accent); color: #fff; }
  .card.is-tilt h3 { transform: translateZ(22px); }
  .card.is-tilt p { transform: translateZ(12px); }
  .card .glow { position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(360px circle at var(--gx, 50%) var(--gy, 50%), var(--accent-soft), transparent 60%); }
  .card.is-tilt .glow { opacity: 1; }
}

/* Cursor spotlight over dark sections */
.section--ink { position: relative; isolation: isolate; }
.section--ink::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease); background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 50%), rgba(127,176,255,.16), transparent 60%); }
.section--ink:hover::after { opacity: 1; }
.section--ink > .container { position: relative; z-index: 1; }

/* Active nav link driven by scrollspy */
.nav a.is-active { color: var(--ink); }
.nav a.is-active::after { transform: scaleX(1); }

/* Gentle zoom on the process image */
.process-figure img { transition: transform 1s var(--ease-out); }
.process-figure:hover img { transform: scale(1.06); }

/* Floating hero stat card */
.hero { position: relative; }
.hero-float { animation: floaty 6s ease-in-out infinite; }

/* Hero scroll cue (injected by JS) */
.scroll-cue { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 2; display: grid; justify-items: center; gap: 7px; color: var(--muted); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; transition: opacity .4s var(--ease); }
.scroll-cue .mouse { width: 23px; height: 37px; border: 2px solid var(--line-2); border-radius: 13px; position: relative; }
.scroll-cue .mouse::before { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; border-radius: 3px; background: var(--accent); transform: translateX(-50%); animation: wheel 1.7s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, -3px); } 30% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 9px); } }
@media (max-width: 900px) { .scroll-cue { display: none; } }

/* ============================================================
   Wow-factor layer — luxe dark sections, case studies, FAQ,
   coverage map, guarantees, lightbox, sticky CTA
   ============================================================ */

/* Typographic polish (graceful, no layout risk) */
h1, h2, h3, h4 { text-wrap: balance; }
.section-sub, .hero-sub, .card p, .quote p { text-wrap: pretty; }

/* Filmic grain over dark sections (sits under content) */
.section--ink::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: .5; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}
.section--ink .section-sub { color: #aab1ba; }
.section--ink .eyebrow::before { background: #7FB0FF; }

/* Small utilities */
.btn--mt { margin-top: 28px; }
.footer-bottom.is-flush { border-top: 0; padding-top: 0; }
.link-dim { color: #b9bcc1; }

/* Swiss-quality chip */
.swiss-chip {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 22px;
  padding: 7px 15px 7px 8px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-family: var(--ff-head); font-weight: 700; font-size: .84rem; letter-spacing: .01em; color: var(--ink);
}
.swiss-flag { width: 20px; height: 20px; border-radius: 5px; flex: none; box-shadow: 0 1px 2px rgba(0,0,0,.18); }
.section--ink .swiss-chip { background: #1b1e22; border-color: #2a2e33; color: #fff; }

/* Coverage map — last pin pulse delay */
.map-pin:nth-of-type(7) circle.ring { animation-delay: 2.4s; }

/* ---------- Project case studies (dark) ---------- */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.case {
  background: #15181c; border: 1px solid #262b31; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg); display: flex; flex-direction: column;
  transition: transform .5s var(--ease-out), border-color .4s var(--ease);
}
.case:hover { transform: translateY(-6px); border-color: #36506f; }
.case .ba { border-radius: 0; box-shadow: none; aspect-ratio: 16/11; }
.case .ba::after { box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.case-body { padding: clamp(20px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 11px; flex: 1; }
.case-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.case-tag {
  font-family: var(--ff-head); font-weight: 700; font-size: .68rem; letter-spacing: .07em; text-transform: uppercase;
  color: #7FB0FF; background: rgba(127,176,255,.10); border: 1px solid rgba(127,176,255,.20);
  padding: 5px 11px; border-radius: 999px;
}
.case h3 { color: #fff; font-size: 1.32rem; }
.case .loc { display: inline-flex; align-items: center; gap: 8px; color: #9aa0a8; font-size: .92rem; }
.case .loc svg { width: 16px; height: 16px; color: #7FB0FF; flex: none; }
.case-view {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-head); font-weight: 700; font-size: .9rem; color: #fff;
  padding: 11px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22);
  transition: background .3s, border-color .3s, transform .3s var(--ease-out);
}
.case-view svg { width: 16px; height: 16px; }
.case-view:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  padding: clamp(16px, 4vw, 56px); background: rgba(8,10,12,.88); backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-inner { width: min(980px, 100%); transform: scale(.96); transition: transform .4s var(--ease-out); }
.lightbox.open .lightbox-inner { transform: none; }
.lightbox .ba { width: 100%; aspect-ratio: 16/10; box-shadow: var(--shadow-lg); }
.lightbox-cap { margin-top: 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.lightbox-cap b { color: #fff; font-family: var(--ff-head); font-size: 1.1rem; }
.lightbox-cap span { color: #9aa0a8; font-size: .92rem; }
.lightbox-close {
  position: fixed; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.10); color: #fff; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.22); transition: background .25s, transform .25s var(--ease-out);
}
.lightbox-close:hover { background: rgba(255,255,255,.22); transform: rotate(90deg); }
.lightbox-close svg { width: 22px; height: 22px; }

/* ---------- Guarantee band ---------- */
.guarantees { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.guarantee {
  text-align: center; padding: clamp(22px, 2.4vw, 32px) 16px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease);
}
.guarantee:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.guarantee .gi { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; transition: transform .4s var(--ease-out); }
.guarantee:hover .gi { transform: rotate(-6deg) scale(1.06); }
.guarantee .gi svg { width: 27px; height: 27px; }
.guarantee b { display: block; font-family: var(--ff-head); font-size: 1.04rem; }
.guarantee p { margin-top: 7px; color: var(--muted); font-size: .9rem; }

/* ---------- Coverage / service-area map (dark) ---------- */
.coverage { display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(34px, 5vw, 72px); align-items: center; }
.coverage .section-sub { margin-top: 18px; }
.coverage-list { list-style: none; padding: 0; margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.coverage-list li { display: flex; align-items: center; gap: 11px; font-family: var(--ff-head); font-weight: 600; color: #d6d9dd; }
.coverage-list .pin { flex: none; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(22,70,126,.22); }
.coverage-list li.hq .pin { background: var(--red); box-shadow: 0 0 0 4px rgba(176,136,66,.22); }
.coverage-note { margin-top: 24px; color: #9aa0a8; font-size: .92rem; }
.map-panel {
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid #262b31; background:
    radial-gradient(120% 120% at 30% 20%, rgba(22,70,126,.20), transparent 55%),
    radial-gradient(100% 100% at 80% 90%, rgba(127,176,255,.12), transparent 60%),
    #111418;
  box-shadow: var(--shadow-lg);
}
.map-panel svg { width: 100%; height: 100%; display: block; }
.map-grid line { stroke: rgba(255,255,255,.05); stroke-width: 1; }
.map-link { stroke: rgba(127,176,255,.30); stroke-width: 1.4; stroke-dasharray: 4 5; }
.map-label { fill: #cfd6df; font-family: var(--ff-head); font-weight: 700; font-size: 15px; }
.map-sub { fill: #8b94a0; font-family: var(--ff-body); font-weight: 500; font-size: 11px; }
.map-pin circle.dot { fill: var(--accent); }
.map-pin.hq circle.dot { fill: var(--red); }
.map-pin circle.ring { fill: none; stroke: var(--accent); stroke-width: 2; transform-origin: center; transform-box: fill-box; animation: pinPulse 2.8s var(--ease-out) infinite; }
.map-pin.hq circle.ring { stroke: var(--red); }
.map-pin:nth-of-type(2) circle.ring { animation-delay: .4s; }
.map-pin:nth-of-type(3) circle.ring { animation-delay: .8s; }
.map-pin:nth-of-type(4) circle.ring { animation-delay: 1.2s; }
.map-pin:nth-of-type(5) circle.ring { animation-delay: 1.6s; }
.map-pin:nth-of-type(6) circle.ring { animation-delay: 2.0s; }
@keyframes pinPulse { 0% { transform: scale(.5); opacity: .9; } 70%,100% { transform: scale(2.4); opacity: 0; } }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 840px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq-item.open { border-color: var(--line-2); box-shadow: var(--shadow); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 22px clamp(20px, 2.4vw, 28px); text-align: left;
  font-family: var(--ff-head); font-weight: 700; font-size: 1.06rem; color: var(--ink);
}
.faq-q .ico { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s, color .3s; }
.faq-q .ico svg { width: 16px; height: 16px; }
.faq-item.open .faq-q .ico { transform: rotate(135deg); background: var(--accent); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .42s var(--ease); }
.faq-a-inner { padding: 0 clamp(20px, 2.4vw, 28px) 24px; color: var(--muted); font-size: 1rem; }

/* ---------- Sticky mobile CTA bar ---------- */
.cta-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 95;
  display: none; gap: 10px; padding: 10px;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow-lg);
  transform: translateY(160%); transition: transform .45s var(--ease-out);
}
.cta-bar.show { transform: none; }
.cta-bar .btn { flex: 1; padding: 14px 16px; }
@media (max-width: 720px) { .cta-bar { display: flex; } .to-top { bottom: 84px; } }

/* New-section responsive */
@media (max-width: 1000px) {
  .coverage { grid-template-columns: 1fr; }
  .map-panel { order: -1; max-width: 560px; }
  .guarantees { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .cases { grid-template-columns: 1fr; }
  .guarantees { grid-template-columns: 1fr 1fr; }
  .coverage-list { grid-template-columns: 1fr; }
}

/* ============================================================
   Graphics layer — radial gauges, blueprint, contours, swatches
   ============================================================ */

/* KPI stats — editorial numbers with an animated brass underline */
.kpi { text-align: center; }
.kpi .gauge { position: relative; display: inline-block; padding-bottom: 16px; margin-bottom: 8px; }
.kpi .gauge svg { display: none; }
.kpi .gauge .val { display: inline-flex; align-items: baseline; justify-content: center; gap: 2px; line-height: 1; font-family: var(--ff-head); font-weight: 800; letter-spacing: -.03em; font-size: clamp(2.4rem, 4.6vw, 3.4rem); color: var(--ink); }
.kpi .gauge .val .suffix { color: var(--red); font-size: .5em; font-weight: 800; align-self: flex-start; margin-top: .25em; }
.kpi .gauge::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 0; height: 3px; border-radius: 2px; background: var(--red); transition: width .8s var(--ease-out) .15s; }
.kpi.in .gauge::after { width: 42px; }

/* Self-drawing blueprint over the process image */
.process-figure .blueprint { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; filter: drop-shadow(0 1px 2px rgba(0,0,0,.45)); }
.process-figure .blueprint [data-draw] { fill: none; stroke: #fff; stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease-out); }
.process-figure.in .blueprint [data-draw] { stroke-dashoffset: 0; }
.process-figure .blueprint .bp-label { fill: #fff; font-family: var(--ff-head); font-weight: 700; font-size: 13px; letter-spacing: .04em; opacity: 0; transition: opacity .5s var(--ease) .85s; }
.process-figure.in .blueprint .bp-label { opacity: .92; }

/* Alpine topographic contour motif (injected into .section--ink) */
.section--ink { overflow: hidden; }
.section--ink .contours {
  position: absolute; inset: -14%; z-index: 0; pointer-events: none; opacity: .16;
  background-repeat: no-repeat; background-position: 72% 40%; background-size: clamp(460px, 60vw, 820px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cg fill='none' stroke='%237FB0FF' stroke-width='1.4'%3E%3Cellipse cx='300' cy='322' rx='38' ry='28'/%3E%3Cellipse cx='294' cy='312' rx='88' ry='64'/%3E%3Cellipse cx='287' cy='300' rx='148' ry='108'/%3E%3Cellipse cx='279' cy='286' rx='212' ry='156'/%3E%3Cellipse cx='270' cy='268' rx='282' ry='208'/%3E%3Cellipse cx='262' cy='248' rx='352' ry='262'/%3E%3C/g%3E%3C/svg%3E");
  animation: contourDrift 34s ease-in-out infinite alternate;
}
@keyframes contourDrift { from { transform: translate(-2%, 1%) scale(1); } to { transform: translate(4%, -5%) scale(1.08); } }

/* Material swatches (in About) */
.swatches { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.swatch { position: relative; width: 62px; height: 62px; border-radius: 14px; box-shadow: var(--shadow-sm); border: 1px solid rgba(17,19,22,.08); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease); }
.swatch:hover, .swatch:focus-visible { transform: translateY(-7px) rotate(-3deg); box-shadow: var(--shadow); outline: none; }
.swatch span {
  position: absolute; left: 50%; bottom: -30px; transform: translate(-50%, 4px); opacity: 0; pointer-events: none; white-space: nowrap;
  font-family: var(--ff-head); font-weight: 700; font-size: .72rem; color: var(--ink);
  background: #fff; padding: 4px 11px; border-radius: 999px; box-shadow: var(--shadow-sm); transition: opacity .3s, transform .3s var(--ease-out);
}
.swatch:hover span, .swatch:focus-visible span { opacity: 1; transform: translate(-50%, 0); }
.sw-oak    { background-color: #bb9560; background-image: repeating-linear-gradient(50deg, rgba(110,78,40,.28) 0 3px, transparent 3px 9px); }
.sw-marble { background: #ece9e4; background-image: linear-gradient(122deg, transparent 42%, rgba(150,152,162,.55) 50%, transparent 58%), linear-gradient(80deg, transparent 62%, rgba(160,162,172,.35) 70%, transparent 76%); }
.sw-walnut { background-color: #5a3d28; background-image: repeating-linear-gradient(50deg, rgba(18,10,4,.32) 0 3px, transparent 3px 10px); }
.sw-brass  { background: linear-gradient(135deg, #e6c489, #a87f3f 55%, #cdab6b); }
.sw-slate  { background: linear-gradient(135deg, #828a92, #565d64); }
.sw-paint  { background: linear-gradient(135deg, #2a5e9e, #16467e); }

@media (max-width: 720px) { .swatch { width: 54px; height: 54px; } }

/* ============================================================
   Engineering motion layer (all additive — existing animations kept)
   ============================================================ */
:root { --svel: 0; }

/* Scroll-velocity reactive (driven by JS --svel, eases back to 0 at rest) */
.marquee { will-change: transform; transform: skewX(calc(var(--svel, 0) * -0.05deg)); }
.cases { will-change: transform; transform: skewY(calc(var(--svel, 0) * 0.02deg)); transform-origin: center top; }

/* Smooth cross-document page transitions (lang switch / terms) where supported */
@view-transition { navigation: auto; }

/* Scroll-LINKED contour drift on dark sections where supported */
@supports (animation-timeline: scroll()) {
  .section--ink .contours { animation-timeline: scroll(root block); animation-range: 0% 100%; animation-iteration-count: 1; animation-direction: normal; }
}

/* Custom lag-follow cursor (fine pointer only; blends for visibility on any bg) */
.cursor { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; opacity: 0; transition: opacity .3s; mix-blend-mode: difference; }
.cursor.on { opacity: 1; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; pointer-events: none; }
.cursor-dot { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: #fff; transition: opacity .2s; }
.cursor-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1.5px solid #fff; transition: width .25s var(--ease-out), height .25s var(--ease-out), margin .25s var(--ease-out), background .25s; }
.cursor.hot .cursor-ring { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: rgba(255,255,255,.12); }
.cursor.hot .cursor-dot { opacity: 0; }
.cursor.down .cursor-ring { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
@media (hover: hover) and (pointer: fine) { body.has-cursor, body.has-cursor * { cursor: none !important; } }

/* Interactive measuring blueprint over the process figure */
.process-figure .bp-h, .process-figure .bp-v { position: absolute; z-index: 3; background: rgba(255,255,255,.6); opacity: 0; transition: opacity .25s; pointer-events: none; }
.process-figure .bp-h { left: 0; right: 0; height: 1px; }
.process-figure .bp-v { top: 0; bottom: 0; width: 1px; }
.process-figure .bp-read { position: absolute; z-index: 4; transform: translate(10px, -28px); background: rgba(17,19,22,.82); color: #fff; font-family: var(--ff-head); font-weight: 700; font-size: .66rem; letter-spacing: .04em; padding: 3px 8px; border-radius: 6px; opacity: 0; transition: opacity .25s; pointer-events: none; white-space: nowrap; }
.process-figure.bp-on .bp-h, .process-figure.bp-on .bp-v, .process-figure.bp-on .bp-read { opacity: 1; }

/* Service-icon redraw on hover (line icons stroke themselves back in) */
@media (hover: hover) and (pointer: fine) {
  .card .card-ico svg > * { stroke-dasharray: 60; stroke-dashoffset: 0; }
  .card:hover .card-ico svg > * { animation: icoDraw .7s var(--ease-out); }
}
@keyframes icoDraw { from { stroke-dashoffset: 60; } to { stroke-dashoffset: 0; } }

/* One-time brand intro */
.intro { position: fixed; inset: 0; z-index: 500; background: var(--ink); display: grid; place-items: center; transition: transform .7s var(--ease-out); }
.intro.gone { transform: translateY(-100%); }
.intro-word { position: relative; font-family: var(--ff-head); font-weight: 800; font-size: clamp(1.5rem, 5vw, 2.8rem); color: #fff; letter-spacing: .01em; opacity: 0; transform: translateY(14px); animation: introWord .7s var(--ease-out) .1s forwards; }
.intro-word::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; animation: introRule .6s var(--ease-out) .4s forwards; }
@keyframes introWord { to { opacity: 1; transform: none; } }
@keyframes introRule { to { transform: scaleX(1); } }
body.intro-lock { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cursor, .intro { display: none !important; }
  .marquee, .cases { transform: none !important; }
  .process-figure .bp-h, .process-figure .bp-v, .process-figure .bp-read { display: none !important; }
  body.has-cursor, body.has-cursor * { cursor: auto !important; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale, [data-stagger] > * { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero h1 .underline::after { transform: scaleX(1); }
  .hero-float { animation: none !important; }
  .scroll-cue { display: none !important; }
}
