/* ==========================================================================
   Dr. Phone — styles.css
   Archetype: Glassmorphism Modern (paleta adaptada a tono clínico/tech)
   ========================================================================== */

:root {
  --bg: #eef3f8;
  --bg-2: #e4edf6;
  --paper: #ffffff;
  --glass: rgba(255, 255, 255, 0.6);
  --glass-2: rgba(255, 255, 255, 0.35);
  --glass-border: rgba(255, 255, 255, 0.7);
  --ink: #0f1a24;
  --ink-soft: #3c4b58;
  --ink-mute: #6b7a87;
  --accent: #0a84ff;
  --accent-2: #14c9a8;
  --accent-ink: #ffffff;
  --line: rgba(15, 26, 36, 0.1);
  --success: #14c9a8;
  --shadow-soft: 0 20px 60px rgba(15, 26, 36, 0.1);
  --shadow-card: 0 10px 30px rgba(15, 26, 36, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --nav-h: 76px;
}

[data-theme="dark"] {
  --bg: #0b1218;
  --bg-2: #0f1a22;
  --paper: #101b24;
  --glass: rgba(20, 30, 40, 0.55);
  --glass-2: rgba(20, 30, 40, 0.35);
  --glass-border: rgba(255, 255, 255, 0.12);
  --ink: #eef3f8;
  --ink-soft: #c4d0da;
  --ink-mute: #8b99a6;
  --line: rgba(238, 243, 248, 0.12);
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1218;
    --bg-2: #0f1a22;
    --paper: #101b24;
    --glass: rgba(20, 30, 40, 0.55);
    --glass-2: rgba(20, 30, 40, 0.35);
    --glass-border: rgba(255, 255, 255, 0.12);
    --ink: #eef3f8;
    --ink-soft: #c4d0da;
    --ink-mute: #8b99a6;
    --line: rgba(238, 243, 248, 0.12);
    --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.45);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, h4 {
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 0.5em;
  color: var(--ink);
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
section { position: relative; padding: 96px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); text-wrap: balance; }
.section-head p { font-size: 1.05rem; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 30px rgba(10, 132, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(10, 132, 255, 0.4); }
.btn-ghost {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-color: var(--glass-border);
  color: var(--ink);
}
.btn-ghost:hover { transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: env(safe-area-inset-top, 0px); left: 0; right: 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.nav.is-scrolled {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 8px 30px rgba(15, 26, 36, 0.08);
  border-bottom: 1px solid var(--glass-border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; }
.brand-logo { height: 30px; width: auto; display: block; }
footer .brand-logo { height: 26px; }
[data-theme="dark"] .brand-logo { filter: invert(1); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-logo { filter: invert(1); }
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--accent); transition: right 0.25s ease;
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-burger { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
    background: var(--glass); border: 1px solid var(--glass-border);
  }
  .nav-actions .btn-ghost.hide-mobile { display: none; }
}

.mobile-menu {
  position: fixed; inset: var(--nav-h) 16px auto 16px; z-index: 59;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 12px;
  display: grid; gap: 4px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a { display: block; padding: 12px 14px; border-radius: var(--radius-sm); font-weight: 600; }
.mobile-menu a:hover { background: var(--bg-2); }

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 64px;
  position: relative;
  overflow: clip;
}
.hero-photo-bg {
  position: absolute; inset: 0; z-index: -2; overflow: hidden;
}
.hero-photo-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  filter: saturate(1.05);
}
.hero-photo-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, var(--bg) 0%, rgba(238,243,248,0.88) 32%, rgba(238,243,248,0.55) 55%, rgba(238,243,248,0.35) 100%);
}
[data-theme="dark"] .hero-photo-bg::after {
  background: linear-gradient(100deg, var(--bg) 0%, rgba(11,18,24,0.88) 32%, rgba(11,18,24,0.6) 55%, rgba(11,18,24,0.4) 100%);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero-photo-bg::after {
    background: linear-gradient(100deg, var(--bg) 0%, rgba(11,18,24,0.88) 32%, rgba(11,18,24,0.6) 55%, rgba(11,18,24,0.4) 100%);
  }
}
.hero-mesh {
  position: absolute; inset: -10% -10% -10% -10%; z-index: -1;
  background:
    radial-gradient(at 15% 20%, rgba(10, 132, 255, 0.28) 0%, transparent 55%),
    radial-gradient(at 85% 15%, rgba(20, 201, 168, 0.25) 0%, transparent 55%),
    radial-gradient(at 50% 90%, rgba(10, 132, 255, 0.18) 0%, transparent 55%);
  filter: blur(60px) saturate(150%);
  animation: meshDrift 26s ease-in-out infinite;
  mix-blend-mode: multiply;
}
@keyframes meshDrift {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.15) rotate(8deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mesh { animation: none; }
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  padding: 8px 16px; border-radius: 999px; font-size: 0.82rem; font-weight: 700;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); max-width: 14ch; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: 1.1rem; max-width: 46ch; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-promo-line {
  display: inline-block; max-width: 100%;
  font-size: 0.88rem; font-weight: 600; line-height: 1.5; color: var(--ink);
  background: var(--glass); border: 1px solid rgba(20,201,168,0.35);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  padding: 10px 16px; border-radius: 14px; margin: -8px 0 20px;
}
.hero-promo-line strong { color: var(--accent-2); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.85rem; color: var(--ink); font-weight: 600; }
.hero-trust span {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  padding: 7px 13px; border-radius: 999px;
}

