/*
Theme Name: Doctor Labrador Child
Theme URI: https://doctoralabrador.com
Description: Tema hijo ejecutivo y profesional para la Dra. Labrador Dominguez.
Author: OpenAI Codex
Template: twentytwentyfive
Version: 1.0.0
Text Domain: doctorlabrador-child
*/

:root {
  --dl-bg: #f4f9ff;
  --dl-bg-soft: #eef6ff;
  --dl-surface: #ffffff;
  --dl-surface-strong: #f8fbff;
  --dl-primary: #103b68;
  --dl-primary-soft: #2a5d8d;
  --dl-secondary: #0f6ea8;
  --dl-accent: #2c8fd6;
  --dl-accent-soft: rgba(44, 143, 214, 0.12);
  --dl-text: #1b3147;
  --dl-text-soft: #59718a;
  --dl-line: rgba(16, 59, 104, 0.12);
  --dl-shadow: 0 24px 60px rgba(18, 56, 92, 0.10);
  --dl-radius: 30px;
  --dl-radius-sm: 20px;
  --dl-content: min(1160px, calc(100vw - 40px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(44, 143, 214, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(15, 110, 168, 0.08), transparent 26%),
    linear-gradient(180deg, #f7fbff 0%, #eef6ff 52%, #f8fbff 100%);
  color: var(--dl-text);
  font-family: Georgia, serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--dl-primary);
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  letter-spacing: -0.02em;
  line-height: 1.02;
  overflow-wrap: anywhere;
}

p,
li,
label,
input,
select,
textarea,
button {
  font-family: Georgia, serif;
  overflow-wrap: anywhere;
}

a {
  color: var(--dl-primary-soft);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wp-site-blocks {
  padding-top: 0;
}

.page .wp-block-post-title {
  display: none;
}

header.wp-block-template-part,
footer.wp-block-template-part {
  z-index: 10;
}

header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(247, 251, 255, 0.88);
  border-bottom: 1px solid rgba(16, 59, 104, 0.08);
}

header.wp-block-template-part > .wp-block-group {
  background: transparent;
  overflow: visible;
}

header.wp-block-template-part .wp-block-site-title {
  margin: 0;
  font-size: 1.1rem;
}

header.wp-block-template-part .wp-block-site-title a,
header.wp-block-template-part a {
  text-decoration: none;
  overflow-wrap: anywhere;
}

header.wp-block-template-part .wp-block-navigation-item__content {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--dl-primary);
  white-space: normal;
  text-align: center;
}

header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open {
  background: rgba(247, 251, 255, 0.98);
}

header.wp-block-template-part,
header.wp-block-template-part * {
  overflow: visible;
}

main.wp-block-group {
  margin-top: 0;
}

.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: var(--dl-content);
}

.dl-page {
  padding: 0 0 80px;
}

.dl-shell {
  width: min(100% - 24px, var(--dl-content));
  margin: 0 auto;
}

.dl-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 36px;
  margin: 24px auto 30px;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(13, 76, 130, 0.96), rgba(8, 55, 95, 0.94)),
    radial-gradient(circle at top right, rgba(69, 167, 228, 0.20), transparent 32%);
  box-shadow: var(--dl-shadow);
  color: #f4f9ff;
}

.dl-hero::before {
  content: "";
  position: absolute;
  inset: auto -110px -140px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(158, 218, 255, 0.16), transparent 68%);
}

.dl-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 28px;
  align-items: center;
}

.dl-hero__content {
  padding: 20px 8px 20px 10px;
  min-width: 0;
}

.dl-hero__visual {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.dl-media-frame {
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 44px rgba(10, 30, 54, 0.22);
}

.dl-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

img[src*="dra_labrador.png"] {
  object-position: center top;
}

.dl-hero__visual .dl-media-frame {
  min-height: 460px;
}

.dl-hero__visual .dl-media-frame img {
  min-height: 460px;
}

.dl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(239, 247, 255, 0.78);
}

.dl-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: rgba(239, 247, 255, 0.48);
}

.dl-hero h1,
.dl-hero h2 {
  color: #ffffff;
  font-size: clamp(2.2rem, 4.2vw, 3.9rem);
}

