/* ════════════════════════════════════════════════════════════
   TDOX Japan — Design System
   Luxury Gold & White / Responsive
   ════════════════════════════════════════════════════════════ */

/* ---------- Design Tokens ---------- */
:root {
  /* Gold palette */
  --gold:        #bfa15f;
  --gold-light:  #d8bd80;
  --gold-deep:   #9a7c3f;
  --gold-soft:   #e7d8b3;
  --champagne:   #f6efe1;
  --champagne-2: #faf6ee;

  /* Neutrals */
  --white:   #ffffff;
  --paper:   #fdfbf7;
  --ink:     #292621;
  --ink-2:   #4a443b;
  --gray:    #756c5e;
  --line:    #e9e1d2;

  /* Effects */
  --grad-gold: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  --shadow-sm: 0 4px 18px rgba(150, 125, 70, .08);
  --shadow-md: 0 14px 40px rgba(120, 100, 55, .12);
  --shadow-lg: 0 30px 70px rgba(100, 82, 45, .16);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --header-h: 80px;

  /* Type */
  --serif-en: "Cormorant Garamond", "Noto Serif JP", serif;
  --serif-jp: "Noto Serif JP", serif;
  --sans-jp:  "Noto Sans JP", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans-jp);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.85;
  font-weight: 300;
  letter-spacing: .02em;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
ul { list-style: none; }
em { font-style: italic; }

/* ---------- Reusable layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding: clamp(64px, 9vw, 140px) 0; }
.section--tint { background: var(--champagne-2); }
.section--dark { background: linear-gradient(160deg, #211e19, #14110d); color: var(--paper); }

/* Section heading block */
.eyebrow {
  font-family: var(--sans-jp);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }

.headline {
  font-family: var(--serif-en);
  font-weight: 500;
  line-height: 1.12;
  font-size: clamp(30px, 5vw, 56px);
  letter-spacing: .01em;
}
.headline em { color: var(--gold-deep); }
.subhead-jp {
  font-family: var(--serif-jp);
  font-weight: 400;
  color: var(--gray);
  font-size: clamp(14px, 1.6vw, 18px);
  margin-top: 16px;
  letter-spacing: .12em;
}
.partner-credit { margin-top: 22px; font-size: 12px; letter-spacing: .14em; color: var(--gold-deep);
  text-transform: uppercase; font-weight: 500; }
.divider { width: 56px; height: 2px; background: var(--grad-gold); margin: 28px 0; border: 0; }
.lead { font-size: clamp(15px, 1.5vw, 17px); color: var(--ink-2); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans-jp); font-size: 14px; font-weight: 500; letter-spacing: .08em;
  padding: 15px 32px; border-radius: 100px; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  border: 1px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--grad-gold); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: var(--gold); color: var(--gold-deep); background: transparent; }
.btn-outline:hover { background: var(--gold); color: #fff; transform: translateY(-2px); }
.btn-line { background: #06c755; color: #fff; }
.btn-line:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(6,199,85,.28); }
.btn-ghost { color: var(--paper); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ════════════════════════ HEADER ════════════════════════ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(253, 251, 247, .72);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, height .3s ease;
}
.site-header.scrolled { background: rgba(253, 251, 247, .94); border-bottom-color: var(--line); height: 68px; }
.header-inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  font-size: 14px; font-weight: 400; color: var(--ink-2); position: relative; letter-spacing: .04em;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1.5px;
  background: var(--grad-gold); transition: width .3s ease;
}
.nav-links a:not(.btn):hover { color: var(--gold-deep); }
.nav-links a:not(.btn):hover::after,
.nav-links a.is-active::after { width: 100%; }
.nav-links a.is-active { color: var(--gold-deep); }
.nav .btn { padding: 11px 24px; }

/* Hamburger */
.nav-toggle {
  display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 6px; padding: 10px;
}
.nav-toggle span { display: block; height: 1.5px; width: 100%; background: var(--ink); transition: transform .3s ease, opacity .3s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ════════════════════════ HERO (full-bleed) ════════════════════════ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 64px; overflow: hidden; isolation: isolate;
}
.hero__bgimg { position: absolute; inset: 0; z-index: -2; }
.hero__bgimg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% center;
  filter: brightness(1.0) saturate(1.05);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(98deg, rgba(28,22,12,.84) 0%, rgba(28,22,12,.68) 32%, rgba(28,22,12,.42) 60%, rgba(28,22,12,.12) 88%),
    linear-gradient(0deg, rgba(28,22,12,.52) 0%, rgba(28,22,12,.18) 35%, transparent 60%);
}
.hero__inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 20px var(--gutter); }
.hero__text { max-width: 640px; }