.hero-visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.hero-product-img {
  width: 58%; max-width: 250px; height: auto;
  filter: drop-shadow(0 30px 40px rgba(15, 26, 36, 0.28));
  animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@media (prefers-reduced-motion: reduce) { .hero-product-img { animation: none; } }
.phone-glow {
  position: absolute; inset: -20% -20% -20% -20%; z-index: -1;
  background: radial-gradient(circle, rgba(10,132,255,0.35), transparent 65%);
  filter: blur(30px);
}
.phone-chip {
  position: absolute; padding: 10px 16px; border-radius: 14px;
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: var(--shadow-card);
  font-size: 0.82rem; font-weight: 700; display: flex; align-items: center; gap: 8px;
  color: var(--ink); font-family: inherit; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.phone-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.phone-chip.chip-1 { top: 6%; left: -8%; }
.phone-chip.chip-2 { bottom: 10%; right: -10%; }
.phone-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); }
@media (max-width: 480px) {
  .phone-chip.chip-1 { left: 0; }
  .phone-chip.chip-2 { right: 0; }
}

/* ---------- Glass cards / general ---------- */
.glass-card {
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
@supports (backdrop-filter: blur(20px)) {
  .glass-card { background: var(--glass); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); }
}

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

/* ---------- Categorías / Servicios ---------- */
.cat-grid, .service-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px;
}
.cat-card, .service-card {
  padding: 26px 22px; text-align: left; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex; flex-direction: column; gap: 10px; height: 100%;
}
.cat-card { cursor: pointer; align-items: flex-start; }
.cat-card:hover, .service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: rgba(10,132,255,0.35); }
.cat-card.is-selected { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(10,132,255,0.18), var(--shadow-soft); }
.cat-icon {
  width: 52px; height: 52px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(10,132,255,0.15), rgba(20,201,168,0.15));
  display: grid; place-items: center; color: var(--accent);
}
.cat-card h3, .service-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.cat-card p, .service-card p { font-size: 0.88rem; margin: 0; }
.service-price {
  margin-top: auto; font-weight: 800; color: var(--accent);
  font-size: 1.05rem;
}

/* ---------- Cotizador ---------- */
.quoter {
  border-radius: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 36px;
  overflow: hidden;
}
@media (max-width: 640px) { .quoter { padding: 22px; } }
.quoter-steps { display: flex; gap: 8px; margin-bottom: 28px; }
.quoter-steps .step-dot {
  flex: 1; height: 4px; border-radius: 4px; background: var(--line);
  transition: background 0.3s ease;
}
.quoter-steps .step-dot.is-active { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.quoter-panel { display: none; }
.quoter-panel.is-active { display: block; animation: fadeIn 0.35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.quoter-panel h3 { font-size: 1.3rem; margin-bottom: 6px; }
.quoter-panel .muted { color: var(--ink-mute); font-size: 0.92rem; margin-bottom: 22px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 8px; }
.field select, .field textarea, .field input[type="text"] {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--bg-2); color: var(--ink);
  font-family: inherit; font-size: 0.95rem;
}
.field select:focus, .field textarea:focus, .field input:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(10,132,255,0.15);
}
.field textarea { min-height: 96px; resize: vertical; }

