/* COPRIK · Consultorio de Kinesiología — Ushuaia
   Sistema visual: azul petróleo (del logo) + ámbar sobre hielo patagónico.
   Display: Bricolage Grotesque · Texto: Instrument Sans · Datos: IBM Plex Mono */

:root {
  --ice: #e9eef3;
  --ice-2: #dae5ed;
  --paper: #fbfdfe;
  --ink: #0b1c26;
  --petrol: #0a2d44;
  --petrol-2: #0e3c5a;
  --green: #1b6b86;
  --glacier: #9fc0d8;
  --amber: #e39a2a;
  --amber-ink: #092740;
  --line: rgba(10, 45, 68, 0.14);
  --line-dark: rgba(255, 255, 255, 0.16);
  --muted: #42606f;

  --t-hero: clamp(2.6rem, 6.6vw, 5.1rem);
  --t-h2: clamp(1.85rem, 3.7vw, 2.9rem);
  --t-h3: 1.16rem;
  --t-body: 1.045rem;
  --t-small: 0.92rem;
  --t-label: 0.7rem;

  --r: 14px;
  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 56px);
  --sec: clamp(74px, 10vw, 132px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 94px; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--ice);
  color: var(--ink);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: var(--t-body);
  line-height: 1.62;
  font-weight: 400;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: "Bricolage Grotesque", "Instrument Sans", sans-serif;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0;
}