.hero__tag {
  font-size: 11.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-light);
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 28px;
}
.hero__tag::before { content: ""; width: 42px; height: 1px; background: var(--gold-light); }
.hero__title {
  font-family: var(--serif-jp); font-weight: 600; line-height: 1.18;
  font-size: clamp(40px, 5vw, 68px); letter-spacing: .015em; color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.55), 0 4px 30px rgba(0,0,0,.45);
}
.hero__title em {
  font-style: normal;
  color: var(--gold-light);
}
.hero__title-jp { font-family: var(--serif-jp); font-size: clamp(14px, 1.5vw, 18px);
  letter-spacing: .2em; color: rgba(255,255,255,.84); margin-top: 22px; }
.hero__desc { margin-top: 24px; max-width: 46ch; color: rgba(255,255,255,.92); font-size: 15.5px; line-height: 2;
  text-shadow: 0 1px 8px rgba(0,0,0,.55); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__certs { display: flex; align-items: stretch; gap: 28px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.22); }
.hero__certs span { display: inline-flex; flex-direction: column; gap: 3px;
  font-family: var(--serif-en); font-size: 17px; font-weight: 500;
  letter-spacing: .06em; color: var(--gold-light); position: relative; }
.hero__certs span small { font-family: var(--sans-jp); font-size: 10.5px; font-weight: 300;
  letter-spacing: .04em; color: rgba(255,255,255,.72); }
.hero__certs span:not(:last-child)::after { content: ""; position: absolute; right: -15px; top: 4px;
  width: 1px; height: 30px; background: rgba(216,189,128,.45); }

.hero__card { display: none; }

/* ---------- Sub-page hero (compact) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + 70px) 0 70px; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(800px 500px at 80% 0%, rgba(216,189,128,.25), transparent 60%),
    linear-gradient(160deg, #fffdf8, #f6efe1); }

/* ════════════════════════ FEATURE GRID / CARDS ════════════════════════ */
.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-soft); }
.card .ico { width: 48px; height: 48px; color: var(--gold-deep); margin-bottom: 20px; }
.card__no { font-family: var(--serif-en); font-size: 40px; color: var(--gold-soft); line-height: 1; }
.card-link { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 500; letter-spacing: .06em;
  color: var(--gold-deep); }
a.card:hover .card-link { color: var(--gold); }
.card__en { font-family: var(--serif-en); font-size: 24px; font-weight: 500; margin: 4px 0 2px; }
.card__jp { font-family: var(--serif-jp); font-size: 18px; font-weight: 500; color: var(--gold-deep); margin-bottom: 14px; letter-spacing: .08em; line-height: 1.4; }
.card p { font-size: 14.5px; color: var(--ink-2); }
.card__list { margin-top: 16px; }
.card__list li { position: relative; padding-left: 20px; font-size: 13.5px; color: var(--gray); margin-bottom: 7px; }
.card__list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--grad-gold); }

/* Image-topped service card */
.media-card { overflow: hidden; padding: 0; }
.media-card img { aspect-ratio: 1300/731; object-fit: cover; width: 100%; }
.media-card__body { padding: 28px 28px 32px; }

/* Pillar (numbered) row */
.pillar { display: flex; gap: 22px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.pillar:last-child { border-bottom: 0; }
.pillar__no { font-family: var(--serif-en); font-size: 46px; color: var(--gold-soft); line-height: 1; min-width: 60px; }
.pillar__en { font-family: var(--serif-en); font-size: 26px; font-weight: 500; }
.pillar__jp { font-family: var(--serif-jp); color: var(--gold-deep); font-size: 15px; letter-spacing: .1em; }

/* ════════════════════════ SPLIT (text + visual) ════════════════════════ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.split__media img[src*="prod-"] { aspect-ratio: 1300/731; }
.split--reverse .split__media { order: -1; }

/* ════════════════════════ FACILITY GALLERY ════════════════════════ */
.facility-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
.facility-gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: box-shadow .3s ease; }
.facility-gallery figure:hover { box-shadow: var(--shadow-lg); }
.facility-gallery figure.wide { grid-column: 1 / -1; }
.facility-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/7;
  transition: transform .6s ease; display: block; }
