/* ============================================================
   DR. LUIS ANTONIO ROMERO BAUTISTA — CIRUGÍA GENERAL CDMX
   styles.css
   ============================================================ */

/* --- Google Fonts import --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --green-deep:    #296c2f;
  --green-mid:     #4e7b52;
  --green-sage:    #8db38b;
  --green-gray:    #4c5f5f;
  --beige:         #bdbea9;
  --beige-light:   #eeede6;
  --white:         #ffffff;
  --ink:           #1b2e1c;      /* Verde carbón oscuro — sustituye al negro puro */
  --ink-muted:     #4c5f5f;
  --surface-sage:  #e8ede8;
  --surface-beige: #f5f4ee;

  --ff-serif:  'Playfair Display', Georgia, serif;
  --ff-sans:   'DM Sans', system-ui, sans-serif;

  --r-xs:  12px;
  --r-sm:  20px;
  --r-md:  28px;
  --r-lg:  40px;
  --r-xl:  56px;

  --max-w: 1380px;
  --px: clamp(1.25rem, 4vw, 3rem);
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  overflow-x: hidden;
  font-family: var(--ff-sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: auto; object-fit: cover; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
.t-eyebrow {
  font-family: var(--ff-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-mid);
}

.t-display {
  font-family: var(--ff-serif);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.04;
  color: var(--ink);
}

.t-h2 {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
}

.t-h3 {
  font-family: var(--ff-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}

.t-lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-muted);
}

.t-body {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-muted);
}

.t-small {
  font-size: .85rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

.t-italic-accent {
  font-style: italic;
  color: var(--green-mid);
}

.t-green { color: var(--green-deep); }

/* ============================================================
   UTILITY
   ============================================================ */

.pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem 1rem;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 500;
  font-family: var(--ff-sans);
  white-space: nowrap;
}
.pill--sage   { background: var(--surface-sage); color: var(--green-deep); }
.pill--white  { background: rgba(255,255,255,.18); color: var(--white); border: 1px solid rgba(255,255,255,.35); }
.pill--beige  { background: var(--beige-light); color: var(--green-gray); }
.pill--border { background: transparent; border: 1.5px solid var(--green-mid); color: var(--green-mid); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.6rem;
  border-radius: 999px;
  font-family: var(--ff-sans);
  font-size: .9rem;
  font-weight: 600;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--green-deep);
  color: var(--white);
  border: none;
}
.btn-primary:hover {
  background: #1f5524;
  box-shadow: 0 6px 20px rgba(41,108,47,.28);
}

.btn-ghost {
  background: rgba(255,255,255,.14);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.22);
}

.btn-outline {
  background: transparent;
  color: var(--green-deep);
  border: 1.5px solid var(--green-deep);
}
.btn-outline:hover {
  background: var(--green-deep);
  color: var(--white);
}

.btn-wa {
  background: #25D366;
  color: var(--white);
}
.btn-wa:hover {
  background: #1dbd58;
  box-shadow: 0 6px 20px rgba(37,211,102,.28);
}

.btn-beige {
  background: var(--beige-light);
  color: var(--ink);
  border: 1px solid var(--beige);
}
.btn-beige:hover {
  background: var(--beige);
}

/* Check list */
.check-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.check-list li {
  display: flex; align-items: center; gap: .65rem;
  font-size: 1rem; color: var(--ink-muted);
}
.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green-deep);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3 8l3.5 3.5 6-7' fill='none'/%3E%3C/svg%3E");
  background-size: 13px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HEADER INTEGRADO EN HERO
   ============================================================ */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem var(--px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--white);
  font-family: var(--ff-serif);
  font-size: 1rem;
  font-weight: 500;
  flex-shrink: 0;
}
.header-logo img {
  width: 250px; 
 
}

@media (max-width: 992px){
  .header-logo img {
  width: 150px!important; 
 
}
}

