/* ============================================================
   Piacente Group — Landing Page
   Palette: dark & luxe (charcoal + antique gold)
   ============================================================ */

:root {
  --bg:       #0b0b0d;
  --bg-elev:  #121216;
  --bg-alt:   #0f0f12;
  --ink:      #f4f1ea;
  --muted:    #a29d95;
  --faint:    #6f6b64;
  --gold:     #c8a862;
  --gold-2:   #e4cd94;
  --line:     rgba(200, 168, 98, 0.16);
  --line-2:   rgba(244, 241, 234, 0.08);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 1180px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 0.9rem;
  opacity: 0.7;
}

.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0.005em;
  color: var(--ink);
}
.section__lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  max-width: none;
  margin-top: 1.4rem;
}

/* ---------- Buttons ---------- */
.btn {
  --btnpad: 0.95rem 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: var(--btnpad);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.btn:hover { background: var(--gold-2); border-color: var(--gold-2); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn--sm { --btnpad: 0.7rem 1.4rem; font-size: 0.7rem; }
.btn--full { width: 100%; }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
/* Blur lives on a pseudo-element, NOT on .nav itself — otherwise the nav
   would become the containing block for the fixed mobile menu and clamp it. */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(11, 11, 13, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.nav.scrolled::before { opacity: 1; }
.nav.scrolled { border-bottom-color: var(--line-2); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: 84px;
}
.nav.scrolled .nav__inner { height: 68px; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand__mark {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--gold);
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 2px;
  line-height: 1;
  padding-bottom: 3px;
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: 1.05rem; letter-spacing: 0.34em; font-weight: 400; }
.brand__sub  { font-size: 0.62rem; letter-spacing: 0.5em; color: var(--gold); margin-top: 4px; }

/* Links */
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a:not(.btn) {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
  transition: color .3s var(--ease);
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--gold);
  transition: width .35s var(--ease);
}
.nav__links a:not(.btn):hover { color: var(--gold); }
.nav__links a:not(.btn):hover::after { width: 100%; }
.nav__cta { margin-left: 0.2rem; }

.nav__right { display: flex; align-items: center; gap: 1rem; }

/* Language switch */
.lang { display: inline-flex; align-items: center; gap: 2px; }
.lang__btn {
  background: none; border: none; cursor: pointer;
  color: var(--faint);
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  padding: 4px 7px;
  transition: color .3s var(--ease);
}
.lang__btn:hover { color: var(--ink); }
.lang__btn.is-active { color: var(--gold); }

/* Hamburger */
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 24px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), opacity .35s var(--ease); }
.nav__toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 84px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 78% 15%, rgba(200,168,98,0.14), transparent 55%),
    radial-gradient(90% 70% at 10% 90%, rgba(200,168,98,0.06), transparent 60%),
    linear-gradient(180deg, #0d0d10 0%, #0b0b0d 100%);
  background-color: var(--bg);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.04;
  mix-blend-mode: overlay;
}
.hero__inner { position: relative; z-index: 1; padding-block: 4rem; }
.hero__title { max-width: none; }
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 4.7rem);
  line-height: 1.05;
  letter-spacing: 0.005em;
  margin-bottom: 1.6rem;
}
.hero__sub { color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.22rem); max-width: 58ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.6rem; }

.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(2rem, 6vw, 4.5rem); margin-top: 4rem; padding-top: 2.4rem; border-top: 1px solid var(--line-2); }
.stat { display: flex; flex-direction: column; gap: 0.35rem; }
.stat__n { font-family: var(--serif); font-size: clamp(1.9rem, 3.5vw, 2.6rem); color: var(--gold); line-height: 1; }
.stat__l { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 1; }
.hero__scroll span { display: block; width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: scrollpulse 2.4s var(--ease) infinite; }
@keyframes scrollpulse { 0%,100% { transform: scaleY(0.4); opacity: 0.4; transform-origin: top; } 50% { transform: scaleY(1); opacity: 1; transform-origin: top; } }

/* ============================================================
   Sections
   ============================================================ */
.section { padding-block: clamp(4.5rem, 10vw, 8rem); position: relative; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line-2); }
.section__head { max-width: none; margin-bottom: clamp(2.6rem, 5vw, 4rem); }

