/* ==========================================================
   Clínica Virtuli — paleta inspirada na marca Dra. Mayanna Maia
   ========================================================== */
:root {
  --espresso: #3d3232;
  --espresso-deep: #2a2222;
  --rose: #c4a3a2;
  --rose-soft: #e6d3cf;
  --cream: #f7f1eb;
  --sand: #dcbb9c;
  --wine: #6b2a35;
  --ink: #3d3232;
  --muted: #7a6c6a;
  --line: rgba(61, 50, 50, .12);
  --white: #fffdfb;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Montserrat", system-ui, sans-serif;

  --radius: 4px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-variant-numeric: lining-nums;
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--rose); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tint { background: var(--white); }

.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: 16px; color: var(--muted); max-width: 52ch; }

.section__head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head h2 { font-size: clamp(34px, 4.6vw, 54px); }
.section__head .lead { margin-top: 20px; }
.section__head--light h2 { color: var(--cream); }
.section__head--light .lead { color: rgba(247, 241, 235, .7); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 30px; border: 1px solid var(--espresso);
  background: var(--espresso); color: var(--cream);
  font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--radius);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { background: var(--wine); border-color: var(--wine); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--espresso); }
.btn--ghost:hover { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.btn--small { padding: 12px 20px; }
.btn--rose { background: var(--rose); border-color: var(--rose); color: var(--espresso-deep); }
.btn--rose:hover { background: var(--cream); border-color: var(--cream); color: var(--espresso); }
.btn--light { background: var(--cream); border-color: var(--cream); color: var(--espresso); }
.btn--light:hover { background: transparent; color: var(--cream); border-color: var(--cream); }

.link-ig {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; letter-spacing: .04em; text-decoration: none; color: var(--muted);
  transition: color .25s;
}
.link-ig svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.link-ig svg circle:last-child { fill: currentColor; stroke: none; }
.link-ig:hover { color: var(--wine); }
.link-ig--light { color: rgba(247, 241, 235, .75); }
.link-ig--light:hover { color: var(--rose); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: 22px 0;
}
.header.is-scrolled { background: rgba(247, 241, 235, .92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); padding: 12px 0; }
.header__inner { display: flex; align-items: center; gap: 32px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: .32em; color: var(--espresso); }
.brand__sub { font-size: 9px; letter-spacing: .5em; text-transform: uppercase; color: var(--rose); margin-top: 6px; padding-left: 2px; }
.brand--light .brand__name { color: var(--cream); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-decoration: none; position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--rose); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(130px, 16vw, 170px) 0 clamp(56px, 8vw, 90px); position: relative; }
.hero::before {
  content: ""; position: absolute; right: 0; top: 0; width: 42%; height: 100%;
  background: linear-gradient(180deg, var(--rose-soft), rgba(230, 211, 207, 0));
  z-index: -1;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(42px, 6.2vw, 78px); font-weight: 400; letter-spacing: -.01em; margin-bottom: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__rating { display: flex; align-items: center; gap: 12px; margin-top: 34px; font-size: 13px; color: var(--muted); }
.stars { color: var(--sand); letter-spacing: 2px; }
.hero__media { position: relative; aspect-ratio: 4 / 4.4; }
.hero__img { position: absolute; overflow: hidden; border-radius: var(--radius); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img--main { inset: 0 0 0 18%; border-radius: 220px 220px var(--radius) var(--radius); }
.hero__img--sub { width: 38%; aspect-ratio: 3 / 4; left: 0; bottom: 8%; border: 8px solid var(--cream); box-shadow: 0 24px 60px -24px rgba(42, 34, 34, .45); }

/* ---------- Convênios (marquee compacto) ---------- */
.convenios { background: var(--espresso); color: var(--cream); padding: 26px 0 22px; overflow: hidden; }
.convenios__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.convenios__title { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--rose); }
.convenios__note { font-size: 12px; color: rgba(247, 241, 235, .55); margin: 0; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 6px; }
.marquee__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee[data-direction="right"] .marquee__track { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  color: rgba(247, 241, 235, .85); padding: 4px 0;
  display: inline-flex; align-items: center;
}
.marquee__item::after { content: "✦"; font-size: 8px; color: var(--rose); margin: 0 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sobre ---------- */
.about__grid { display: grid; grid-template-columns: .9fr 1fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.about__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__text h2 { font-size: clamp(34px, 4.4vw, 52px); margin-bottom: 26px; }
.about__text p { color: var(--muted); }
.stats { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stats li { padding: 24px 12px 0 0; }
.stats strong { display: block; font-family: var(--serif); font-size: 46px; font-weight: 400; line-height: 1; color: var(--espresso); }
.stats span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- Especialidades ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.spec { padding: 36px 28px 40px 0; border-right: 1px solid var(--line); position: relative; }
.spec:not(:first-child) { padding-left: 28px; }
.spec:last-child { border-right: 0; }
.spec::before { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 0; background: var(--rose); transition: width .6s var(--ease); }
.spec:hover::before { width: 100%; }
.spec__num { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--rose); }
.spec h3 { font-size: 30px; margin: 18px 0 14px; }
.spec p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- Tecnologias ---------- */
.tech { background: var(--espresso-deep); color: var(--cream); position: relative; overflow: hidden; }
.tech__glow { position: absolute; width: 900px; height: 900px; right: -300px; top: -200px; background: radial-gradient(circle, rgba(196, 163, 162, .18), transparent 60%); pointer-events: none; }
.tech__filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip {
  font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(247, 241, 235, .2); background: transparent; color: rgba(247, 241, 235, .7);
  transition: all .3s var(--ease);
}
.chip:hover { border-color: var(--rose); color: var(--cream); }
.chip.is-active { background: var(--rose); border-color: var(--rose); color: var(--espresso-deep); }

.tech__layout { display: grid; grid-template-columns: minmax(260px, .8fr) 1.4fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.tech__list { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.tech__list li { border-top: 1px solid rgba(247, 241, 235, .1); }
.tech__list li:last-child { border-bottom: 1px solid rgba(247, 241, 235, .1); }
.tech__list li.is-hidden { display: none; }
.tech__item {
  width: 100%; display: flex; align-items: baseline; gap: 18px; text-align: left;
  background: none; border: 0; color: rgba(247, 241, 235, .55); cursor: pointer;
  padding: 15px 4px; font-family: var(--serif); font-size: 24px; line-height: 1.15;
  transition: color .3s var(--ease), padding .4s var(--ease);
}
.tech__item small { font-family: var(--sans); font-size: 10px; letter-spacing: .14em; color: rgba(247, 241, 235, .35); min-width: 22px; }
.tech__item:hover { color: var(--cream); }
.tech__item.is-active { color: var(--cream); padding-left: 16px; }
.tech__item.is-active small { color: var(--rose); }
.tech__item .arrow { margin-left: auto; font-family: var(--sans); font-size: 14px; opacity: 0; transform: translateX(-8px); transition: all .35s var(--ease); color: var(--rose); }
.tech__item.is-active .arrow { opacity: 1; transform: none; }

.tech__panel {
  position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center;
  padding: clamp(28px, 4vw, 52px); border-radius: 6px;
  background: linear-gradient(145deg, rgba(247, 241, 235, .07), rgba(247, 241, 235, .02));
  border: 1px solid rgba(247, 241, 235, .1);
  min-height: 460px; overflow: hidden;
}
.tech__visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(196, 163, 162, .35); animation: pulse 6s var(--ease) infinite; }
.r1 { inset: 0; }
.r2 { inset: 14%; animation-delay: -2s; border-color: rgba(196, 163, 162, .5); }
.r3 { inset: 28%; animation-delay: -4s; background: radial-gradient(circle, rgba(107, 42, 53, .55), rgba(107, 42, 53, 0) 70%); border-color: rgba(196, 163, 162, .7); }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: .6; } }
.tech__bignum { position: relative; font-family: var(--serif); font-style: italic; font-size: clamp(64px, 8vw, 110px); color: var(--rose); line-height: 1; }
.tech__type { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--rose); margin-bottom: 12px; }
.tech__name { font-size: clamp(34px, 4vw, 50px); color: var(--cream); margin-bottom: 18px; }
.tech__desc { color: rgba(247, 241, 235, .75); font-size: 15px; }
.tech__label { font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgba(247, 241, 235, .45); margin: 24px 0 10px; }
.tech__tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tech__tags li { font-size: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(196, 163, 162, .14); color: var(--rose-soft); }
.tech__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(247, 241, 235, .06); }
.tech__progress span { display: block; height: 100%; width: 0; background: var(--rose); }
.tech__progress span.run { animation: bar 7s linear forwards; }
@keyframes bar { to { width: 100%; } }
.tech__info > * { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.tech__panel.is-swapping .tech__info > *, .tech__panel.is-swapping .tech__bignum { opacity: 0; transform: translateY(10px); }
.tech__bignum { transition: opacity .45s var(--ease), transform .45s var(--ease); }

/* ---------- Corpo clínico ---------- */
.feature {
  display: grid; grid-template-columns: .85fr 1.15fr; margin-bottom: 40px;
  background: var(--espresso); color: var(--cream); border-radius: 6px; overflow: hidden;
  position: relative;
}
.feature::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(196, 163, 162, .25); border-radius: 4px; pointer-events: none; }
.feature__img { min-height: 560px; overflow: hidden; position: relative; }
.feature__img img { position: absolute; inset: 0; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 1.2s var(--ease); }
.feature:hover .feature__img img { transform: scale(1.03); }
.feature__body { padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; position: relative; }
.feature__kicker { font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--rose); }
.feature__name { font-size: clamp(42px, 5.4vw, 68px); font-weight: 400; color: var(--cream); margin: 6px 0 8px; }
.feature__crm { font-size: 12px; letter-spacing: .1em; color: rgba(247, 241, 235, .55); }
.feature__quote { margin: 18px 0 18px; padding-left: 20px; border-left: 1px solid var(--rose); font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2vw, 25px); line-height: 1.35; color: var(--rose-soft); }
.feature__bio { color: rgba(247, 241, 235, .72); font-size: 14px; max-width: 52ch; }
.feature__links { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 14px; }
.feature .link-ig { color: rgba(247, 241, 235, .75); }
.feature .link-ig:hover { color: var(--rose); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.doc { background: var(--white); border-radius: 6px; overflow: hidden; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.doc:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(42, 34, 34, .35); }
.doc__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--rose-soft); }
.doc__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.doc__body { padding: 22px 22px 24px; }
.doc__area { font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--rose); margin-bottom: 8px; }
.doc h3 { font-size: 26px; }
.doc__crm { font-size: 12px; color: var(--muted); margin: 4px 0 14px; }
.doc__img--empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(160deg, var(--rose-soft), var(--cream));
}
.doc__mono { font-family: var(--serif); font-size: 64px; font-style: italic; color: var(--rose); width: 120px; height: 120px; border: 1px solid rgba(196, 163, 162, .6); border-radius: 50%; display: grid; place-items: center; }
.doc__soon { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.doc--placeholder .link-ig { opacity: .55; pointer-events: none; }

/* ---------- Galeria ---------- */
.space__nav { display: flex; gap: 10px; }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--espresso); background: transparent; color: var(--espresso); font-size: 16px; cursor: pointer; transition: all .3s var(--ease); }
.round-btn:hover { background: var(--espresso); color: var(--cream); }
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 26vw, 340px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  scroll-padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); scroll-snap-align: start; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }

/* ---------- CTA ---------- */
.cta { background: var(--wine); color: var(--cream); padding: clamp(72px, 9vw, 110px) 0; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 120%, rgba(196, 163, 162, .35), transparent 60%); }
.cta__inner { position: relative; max-width: 720px; }
.cta h2 { font-size: clamp(36px, 5vw, 58px); font-weight: 400; margin-bottom: 18px; }
.cta h2 em { color: var(--rose-soft); }
.cta p { color: rgba(247, 241, 235, .78); margin-bottom: 32px; }

/* ---------- Footer ---------- */
.footer { background: var(--espresso-deep); color: rgba(247, 241, 235, .75); padding: 80px 0 28px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { margin: 20px 0 18px; max-width: 30ch; }
.footer h4 { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--rose); margin-bottom: 18px; }
.footer address { font-style: normal; line-height: 1.8; margin-bottom: 14px; }
.footer__link { display: block; text-decoration: none; margin-bottom: 8px; transition: color .25s; }
.footer__link:hover { color: var(--rose); }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid rgba(247, 241, 235, .08); }
.hours li span:last-child { color: var(--cream); }
.open-now { margin-top: 14px; font-size: 12px; display: flex; align-items: center; gap: 8px; }
.open-now::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot, #8a7d7b); }
.open-now.is-open { --dot: #7fb48a; }
.footer__map { margin-top: 56px; }
.footer__map iframe { width: 100%; height: 280px; border: 0; border-radius: 6px; filter: grayscale(.9) sepia(.25) contrast(.95) brightness(.85); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(247, 241, 235, .08); font-size: 12px; color: rgba(247, 241, 235, .45); }
.footer__bottom p { margin: 0; }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: var(--rose); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--espresso); display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(42, 34, 34, .6); transition: transform .3s var(--ease), background .3s; }
.wa-float svg { width: 26px; height: 26px; fill: var(--cream); }
.wa-float:hover { transform: scale(1.08); background: var(--wine); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .spec:nth-child(2) { border-right: 0; }
  .spec:nth-child(3) { padding-left: 0; }
  .spec:nth-child(n+3) { border-top: 1px solid var(--line); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .tech__panel { grid-template-columns: 1fr; min-height: 0; }
  .tech__visual { width: 180px; justify-self: start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-toggle { display: flex; flex-direction: column; gap: 6px; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
  .menu-toggle span { width: 24px; height: 1.5px; background: var(--espresso); transition: transform .3s var(--ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: 0 0 auto; top: 0; padding: 100px var(--gutter) 40px; margin: 0;
    flex-direction: column; gap: 4px; background: var(--cream); box-shadow: 0 20px 40px -20px rgba(0,0,0,.2);
    transform: translateY(-100%); transition: transform .5s var(--ease); z-index: -1;
  }
  .nav.is-open { transform: none; }
  .nav a { font-family: var(--serif); font-size: 28px; letter-spacing: 0; padding: 8px 0; }
  .hero__grid, .about__grid, .tech__layout, .feature { grid-template-columns: 1fr; }
  .hero::before { width: 100%; height: 55%; top: auto; bottom: 0; }
  .hero__media { max-width: 520px; }
  .feature__img { min-height: 0; aspect-ratio: 4 / 4; }
  .tech__list { display: flex; overflow-x: auto; gap: 8px; scrollbar-width: none; padding-bottom: 4px; }
  .tech__list::-webkit-scrollbar { display: none; }
  .tech__list li, .tech__list li:last-child { border: 0; flex: none; }
  .tech__item { font-size: 18px; border: 1px solid rgba(247, 241, 235, .15); border-radius: 999px; padding: 10px 18px; white-space: nowrap; }
  .tech__item.is-active { padding-left: 18px; border-color: var(--rose); }
  .tech__item small, .tech__item .arrow { display: none; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  body { font-size: 14px; }
  .spec-grid, .team-grid { grid-template-columns: 1fr; }
  .spec, .spec:not(:first-child) { padding: 28px 0; border-right: 0; }
  .spec + .spec { border-top: 1px solid var(--line); }
  .stats strong { font-size: 36px; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .tech__visual { display: none; }
  .space__nav { display: none; }
  .gallery { grid-auto-columns: 78vw; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