.facility-gallery figure:not(.wide) img { aspect-ratio: 4/3; }
.facility-gallery figure:hover img { transform: scale(1.04); }
.facility-gallery figcaption { position: absolute; left: 0; bottom: 0; right: 0;
  padding: 28px 24px 18px; color: #fff; font-family: var(--serif-jp); font-size: 15px; letter-spacing: .08em;
  background: linear-gradient(transparent, rgba(20,17,13,.66)); }
.facility-gallery figcaption small { display: block; font-family: var(--sans-jp); font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 3px; }
@media (max-width: 640px) {
  .facility-gallery { grid-template-columns: 1fr; }
  .facility-gallery figure:not(.wide) img { aspect-ratio: 16/9; }
}

/* ════════════════════════ STAT STRIP ════════════════════════ */
.statstrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.statstrip .num { font-family: var(--serif-en); font-size: clamp(36px, 5vw, 56px); color: var(--gold-deep); line-height: 1; }
.statstrip .lbl { font-size: 13px; color: var(--gray); margin-top: 8px; }

/* ════════════════════════ CHECK / X LISTS ════════════════════════ */
.dual { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.checklist li, .concernlist li { position: relative; padding-left: 30px; margin-bottom: 11px; font-size: 14px; color: var(--ink-2); }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold-deep); font-weight: 600; }
.concernlist li::before { content: "—"; position: absolute; left: 0; top: 0; color: var(--gray); }
.box-title { font-family: var(--serif-jp); font-weight: 500; color: var(--gold-deep); margin-bottom: 14px; font-size: 16px; }

/* Tag chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border: 1px solid var(--line);
  border-radius: 100px; background: var(--white); font-size: 14px; color: var(--ink-2); transition: all .25s ease; }
.chip:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad-gold); }

/* ════════════════════════ CTA BAND ════════════════════════ */
.cta { text-align: center; position: relative; overflow: hidden; }
.cta__title { font-family: var(--serif-en); font-size: clamp(30px, 5vw, 52px); font-weight: 500; line-height: 1.12; }
.cta__title em { color: var(--gold-light); }
.cta__sub { font-family: var(--serif-jp); color: var(--gold-soft); letter-spacing: .14em; margin-top: 14px; }
.cta__desc { max-width: 56ch; margin: 22px auto 34px; color: rgba(255,255,255,.78); }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ════════════════════════ CONTACT ════════════════════════ */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); }
.contact-method { display: flex; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact-method .ico { width: 26px; height: 26px; color: var(--gold-deep); flex-shrink: 0; margin-top: 3px; }
.contact-method .lbl { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
.contact-method .val { font-size: 17px; color: var(--ink); }
.contact-method .val a:hover { color: var(--gold-deep); }
.qr-note { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--gray); }
.line-qr { display: inline-block; margin-top: 16px; padding: 10px; background: var(--white);
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); transition: box-shadow .25s ease; }
.line-qr:hover { box-shadow: var(--shadow-md); }
.line-qr img { width: 132px; height: 132px; display: block; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 8px; letter-spacing: .04em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--sans-jp); font-size: 15px; color: var(--ink); background: var(--white);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(191,161,95,.14);
}

/* ════════════════════════ DISCLAIMER ════════════════════════ */
.disclaimer { background: var(--champagne); border-top: 1px solid var(--line); }
.disclaimer p { font-size: 12.5px; color: var(--gray); line-height: 1.9; max-width: 90ch; margin: 0 auto; text-align: center; }