/* Grid */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* Market cards */
.card {
  padding: 2.2rem 2rem;
  background: var(--bg-elev);
  border: 1px solid var(--line-2);
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.card:hover { border-color: var(--line); transform: translateY(-4px); }
.card__title { font-family: var(--serif); font-size: 1.55rem; font-weight: 500; margin-bottom: 0.7rem; }
.card__body { color: var(--muted); font-size: 0.98rem; }

/* Services */
.services { gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
.service {
  background: var(--bg);
  padding: 2.6rem 2.2rem;
  transition: background .4s var(--ease);
}
.section--alt .service { background: var(--bg-alt); }
.service:hover { background: var(--bg-elev); }
.service__num { font-family: var(--serif); font-size: 0.95rem; color: var(--gold); letter-spacing: 0.1em; }
.service__title { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; margin: 1rem 0 0.7rem; }
.service__body { color: var(--muted); font-size: 0.96rem; }

/* ---------- AI Advantage ---------- */
.section--ai {
  background:
    radial-gradient(85% 130% at 88% -10%, rgba(200, 168, 98, 0.11), transparent 55%),
    radial-gradient(70% 90% at 5% 110%, rgba(200, 168, 98, 0.05), transparent 60%),
    var(--bg);
  border-block: 1px solid var(--line);
}
.eyebrow--badge {
  display: inline-block;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 0.5rem 1.15rem;
  color: var(--gold);
  margin-bottom: 1.6rem;
}
.eyebrow--badge::before { display: none; }

.ai-grid { margin-top: 0.5rem; }
.ai-card {
  position: relative;
  padding: 2.2rem 2rem;
  background: var(--bg-elev);
  border: 1px solid var(--line-2);
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.ai-card::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 46px; height: 2px;
  background: var(--gold);
}
.ai-card:hover { border-color: var(--line); transform: translateY(-4px); }

.ai-close {
  text-align: center;
  max-width: 62ch;
  margin: clamp(2.4rem, 5vw, 3.6rem) auto 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.4;
  color: var(--gold-2);
}

/* Why Piacente */
.why { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.why__points { display: flex; flex-direction: column; gap: 0; }
.point { padding: 1.8rem 0; border-top: 1px solid var(--line-2); }
.point:first-child { padding-top: 0; border-top: none; }
.point__title { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; margin-bottom: 0.5rem; color: var(--gold-2); }
.point__body { color: var(--muted); font-size: 0.98rem; }

/* Approach / steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step { padding-top: 1.6rem; border-top: 1px solid var(--line); }
.step__num { font-family: var(--serif); font-size: 2.4rem; color: var(--gold); line-height: 1; display: block; }
.step__title { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; margin: 1rem 0 0.6rem; }
.step__body { color: var(--muted); font-size: 0.95rem; }

/* ============================================================
   Contact
   ============================================================ */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact__details { margin-top: 2.6rem; display: flex; flex-direction: column; gap: 1.1rem; }
.contact__details li { display: flex; gap: 1.5rem; align-items: baseline; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line-2); }
.contact__label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); min-width: 92px; }
.contact__details a:hover { color: var(--gold); }

/* Form */
.contact__form { background: var(--bg-elev); border: 1px solid var(--line-2); padding: clamp(1.8rem, 4vw, 2.8rem); }
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }
.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  padding: 0.7rem 0;
  transition: border-color .3s var(--ease);
  resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field--captcha { margin-bottom: 1.4rem; }
.form__note { margin-top: 1rem; font-size: 0.86rem; color: var(--gold); min-height: 1.2em; }
.form__note.error { color: #e08b7a; }

/* ============================================================
   Footer
   ============================================================ */
.footer { border-top: 1px solid var(--line-2); padding-block: 3.5rem; }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem 3rem; align-items: center; }
.footer__brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.footer__tag { color: var(--muted); font-size: 0.95rem; font-style: italic; font-family: var(--serif); }
.footer__links { display: flex; gap: 1.6rem; justify-self: end; }
.footer__links a { font-size: 0.8rem; letter-spacing: 0.05em; color: var(--muted); transition: color .3s var(--ease); }
.footer__links a:hover { color: var(--gold); }
.footer__copy { grid-column: 1 / -1; border-top: 1px solid var(--line-2); padding-top: 1.8rem; margin-top: 0.5rem; font-size: 0.78rem; color: var(--faint); letter-spacing: 0.05em; }

/* ============================================================
   Legal / policy pages
   ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 13, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; padding-block: 1.15rem; }
.legal { padding-block: clamp(3rem, 7vw, 5.5rem); }
.legal__inner { max-width: 760px; }
.legal__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; margin-bottom: 0.4rem; }
.legal__updated { color: var(--faint); font-size: 0.85rem; letter-spacing: 0.04em; margin-bottom: 2.6rem; }
.legal h2 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: var(--gold-2); margin: 2.4rem 0 0.8rem; }
.legal p { color: var(--muted); line-height: 1.75; margin-bottom: 1rem; }
.legal ul { list-style: disc; margin: 0 0 1rem 1.3rem; }
.legal li { color: var(--muted); line-height: 1.7; margin-bottom: 0.55rem; }
.legal strong { color: var(--ink); font-weight: 500; }
.legal a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--gold-2); }
.legal__home { margin-top: 2.8rem; }

/* ============================================================
   Cookie consent banner
   ============================================================ */