.sede-toggle { display: flex; gap: 10px; flex-wrap: wrap; }
.sede-toggle label {
  flex: 1; min-width: 160px; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); font-weight: 600; font-size: 0.9rem;
  display: flex; align-items: center; gap: 8px; cursor: pointer;
}
.sede-toggle input { accent-color: var(--accent); }
.sede-toggle label:has(input:checked) { border-color: var(--accent); background: rgba(10,132,255,0.06); }

.tier-grid { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.tier-card {
  flex: 1; min-width: 220px; text-align: left; padding: 18px 18px 16px;
  border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg-2);
  cursor: pointer; display: flex; flex-direction: column; gap: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  font-family: inherit;
}
.tier-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: rgba(10,132,255,0.35); }
.tier-card.is-recommended { border-color: var(--accent); background: rgba(10,132,255,0.06); }
.tier-badge { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-mute); }
.tier-card.is-recommended .tier-badge { color: var(--accent); }
.tier-name { font-size: 1rem; }
.tier-price { font-size: 1.4rem; font-weight: 800; color: var(--accent); }
.tier-card p { font-size: 0.82rem; color: var(--ink-mute); margin: 0; }

.quote-summary {
  background: linear-gradient(135deg, rgba(10,132,255,0.08), rgba(20,201,168,0.08));
  border: 1px solid rgba(10,132,255,0.2);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 22px;
}
.quote-summary-row { display: flex; justify-content: space-between; font-size: 0.92rem; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.quote-summary-row:last-child { border-bottom: none; }
.quote-summary-row .val { font-weight: 700; }
.quote-price { font-size: 1.8rem; font-weight: 800; color: var(--accent); margin: 6px 0 0; }

.quoter-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

.quoter-fallback {
  margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line);
}
.quoter-fallback h4 { font-size: 1rem; margin-bottom: 4px; }
.quoter-fallback .muted { color: var(--ink-mute); font-size: 0.88rem; margin-bottom: 14px; }

/* ---------- Celulares ---------- */
.phone-photo {
  border-radius: var(--radius); overflow: hidden; margin-bottom: 24px;
  box-shadow: var(--shadow-soft); max-height: 480px; display: flex; justify-content: center;
  background: var(--bg-2);
}
.phone-photo img { width: auto; height: auto; max-width: 100%; max-height: 480px; object-fit: contain; display: block; }

.phone-catalog-banner {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 24px 28px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(10,132,255,0.1), rgba(20,201,168,0.1));
  border: 1px solid rgba(10,132,255,0.18);
  margin-bottom: 34px;
}
.phone-catalog-banner strong { display: block; font-size: 1.05rem; }
.phone-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.phone-card {
  border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow-card); overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.phone-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.phone-card { position: relative; }
