/* Kinetia Fisioterapia Avanzada */
:root {
  --bg: #0b0d0c;
  --bg-2: #111412;
  --surface: #161a18;
  --surface-2: #1d221f;
  --surface-3: #252b27;
  --line: rgba(237, 239, 232, 0.1);
  --line-strong: rgba(237, 239, 232, 0.2);
  --text: #edefe8;
  --muted: #a6ada7;
  --dim: #737b75;
  --accent: #c9f23c;
  --accent-soft: rgba(201, 242, 60, 0.12);
  --accent-ink: #0b0d0c;
  --bone: #e9e6dc;
  --bone-ink: #151816;
  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }

/* Typography */
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.04; font-weight: 800; letter-spacing: -0.01em; }
.display, h1 {
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  font-size: clamp(2.3rem, 5.6vw, 5.1rem);
  letter-spacing: -0.02em;
  line-height: 0.98;
}
h2 {
  font-stretch: 118%;
  font-variation-settings: "wdth" 118;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 3.4vw, 2.9rem);
  letter-spacing: -0.015em;
}
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.2; font-weight: 700; letter-spacing: 0; }
h4 { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.accent { color: var(--accent); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: var(--muted); max-width: 62ch; line-height: 1.55; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.eyebrow {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.mono { font-family: var(--mono); letter-spacing: 0.02em; }
.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  color: var(--muted);
}
.tag-accent { border-color: var(--accent); color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em;
  text-transform: uppercase; text-decoration: none;
  padding: 15px 24px; border-radius: 100px; border: 1px solid transparent; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #dbff5c; color: var(--accent-ink); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 10px 16px; font-size: 0.8rem; }
.btn .arr { transition: transform 0.2s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 700; text-decoration: none; color: var(--accent); font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.04em; }
.link-arrow::after { content: " →"; }

/* Top bar & header */
.topbar { background: var(--bg-2); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 0.74rem; color: var(--muted); letter-spacing: 0.04em; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { text-decoration: none; }
.topbar-sedes { display: flex; gap: 22px; }
.topbar-links { display: flex; gap: 18px; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 13, 12, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: block; flex-shrink: 0; }
.brand img { width: 168px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; font-size: 0.86rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 9px 11px; border-radius: 8px; color: var(--muted); white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav .btn { margin-left: 10px; color: var(--accent-ink); padding: 11px 18px; }
.nav .btn:hover { color: var(--accent-ink); }
.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--line-strong); color: var(--text);
  width: 46px; height: 46px; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform 0.2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
    max-height: calc(100vh - 76px); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 15px 2px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--accent); }
  .nav .btn { margin: 18px 0 0; border-bottom: 0; padding: 16px; }
}
@media (max-width: 760px) {
  .topbar-sedes span.hide-sm, .topbar-links { display: none; }
  .brand img { width: 144px; }
}

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-bone { background: var(--bone); color: var(--bone-ink); }
.section-bone .lead, .section-bone .muted { color: #4b524d; }
.section-bone .eyebrow { color: #4d6a00; }
.section-bone .card { background: #f4f2ea; border-color: rgba(21, 24, 22, 0.1); }
.section-bone .card p { color: #4b524d; }
.section-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin: 0; }
.section-head .lead { margin: 0; }
.section-head-single { display: block; max-width: 820px; }
.section-head-single .lead { margin-top: 18px; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; } }

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-wide { grid-template-columns: 1.15fr 0.85fr; }
.split-top { align-items: start; }
@media (max-width: 900px) { .split, .split-wide { grid-template-columns: 1fr; } }

/* Cards */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 32px); position: relative;
}
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card h3 { margin-bottom: 10px; }
.card-link { text-decoration: none; display: flex; flex-direction: column; transition: border-color 0.2s, transform 0.2s, background 0.2s; }
.card-link:hover { border-color: rgba(201, 242, 60, 0.5); color: inherit; transform: translateY(-2px); background: var(--surface-2); }
.card-link .link-arrow { margin-top: auto; padding-top: 14px; }
.card-num { font-family: var(--mono); font-size: 0.78rem; color: var(--dim); letter-spacing: 0.1em; margin-bottom: 22px; display: block; }
.card-media { margin: calc(clamp(22px, 2.6vw, 32px) * -1) calc(clamp(22px, 2.6vw, 32px) * -1) 22px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }

/* Photo containers (stay elegant when the image is missing) */
.ph {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(201, 242, 60, 0.07), transparent 45%),
    repeating-linear-gradient(90deg, rgba(237, 239, 232, 0.035) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(237, 239, 232, 0.035) 0 1px, transparent 1px 48px),
    linear-gradient(160deg, #1f2522, #121614);
  aspect-ratio: var(--ar, 3 / 2);
}
.ph::after {
  content: attr(data-label); position: absolute; left: 16px; bottom: 14px; z-index: 0;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(237, 239, 232, 0.28);
}
.ph img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; color: transparent; font-size: 0; }
.ph img.is-missing { visibility: hidden; }
.ph-flat { border-radius: 0; }
.card-media .ph { border-radius: 0; }
.ph-frame { box-shadow: var(--shadow); }

/* Hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(201, 242, 60, 0.09), transparent 60%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 32px; }
.hero-media { position: relative; }
.hero-badge {
  position: absolute; left: -24px; bottom: 32px; z-index: 2; background: var(--accent); color: var(--accent-ink);
  padding: 16px 20px; border-radius: 12px; font-weight: 700; line-height: 1.2; max-width: 220px; box-shadow: var(--shadow);
}
.hero-badge strong { display: block; font-size: 2rem; font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-badge { left: 12px; bottom: 12px; }
}

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 72px); }
.stat { padding: 24px 20px 4px 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
.stat-num { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; font-stretch: 125%; font-variation-settings: "wdth" 125; line-height: 1; display: block; margin-bottom: 8px; }
.stat-label { font-family: var(--mono); font-size: 0.74rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Inner page hero */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -10%; top: -40%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(201, 242, 60, 0.07), transparent 62%); pointer-events: none;
}
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 4.3rem); max-width: 18ch; }
.page-hero .lead { margin-top: 8px; }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: end; position: relative; z-index: 1; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } }
.crumbs { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--dim); margin-bottom: 28px; position: relative; z-index: 1; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--dim); }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--accent); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact { background: var(--surface); padding: 18px 20px; }
.fact dt { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.fact dd { margin: 0; font-weight: 700; font-size: 1.05rem; }

/* Method steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 1px solid var(--line-strong); }
.step { padding: 28px 24px 8px 0; position: relative; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line); }
.step-n { font-family: var(--mono); color: var(--accent); font-size: 0.8rem; letter-spacing: 0.1em; display: block; margin-bottom: 40px; }
.step h3 { font-stretch: 118%; font-variation-settings: "wdth" 118; text-transform: uppercase; font-size: 1.4rem; }
.step p { color: var(--muted); font-size: 0.96rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .step-n { margin-bottom: 18px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* Lists */
.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { padding: 10px 0 10px 30px; border-bottom: 1px solid var(--line); position: relative; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1em; }
.chips li { border: 1px solid var(--line-strong); border-radius: 100px; padding: 7px 14px; font-size: 0.9rem; color: var(--muted); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); background: var(--bg-2); }
tr:last-child td { border-bottom: 0; }
td.price { font-weight: 800; white-space: nowrap; text-align: right; font-size: 1.1rem; }
th.price { text-align: right; }
td small { display: block; color: var(--muted); margin-top: 3px; font-size: 0.86rem; }
@media (max-width: 640px) { th, td { padding: 13px 14px; } }