/* Nav pill */
.nav-pill {
  display: flex;
  align-items: center;
  gap: .25rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: .35rem .5rem;
  backdrop-filter: blur(8px);
}
.nav-pill a {
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  font-weight: 500;
  padding: .3rem .75rem;
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.nav-pill a:hover {
  background: rgba(255,255,255,.15);
  color: var(--white);
}

.header-actions { display: flex; align-items: center; gap: .75rem; }
.header-tel {
  color: rgba(255,255,255,.8);
  font-size: .82rem;
  font-weight: 500;
  display: flex; align-items: center; gap: .4rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero-wrap {
  background: var(--green-mid);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  overflow: hidden;
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
}

/* Fondo orgánico sutil */
.hero-bg-shape {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg-shape svg {
  position: absolute;
  width: 100%; height: 100%;
  opacity: .09;
}

.hero-content {
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: 8rem var(--px) 4rem;
  position: relative;
  z-index: 2;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  max-width: 560px;
}

.hero-headline {
  font-family: var(--ff-serif);
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.03;
  color: var(--white);
}
.hero-headline em {
  font-style: italic;
  color: var(--beige);
}

.hero-lead {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: rgba(255,255,255,.78);
  line-height: 1.65;
  max-width: 420px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.hero-ctas { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }

.hero-trust {
  margin-top: .5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.55);
  font-size: .78rem;
  font-weight: 500;
}
.hero-trust::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: rgba(255,255,255,.35);
}

/* Foto hero */
.hero-photo-col {
  position: absolute;
  bottom: 0;
  right: var(--px);
  right: clamp(2rem, 8vw, 9rem);
  width: clamp(300px, 38vw, 540px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.hero-photo-frame {
  position: relative;
  width: 100%;
}
.hero-photo-frame img {
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  
 
}

/* Blob detrás de la foto */
.hero-blob {
  position: absolute;
  bottom: -20px;
  right: -30px;
  width: 120%;
  height: 110%;
  background: var(--green-mid);
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  opacity: .25;
  z-index: -1;
}

/* Tarjeta flotante sobre la foto */
.hero-float-card {
  position: absolute;
  bottom: 2.5rem;
  left: -3rem;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  color: var(--white);
  min-width: 190px;
  z-index: 10;
}
.hero-float-card .fc-label { font-size: .72rem; opacity: .7; font-weight: 500; margin-bottom: .2rem; }
.hero-float-card .fc-value { font-family: var(--ff-serif); font-size: 1.4rem; font-weight: 700; }
.hero-float-card .fc-sub   { font-size: .72rem; opacity: .65; margin-top: .1rem; }

/* Elementos decorativos del hero */
.hero-deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  pointer-events: none;
}
.deco-c1 { width: 320px; height: 320px; top: 10%; left: 55%; transform: translateX(-50%); }
.deco-c2 { width: 180px; height: 180px; top: 22%; left: 62%; transform: translateX(-50%); }

/* ============================================================
   SECCIÓN: ATENCIÓN QUIRÚRGICA (Servicios bento)
   ============================================================ */
.servicios-section {
  padding: clamp(4rem, 8vw, 7rem) var(--px);
  background: var(--white);
}

.servicios-header-right {
  font-size: 1rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* Bento grid */
.bento-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.bento-card {
  border-radius: var(--r-md);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform .25s ease;
  position: relative;
  overflow: hidden;
}
.bento-card:hover { transform: translateY(-5px); }

.bento-card--featured {
  background: var(--green-deep);
  color: var(--white);
  grid-row: 1 / 3;
  padding: 2.5rem 2rem;
  justify-content: flex-end;
}
.bento-card--featured .bento-title,
.bento-card--featured .bento-text  { color: var(--white); }
.bento-card--featured .bento-icon  { color: var(--green-sage); }
.bento-card--featured .t-eyebrow   { color: rgba(255,255,255,.6); }

.bento-card--sage   { background: var(--surface-sage); }
.bento-card--beige  { background: var(--surface-beige); }
.bento-card--white  {
  background: var(--white);
  border: 1.5px solid rgba(77,123,82,.15);
}

.bento-icon {
  font-size: 1.6rem;
  color: var(--green-mid);
}
.bento-title {
  font-family: var(--ff-serif);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}
.bento-text {
  font-size: .9rem;
  color: var(--ink-muted);
  line-height: 1.6;
  flex: 1;
}

.bento-photo {
  border-radius: var(--r-sm);
  overflow: hidden;
  margin: -2.5rem -2rem 1.5rem;
  height: 240px;
}

.bento-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--green-mid);
  margin-top: auto;
  transition: gap .2s;
}
.bento-link:hover { gap: .7rem; }
.bento-card--featured .bento-link { color: rgba(255,255,255,.8); }

/* ============================================================
   SECCIÓN: ESPECIALIDADES — 3 cards con imagen de fondo
   ============================================================ */

.espec-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  height: 520px;          /* altura generosa para apreciar la imagen */
  cursor: pointer;
  display: flex;
  align-items: flex-end;  /* texto pegado al fondo */
}

/* Imagen de fondo — cubre toda la card */
.espec-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .55s ease;
}
.espec-card:hover .espec-img {
  transform: scale(1.04);
}

