/* Custom landing-page CSS for podopediatría (adaptado de la página de producción podopediatria-2-3) */
@font-face { font-family: 'Now'; src: local('Now Black'), local('NowBlack'); font-weight: 900; }
:root { --denim: #183B5F; --denim-dark: #0f2540; --denim-10: rgba(24,59,95,0.08); --peach: #F3B6A1; --peach-dark: #d4917a; --peach-light: #fef3ef; --sky: #94C0D4; --sky-light: #eaf3f7; --banana: #F5CA77; --banana-light: #fdf6e3; --off: #FDF8F6; --white: #ffffff; --text: #183B5F; --muted: #6b7e8f; --accent: #F3B6A1; }
html { scroll-behavior: smooth; }

/* ══════════════ CONTENIDO PODOPEDIATRÍA (.pbr-wrap / .ppo-*) ══════════════ */
.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;
  --peach-light: #fef3ef;
  --sky: #94C0D4;
  --sky-light: #eaf3f7;
  --banana: #F5CA77;
  --banana-light: #fdf6e3;
  --off: #FDF8F6;
  --muted: #6b7e8f;
}
.pbr-wrap h1, .pbr-wrap h2, .pbr-wrap h3, .pbr-wrap h4 {
  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; }

/* ─── HERO ─── */
.ppo-hero {
  background: #FDF8F6;
  min-height: 92vh;
  display: flex;
  position: relative;
  overflow: hidden;
}
.ppo-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.ppo-hero-left {
  padding: 120px 56px 80px 56px;
  position: relative;
  z-index: 2;
}
.ppo-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: #F3B6A1; color: #fff;
  padding: 6px 16px; border-radius: 100px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 28px;
}
.ppo-hero h1 {
  font-size: clamp(36px, 4.8vw, 62px);
  line-height: 1.2;
  color: #183B5F;
  margin-bottom: 24px;
}
.ppo-hero h1 em {
  font-style: normal;
  color: #F3B6A1;
}
.pbr-wrap .ppo-hero-sub {
  font-size: 18px; line-height: 1.75; font-weight: 300;
  color: var(--muted); max-width: 480px; margin-bottom: 64px;
}
.ppo-hero-sub strong { color: #183B5F; font-weight: 600; }
.ppo-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; margin-bottom: 52px; }
.ppo-btn-main {
  display: inline-flex; align-items: center; gap: 8px;
  background: #F3B6A1; color: #183B5F;
  padding: 15px 30px; border-radius: 100px;
  font-size: 15px; font-weight: 700; transition: all .2s;
}
.ppo-btn-main:hover { background: #d4917a; color: #fff; transform: translateY(-2px); }
.ppo-btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1.5px solid rgba(24,59,95,0.18); color: rgba(24,59,95,0.6);
  padding: 15px 26px; border-radius: 100px;
  font-size: 14px; transition: all .2s;
}
.ppo-btn-ghost:hover { border-color: #F3B6A1; color: #183B5F; }
.ppo-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.ppo-stat-num {
  font-family: 'Now','Catamaran',sans-serif; font-weight: 900;
  font-size: 26px; color: #183B5F; line-height: 1;
}
.ppo-stat-label { font-size: 11px; color: var(--muted); margin-top: 4px; }

.ppo-hero-right {
  position: relative; height: 100%; min-height: 92vh;
  overflow: hidden;
}
.ppo-hero-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  display: block;
}
/* Curva orgánica que corta la foto */
.ppo-hero-curve {
  position: absolute; left: -2px; top: 0; bottom: 0;
  width: 80px; z-index: 3;
}

/* ─── BLOB decorativo ─── */
.ppo-blob {
  position: absolute; pointer-events: none; z-index: 0;
  opacity: 0.55;
}

