/* Custom landing-page CSS for "Cita Online" */
.pbr-wrap, .pbr-wrap *, .pbr-wrap *::before, .pbr-wrap *::after { box-sizing: border-box; }
.pbr-wrap {
  font-family: 'Catamaran', sans-serif;
  font-weight: 400;
  color: #183B5F;
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  --denim: #183B5F;
  --peach: #F3B6A1;
  --peach-dark: #d4917a;
  --sky: #94C0D4;
  --sky-light: #eaf3f7;
  --banana: #F5CA77;
  --off: #FDF8F6;
  --muted: #6b7e8f;
}
.pbr-wrap h1, .pbr-wrap h2, .pbr-wrap h3 {
  font-family: 'Now','Catamaran',sans-serif;
  font-weight: 900; letter-spacing: -0.02em; margin: 0;
}
.pbr-wrap p { margin: 0; }
.pbr-wrap a { text-decoration: none; }
.pbr-wrap img { max-width: 100%; display: block; }
@font-face { font-family: 'Now'; src: local('Now Black'), local('NowBlack'); font-weight: 900; }

/* ─── HERO ─── */
.co-hero {
  background: linear-gradient(135deg, #183B5F 0%, #0f2540 100%);
  padding: calc(130 * var(--pbr-fluid-unit, 1px)) calc(32 * var(--pbr-fluid-unit, 1px)) calc(100 * var(--pbr-fluid-unit, 1px));
  text-align: center;
  position: relative; overflow: hidden;
}
.co-hero::before { content: ''; position: absolute; top: calc(-120 * var(--pbr-fluid-unit, 1px)); right: calc(-100 * var(--pbr-fluid-unit, 1px)); width: calc(420 * var(--pbr-fluid-unit, 1px)); height: calc(420 * var(--pbr-fluid-unit, 1px)); border-radius: 50%; background: radial-gradient(circle, #F3B6A1 0%, transparent 65%); opacity: .18; }
.co-hero::after { content: ''; position: absolute; bottom: calc(-140 * var(--pbr-fluid-unit, 1px)); left: calc(-100 * var(--pbr-fluid-unit, 1px)); width: calc(380 * var(--pbr-fluid-unit, 1px)); height: calc(380 * var(--pbr-fluid-unit, 1px)); border-radius: 50%; background: radial-gradient(circle, #94C0D4 0%, transparent 65%); opacity: .16; }
.co-hero-inner { position: relative; z-index: 1; max-width: calc(720 * var(--pbr-fluid-unit, 1px)); margin: 0 auto; animation: pbrFadeUp .7s cubic-bezier(.16,1,.3,1) both; }
.co-eyebrow-light {
  font-size: calc(12 * var(--pbr-fluid-unit, 1px)); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #F5CA77; margin-bottom: calc(22 * var(--pbr-fluid-unit, 1px)); display: flex; align-items: center; justify-content: center; gap: calc(12 * var(--pbr-fluid-unit, 1px));
}
.co-eyebrow-light::before, .co-eyebrow-light::after { content: ''; width: calc(28 * var(--pbr-fluid-unit, 1px)); height: 2px; background: #F5CA77; }
.co-hero h1 { font-size: clamp(calc(32 * var(--pbr-fluid-unit, 1px)),4.6vw,calc(52 * var(--pbr-fluid-unit, 1px))); line-height: 1.2; color: #fff; margin-bottom: calc(22 * var(--pbr-fluid-unit, 1px)); }
.co-hero h1 em { font-style: normal; color: #F3B6A1; }
.pbr-wrap .co-hero-sub { font-size: calc(17 * var(--pbr-fluid-unit, 1px)); line-height: 1.75; font-weight: 300; color: rgba(255,255,255,0.72); max-width: calc(560 * var(--pbr-fluid-unit, 1px)); margin: 0 auto calc(16 * var(--pbr-fluid-unit, 1px)); }
.pbr-wrap .co-hero-note { font-size: calc(13.5 * var(--pbr-fluid-unit, 1px)); color: rgba(255,255,255,0.5); font-style: italic; margin-bottom: calc(40 * var(--pbr-fluid-unit, 1px)); }
.co-hero-list { display: inline-flex; flex-direction: column; gap: calc(10 * var(--pbr-fluid-unit, 1px)); text-align: left; margin: 0 auto calc(44 * var(--pbr-fluid-unit, 1px)); }
.co-hero-list-item { display: flex; align-items: center; gap: calc(10 * var(--pbr-fluid-unit, 1px)); font-size: calc(15 * var(--pbr-fluid-unit, 1px)); color: rgba(255,255,255,0.85); }
.co-hero-list-item::before { content: '✓'; color: #F5CA77; font-weight: 700; }
.co-btn-main {
  display: inline-flex; align-items: center; gap: calc(10 * var(--pbr-fluid-unit, 1px));
  background: #F3B6A1; color: #183B5F;
  padding: calc(18 * var(--pbr-fluid-unit, 1px)) calc(40 * var(--pbr-fluid-unit, 1px)); border-radius: calc(100 * var(--pbr-fluid-unit, 1px));
  font-size: calc(16 * var(--pbr-fluid-unit, 1px)); font-weight: 700; transition: all .2s;
  box-shadow: 0 12px 32px rgba(241,182,161,0.35);
}
.co-btn-main:hover { background: #d4917a; color: #fff; transform: translateY(-2px); }

/* ─── SECCIONES ─── */
.co-section { padding: calc(96 * var(--pbr-fluid-unit, 1px)) calc(56 * var(--pbr-fluid-unit, 1px)); text-align: center; }
.co-section-off { padding: calc(96 * var(--pbr-fluid-unit, 1px)) calc(56 * var(--pbr-fluid-unit, 1px)); background: #FDF8F6 !important; text-align: center; }
.co-container { max-width: calc(640 * var(--pbr-fluid-unit, 1px)); margin: 0 auto; }
.co-eyebrow {
  font-size: calc(11 * var(--pbr-fluid-unit, 1px)); font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #F3B6A1;
  margin-bottom: calc(14 * var(--pbr-fluid-unit, 1px)); display: flex; align-items: center; justify-content: center; gap: calc(8 * var(--pbr-fluid-unit, 1px));
}
.co-eyebrow::before, .co-eyebrow::after { content: ''; width: calc(20 * var(--pbr-fluid-unit, 1px)); height: 2px; background: #F3B6A1; }
.co-title { font-size: clamp(calc(26 * var(--pbr-fluid-unit, 1px)),3.4vw,calc(38 * var(--pbr-fluid-unit, 1px))); line-height: 1.2; color: #183B5F; margin-bottom: calc(20 * var(--pbr-fluid-unit, 1px)); }
.pbr-wrap .co-intro { font-size: calc(17.5 * var(--pbr-fluid-unit, 1px)); line-height: 1.75; font-weight: 300; color: var(--muted); margin-bottom: calc(48 * var(--pbr-fluid-unit, 1px)); }

.co-contact-grid { display: flex; justify-content: center; gap: calc(16 * var(--pbr-fluid-unit, 1px)); flex-wrap: wrap; }
.co-btn-whatsapp {
  display: inline-flex; align-items: center; gap: calc(10 * var(--pbr-fluid-unit, 1px));
  background: #25D366; color: #fff;
  padding: calc(17 * var(--pbr-fluid-unit, 1px)) calc(34 * var(--pbr-fluid-unit, 1px)); border-radius: calc(100 * var(--pbr-fluid-unit, 1px));
  font-size: calc(15.5 * var(--pbr-fluid-unit, 1px)); font-weight: 700; transition: all .2s;
}
.co-btn-whatsapp:hover { background: #1ea952; transform: translateY(-2px); }
.co-btn-phone {
  display: inline-flex; align-items: center; gap: calc(10 * var(--pbr-fluid-unit, 1px));
  border: 1.5px solid rgba(24,59,95,0.18); color: #183B5F;
  padding: calc(17 * var(--pbr-fluid-unit, 1px)) calc(32 * var(--pbr-fluid-unit, 1px)); border-radius: calc(100 * var(--pbr-fluid-unit, 1px));
  font-size: calc(15.5 * var(--pbr-fluid-unit, 1px)); font-weight: 700; transition: all .2s;
}
.co-btn-phone:hover { border-color: #F3B6A1; background: #FDF8F6; }

.co-ubicacion {
  margin: calc(40 * var(--pbr-fluid-unit, 1px)) auto 0; padding: calc(24 * var(--pbr-fluid-unit, 1px)) calc(28 * var(--pbr-fluid-unit, 1px)); max-width: calc(460 * var(--pbr-fluid-unit, 1px));
  background: #fff; border-radius: calc(16 * var(--pbr-fluid-unit, 1px));
  border: 1px solid rgba(24,59,95,0.07);
  font-size: calc(14 * var(--pbr-fluid-unit, 1px)); color: var(--muted); line-height: 1.7;
}
.co-ubicacion strong { color: #183B5F; font-weight: 700; display: block; margin-bottom: calc(4 * var(--pbr-fluid-unit, 1px)); }

@keyframes pbrFadeUp { from { opacity:0; transform: translateY(28px); } to { opacity:1; transform: none; } }

@media (max-width: 640px) {
  .co-hero { padding: calc(110 * var(--pbr-fluid-unit, 1px)) calc(24 * var(--pbr-fluid-unit, 1px)) calc(70 * var(--pbr-fluid-unit, 1px)); }
  .co-section, .co-section-off { padding: calc(70 * var(--pbr-fluid-unit, 1px)) calc(24 * var(--pbr-fluid-unit, 1px)); }
  .co-contact-grid { flex-direction: column; align-items: stretch; }
  .co-btn-whatsapp, .co-btn-phone { justify-content: center; }
}
.pbr-wrap .co-intro a { color: var(--denim, #183B5F); font-weight: 600; text-decoration: underline; }

/* Hero con fotografía (misma estructura que el resto de landings con foto) */
.co-hero.co-hero-photo { padding: 0; text-align: left; background: #183B5F; }
@media (min-width: 901px) { .co-hero.co-hero-photo { display: flex; flex-direction: column; min-height: 100vh; } .co-hero-photo > .co-hero-grid { flex: 1 1 auto; } }
.co-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: stretch; width: 100%; position: relative; z-index: 1; }
.co-hero-photo .co-hero-inner { max-width: calc(700 * var(--pbr-fluid-unit, 1px)); width: 100%; margin: 0 auto; align-self: center; padding: calc(140 * var(--pbr-fluid-unit, 1px)) calc(56 * var(--pbr-fluid-unit, 1px)) calc(110 * var(--pbr-fluid-unit, 1px)) calc(64 * var(--pbr-fluid-unit, 1px)); box-sizing: border-box; }
.co-hero-photo .co-eyebrow-light { justify-content: flex-start; }
.co-hero-photo .co-eyebrow-light::after { display: none; }
.pbr-wrap .co-hero-photo .co-hero-sub { margin-left: 0; margin-right: 0; }
.co-hero-photo .co-hero-list { margin-left: 0; margin-right: 0; }
.pbr-wrap .co-hero-photo .co-agenda-note { text-align: left; margin-left: 0; margin-right: 0; }
.hero-visual { position: relative; z-index: 1; height: 100%; min-height: clamp(calc(640 * var(--pbr-fluid-unit, 1px)), 100vh, calc(980 * var(--pbr-fluid-unit, 1px))); overflow: hidden; }
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.hero-visual-curve { position: absolute; left: -2px; top: 0; bottom: 0; width: calc(80 * var(--pbr-fluid-unit, 1px)); z-index: 3; }
.curva-hero-bottom { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 20; line-height: 0; pointer-events: none; }
@media (max-width: 900px) {
  .co-hero-grid { grid-template-columns: minmax(0,1fr); }
  .co-hero-photo .co-hero-inner { padding: calc(60 * var(--pbr-fluid-unit, 1px)) calc(24 * var(--pbr-fluid-unit, 1px)) calc(90 * var(--pbr-fluid-unit, 1px)); max-width: 100%; text-align: center; }
  .co-hero-photo .co-eyebrow-light { justify-content: center; }
  .co-hero-photo .co-eyebrow-light::after { display: block; }
  .pbr-wrap .co-hero-photo .co-hero-sub { margin-left: auto; margin-right: auto; }
  .co-hero-photo .co-hero-list { margin-left: auto; margin-right: auto; }
  .pbr-wrap .co-hero-photo .co-agenda-note { text-align: center; margin-left: auto; margin-right: auto; }
  .hero-visual { height: calc(380 * var(--pbr-fluid-unit, 1px)); min-height: 0; order: -1; margin-top: 0; }
  .hero-visual-curve { display: none; }
}

/* One clear action in the booking hero; treatment guidance sits below. */
.pbr-wrap .co-hero-actions { margin-top: calc(12 * var(--pbr-fluid-unit, 1px)); }
.pbr-wrap .co-hero-photo .co-hero-sub { max-width: 32ch !important; }
@media (min-width: 1024px) {
  html body .pbr-wrap .co-hero[data-pbr-viewport] {
    min-height: min(var(--pbr-hero-height), clamp(500px, 72svh, 980px)) !important;
  }
}

/* Concise booking benefits, between the introduction and the main action. */
html body .pbr-wrap .co-hero-photo .co-hero-list {
  list-style: none;
  padding: 0;
  margin-top: 0;
  margin-bottom: calc(22px * var(--pbr-hero-space, 1));
}
.pbr-wrap .co-hero-list-item { font-size: clamp(15px, 1vw, 20px); line-height: 1.5; }
.pbr-wrap .co-hero-other {
  margin-top: calc(14px * var(--pbr-hero-space, 1));
  font-size: clamp(13px, .85vw, 17px);
  line-height: 1.5;
  color: rgba(255,255,255,.8);
}
.pbr-wrap .co-hero-other a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.pbr-wrap .co-hero-other a:hover { color: #fff; }

/* Hero más compacto: la foto del móvil se ajusta al texto (antes ocupaba casi toda la pantalla). */
@media (min-width: 901px) {
  html body .co-hero.co-hero-photo, html body .co-hero.co-hero-photo[data-pbr-viewport] { min-height: clamp(560px, 62vh, 620px) !important; }
}
@media (max-width: 900px) {
  html body .co-hero-photo .hero-visual { height: calc(280 * var(--pbr-fluid-unit, 1px)) !important; }
}

/* Foto más estrecha en escritorio: se ve casi todo el móvil sin recortar tanto arriba y abajo. */
@media (min-width: 901px) {
  html body .co-hero-photo .co-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  html body .co-hero-photo .hero-visual img { object-position: 50% 45%; }
}
@media (min-width: 901px) {
  html body .co-hero.co-hero-photo, html body .co-hero.co-hero-photo[data-pbr-viewport] { min-height: clamp(480px, 54vh, 520px) !important; }
  html body .co-hero-photo .co-hero-inner { padding-top: calc(56 * var(--pbr-fluid-unit, 1px)) !important; padding-bottom: calc(88 * var(--pbr-fluid-unit, 1px)) !important; }
  html body .co-hero-photo .co-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  html body .co-hero-photo .hero-visual img { object-position: 52% 42%; }
}
@media (min-width: 901px) { html body .co-hero-photo .hero-visual img { object-position: 52% 34% !important; } }

/* Escritorio: "Cita online" queda a la izquierda del bloque azul y el resto (título, ventajas y botón) se centra en el ancho del bloque, a cualquier tamaño de pantalla. */
@media (min-width: 901px) {
  html body .co-hero.co-hero-photo .co-hero-inner { width: 100%; max-width: none; margin-left: 0; margin-right: 0; }
  html body .co-hero-photo .co-hero-body { width: fit-content; max-width: 100%; margin: 0 auto; }
  html body .co-hero-photo .co-hero-body h1 em { display: block; }
  html body .co-hero-photo .co-hero-list-item { font-size: clamp(16px, 1.25vw, 20px); }
  html body .co-hero-photo .co-hero-list { gap: clamp(10px, 1.1vw, 16px); }
}
