@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #031827;
  --primary: #00729e;
  --cyan: #009dcc;
  --cyan-light: #63e2f4;
  --ice: #e3f7ff;
  --text: #101a2c;
  --muted: #496078;
  --background: #f7fcfd;
  --surface: #fff;
  --border: #d2e1e9;
  --radius-sm: .65rem;
  --radius: 1.25rem;
  --radius-lg: 1.75rem;
  --shadow-sm: 0 2px 3px rgb(3 24 39 / 7%);
  --shadow: 0 12px 24px rgb(3 24 39 / 12%);
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --content-width: 80rem;
  --header-offset: 5.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-offset); }
body { margin: 0; background: var(--background); color: var(--text); font-family: "Plus Jakarta Sans", Arial, sans-serif; font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body, button, input { font-family: "Plus Jakarta Sans", Arial, sans-serif; }
::selection { background: #b7eafa; color: var(--navy); }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
picture { display: block; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
p, h1, h2, h3, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.045em; line-height: 1.2; text-wrap: balance; }
h1, h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.5rem; }
ul, ol { padding: 0; margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid #007dab; outline-offset: 5px; border-radius: 3px; }
.hero :focus-visible, .technology-section :focus-visible, .site-footer :focus-visible, .cta-section :focus-visible { outline-color: var(--cyan-light); }
main:focus { outline: none; }
.container { width: 100%; max-width: var(--content-width); margin-inline: auto; padding-inline: clamp(1rem, 3vw, 2rem); }
.container-narrow { max-width: 56rem; }
.section { padding-block: clamp(3.5rem, 6vw, 6rem); }
.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: .75rem; left: 1rem; z-index: 100; padding: .75rem 1rem; background: var(--surface); color: var(--navy); border-radius: var(--radius-sm); box-shadow: var(--shadow); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { display: inline-flex; align-items: center; padding: .25rem .75rem; border-radius: .65rem; background: var(--ice); color: var(--primary); font-size: .75rem; line-height: 1.4; letter-spacing: .045em; text-transform: uppercase; font-weight: 800; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .5rem; min-height: 44px; padding: .8rem 1.4rem; border: 1px solid transparent; border-radius: .85rem; background: var(--primary); color: #fff; font-size: .875rem; line-height: 1.4; font-weight: 800; box-shadow: var(--shadow-sm); transition: background .18s, box-shadow .18s, transform .18s; text-align: center; }
.button:hover { background: #006d96; box-shadow: 0 5px 14px rgb(0 90 120 / 15%); transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button-small { padding: .65rem 1.2rem; }
.button-large { min-height: 58px; padding: 1rem 1.5rem; font-size: 1rem; }
.button-cyan { background: var(--cyan); color: var(--navy); }
.button-cyan:hover { background: #22b9df; }
.button-white { background: #fff; color: var(--navy); }
.button-white:hover { background: #eefaff; }
.button-white .icon { color: var(--primary); }
.button-glass { background: rgb(255 255 255 / 10%); border-color: rgb(255 255 255 / 30%); color: #fff; backdrop-filter: blur(8px); }
.button-glass:hover { background: rgb(255 255 255 / 18%); }
.button-outline { color: var(--primary); background: #fff; border-color: var(--border); }
.button-outline:hover { background: var(--ice); }
.button-full { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--primary); font-size: .875rem; font-weight: 700; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link .icon { width: 1rem; height: 1rem; }
.icon-tile { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 3rem; height: 3rem; border-radius: 1rem; background: var(--ice); color: var(--primary); }
.icon-tile .icon { width: 1.5rem; height: 1.5rem; }

/* Cabecera: misma composición de la referencia, más compacta al hacer scroll. */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; }
.topbar { color: #d7e4ef; background: var(--navy); font-size: .6875rem; font-weight: 500; }
.topbar-inner, .topbar-details, .topbar-contact, .topbar span, .topbar a { display: flex; align-items: center; }
.topbar-inner { justify-content: space-between; gap: 1rem; min-height: 28px; }
.topbar-details, .topbar-contact { gap: 1rem; }
.topbar span, .topbar a { gap: .35rem; }
.topbar .icon { width: .8rem; height: .8rem; color: var(--cyan-light); }
.topbar-contact > span { color: #adc7d9; }
.topbar a { color: #fff; }
.main-nav { background: #fff; border-bottom: 1px solid rgb(210 225 233 / 65%); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 92px; transition: min-height .2s; }
.logo-link { flex-shrink: 0; padding: .35rem; }
.logo { width: 190px; height: 52px; object-fit: contain; }
.desktop-links { display: flex; align-items: center; gap: .3rem; }
.desktop-links a { padding: .6rem .75rem; border-radius: .4rem; font-size: .875rem; font-weight: 700; color: #33465e; }
.desktop-links a:hover { background: #edf7fb; color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.nav-phone { white-space: nowrap; }
.nav-phone .icon { width: 1rem; height: 1rem; }
.site-header.is-scrolled .topbar { display: none; }
.site-header.is-scrolled .nav-inner { min-height: 68px; }
.site-header.is-scrolled .main-nav { box-shadow: var(--shadow-sm); }
.site-header.is-scrolled .logo { width: 160px; }
.mobile-navigation { display: none; }
.menu-toggle { width: 44px; height: 44px; padding: 10px; background: transparent; border: 1px solid var(--border); border-radius: .6rem; }
.menu-toggle span { display: block; height: 2px; width: 22px; background: var(--text); margin-block: 4px; transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }

/* Hero y contacto inmediato. */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); min-height: 92svh; padding-block: 174px 126px; color: #fff; }
.hero-picture, .hero-picture img, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-picture { z-index: -2; }
.hero-picture img { object-fit: cover; object-position: center; }
.hero-overlay { z-index: -1; background: linear-gradient(90deg, rgb(3 24 39 / 87%), rgb(3 24 39 / 59%) 62%, rgb(3 24 39 / 41%)), linear-gradient(0deg, rgb(3 24 39 / 48%), transparent 65%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
.hero-badge { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem; border: 1px solid rgb(255 255 255 / 23%); padding: .4rem .875rem; border-radius: 2rem; background: rgb(255 255 255 / 10%); color: #a6edf8; font-size: .875rem; line-height: 1.4; font-weight: 700; }
.status-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #3cdef2; flex-shrink: 0; }
.hero h1 { margin-top: 1.5rem; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.08; font-weight: 800; letter-spacing: -.025em; text-wrap: initial; }
.hero-accent { color: #22bce7; text-decoration: underline; text-decoration-color: rgb(34 188 231 / 40%); text-underline-offset: .15em; text-decoration-thickness: 4px; }
.hero-subtitle { display: block; margin-top: .6rem; font-size: clamp(1.75rem, 3.4vw, 3rem); line-height: 1.1; color: #e5edf3; letter-spacing: -.035em; }
.hero-description { max-width: 40rem; margin-top: 1.5rem; font-size: 1.25rem; color: #e0eaf0; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 2.5rem; }
.hero-actions .button-cyan { font-size: 1.125rem; padding-inline: 1.75rem; }
.hero-features { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; list-style: none; border-top: 1px solid rgb(255 255 255 / 20%); margin-top: 1.5rem; padding-top: 1.5rem; color: #dae7ef; font-size: .8125rem; }
.hero-features li { display: flex; align-items: center; gap: .5rem; }
.hero-features .icon { color: var(--cyan-light); width: 1rem; height: 1rem; }
.appointment-card { padding: 1.75rem; background: rgb(255 255 255 / 97%); color: var(--text); border: 1px solid rgb(255 255 255 / 40%); border-radius: var(--radius); box-shadow: 0 20px 50px rgb(3 24 39 / 20%); }
.appointment-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--border); padding-bottom: 1rem; margin-bottom: 1.25rem; }
.appointment-title p { color: var(--primary); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .045em; }
.appointment-title h2 { font-size: 1.25rem; margin-top: .15rem; }
.appointment-title .icon-tile { width: 2.5rem; height: 2.5rem; border-radius: 50%; }
.appointment-info { display: grid; gap: .875rem; margin-bottom: 1.25rem; font-size: .8125rem; line-height: 1.5; }
.appointment-info > div { padding: .875rem; border: 1px solid #e0e9ef; background: #f7f9fc; border-radius: 1rem; }
.appointment-info strong { display: block; margin-top: .3rem; }
.field-label { display: block; font-size: .6875rem; text-transform: uppercase; color: #536a85; font-weight: 600; }
.field-note { display: block; font-size: .75rem; color: #536a85; margin-top: .15rem; }
.appointment-phone { display: flex; align-items: center; gap: .4rem; color: var(--primary); font-size: 1.125rem; font-weight: 800; margin-top: .15rem; }
.appointment-phone:hover { text-decoration: underline; }
.appointment-phone .icon { width: 1rem; height: 1rem; }

.trust-section { position: relative; z-index: 2; margin-top: -1.5rem; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); padding: 2rem; border: 1px solid #e4edf2; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.trust-item { display: flex; align-items: flex-start; gap: 1rem; padding-inline: 1.5rem; border-left: 1px solid #edf2f6; }
.trust-item:first-child { padding-left: 0; border-left: 0; }
.trust-item:last-child { padding-right: 0; }
.trust-item .icon-tile { border: 1px solid #bceaff; }
.trust-number { font-size: clamp(1.25rem, 2.3vw, 2rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.3; }
.trust-title { font-size: .8125rem; font-weight: 700; line-height: 1.5; margin-top: .3rem; }
.trust-note { font-size: .75rem; color: var(--muted); line-height: 1.5; margin-top: .15rem; }

/* Secciones claras y tarjetas. */
.section-intro { max-width: 48rem; }
.section-intro h1, .section-intro h2 { margin-top: 1rem; }
.section-intro p { font-size: 1.125rem; color: var(--muted); margin-top: 1.25rem; line-height: 1.7; }
.centered { text-align: center; margin-inline: auto; }
.clinic-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2rem; margin-top: 3rem; }
.info-card { background: #fff; border: 1px solid #c9dce6; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.info-card > .icon-tile { margin-bottom: 1.5rem; background: #e4f1f7; }
.info-card h3, .info-card h2 { font-size: 1.5rem; }
.info-card > p { margin-top: .6rem; color: var(--muted); }
.check-list { display: grid; gap: .875rem; list-style: none; margin-top: 1.75rem; font-size: .875rem; color: #344e65; line-height: 1.55; }
.check-list li { display: flex; align-items: flex-start; gap: .75rem; }
.check-list .icon { width: 1.25rem; height: 1.25rem; margin-top: .15rem; color: var(--primary); }
.check-list strong { font-weight: 700; }
.treatments-section { background: #f6f8fa; border-block: 1px solid #e1e9ee; }
.section-heading-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3rem; }
.section-heading-row .section-intro { max-width: 42rem; }
.section-heading-row > .button { flex-shrink: 0; margin-bottom: .2rem; }
.treatment-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.treatment-filters button { border: 1px solid #dee7ed; border-radius: .7rem; background: #fff; color: #34465f; min-height: 44px; padding: .5rem 1rem; font-size: .8125rem; line-height: 1.4; font-weight: 700; transition: background .2s, color .2s; }
.treatment-filters button:hover { background: #e8f4f9; }
.treatment-filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.treatments-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; }
.treatment-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #dce6ed; border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; scroll-margin-top: 6rem; }
.treatment-card:hover { border-color: #75c8e8; box-shadow: 0 6px 20px rgb(3 24 39 / 9%); }
.treatment-image { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ice); }
.treatment-image picture { height: 100%; }
.treatment-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.treatment-card:hover .treatment-image img { transform: scale(1.035); }
.treatment-badge, .treatment-number { position: absolute; top: .75rem; font-size: .6875rem; font-weight: 800; line-height: 1.4; padding: .3rem .6rem; border-radius: .6rem; }
.treatment-badge { left: .75rem; right: 3.4rem; width: fit-content; background: rgb(255 255 255 / 96%); color: var(--primary); text-transform: uppercase; letter-spacing: .045em; }
.treatment-number { right: .75rem; color: #fff; background: rgb(3 24 39 / 75%); padding-inline: .45rem; font-size: .625rem; }
.treatment-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.treatment-body h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -.035em; }
.treatment-body h3 a:hover { color: var(--primary); }
.treatment-body > p { margin-top: .75rem; font-size: .875rem; color: var(--muted); line-height: 1.6; flex: 1; }
.treatment-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; border-top: 1px solid #edf2f6; padding-top: 1rem; margin-top: 1.5rem; color: var(--muted); font-size: .75rem; }
.treatment-bottom a { min-height: 28px; display: inline-flex; align-items: center; font-size: .75rem; }
.treatment-detail:hover { text-decoration: underline; }
.technology-callout { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin-top: 3rem; padding: 2rem; background: var(--navy); color: #fff; border-radius: var(--radius); }
.technology-callout .eyebrow { color: var(--cyan-light); background: transparent; padding: 0; font-size: .625rem; }
.technology-callout h3 { font-size: 1.375rem; margin-top: .35rem; }
.technology-callout p { font-size: .8125rem; color: #c5d8e5; margin-top: .35rem; max-width: 43rem; }
.technology-callout .button { flex-shrink: 0; }
.method-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem; margin-top: 3.5rem; }
.method-card { display: flex; flex-direction: column; padding: 2rem; min-height: 348px; background: #fff; border: 1px solid #c9dce6; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.method-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.step-number { font-size: 2.25rem; line-height: 1; font-weight: 800; color: #57859d; font-variant-numeric: tabular-nums; letter-spacing: -.06em; }
.method-top .eyebrow { font-size: .6875rem; text-transform: none; letter-spacing: 0; text-align: center; }
.method-card h3 { margin-bottom: 1rem; }
.method-card > p { font-size: .875rem; color: var(--muted); flex: 1; }
.method-bottom { border-top: 1px solid #edf2f6; padding-top: 1rem; margin-top: 2rem; font-size: .75rem; color: var(--muted); }
.method-bottom .text-link { min-height: 28px; font-size: .75rem; }

/* Tecnología: contraste y ritmo de la referencia. */
.technology-section { color: #fff; background: radial-gradient(ellipse at 100% 0, #003046 0, transparent 34%), radial-gradient(ellipse at 0 100%, #003046 0, transparent 32%), var(--navy); }
.technology-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; gap: 3rem; }
.technology-section .eyebrow { color: #76e7f5; background: rgb(255 255 255 / 8%); border: 1px solid rgb(255 255 255 / 20%); }
.technology-section h1, .technology-section h2 { margin-top: 1.5rem; }
.technology-intro { font-size: 1.125rem; line-height: 1.6; color: #d2e2ef; margin-top: 1.75rem; }
.technology-points { display: grid; gap: 1rem; margin-top: 2rem; }
.technology-points article { display: flex; align-items: flex-start; gap: .875rem; padding: 1.125rem; background: rgb(255 255 255 / 4%); border: 1px solid rgb(255 255 255 / 12%); border-radius: 1rem; }
.technology-points .icon { color: #5de3f7; width: 1.5rem; height: 1.5rem; margin-top: .1rem; }
.technology-points h3 { font-size: 1rem; font-weight: 700; letter-spacing: -.02em; }
.technology-points p { margin-top: .45rem; color: #d2e2ef; font-size: .875rem; line-height: 1.55; }
.technology-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.technology-actions > span { font-size: .75rem; color: #cedce6; }
.technology-panel { border: 1px solid rgb(255 255 255 / 16%); border-radius: 1.5rem; padding: 2.5rem; background: linear-gradient(135deg, #111b2e, #1e2b3e 55%, #031827); box-shadow: 0 20px 40px rgb(0 0 0 / 12%); }
.panel-heading { display: flex; align-items: center; gap: .75rem; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid rgb(255 255 255 / 12%); }
.panel-heading .icon-tile { width: 2.5rem; height: 2.5rem; color: #4ed9ef; background: #06354b; }
.panel-heading h3 { font-size: 1rem; letter-spacing: -.02em; }
.panel-heading p { color: #b7cde0; font-size: .75rem; }
.location-label { margin-left: auto; border-radius: .6rem; padding: .3rem .6rem; border: 1px solid #007a9d; color: var(--cyan-light); background: #073347; text-transform: uppercase; font-size: .625rem; font-weight: 800; }
.technology-cells { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.technology-cells > div { border: 1px solid rgb(255 255 255 / 12%); border-radius: 1rem; padding: 1rem; background: rgb(255 255 255 / 5%); }
.technology-cells dt { font-size: .6875rem; text-transform: uppercase; color: #bad0e3; line-height: 1.5; }
.technology-cells dd { font-size: 1.125rem; font-weight: 700; line-height: 1.4; margin-top: .35rem; letter-spacing: -.025em; }
.technology-cells dd span { display: block; font-size: .75rem; font-weight: 500; color: #70e7f8; margin-top: .3rem; letter-spacing: 0; }
.panel-note { display: flex; gap: 1rem; align-items: center; padding: 1.25rem; border: 1px solid #096887; background: rgb(0 167 210 / 9%); border-radius: var(--radius); margin-top: 1.5rem; }
.panel-note > .icon { width: 2rem; height: 2rem; color: #4fdef5; }
.panel-note h3 { font-size: .875rem; letter-spacing: -.025em; }
.panel-note p { font-size: .75rem; color: #d2e2ef; line-height: 1.5; margin-top: .25rem; }
.technology-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; margin-top: 4rem; }
.technology-gallery figure { position: relative; aspect-ratio: 4/3; overflow: hidden; border: 1px solid rgb(255 255 255 / 15%); border-radius: var(--radius); }
.technology-gallery picture { height: 100%; }
.technology-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.technology-gallery figure:hover img { transform: scale(1.035); }
.technology-gallery figcaption { position: absolute; inset: auto 0 0; padding: 3rem 1rem 1rem; background: linear-gradient(transparent, rgb(3 24 39 / 95%)); }
.technology-gallery figcaption span { color: #83efff; text-transform: uppercase; font-size: .75rem; font-weight: 800; }
.technology-gallery figcaption p { font-size: .875rem; font-weight: 700; margin-top: .2rem; line-height: 1.5; }
.image-disclaimer { font-size: .6875rem; color: #b5cbd9; margin-top: 1rem; }

.faq-section .section-intro { margin-bottom: 3.5rem; }
.faq-list { display: grid; gap: .875rem; }
.faq-list details { border: 1px solid #c9dce6; border-radius: var(--radius); background: #fff; }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; list-style: none; gap: 1rem; padding: 1.3rem 1.5rem; font-size: 1.125rem; font-weight: 700; line-height: 1.5; cursor: pointer; border-radius: var(--radius); letter-spacing: -.025em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--primary); }
.faq-chevron { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: #f0f5f9; display: grid; place-items: center; }
.faq-chevron::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid var(--primary); border-bottom: 1.5px solid var(--primary); transform: translateY(-1px) rotate(45deg); }
details[open] .faq-chevron::after { transform: translateY(2px) rotate(225deg); }
.faq-answer { padding: .5rem 1.5rem 1.5rem; border-top: 1px solid #edf2f6; color: var(--muted); font-size: .9375rem; line-height: 1.7; }
.faq-contact { background: #f6f8fa; border: 1px solid #e0e8ee; border-radius: var(--radius); text-align: center; padding: 1.5rem; margin-top: 2.5rem; font-size: .875rem; }
.faq-contact .text-link { margin-top: .75rem; }
.cta-section { padding-block: 5rem; background: radial-gradient(ellipse at 30% 40%, #228db5, transparent 48%), #0077a7; color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.cta-inner > div { max-width: 43rem; }
.cta-section .eyebrow { color: #fff; background: rgb(255 255 255 / 16%); }
.cta-section h2 { margin-top: 1rem; }
.cta-section p { margin-top: 1rem; font-size: 1.125rem; line-height: 1.6; color: #effaff; }
.cta-section .button { flex-shrink: 0; font-size: 1.125rem; padding-inline: 2rem; }

.site-footer { background: var(--navy); color: #d6e4ef; padding-block: 4rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgb(255 255 255 / 12%); }
.footer-logo { display: inline-flex; align-items: center; min-height: 44px; }
.footer-logo .logo { width: 210px; height: auto; }
.footer-brand > p { max-width: 27rem; font-size: .875rem; margin-top: 1.5rem; }
.footer-brand .footer-muted { color: #b1c9da; font-size: .75rem; }
.footer-section-links { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-top: 1.25rem; font-size: .75rem; }
.footer-section-links a { display: inline-flex; align-items: center; min-height: 28px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.footer-section-links a:hover { color: #8beeff; text-decoration: underline; }
.site-footer h2 { color: #fff; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .015em; margin-bottom: 1rem; }
.contact-row { display: flex; gap: .75rem; align-items: flex-start; font-size: .875rem; line-height: 1.5; margin-bottom: 1rem; }
.contact-row .icon { color: #32d4f5; margin-top: .15rem; }
.contact-row strong { color: #fff; font-weight: 700; }
.contact-row span { display: block; color: #b1c9da; }
.footer-phone { color: #fff; font-size: 1.125rem; font-weight: 800; }
.footer-phone:hover, .footer-directions:hover, .footer-links a:hover { color: #8beeff; text-decoration: underline; }
.footer-directions { display: inline-flex; align-items: center; gap: .5rem; min-height: 28px; margin-top: 1rem; margin-left: calc(24px + .75rem); font-size: .8125rem; }
.footer-directions .icon { width: 1rem; height: 1rem; }
.footer-weekend { border-top: 1px solid rgb(255 255 255 / 12%); padding-top: 3.5rem; padding-left: 1.5rem; font-size: .75rem; }
.footer-weekend strong, .footer-weekend span { display: block; }
.footer-weekend span { color: #b1c9da; }
.footer-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 1rem; padding-top: 2rem; color: #b1c9da; font-size: .6875rem; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .5rem 1rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 28px; }
.footer-credits { text-align: center; color: #b1c9da; font-size: .6875rem; line-height: 1.8; text-wrap: balance; }
.footer-credits a { display: inline-block; min-height: 28px; color: #8beeff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.footer-credits a:hover { color: #fff; }

/* Páginas secundarias: mismos tokens y componentes. */
.inner-main { padding-top: 120px; }
.breadcrumbs { padding-top: 1.75rem; color: var(--muted); font-size: .8125rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem .7rem; list-style: none; }
.breadcrumbs li + li::before { content: "/"; color: #72889b; margin-right: .7rem; }
.breadcrumbs a { color: var(--primary); }
.breadcrumbs a:hover { text-decoration: underline; }
.page-heading { padding-bottom: 0; }
.page-heading h1 { margin-top: 1rem; }
.lead { font-size: 1.125rem; color: var(--muted); line-height: 1.75; margin-top: 1.25rem; max-width: 43rem; }
.detail-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
.detail-hero h1 { margin-top: 1.25rem; }
.detail-hero .button { margin-top: 1.75rem; }
.detail-image img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); }
.detail-image figcaption { color: var(--muted); font-size: .6875rem; margin-top: .5rem; }
.detail-content { padding-top: 0; }
.detail-content-grid { display: grid; grid-template-columns: 2fr 1fr; align-items: start; gap: 4rem; }
.prose { color: var(--muted); }
.prose h1, .prose h2, .prose h3 { color: var(--text); }
.prose h2 { font-size: 1.75rem; margin-top: 2.5rem; margin-bottom: 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 1rem; }
.prose ul { padding-left: 1.5rem; margin-block: 1rem; }
.prose li + li { margin-top: .65rem; }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.clinical-note { display: flex; align-items: flex-start; gap: 1rem; padding: 1.5rem; border: 1px solid #c1dfe9; border-radius: 1rem; background: #edf8fc; margin-top: 2rem; font-size: .9375rem; }
.clinical-note .icon { margin-top: .2rem; color: var(--primary); }
.medical-disclaimer { padding-top: 1.5rem; margin-top: 1.5rem; border-top: 1px solid var(--border); font-size: .8125rem; }
.detail-aside { background: #fff; padding: 2rem; border: 1px solid var(--border); border-radius: var(--radius); position: sticky; top: 6rem; }
.detail-aside h2 { font-size: 1.5rem; }
.detail-aside > p { font-size: .875rem; color: var(--muted); margin-top: 1rem; }
.detail-aside .button { margin-top: 1.25rem; }
.detail-aside .aside-hours { font-size: .75rem; }
.detail-aside hr { border: 0; border-top: 1px solid var(--border); margin-block: 1.5rem; }
.detail-aside h3 { font-size: 1rem; }
.detail-aside ul { list-style: none; margin-block: 1rem; }
.detail-aside li a { display: flex; justify-content: space-between; gap: .5rem; padding-block: .6rem; color: var(--muted); font-size: .875rem; }
.detail-aside li a:hover { color: var(--primary); text-decoration: underline; }
.detail-aside li .icon { width: 1rem; }
.contact-page-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem; margin-top: 3rem; }
.contact-information { display: grid; gap: 1.5rem; }
.contact-information .button { margin-top: 1.5rem; }
.small-note { color: var(--muted); font-size: .75rem; margin-top: 1rem; }
.location-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.location-art { height: 240px; position: relative; background: repeating-linear-gradient(90deg, transparent 0 60px, #cbe6ee 60px 62px), repeating-linear-gradient(0deg, #e9f5f8 0 60px, #cbe6ee 60px 62px); overflow: hidden; }
.map-road { height: 24px; background: #fff; position: absolute; width: 150%; border: 1px solid #d8e9ee; }
.road-one { top: 48%; left: -20%; transform: rotate(-25deg); }
.road-two { top: 50%; left: -20%; transform: rotate(65deg); }
.road-three { top: 85%; left: -20%; transform: rotate(0deg); }
.map-marker { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: #fff; position: absolute; left: calc(50% - 29px); top: 75px; box-shadow: 0 0 0 10px rgb(0 125 171 / 12%); }
.map-marker .icon { width: 30px; height: 30px; }
.map-city { position: absolute; left: 50%; top: 150px; transform: translateX(-50%); font-size: .75rem; font-weight: 800; letter-spacing: .2em; color: #284963; }
.location-content { padding: 2rem; }
.location-content h2 { font-size: 1.5rem; }
.location-content address { margin-top: 1rem; font-weight: 600; }
.location-content > p { margin-top: 1rem; color: var(--muted); }
.location-content .button { margin-top: 1.5rem; }
.legal-document h1 { margin-bottom: 2rem; }
.not-found { min-height: 60vh; }
.not-found h1 { margin-top: 1rem; }
.not-found p { margin-top: 1.25rem; color: var(--muted); }

@media (min-width: 1920px) {
  .hero-grid { padding-block: 1rem; }
}

@media (max-width: 1199px) {
  .desktop-links { gap: 0; }
  .desktop-links a { padding-inline: .5rem; font-size: .8125rem; }
  .logo { width: 160px; }
  .nav-phone { padding-inline: .8rem; }
  .topbar { font-size: .625rem; }
  .topbar-contact > span { display: none; }
  .hero-grid { gap: 2rem; grid-template-columns: 1.8fr 1fr; }
  .hero h1 { font-size: 3.5rem; }
  .hero-subtitle { font-size: 2.5rem; }
  .hero-features { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .appointment-card { padding: 1.25rem; }
  .trust-grid { padding: 1.5rem; }
  .trust-item { gap: .75rem; padding-inline: 1rem; }
  .trust-item .icon-tile { width: 2.5rem; height: 2.5rem; }
  .technology-panel { padding: 1.5rem; }
  .method-grid { gap: 1.5rem; }
  .method-card { padding: 1.5rem; }
  .footer-grid { gap: 2rem; }
}

@media (max-width: 1023px) {
  :root { --header-offset: 5.5rem; }
  .topbar, .desktop-links { display: none; }
  .site-header { position: sticky; }
  .js .site-header { position: fixed; }
  .nav-inner, .site-header.is-scrolled .nav-inner { min-height: 78px; }
  .site-header.is-scrolled .logo { width: 160px; }
  .logo { height: 40px; }
  .mobile-navigation { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .5rem; padding-block: .5rem 1rem; max-height: calc(100svh - 78px); overflow-y: auto; }
  .mobile-navigation a { font-size: .875rem; min-height: 44px; display: flex; align-items: center; padding: .5rem .75rem; border-radius: .6rem; background: #f5f9fb; color: #33465b; }
  .mobile-navigation a:hover { background: var(--ice); }
  .hero { min-height: auto; padding-block: 3rem 5rem; }
  .js .hero { padding-top: 126px; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-copy { max-width: 48rem; }
  .hero h1 { font-size: clamp(2.5rem, 6.5vw, 4rem); }
  .hero-subtitle { max-width: 45rem; font-size: clamp(1.8rem, 4.5vw, 2.75rem); }
  .hero-features { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .appointment-card { max-width: 45rem; padding: 1.5rem; }
  .appointment-info { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .appointment-card .button-full { width: auto; }
  .trust-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; }
  .trust-item { padding: 0; border: 0; }
  .trust-number { font-size: 1.75rem; }
  .treatments-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .method-top { align-items: flex-start; }
  .technology-grid { gap: 2rem; }
  .technology-cells { gap: .75rem; }
  .technology-cells > div { padding: .75rem; }
  .technology-cells dd { font-size: 1rem; }
  .location-label { display: none; }
  .technology-callout { flex-direction: column; align-items: flex-start; }
  .cta-inner { gap: 2rem; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand > p { max-width: 40rem; }
  .footer-bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-links { justify-content: center; }
  .inner-main { padding-top: 0; }
  .js .inner-main { padding-top: 78px; }
  .detail-grid, .detail-content-grid { gap: 2rem; }
  .detail-aside { padding: 1.5rem; }
}

@media (max-width: 767px) {
  h1, h2 { font-size: clamp(1.875rem, 6vw, 2.5rem); }
  .section { padding-block: 3.5rem; }
  .container { padding-inline: 1.25rem; }
  .nav-inner { gap: .5rem; }
  .nav-phone { font-size: .75rem; min-height: 44px; padding-inline: .7rem; }
  .nav-phone-prefix { display: none; }
  .mobile-navigation { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-badge { font-size: .75rem; }
  .hero h1 { font-size: clamp(2.4rem, 8vw, 3.5rem); }
  .hero-picture { height: min(100%, 52rem); }
  .hero-picture::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 65%, var(--navy)); }
  .hero-subtitle { font-size: clamp(1.7rem, 5.6vw, 2.25rem); line-height: 1.18; }
  .hero-description { font-size: 1rem; }
  .hero-actions { margin-top: 1.75rem; gap: .75rem; }
  .button-large { font-size: .9375rem; padding: .9rem 1.2rem; }
  .hero-actions .button-cyan { font-size: 1rem; padding-inline: 1.25rem; }
  .hero-features { grid-template-columns: repeat(2,minmax(0,1fr)); font-size: .75rem; }
  .hero-features li:last-child { grid-column: 1 / -1; }
  .appointment-info { grid-template-columns: 1fr; }
  .appointment-card .button-full { width: 100%; }
  .trust-grid { padding: 1.25rem; gap: 1.5rem 1rem; }
  .trust-item { flex-direction: column; gap: .75rem; }
  .trust-number { font-size: 1.4rem; }
  .trust-title { font-size: .75rem; }
  .trust-note { font-size: .6875rem; }
  .section-intro p, .lead { font-size: 1rem; }
  .clinic-grid { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }
  .info-card { padding: 1.5rem; }
  .info-card h2, .info-card h3 { font-size: 1.375rem; }
  .section-heading-row { flex-direction: column; align-items: flex-start; gap: 1.5rem; margin-bottom: 2rem; }
  .treatment-filters { gap: .5rem; margin-bottom: 1.5rem; }
  .treatment-filters button { font-size: .75rem; padding-inline: .75rem; }
  .treatments-grid { gap: 1rem; }
  .treatment-body { padding: 1.1rem; }
  .treatment-body h3 { font-size: 1.125rem; }
  .treatment-badge { font-size: .6rem; padding: .3rem .5rem; left: .5rem; top: .5rem; }
  .treatment-number { top: .5rem; right: .5rem; }
  .technology-callout { padding: 1.5rem; margin-top: 2rem; gap: 1.5rem; }
  .method-grid { grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2.5rem; }
  .method-card { min-height: auto; padding: 1.5rem; }
  .method-card h3 { font-size: 1.375rem; }
  .method-top { align-items: center; }
  .technology-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .technology-intro { font-size: 1rem; }
  .technology-gallery { gap: 1rem; grid-template-columns: 1fr; margin-top: 2.5rem; }
  .technology-gallery figure { aspect-ratio: 16/10; }
  .technology-panel { padding: 1.25rem; }
  .panel-heading h3 { font-size: .875rem; }
  .technology-cells dd { font-size: .9375rem; }
  .faq-section .section-intro { margin-bottom: 2.5rem; }
  .faq-list summary { padding: 1.1rem; font-size: 1rem; }
  .faq-answer { padding: .75rem 1.1rem 1.25rem; font-size: .875rem; }
  .faq-contact { padding: 1.25rem; }
  .faq-contact .text-link { flex-wrap: wrap; justify-content: center; }
  .cta-section { padding-block: 3.5rem; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-section p { font-size: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; }
  .footer-brand { grid-column: auto; }
  .site-footer { padding-top: 3rem; }
  .footer-links { gap: .6rem 1rem; }
  .detail-grid, .detail-content-grid, .contact-page-grid { grid-template-columns: 1fr; gap: 2rem; }
  .detail-aside { position: static; }
  .detail-content { padding-top: 0; }
  .prose h2 { font-size: 1.5rem; }
  .location-content { padding: 1.5rem; }
  .page-heading { padding-bottom: 0; }
}

@media (max-width: 539px) {
  .treatments-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .treatment-body { padding: 1.5rem; }
  .treatment-badge { font-size: .6875rem; }
  .treatment-body h3 { font-size: 1.25rem; }
  .logo, .site-header.is-scrolled .logo { width: 128px; height: 38px; }
  .nav-inner { min-height: 72px; }
  .nav-phone { padding-inline: .5rem; gap: .35rem; }
  .nav-phone .icon { width: .875rem; }
  .nav-actions { gap: .4rem; }
  .nav-inner.container { padding-inline: .75rem; }
  .hero-features { gap: .75rem; }
}

@media (max-width: 359px) {
  .logo, .site-header.is-scrolled .logo { width: 112px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .treatment-card:hover img, .technology-gallery figure:hover img, .button:hover { transform: none; }
}

@media (forced-colors: active) {
  .button, .icon-tile, .eyebrow, .treatment-card { border: 1px solid ButtonText; }
  .hero-accent, .hero-subtitle { color: CanvasText; }
  .hero-overlay { background: Canvas; }
}

@media print {
  .site-header, .site-footer, .cta-section, .treatment-filters, .hero-picture, .hero-overlay, .hero-actions, .skip-link { display: none; }
  .inner-main, .js .inner-main { padding-top: 0; }
  .hero, .technology-section { background: #fff; color: #000; padding: 1rem 0; }
  .hero h1, .hero-subtitle, .hero-description, .technology-intro, .technology-points p { color: #000; }
  .section { padding-block: 1.5rem; }
  .trust-section { margin-top: 0; }
  .info-card, .treatment-card, .method-card { break-inside: avoid; box-shadow: none; }
  .faq-answer { display: block; }
  .detail-aside { position: static; }
}