.dl-hero p {
  max-width: 660px;
  margin: 18px 0 0;
  color: rgba(244, 249, 255, 0.88);
  font-size: 0.98rem;
  line-height: 1.75;
}

.dl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, #56b1ed, #1f7fc3);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(8, 39, 68, 0.20);
  transition: transform 180ms ease, box-shadow 180ms ease;
  white-space: normal;
  text-align: center;
}

.dl-btn:hover,
.dl-btn:focus-visible {
  transform: translateY(-2px);
  color: #ffffff;
}

.dl-btn--ghost {
  background: linear-gradient(135deg, #56b1ed, #1f7fc3);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  box-shadow: none;
}

.dl-btn--light {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  box-shadow: none;
}

.dl-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.dl-badge {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(244, 249, 255, 0.92);
  font-size: 0.84rem;
  font-weight: 700;
}

.dl-kpis,
.dl-grid {
  display: grid;
  gap: 18px;
}

.dl-kpis > *,
.dl-grid > *,
.dl-story > *,
.dl-contact-grid > *,
.dl-form-grid > *,
.dl-footer__bar > * {
  min-width: 0;
}

.dl-kpis {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.dl-stat,
.dl-card,
.dl-panel,
.dl-price-card,
.dl-contact-card,
.dl-callout {
  border-radius: var(--dl-radius-sm);
  border: 1px solid var(--dl-line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(20, 50, 82, 0.06);
}

.dl-stat {
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.dl-stat strong {
  display: block;
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 800;
}

.dl-stat span {
  display: block;
  margin-top: 8px;
  color: rgba(244, 249, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.65;
}

.dl-section {
  padding: 28px 0 0;
}

.dl-section + .dl-section {
  margin-top: 14px;
}

.dl-section-header {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.dl-section-header h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
}

.dl-section-header p {
  max-width: 760px;
  margin: 0;
  color: #000000;
  font-size: 0.97rem;
  line-height: 1.75;
}

.dl-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dl-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dl-card,
.dl-panel,
.dl-price-card,
.dl-contact-card,
.dl-callout {
  padding: 26px;
}

.dl-card h3,
.dl-panel h3,
.dl-price-card h3,
.dl-contact-card h3,
.dl-callout h3 {
  margin: 0 0 12px;
  font-size: 1.42rem;
}

.dl-card p,
.dl-panel p,
.dl-price-card p,
.dl-contact-card p,
.dl-callout p {
  margin: 0;
  color: #000000;
  font-size: 0.95rem;
  line-height: 1.72;
}

.dl-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--dl-text-soft);
}

.dl-list li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.dl-band {
  margin-top: 24px;
  padding: 24px 26px;
  border-radius: 24px;
  border: 1px solid rgba(16, 59, 104, 0.08);
  background: linear-gradient(135deg, rgba(226, 241, 255, 0.85), rgba(244, 250, 255, 0.98));
}

.dl-band p {
  margin: 0;
  color: var(--dl-text);
  font-size: 0.96rem;
  line-height: 1.75;
}

.dl-story {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
  align-items: stretch;
}

.dl-story--reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
}

.dl-story__content {
  padding: 10px 0;
}

.dl-story__content h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
}

.dl-story__content p {
  margin: 14px 0 0;
  color: var(--dl-text-soft);
  font-size: 0.97rem;
  line-height: 1.78;
}

.dl-story__media .dl-media-frame {
  height: 100%;
  min-height: 360px;
  background: #dfeffd;
}

.dl-story__media .dl-media-frame img {
  min-height: 360px;
}

.dl-feature-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.dl-feature-list div {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 59, 104, 0.08);
  color: var(--dl-text);
  font-size: 0.94rem;
  line-height: 1.65;
}

.dl-feature-list strong {
  color: var(--dl-primary);
}

.dl-highlight {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 26px;
  border: 1px solid rgba(16, 59, 104, 0.09);
  background: linear-gradient(135deg, rgba(15, 110, 168, 0.08), rgba(255, 255, 255, 0.96));
  box-shadow: var(--dl-shadow);
}

.dl-highlight h3 {
  font-size: 1.65rem;
}

.dl-highlight p {
  margin: 0;
  color: var(--dl-text-soft);
  font-size: 0.97rem;
  line-height: 1.76;
}