/* Pricing highlight */
.price-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--accent); background: linear-gradient(180deg, rgba(201, 242, 60, 0.08), var(--surface) 55%); }
.price-card .amount { font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 800; font-stretch: 125%; font-variation-settings: "wdth" 125; line-height: 1; margin: 14px 0 6px; }
.price-card .amount span { font-size: 0.4em; font-weight: 600; color: var(--muted); margin-left: 4px; }
.price-card p { color: var(--muted); }
.price-card .btn { margin-top: auto; }
@media (max-width: 900px) { .price-cards { grid-template-columns: 1fr; } }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
.member { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.member .ph { border-radius: 0; }
.member-body { padding: 24px; }
.member-role { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; display: block; }
.member h3 { font-size: 1.3rem; margin-bottom: 6px; }
.member p { color: var(--muted); font-size: 0.95rem; }
.member-meta { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); }
.member-meta li { padding: 3px 0; }
.member-meta b { color: var(--text); font-weight: 600; }
@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .team-grid { grid-template-columns: 1fr; } }
.team-mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.team-mini .member-body { padding: 18px; }
.team-mini h3 { font-size: 1.05rem; }
@media (max-width: 900px) { .team-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line-strong); }
.timeline li { padding: 0 0 36px 32px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.timeline .year { font-family: var(--mono); color: var(--accent); font-size: 0.85rem; letter-spacing: 0.08em; display: block; margin-bottom: 6px; }
.timeline h3 { margin-bottom: 6px; }
.timeline p { color: var(--muted); margin: 0; }

/* Reviews */
.rating-summary { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.rating-big { font-size: clamp(4rem, 9vw, 7rem); font-weight: 800; font-stretch: 125%; font-variation-settings: "wdth" 125; line-height: 0.9; }
.stars { color: var(--accent); letter-spacing: 3px; font-size: 1rem; }
.stars .off { color: var(--surface-3); }
.bars { display: grid; gap: 8px; max-width: 460px; }
.bar { display: grid; grid-template-columns: 70px 1fr 48px; gap: 12px; align-items: center; font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }
.bar-track { height: 6px; background: var(--surface-3); border-radius: 6px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--accent); }
@media (max-width: 680px) { .rating-summary { grid-template-columns: 1fr; gap: 20px; } }
.reviews { columns: 3 320px; column-gap: 20px; }
.review { break-inside: avoid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.review p { color: var(--text); font-size: 0.98rem; }
.review-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.review-meta { font-size: 0.86rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.review-meta b { color: var(--text); font-weight: 600; }
.review-reply { margin-top: 14px; padding: 14px 16px; background: var(--bg-2); border-left: 2px solid var(--accent); border-radius: 0 8px 8px 0; font-size: 0.9rem; color: var(--muted); }
.review-reply b { color: var(--text); display: block; font-size: 0.78rem; font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-bar button { font: inherit; font-size: 0.85rem; font-weight: 600; background: transparent; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 100px; padding: 8px 16px; cursor: pointer; }
.filter-bar button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* Clubs */
.club { display: flex; flex-direction: column; }
.club-crest {
  width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  border: 1px solid var(--line-strong); background: var(--bg-2);
  font-weight: 800; font-stretch: 125%; font-variation-settings: "wdth" 125; font-size: 1.1rem; color: var(--accent);
}
.club-strip { display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.club-strip span { font-weight: 800; font-stretch: 118%; font-variation-settings: "wdth" 118; text-transform: uppercase; color: var(--dim); font-size: 0.95rem; letter-spacing: 0.02em; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-weight: 700; font-size: 1.08rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.6rem; font-weight: 400; color: var(--accent); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 24px; color: var(--muted); max-width: 72ch; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: 18px; }

/* Blog */
.post-card { text-decoration: none; display: flex; flex-direction: column; }
.post-card .ph { margin-bottom: 18px; transition: opacity 0.2s; }
.post-card:hover { color: inherit; }
.post-card:hover h3 { color: var(--accent); }
.post-meta { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.post-card p { color: var(--muted); font-size: 0.95rem; }
.featured-post { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; text-decoration: none; }
.featured-post:hover { color: inherit; }
.featured-post:hover h2 { color: var(--accent); }
@media (max-width: 900px) { .featured-post { grid-template-columns: 1fr; gap: 24px; } }

/* Prose */
.prose { font-size: 1.06rem; line-height: 1.75; color: #d6d9d2; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.95rem); margin: 2.2em 0 0.7em; color: var(--text); }
.prose h3 { margin: 1.8em 0 0.6em; color: var(--text); }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font-size: 1.2rem; color: var(--text); font-weight: 500; }
.prose blockquote p:last-child { margin: 0; }
.prose table { margin: 1.5em 0; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.article-aside { position: sticky; top: 100px; display: grid; gap: 20px; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; } }
.author-box { display: flex; gap: 16px; align-items: center; }
.author-box .ph { width: 64px; height: 64px; flex-shrink: 0; border-radius: 50%; aspect-ratio: 1; }
.author-box .ph::after { display: none; }
.author-box b { display: block; }
.author-box span { color: var(--muted); font-size: 0.88rem; }

/* Service page */
.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.service-aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.aside-card h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 14px; }
.aside-card dl { margin: 0; }
.aside-card dt { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-top: 14px; }
.aside-card dt:first-child { margin-top: 0; }
.aside-card dd { margin: 4px 0 0; font-weight: 600; }
.aside-card .btn { width: 100%; margin-top: 20px; }
@media (max-width: 1000px) { .service-layout { grid-template-columns: 1fr; } .service-aside { position: static; } }

/* Tech blocks */
.tech-item { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.tech-item:nth-child(even) .ph { order: 2; }
.tech-item h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-stretch: 118%; font-variation-settings: "wdth" 118; text-transform: uppercase; }
.tech-item p { color: var(--muted); }
.spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: 10px; overflow: hidden; margin-top: 20px; }
.spec div { background: var(--surface); padding: 14px 16px; }
.spec dt { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.spec dd { margin: 4px 0 0; font-weight: 700; font-size: 0.95rem; }
@media (max-width: 900px) { .tech-item { grid-template-columns: 1fr; } .tech-item:nth-child(even) .ph { order: 0; } }
@media (max-width: 560px) { .spec { grid-template-columns: 1fr; } }

/* Report mock */
.report { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 28px; font-family: var(--mono); font-size: 0.85rem; }
.report-head { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 18px; color: var(--muted); flex-wrap: wrap; }
.metric { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin-bottom: 16px; }
.metric span { color: var(--muted); }
.metric b { color: var(--text); font-weight: 500; }
.metric .bar-track { grid-column: 1 / -1; }
.metric .bar-fill.warn { background: #f2b33c; }

/* CTA band */
.cta-band { background: var(--accent); color: var(--accent-ink); border-radius: 22px; padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { margin: 0 0 10px; }
.cta-band p { margin: 0; font-size: 1.1rem; color: #26300a; max-width: 56ch; }
.cta-band .btn-dark { background: var(--accent-ink); color: var(--accent); }
.cta-band .btn-dark:hover { background: #1d221f; color: #dbff5c; }
.cta-band .btn-outline-dark { border-color: rgba(11, 13, 12, 0.35); color: var(--accent-ink); }
.cta-band .btn-outline-dark:hover { border-color: var(--accent-ink); color: var(--accent-ink); }
.cta-band .tel { font-weight: 800; font-size: 1.3rem; text-decoration: none; display: block; margin-top: 14px; }
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; } }

/* Sedes */
.sede-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.sede-card .ph { border-radius: 0; }
.sede-body { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.sede-body h3 { font-size: 1.6rem; font-stretch: 118%; font-variation-settings: "wdth" 118; text-transform: uppercase; margin: 0; }
.sede-body address { font-style: normal; color: var(--muted); }
.hours { width: 100%; font-size: 0.92rem; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-family: var(--mono); font-size: 0.85rem; white-space: nowrap; padding-left: 12px; }
.map-box {
  aspect-ratio: 4 / 3; border-radius: var(--radius); border: 1px solid var(--line); position: relative; overflow: hidden;
  background:
    linear-gradient(28deg, transparent 47%, rgba(237, 239, 232, 0.08) 47.5% 48.5%, transparent 49%),
    linear-gradient(-62deg, transparent 30%, rgba(237, 239, 232, 0.07) 30.5% 31.8%, transparent 32.3%),
    linear-gradient(95deg, transparent 63%, rgba(237, 239, 232, 0.06) 63.4% 64.6%, transparent 65%),
    repeating-linear-gradient(90deg, rgba(237, 239, 232, 0.03) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(0deg, rgba(237, 239, 232, 0.03) 0 1px, transparent 1px 36px),
    #141816;
}
.map-pin { position: absolute; left: 52%; top: 46%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.map-pin i { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 8px rgba(201, 242, 60, 0.18), 0 0 0 18px rgba(201, 242, 60, 0.07); }
.map-pin span { background: var(--bg); border: 1px solid var(--line-strong); padding: 6px 10px; border-radius: 8px; font-family: var(--mono); font-size: 0.72rem; white-space: nowrap; }

/* Forms */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label, .legend { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg-2);
  border: 1px solid var(--line-strong); border-radius: 10px; padding: 14px 16px; transition: border-color 0.2s, background 0.2s;
  color-scheme: dark;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }
.check input { margin-top: 4px; accent-color: var(--accent); width: 18px; height: 18px; flex-shrink: 0; }
.form-note { font-size: 0.84rem; color: var(--dim); }
.form-success {
  display: none; border: 1px solid var(--accent); background: var(--accent-soft); border-radius: var(--radius); padding: 24px;
}
.form-success.is-visible { display: block; }
.form-success h3 { color: var(--accent); }
.form-success p { color: var(--text); margin: 0 0 8px; }
.form-success p:last-child { margin: 0; }
.footer .form-success { padding: 14px 16px; font-size: 0.9rem; }

/* Booking */
.booking { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 22px; padding: clamp(22px, 4vw, 44px); }
.booking-steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 32px; counter-reset: bk; flex-wrap: wrap; }
.booking-steps li { flex: 1 1 120px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); padding-top: 12px; border-top: 2px solid var(--surface-3); }
.booking-steps li.is-active, .booking-steps li.is-done { color: var(--text); border-color: var(--accent); }
.bk-panel { display: none; }
.bk-panel.is-active { display: grid; gap: 22px; }
.bk-panel > h3 { font-size: 1.4rem; margin: 0; }
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .options { grid-template-columns: 1fr; } }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; }
.option label { display: block; height: 100%; border: 1px solid var(--line-strong); border-radius: 12px; padding: 18px 20px; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.option label b { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.option label span { color: var(--muted); font-size: 0.88rem; }
.option input:checked + label { border-color: var(--accent); background: var(--accent-soft); }
.option input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.slots button { font: inherit; font-family: var(--mono); font-size: 0.9rem; padding: 12px 6px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--text); cursor: pointer; }
.slots button:hover { border-color: var(--accent); }
.slots button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }
.slots button:disabled { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; }
.slots-empty { color: var(--muted); font-size: 0.95rem; grid-column: 1 / -1; }
.bk-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 8px; }
.bk-error { color: #f2b33c; font-size: 0.9rem; min-height: 1.2em; margin: 0; }
.bk-summary { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.bk-summary li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.bk-summary li:last-child { border-bottom: 0; }
.bk-summary span { color: var(--muted); }
.bk-summary b { text-align: right; }

/* Notice */
.notice { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 20px 24px; background: var(--bg-2); font-size: 0.95rem; color: var(--muted); }
.notice b { color: var(--text); }

/* Footer */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 32px; margin-top: 0; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 40px; }
.footer h4 { font-family: var(--mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a { text-decoration: none; color: var(--muted); }
.footer a:hover { color: var(--accent); }
.footer address { font-style: normal; color: var(--muted); margin-bottom: 14px; }
.footer address b { color: var(--text); display: block; }
.footer-brand img { width: 176px; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); max-width: 34ch; }
.footer-news form { display: flex; gap: 8px; margin-top: 12px; }
.footer-news input { padding: 12px 14px; font-size: 0.92rem; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--dim); font-size: 0.82rem; }
.footer-bottom ul { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { color: var(--dim); }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } .footer-news { grid-column: span 2; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-news { grid-column: 1 / -1; } .footer-news form { flex-direction: column; } }

/* Utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.divider-label { display: flex; align-items: center; gap: 16px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin: 0 0 24px; }
.divider-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.kpi-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .kpi-row { grid-template-columns: 1fr; } }
.kpi { border-top: 2px solid var(--accent); padding-top: 18px; }
.kpi b { display: block; font-size: 2.4rem; font-weight: 800; font-stretch: 125%; font-variation-settings: "wdth" 125; line-height: 1; margin-bottom: 8px; }
.kpi span { color: var(--muted); }
.legal h2 { font-size: 1.3rem; }
.legal .prose h2 { font-size: 1.25rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Navegación: enlaces solo para el menú móvil */
.nav .nav-extra { display: none; }
@media (max-width: 1180px) { .nav .nav-extra { display: block; } }
[hidden] { display: none !important; }

.form-error { margin: 14px 0 0; font-size: .95em; font-weight: 600; line-height: 1.45; }