/* Overlay difuminado: gradiente desde abajo */
.espec-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
  to top,
  rgb(14 59 17 / 85%) 0%,
  rgb(30 89 33 / 68%) 45%,
  rgb(44 127 48 / 32%) 75%,
  #306d297a 100%
);
  transition: background .35s ease;
  z-index: 1;
}
/* En hover: overlay más oscuro para que el texto siempre se lea */
.espec-card:hover .espec-overlay {
  background: linear-gradient(
    to top,
    rgba(25, 43, 26, .96) 0%,
    rgba(25, 43, 26, .65) 45%,
    rgba(25, 43, 26, .35) 75%,
    rgba(25, 43, 26, .12) 100%
  );
}

/* Contenido textual */
.espec-body {
  position: relative;
  z-index: 2;
  padding: 2rem 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  width: 100%;
}

.espec-icon {
  font-size: 1.5rem;
  color: var(--green-sage);
}

.espec-title {
  font-family: var(--ff-serif);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}

.espec-text {
  font-size: .88rem;
  color: rgba(255, 255, 255, .72);
  line-height: 1.6;
}

.espec-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--green-sage);
  margin-top: .25rem;
  transition: gap .2s;
}
.espec-link:hover { gap: .7rem; }

/* Responsive */
@media (max-width: 768px) {
  .espec-card { height: 380px; }
}

/* ============================================================
   SECCIÓN: MÍNIMA INVASIÓN (Editorial + foto)
   ============================================================ */
.minima-section {
  padding: clamp(4rem, 7vw, 6rem) var(--px);
  background: var(--surface-beige);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  margin-top: -2rem;
}



.minima-photo-wrap {
  position: relative;
}
.minima-photo {
  border-radius: var(--r-lg);
  overflow: hidden;

}

/* Tarjeta superpuesta sobre foto */
.minima-overlay-card {
  position: absolute;
  bottom: 2rem;
  right: -2rem;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 8px 32px rgba(41,108,47,.1);
  min-width: 200px;
}
.moc-label { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--green-mid); margin-bottom: .4rem; }
.moc-items { display: flex; flex-direction: column; gap: .4rem; }
.moc-item  { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--ink-muted); }
.moc-dot   { width: 8px; height: 8px; border-radius: 50%; background: var(--green-mid); flex-shrink: 0; }

.minima-text { display: flex; flex-direction: column; gap: 1.75rem; }
.minima-text .t-eyebrow { margin-bottom: -.5rem; }
.minima-checklist-wrap { margin-top: .5rem; }

/* ============================================================
   SECCIÓN: ESPECIALISTA (Editorial)
   ============================================================ */
.especialista-section {
  padding: clamp(4rem, 8vw, 7rem) var(--px);
  background: var(--white);
}



.esp-photo-wrap {
  position: relative;
}
.esp-photo {
  border-radius: var(--r-xl) var(--r-xl) var(--r-lg) var(--r-xl);
  
 
}
.esp-bg-shape {
  position: absolute;
  inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  background: var(--surface-sage);
  border-radius: var(--r-xl);
  z-index: -1;
}

/* Chip flotante sobre la foto */
.esp-float-badge {
  position: absolute;
  bottom: 2.5rem;
  right: -1.5rem;
  background: var(--green-deep);
  color: var(--white);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  min-width: 160px;
  z-index: 10;
}
.efb-icon { font-size: 1.3rem; margin-bottom: .4rem; color: var(--green-sage); }
.efb-label { font-size: .7rem; opacity: .7; font-weight: 500; margin-bottom: .15rem; }
.efb-value { font-family: var(--ff-serif); font-size: 1.15rem; font-weight: 700; }

.esp-text { gap: 1.75rem; padding-top: 1rem; }
.esp-text .t-eyebrow { margin-bottom: -.25rem; }

.esp-name {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
}
.esp-specialty {
  font-size: 1rem;
  color: var(--green-mid);
  font-weight: 600;
  margin-top: .35rem;
}

.esp-bio { font-size: 1rem; line-height: 1.7; color: var(--ink-muted); }

/* Formación */
.cedulas-block {
  background: var(--surface-beige);
  border-radius: var(--r-md);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.cedulas-title {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--green-mid);
  margin-bottom: .25rem;
}
.cedula-item { font-size: .88rem; color: var(--ink-muted); line-height: 1.55; }
.cedula-num  { font-weight: 600; color: var(--ink); }

