:root {
  --ink: #17333d;
  --muted: #60757b;
  --brand: #0f6f78;
  --brand-dark: #0b5159;
  --aqua: #7dd6d2;
  --mint: #dff7f2;
  --mint-2: #eefaf8;
  --line: #dcebea;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(25, 65, 73, .12);
  --shadow-soft: 0 12px 40px rgba(25, 65, 73, .08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fbfefd;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { display: block; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 92px 0; }
.section-shell { position: relative; overflow: hidden; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 254, 253, .88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220, 235, 234, .75);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  width: 46px; height: 46px; flex: 0 0 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--aqua));
  box-shadow: 0 10px 28px rgba(15, 111, 120, .22);
}
.brand-mark svg { width: 28px; height: 28px; }
.brand-mark path { fill: none; stroke: #fff; stroke-width: 3.7; stroke-linecap: round; stroke-linejoin: round; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.22; }
.brand-copy strong { font-size: 1rem; letter-spacing: -.02em; }
.brand-copy small { color: var(--muted); font-size: .77rem; margin-top: 4px; }
.main-menu { display: flex; align-items: center; gap: 28px; font-size: .94rem; font-weight: 650; color: #39555c; }
.main-menu > a:not(.nav-cta) { position: relative; }
.main-menu > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; border-radius: 999px; background: var(--brand); transition: right .25s ease; }
.main-menu > a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { background: var(--brand); color: #fff; padding: 11px 17px; border-radius: 14px; box-shadow: 0 10px 24px rgba(15, 111, 120, .19); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 9px; }
.menu-toggle span { display: block; width: 100%; height: 2px; background: var(--ink); border-radius: 999px; margin: 6px 0; transition: .25s ease; }

.hero { padding: 78px 0 78px; background: radial-gradient(circle at 12% 18%, rgba(125,214,210,.20), transparent 31%), linear-gradient(180deg, #fbfefd, #f5fbfa); }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 68px; min-height: 650px; position: relative; z-index: 2; }
.hero-copy { max-width: 670px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; color: var(--brand); font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .15em; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 99px; }
.eyebrow.light { color: #ccf3ef; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(3rem, 5.6vw, 5.4rem); line-height: .98; letter-spacing: -.06em; font-weight: 850; }
h1 span { color: var(--brand); }
.hero-lead { max-width: 620px; color: var(--muted); font-size: 1.14rem; line-height: 1.75; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 36px; }
.btn { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 16px; padding: 0 22px; font-weight: 800; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 15px 30px rgba(15, 111, 120, .24); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-secondary { border: 1px solid var(--line); background: rgba(255,255,255,.7); }
.btn-light { background: #fff; color: var(--brand-dark); box-shadow: 0 14px 30px rgba(2, 44, 48, .15); }
.hero-facts { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-facts > div { display: grid; grid-template-columns: 12px auto; column-gap: 10px; align-items: center; min-width: 205px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.68); }
.hero-facts strong { font-size: .94rem; }
.hero-facts small { grid-column: 2; color: var(--muted); font-size: .78rem; }
.fact-icon { color: var(--aqua); font-size: 1.15rem; }
.hero-visual { position: relative; }
.main-figure { position: relative; width: min(100%, 520px); margin-inline: auto; padding: 24px; border-radius: 42px; background: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow); }
.main-figure::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(15,111,120,.10); border-radius: 32px; pointer-events: none; }
.main-figure > svg { width: 100%; height: auto; filter: drop-shadow(0 30px 30px rgba(15,111,120,.08)); }
.focus-chip { position: absolute; padding: 10px 15px; border-radius: 999px; background: rgba(255,255,255,.92); border: 1px solid var(--line); box-shadow: var(--shadow-soft); font-weight: 800; font-size: .82rem; }
.chip-one { left: -20px; top: 19%; }
.chip-two { right: -20px; top: 44%; }
.chip-three { left: 2%; bottom: 10%; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; }
.orb-one { width: 280px; height: 280px; background: #dcf6f2; right: -80px; top: 120px; }
.orb-two { width: 160px; height: 160px; background: #c8eeea; left: -50px; bottom: -35px; }

.section-heading { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-heading h2, .recovery-panel h2, .feature-card h2, .location-card h2, .contact h2 { font-size: clamp(2.2rem, 4vw, 3.65rem); line-height: 1.06; letter-spacing: -.045em; margin-bottom: 18px; }
.section-heading p { color: var(--muted); margin-bottom: 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { min-height: 210px; padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #b9dbd8; }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: var(--mint-2); color: var(--brand); font-size: .79rem; font-weight: 900; letter-spacing: .08em; margin-bottom: 25px; }
.service-card h3 { margin-bottom: 10px; font-size: 1.26rem; letter-spacing: -.025em; }
.service-card p { color: var(--muted); margin-bottom: 0; font-size: .95rem; }
.service-card.featured { background: linear-gradient(145deg, #f7fffd, #e9f9f6); }

.recovery { padding-top: 105px; padding-bottom: 105px; background: var(--brand-dark); color: #fff; overflow: hidden; }
.recovery-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 60px; }
.recovery-panel p { color: #c9e1e2; max-width: 550px; font-size: 1.04rem; margin-bottom: 30px; }
.body-map { min-height: 560px; position: relative; display: grid; place-items: center; border-radius: 34px; background: radial-gradient(circle at center, rgba(125,214,210,.16), transparent 58%), rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.10); }
.body-map svg { height: 510px; max-width: 78%; }
.map-label { position: absolute; z-index: 2; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.95); color: var(--brand-dark); font-size: .78rem; font-weight: 800; box-shadow: 0 10px 25px rgba(0,0,0,.12); }
.label-neck { top: 13%; left: 20%; }
.label-shoulder { top: 25%; right: 13%; }
.label-spine { top: 39%; left: 13%; }
.label-hip { top: 57%; right: 15%; }
.label-knee { top: 72%; left: 20%; }
.label-ankle { bottom: 6%; right: 20%; }

.split-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.feature-card { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; padding: 36px; border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.feature-number { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: linear-gradient(135deg, var(--brand), var(--aqua)); color: #fff; font-weight: 900; font-size: 1.2rem; }
.feature-card h2 { font-size: 2.4rem; margin-bottom: 14px; }
.feature-card p { color: var(--muted); }
.text-link { color: var(--brand); font-weight: 850; }
.text-link span { display: inline-block; margin-left: 5px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.location { padding-top: 20px; }
.location-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 34px 38px; border-radius: var(--radius-xl); background: var(--mint-2); border: 1px solid #cfe9e6; }
.location-icon { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 22px; background: #fff; }
.location-icon svg { width: 36px; height: 36px; }
.location-icon path, .location-icon circle { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linejoin: round; }
.location-card h2 { font-size: 2.5rem; margin-bottom: 8px; }
.location-card p { color: var(--muted); margin-bottom: 0; }

.contact { padding-bottom: 88px; }
.contact-wrap { display: flex; justify-content: space-between; align-items: end; gap: 36px; padding: 52px; border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; box-shadow: var(--shadow); }
.contact-wrap p { color: #cae4e5; margin-bottom: 0; }
.contact-action { display: flex; flex-direction: column; align-items: flex-end; flex: 0 0 auto; }
.contact-action small { color: #bee6e3; font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 800; }
.contact-action a { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 900; letter-spacing: -.04em; }

.site-footer { padding: 26px 0 36px; border-top: 1px solid var(--line); background: #f8fcfb; }
.footer-wrap { display: flex; justify-content: space-between; gap: 26px; color: var(--muted); font-size: .88rem; }
.footer-wrap > div { display: flex; flex-direction: column; }
.footer-wrap strong { color: var(--ink); }
.footer-wrap a { color: var(--brand); font-weight: 750; }

.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 999px; background: #1fa463; color: #fff; font-weight: 850; box-shadow: 0 16px 42px rgba(23, 113, 72, .28); transition: transform .25s ease, box-shadow .25s ease; }
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 20px 46px rgba(23, 113, 72, .35); }
.whatsapp-float svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* El contenido siempre permanece visible. Las animaciones nunca son requisito para renderizar la página. */
.reveal { opacity: 1; transform: none; }

@keyframes softEnter {
  from { opacity: .01; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-copy.reveal,
.hero-visual.reveal { animation: softEnter .7s ease both; }
.hero-visual.reveal { animation-delay: .08s; }

@media (max-width: 980px) {
  .container { width: min(var(--container), calc(100% - 30px)); }
  .menu-toggle { display: block; z-index: 3; }
  .main-menu { position: absolute; top: 82px; left: 15px; right: 15px; display: grid; gap: 6px; padding: 14px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.98); box-shadow: var(--shadow); opacity: 0; transform: translateY(-10px); pointer-events: none; transition: .22s ease; }
  .main-menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .main-menu a { padding: 11px 13px; border-radius: 12px; }
  .nav-cta { text-align: center; }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero { padding-top: 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; min-height: auto; }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 620px; width: 100%; margin-inline: auto; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .recovery-grid { grid-template-columns: 1fr; }
  .recovery-panel { max-width: 700px; }
  .body-map { min-height: 520px; }
  .location-card { grid-template-columns: auto 1fr; }
  .location-card .btn { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .brand-copy small { display: none; }
  .brand-copy strong { font-size: .92rem; }
  .hero { padding: 32px 0 54px; }
  .hero-grid { gap: 34px; }
  h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .hero-facts { display: grid; grid-template-columns: 1fr; }
  .hero-facts > div { width: 100%; }
  .main-figure { border-radius: 30px; padding: 16px; }
  .focus-chip { font-size: .72rem; padding: 8px 11px; }
  .chip-one { left: 2px; top: 17%; }
  .chip-two { right: 2px; }
  .service-grid, .split-cards { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .feature-card { grid-template-columns: 1fr; }
  .feature-card h2 { font-size: 2rem; }
  .body-map { min-height: 500px; }
  .map-label { font-size: .7rem; }
  .label-neck { left: 8%; }
  .label-shoulder { right: 6%; }
  .label-spine { left: 4%; }
  .label-hip { right: 5%; }
  .label-knee { left: 8%; }
  .label-ankle { right: 8%; }
  .location-card { grid-template-columns: 1fr; padding: 28px; }
  .location-card h2 { font-size: 2rem; }
  .contact-wrap { align-items: flex-start; flex-direction: column; padding: 34px 28px; }
  .contact-action { align-items: flex-start; }
  .footer-wrap { flex-direction: column; }
  .whatsapp-float { right: 14px; bottom: 14px; padding: 13px; }
  .whatsapp-float span { display: none; }
}

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