/* ==========================================================================
   PURO ZAPATO — Prototipo 3 · "Del antes al después"
   Mobile-first y compacto (línea del prototipo 2), pero con la prueba
   visual como protagonista: comparador antes/después deslizable.
   Paleta: verde azulado de la pared de sus sedes + marfil + verde del logo.
   ========================================================================== */

:root {
  --bg: #F4F1EC;
  --card: #FFFFFF;
  --teal: #1F7A68;          /* pared de la sede (fotos de Instagram) */
  --teal-d: #125244;
  --teal-dd: #0B3329;
  --green: #1E3A25;         /* verde del logotipo */
  --ivory: #EAE6DF;         /* marfil del logotipo */
  --mint: #A6E0BC;
  --ink: #12201A;
  --muted: rgba(18, 32, 26, .62);
  --line: rgba(18, 32, 26, .1);

  --serif: 'Cormorant Garamond', Garamond, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --g: 18px;
  --header: 60px;
  --r: 24px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
img, svg { display: block; max-width: 100%; }
svg { fill: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--g); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: -80px; left: 12px; z-index: 99; background: var(--teal); color: #fff; padding: .5rem 1rem; border-radius: 8px; }
.skip:focus { top: 12px; }
.tbc { display: inline-block; font-style: normal; font-size: .62rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #8A6E3A; border: 1px dashed currentColor; border-radius: 5px; padding: 0 .35rem; vertical-align: middle; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 52px; padding: 0 1.4rem; border-radius: 16px; font-weight: 700; font-size: .95rem; white-space: nowrap; transition: transform .3s var(--ease), background-color .3s, box-shadow .3s; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:active { transform: scale(.97); }
.btn--teal { background: var(--teal); color: #fff; box-shadow: 0 14px 26px -14px rgba(31,122,104,.9); }
.btn--teal:hover { background: var(--teal-d); }
.btn--ghost { border: 1.5px solid rgba(18,32,26,.18); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn--sm { min-height: 42px; padding: 0 1rem; font-size: .86rem; border-radius: 12px; }
.btn--wide { width: 100%; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; height: var(--header); background: rgba(244,241,236,.86); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid transparent; transition: border-color .3s; }
.header.is-scrolled { border-color: var(--line); }
.header-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .6rem; }
.logo img { width: 38px; height: 38px; padding: 6px 8px; border-radius: 12px; background: var(--teal); object-fit: contain; }
.logo b { display: block; font-family: var(--serif); font-size: 1.28rem; font-weight: 600; line-height: 1; text-transform: uppercase; letter-spacing: .02em; }
.logo small { display: block; font-size: .66rem; color: var(--muted); }
.topnav { display: none; }
.wa-pill { display: inline-flex; align-items: center; gap: .4rem; height: 40px; padding: 0 .9rem; border-radius: 12px; background: #25D366; color: #fff; font-size: .84rem; font-weight: 700; }
.wa-pill svg { width: 18px; height: 18px; }

/* ---------- Hero: comparador ---------- */
.hero { padding-bottom: 26px; }
.hero-grid { display: flex; flex-direction: column; gap: 22px; }
.ba {
  --pos: 50%;
  position: relative; aspect-ratio: 1000 / 933; overflow: hidden; isolation: isolate;
  margin-inline: calc(var(--g) * -1); border-radius: 0 0 28px 28px;
  background: var(--teal-d); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 0 18px rgba(255,255,255,.9); z-index: 3; pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; translate: -50% -50%; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--teal-d); box-shadow: 0 10px 26px -6px rgba(0,0,0,.45), 0 0 0 6px rgba(255,255,255,.28); transition: scale .3s var(--ease); }
.ba.is-dragging .ba-knob { scale: 1.12; }
.ba-knob svg { width: 24px; height: 24px; }
.ba-tag { position: absolute; top: 14px; z-index: 2; padding: .35rem .75rem; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: opacity .25s; pointer-events: none; }
.ba-tag--before { left: 14px; background: rgba(18,32,26,.62); color: #fff; }
.ba-tag--after { right: 14px; background: rgba(255,255,255,.88); color: var(--teal-d); }
.ba-hint { position: absolute; left: 50%; bottom: 16px; z-index: 4; translate: -50% 0; display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem; border-radius: 999px; background: rgba(18,32,26,.7); color: #fff; font-size: .78rem; font-weight: 700; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: opacity .4s, translate .4s var(--ease); pointer-events: none; }
.ba-hint svg { width: 18px; height: 18px; }
.ba.is-touched .ba-hint { opacity: 0; translate: -50% 10px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.ba:has(.ba-range:focus-visible) { outline: 3px solid var(--teal); outline-offset: 3px; }

.eyebrow { font-size: .76rem; color: var(--muted); margin-bottom: .7rem; }
.eyebrow span { display: inline-block; padding: .15rem .55rem; margin-right: .2rem; border-radius: 6px; background: rgba(31,122,104,.12); color: var(--teal-d); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: .68rem; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.3rem, 10vw, 4.4rem); line-height: .98; letter-spacing: -.02em; margin-bottom: .8rem; }
.hero h1 em { display: block; font-style: italic; color: var(--teal); }
.hero-sub { color: var(--muted); max-width: 44ch; margin-bottom: 1.3rem; }
.hero-ctas { display: grid; gap: 8px; }

/* ---------- Cinta ---------- */
.ticker { overflow: hidden; background: var(--teal); color: #fff; padding: 12px 0; }
.ticker-track { display: flex; gap: 2.2rem; width: max-content; animation: tick 26s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 700; white-space: nowrap; }
.ticker svg { width: 18px; height: 18px; color: var(--mint); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Títulos ---------- */
.sec-title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 8vw, 3rem); line-height: 1.02; letter-spacing: -.01em; margin-bottom: 1.1rem; }
.sec-title em { font-style: italic; color: var(--teal); }
.sec-title--light { color: var(--ivory); }
.sec-title--light em { color: var(--mint); }

/* ---------- Líneas (desplegables) ---------- */
.lines { padding: 34px 0 10px; }
.cards { display: grid; gap: 12px; }
.line { border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .4s, border-color .4s; }
.line.is-open { border-color: rgba(31,122,104,.35); box-shadow: 0 24px 50px -30px rgba(18,32,26,.45); }
.line h3 { font: inherit; }
.line-head { width: 100%; display: grid; grid-template-columns: 72px 1fr 40px; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; text-align: left; }
.line-media { width: 72px; height: 72px; border-radius: 16px; overflow: hidden; background: var(--teal-d); display: grid; place-items: center; }
.line-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.line.is-open .line-media img { transform: scale(1.08); }
.line-media--icon { background: linear-gradient(150deg, var(--teal), var(--teal-dd)); color: #fff; }
.line-media--icon svg { width: 60%; }
.line-txt small { display: block; font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.line-txt b { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 600; line-height: 1.05; margin: .1rem 0 .15rem; }
.line-txt i { display: block; font-style: normal; font-size: .8rem; color: var(--muted); line-height: 1.3; }
.line-chev { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--bg); transition: background-color .3s, color .3s; }
.line-chev svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.line.is-open .line-chev { background: var(--teal); color: #fff; }
.line.is-open .line-chev svg { transform: rotate(45deg); }
.line-body { padding: 4px 16px 18px; animation: open .5s var(--ease); }
.line-body[hidden] { display: none; }
@keyframes open { from { opacity: 0; transform: translateY(-8px); } }
.line-body > .btn { margin-top: 1rem; }
.lead { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }

.ticks { display: grid; gap: .7rem; margin: .4rem 0 1rem; }
.ticks li { position: relative; padding-left: 1.7rem; font-size: .9rem; color: var(--muted); }
.ticks li::before { content: ''; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ticks b { color: var(--ink); }
.mini-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mini-facts span { padding: .7rem .5rem; border-radius: 14px; background: var(--bg); text-align: center; font-size: .72rem; color: var(--muted); }
.mini-facts b { display: block; font-family: var(--serif); font-size: 1.35rem; line-height: 1; color: var(--ink); }

.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: .2rem -16px .8rem; padding: 0 16px; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; padding: .45rem .85rem; border-radius: 10px; background: var(--bg); font-size: .82rem; font-weight: 700; color: var(--muted); transition: all .25s; }
.chips button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.plist { display: grid; }
.plist li { display: grid; grid-template-columns: 48px 1fr auto auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); animation: open .4s var(--ease) both; }
.plist li:last-child { border-bottom: 0; }
.p-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(150deg, var(--teal), var(--teal-dd)); color: #fff; }
.p-ico svg { width: 30px; height: 30px; }
.p-ico img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.p-name b { display: block; font-size: .9rem; line-height: 1.2; }
.p-name small { font-size: .72rem; color: var(--muted); }
.ibtn { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); transition: all .25s; }
.ibtn svg { width: 17px; height: 17px; }
.ibtn.is-on { background: var(--mint); border-color: var(--mint); color: var(--teal-dd); }
.ibtn--wa { background: var(--teal); border-color: var(--teal); color: #fff; }
.qrow { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .8rem; padding: 8px 8px 8px 14px; border-radius: 16px; background: var(--ink); color: #fff; font-size: .9rem; animation: open .35s var(--ease); }
.qrow[hidden] { display: none; }
.qrow .btn--teal { background: var(--mint); color: var(--teal-dd); box-shadow: none; }
.fine { margin-top: .8rem; font-size: .76rem; color: var(--muted); }
.fine--box { display: flex; gap: .55rem; padding: .7rem .8rem; border-radius: 12px; border: 1px dashed rgba(31,122,104,.35); }
.fine--box svg { flex: none; width: 18px; height: 18px; color: var(--teal); }

.timeline { position: relative; display: grid; gap: 14px; counter-reset: t; margin-left: 4px; }
.timeline::before { content: ''; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--teal), rgba(31,122,104,.15)); }
.timeline li { position: relative; padding-left: 42px; counter-increment: t; }
.timeline li::before { content: counter(t); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; font-size: .8rem; font-weight: 800; box-shadow: 0 0 0 4px var(--card); }
.timeline b { display: block; font-size: .95rem; }
.timeline span { font-size: .82rem; color: var(--muted); }

/* ---------- Más transformaciones ---------- */
.more { padding: 34px 0 40px; }
.more-head p { color: var(--muted); font-size: .9rem; margin: -.6rem 0 1rem; }
.flips { display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--g) * -1); padding: 4px var(--g) 8px; scroll-padding-inline: var(--g); scrollbar-width: none; }
.flips::-webkit-scrollbar { display: none; }
.flip { --cx: 50%; --cy: 50%; position: relative; aspect-ratio: 1000 / 933; border-radius: 20px; overflow: hidden; scroll-snap-align: start; background: var(--teal-d); }
.flip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.flip-b { clip-path: circle(0% at var(--cx) var(--cy)); transition: clip-path .8s var(--ease); }
.flip[aria-pressed="true"] .flip-b { clip-path: circle(150% at var(--cx) var(--cy)); }
.flip-tag { position: absolute; left: 12px; bottom: 12px; display: grid; padding: .35rem .7rem; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--teal-d); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; overflow: hidden; }
.flip-tag span { grid-area: 1 / 1; transition: transform .45s var(--ease), opacity .3s; }
.flip-tag .t-b { transform: translateY(120%); opacity: 0; }
.flip[aria-pressed="true"] .t-a { transform: translateY(-120%); opacity: 0; }
.flip[aria-pressed="true"] .t-b { transform: none; opacity: 1; }
.flip--empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; color: rgba(255,255,255,.75); font-size: .8rem; font-weight: 700; background: radial-gradient(70% 60% at 30% 20%, rgba(166,224,188,.22), transparent), linear-gradient(150deg, var(--teal), var(--teal-dd)); border: 0; }
.flip--empty svg { width: 30px; height: 30px; }
.flip--empty .tbc { color: #E6D3A8; }

/* ---------- Contacto ---------- */
.contact { background: var(--teal-dd); color: var(--ivory); padding: 40px 0 34px; border-radius: 30px 30px 0 0; }
.sedes { display: grid; gap: 12px; }
.sede { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 10px; border-radius: 22px; background: rgba(234,230,223,.07); border: 1px solid rgba(234,230,223,.14); }
.sede-img { width: 96px; height: 120px; border-radius: 14px; overflow: hidden; background: var(--teal-d); display: grid; place-items: center; color: rgba(234,230,223,.5); font-size: .64rem; text-align: center; padding: 6px; }
.sede-img img { width: 100%; height: 100%; object-fit: cover; }
.sede-img svg { width: 26px; height: 26px; margin: 0 auto 4px; }
.sede h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; line-height: 1; margin: .3rem 0 .3rem; }
.sede p { font-size: .8rem; color: rgba(234,230,223,.7); margin-bottom: .7rem; }
.sede .tbc { color: #E6D3A8; }
.sede-act { display: flex; gap: 6px; flex-wrap: wrap; }
.sede-act a { display: inline-flex; align-items: center; gap: .35rem; height: 38px; padding: 0 .8rem; border-radius: 11px; font-size: .8rem; font-weight: 700; border: 1px solid rgba(234,230,223,.22); }
.sede-act a svg { width: 16px; height: 16px; }
.sede-act a.wa { background: #25D366; border-color: #25D366; color: #fff; }
.social { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.social a { display: inline-flex; align-items: center; gap: .45rem; height: 42px; padding: 0 1rem; border-radius: 12px; border: 1px solid rgba(234,230,223,.22); font-size: .86rem; font-weight: 700; }
.social svg { width: 18px; height: 18px; }

.footer { background: #071f19; color: rgba(234,230,223,.6); padding: 22px 0; font-size: .78rem; }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; }
.footer img { height: 30px; width: auto; }

/* ---------- Barra de acción fija (móvil) ---------- */
.dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: flex; gap: 8px; padding: 6px; border-radius: 20px; background: rgba(255,255,255,.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); box-shadow: 0 18px 40px -18px rgba(18,32,26,.55); transform: translateY(140%); transition: transform .5s var(--ease); }
.dock.show { transform: none; }
.dock-main { flex: 1; min-height: 50px; }
.dock-ig { width: 50px; height: 50px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--bg); }
.dock-ig svg { width: 22px; height: 22px; }

/* ---------- Hoja de sede ---------- */
.sheet { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; }
.sheet[hidden] { display: none; }
.sheet-bg { position: absolute; inset: 0; background: rgba(7,31,25,.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.sheet-panel { position: relative; width: 100%; padding: 12px var(--g) calc(24px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: var(--card); animation: up .45s var(--ease); }
@keyframes up { from { transform: translateY(100%); } }
.sheet-grab { display: block; width: 40px; height: 4px; margin: 0 auto 14px; border-radius: 2px; background: rgba(18,32,26,.18); }
.sheet-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--bg); }
.sheet-x svg { width: 16px; height: 16px; }
.sheet h2 { font-family: var(--serif); font-weight: 500; font-size: 1.8rem; margin-bottom: 1rem; }
.sheet-opts { display: grid; gap: 8px; }
.sheet-opts button { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-radius: 18px; background: var(--bg); text-align: left; transition: all .25s; }
.sheet-opts button:hover, .sheet-opts button:active { background: var(--teal); color: #fff; }
.sheet-opts strong { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1; }
.sheet-opts small { font-size: .78rem; opacity: .7; }
.sheet-opts svg { width: 24px; height: 24px; }

.toast { position: fixed; left: 50%; top: calc(var(--header) + 12px); z-index: 95; translate: -50% 0; padding: .7rem 1.1rem; border-radius: 12px; background: var(--ink); color: #fff; font-size: .86rem; font-weight: 700; opacity: 0; transform: translateY(-10px); transition: opacity .3s, transform .4s var(--ease); pointer-events: none; white-space: nowrap; }
.toast.on { opacity: 1; transform: none; }

/* ---------- Tablet / escritorio ---------- */
@media (min-width: 700px) {
  :root { --g: 32px; }
  .ba { margin: 8px 0 0; border-radius: 28px; }
  .hero-ctas { display: flex; flex-wrap: wrap; }
  .flips { grid-auto-columns: 44%; }
  .sedes { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  :root { --header: 76px; }
  body { padding-bottom: 0; }
  .dock { display: none; }
  .topnav { display: flex; gap: .2rem; }
  .topnav a { padding: .5rem .9rem; border-radius: 10px; font-size: .9rem; font-weight: 700; color: var(--muted); transition: all .25s; }
  .topnav a:hover { color: var(--teal); background: rgba(31,122,104,.08); }
  .logo img { width: 44px; height: 44px; }

  .hero { padding: 30px 0 50px; }
  .hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 56px; }
  .ba { margin: 0; }
  .hero h1 { font-size: clamp(3rem, 4.6vw, 4.6rem); }

  .lines { padding: 70px 0 20px; }
  .lines .wrap, .more .wrap { max-width: 980px; }
  .sec-title { text-align: center; }
  .more-head p { text-align: center; }
  .line-head { grid-template-columns: 96px 1fr 44px; padding: 12px 20px 12px 12px; gap: 20px; }
  .line-media { width: 96px; height: 96px; }
  .line-txt b { font-size: 1.8rem; }
  .line-body { padding: 6px 28px 28px 128px; }
  .line-body > .btn--wide { width: auto; padding: 0 2rem; }

  .more { padding: 60px 0 80px; }
  .flips { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; }
  .flip { cursor: pointer; }

  .contact { padding: 70px 0; border-radius: 48px 48px 0 0; }
  .contact .wrap { max-width: 980px; }
  .social { justify-content: center; }

  .sheet { align-items: center; justify-content: center; }
  .sheet-panel { width: min(460px, 92vw); border-radius: 26px; padding: 28px; animation: pop .4s var(--ease); }
  .sheet-grab { display: none; }
  @keyframes pop { from { opacity: 0; transform: scale(.96) translateY(10px); } }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