.esp-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.esp-cta-block {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding-top: .5rem;
}
.esp-cta-microcopy {
  font-size: .85rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* ============================================================
   SECCIÓN: CTA VALORACIÓN (Cards por padecimiento)
   ============================================================ */
.valoracion-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) var(--px);
  background: url(images/bgcta.jpg);
  background-size: cover; 
  background-position: center center;
  border-radius: var(--r-xl);
  margin: 0 var(--px) clamp(3rem, 5vw, 4rem);
}

.val-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.val-header .t-eyebrow { color: var(--green-sage); margin-bottom: .5rem; }
.val-header .t-h2 { color: var(--white); max-width: 640px; margin: 0 auto; }
.val-header .t-lead { color: rgba(255,255,255,.7); margin-top: .75rem;  margin-left: auto; margin-right: auto; }



.val-card {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-md);
  padding: 1.75rem 1.5rem;
  
  gap: 1rem;
  transition: background .25s, transform .25s;
  backdrop-filter: blur(4px);
}
.val-card:hover {
  background: rgba(255,255,255,.15);
  transform: translateY(-4px);
}
.val-card-icon { font-size: 1.6rem; color: var(--green-sage); }
.val-card-title {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--white);
}
.val-card-text { font-size: .88rem; color: rgba(255,255,255,.65); line-height: 1.6; flex: 1; }

.val-cta-center { text-align: center; }

/* ============================================================
   SECCIÓN: OPINIONES
   ============================================================ */
.opiniones-section {
  padding: clamp(4rem, 7vw, 6rem) var(--px);
  background: var(--white);
}

.op-header {
  margin-bottom: 3rem;
}
.op-header .t-eyebrow { margin-bottom: .5rem; }

/* Swiper testimonios */
.swiper-testimonios {
  padding-bottom: 3rem !important;
}

.testi-card {
  background: var(--surface-beige);
  border-radius: var(--r-md);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: auto;
}

.testi-stars { color: #f0b429; font-size: .95rem; display: flex; gap: .1rem; }

.testi-quote {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.6;
  flex: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: .5rem;
}
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green-sage);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-serif);
  font-weight: 700;
  color: var(--white);
  font-size: .85rem;
  flex-shrink: 0;
}
.testi-name { font-weight: 600; font-size: .88rem; color: var(--ink); }
.testi-sub  { font-size: .78rem; color: var(--ink-muted); }

.swiper-pagination-bullet        { background: var(--beige); opacity: 1; }
.swiper-pagination-bullet-active { background: var(--green-deep); }

/* ============================================================
   SECCIÓN: UBICACIÓN Y CONTACTO
   ============================================================ */
.ubicacion-section {
  padding: clamp(4rem, 7vw, 6rem) var(--px);
  background: var(--green-sage);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}



.ub-left { display: flex; flex-direction: column; gap: 2rem; }
.ub-left .t-eyebrow { margin-bottom: -.25rem; }

.ub-info-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color:rgba(27, 46, 28);
}
.ub-info-title {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color:rgba(27, 46, 28);
}
.ub-info-row {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .92rem;
  color:rgba(27, 46, 28);
  line-height: 1.55;
}
.ub-info-row i {
  color: var(--green-deep);
  font-size: 1rem;
  margin-top: .1rem;
  flex-shrink: 0;
  width: 18px;
}

.ub-horario-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem .75rem;
  font-size: .88rem;
  color: var(--ink-muted);
}
.ub-day  { font-weight: 600; color: var(--ink); }

.ub-ctas { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Mapa y foto */
.ub-right { display: flex; flex-direction: column; gap: 1rem; }

.ub-map-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 280px;
  position: relative;
  background: var(--green-sage);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ub-map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  color: var(--white);
  text-align: center;
  padding: 2rem;
}
.ub-map-placeholder i { font-size: 2.5rem; }
.ub-map-placeholder p { font-size: .9rem; line-height: 1.5; opacity: .85; }

.ub-consultorio-photo {
  border-radius: var(--r-md);
  overflow: hidden;
  height: 200px;
}

.ub-caption {
  font-size: .82rem;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.ub-caption i { color: var(--green-mid); }

/* ============================================================
   SECCIÓN: CTA FINAL (Agenda tu valoración)
   ============================================================ */
.cta-final-section {
  padding: clamp(4rem, 8vw, 7rem) var(--px);
  background: var(--green-deep);
  position: relative;
  overflow: hidden;
}

/* Forma orgánica decorativa */
.cta-final-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  background: var(--green-mid);
  opacity: .2;
  pointer-events: none;
}
.cta-final-section::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: var(--green-sage);
  opacity: .12;
  pointer-events: none;
}

.cta-final-inner {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cfa-eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green-sage); margin-bottom: .75rem; }

