/* =========================================================
   Dr. Luis Alonso Salja — Rediseño
   Paleta original del sitio: carbón #1B2026, piedra #EAE9E7,
   tarjeta #F2F2F0, texto pizarra + dorado del logo bordado.
   ========================================================= */
:root {
  --ink: #1B2026;
  --ink-2: #13171c;
  --ink-3: #232931;
  --stone: #EAE9E7;
  --stone-2: #F2F2F0;
  --paper: #FAFAF8;
  --line: #E1E0DC;
  --gold: #B8924F;
  --gold-2: #D9BC85;
  --gold-3: #8E6E36;
  --text: #1F2226;
  --muted: #545B66;
  --muted-2: #6B6E73;
  --on-dark: #F2F2F0;
  --on-dark-muted: #AEB4BC;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 18px;
  --shadow: 0 22px 50px -28px rgba(27, 32, 38, .4);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--stone); line-height: 1.65; font-size: 16px; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; font-weight: 600; }
h1, h2 { font-family: var(--serif); letter-spacing: -.01em; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); color: var(--ink); }
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold); font-weight: 500; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(860px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.section { padding: clamp(64px, 8vw, 112px) 0; }
.ic { width: 20px; height: 20px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: .72rem; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-3); margin-bottom: 16px; }
.kicker::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.center .kicker::after, .sec-head.center .kicker::after { content: ''; width: 28px; height: 1px; background: currentColor; }
.sec-head { margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head.center { max-width: 760px; margin-inline: auto; text-align: center; }
.sec-head p { color: var(--muted); font-size: 1.05rem; margin: 16px 0 0; }
.sec-head.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; }
.dark { background: var(--ink); color: var(--on-dark); }
.dark h2, .dark h3 { color: #fff; }
.dark h2 em { color: var(--gold-2); }
.dark .kicker { color: var(--gold-2); }
.dark .sec-head p { color: var(--on-dark-muted); }

/* Botones (rectangulares y en mayúsculas, como el sitio original) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border-radius: 4px; font: 800 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn .ic { width: 17px; height: 17px; transition: transform .25s; }
.btn:hover .ic { transform: translateX(3px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-3)); color: #fff; box-shadow: 0 14px 30px -14px rgba(184, 146, 79, .9); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 12px 18px; font-size: .7rem; }

/* ================= HEADER ================= */
.topline { position: fixed; inset: 0 0 auto; z-index: 61; height: 34px; display: flex; align-items: center; font-size: .78rem; color: var(--on-dark-muted); background: var(--ink-2); border-bottom: 1px solid rgba(255, 255, 255, .06); transition: transform .35s var(--ease); }
.topline .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topline a { color: var(--on-dark-muted); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.topline a:hover { color: var(--gold-2); }
.topline .ic { width: 14px; height: 14px; color: var(--gold-2); }
.topline-l, .topline-r { display: flex; gap: 22px; align-items: center; }
.topline .faq-link { font-weight: 700; letter-spacing: .04em; }
.scrolled .topline { transform: translateY(-100%); }

.site-header { position: fixed; top: 34px; left: 0; right: 0; z-index: 60; transition: top .35s var(--ease), background .35s, box-shadow .35s, padding .35s; padding: 14px 0; }
.solid-header .site-header { background: var(--ink); }
.scrolled .site-header { top: 0; background: rgba(27, 32, 38, .95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 30px -20px #000; padding: 8px 0; }
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand img { height: 44px; width: auto; transition: height .3s; }
.scrolled .brand img { height: 38px; }
/* Escritorio: barra del menú un poco más alta */
@media (min-width: 1101px) {
  .site-header { padding: 20px 0; }
  .scrolled .site-header { padding: 15px 0; }
  .brand img { height: 48px; }
  .scrolled .brand img { height: 44px; }
  .nav > a, .nav .drop > button, .nav .drop > a { font-size: .9rem; padding: 12px 14px; }
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .drop > button, .nav .drop > a { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; color: #fff; text-decoration: none; font-size: .86rem; font-weight: 700; letter-spacing: .02em; background: none; border: 0; cursor: pointer; }
.nav > a::after, .nav .drop > button::after, .nav .drop > a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--gold-2); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav > a:hover::after, .nav > a.active::after, .nav .drop:hover > button::after, .nav .drop:hover > a::after, .nav .drop > a.active::after { transform: scaleX(1); }
.nav > a.active, .nav .drop > a.active { color: var(--gold-2); }
.nav .ic { width: 14px; height: 14px; }
.drop { position: relative; }
.drop-menu { position: absolute; top: 100%; left: 50%; width: 520px; transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: .25s var(--ease); background: var(--paper); color: var(--text); border-radius: 16px; padding: 22px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px; }
.drop:hover .drop-menu, .drop:focus-within .drop-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop-menu strong { grid-column: span 1; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-3); margin-bottom: 6px; display: block; }
.drop-menu ul { list-style: none; margin: 0; padding: 0; }
.drop-menu a { display: block; padding: 7px 0; text-decoration: none; font-size: .9rem; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--line); transition: color .2s, padding .2s; }
.drop-menu a:hover { color: var(--gold-3); padding-left: 6px; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; place-items: center; cursor: pointer; }
.burger .ic { width: 22px; height: 22px; }

/* Drawer móvil */
.drawer { position: fixed; inset: 0; z-index: 80; background: rgba(19, 23, 28, .6); opacity: 0; visibility: hidden; transition: .3s; }
.drawer.open { opacity: 1; visibility: visible; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: var(--ink); color: #fff; padding: 22px 24px 30px; overflow-y: auto; transform: translateX(100%); transition: transform .4s var(--ease); display: flex; flex-direction: column; gap: 6px; }
.drawer.open .drawer-panel { transform: none; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer-top img { height: 40px; width: auto; }
.drawer a { color: #fff; text-decoration: none; }
.drawer-links > a, .drawer summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-family: var(--serif); font-size: 1.5rem; cursor: pointer; list-style: none; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer details[open] summary .ic { transform: rotate(180deg); }
.drawer details ul { list-style: none; margin: 6px 0 10px; padding: 0 0 0 4px; }
.drawer details li a { display: block; padding: 7px 0; color: var(--on-dark-muted); font-size: .95rem; }
.drawer-foot { margin-top: auto; padding-top: 24px; display: grid; gap: 12px; }
.drawer-foot .small { display: flex; justify-content: space-between; font-size: .85rem; color: var(--on-dark-muted); }

/* ================= HERO (home) ================= */
.hero { position: relative; min-height: min(94svh, 920px); display: flex; align-items: center; color: #fff; background: var(--ink-2) center / cover no-repeat; overflow: hidden; padding: 150px 0 90px; }
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media video { opacity: 0; transition: opacity 1.2s ease; }
.hero-media video.ready { opacity: 1; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19, 23, 28, .88) 0%, rgba(19, 23, 28, .55) 55%, rgba(19, 23, 28, .25) 100%), linear-gradient(180deg, rgba(19, 23, 28, .5) 0%, transparent 30%, transparent 70%, rgba(19, 23, 28, .7)); }
.hero-inner { position: relative; max-width: 600px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; border: 1px solid rgba(217, 188, 133, .3); background: rgba(19, 23, 28, .3); backdrop-filter: blur(6px); font-size: .62rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 20px; }
.eyebrow i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 0 rgba(217, 188, 133, .7); animation: ping 2s infinite; }
.hero h1 { font-size: clamp(2.1rem, 4vw, 3.5rem); font-weight: 500; color: #fff; line-height: 1.08; letter-spacing: -.005em; }
.hero h1 em { color: var(--gold-2); }
.hero .lead { font-size: clamp(.92rem, 1.1vw, 1.02rem); color: rgba(242, 242, 240, .78); max-width: 480px; margin: 18px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero { padding-bottom: 90px; }
.hero-scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 24px; height: 40px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 14px; }
.hero-scroll::after { content: ''; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: scrolly 1.8s infinite; }
.split-word { display: inline-block; opacity: 0; transform: translateY(.5em); animation: wordIn .9s var(--ease) forwards; }

/* Page hero (páginas internas) */
.page-hero { position: relative; padding: 180px 0 90px; color: #fff; background: var(--ink) center / cover no-repeat; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 23, 28, .75), rgba(19, 23, 28, .88)); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); color: #fff; max-width: 820px; }
.page-hero h1 em { color: var(--gold-2); }
.page-hero p { color: var(--on-dark-muted); max-width: 620px; font-size: 1.08rem; margin-top: 20px; }
.page-hero .kicker { color: var(--gold-2); }
/* Turismo médico: video de fondo con degradado suave (el video se ve completo arriba, el texto abajo) */
.video-hero { min-height: 100svh; display: flex; align-items: flex-end; padding: 150px 0 52px; background: var(--ink-2); }
.video-hero::before { display: none; }
.video-hero .hero-media::after { background: linear-gradient(180deg, rgba(19, 23, 28, .55) 0%, rgba(19, 23, 28, .18) 20%, rgba(19, 23, 28, .22) 45%, rgba(19, 23, 28, .8) 66%, rgba(27, 32, 38, .98) 100%), linear-gradient(90deg, rgba(19, 23, 28, .6) 0%, rgba(19, 23, 28, .15) 55%, rgba(19, 23, 28, 0) 100%); }
.video-hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); max-width: 760px; text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
.video-hero .wrap > p { margin-top: 14px; font-size: 1rem; max-width: 600px; }
.video-hero .crumbs { margin-bottom: 12px; }
.video-hero .kicker { margin-bottom: 10px; }
.video-hero p { color: rgba(242, 242, 240, .88); }
/* Pase de abordaje (pequeño, animado) */
.video-hero .wrap { position: relative; }
.pass { position: absolute; right: 0; bottom: 6px; width: 290px; border-radius: 18px; overflow: hidden; color: #1f2226; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7); transform-origin: 100% 100%; animation: passIn 1.1s var(--ease) .6s both, passFloat 6s ease-in-out 1.8s infinite; }
.pass-top { background: #f8f8f6; padding: 16px 18px 14px; }
.pass-bottom { position: relative; background: #e9e8e6; padding: 12px 18px 14px; border-top: 2px dashed #b9b8b4; }
.pass-bottom::before, .pass-bottom::after { content: ''; position: absolute; top: -9px; width: 16px; height: 16px; border-radius: 50%; background: rgba(19, 23, 28, .9); }
.pass-bottom::before { left: -8px; } .pass-bottom::after { right: -8px; }
.pass-head { display: flex; justify-content: space-between; font-size: .56rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #6b6e73; }
.pass-route { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.pass-route b { font-family: var(--serif); font-weight: 500; font-size: 2.3rem; line-height: 1; }
.pass-line { position: relative; flex: 1; height: 18px; }
.pass-line::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px dashed #a9aaad; }
.pass-plane { position: absolute; top: 50%; left: 0; width: 16px; height: 16px; margin-top: -8px; color: #4b4f55; transform: rotate(90deg); animation: fly 3.6s ease-in-out infinite; }
.pass-cities { display: flex; justify-content: space-between; font-size: .68rem; color: #6b6e73; margin-top: 2px; }
.pass-cities .to { color: #5b7fb5; }
.pass-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 12px 0 0; }
.pass-grid.two { grid-template-columns: 1fr 1fr; margin: 0; }
.pass-grid dt { font-size: .52rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #6b6e73; }
.pass-grid dd { margin: 2px 0 0; font-family: var(--serif); font-size: .98rem; line-height: 1.2; }
.pass-bars { display: block; height: 24px; margin-top: 10px; background: repeating-linear-gradient(90deg, #1f2226 0 2px, transparent 2px 4px, #1f2226 4px 5px, transparent 5px 8px, #1f2226 8px 11px, transparent 11px 12px); background-size: 120% 100%; animation: scan 4s linear infinite; }
@keyframes passIn { from { opacity: 0; transform: translateY(30px) rotate(6deg) scale(.9); } to { opacity: 1; transform: rotate(-2deg); } }
@keyframes passFloat { 0%, 100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(-1deg) translateY(-8px); } }
@keyframes fly { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 16px); opacity: 0; } }
@keyframes scan { to { background-position: 60px 0; } }
.crumbs { display: flex; gap: 8px; font-size: .8rem; color: var(--on-dark-muted); margin-bottom: 20px; }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-2); }

/* ================= EXCELENCIA / DOCTOR ================= */
.about { background: var(--stone); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.doc-photo { position: relative; margin: 0; }
.doc-photo .frame { position: relative; border-radius: 220px 220px 22px 22px; overflow: hidden; aspect-ratio: 4 / 5; background: #d9d6d0; box-shadow: var(--shadow); }
.doc-photo .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.doc-photo.in .frame img { transform: scale(1); }
.doc-photo::before { content: ''; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--gold); border-radius: 220px 220px 22px 22px; opacity: .5; z-index: -1; }
.doc-badge { position: absolute; right: -18px; bottom: 34px; display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 14px; background: var(--ink); color: #fff; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6); }
.doc-badge b { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--gold-2); font-weight: 600; }
.doc-badge span { font-size: .78rem; line-height: 1.35; color: var(--on-dark-muted); }
.doc-name { position: absolute; left: 22px; top: 22px; padding: 8px 14px; border-radius: 999px; background: rgba(250, 250, 248, .9); backdrop-filter: blur(6px); font-size: .74rem; font-weight: 800; letter-spacing: .08em; color: var(--ink); }
.about-copy h2 { margin-bottom: 18px; }
.about-copy .lead { font-size: 1.08rem; color: var(--muted); }
.creds { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 12px; }
/* Banner dividido: foto a media pantalla + texto sobre el mismo fondo de la foto */
.about-split { --photo-bg: #EAE9E7; background: var(--photo-bg); overflow: hidden; }
.about-split .about-grid { grid-template-columns: minmax(0, .62fr) 1fr; gap: 0; align-items: stretch; min-height: 560px; max-width: 1440px; margin: 0 auto; }
.about-split .doc-photo { position: relative; margin: 0; max-width: none; overflow: hidden; }
.about-split .doc-photo::before { display: none; }
.about-split .doc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.08); transition: transform 1.8s var(--ease); }
.about-split .doc-photo.in img { transform: scale(1); }
.about-split .doc-photo::after { content: ''; position: absolute; top: 0; bottom: 0; right: 0; width: 18%; background: linear-gradient(90deg, rgba(234, 233, 231, 0), var(--photo-bg)); pointer-events: none; }
.about-split .doc-badge { left: clamp(20px, 4vw, 56px); right: auto; bottom: clamp(20px, 4vw, 48px); }
.about-split .about-copy { align-self: center; padding: clamp(56px, 7vw, 110px) clamp(24px, 6vw, 96px) clamp(56px, 7vw, 110px) clamp(24px, 3vw, 48px); max-width: 720px; }
.about-split .about-copy h2 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); }
.about-split .about-copy .lead { color: #46505d; }
.about-split .cred { background: rgba(255, 255, 255, .55); border-color: rgba(27, 32, 38, .06); backdrop-filter: blur(6px); }
.about-split .cred:hover { background: #fff; }
/* Tarjeta flotante con retratos editoriales que se alternan */
.about-split .about-grid { position: relative; }
/* Inicio · Excelencia médica: bloque centrado y ~10% más pequeño en escritorio */
@media (min-width: 901px) {
  #excelencia .about-grid { max-width: 1160px; grid-template-columns: minmax(0, .8fr) 1fr; min-height: 500px; }
  #excelencia .about-copy { justify-self: center; max-width: 660px; padding: clamp(40px, 4vw, 60px) clamp(24px, 4vw, 56px); }
  #excelencia .about-copy h2 { font-size: clamp(2.1rem, 3.4vw, 3.1rem); margin-bottom: 14px; }
  #excelencia .about-copy .lead { margin-bottom: .7em; }
  #excelencia .about-copy h2 em { display: block; }
  #excelencia .about-copy .lead { font-size: .97rem; }
  #excelencia .creds { margin: 22px 0 26px; gap: 10px; }
  #excelencia .cred { grid-template-columns: 46px 1fr; padding: 12px 16px 12px 12px; }
  #excelencia .cred .chip { width: 46px; height: 46px; }
  #excelencia .cred strong { font-size: .9rem; }
  #excelencia .doc-badge b { font-size: 2.1rem; }
}

.ed-card { position: absolute; z-index: 3; left: calc(42.5% - 205px); top: 62%; width: 170px; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; border: 5px solid #fff; background: #fff; box-shadow: 0 30px 60px -24px rgba(27, 32, 38, .55); transform: translateY(-50%) rotate(3deg); animation: floaty 7s ease-in-out infinite; }
.ed-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.2s ease, transform 4s ease; }
.ed-card img.on { opacity: 1; transform: scale(1); }
.ed-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 5px; z-index: 2; }
.ed-dots i { width: 5px; height: 5px; border-radius: 9px; background: rgba(255, 255, 255, .55); transition: width .5s, background .5s; }
.ed-dots i.on { width: 16px; background: #fff; }
@keyframes floaty { 0%, 100% { transform: translateY(-50%) rotate(3deg); } 50% { transform: translateY(calc(-50% - 10px)) rotate(1.5deg); } }
.cred { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; padding: 14px 18px 14px 14px; border-radius: 14px; background: var(--stone-2); border: 1px solid rgba(27, 32, 38, .06); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.cred:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: rgba(184, 146, 79, .4); }
.cred .chip { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--gold-2); }
.cred .chip .ic { width: 24px; height: 24px; }
.cred small { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-3); }
.cred strong { display: block; font-size: .98rem; line-height: 1.35; color: var(--ink); }

/* ================= CIFRAS ================= */
/* Panel flotante sobre el hero: contador, anillo y barra animados */
/* Cifras: franja propia bajo el hero, panel plateado (blanco a gris) con iconos en círculo negro fino */
.stats-band { position: relative; padding: clamp(28px, 4vw, 44px) 0; background: var(--stone); }
.stats-band .stats { max-width: 980px; }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 auto; padding: 0; list-style: none; border-radius: 14px; overflow: hidden; background: linear-gradient(100deg, #f7f7f6 0%, #ececeb 45%, #d6d6d5 70%, #a7a7a6 100%); border: 1px solid rgba(0, 0, 0, .06); box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 22px 40px -26px rgba(0, 0, 0, .55); }
.stats::before { content: ''; position: absolute; right: -8%; bottom: -60%; width: 60%; aspect-ratio: 1; pointer-events: none; opacity: .55; background: repeating-radial-gradient(circle at 70% 70%, transparent 0 9px, rgba(255, 255, 255, .55) 9px 10px); -webkit-mask: radial-gradient(circle at 70% 70%, #000 30%, transparent 70%); mask: radial-gradient(circle at 70% 70%, #000 30%, transparent 70%); }
.stats::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 100% 100%, rgba(0, 0, 0, .08), transparent 60%); }
.stat { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 18px 14px 16px; color: #111; cursor: default; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: rgba(0, 0, 0, .18); }
.stat .ring { position: relative; width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; color: #111; transition: transform .5s var(--ease); }
.stat .ring::before { content: ''; position: absolute; inset: 0; border-radius: 50%; padding: 1.2px; background: conic-gradient(#111 calc(var(--p, 0) * 360deg), rgba(0, 0, 0, .18) 0); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; transition: --p 1.8s; }
.stat .ring::after { content: none; }
.stat .ring .ic { width: 17px; height: 17px; stroke-width: 1.4; }
.stat:hover .ring { transform: translateY(-3px); }
.stat-txt { display: flex; flex-direction: column; align-items: center; }
.stat .num { display: flex; align-items: baseline; gap: 3px; font-family: var(--sans); font-weight: 800; font-size: clamp(1.6rem, 2.3vw, 2.1rem); line-height: 1; letter-spacing: -.01em; color: #0d0d0d; font-variant-numeric: lining-nums tabular-nums; }
.stat .num em { font-style: normal; font-weight: 700; font-size: .5em; color: #0d0d0d; }
.stat .lbl { display: block; margin-top: 6px; font-family: var(--serif); font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #1d1d1d; }
.stat .meter { display: block; width: 54px; height: 1px; margin-top: 8px; background: rgba(0, 0, 0, .12); overflow: hidden; }
.stat .meter i { display: block; height: 100%; width: 0; background: #111; transition: width 1.8s var(--ease); }
.stats.go .meter i { width: calc(var(--fill) * 100%); }
.stats.go .stat:nth-child(2) .meter i { transition-delay: .15s; }
.stats.go .stat:nth-child(3) .meter i { transition-delay: .3s; }
.stats.go .stat:nth-child(4) .meter i { transition-delay: .45s; }
@property --p { syntax: '<number>'; inherits: true; initial-value: 0; }
.stats.go .stat { --p: var(--fill); }
@keyframes sweep { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ================= PROCEDIMIENTOS (showcase dinámico) ================= */
.procs { background: var(--paper); }
.showcase { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.proc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; align-content: start; }
.proc-tab { position: relative; width: 100%; display: grid; grid-template-columns: 44px 1fr auto 34px; gap: 14px; align-items: center; padding: 18px 18px; text-align: left; border: 0; border-radius: 14px; background: transparent; color: var(--muted-2); cursor: pointer; transition: background .35s, color .35s; overflow: hidden; }
.proc-tab .n { font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--gold); }
.proc-tab .t { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 600; line-height: 1.1; color: inherit; }
.proc-tab .cat { font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.proc-tab .bar { position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; background: var(--line); }
.proc-tab .bar i { display: block; height: 100%; width: 0; background: var(--gold); }
.proc-tab:hover { color: var(--ink); }
.proc-tab.active { background: var(--stone-2); color: var(--ink); }
.proc-tab.active .bar i { animation: fill var(--dur, 7s) linear forwards; }
.paused .proc-tab.active .bar i { animation-play-state: paused; }
.proc-stage { position: relative; border-radius: 24px; overflow: hidden; min-height: 520px; background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.proc-stage figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
.proc-stage figure.on { opacity: 1; }
/* Reloj de cuenta regresiva del procedimiento activo */
.proc-clock { position: relative; width: 34px; height: 34px; display: grid; place-items: center; opacity: 0; transform: scale(.7); transition: opacity .4s, transform .4s var(--ease); }
.proc-tab.active .proc-clock { opacity: 1; transform: none; }
.proc-clock svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.proc-clock circle { fill: none; stroke-width: 2.2; }
.proc-clock .trk { stroke: rgba(27, 32, 38, .1); }
.proc-clock .arc { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 97.4; stroke-dashoffset: 0; }
.proc-tab.active .proc-clock .arc { animation: clockDown var(--dur, 4s) linear forwards; }
.proc-clock b { font: 800 .72rem var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
@keyframes clockDown { to { stroke-dashoffset: 97.4; } }
.proc-stage figure { transition: opacity 1.4s ease; }

.proc-stage figure img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.proc-stage figure.on img { animation: kenburns 9s ease-out forwards; }
.proc-stage::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 23, 28, 0) 25%, rgba(19, 23, 28, .55) 55%, rgba(19, 23, 28, .94)); pointer-events: none; }
.proc-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(22px, 3.5vw, 40px); }
.proc-info .pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.proc-info h3 { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3rem); margin: 14px 0 10px; color: #fff; }
.proc-info p { min-height: 5.2em; color: rgba(242, 242, 240, .86); font-size: 1rem; margin: 0 0 20px; max-width: 520px; }
.caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -.15em; background: var(--gold-2); animation: blink 1s steps(1) infinite; }
.proc-link { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid var(--gold-2); padding-bottom: 6px; }
.proc-link .ic { width: 16px; height: 16px; color: var(--gold-2); transition: transform .25s; }
.proc-link:hover .ic { transform: translateX(4px); }
.proc-more { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.proc-more a { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .82rem; font-weight: 700; text-decoration: none; color: var(--muted); transition: border-color .2s, color .2s, transform .2s; }
.proc-more a:hover { border-color: var(--gold); color: var(--ink); transform: translateY(-2px); }

/* ================= CONSULTA PERSONALIZADA + HUBSPOT ================= */
.consult { background: var(--stone); }
.consult-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.consult-copy p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); }
.ticks .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--ink); color: var(--gold-2); }
.dark .ticks li { color: #fff; }
.form-card { position: relative; padding: clamp(22px, 3vw, 34px); border-radius: 20px; background: var(--paper); color: var(--text); box-shadow: 0 30px 70px -32px rgba(0, 0, 0, .5); border-top: 4px solid var(--gold); }
.form-card h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2rem); color: var(--ink); }
.form-card > p { color: var(--muted); font-size: .92rem; margin: 6px 0 16px; }
.hs-form-frame { min-height: 380px; }
.form-trust { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: .78rem; color: var(--muted-2); }
.form-trust li { display: flex; align-items: center; gap: 6px; }
.form-trust .ic { width: 15px; height: 15px; color: var(--gold); }

/* ================= FILOSOFÍA ================= */
.philo { background: var(--paper); }
.philo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.philo-card { position: relative; padding: 34px 30px 32px; border-radius: 20px; background: var(--stone-2); border: 1px solid rgba(27, 32, 38, .06); overflow: hidden; transition: transform .4s var(--ease), background .4s, color .4s; }
.philo-card .n { font-family: var(--serif); font-size: 1rem; color: var(--gold-3); letter-spacing: .1em; }
.philo-card .line { height: 1px; background: rgba(27, 32, 38, .15); margin: 14px 0 22px; transform-origin: left; transform: scaleX(.25); transition: transform .6s var(--ease), background .4s; }
.philo-card h3 { font-family: var(--serif); font-size: 1.9rem; margin-bottom: 12px; }
.philo-card p { margin: 0; color: var(--muted); font-size: .95rem; transition: color .4s; }
.philo-card .big { position: absolute; right: 18px; top: 6px; font-family: var(--serif); font-size: 6rem; line-height: 1; color: rgba(27, 32, 38, .05); transition: color .4s; }
.philo-card:hover, .philo-card.active { transform: translateY(-6px); background: var(--ink); color: #fff; }
.philo-card:hover p, .philo-card.active p { color: var(--on-dark-muted); }
.philo-card:hover .line, .philo-card.active .line { transform: scaleX(1); background: var(--gold); }
.philo-card:hover .big, .philo-card.active .big { color: rgba(217, 188, 133, .12); }
.philo-card h3 .tw-caret { display: inline-block; width: 2px; height: .9em; margin-left: 3px; vertical-align: -.08em; background: var(--gold); animation: blink 1s steps(1) infinite; }
.philo-dots { display: none; }

/* ================= PRIMERA CONSULTA ================= */
.first { position: relative; overflow: hidden; }
.first-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.first-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.first-list li { padding: 20px 18px; border-radius: 14px; border: 1px solid rgba(242, 242, 240, .1); background: rgba(255, 255, 255, .03); display: grid; gap: 10px; transition: border-color .3s, background .3s; }
.first-list li:hover { border-color: rgba(217, 188, 133, .5); background: rgba(184, 146, 79, .08); }
.first-list .ic { width: 26px; height: 26px; color: var(--gold-2); }
.first-list strong { font-size: .98rem; }

/* ================= PROCESO EN 4 PASOS + VIDEO ================= */
.steps4 { background: var(--paper); }
.steps4-grid { display: grid; grid-template-columns: 320px 1fr; gap: clamp(36px, 7vw, 100px); align-items: center; max-width: 1000px; margin: 0 auto; }
.phone { margin: 0; }
.phone-frame { position: relative; aspect-ratio: 9 / 16; border-radius: 30px; padding: 7px; background: #0e1114; box-shadow: 0 40px 70px -40px rgba(27, 32, 38, .7); }
.sound-btn { position: absolute; top: 38px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font: 800 .66rem var(--sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; cursor: pointer; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); transition: background .25s, transform .25s; }
.sound-btn:hover { transform: translateX(-50%) translateY(-2px); }
.sound-btn svg { width: 15px; height: 15px; color: #c0392b; }
.sound-btn .w { display: none; }
.sound-btn[aria-pressed="true"] svg { color: var(--gold-3); }
.sound-btn[aria-pressed="true"] .w { display: inline; }
.sound-btn[aria-pressed="true"] .x { display: none; }
.phone-frame video { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; background: #2a3038; }
.phone figcaption { display: flex; gap: 8px; align-items: flex-start; margin-top: 18px; font-size: .8rem; line-height: 1.5; color: var(--muted-2); }
.phone figcaption .ic { width: 16px; height: 16px; color: var(--gold); margin-top: 2px; }
.steps4-list { list-style: none; padding: 0; margin: 0 0 30px; }
.steps4-list li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.steps4-list li:first-child { padding-top: 0; }
.s-ic { position: relative; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); background: #fff; transition: background .4s, color .4s, border-color .4s; }
.s-ic .ic { width: 19px; height: 19px; }
.s-ic b { position: absolute; top: -5px; right: -5px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold-2); font-size: .66rem; font-weight: 800; }
.steps4-list li:hover .s-ic { background: var(--ink); color: var(--gold-2); border-color: var(--ink); }
.steps4-list h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; color: var(--ink); margin-bottom: 2px; }
.steps4-list p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ================= RESEÑAS (mini, minimalistas) ================= */
.reviews { background: var(--stone); overflow: hidden; }
.g-score { text-decoration: none; transition: border-color .25s, transform .25s; }
.g-score:hover { border-color: var(--gold); transform: translateY(-1px); }
.g-score { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .86rem; font-weight: 700; color: var(--ink); margin-top: 18px; }
.g-score .stars { color: #f4b400; letter-spacing: 2px; }
/* Reseñas: una fila que avanza de una en una */
.marquee { width: min(1200px, 100% - 32px); margin-inline: auto; }
.rv-viewport { overflow: hidden; mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
.rv-track { display: flex; column-gap: 18px; transition: transform .9s var(--ease); will-change: transform; }
.rv { position: relative; flex: 0 0 calc((100% - 36px) / 3.25); display: flex; flex-direction: column; padding: 26px 26px 20px; border-radius: 16px; background: rgba(255, 255, 255, .6); border: 1px solid rgba(27, 32, 38, .06); opacity: .55; transition: opacity .9s, background .9s, transform .9s var(--ease); }
.rv.lead, .rv.lead + .rv, .rv.lead + .rv + .rv { opacity: 1; }
.rv.lead { background: #fff; transform: translateY(-4px); box-shadow: 0 18px 40px -28px rgba(27, 32, 38, .45); }
.rv-q { font-family: var(--serif); font-size: 3.4rem; line-height: .6; height: 22px; color: var(--gold); }
.rv p { flex: 1; margin: 6px 0 18px; font-size: .92rem; line-height: 1.6; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rv footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.rv footer strong { font-size: .84rem; color: var(--ink); margin-right: 8px; }
.rv footer .stars { color: #f4b400; font-size: .7rem; letter-spacing: 1px; }
.rv-g { width: 15px; height: 15px; flex: none; opacity: .8; }
.rv-dots { display: flex; justify-content: center; gap: 6px; margin-top: 26px; }
.rv-dots i { width: 6px; height: 6px; border-radius: 99px; background: #cfccc5; cursor: pointer; transition: width .5s var(--ease), background .5s; }
.rv-dots i.on { width: 22px; background: var(--gold); }

.g-cta { margin-top: 22px; }
.g-link { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(27, 32, 38, .12); background: rgba(255, 255, 255, .6); color: var(--muted); font-size: .8rem; font-weight: 700; text-decoration: none; transition: border-color .25s, color .25s, background .25s; }
.g-link svg { width: 16px; height: 16px; }
.g-link .ic { width: 14px; height: 14px; color: var(--gold); transition: transform .25s; }
.g-link:hover { border-color: var(--gold); color: var(--ink); background: #fff; }
.g-link:hover .ic { transform: translateX(3px); }

/* ================= TURISMO (teaser home) ================= */
.trip { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.trip-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.trip-copy p { color: var(--on-dark-muted); }
.trip-copy .btn { margin-top: 10px; }
.mini-clinic { display: flex; gap: 14px; align-items: center; margin-top: 28px; padding: 12px; border-radius: 16px; border: 1px solid rgba(242, 242, 240, .1); background: rgba(255, 255, 255, .03); text-decoration: none; color: inherit; transition: border-color .3s; }
.mini-clinic:hover { border-color: rgba(217, 188, 133, .5); }
.mini-clinic img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; flex: none; }
.mini-clinic small { display: block; font-size: .66rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.mini-clinic strong { font-family: var(--serif); font-size: 1.35rem; color: #fff; display: block; line-height: 1.1; }
.mini-clinic span { font-size: .8rem; color: var(--on-dark-muted); }
.rotator { display: inline-block; position: relative; color: var(--gold-2); }

/* Mapa de vuelos */
.map-card { position: relative; border: 1px solid rgba(242, 242, 240, .08); border-radius: 22px; background: radial-gradient(120% 90% at 30% 50%, #232a33, var(--ink-2)); padding: clamp(6px, 1.5vw, 18px); overflow: hidden; }
.map-card.subtle { border-color: transparent; background: transparent; padding: 0; }
.flight-map { width: 100%; height: auto; }
.route-line { fill: none; stroke: var(--gold-2); stroke-width: .9; stroke-dasharray: 2.5 3.5; opacity: .5; }
.route-trail { fill: none; stroke: var(--gold-2); stroke-width: 1.3; opacity: .9; stroke-linecap: round; }
.city-dot { fill: var(--gold-2); }
.city-label { fill: #e7e0d3; font: 800 7px var(--sans); letter-spacing: .12em; opacity: .85; }
.baq-dot { fill: var(--gold); stroke: #fff; stroke-width: 1.4; }
.baq-ring { fill: none; stroke: var(--gold-2); stroke-width: 1.2; }
.baq-tag rect { fill: #fff; }
.baq-tag text { fill: var(--ink); font: 800 8.5px var(--sans); }
.map-dots { opacity: .7; }

/* ================= TURISMO (página) ================= */
.journey { background: var(--ink); color: var(--on-dark); }
.timeline { position: relative; margin: 46px 0 40px; }
.tl-track { position: absolute; left: 8.33%; right: 8.33%; top: 30px; height: 2px; background: rgba(242, 242, 240, .1); border-radius: 2px; }
.tl-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); transition: width .9s var(--ease); border-radius: 2px; }
.tl-plane { position: absolute; top: 50%; left: 0; width: 26px; height: 26px; margin: -13px 0 0 -13px; color: var(--gold-2); transition: left .9s var(--ease); filter: drop-shadow(0 0 8px rgba(217, 188, 133, .6)); }
.tl-plane svg { width: 100%; height: 100%; transform: rotate(45deg); }
.tl-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; position: relative; }
.tl-step { text-align: center; cursor: pointer; }
.tl-node { position: relative; width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-3); border: 1px solid rgba(242, 242, 240, .12); color: var(--on-dark-muted); transition: background .5s, color .5s, border-color .5s, transform .5s var(--ease), box-shadow .5s; }
.tl-node .ic { width: 24px; height: 24px; }
.tl-step .num { display: block; font-family: var(--serif); font-size: 1rem; font-style: italic; color: rgba(217, 188, 133, .5); transition: color .4s; }
.tl-step h3 { font-family: var(--sans); font-size: .98rem; font-weight: 800; margin: 4px 0 6px; color: var(--on-dark-muted); transition: color .4s; }
.tl-step p { font-size: .84rem; color: rgba(174, 180, 188, .7); margin: 0; transition: color .4s; }
.tl-step.done .tl-node { background: rgba(184, 146, 79, .18); border-color: rgba(217, 188, 133, .5); color: var(--gold-2); }
.tl-step.current .tl-node { background: linear-gradient(135deg, var(--gold-2), var(--gold) 60%, var(--gold-3)); border-color: transparent; color: #fff; transform: scale(1.12); box-shadow: 0 0 0 8px rgba(184, 146, 79, .14), 0 14px 30px -10px rgba(184, 146, 79, .8); }
.tl-step.current h3, .tl-step.done h3 { color: #fff; }
.tl-step.current p { color: var(--on-dark-muted); }
.tl-step.current .num { color: var(--gold-2); }
.journey-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.journey-cta small { color: var(--on-dark-muted); font-size: .84rem; }

.clinic-sec { background: var(--ink); padding-top: 0; }
.clinic { display: grid; grid-template-columns: 1fr 1.1fr; border-radius: 24px; overflow: hidden; background: var(--stone-2); color: var(--text); }
.clinic-photo { position: relative; overflow: hidden; min-height: 340px; }
.clinic-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.clinic:hover .clinic-photo img { transform: scale(1.05); }
.clinic-photo .seal { position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(19, 23, 28, .75); backdrop-filter: blur(8px); color: #fff; font-size: .78rem; font-weight: 700; }
.clinic-photo .seal .ic { color: var(--gold-2); }
.clinic-copy { padding: clamp(26px, 4vw, 48px); }
.clinic-copy h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 3vw, 2.5rem); margin-bottom: 12px; color: var(--ink); }
.clinic-copy p { color: var(--muted); }
.clinic-copy ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; font-size: .92rem; font-weight: 700; }
.clinic-copy li { display: flex; gap: 10px; align-items: center; opacity: 0; transform: translateX(-12px); transition: opacity .6s, transform .6s var(--ease); }
.clinic.in li { opacity: 1; transform: none; }
.clinic.in li:nth-child(2) { transition-delay: .15s; }
.clinic.in li:nth-child(3) { transition-delay: .3s; }
.clinic-copy li .ic { width: 18px; height: 18px; color: var(--gold); }

/* Planes Barranquilla */
.city { background: var(--stone); }
.tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 32px; flex-wrap: wrap; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); font: 700 .9rem var(--sans); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.tab .ic { width: 18px; height: 18px; }
.tab:hover { border-color: var(--gold); }
.tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; animation: fade .45s ease; }
.plan-track[hidden] { display: none !important; }
#panel-night { grid-template-columns: repeat(3, 1fr); }
.city-intro { max-width: 760px; margin: -6px auto 30px; text-align: center; font-size: .95rem; line-height: 1.75; color: var(--muted, #5d6168); }
.plan-card { background: #fff; border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); }
.plan-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.plan-card:hover .plan-img img { transform: scale(1.06); }
.plan-body { position: relative; padding: 0 20px 22px; }
.plan-body .chip { margin-top: -24px; position: relative; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; border: 4px solid #fff; box-sizing: content-box; background: var(--stone-2); color: var(--gold-3); }
.plan-body h3 { font-size: 1.05rem; font-weight: 800; margin: 12px 0 6px; }
.plan-body p { font-size: .9rem; color: var(--muted); margin: 0; }
.recovery-note { display: flex; gap: 12px; align-items: flex-start; max-width: 820px; margin: 30px auto 0; padding: 16px 20px; border-radius: 12px; background: var(--stone-2); border: 1px dashed var(--gold); font-size: .9rem; color: var(--muted); }
.recovery-note .ic { color: var(--gold); margin-top: 2px; }

/* ================= FAQ ================= */
.faq { background: var(--paper); }
.faq-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.qa { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.qa[open] { border-color: rgba(184, 146, 79, .5); box-shadow: var(--shadow); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa h3 { font-size: 1.02rem; font-weight: 800; }
.qa summary .pm { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--stone-2); flex: none; transition: background .3s, transform .3s; }
.qa summary .pm::before, .qa summary .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; margin: -.8px 0 0 -5.5px; background: var(--gold-3); transition: transform .3s; }
.qa summary .pm::after { transform: rotate(90deg); }
.qa[open] summary .pm { background: var(--ink); }
.qa[open] summary .pm::before, .qa[open] summary .pm::after { background: var(--gold-2); }
.qa[open] summary .pm::after { transform: rotate(0); }
.qa .ans { padding: 0 24px 22px; color: var(--muted); animation: fade .4s ease; }
.qa .ans p { margin: 0; }
.faq-help { margin-top: 40px; padding: 28px; border-radius: 20px; background: var(--ink); color: #fff; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.faq-help h3 { font-family: var(--serif); font-size: 1.8rem; }
.faq-help p { margin: 4px 0 0; color: var(--on-dark-muted); }

/* ================= CONTACTO ================= */
.contact { background: var(--ink); color: var(--on-dark); padding-top: 170px; }
.contact h1 { font-size: clamp(2.6rem, 5vw, 4rem); color: #fff; }
.contact h1 em { color: var(--gold-2); }
.contact .kicker { color: var(--gold-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-copy > p { color: var(--on-dark-muted); margin-top: 18px; font-size: 1.05rem; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list .ic { color: var(--gold-2); margin-top: 3px; }
.contact-list strong { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 2px; }
.contact-list span, .contact-list a { color: var(--on-dark-muted); text-decoration: none; }
.contact-list a:hover { color: #fff; }
.contact-social { display: flex; gap: 10px; margin-top: 30px; }
.contact-social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(242, 242, 240, .2); color: #fff; transition: border-color .2s, color .2s, transform .2s; }
.contact-social a:hover { border-color: var(--gold-2); color: var(--gold-2); transform: translateY(-2px); }
.contact-social .ic { width: 18px; height: 18px; }
.map-embed { margin-top: 60px; border-radius: 22px; overflow: hidden; height: 360px; background: var(--ink-3); border: 1px solid rgba(242, 242, 240, .08); }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6) contrast(1.05); }
.map-embed button { width: 100%; height: 100%; border: 0; background: transparent; color: var(--on-dark-muted); cursor: pointer; display: grid; place-content: center; gap: 10px; justify-items: center; }
.map-embed button .ic { width: 30px; height: 30px; color: var(--gold-2); }

/* ================= RESULTADOS (galería tipo Instagram) ================= */
.ig-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 5vw, 60px); align-items: center; padding-bottom: 34px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.ig-avatar { width: clamp(96px, 14vw, 150px); aspect-ratio: 1; border-radius: 50%; padding: 4px; background: conic-gradient(var(--gold-2), var(--gold-3), var(--gold-2)); }
.ig-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid var(--paper); background: var(--ink); }
.ig-user { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.ig-user h2 { font-family: var(--sans); font-size: 1.35rem; font-weight: 700; }
.ig-stats { display: flex; gap: 28px; margin: 16px 0 10px; list-style: none; padding: 0; font-size: .95rem; }
.ig-stats b { font-weight: 800; }
.ig-bio { font-size: .92rem; color: var(--muted); margin: 0; }
.ig-filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 20px; padding-bottom: 4px; }
.ig-filters::-webkit-scrollbar { display: none; }
.ig-filters button { flex: none; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: .84rem; color: var(--muted); cursor: pointer; transition: .2s; }
.ig-filters button.active, .ig-filters button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ig-item { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: var(--stone-2); cursor: pointer; border: 0; padding: 0; }
.ig-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ig-item:hover img { transform: scale(1.05); }
.ig-item video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; pointer-events: none; }
.ig-item.playing video { opacity: 1; }
.ig-item .ov { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; background: linear-gradient(transparent 45%, rgba(19, 23, 28, .8)); color: #fff; text-align: left; opacity: 0; transition: opacity .3s; }
.ig-item:hover .ov, .ig-item:focus-visible .ov { opacity: 1; }
.ig-item .ov small { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); font-weight: 800; }
.ig-item .ov strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.ig-item .ba { position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 999px; background: rgba(19, 23, 28, .7); color: #fff; font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ig-item.ph { display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--muted-2); border: 1px dashed #cfccc5; cursor: default; background: repeating-linear-gradient(135deg, var(--stone-2), var(--stone-2) 10px, #efeeea 10px, #efeeea 20px); }
.ig-item.ph .ic { width: 28px; height: 28px; color: var(--gold); }
.ig-item.ph span { font-size: .78rem; font-weight: 700; }
.ig-note { margin: 26px auto 0; max-width: 720px; text-align: center; font-size: .86rem; color: var(--muted-2); }
.lightbox { position: fixed; inset: 0; z-index: 90; display: none; place-items: center; padding: 20px; background: rgba(19, 23, 28, .92); }
.lightbox.open { display: grid; animation: fade .3s; }
.lightbox img { max-height: 82vh; border-radius: 12px; }
.lightbox p { color: #fff; text-align: center; margin: 12px 0 0; }
.lightbox button { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.disclaimer-sm { font-size: .78rem; color: var(--muted-2); text-align: center; margin-top: 14px; }

/* ================= ACERCA DE MÍ ================= */
.about-page { padding-top: 104px; }
.about-page .about-copy h1 { font-size: clamp(2.5rem, 4.6vw, 3.9rem); color: var(--ink); margin-bottom: 18px; }
.about-page .about-copy h1 em { display: block; }
.about-page .hero-actions { margin-top: 4px; }
/* Acerca de mí: foto en la mitad izquierda (a sangre) y texto centrado y más compacto en la mitad derecha */
.about-page .about-grid { grid-template-columns: 1fr 1fr; max-width: none; min-height: calc(100vh - 104px); }
.about-page .doc-photo img { object-position: 50% 30%; }
.about-page .doc-photo::after { width: 42%; background: linear-gradient(90deg, rgba(234, 233, 231, 0) 0%, rgba(234, 233, 231, .55) 45%, var(--photo-bg) 100%); }
.about-page .about-copy { align-self: center; justify-self: center; max-width: 540px; padding: 48px 32px; }
.about-page .about-copy h1 { font-size: clamp(2rem, 3.2vw, 2.9rem); margin-bottom: 14px; }
.about-page .about-copy .lead { font-size: .93rem; line-height: 1.7; margin-bottom: .8em; }
.about-page .creds { gap: 9px; margin: 20px 0 24px; }
.about-page .cred { grid-template-columns: 40px 1fr; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 12px; }
.about-page .cred .chip { width: 40px; height: 40px; border-radius: 10px; }
.about-page .cred .chip .ic { width: 19px; height: 19px; }
.about-page .cred small { font-size: .6rem; }
.about-page .cred strong { font-size: .84rem; font-weight: 700; }
.about-page .btn { padding: 13px 20px; font-size: .7rem; }
.about-page .kicker { margin-bottom: 12px; }
.crumbs-dark, .crumbs-dark a { color: var(--muted-2); }
.crumbs-dark a:hover { color: var(--gold-3); }
.values .quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.45; color: var(--ink); max-width: 760px; margin: 22px auto 0; }
.philo-grid.four { grid-template-columns: repeat(4, 1fr); }
.philo-grid.four .philo-card h3 { font-size: 1.65rem; }
.about-gallery { background: var(--stone); }
.ag-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; align-items: start; max-width: 1100px; margin: 0 auto; }
.ag-strip img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 10px; box-shadow: 0 14px 30px -22px rgba(27, 32, 38, .5); transition: transform .6s var(--ease), filter .6s; filter: grayscale(.15); }
.ag-strip img:nth-child(even) { margin-top: 30px; }
.ag-strip img:hover { transform: translateY(-8px) scale(1.02); filter: none; }

/* ================= EQUIPO (estilo tarjetas verticales) ================= */
.team-sec { background: var(--ink); color: var(--on-dark); }
.team-sec h2 { color: #fff; }
.team-sec h2 em { color: var(--gold-2); }
.team-sec .kicker { color: var(--gold-2); }
.team-sec .sec-head p { color: var(--on-dark-muted); }
.members { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 1100px) { .members { grid-template-columns: repeat(3, 1fr); } }
.member { position: relative; display: flex; flex-direction: column; gap: 14px; }
.member__media { position: relative; border-radius: 22px; overflow: hidden; background: #e9e8e5; border: 1px solid rgba(242, 242, 240, .08); isolation: isolate; }
.member.lead .member__media { border-color: rgba(217, 188, 133, .6); box-shadow: 0 0 0 1px rgba(217, 188, 133, .25); }
.member__photo { aspect-ratio: 3 / 4; overflow: hidden; background: #e9e8e5; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; filter: grayscale(.35) saturate(.85); transform: scale(1); transition: filter .7s var(--ease), transform .9s var(--ease); }
.member:hover .member__photo img { filter: none; transform: scale(1.04); }
.member__photo.is-empty { display: grid; place-items: center; background: linear-gradient(160deg, #262c34, #13171c); }
.member__photo.is-empty::before { content: attr(data-initials); font-family: var(--serif); font-size: 4.5rem; color: rgba(217, 188, 133, .35); letter-spacing: .04em; }
.member__media::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(transparent 58%, rgba(10, 12, 15, .82) 100%); }
.member__info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 16px 16px 16px; }
.member__info h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin: 0 0 3px; color: #fff; }
.member__role { margin: 0; font-size: .6rem; font-weight: 800; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; background: linear-gradient(90deg, var(--gold-2), #f3dfb4, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.member__focus { margin: 0; padding: 0 4px; font-size: .86rem; line-height: 1.55; color: var(--on-dark-muted); }
.member:hover .member__focus { color: #e6e1d8; }
/* Versión web: el doctor en el centro (Miguel · Karmen · Luis · Nazly · Ena); en móvil sigue primero */
@media (min-width: 901px) {
  .members .member:nth-child(1) { order: 3; }
  .members .member:nth-child(2) { order: 1; }
  .members .member:nth-child(3) { order: 2; }
  .members .member:nth-child(4) { order: 4; }
  .members .member:nth-child(5) { order: 5; }
}

/* ================= PROCEDIMIENTOS (página única con tarjetas) ================= */
.pc-sec { background: var(--paper); }
.pc-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.pc-filters button { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 700 .86rem var(--sans); color: var(--muted); cursor: pointer; transition: .25s; }
.pc-filters button.on, .pc-filters button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.pc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pc-card[hidden] { display: none; }
.pc-open { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; text-align: left; border: 1px solid rgba(27, 32, 38, .07); border-radius: 18px; overflow: hidden; background: #fff; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s; }
.pc-open:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pc-img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--stone-2); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pc-open:hover .pc-img img { transform: scale(1.05); }
.pc-cat { position: absolute; left: 14px; top: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(19, 23, 28, .72); backdrop-filter: blur(6px); color: var(--gold-2); font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.pc-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 20px 20px; }
.pc-body h2 { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; color: var(--ink); }
.pc-short { font-size: .88rem; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.pc-tabs { margin-bottom: 28px; }
.pc-res { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.pc-res img { width: 40px; height: 50px; object-fit: cover; border-radius: 6px; }
.pc-res small { margin-left: 4px; font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-3); }
.pc-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.pc-more .ic { width: 15px; height: 15px; color: var(--gold); transition: transform .25s; }
.pc-open:hover .pc-more .ic { transform: translateX(4px); }
.pc-geo { margin-top: 56px; padding: clamp(24px, 4vw, 40px); border-radius: 20px; background: var(--stone); text-align: center; }
.pc-geo h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 12px; }
.pc-geo p { max-width: 760px; margin: 0 auto 22px; color: var(--muted); }
/* Panel de detalle */
.pd-modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 20px; background: rgba(19, 23, 28, .72); backdrop-filter: blur(4px); animation: fade .3s; }
.pd-modal[hidden] { display: none; }
.pd-box { position: relative; width: min(980px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; border-radius: 22px; background: var(--paper); box-shadow: 0 40px 90px -30px #000; animation: rise .45s var(--ease); }
.pd-close { position: sticky; top: 14px; float: right; margin: 14px 14px 0 0; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; }
.pd-content { padding: clamp(20px, 3.5vw, 40px); }
.pd-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: start; }
.pd-head img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.pd-head h3 { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.pd-head p { color: var(--muted); font-size: .94rem; }
.pd-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); margin: 34px 0 14px; }
.pd-ben { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pd-ben li { display: flex; gap: 12px; padding: 16px; border-radius: 14px; background: var(--stone-2); }
.pd-ben strong { display: block; font-size: .92rem; color: var(--ink); margin-bottom: 4px; }
.pd-ben p { margin: 0; font-size: .84rem; color: var(--muted); }
.pd-n { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; }
.pd-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pd-cases img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.pd-faq .qa h4 { font-size: .96rem; font-weight: 800; }


/* Clínicas: dos tarjetas (turismo) y dos mini tarjetas (inicio) */
.mini-clinics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.mini-clinics .mini-clinic { margin-top: 0; padding: 10px; gap: 10px; }
.mini-clinics .mini-clinic img { width: 56px; height: 56px; border-radius: 10px; }
.mini-clinics .mini-clinic strong { font-size: 1.05rem; }
.mini-clinics .mini-clinic span { font-size: .72rem; }
.clinics { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.clinic-card { display: grid; grid-template-columns: 170px 1fr; border-radius: 20px; overflow: hidden; background: var(--stone-2); color: var(--text); transition: transform .35s var(--ease), box-shadow .35s; }
.clinic-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px #000; }
.cc-photo { position: relative; min-height: 100%; overflow: hidden; }
.cc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.clinic-card:hover .cc-photo img { transform: scale(1.06); }
.cc-photo .seal { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 6px; padding: 7px 9px; border-radius: 10px; background: rgba(19, 23, 28, .78); color: #fff; font-size: .62rem; font-weight: 700; line-height: 1.25; }
.cc-photo .seal .ic { width: 14px; height: 14px; color: var(--gold-2); flex: none; }
.cc-copy { padding: 22px 22px 20px; }
.cc-copy h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.cc-copy p { font-size: .88rem; color: var(--muted); margin-bottom: 12px; }
.cc-copy ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .82rem; font-weight: 700; }
.cc-copy li { display: flex; gap: 8px; align-items: center; }
.cc-copy li .ic { width: 15px; height: 15px; color: var(--gold); flex: none; }


/* Espacio para la foto oficial de cada clínica (mientras llega): fondo neutro con ícono */
.mc-tile { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(145deg, #2a313a, #1a1f25); border: 1px solid rgba(217, 188, 133, .25); color: var(--gold-2); }
.mc-tile .ic { width: 24px; height: 24px; }
.cc-ph { background: radial-gradient(120% 90% at 30% 20%, #2f3640, #171b21); display: grid; place-items: center; }
.cc-ph-ic { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(217, 188, 133, .35); color: var(--gold-2); margin-bottom: 30px; }
.cc-ph-ic .ic { width: 28px; height: 28px; }


/* Planes Bronce · Plata · Oro */
.tiers-sec { background: var(--ink); color: var(--on-dark); padding-top: 0; }
.tiers-sec h2 { color: #fff; } .tiers-sec h2 em { color: var(--gold-2); } .tiers-sec .kicker { color: var(--gold-2); } .tiers-sec .sec-head p { color: var(--on-dark-muted); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.tier { position: relative; padding: 30px 26px 26px; border-radius: 20px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(242, 242, 240, .1); transition: transform .35s var(--ease), border-color .35s, background .35s; }
.tier:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .05); }
.tier-badge { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: .64rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #1b2026; }
.tier.bronze .tier-badge { background: linear-gradient(135deg, #e3b38a, #a8693f); }
.tier.silver .tier-badge { background: linear-gradient(135deg, #f1f1f1, #9fa4ab); }
.tier.gold .tier-badge { background: linear-gradient(135deg, var(--gold-2), var(--gold) 60%, var(--gold-3)); }
.tier.bronze:hover { border-color: rgba(200, 133, 86, .55); } .tier.silver:hover { border-color: rgba(200, 204, 210, .55); } .tier.gold { border-color: rgba(217, 188, 133, .45); }
.tier h3 { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: #fff; margin: 16px 0 6px; }
.tier-sub { color: var(--on-dark-muted); font-size: .9rem; margin-bottom: 16px; }
.tier ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tier li { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: #e6e1d8; }
.tier li .ic { width: 16px; height: 16px; color: var(--gold-2); margin-top: 3px; flex: none; }

/* ================= CTA band ================= */
.cta-band { background: linear-gradient(135deg, var(--ink-3), var(--ink-2)); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding: 56px 0; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.7rem); max-width: 640px; }
.cta-band h2 em { color: var(--gold-2); }

/* ================= FOOTER ================= */
.footer { background: var(--ink-2); color: var(--on-dark-muted); padding: 70px 0 30px; font-size: .9rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(242, 242, 240, .08); }
.foot-brand img { height: 56px; width: auto; margin-bottom: 18px; }
.foot-brand p { max-width: 320px; }
.footer h4 { font-family: var(--sans); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 16px; font-weight: 800; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { color: var(--on-dark-muted); text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.foot-contact li { display: flex; gap: 10px; }
.foot-contact .ic { width: 16px; height: 16px; color: var(--gold-2); margin-top: 4px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .8rem; }
.foot-social { display: flex; gap: 10px; margin-top: 18px; }
.foot-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(242, 242, 240, .15); }
.foot-social a:hover { border-color: var(--gold-2); color: var(--gold-2); }
.foot-social .ic { width: 16px; height: 16px; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); animation: pulse 2.6s infinite; transition: transform .25s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float .ic { width: 28px; height: 28px; }

/* ================= SELECTOR DE IDIOMA ================= */
.lang-toggle { display: inline-flex; padding: 2px; border-radius: 999px; border: 1px solid rgba(242, 242, 240, .2); background: transparent; cursor: pointer; }
.lang-toggle span { padding: 3px 9px; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .1em; color: var(--on-dark-muted); transition: .25s; }
.lang-toggle span.on { background: var(--gold-2); color: var(--ink); }
.drawer-foot .lang-toggle { justify-self: start; }

/* ================= INTRO CON LOGO ================= */
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: radial-gradient(120% 90% at 50% 40%, #fbfaf8, #e7e4df); color: var(--ink); text-align: center; transition: opacity .8s ease, visibility .8s; }
.intro.out { opacity: 0; visibility: hidden; }
.intro-logo { display: block; margin: 0 auto; width: min(460px, 82vw); } /* logo estático, sin animación */
.intro-logo img { width: 100%; height: auto; }
/* Chispa: un destello que recorre todo el logo (recortado a la forma del logo) + una estrella que viaja encima */
.shine { position: relative; display: inline-block; --logo: url(../img/logo-blanco-manual.webp); }
.intro-logo.shine { --logo: url(../img/logo-color.webp); }
.shine::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255, 246, 225, .95) 48%, rgba(217, 188, 133, .9) 52%, transparent 62%) no-repeat; background-size: 300% 100%; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; animation: shineSweep 4.5s ease-in-out infinite; }
.shine::before { content: ''; position: absolute; z-index: 2; top: 18%; left: 0; width: 14px; height: 14px; pointer-events: none; opacity: 0; background: radial-gradient(circle, #fff 0 18%, rgba(255, 240, 210, .9) 30%, transparent 62%); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); animation: sparkle 4.5s ease-in-out infinite; }
.intro-logo.shine::after, .intro-logo.shine::before { animation-delay: 1.1s; }
.intro-logo.shine::before { width: 24px; height: 24px; background: radial-gradient(circle, #fff 0 16%, #f3d9a2 34%, rgba(184, 146, 79, .6) 50%, transparent 68%); filter: drop-shadow(0 0 6px rgba(184, 146, 79, .8)); }
.intro-logo.shine::after { background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .85) 47%, rgba(243, 217, 162, .95) 52%, transparent 62%) no-repeat; background-size: 300% 100%; }
@keyframes shineSweep { 0% { background-position: 100% 0; } 55%, 100% { background-position: 0 0; } }
@keyframes sparkle { 0% { left: 0; opacity: 0; transform: scale(.4) rotate(0); } 8% { opacity: 1; } 45% { opacity: 1; transform: scale(1.1) rotate(90deg); } 55% { left: calc(100% - 14px); opacity: 0; transform: scale(.4) rotate(180deg); } 100% { left: calc(100% - 14px); opacity: 0; } }
.intro-name { display: none; margin: 18px 0 0; font-family: var(--serif); font-size: clamp(1.8rem, 5vw, 2.6rem); letter-spacing: .08em; opacity: 0; animation: rise .9s var(--ease) .55s forwards; }
.intro-sub { display: none; margin: 4px 0 0; font-size: .7rem; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-2); opacity: 0; animation: rise .9s var(--ease) .75s forwards; }
.intro-line { display: block; width: 180px; height: 1px; margin: 26px auto 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.intro-langs { margin-top: 30px; opacity: 0; animation: rise .9s var(--ease) 1.2s forwards; }
.intro-langs p { font-size: .8rem; color: var(--muted); margin-bottom: 14px; }
.intro-langs div { display: flex; gap: 12px; justify-content: center; }
.intro-langs button { display: grid; gap: 4px; min-width: 130px; padding: 14px 18px; border-radius: 14px; border: 1px solid rgba(27, 32, 38, .12); background: rgba(255, 255, 255, .7); color: var(--ink); font: 700 .95rem var(--sans); cursor: pointer; transition: border-color .25s, background .25s, transform .25s; }
.intro-langs button b { font-size: .7rem; letter-spacing: .18em; color: var(--gold-3); }
.intro-langs button:hover, .intro-langs button.sug { border-color: var(--gold); background: #fff; transform: translateY(-2px); }
.intro-langs small { display: block; margin-top: 14px; font-size: .72rem; color: var(--muted-2); }
@keyframes logoIn { to { opacity: 1; transform: scale(1); filter: blur(0); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes line { to { transform: scaleX(1); } }

/* ================= ANIMACIONES ================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
@keyframes fade { from { opacity: 0; } }
@keyframes fill { from { width: 0; } to { width: 100%; } }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(217, 188, 133, .7); } 80%, 100% { box-shadow: 0 0 0 10px rgba(217, 188, 133, 0); } }
@keyframes scrolly { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@keyframes wordIn { to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); } 50% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
  .reveal, .split-word { opacity: 1; transform: none; }
  .hero-media video { display: none; }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: grid; }
  .nav-cta .btn { display: none; }
  .plan-track, #panel-night { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .topline-l .hide-sm { display: none; }
  .about-grid, .consult-grid, .contact-grid, .sec-head.split, .clinic, .showcase, .trip-grid, .first-grid { grid-template-columns: 1fr; }
  .sec-head.split { gap: 14px; }
  .doc-photo { max-width: 460px; margin-inline: auto; width: 100%; }
  .doc-badge { right: 8px; }
  .rv { flex-basis: calc((100% - 18px) / 1.7); }
  .about-split .about-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .about-split .about-copy { min-width: 0; }
  .about-split .doc-photo { max-width: none; aspect-ratio: 1 / 1; max-height: 380px; }
  .about-split .doc-photo img { object-position: 50% 22%; }
  /* Texto en móvil: párrafos más cortos de leer y credenciales en tarjetas deslizables */
  .about-split .about-copy h2 { font-size: 2.2rem; }
  .about-split .about-copy .lead { font-size: .97rem; line-height: 1.7; }
  .about-split .creds { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 22px -16px 26px; padding: 4px 16px 10px; scrollbar-width: none; }
  .about-split .creds::-webkit-scrollbar { display: none; }
  .about-split .cred { flex: 0 0 78%; scroll-snap-align: start; grid-template-columns: 1fr; gap: 12px; align-items: start; padding: 18px; background: #fff; }
  .about-split .cred:hover { transform: none; }
  .about-split .cred strong { font-size: .95rem; }
  .about-split .doc-photo::after { top: auto; left: 0; width: auto; height: 22%; background: linear-gradient(180deg, rgba(234, 233, 231, 0), var(--photo-bg)); }
  .about-split .about-copy { padding: 8px 16px 64px; }
  .pass { position: relative; right: auto; bottom: auto; width: 250px; margin-top: 28px; }
  .steps4-grid { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .clinics, .mini-clinics { grid-template-columns: 1fr; }
  .clinic-card { grid-template-columns: 1fr; }
  .cc-photo { aspect-ratio: 16 / 9; }
  .pc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pc-res { flex-wrap: wrap; gap: 4px; }
  .pc-res img { width: 34px; height: 42px; }
  .pc-res small { flex-basis: 100%; margin: 2px 0 0; }
  .pc-body { padding: 14px; }
  .pc-body h2 { font-size: 1.2rem; }
  .pc-short { -webkit-line-clamp: 2; font-size: .8rem; }
  .pd-modal { padding: 0; place-items: end center; }
  .pd-box { max-height: 92vh; border-radius: 22px 22px 0 0; }
  .pd-head, .pd-ben, .pd-cases { grid-template-columns: 1fr; }
  .pd-head img { aspect-ratio: 16 / 10; }
  .pd-cases { grid-template-columns: repeat(3, 1fr); }
  .about-page { padding-top: 64px; }
  .about-page .about-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .about-page .about-copy { padding: 8px 16px 56px; max-width: none; justify-self: stretch; width: 100%; min-width: 0; }
  .members { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; justify-items: center; }
  .member { width: 100%; text-align: center; }
  .member.lead { grid-column: 1 / -1; width: min(300px, 78%); }
  .member:last-child:nth-child(even) { grid-column: 1 / -1; width: min(300px, 78%); }
  .member__info { padding: 12px; text-align: center; }
  .member__info h3 { font-size: 1.15rem; }
  .member__role { font-size: .55rem; }
  .member__focus { font-size: .78rem; padding: 0 2px; }
  .philo-grid.four { display: flex; }
  .ag-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 10px; scrollbar-width: none; }
  .ag-strip::-webkit-scrollbar { display: none; }
  .ag-strip img { flex: 0 0 46%; scroll-snap-align: center; }
  .ag-strip img:nth-child(even) { margin-top: 14px; }
  .phone { max-width: 260px; margin: 0 auto; }
  .ed-card { left: auto; right: 16px; top: 18px; width: 120px; transform: rotate(3deg); animation: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 12px; gap: 10px; }
  .stat + .stat::before { display: none; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(0, 0, 0, .14); }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(0, 0, 0, .14); }
  .stat .ring { width: 46px; height: 46px; }
  .stat .lbl { font-size: .78rem; letter-spacing: .08em; }
  .stats { background: linear-gradient(160deg, #f7f7f6 0%, #e6e6e5 55%, #b4b4b3 100%); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 14px; }
  .stat:nth-child(2) { border-right: 0; }

  /* Filosofía en móvil: carrusel deslizable, la tarjeta visible se activa */
  .philo-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 10px 16px 18px; scrollbar-width: none; }
  .philo-grid::-webkit-scrollbar { display: none; }
  .philo-card { flex: 0 0 82%; scroll-snap-align: center; min-height: 230px; padding: 28px 24px; }
  .philo-card:hover { transform: none; }
  .philo-card h3 { font-size: 1.8rem; min-height: 1.2em; }
  .philo-dots { display: flex; justify-content: center; gap: 6px; margin-top: 6px; }
  .philo-dots i { width: 6px; height: 6px; border-radius: 9px; background: #cfccc5; transition: width .4s, background .4s; }
  .philo-dots i.on { width: 20px; background: var(--gold); }
  .proc-stage { min-height: 460px; order: -1; }
  .proc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proc-list li, .proc-tab { min-width: 0; }
  .proc-tab { grid-template-columns: 1fr auto; gap: 2px 8px; padding: 14px; }
  .proc-tab .n { grid-column: 1; }
  .proc-tab .t { grid-column: 1; }
  .proc-clock { grid-column: 2; grid-row: 1 / span 2; width: 30px; height: 30px; }
  .proc-tab .n { font-size: 1rem; }
  .proc-tab .t { font-size: 1.08rem; hyphens: auto; -webkit-hyphens: auto; }
  .proc-tab .cat { display: none; }
  .tl-track { left: 29px; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto; }
  .tl-fill { width: 100% !important; height: 0; transition: height .9s var(--ease); }
  .tl-plane { left: 50% !important; top: 0; transition: top .9s var(--ease); }
  .tl-plane svg { transform: rotate(135deg); }
  .tl-steps { grid-template-columns: 1fr; gap: 22px; }
  .tl-step { display: grid; grid-template-columns: 60px 1fr; gap: 18px; text-align: left; align-items: start; }
  .tl-node { margin: 0; }
  .tl-step.current .tl-node { transform: scale(1.06); }
  .clinic-photo { min-height: 240px; }
  .plan-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -16px; padding: 4px 16px 14px; scrollbar-width: none; }
  .plan-track::-webkit-scrollbar { display: none; }
  .plan-card { flex: 0 0 82%; scroll-snap-align: center; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-inline: -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .tab { flex: none; padding: 11px 16px; font-size: .86rem; }
  .ig-grid { gap: 3px; }
  .ig-item { border-radius: 2px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .topline { display: none; }
  .site-header { top: 0; }
  .brand img, .scrolled .brand img { height: 40px; }
  .hero { padding: 120px 0 80px; min-height: 92svh; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero h1 { font-size: 2rem; }
  .first-list { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .rv { flex-basis: 84%; padding: 22px 20px 18px; }
  .ig-head { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .ig-user, .ig-stats { justify-content: center; }
  .ig-stats { gap: 18px; font-size: .86rem; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .ig-item .ov { display: none; }
  .page-hero { padding: 130px 0 64px; }
  .contact { padding-top: 120px; }
  .city-label { font-size: 8.5px; }
  .proc-info p { min-height: 7em; font-size: .94rem; }
}