.dl-highlight__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dl-steps {
  counter-reset: dl-steps;
}

.dl-step {
  position: relative;
  padding-left: 62px;
}

.dl-step::before {
  counter-increment: dl-steps;
  content: counter(dl-steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(16, 59, 104, 0.14), rgba(44, 143, 214, 0.16));
  color: var(--dl-primary);
  font-size: 0.95rem;
  font-weight: 800;
}

.dl-quote {
  position: relative;
  padding: 28px 28px 28px 40px;
}

.dl-quote::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--dl-accent), rgba(44, 143, 214, 0));
}

.dl-note {
  margin-top: 14px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(44, 143, 214, 0.10);
  color: var(--dl-text);
  font-size: 0.93rem;
  line-height: 1.7;
}

.dl-pricing-empty {
  margin-top: 16px;
  color: var(--dl-text-soft);
}

.dl-price-value {
  display: inline-flex;
  margin: 12px 0 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--dl-accent-soft);
  color: var(--dl-primary);
  font-weight: 800;
}

.dl-form-wrap {
  margin-top: 20px;
  padding: 30px;
  border-radius: 28px;
  border: 1px solid rgba(16, 59, 104, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(243, 248, 255, 0.98));
  box-shadow: var(--dl-shadow);
}

.dl-form-wrap h3 {
  margin: 0 0 10px;
  font-size: 1.85rem;
}

.dl-form-wrap p {
  margin: 0 0 20px;
  color: #000000;
  font-size: 0.95rem;
  line-height: 1.72;
}

.dl-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.dl-field {
  display: grid;
  gap: 8px;
}

.dl-field--full {
  grid-column: 1 / -1;
}

.dl-field label {
  color: var(--dl-primary);
  font-size: 0.88rem;
  font-weight: 700;
}

.dl-field input,
.dl-field select,
.dl-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(16, 59, 104, 0.12);
  border-radius: 16px;
  background: #ffffff;
  color: var(--dl-text);
  font-size: 0.95rem;
}

.dl-field textarea {
  min-height: 150px;
  resize: vertical;
}

.dl-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--dl-text-soft);
  font-size: 0.9rem;
}

.dl-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 4px 0 0;
  padding: 0;
  border-radius: 4px;
  accent-color: var(--dl-secondary);
  transform: none;
}

.dl-form-messages {
  margin-bottom: 18px;
}

.dl-alert {
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.dl-alert--success {
  background: rgba(36, 130, 92, 0.10);
  color: #1c4d44;
  border: 1px solid rgba(36, 130, 92, 0.18);
}

.dl-alert--error {
  background: rgba(155, 51, 51, 0.10);
  color: #7c3030;
  border: 1px solid rgba(155, 51, 51, 0.16);
}

.dl-fineprint {
  margin-top: 14px;
  color: var(--dl-text-soft);
  font-size: 0.8rem;
  line-height: 1.6;
}

.dl-contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: start;
}

.dl-contact-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.dl-contact-list a {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(44, 143, 214, 0.08);
  border: 1px solid rgba(16, 59, 104, 0.08);
  color: var(--dl-primary);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.dl-floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
}

.dl-floating-whatsapp a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  background: #14855d;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 20px 38px rgba(14, 36, 22, 0.22);
}

.dl-floating-whatsapp a:hover,
.dl-floating-whatsapp a:focus-visible {
  color: #ffffff;
}

footer.wp-block-template-part {
  margin-top: 36px;
  border-top: 1px solid rgba(16, 59, 104, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 246, 255, 0.98));
}

footer.wp-block-template-part a {
  text-decoration: none;
}

.dl-footer {
  width: var(--dl-content);
  margin: 0 auto;
}

.dl-footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px 0;
}

.dl-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dl-footer__brand .wp-block-site-title {
  margin: 0;
  font-size: 1.16rem;
}