h1 { font-size: var(--t-hero); font-weight: 700; }
h2 { font-size: var(--t-h2); line-height: 1.06; }
h3 { font-size: var(--t-h3); line-height: 1.2; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
a { color: inherit; }

.mono {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: var(--t-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

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

section { padding-block: var(--sec); position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--green); margin-bottom: 22px; letter-spacing: 0.1em;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.55;
}
.eyebrow.on-dark { color: var(--amber); }

.lead { font-size: 1.1rem; color: var(--muted); max-width: 52ch; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 620; font-size: 0.98rem; letter-spacing: -0.01em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-amber { background: var(--amber); color: var(--amber-ink); font-weight: 680; box-shadow: 0 10px 26px -14px rgba(227, 154, 42, 0.85); }
.btn-amber:hover { background: #f0a838; }
.btn-sm { padding: 11px 19px; font-size: .92rem; }
.btn-dark { background: var(--petrol); color: #eef5fa; }
.btn-dark:hover { background: var(--petrol-2); }
.btn-ghost { border-color: rgba(10,45,68,.34); color: var(--petrol); background: transparent; }
.btn-ghost:hover { border-color: var(--petrol); background: rgba(10, 45, 68, 0.05); }
.on-dark .btn-ghost, .band:not(#promo) .btn-ghost { color: #eef5fa; border-color: var(--line-dark); }
#promo .btn-ghost { border-color: rgba(10,45,68,.34); color: var(--petrol); background: transparent; }
#promo .btn-ghost:hover { border-color: var(--petrol); background: rgba(10,45,68,.06); }
.on-dark .btn-ghost:hover, .band .btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn svg { flex: none; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, 0.5); font-size: 0.83rem; color: var(--muted);
}

/* ---------- header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(233, 239, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { display: flex; align-items: center; gap: 26px; height: 74px; }
.brand { display: flex; align-items: baseline; gap: 11px; text-decoration: none; flex: none; }
.brand-logo { display: block; height: 42px; width: auto; }
.foot-logo { display: block; height: 48px; width: auto; margin-bottom: 6px; }
.brand b {
  font-family: "Bricolage Grotesque", sans-serif; font-size: 1.42rem; font-weight: 750;
  letter-spacing: -0.04em; color: var(--petrol);
}
.brand span { display: block; line-height: 1.2; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  text-decoration: none; padding: 9px 13px; border-radius: 8px;
  font-size: 0.95rem; font-weight: 550; color: #112c3a;
  transition: background 0.2s, color 0.2s;
}
.nav a:hover { background: rgba(10, 45, 68, 0.07); color: var(--petrol); }
.nav a[aria-current="true"] { color: var(--petrol); font-weight: 650; box-shadow: inset 0 -2px 0 var(--amber); }
.topbar .btn { padding: 11px 19px; font-size: .92rem; }
.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "IBM Plex Mono", monospace; font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap;
}
.status i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(27,107,134, 0.5);
}
.status.closed i { background: #a5443a; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 10px; cursor: pointer; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(58px, 15vw, 96px) var(--sec); }
.hero-grid { display: grid; grid-template-columns: 1.14fr 0.86fr; gap: clamp(30px, 4.4vw, 62px); align-items: center; }
h1 .ln, h2 .ln { display: block; }
h1 em { font-style: normal; color: var(--green); }
.hero-copy .lead { margin-top: 22px; font-size: 1.14rem; color: #28495a; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  margin-top: 48px; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; background: var(--line);
}
.hero-facts div { background: rgba(251, 252, 252, 0.72); padding: 18px 20px; }
.hero-facts b {
  display: block; font-family: "Bricolage Grotesque", sans-serif; font-size: 1.5rem;
  font-weight: 700; color: var(--petrol); letter-spacing: -0.03em; line-height: 1;
}
.hero-facts p { margin: 7px 0 0; font-size: 0.84rem; color: var(--muted); line-height: 1.4; }

/* tarjeta de orientación (firma) */
.triage {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  max-width: 520px; margin-inline: auto;
  border-radius: 18px; padding: clamp(22px, 3vw, 30px);
  box-shadow: 0 30px 70px -50px rgba(10, 45, 68, 0.55);
}
.triage > .mono { color: #7d5207; display: block; margin-bottom: 16px; }
.triage h2 { font-size: 1.55rem; margin-bottom: 6px; }
.triage > p { font-size: 0.9rem; color: var(--muted); margin-bottom: 20px; }
.triage-q { display: flex; flex-wrap: wrap; gap: 8px; }
.triage-q button {
  font: inherit; font-size: 0.9rem; text-align: left; cursor: pointer;
  padding: 10px 15px; border-radius: 999px; background: var(--ice-2);
  border: 1px solid transparent; color: #112c3a;
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.triage-q button:hover { transform: translateY(-1px); border-color: var(--glacier); }
.triage-q button[aria-pressed="true"] {
  background: var(--petrol); color: #f1f7fb; border-color: var(--petrol);
}
.triage-r { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 20px; display: grid; gap: 14px; }
.triage-r.swap { animation: swap 0.4s var(--ease); }
@keyframes swap { from { opacity: 0.3; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.triage-prof { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--petrol); color: #f1f7fb;
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 0.98rem;
  letter-spacing: 0.02em;
}
.triage-prof b { display: block; font-family: "Bricolage Grotesque", sans-serif; font-size: 1.02rem; }
.triage-prof small { font-size: 0.82rem; color: var(--muted); }
.triage-r p { font-size: 0.95rem; margin: 0; }
.triage-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.triage-note {
  font-size: 0.85rem; color: var(--muted); margin: 18px 0 0;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.triage-note a { color: var(--green); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--glacier); }

/* ---------- banda oscura ---------- */
.band { background: var(--petrol); color: #eaf2f8; }
.band h2, .band h3 { color: #fff; }
.band .lead { color: rgba(233, 242, 240, 0.72); }

.marquee { overflow: hidden; border-block: 1px solid var(--line-dark); padding-block: 16px; max-width: 100%; min-width: 0; width: 100%; }
.marquee-in { display: flex; gap: 46px; width: max-content; padding-inline: 46px; animation: slide 34s linear infinite; }
.marquee span { font-family: "IBM Plex Mono", monospace; font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(233, 242, 240, 0.66); white-space: nowrap; }
.marquee em { color: var(--amber); font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee:hover .marquee-in { animation-play-state: paused; }

/* ---------- servicios ---------- */
.svc-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px; justify-content: space-between; margin-bottom: 44px; }
.svc-head > div { flex: 1 1 320px; min-width: 0; }
.svc-head > h2 { flex: 0 1 auto; min-width: 0; }
.svc-head h2 { max-width: 20ch; }
.svc { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.svc-item { padding: 34px 30px 30px; border-bottom: 1px solid var(--line-dark); border-right: 1px solid var(--line-dark); position: relative; display: flex; flex-direction: column; }
.svc-item:nth-child(3n) { border-right: 0; }
.svc-item h3 { font-size: 1.26rem; font-weight: 600; letter-spacing: -0.005em; margin-bottom: 10px; min-height: 3.1rem; }
.svc-item p.l { font-size: 0.95rem; color: rgba(233, 242, 240, 0.7); margin-bottom: 18px; }
.svc-item ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 6px; line-height: 1.45; }
.svc-item li { font-size: 0.88rem; color: rgba(233, 242, 240, 0.88); padding-left: 17px; position: relative; }
.svc-item li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 1px; background: var(--amber); }
.svc-item .tag { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: "IBM Plex Mono", monospace; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(159, 194, 198, 0.75); border-top: 1px solid var(--line-dark); padding-top: 18px; }
.svc-item button {
  font: inherit; background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--amber); font-size: 0.86rem; font-weight: 600; font-family: "Bricolage Grotesque", sans-serif;
  display: inline-flex; align-items: center; gap: 7px;
}
.svc-item button:hover { gap: 11px; }
.svc-item button svg { transition: transform 0.25s var(--ease); }
.svc-item::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 60% at 50% 0%, rgba(227, 154, 42, 0.09), transparent 70%); opacity: 0; transition: opacity 0.35s; pointer-events: none; }
.svc-item:hover::after { opacity: 1; }

/* ---------- motivos locales ---------- */
.motivos { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--r); overflow: hidden; }
.motivos > div { background: rgba(6,36,51,.8); backdrop-filter: blur(4px); padding: 24px 24px 26px; }
.motivos b { display: block; font-family: "Bricolage Grotesk", sans-serif; font-size: 1.06rem; color: #fff; margin-bottom: 8px; letter-spacing: -0.02em; }
.motivos p { margin: 0; font-size: .93rem; line-height: 1.58; color: rgba(238,245,244,.9); }
@media (max-width:1000px) { .motivos { grid-template-columns: 1fr; } }

/* ---------- método ---------- */
#metodo h2 { margin-bottom: 6px; }
.method { display: grid; gap: 0; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 92px 1fr 1.1fr; gap: 24px; align-items: baseline; align-content: start; padding: 26px 0; border-bottom: 1px solid var(--line); transition: background 0.3s; }
.step:hover { background: rgba(255, 255, 255, 0.45); }
.step b { font-family: "IBM Plex Mono", monospace; font-size: 0.78rem; color: #8a5a0e; letter-spacing: 0.1em; }
.step h3 { font-size: 1.3rem; }
.step p { margin: 0; font-size: 0.98rem; color: var(--muted); max-width: 62ch; text-wrap: pretty; }

/* ---------- equipo ---------- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 34px); }
.team-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }

.team-card .marca { position: relative; background: linear-gradient(140deg, #062433 0%, var(--petrol) 45%, var(--green) 100%); padding: 30px 24px 22px; overflow: hidden; }
.team-card .marca::after { content: ""; position: absolute; right: -34px; bottom: -46px; width: 148px; height: 148px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); }
.team-card .marca span { display: block; position: relative; z-index: 1; color: #ffffff; text-wrap: balance; font-family: "Bricolage Grotesk", sans-serif; font-weight: 700; font-size: 1.3rem; letter-spacing: -0.03em; line-height: 1.1; }
.team-card .marca i { position: relative; z-index: 1; display: block; margin-top: 9px; font-style: normal; font-family: "IBM Plex Mono", monospace; font-size: 0.66rem; letter-spacing: 0.13em; text-transform: uppercase; color: #cfe6e6; }
.team-body { padding: 26px 26px 34px; flex: 1; }
.team-body h3 { font-size: 1.15rem; color: var(--petrol); }
.team-body .role { color: #125a6f; font-size: 0.9rem; font-weight: 600; margin: 6px 0 14px; }
.team-body p { font-size: 0.97rem; color: #28495a; line-height: 1.6; }
.team-body ul { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.team-body li { font-size: 0.78rem; letter-spacing: 0.01em; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; color: #112c3a; background: rgba(255,255,255,.7); }
.mateo, .pend {
  display: inline-block; font-size: 0.82rem; color: #7a5410;
  background: rgba(227,154,42,.1); border: 1px dashed rgba(160,104,16,.42); border-radius: 7px; padding: 7px 11px;
}
.mateo { margin: 18px 0 0; }
.pend { margin-top: 12px; }
.demo-flag[hidden] { display: none; }
.demo-flag { position: fixed; pointer-events: none; left: 14px; bottom: 14px; z-index: 71; background: var(--petrol); color: #eaf2f8; font-family: "IBM Plex Mono", monospace; font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; opacity: .8; }
@media (max-width:720px){ .demo-flag { display: none; } }
.join { margin-top: clamp(20px, 3vw, 30px); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 0.95rem; }
.join a { color: var(--green); }

/* ---------- foto del espacio ---------- */
.espacio { margin: 46px 0 0; }
.espacio img { width: 100%; height: clamp(220px, 25vw, 340px); object-fit: cover; object-position: 50% 40%; border-radius: 18px; }
.espacio { position: relative; }
.espacio::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: clamp(220px, 25vw, 340px); border-radius: 18px; background: linear-gradient(100deg, rgba(10,45,68,.16), rgba(227,154,42,.06)); pointer-events: none; }
.espacio figcaption { margin-top: 14px; color: #1c3d4b; font-size: 0.9rem; text-align: center; }
.espacio figcaption .pend { margin-top: 0; }

/* ---------- convenios ---------- */
.cov { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(26px, 5vw, 66px); align-items: start; }
.cov-list { display: grid; gap: 4px; }
.cov-row { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; padding: 15px 16px 15px 0; border-radius: 10px; transition: background .2s; }
.cov-row:hover { background: rgba(255,255,255,.7); }
.cov-row::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green); margin-left: 6px; }
.cov-row.ask::before { background: var(--amber); }
.cov-row b { font-family: "Bricolage Grotesque", sans-serif; font-size: 1.08rem; color: var(--petrol); }
.cov-row small { display: block; font-size: 0.86rem; color: #28495a; }
.cov-note { font-family: "IBM Plex Mono", monospace; font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.cov-note.yes { background: rgba(27,107,134, 0.12); color: var(--green); }
.cov-note.ask { background: rgba(227, 154, 42, 0.16); color: #8a5a0e; }
.cov-side { display: grid; gap: 16px; }
.cov-card { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.cov-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.cov-card ul { margin: 0; padding-left: 18px; font-size: 0.95rem; color: var(--muted); display: grid; gap: 6px; }

/* ---------- promos ---------- */
#promo.band { background: linear-gradient(180deg, var(--ice) 0%, var(--ice-2) 100%); color: var(--ink); }
#promo.band h2, #promo.band h3 { color: var(--petrol); }
#promo.band .lead { color: #315260; }
.promos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 30px); margin-top: 64px; }
#promo .wrap:first-child { gap: 34px; }
.promo { position: relative; border: 1px solid var(--line); background: var(--paper); border-radius: 18px; padding: 32px 32px 30px; overflow: hidden; box-shadow: 0 24px 60px -50px rgba(10,45,68,.5); }
.promo .n { font-family: "Bricolage Grotesk", sans-serif; font-weight: 700; font-size: clamp(3.2rem, 7vw, 4.8rem); line-height: 0.9; letter-spacing: -0.05em; color: var(--petrol); }
.promo h3 { margin: 0 0 4px; font-size: 1.2rem; color: #125a6f; letter-spacing: 0; }
.promo p { font-size: 0.98rem; color: #315260; margin: 0; line-height: 1.55; }

.price-line { margin-top: 28px; font-size: 0.92rem; color: rgba(233, 242, 240, 0.72); }
.price-line b { color: var(--amber); }

/* ---------- turnos ---------- */
.book { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(24px, 3.4vw, 44px); align-items: start; }
.book-side h2 { margin-bottom: 16px; }
.book-hours { margin-top: 30px; border-top: 1px solid var(--line); }
.book-hours div { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
.book-hours span:last-child { font-family: "IBM Plex Mono", monospace; font-size: 0.82rem; color: #1c3d4b; text-align: right; min-width: 7.4em; font-variant-numeric: tabular-nums; }
.alt-wa { margin-top: 26px; font-size: 0.94rem; color: var(--muted); }

.agenda { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3vw, 32px); box-shadow: 0 30px 70px -55px rgba(10, 45, 68, 0.6); }
.agenda-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.agenda-top b { font-family: "Bricolage Grotesque", sans-serif; font-size: 1.12rem; }
.ag-nav { display: flex; gap: 6px; }
.ag-nav button { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1rem; line-height: 1; color: var(--petrol); transition: border-color 0.2s, background 0.2s; }
.ag-nav button:hover { border-color: var(--petrol); background: var(--ice-2); }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal .dow { text-align: center; font-family: "IBM Plex Mono", monospace; font-size: 0.64rem; letter-spacing: 0.1em; color: var(--muted); padding-bottom: 6px; }
.cal button {
  aspect-ratio: 1; border: 1px solid transparent; border-radius: 9px; cursor: pointer;
  font: inherit; font-size: 0.88rem; background: var(--ice-2); color: #112c3a;
  display: grid; align-content: center; justify-items: center; gap: 3px;
  transition: background 0.18s, color 0.18s, transform 0.18s var(--ease);
}
.cal button i { width: 5px; height: 5px; border-radius: 50%; background: transparent; display: block; }
.cal button.free { cursor: pointer; border-color: rgba(27,107,134, 0.34); background: rgba(27,107,134, 0.13); font-weight: 600; }
.cal button.free i { background: var(--green); }
.cal button.full { background: rgba(165, 68, 58, 0.07); border-color: rgba(165, 68, 58, 0.22); color: #7a3f38; }
.cal button.full i { background: #a5443a; }
.cal button:disabled { background: rgba(10, 45, 68, 0.05); color: rgba(11,28,38, 0.42); cursor: not-allowed; }
.cal button:hover:not(:disabled) { transform: translateY(-2px); }
.cal button[aria-pressed="true"] { background: var(--petrol); color: #f1f7fb; border-color: var(--petrol); }
.cal button[aria-pressed="true"] i { background: var(--amber); }
.legend { display: flex; gap: 20px; margin: 18px 0 4px; font-size: 0.86rem; color: var(--muted); flex-wrap: wrap; }
.legend em { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; font-style: normal; vertical-align: -1px; }
.slots { margin-top: 20px; }
.slots-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.slots-grid button { font: inherit; font-size: 0.9rem; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.slots-grid button[aria-pressed="true"] { background: var(--petrol); color: #fff; border-color: var(--petrol); }
.slots-grid button:disabled { opacity: 0.4; text-decoration: line-through; cursor: not-allowed; }
.f-form { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 22px; display: grid; gap: 12px; }
#bkSubmit:disabled { background: var(--ice-2); color: var(--muted); box-shadow: none; cursor: not-allowed; transform: none; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: block; font-family: "IBM Plex Mono", monospace; font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: #28495a; margin-bottom: 5px; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 0.95rem; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--amber); outline-offset: 2px;
}
.ag-msg { font-size: 0.9rem; padding: 12px 14px; border-radius: 10px; }
.ag-msg.err { background: rgba(165, 68, 58, 0.09); color: #7a3f38; }
.ag-msg.ok { background: rgba(27,107,134, 0.1); color: var(--green); }
.ag-status { font-size: 0.88rem; color: var(--muted); }
.skel { height: 250px; border-radius: 12px; background: linear-gradient(90deg, var(--ice-2) 25%, #eef3f3 50%, var(--ice-2) 75%); background-size: 300% 100%; animation: sh 1.3s infinite; }
@keyframes sh { to { background-position: -150% 0; } }

/* ---------- ubicación ---------- */
.loc { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 56px); align-items: stretch; }
.loc-info b { font-family: "Bricolage Grotesque", sans-serif; font-size: 1.5rem; display: block; }
.loc-map { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; min-height: 340px; background: var(--ice-2); position: relative; }
.loc-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.5) contrast(1.05); }
.rating { display: flex; align-items: center; gap: 14px; margin: 26px 0; }
.rating .n { font-family: "Bricolage Grotesque", sans-serif; font-size: 2.7rem; font-weight: 700; letter-spacing: -0.04em; color: var(--petrol); line-height: 1; }
.stars { color: var(--amber); letter-spacing: 2px; font-size: 1.05rem; }
.rating small { display: block; color: var(--muted); font-size: 0.86rem; }
.quote { border-left: 2px solid var(--amber); padding: 4px 0 4px 20px; margin: 6px 0 22px; font-size: 1.02rem; color: #1c3d4b; max-width: 58ch; }
.quote + span { font-size: 0.84rem; color: var(--muted); }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; max-width: 940px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); transition: box-shadow .25s, border-color .25s; }
.faq details[open] { border-color: rgba(10,45,68,.3); box-shadow: 0 18px 40px -34px rgba(10,45,68,.45); }
.faq summary {
  display: block; list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; font-size: 1.06rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 24px; width: 9px; height: 9px; border-right: 1.6px solid var(--green); border-bottom: 1.6px solid var(--green); transform: rotate(45deg); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); top: 28px; }
.faq details > div { padding: 0 40px 24px 0; font-size: 0.98rem; color: var(--muted); line-height: 1.62; }

/* ---------- footer ---------- */
footer { background: var(--petrol); color: rgba(233, 242, 240, 0.82); padding-block: 66px 30px; font-size: 0.94rem; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.foot h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; font-family: "IBM Plex Mono", monospace; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; font-size: 0.68rem; color: var(--amber); }
.foot a { text-decoration: none; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot .brand b { color: #fff; }
.foot .tagline { max-width: 34ch; margin-top: 12px; font-size: 0.9rem; color: rgba(233, 242, 240, 0.6); }
.foot-bot { margin-top: 54px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 0.84rem; color: rgba(233, 242, 240, 0.72); }
.foot-bot a { color: var(--glacier); }
.foot-bot a:hover { color: var(--amber); }

.wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 70;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--amber); color: var(--amber-ink);
  box-shadow: 0 14px 34px -14px rgba(10, 45, 68, 0.6);
  transition: transform 0.25s var(--ease);
}
.wa:hover { transform: scale(1.07) rotate(-4deg); }
.agenda ~ .wa, .wa.lejos { opacity: 0; pointer-events: none; transform: translateY(12px); }
.wa { transition: transform 0.25s var(--ease), opacity 0.25s var(--ease), right 0.25s var(--ease), bottom 0.25s var(--ease); }
.wa svg { width: 24px; height: 24px; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv2 { transition-delay: 90ms; }
.rv3 { transition-delay: 180ms; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .svc, .book, .loc, .cov, .team, .promos { grid-template-columns: 1fr; }
  .svc { border-top: 1px solid var(--line-dark); }
  .svc-item { border-right: 0; }
  .foot { grid-template-columns: 1fr 1fr; }
  .step { grid-template-columns: 62px 1fr; }
  .step p { grid-column: 2; }
}
@media (max-width: 1080px) {
  .nav {
    position: absolute; inset: 68px 0 auto; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px var(--pad) 18px;
    display: none;
  }
  body.nav-open .nav { display: flex; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .status { display: none; }
  .topbar .btn { display: none; }
  .topbar-in { height: 68px; gap: 14px; }
}
@media (max-width: 720px) {
  footer .foot { gap: 30px; }
  .foot h3 { margin-bottom: 6px; }
  .foot li, .foot a { font-size: 0.97rem; }
  .foot .tagline { margin-top: 10px; }
  .foot-bot { margin-top: 38px; gap: 6px; flex-direction: column; }
  .btn { min-height: 54px; padding-inline: 22px; }
  .hero-cta { display: grid; gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .svc-item h3 { font-size: 1.34rem; }
  .svc-item .tag { flex-wrap: wrap; gap: 10px; }
  .svc-item button { padding: 11px 4px 11px 0; min-height: 46px; }
  .book-hours div { padding: 15px 0; }
  .alt-wa a { display: inline-block; padding: 10px 0; min-height: 44px; }
  .cal { gap: 4px; }
  .cal button { aspect-ratio: auto; min-height: 46px; }
  .ag-nav button { width: 46px; height: 46px; }
  .triage-note { display: block; }
  .triage-note a { display: inline-block; padding: 8px 2px; }
  .promo { padding: 24px 24px 26px; }
  .promo .n { font-size: clamp(2.7rem, 15vw, 3.6rem); }
  .brand { padding-block: 4px; }
  .brand-logo { height: 32px; }
  .menu-btn { min-height: 46px; min-width: 46px; }
  .lead, .hero-copy .lead { font-size: 1rem; line-height: 1.62; }
  #servicios, #contexto { padding-top: clamp(56px, 12vw, 76px); }
  .brand span { line-height: 1.15; font-size: 0.6rem; }
  .triage-q { display: grid; }
  .triage-q button { width: 100%; padding: 13px 17px; display: flex; justify-content: space-between; align-items: center; }
  .triage-q button::after { content: "→"; color: var(--green); font-size: 0.95rem; }
  .wa { right: 12px; bottom: 12px; }
  .hero-grid { align-items: start; }
  .triage { margin-top: 8px; }
  .hero-facts { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  h1 .ln, h2 .ln { display: inline; }
  .hero h1 { font-size: clamp(2.35rem, 11vw, 3.1rem); }
  .foot { grid-template-columns: 1fr; }
  .lead { font-size: 1.02rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .marquee-in { animation: none; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}




/* objetivos táctiles: links de texto en pie y etiquetas mono */
.foot li a, a.mono, .alt-wa a, .triage-note a, .rating small { display: inline-block; }
.foot li a { padding: 11px 3px; }
a.mono { padding: 11px 3px; }
@media (max-width: 720px) {
  .foot li a { padding: 12px 0; }
  a.mono { padding: 12px 4px; }
}
.foot-bot a { display: inline-block; padding: 12px 4px; }

/* retratos del equipo (recuperados de sus historias, texto de IG limpiado) */
.team-card .marca { display: flex; flex-direction: column; justify-content: flex-end; min-height: 132px; }
.team-card .marca.con-foto { padding: 0 24px 24px; min-height: 286px; }
.team-card .marca img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: brightness(1.08) contrast(1.04) saturate(1.02); }
.team-card .marca:nth-child(1) img { filter: brightness(1.12) contrast(1.05); }
.team-card .marca .veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,36,51,.95) 5%, rgba(6,36,51,.52) 42%, rgba(6,36,51,0) 74%); }
.team-card .marca .mb-nom { text-wrap: balance; text-shadow: 0 2px 12px rgba(4,26,38,.75); }
.team-card .marca .mb-rol { text-shadow: 0 1px 8px rgba(4,26,38,.8); }
.team-card .marca .mb-rol { margin-top: 7px; }
@media (prefers-reduced-motion: no-preference) {
  .team-card .marca img { transition: transform .8s var(--ease); }
  .team-card:hover .marca img { transform: scale(1.03); }
}