.cfa-headline {
  font-family: var(--ff-serif);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.06;
  color: var(--white);
  margin-bottom: 1rem;
}
.cfa-headline em {
  font-style: italic;
  color: var(--green-sage);
}

.cfa-lead { font-size: 1rem; color: rgba(255,255,255,.72); line-height: 1.65; margin-bottom: 2rem; max-width: 480px; }

.cfa-btns { display: flex; gap: .75rem; flex-wrap: wrap; }

.cfa-photo-wrap {
  position: relative;
}
.cfa-photo {
  border-radius: var(--r-xl) var(--r-xl) var(--r-lg) var(--r-lg);
  overflow: hidden;
  height: clamp(320px, 45vh, 500px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #1b2e1c;
  padding: clamp(3.5rem, 6vw, 5.5rem) var(--px) 2rem;
}

.footer-top {
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--white);
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.footer-logo .logo-mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  color: var(--white);
  font-family: var(--ff-serif);
}

.footer-tagline {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  max-width: 280px;
}
.footer-tel-footer {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--green-sage);
  font-weight: 600;
  font-size: .95rem;
}

.footer-col-title {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.25rem;
}

.footer-address {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.footer-address-item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  line-height: 1.5;
}
.footer-address-item i {
  color: var(--green-sage);
  font-size: .9rem;
  margin-top: .15rem;
  flex-shrink: 0;
}

.footer-cedulas {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.cedula-footer-item { font-size: .83rem; color: rgba(255,255,255,.55); line-height: 1.55; }
.cedula-footer-num  { color: rgba(255,255,255,.85); font-weight: 600; }

.footer-bottom {
  padding-top: 1.75rem;
}

.footer-copy {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}
.footer-copy a { color: rgba(255,255,255,.5); transition: color .2s; }
.footer-copy a:hover { color: var(--green-sage); }

.footer-nerea {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}
.footer-nerea a {
  color: var(--green-sage);
  font-weight: 500;
  transition: color .2s;
}
.footer-nerea a:hover { color: var(--white); }

.footer-aviso {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}
.footer-aviso a { color: rgba(255,255,255,.45); transition: color .2s; }
.footer-aviso a:hover { color: rgba(255,255,255,.7); }

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .hero-photo-col { width: clamp(240px, 35vw, 420px); }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-card--featured { grid-row: auto; }
  .cta-final-inner { grid-template-columns: 1fr; }
  .cfa-photo-wrap { display: none; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  :root { --px: 1.25rem; }

  /* Header */
  .nav-pill { display: none; }
  .header-tel { display: none; }

  /* Hero */
  .hero-wrap { min-height: auto; padding-bottom: 0; border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .hero-content { padding: 7rem 1rem 1rem; align-items: flex-start; }
  .hero-left { max-width: 100%; }
  .hero-headline { font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero-photo-col {
    position: relative;
    right: auto; left: auto;
    width: 100%;
    margin-top: 2rem;
    padding: 0 var(--px);
  }
  .hero-photo-frame img {  border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .hero-float-card { left: 1rem; bottom: 1.5rem; }
  .deco-c1, .deco-c2 { display: none; }

  /* Servicios bento */
  .bento-grid { grid-template-columns: 1fr; }
  .servicios-header { flex-direction: column; }

  /* Mínima inversión — foto va debajo del texto en mobile */
  .minima-photo-wrap { order: 2; }
  .minima-text { order: 1; }
  .minima-overlay-card { position: static; margin-top: 1rem; }

  /* Especialista */
  .esp-float-badge { right: 1rem; bottom: 1rem; }

  /* Valoración */
  .valoracion-section { margin: 0 0 2rem; border-radius: 0; }

  /* CTA final */
  .cta-final-inner { grid-template-columns: 1fr; }
  .cfa-photo-wrap { display: none; }
}


/* ============================================================
   SECCIÓN: GALERÍA — carrusel de imágenes
   ============================================================ */
.galeria-section {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: var(--white);
  overflow: hidden;
}

.galeria-header {
  padding: 0 var(--px);
  margin-bottom: 2.5rem;
}

/* El swiper rompe el container para ir full-width */
.swiper-galeria {
  width: 100%;
  padding: 0 var(--px) !important;
}

.galeria-img-wrap {
  border-radius: var(--r-md);
  overflow: hidden;

  position: relative;
}

.galeria-img-wrap img {
  width: 100%;
  height: 100%;
 
  object-position: center;
  transition: transform .55s ease;
  display: block;
}

.swiper-galeria .swiper-slide:hover .galeria-img-wrap img {
  transform: scale(1.04);
}