.dl-footer__brand .wp-block-site-tagline,
.dl-footer__copy {
  margin: 0;
  color: var(--dl-text-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

.dl-footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dl-footer__nav ul,
.dl-footer__nav .wp-block-navigation,
.dl-footer__nav .wp-block-navigation__container {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dl-footer__nav li,
.dl-footer__nav .wp-block-navigation-item {
  list-style: none;
}

.dl-footer__nav li::marker,
.dl-footer__nav .wp-block-navigation-item::marker {
  content: "";
}

.dl-footer__nav a {
  color: var(--dl-primary);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: normal;
  text-align: center;
}

.dl-footer__nav a:hover,
.dl-footer__nav a:focus-visible {
  color: var(--dl-secondary);
}

.dl-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(44, 143, 214, 0.10);
  border: 1px solid rgba(44, 143, 214, 0.16);
  color: var(--dl-primary);
  font-weight: 800;
}

.dl-footer__cta:hover,
.dl-footer__cta:focus-visible {
  color: var(--dl-primary);
  border-color: rgba(44, 143, 214, 0.34);
}

@media (max-width: 1080px) {
  .dl-hero__grid,
  .dl-story,
  .dl-story--reverse {
    grid-template-columns: 1fr;
  }

  .dl-hero__content {
    padding: 10px 0 0;
  }

  .dl-hero__visual {
    justify-content: stretch;
  }

  .dl-hero__visual .dl-media-frame,
  .dl-hero__visual .dl-media-frame img {
    min-height: 340px;
  }
}

@media (max-width: 980px) {
  .dl-kpis,
  .dl-grid--3,
  .dl-contact-grid {
    grid-template-columns: 1fr;
  }

  .dl-grid--2 {
    grid-template-columns: 1fr;
  }

  .dl-form-grid {
    grid-template-columns: 1fr;
  }

  .dl-footer__bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .dl-footer__nav {
    justify-content: flex-start;
  }

  header.wp-block-template-part .wp-block-navigation__responsive-container {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    max-width: 100vw !important;
    max-height: 100dvh !important;
    padding: 24px !important;
    overflow-y: auto !important;
    z-index: 9999 !important;
    background: rgba(247, 251, 255, 0.98) !important;
  }

  header.wp-block-template-part .wp-block-navigation__responsive-dialog {
    position: relative;
    min-height: calc(100dvh - 48px);
    width: 100%;
  }

  header.wp-block-template-part .wp-block-navigation__responsive-container-content {
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 56px;
  }

  header.wp-block-template-part .wp-block-navigation__responsive-container-close {
    position: absolute;
    top: 8px;
    right: 0;
  }

  header.wp-block-template-part .wp-block-navigation__responsive-container .wp-block-navigation__container,
  header.wp-block-template-part .wp-block-navigation__responsive-container .wp-block-page-list {
    width: 100%;
    gap: 10px;
  }

  header.wp-block-template-part .wp-block-navigation__responsive-container .wp-block-navigation-item__content {
    display: block;
    width: 100%;
    text-align: left;
    font-size: 1.15rem;
    padding: 10px 0;
  }
}

@media (max-width: 640px) {
  .dl-page {
    padding-bottom: 64px;
  }

  .dl-hero {
    padding: 18px;
    border-radius: 28px;
  }

  .dl-hero__grid {
    gap: 18px;
  }

  .dl-hero__visual {
    order: -1;
  }

  .dl-hero__visual .dl-media-frame,
  .dl-hero__visual .dl-media-frame img {
    min-height: 220px;
  }

  .dl-hero h1,
  .dl-hero h2 {
    font-size: clamp(1.8rem, 8vw, 2.35rem);
  }

  .dl-hero p {
    font-size: 0.92rem;
  }

  .dl-actions {
    flex-direction: column;
  }

  .dl-actions .dl-btn,
  .dl-highlight__actions .dl-btn,
  .dl-footer__cta {
    width: 100%;
  }

  .dl-badge {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .dl-card,
  .dl-panel,
  .dl-price-card,
  .dl-contact-card,
  .dl-callout,
  .dl-form-wrap,
  .dl-highlight {
    padding: 22px;
  }

  .dl-step {
    padding-left: 0;
    padding-top: 56px;
  }

  .dl-step::before {
    top: 0;
  }

  .dl-floating-whatsapp {
    right: 16px;
    bottom: 16px;
  }

  header.wp-block-template-part .wp-block-site-title {
    font-size: 0.98rem;
  }
}