.consent {
  position: fixed;
  left: 0; right: 0; bottom: 1.25rem;
  margin-inline: auto;
  z-index: 200;
  width: min(920px, calc(100% - 2rem));
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 1.4rem;
  background: rgba(18, 18, 22, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  animation: consent-in .6s var(--ease) both;
}
.consent[hidden] { display: none; }
.consent__text { flex: 1; margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.55; }
.consent__text a { color: var(--gold); }
.consent__actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
.consent__btn {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.7rem 1.5rem;
  cursor: pointer;
  color: var(--bg);
  background: var(--gold);
  border: 1px solid var(--gold);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.consent__btn:hover { background: var(--gold-2); border-color: var(--gold-2); }
.consent__btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.consent__btn--ghost:hover { background: transparent; color: var(--gold); border-color: var(--gold); }
@keyframes consent-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

@media (max-width: 640px) {
  .consent {
    left: 0; right: 0; bottom: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
    text-align: center;
    border-left: none; border-right: none; border-bottom: none;
  }
  .consent__actions { justify-content: center; }
  .consent__btn { flex: 1; }
}

/* ============================================================
   404 page
   ============================================================ */
.error { position: relative; min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.error__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(200,168,98,0.14), transparent 55%),
    radial-gradient(90% 70% at 8% 92%, rgba(200,168,98,0.06), transparent 60%),
    var(--bg);
}
.error__top { position: relative; z-index: 2; }
.error__top-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 1.6rem; }
.error__main { position: relative; z-index: 1; flex: 1; display: grid; place-items: center; text-align: center; padding-block: 3rem 5rem; }
.error__code {
  font-family: var(--serif);
  font-size: clamp(5rem, 17vw, 11rem);
  line-height: 0.9;
  color: var(--gold);
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}
.error .section__lead { margin-inline: auto; margin-top: 1.1rem; }
.error__actions { margin-top: 2.4rem; }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }
.reveal:nth-child(6) { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero__scroll span { animation: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .why { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
}

/* Collapse the header to a slide-in menu before links can crowd */
@media (max-width: 980px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 340px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.8rem;
    padding: 2.5rem;
    background: var(--bg-elev);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform .5s var(--ease);
  }
  .nav__links.open { transform: translateX(0); box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.55); }
  .nav__links a:not(.btn) { font-size: 1.15rem; font-family: var(--serif); white-space: normal; }
  .nav__cta { margin-left: 0; margin-top: 0.5rem; width: 100%; }
}

@media (max-width: 820px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .services { gap: 1px; }
  .contact { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; text-align: left; }
  .footer__links { justify-self: start; flex-wrap: wrap; }
}

/* ---------- Phone polish ---------- */
@media (max-width: 640px) {
  /* Header */
  .nav__inner { height: 66px; }
  .nav.scrolled .nav__inner { height: 60px; }
  .brand__mark { width: 36px; height: 36px; font-size: 1.5rem; }
  .brand__name { font-size: 0.92rem; letter-spacing: 0.24em; }
  .brand__sub { font-size: 0.56rem; letter-spacing: 0.36em; }
  .lang__btn { padding: 4px 5px; font-size: 0.72rem; }
  .nav__right { gap: 0.6rem; }

  /* Hero */
  .hero { min-height: auto; padding-top: 92px; padding-bottom: 3rem; }
  .hero__inner { padding-block: 2.4rem 1rem; }
  .hero__title { max-width: none; font-size: clamp(2.2rem, 9.5vw, 3.2rem); margin-bottom: 1.3rem; }
  .hero__sub { font-size: 1rem; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 0.8rem; margin-top: 2rem; }
  .hero__actions .btn { width: 100%; }
  .hero__scroll { display: none; }

  /* Hero stats become a tidy stacked list */
  .hero__stats { flex-direction: column; gap: 0; margin-top: 2.4rem; padding-top: 0.5rem; }
  .stat {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line-2);
  }
  .stat__n { font-size: 1.5rem; }
  .stat__l { text-align: right; }

  /* Sections */
  .steps { grid-template-columns: 1fr; gap: 1.6rem; }
  .section { padding-block: 3.4rem; }
  .section__head { margin-bottom: 2rem; }
  .eyebrow { margin-bottom: 1.1rem; }

  /* Cards / panels */
  .card, .service, .ai-card { padding: 1.7rem 1.5rem; }
  .card__title, .service__title, .point__title, .step__title { font-size: 1.4rem; }
  .ai-close { font-size: 1.25rem; }

  /* Contact */
  .contact__form { padding: 1.6rem 1.35rem; }
  .contact__details { margin-top: 2rem; }
  .contact__details li { flex-direction: column; gap: 0.35rem; padding-bottom: 0.9rem; }
  .contact__label { min-width: 0; }

  /* Footer */
  .footer { padding-block: 2.6rem; }
  .footer__inner { gap: 1.4rem; }
}

@media (max-width: 400px) {
  .hero__title { font-size: 2.05rem; }
  .stat__n { font-size: 1.35rem; }
  /* reCAPTCHA widget is a fixed 302px — scale it down so it never overflows */
  .field--captcha { transform: scale(0.86); transform-origin: left center; }
}
