/* ============================================================
   Dr. Jesús Valencia Ángel — Urología · Cirugía Robótica
   Estética: premium quirúrgica · azul marino + dorado · serif
   ============================================================ */

:root {
  /* Azul marino */
  --navy-900: #071628;
  --navy-800: #0B2038;
  --navy-700: #0F2B49;
  --navy-600: #16385C;
  --navy-500: #1F476F;

  /* Dorado */
  --gold:      #C6A15B;
  --gold-soft: #D9BE86;
  --gold-deep: #A98442;
  --gold-tint: #F5EEDF;

  /* WhatsApp */
  --wa:      #25D366;
  --wa-dark: #1DA851;

  /* Neutros */
  --ink:    #14202E;
  --text:   #45566A;
  --muted:  #8494A6;
  --line:   #E7E9EE;
  --line-2: #DADEE6;

  /* Superficies */
  --bg:      #FCFCFB;
  --soft:    #F6F5F1;
  --panel:   #FFFFFF;

  --shadow-sm: 0 2px 10px rgba(11, 32, 56, 0.06);
  --shadow-md: 0 14px 40px rgba(11, 32, 56, 0.12);
  --shadow-lg: 0 30px 70px rgba(7, 22, 40, 0.22);

  --radius:    14px;
  --radius-lg: 20px;
  --radius-sm: 10px;

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Jost', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* Grano sutil sobre todo el sitio, para un acabado más editorial */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.12; margin: 0; font-weight: 600; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

/* ===== Botones ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 500; font-size: 0.96rem; letter-spacing: 0.02em;
  line-height: 1; padding: 15px 28px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--sm { padding: 11px 20px; font-size: 0.88rem; }
.btn--lg { padding: 17px 34px; font-size: 1.02rem; }
.btn--xl { padding: 21px 46px; font-size: 1.14rem; }
.btn--block { width: 100%; }

.btn--gold { background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep)); color: var(--navy-900); box-shadow: 0 8px 22px rgba(169, 132, 66, 0.32); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(169, 132, 66, 0.42); }

.btn--navy { background: var(--navy-800); color: #fff; box-shadow: 0 8px 20px rgba(11, 32, 56, 0.22); }
.btn--navy:hover { background: var(--navy-900); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(11, 32, 56, 0.3); }

.btn--outline-gold { background: transparent; color: var(--gold-soft); border-color: rgba(198, 161, 91, 0.5); }
.btn--outline-gold:hover { border-color: var(--gold); background: rgba(198, 161, 91, 0.1); transform: translateY(-2px); }

.btn--wa { background: var(--wa); color: #06331b; box-shadow: 0 10px 28px rgba(37, 211, 102, 0.36); }
.btn--wa:hover { background: var(--wa-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 38px rgba(37, 211, 102, 0.44); }

/* ===== Tipografía de sección ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-weight: 500; font-size: 0.74rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep);
  margin: 0 0 18px;
}
.eyebrow span { width: 30px; height: 1.5px; background: var(--gold); display: inline-block; }
.eyebrow--light { color: var(--gold-soft); }
.eyebrow--light span { background: var(--gold-soft); }
.eyebrow--center { justify-content: center; }

.section { padding: clamp(68px, 9vw, 118px) 0; }
.section--navy { background: linear-gradient(165deg, var(--navy-800), var(--navy-900)); color: #E6ECF3; position: relative; }
.section--soft { background: var(--soft); }
.section__title { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 600; letter-spacing: -0.01em; }
.section__title--light { color: #fff; }
.section__sub { font-size: 1.1rem; color: var(--text); margin-top: 18px; }
.section__sub--light { color: #B9C6D6; }
.section__header { max-width: 660px; }
.section__header--center { margin-inline: auto; text-align: center; }
.section__header--center .eyebrow { justify-content: center; }

.pending {
  display: inline-block; font-style: italic; color: #9A7420;
  background: #FBF4E2; border: 1px dashed #E0C577; border-radius: 8px;
  padding: 7px 13px; font-size: 0.9rem; line-height: 1.5;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252, 252, 251, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.navbar.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand__mark {
  display: block;
  height: 44px; width: auto; flex-shrink: 0;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(198, 161, 91, 0.35);
  transition: transform 0.4s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__text strong { font-family: var(--serif); font-weight: 700; font-size: 1.12rem; color: var(--ink); letter-spacing: 0.01em; }
.brand__text em { font-style: normal; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; }

.navbar__links { display: flex; align-items: center; gap: 2px; }
.navbar__links > a:not(.btn) {
  font-family: var(--sans); font-weight: 400; font-size: 0.92rem;
  color: var(--text); padding: 9px 13px; border-radius: 8px; white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.navbar__links > a:not(.btn):hover { color: var(--navy-900); background: rgba(198, 161, 91, 0.12); }
.navbar__links .btn { margin-left: 10px; }

.navbar__hamburger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; border-radius: 10px; transition: background 0.25s var(--ease), transform 0.15s; }
.navbar__hamburger:hover { background: rgba(198, 161, 91, 0.12); }
.navbar__hamburger:active { transform: scale(0.9); }
.navbar__hamburger span { width: 24px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.2s var(--ease); }
.navbar__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.navbar__mobile {
  display: flex; flex-direction: column; gap: 4px;
  max-height: 0; opacity: 0; overflow: hidden; padding: 0 24px;
  background: var(--panel); border-bottom: 1px solid transparent;
  transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease), padding 0.5s var(--ease), border-color 0.4s;
}
.navbar__mobile.open { max-height: 560px; opacity: 1; padding: 12px 24px 24px; border-color: var(--line); }
.navbar__mobile a:not(.btn) {
  font-family: var(--sans); font-weight: 500; color: var(--ink); padding: 14px 8px;
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateX(-10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.2s, padding 0.2s;
}
.navbar__mobile a:not(.btn):hover { color: var(--gold-deep); padding-left: 14px; }
.navbar__mobile .btn { margin-top: 14px; opacity: 0; transform: translateY(10px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.navbar__mobile.open a:not(.btn), .navbar__mobile.open .btn { opacity: 1; transform: none; }
.navbar__mobile.open a:nth-child(1) { transition-delay: 0.06s; }
.navbar__mobile.open a:nth-child(2) { transition-delay: 0.1s; }
.navbar__mobile.open a:nth-child(3) { transition-delay: 0.14s; }
.navbar__mobile.open a:nth-child(4) { transition-delay: 0.18s; }
.navbar__mobile.open a:nth-child(5) { transition-delay: 0.22s; }
.navbar__mobile.open .btn { transition-delay: 0.28s; }

/* ===== HERO ===== */
.hero {
  position: relative; overflow: hidden;
  color: #E6ECF3; text-align: center;
  background: radial-gradient(120% 120% at 50% 0%, var(--navy-700) 0%, var(--navy-900) 60%);
  padding: clamp(80px, 13vw, 150px) 0 clamp(72px, 11vw, 128px);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow { position: absolute; top: -30%; left: 50%; transform: translateX(-50%); width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(circle, rgba(198,161,91,0.18), transparent 62%); }
.hero__lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(198,161,91,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(198,161,91,0.06) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 50% 30%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000, transparent 72%);
}
.hero__ring {
  position: absolute; top: 50%; left: 50%;
  width: min(760px, 92vw); height: min(760px, 92vw);
  transform: translate(-50%, -50%);
  color: var(--gold);
  opacity: 0.5;
}
.hero__ring-track { opacity: 0.28; }
.hero__ring-arc { transform-origin: 300px 300px; animation: ringSpin linear infinite; }
.hero__ring-arc--1 { animation-duration: 34s; }
.hero__ring-arc--2 { animation-duration: 24s; animation-direction: reverse; }
.hero__ring-dot { transform-origin: 300px 300px; animation: ringSpin 34s linear infinite; }
@keyframes ringSpin { to { transform: rotate(360deg); } }

.hero__inner { position: relative; max-width: 860px; margin-inline: auto; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 0.76rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 26px; }
.hero__eyebrow span { width: 34px; height: 1.5px; background: var(--gold-soft); }
.hero__title { color: #fff; font-family: var(--serif); font-weight: 600; font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: 0.01em; }
.hero__spec { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.15rem, 2.6vw, 1.7rem); color: var(--gold-soft); margin: 12px 0 0; letter-spacing: 0.02em; }
.hero__lead { font-size: clamp(1rem, 1.5vw, 1.15rem); color: #BDCBDA; max-width: 620px; margin: 26px auto 34px; font-weight: 300; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.hero__marks { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; margin: 42px 0 0; padding: 0; }
.hero__marks li { position: relative; font-size: 0.86rem; letter-spacing: 0.06em; color: #A9BAC9; padding-left: 22px; }
.hero__marks li::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--gold); }

/* ===== Split ===== */
.split { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(36px, 5vw, 68px); align-items: center; }

/* ===== Banner cirugía robótica ===== */
.surgery-banner-section { padding: 44px 0 4px; }
.surgery-banner { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-md); }