/* ─── SECCIONES ─── */
.ppo-section { padding: 96px 56px; }
.ppo-section-off { padding: 96px 56px; background: #FDF8F6 !important; }
.ppo-section-peach { padding: 80px 56px; background: #F3B6A1 !important; position: relative; overflow: hidden; }
.ppo-container { max-width: 1000px; margin: 0 auto; }

.ppo-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #F3B6A1;
  margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.ppo-eyebrow::before { content: ''; width: 20px; height: 2px; background: #F3B6A1; }
.ppo-eyebrow-denim {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(24,59,95,0.5);
  margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.ppo-eyebrow-denim::before { content: ''; width: 20px; height: 2px; background: rgba(24,59,95,0.3); }
.ppo-title { font-size: clamp(28px,3.8vw,44px); line-height: 1.12; color: #183B5F; margin-bottom: 20px; }
.ppo-intro { font-size: 19px; line-height: 1.75; font-weight: 300; color: var(--muted); margin-bottom: 48px; max-width: 680px; }

/* ─── PREGUNTA GANCHO ─── */
.ppo-preguntas-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
  margin-bottom: 48px;
}
.ppo-pregunta-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px 26px;
  border: 2px solid transparent;
  box-shadow: 0 2px 20px rgba(24,59,95,0.06);
  text-decoration: none; display: flex; flex-direction: column;
  gap: 14px;
  transition: all .25s;
  position: relative; overflow: hidden;
  opacity: 0; transform: translateY(16px);
}
.ppo-pregunta-card.visible { opacity: 1; transform: none; }
.ppo-pregunta-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px; background: var(--c, #F3B6A1);
  border-radius: 0 0 24px 24px;
}
.ppo-pregunta-card:hover {
  box-shadow: 0 12px 40px rgba(24,59,95,0.12);
  border-color: var(--c, #F3B6A1);
}
.ppo-pregunta-card.pbr-tilt-ready, .ppo-servicio-card.pbr-tilt-ready {
  transition: opacity .4s, transform .15s ease-out, box-shadow .35s cubic-bezier(.16,1,.3,1), border-color .25s;
  will-change: transform;
}
.ppo-pregunta-emoji { font-size: 36px; }
.ppo-pregunta-q {
  font-size: 15px; font-weight: 700; color: #183B5F; line-height: 1.35;
}
.ppo-pregunta-desc { font-size: 13px; color: var(--muted); font-weight: 300; line-height: 1.55; }
.ppo-pregunta-link { font-size: 12px; font-weight: 700; color: var(--c, #F3B6A1); margin-top: auto; }

/* ─── CÓMO TRABAJAMOS – timeline circular ─── */
.ppo-timeline { display: flex; flex-direction: column; gap: 0; }
.ppo-tl-item {
  display: grid; grid-template-columns: 64px 1fr;
  align-items: stretch;
  opacity: 0; transform: translateX(-16px);
  transition: opacity .45s, transform .45s;
}
.ppo-tl-item.visible { opacity: 1; transform: none; }
.ppo-tl-left { display: flex; flex-direction: column; align-items: center; }
.ppo-tl-circle {
  width: 44px; height: 44px; border-radius: 50%;
  background: #94C0D4; display: flex; align-items: center; justify-content: center;
  font-family: 'Now','Catamaran',sans-serif; font-weight: 900;
  font-size: 15px; color: #fff; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(148,192,212,0.4);
}
.ppo-tl-line { flex: 1; width: 2px; background: rgba(148,192,212,0.3); margin: 6px 0; }
.ppo-tl-item:last-child .ppo-tl-line { display: none; }
.ppo-tl-right { padding: 0 0 36px 20px; }
.ppo-tl-title { font-size: 16px; font-weight: 700; color: #183B5F; padding-top: 10px; margin-bottom: 8px; }
.ppo-tl-body { font-size: 16px; line-height: 1.75; color: var(--muted); font-weight: 300; }

/* ─── SPLIT CON FORMA ORGÁNICA ─── */
.ppo-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.ppo-split-img {
  border-radius: 40% 60% 60% 40% / 50% 50% 50% 50%;
  overflow: hidden; position: relative;
  opacity: 0; transform: translateX(-24px) scale(.96);
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
}
.ppo-split-img.visible { opacity: 1; transform: none; }
.ppo-split-img img { width: 100%; height: 460px; object-fit: cover; object-position: center bottom; display: block; }
.ppo-split-text {
  opacity: 0; transform: translateX(24px);
  transition: opacity .6s cubic-bezier(.16,1,.3,1) .1s, transform .6s cubic-bezier(.16,1,.3,1) .1s;
}
.ppo-split-text.visible { opacity: 1; transform: none; }
.ppo-split-text h3 { font-size: clamp(24px,3vw,36px); color: #183B5F; margin-bottom: 16px; line-height: 1.15; }
.ppo-split-text p { font-size: 17px; line-height: 1.75; color: var(--muted); font-weight: 300; margin-bottom: 14px; }
.ppo-split-text p strong { color: #183B5F; font-weight: 600; }

/* ─── SERVICIOS ─── */
.ppo-servicios-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.ppo-servicio-card {
  background: #fff; border-radius: 20px; padding: 32px 26px;
  box-shadow: 0 2px 20px rgba(24,59,95,0.06);
  border-top: 0;
  opacity: 0; transform: translateY(16px);
  transition: opacity .4s, transform .4s;
  position: relative; overflow: hidden;
}
.ppo-servicio-card.visible { opacity: 1; transform: none; }
.ppo-servicio-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--c, #F3B6A1); border-radius: 20px 20px 0 0;
}
.ppo-servicio-icon { font-size: 32px; margin-bottom: 16px; }
.ppo-servicio-title { font-size: 15px; font-weight: 700; color: #183B5F; margin-bottom: 10px; }
.ppo-servicio-body { font-size: 14px; line-height: 1.7; color: var(--muted); font-weight: 300; }
.ppo-servicio-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--c, #F3B6A1); margin-top: 14px; transition: gap .2s; }
.ppo-servicio-card:hover .ppo-servicio-link { gap: 10px; }

/* ─── CTA CIERRE ─── */
.ppo-cierre {
  padding: 96px 56px;
  background: #FDF8F6 !important;
  text-align: center;
}
.ppo-cierre-inner { max-width: 680px; margin: 0 auto; }
.ppo-cierre-title { font-size: clamp(32px,4.5vw,52px); line-height: 1.2; color: #183B5F; margin-bottom: 20px; }
.ppo-cierre-title em { font-style: normal; color: #F3B6A1; }
.pbr-wrap .ppo-cierre-sub { font-size: 19px; line-height: 1.72; color: var(--muted); margin-bottom: 56px; font-weight: 300; }
.ppo-btn-cierre {
  display: inline-flex; align-items: center; gap: 10px;
  background: #183B5F; color: #fff;
  padding: 18px 42px; border-radius: 100px;
  font-size: 16px; font-weight: 700; transition: all .2s;
  margin-bottom: 14px;
}
.ppo-btn-cierre:hover { background: #F3B6A1; color: #183B5F; transform: translateY(-2px); }
.ppo-phone { font-size: 17px; color: var(--muted); margin-top: 12px; }
.ppo-phone a { color: #d4917a; font-weight: 600; }
.ppo-ubicacion {
  margin-top: 32px; padding: 24px 28px;
  background: #fff; border-radius: 16px;
  border: 1px solid rgba(24,59,95,0.07);
  font-size: 14px; color: var(--muted); line-height: 1.7;
}
.ppo-ubicacion strong { color: #183B5F; font-weight: 700; display: block; margin-bottom: 4px; }

/* ─── Fondo puntos de marca ─── */
.ppo-brand-dots {
  position: absolute; pointer-events: none; opacity: 0.1;
}

@keyframes pbrFadeUp { from { opacity:0; transform: translateY(28px); } to { opacity:1; transform: none; } }
.ppo-hero-left { animation: pbrFadeUp .7s cubic-bezier(.16,1,.3,1) both; }

@media (max-width: 900px) {
  .ppo-hero-grid { grid-template-columns: 1fr; }
  .ppo-hero-right { min-height: 360px; }
  .ppo-hero-left { padding: 100px 24px 60px; }
  .ppo-hero-curve { display: none; }
  .ppo-split { grid-template-columns: 1fr; gap: 36px; }
  .ppo-preguntas-grid { grid-template-columns: 1fr 1fr; }
  .ppo-servicios-grid { grid-template-columns: 1fr 1fr; }
  .ppo-section, .ppo-section-off, .ppo-section-peach, .ppo-cierre { padding: 70px 24px; }
}
@media (max-width: 540px) {
  .ppo-preguntas-grid { grid-template-columns: 1fr; }
  .ppo-servicios-grid { grid-template-columns: 1fr; }
}

/* ══════════════ Overrides de la plantilla WordPress heredada ══════════════ */
.entry-content, .post-content, .page-content, #content, #main, .site-content, .wpb_wrapper { padding: 0 !important; margin: 0 !important; max-width: 100% !important; width: 100% !important; background: transparent !important; }
html body, html body #page, html body #content, html body #main, html body .site, html body .site-content, html body article, html body .entry-content, html body .post-content, html body .wpb_wrapper, html body .vc_row, html body .vc_column_container, html body .vc_col-sm-12 { max-width: 100% !important; width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important; float: none !important; }
.site-header, .site-footer, header.site-header, footer.site-footer, #masthead, #colophon, .navbar, .header-wrap, .top-bar { display: none !important; }
html body { background: #ffffff !important; }

/* Quita el relleno lateral de WPBakery para que el hero llegue de borde a borde */
.vc_column-inner { padding-left: 0 !important; padding-right: 0 !important; }

.ppo-curva-hero-bottom { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 20; line-height: 0; pointer-events: none; }