.phone-card.is-new {
  border: 1px solid rgba(255, 106, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.12), var(--shadow-soft);
}
.phone-card-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: linear-gradient(135deg, #ff8a3d, #ff6a00); color: #fff;
  font-size: 0.72rem; font-weight: 800; padding: 6px 12px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(255, 106, 0, 0.4);
}
.phone-card-media {
  aspect-ratio: 4/3; display: grid; place-items: center;
  background: linear-gradient(160deg, #f4f6f8, #e9edf1);
  overflow: hidden;
}
.phone-card-media .mini-phone {
  width: 64px; height: 116px; border-radius: 16px;
  background: linear-gradient(160deg, rgba(10,132,255,0.7), rgba(20,201,168,0.65));
  border: 3px solid rgba(255,255,255,0.4);
}
.phone-card-media img {
  width: 100%; height: 100%; object-fit: contain; padding: 20px;
}
.phone-card-body {
  padding: 20px 22px 22px; display: flex; flex-direction: column; align-items: center;
  gap: 4px; flex: 1; text-align: center;
}
.phone-card-body .estado {
  font-size: 0.74rem; font-weight: 700; color: var(--ink-mute);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.phone-card-body h3 { font-size: 1.15rem; margin: 2px 0 6px; }
.price-block { display: flex; flex-direction: column; align-items: center; gap: 0; margin-bottom: 16px; }
.price-label { font-size: 0.78rem; font-weight: 600; color: var(--ink-mute); }
.price-block .price { font-size: 1.6rem; font-weight: 800; color: var(--accent); line-height: 1.3; }
.price-block .price-old { font-size: 0.88rem; color: var(--ink-mute); text-decoration: line-through; }
.btn-cta {
  background: linear-gradient(135deg, #ff8a3d, #ff6a00);
  color: #fff; box-shadow: 0 10px 26px rgba(255, 106, 0, 0.35);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 106, 0, 0.4); }

/* ---------- Nosotros / equipo / equipamiento ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-points { display: grid; gap: 16px; margin-top: 20px; }
.about-point { display: flex; gap: 14px; align-items: flex-start; }
.about-point .ico { width: 36px; height: 36px; border-radius: 10px; background: rgba(20,201,168,0.15); color: var(--accent-2); display: grid; place-items: center; flex-shrink: 0; }
.about-point strong { display: block; }
.about-point p { margin: 2px 0 0; font-size: 0.9rem; }

.people-photo {
  border-radius: var(--radius); overflow: hidden; margin-bottom: 32px;
  box-shadow: var(--shadow-soft); max-height: 480px; display: flex; justify-content: center;
  background: var(--bg-2);
}
.people-photo img { width: auto; height: auto; max-width: 100%; max-height: 480px; object-fit: contain; display: block; }

.about-photo {
  border-radius: var(--radius); overflow: hidden; margin-bottom: 24px;
  box-shadow: var(--shadow-card); aspect-ratio: 4/3;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

.people-grid, .equip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.people-card, .equip-card {
  padding: 26px; border-radius: var(--radius); background: var(--paper);
  border: 1px solid var(--line); box-shadow: var(--shadow-card);
}
.avatar-ring {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center; color: #fff; font-weight: 800; margin-bottom: 14px;
}
.equip-card .ico { width: 48px; height: 48px; border-radius: 14px; background: rgba(10,132,255,0.12); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }

/* ---------- Sedes ---------- */
.sedes-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: stretch; }
@media (max-width: 860px) { .sedes-grid { grid-template-columns: 1fr; } }
.sede-card {
  border-radius: var(--radius); padding: 32px; border: 1px solid var(--line);
  background: var(--paper); box-shadow: var(--shadow-card); display: flex; flex-direction: column;
}
.sede-card.is-featured {
  background: linear-gradient(150deg, rgba(10,132,255,0.08), rgba(20,201,168,0.1));
  border: 1px solid rgba(10,132,255,0.35);
  box-shadow: var(--shadow-soft);
  position: relative;
}
.sede-card.is-featured::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.sede-badge {
  display: inline-flex; align-self: flex-start; gap: 6px; align-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
  padding: 6px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; margin-bottom: 14px;
}
.sede-card h3 { font-size: 1.3rem; }
.sede-line { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 0.92rem; color: var(--ink-soft); }
.sede-line .ico { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.sede-promo {
  margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.6); border: 1px dashed rgba(10,132,255,0.4);
  font-size: 0.88rem; font-weight: 600;
}
.sede-card .btn { margin-top: 18px; align-self: flex-start; }

/* ---------- Testimonios ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.testi-card { padding: 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.testi-stars { color: var(--accent-2); font-size: 0.9rem; margin-bottom: 10px; }
.testi-card p { font-size: 0.94rem; font-style: italic; }
.testi-who { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.testi-who .avatar-ring { width: 40px; height: 40px; font-size: 0.8rem; margin: 0; }
.testi-who strong { font-size: 0.9rem; }

/* ---------- CTA final ---------- */
.final-cta {
  border-radius: 32px; padding: 56px; text-align: center;
  background: linear-gradient(135deg, #0a84ff, #14c9a8);
  color: #fff;
}
.final-cta h2 { color: #fff; }
.final-cta p { color: rgba(255,255,255,0.9); max-width: 50ch; margin-inline: auto; }
.final-cta .btn-ghost { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4); color: #fff; }

/* ---------- Footer ---------- */
footer { padding: 64px 0 32px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-size: 0.95rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a, .footer-grid p { font-size: 0.9rem; color: var(--ink-mute); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; color: var(--ink-mute); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 70;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
  transition: transform 0.25s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px;
  font-size: 0.88rem; font-weight: 600; opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease; z-index: 80;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
  background: var(--paper); color: var(--ink);
  padding: 12px 18px; border-radius: var(--radius-sm);
  z-index: 100;
}
.visually-hidden:focus {
  left: 16px; top: 16px; width: auto; height: auto; overflow: visible;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge-soft {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border-radius: 999px; background: rgba(10,132,255,0.1); color: var(--accent);
  font-size: 0.78rem; font-weight: 700;
}