/* ===== Sobre el doctor ===== */
.doctor__media { position: relative; }
.doctor__photo {
  display: block; width: 100%;
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg);
  object-fit: cover;
  border: 1px solid rgba(198,161,91,0.3);
  box-shadow: var(--shadow-md);
}
.doctor__seal {
  position: absolute; right: -18px; bottom: 26px;
  display: flex; align-items: center; gap: 12px;
  background: var(--navy-900); color: var(--gold-soft);
  padding: 16px 20px; border-radius: 12px;
  border: 1px solid rgba(198,161,91,0.4);
  box-shadow: var(--shadow-md);
  font-family: var(--serif); font-size: 0.92rem; font-weight: 600; line-height: 1.25;
}
.doctor__seal-line { width: 2px; height: 42px; background: var(--gold); flex-shrink: 0; }
.doctor__body p { margin: 0 0 16px; }
.creds { list-style: none; margin: 28px 0 32px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.creds li {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: var(--panel); border: 1px solid var(--line);
  border-left: 3px solid var(--gold); border-radius: var(--radius-sm);
  padding: 14px 20px; box-shadow: var(--shadow-sm);
}
.creds__label { font-size: 0.9rem; color: #5C6B7D; }
.creds__value { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; color: var(--navy-800); letter-spacing: 0.02em; }
.creds__value em { font-style: normal; font-family: var(--sans); font-weight: 400; font-size: 0.8rem; color: var(--gold-deep); }

/* ===== Cirugía por órgano ===== */
.section--navy .section__sub { color: #B9C6D6; }
.organs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; }
.organ {
  text-align: center; padding: 40px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(198,161,91,0.18);
  border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease), border-color 0.3s, background 0.3s;
}
.organ:hover { transform: translateY(-6px); border-color: rgba(198,161,91,0.5); background: rgba(198,161,91,0.06); }
.organ__icon {
  display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 22px;
  border-radius: 50%; color: var(--gold-soft);
  border: 1px solid rgba(198,161,91,0.35);
  background: radial-gradient(circle, rgba(198,161,91,0.12), transparent 70%);
  transition: transform 0.4s var(--ease);
}
.organ:hover .organ__icon { transform: scale(1.08); }
.organ__icon svg { width: 40px; height: 40px; }
.organ h3 { font-size: 1.5rem; color: #fff; margin-bottom: 10px; }
.organ p { font-size: 0.92rem; color: #A9BAC9; margin: 0; font-weight: 300; }

/* ===== Servicios ===== */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.service {
  position: relative; padding: 34px 30px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}
.service::before { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 0; background: var(--gold); transition: height 0.4s var(--ease); }
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.service:hover::before { height: 100%; }
.service__num { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--gold); letter-spacing: 0.05em; }
.service h3 { font-size: 1.4rem; margin: 10px 0 10px; }
.service p { font-size: 0.96rem; margin: 0; }
.service--cta { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); border-color: transparent; display: flex; flex-direction: column; }
.service--cta h3 { color: #fff; }
.service--cta p { color: #B9C6D6; flex-grow: 1; }
.service__link { margin-top: 16px; font-weight: 500; color: var(--gold-soft); display: inline-flex; align-items: center; gap: 7px; transition: gap 0.25s var(--ease), color 0.2s; }
.service--cta:hover .service__link { gap: 12px; color: #fff; }

/* ===== Paquete ===== */
.package {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(198,161,91,0.25);
}
.package__aside { padding: clamp(34px, 4vw, 54px); color: #E6ECF3; }
.package__title { font-size: clamp(1.7rem, 3vw, 2.5rem); color: #fff; margin-bottom: 16px; }
.package__desc { color: #B9C6D6; font-weight: 300; margin: 0 0 26px; }
.package__insurance {
  display: flex; gap: 13px; align-items: flex-start;
  background: rgba(198,161,91,0.1); border: 1px solid rgba(198,161,91,0.3);
  border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 30px;
}
.package__insurance svg { width: 26px; height: 26px; color: var(--gold-soft); flex-shrink: 0; margin-top: 2px; }
.package__insurance p { margin: 0; font-size: 0.9rem; color: #CBD6E2; }
.package__list { list-style: none; margin: 0; padding: clamp(34px, 4vw, 54px); background: var(--panel); display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.package__list li { display: flex; gap: 16px; align-items: flex-start; }
.package__check { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--gold-tint); color: var(--gold-deep); }
.package__check svg { width: 18px; height: 18px; }
.package__list h3 { font-size: 1.3rem; margin-bottom: 3px; }
.package__list p { margin: 0; font-size: 0.92rem; }

/* ===== Por qué elegirlo ===== */
.reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
.reason { text-align: center; }
.reason__icon {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px;
  border-radius: 16px; color: var(--gold-deep); background: var(--gold-tint);
  transition: transform 0.4s var(--ease);
}
.reason:hover .reason__icon { transform: translateY(-4px) rotate(-5deg); }
.reason__icon svg { width: 30px; height: 30px; }
.reason h3 { font-size: 1.35rem; margin-bottom: 8px; }
.reason p { font-size: 0.94rem; margin: 0; }

/* ===== Horario ===== */
.schedule { margin: 24px 0 28px; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.schedule__head { display: flex; align-items: center; gap: 10px; padding: 13px 20px; background: var(--navy-800); color: var(--gold-soft); }
.schedule__icon { display: flex; flex-shrink: 0; }
.schedule__icon svg { width: 18px; height: 18px; }
.schedule__title { font-family: var(--serif); font-weight: 600; font-size: 0.98rem; letter-spacing: 0.02em; }
.schedule__row { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 10px 14px; padding: 14px 20px; background: var(--panel); }
.schedule__row + .schedule__row { border-top: 1px solid var(--line); }
.schedule__days { font-family: var(--serif); font-weight: 700; font-size: 1rem; color: var(--navy-800); min-width: 88px; }
.schedule__hours { font-size: 0.92rem; color: var(--color-body, #45566A); flex: 1; }
.schedule__tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--navy-900); background: var(--gold-soft); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }

/* ===== Contacto ===== */
.office-banner { position: relative; margin-top: 48px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.office-banner img { display: block; width: 100%; height: clamp(320px, 46vw, 620px); object-fit: cover; }
.office-banner__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px clamp(20px, 4vw, 40px) 20px;
  background: linear-gradient(0deg, rgba(11,32,56,0.88), rgba(11,32,56,0));
  color: var(--gold-soft);
  font-family: var(--serif); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.01em;
}
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; margin-top: 28px; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.contact__info { padding: clamp(30px, 4vw, 46px); }
.contact__list { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.contact__list li { display: flex; gap: 15px; align-items: flex-start; }
.contact__ico { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: var(--gold-tint); color: var(--gold-deep); }
.contact__ico svg { width: 22px; height: 22px; }
.contact__label { display: block; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact__text { color: var(--ink); font-weight: 500; }
.contact__list a { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--navy-800); }
.contact__list a:hover { color: var(--gold-deep); }
.map-frame { min-height: 340px; background: var(--soft); }
.map-frame iframe { width: 100%; height: 100%; display: block; }

/* ===== CTA final ===== */
.cta-final { position: relative; overflow: hidden; text-align: center; color: #fff; padding: clamp(76px, 11vw, 130px) 0; background: linear-gradient(150deg, var(--navy-800), var(--navy-900)); }
.cta-final__bg { position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(198,161,91,0.22), transparent 55%); pointer-events: none; }
.cta-final__inner { position: relative; max-width: 740px; }
.cta-final h2 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 600; }
.cta-final__lead { font-size: 1.14rem; color: #BDCBDA; margin: 18px auto 36px; max-width: 560px; font-weight: 300; }
.cta-final__phone { font-size: 1rem; margin: 24px 0 0; color: #A9BAC9; }
.cta-final__phone a { font-family: var(--serif); font-weight: 600; color: var(--gold-soft); border-bottom: 1px solid rgba(198,161,91,0.4); }
.cta-final__phone a:hover { border-color: var(--gold-soft); }

/* ===== Footer ===== */
.footer { background: var(--navy-900); color: #9FB0C2; padding: 58px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 36px; align-items: start; padding-bottom: 40px; }
.footer__brand { display: flex; align-items: center; gap: 20px; }
.footer__brand-mark { display: block; height: 96px; width: auto; flex-shrink: 0; border-radius: 10px; }
.footer__brand strong { display: block; font-family: var(--serif); font-weight: 700; color: #fff; font-size: 1.15rem; }
.footer__brand span { font-size: 0.82rem; color: #7E90A4; letter-spacing: 0.04em; }
.footer__nav { display: flex; flex-direction: column; gap: 11px; }
.footer__nav a { font-size: 0.92rem; color: #9FB0C2; transition: color 0.2s; }
.footer__nav a:hover { color: var(--gold-soft); }
.footer__contact { display: flex; flex-direction: column; gap: 9px; font-size: 0.9rem; }
.footer__contact a:hover { color: var(--gold-soft); }
.footer__social { display: inline-flex; align-items: center; gap: 9px; margin-top: 6px; color: var(--gold-soft); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.09); padding: 22px 0; }
.footer__bottom p { text-align: center; margin: 4px 0; font-size: 0.8rem; color: #6E8095; }

/* ===== WhatsApp flotante ===== */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 14px 34px rgba(37, 211, 102, 0.55); }
.wa-float svg { width: 32px; height: 32px; position: relative; z-index: 2; }
.wa-float__pulse { position: absolute; inset: 0; border-radius: 50%; background: var(--wa); opacity: 0.55; animation: waPulse 2.4s ease-out infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.5; } 70% { transform: scale(1.7); opacity: 0; } 100% { opacity: 0; } }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.hero__eyebrow.reveal { transition-delay: 0.05s; }
.hero__title.reveal { transition-delay: 0.12s; }
.hero__spec.reveal { transition-delay: 0.2s; }
.hero__lead.reveal { transition-delay: 0.28s; }
.hero__ctas.reveal { transition-delay: 0.36s; }
.hero__marks.reveal { transition-delay: 0.44s; }
.organs .organ:nth-child(1), .services .service:nth-child(1), .reasons .reason:nth-child(1) { transition-delay: 0.02s; }
.organs .organ:nth-child(2), .services .service:nth-child(2), .reasons .reason:nth-child(2) { transition-delay: 0.1s; }
.organs .organ:nth-child(3), .services .service:nth-child(3), .reasons .reason:nth-child(3) { transition-delay: 0.18s; }
.organs .organ:nth-child(4), .services .service:nth-child(4), .reasons .reason:nth-child(4) { transition-delay: 0.26s; }
.services .service:nth-child(5) { transition-delay: 0.1s; }
.services .service:nth-child(6) { transition-delay: 0.18s; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .navbar__links { display: none; }
  .navbar__hamburger { display: flex; }
  .split { grid-template-columns: 1fr; }
  .doctor__media { max-width: 440px; margin-inline: auto; }
  .organs { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .reasons { grid-template-columns: repeat(2, 1fr); }
  .package { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .map-frame { min-height: 300px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .organs { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .reasons { grid-template-columns: 1fr; }
  .hero__ctas .btn { width: 100%; }
  .btn--xl { width: 100%; padding: 18px 30px; font-size: 1.05rem; }
  .creds li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .doctor__seal { right: 12px; }
  .footer__bottom { padding-bottom: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float__pulse { animation: none; }
  .hero__ring-arc, .hero__ring-dot { animation: none; }
  html { scroll-behavior: auto; }
}