/* ════════════════════════ FOOTER ════════════════════════ */
.site-footer { background: linear-gradient(160deg, #211e19, #14110d); color: rgba(255,255,255,.72); padding: 70px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 34px; margin-bottom: 18px; filter: brightness(0) invert(1) sepia(.4) saturate(3) hue-rotate(5deg); opacity: .9; }
.footer-brand p { font-size: 13.5px; max-width: 38ch; }
.footer-col h4 { font-family: var(--serif-en); font-size: 16px; color: var(--gold-light); font-weight: 500; margin-bottom: 18px; letter-spacing: .06em; }
.footer-col a { display: block; font-size: 13.5px; padding: 6px 0; color: rgba(255,255,255,.66); }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
  font-size: 12px; color: rgba(255,255,255,.5); letter-spacing: .04em; }

/* 製品の価格表記 */
.price-note { margin-top: 24px; font-size: 14px; color: var(--ink-2); padding-top: 16px; border-top: 1px dashed var(--gold-soft); }
.price-note strong { color: var(--gold-deep); font-weight: 600; }

/* ════════════════════════ FLOW (施術の流れ) ════════════════════════ */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 30px); }
.flow__item { position: relative; text-align: center; }
.flow__no { font-family: var(--serif-en); font-size: 19px; letter-spacing: .08em; color: var(--gold-deep);
  width: 66px; height: 66px; margin: 0 auto 22px; border: 1px solid var(--gold-soft); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--champagne-2); position: relative; z-index: 1; }
.flow__item:not(:last-child)::after { content: ""; position: absolute; top: 33px; left: 60%; right: -40%; height: 1px; background: var(--line); z-index: 0; }
.flow__t { font-family: var(--serif-jp); font-weight: 500; font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.flow__d { font-size: 13.5px; color: var(--gray); max-width: 24ch; margin: 0 auto; line-height: 1.8; }

/* ════════════════════════ TESTIMONIALS (お客様の声) ════════════════════════ */
.testimonial { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px; box-shadow: var(--shadow-sm); height: 100%; }
.testimonial__mark { font-family: var(--serif-en); font-size: 52px; line-height: .5; color: var(--gold-soft); display: block; margin-bottom: 10px; }
.testimonial__quote { font-family: var(--serif-jp); font-size: 15px; line-height: 1.95; color: var(--ink-2); }
.testimonial__who { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--gold-deep); letter-spacing: .04em; }

/* ════════════════════════ FAQ ════════════════════════ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--serif-jp); font-size: 16px; color: var(--ink); display: flex; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--serif-en); color: var(--gold-deep); margin-right: 14px; font-size: 17px; flex-shrink: 0; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 22px; font-size: 22px; color: var(--gold); transition: transform .25s ease; font-weight: 300; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 0 24px 30px; font-size: 14.5px; color: var(--ink-2); line-height: 1.95; }

/* ════════════════════════ INFO LIST (基本情報) ════════════════════════ */
.inforow { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.inforow:first-child { border-top: 1px solid var(--line); }
.inforow dt { font-size: 13px; letter-spacing: .08em; color: var(--gold-deep); font-weight: 500; }
.inforow dd { font-size: 15px; color: var(--ink); margin: 0; line-height: 1.8; }
.inforow dd small { color: var(--gray); font-size: 12px; }

.card[id], [id].section { scroll-margin-top: 96px; }

/* ════════════════════════ SCROLL REVEAL ════════════════════════ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ════════════════════════ RESPONSIVE ════════════════════════ */
@media (max-width: 980px) {
  .hero__scrim { background:
    linear-gradient(125deg, rgba(28,22,12,.86) 0%, rgba(28,22,12,.66) 45%, rgba(28,22,12,.44) 100%),
    linear-gradient(0deg, rgba(28,22,12,.55), transparent 50%); }
  .grid--4, .grid--5 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(253,251,247,.98); backdrop-filter: blur(14px);
    padding: 14px var(--gutter) 28px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%); transition: transform .35s cubic-bezier(.4,0,.2,1);
    max-height: calc(100svh - var(--header-h)); overflow-y: auto;
  }
  .nav-links.open { transform: none; }
  .nav-links a { width: 100%; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav-links a.btn { margin-top: 16px; border-bottom: 0; justify-content: center; }
  .nav .btn { padding: 14px 24px; }

  .grid--2, .grid--3, .split, .dual, .form-row { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .flow__item:not(:last-child)::after { display: none; }
  .inforow { grid-template-columns: 1fr; gap: 4px; }
  .split--reverse .split__media { order: 0; }
  .statstrip { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 460px) {
  .grid--4, .grid--5, .cert-grid { grid-template-columns: 1fr; }
  .hero__actions .btn, .cta__actions .btn { width: 100%; }
  .hero__certs { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}
