:root {
  --wp-brand: #08758a;
  --wp-brand-dark: #0b5565;
  --wp-brand-deep: #0a274c;
  --wp-ink: #113b4a;
  --wp-muted: #607d88;
  --wp-line: #dbe9ed;
  --wp-soft: #f4fafb;
  --wp-white: #fff;
  --wp-shell: #ffffff;
  --wp-shell-shadow: 0 16px 40px rgba(18, 65, 78, 0.055);
  --wp-radius-xl: 28px;
  --wp-radius-lg: 20px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body.wp-body {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--wp-ink);
  background: linear-gradient(180deg, #f7fbfc 0%, #eef6f8 100%);
  -webkit-font-smoothing: antialiased;
}
body.wp-modal-open {
  overflow: hidden;
}
a {
  text-underline-offset: 3px;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
img {
  display: block;
  max-width: 100%;
}
.wp-container {
  width: min(1320px, calc(100% - 44px));
  margin-inline: auto;
}

/* header */
.wp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e7f0f2;
  box-shadow: 0 2px 20px rgba(16, 67, 81, 0.035);
}
.wp-header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wp-logo {
  display: flex;
  gap: 11px;
  align-items: center;
  text-decoration: none;
  min-width: 0;
  color: var(--wp-ink);
}
.wp-logo-image {
  max-width: 175px;
  max-height: 54px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.wp-logo-symbol {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--wp-brand);
  background: #e1f4f6;
  border-radius: 13px;
  font-size: 23px;
}
.wp-logo-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.wp-logo-copy strong {
  font-family: Outfit, sans-serif;
  font-size: 19px;
  line-height: 1.15;
}
.wp-logo-copy small {
  font-size: 10px;
  color: #6f929b;
  max-width: 220px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.wp-nav {
  display: flex;
  align-items: center;
  gap: 27px;
}
.wp-nav a {
  color: #315662;
  text-decoration: none;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  transition: color 0.2s;
}
.wp-nav a:hover,
.wp-nav .wp-nav-active {
  color: var(--wp-brand);
}
.wp-nav .wp-nav-cta {
  color: #fff;
  background: var(--wp-brand);
  border-radius: 10px;
  padding: 13px 19px;
  box-shadow: 0 6px 18px rgba(8, 117, 138, 0.16);
}
.wp-nav .wp-nav-cta:hover {
  color: #fff;
  filter: brightness(0.95);
}
.wp-menu-toggle {
  display: none;
}

/* hero */
.wp-hero {
  position: relative;
  background: #eaf6f8;
  overflow: hidden;
}
.wp-hero-slides {
  position: relative;
  height: clamp(500px, 51vw, 640px);
  overflow: hidden;
}
.wp-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.6s ease,
    visibility 0.6s;
  display: flex;
  align-items: center;
}
.wp-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.wp-hero-media,
.wp-hero-media img,
.wp-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.wp-hero-media img {
  object-fit: cover;
  object-position: center;
}
.wp-hero-shade {
  background:
    linear-gradient(
      90deg,
      rgba(4, 45, 56, 0.92) 0%,
      rgba(6, 65, 77, 0.76) 39%,
      rgba(8, 63, 72, 0.18) 100%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.14));
}
.wp-hero-content {
  position: relative;
  z-index: 1;
  padding-block: 72px;
  color: #fff;
}
.wp-hero-content h1 {
  font-family: Outfit, sans-serif;
  font-size: clamp(39px, 5.7vw, 76px);
  line-height: 1.05;
  letter-spacing: -2px;
  max-width: 760px;
  margin: 18px 0 18px;
  font-weight: 700;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.28);
}
.wp-hero-content p {
  font-size: clamp(14px, 1.35vw, 18px);
  line-height: 1.8;
  max-width: 630px;
  color: #eef8f8;
  margin: 0 0 27px;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.18);
}
.wp-eyebrow {
  font-size: 11px;
  letter-spacing: 2.2px;
  font-weight: 800;
  color: var(--wp-brand);
}
.wp-eyebrow-light {
  color: #ccfff7;
}
.wp-hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.wp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border-radius: 13px;
  padding: 15px 23px;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  border: 0;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
.wp-btn:hover {
  transform: translateY(-2px);
}
.wp-btn-sm {
  padding: 12px 16px;
  font-size: 12px;
}
.wp-btn-white {
  background: #fff;
  color: #0c5a6b;
  box-shadow: 0 9px 25px rgba(5, 32, 45, 0.1);
}
.wp-btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.66);
  color: white;
  background: rgba(255, 255, 255, 0.08);
}
.wp-btn-outline-dark {
  border: 1px solid var(--wp-line);
  color: var(--wp-brand);
  background: #fff;
}
.wp-btn-primary {
  background: var(--wp-brand);
  color: white;
  box-shadow: 0 8px 25px rgba(8, 117, 138, 0.17);
}
.wp-hero-slide.wp-position-centro .wp-hero-content {
  text-align: center;
}
.wp-hero-slide.wp-position-centro .wp-hero-content h1,
.wp-hero-slide.wp-position-centro .wp-hero-content p {
  margin-left: auto;
  margin-right: auto;
}
.wp-hero-slide.wp-position-centro .wp-hero-buttons {
  justify-content: center;
}
.wp-hero-slide.wp-position-derecha .wp-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}
.wp-hero-slide.wp-position-derecha .wp-hero-buttons {
  justify-content: flex-end;
}
.wp-hero-navigation {
  position: absolute;
  z-index: 5;
  bottom: 23px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
}
.wp-hero-navigation > button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}
.wp-hero-dots {
  display: flex;
  gap: 9px;
}
.wp-hero-dots button {
  height: 9px;
  width: 9px;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  cursor: pointer;
  transition: width 0.2s;
}
.wp-hero-dots button.is-active {
  width: 27px;
  background: #fff;
}
.wp-hero-empty {
  padding-block: 100px;
  color: var(--wp-ink);
}
.wp-hero-empty h1 {
  max-width: 800px;
}
.wp-hero-empty p {
  color: #547783;
}

/* trust */
.wp-trust-strip {
  background: #fff;
  border-bottom: 1px solid #ecf2f3;
}
.wp-trust-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-block: 28px;
}
.wp-trust-items > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
}
.wp-trust-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 13px;
  background: #e4f5f6;
  color: var(--wp-brand);
  font-size: 22px;
}
.wp-trust-items strong,
.wp-trust-items small {
  display: block;
}
.wp-trust-items strong {
  font-size: 12px;
}
.wp-trust-items small {
  font-size: 11px;
  color: #8198a0;
  margin-top: 3px;
}

/* shared */
.wp-section {
  padding: 76px 0;
}
.wp-section-band {
  position: relative;
}
.wp-section-band::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(8, 117, 138, 0.18),
    transparent
  );
}
.wp-section-shell {
  background: var(--wp-shell);
  border: 1px solid #dfecf0;
  border-radius: var(--wp-radius-xl);
  box-shadow: var(--wp-shell-shadow);
  padding: 34px 36px 36px;
}
.wp-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  margin-bottom: 26px;
}
.wp-heading-divider {
  padding-bottom: 18px;
  border-bottom: 1px solid #e8f0f2;
}
.wp-section h2 {
  font-family: Outfit, sans-serif;
  font-size: clamp(30px, 3.6vw, 47px);
  line-height: 1.13;
  letter-spacing: -1.2px;
  margin: 12px 0;
  color: #123c4c;
  max-width: 725px;
}
.wp-section-heading p {
  color: #68818a;
  margin: 7px 0 0;
  font-size: 14px;
}
.wp-text-link {
  color: var(--wp-brand);
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}
.wp-text-link:hover {
  text-decoration: underline;
}

/* services */
/* Servicios: conservar dos columnas incluso si solo existe una tarjeta.
   Así una tarjeta no ocupa todo el ancho en la página de inicio. */
.wp-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.wp-service-card,
.wp-home-doctor-card {
  background: #fff;
  border: 1px solid #e0edef;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 38px rgba(25, 84, 97, 0.045);
  transition:
    transform 0.22s,
    box-shadow 0.22s;
}
.wp-service-card:hover,
.wp-home-doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(25, 84, 97, 0.12);
}
.wp-service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.wp-service-img {
  height: 280px;
  background: linear-gradient(135deg, #caedef, #eaf9f6);
  display: grid;
  place-items: center;
  color: var(--wp-brand);
  font-size: 65px;
  overflow: hidden;
}
.wp-service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}
.wp-service-body {
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 24px 24px 22px;
  min-height: 214px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid #ecf2f4;
}
.wp-card-kicker {
  font-size: 10px;
  letter-spacing: 1.6px;
  font-weight: 800;
  color: #128d91;
}
.wp-service-body h3,
.wp-about-copy h3,
.wp-contact-form-copy h3,
.wp-doctor-modal-content h3,
.wp-step-card h3 {
  font-family: Outfit, sans-serif;
  font-size: 24px;
  line-height: 1.2;
  margin: 0;
}
.wp-service-body p,
.wp-contact-form-copy p,
.wp-doctor-modal-content p,
.wp-step-card p {
  color: #6d858e;
  line-height: 1.75;
  font-size: 13px;
  margin: 0;
}
.wp-service-body a {
  color: var(--wp-brand);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  margin-top: auto;
}

/* nosotros */
.wp-about-grid {
  display: grid;
  grid-template-columns: minmax(340px, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: 38px;
}
.wp-about-copy p {
  font-size: 15px;
  line-height: 1.85;
  color: #627d87;
  margin: 0 0 12px;
}
.wp-about-side {
  display: grid;
  gap: 20px;
}
.wp-about-visual {
  min-height: 360px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 26% 32%, #e8f7f7, #bee9e9 55%, #d4f3f2);
}
.wp-about-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}
.wp-about-company-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(9, 41, 50, 0.06)
  );
}
.wp-about-circle {
  height: 220px;
  width: 220px;
  border-radius: 50%;
  border: 20px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.28);
  display: grid;
  place-items: center;
  color: var(--wp-brand);
  font-size: 105px;
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}
.wp-about-points {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.wp-about-points article {
  border: 1px solid #dfecf0;
  border-radius: 18px;
  background: #f9fcfd;
  padding: 16px 18px;
}
.wp-about-points strong,
.wp-about-points span {
  display: block;
}
.wp-about-points strong {
  font-size: 15px;
  color: #163f4e;
  margin-bottom: 5px;
}
.wp-about-points span {
  font-size: 13px;
  color: #6b8690;
  line-height: 1.7;
}
.wp-about-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.wp-about-metrics article {
  border: 1px solid #deebef;
  background: #f8fcfc;
  border-radius: 18px;
  padding: 18px 16px;
  text-align: center;
}
.wp-about-metrics strong {
  display: block;
  font-family: Outfit, sans-serif;
  color: var(--wp-brand);
  font-size: 30px;
  line-height: 1;
  margin-bottom: 8px;
}
.wp-about-metrics span {
  font-size: 12px;
  color: #6f8992;
  line-height: 1.5;
}

/* doctors */
.wp-home-doctors-row {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.wp-home-doctors-row.is-single {
  justify-content: flex-start;
}
.wp-home-doctor-card {
  width: min(100%, 305px);
  flex: 0 0 305px;
}
.wp-home-doctor-card-clean {
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
}
.wp-home-doctor-media-clean {
  height: 285px;
  background: linear-gradient(145deg, #e8f7fb, #d8edf2);
  border-bottom: 1px solid #eaf0f2;
}
.wp-home-doctor-media img,
.wp-home-doctor-media-clean img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.wp-home-doctor-media-clean > span {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 80px;
  color: var(--wp-brand);
}
.wp-home-doctor-info-clean {
  background: #fff;
  color: var(--wp-ink);
  padding: 20px 22px 22px;
  min-height: 240px;
}
.wp-home-doctor-info-clean h3 {
  font-family: Outfit, sans-serif;
  font-size: 27px;
  line-height: 1.18;
  margin: 10px 0 8px;
}
.wp-home-doctor-specialty {
  color: var(--wp-brand);
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.wp-credentials {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 18px;
}
.wp-credentials-inline {
  margin: 2px 0 12px;
}
.wp-credentials span {
  font-size: 11px;
  background: #e9f7f7;
  color: #126d80;
  border-radius: 7px;
  padding: 6px 10px;
  font-weight: 700;
}
.wp-home-doctor-text {
  color: #6c8790;
  font-size: 13px;
  line-height: 1.75;
  margin: 0 0 18px;
}
.wp-home-doctor-actions {
  display: flex;
}

/* steps */
.wp-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.wp-step-card {
  border: 1px solid #deebef;
  border-radius: 22px;
  padding: 26px 24px;
  background: linear-gradient(180deg, #ffffff, #f8fcfd);
  min-height: 220px;
}
.wp-step-number {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: #e6f6f7;
  color: var(--wp-brand);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 16px;
}
.wp-step-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

/* contact */
.wp-contact-shell {
  overflow: hidden;
}
.wp-contact-form-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(380px, 1.15fr);
  gap: 26px;
  align-items: stretch;
}
.wp-contact-highlight {
  background: linear-gradient(180deg, #0c6f84, #09586a);
  color: #fff;
  border-radius: 26px;
  padding: 30px;
  position: relative;
  overflow: hidden;
}
.wp-contact-highlight::before,
.wp-contact-highlight::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.wp-contact-highlight::before {
  width: 180px;
  height: 180px;
  right: -60px;
  top: -30px;
}
.wp-contact-highlight::after {
  width: 220px;
  height: 220px;
  left: -70px;
  bottom: -100px;
}
.wp-contact-highlight > * {
  position: relative;
  z-index: 1;
}
.wp-contact-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #d7fbff;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
}
.wp-contact-highlight h3 {
  color: #fff;
  font-size: 31px;
  margin: 0 0 14px;
}
.wp-contact-highlight p {
  color: #daf2f4;
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 20px;
}
.wp-contact-mini-cards {
  display: grid;
  gap: 12px;
}
.wp-contact-mini-cards article {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.wp-contact-mini-cards strong,
.wp-contact-mini-cards span {
  display: block;
}
.wp-contact-mini-cards strong {
  font-size: 12px;
  margin-bottom: 6px;
  color: #fff;
}
.wp-contact-mini-cards span {
  font-size: 13px;
  color: #dbf6f8;
  line-height: 1.6;
}
.wp-contact-form {
  border: 1px solid #e1edf0;
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff, #f9fcfd);
  padding: 24px;
  box-shadow: 0 14px 34px rgba(12, 80, 95, 0.06);
}
.wp-form-row {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}
.wp-form-row-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.wp-contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wp-contact-form label span {
  font-size: 12px;
  font-weight: 800;
  color: #184453;
}
.wp-contact-form input,
.wp-contact-form textarea {
  width: 100%;
  border: 1px solid #d8e8eb;
  border-radius: 14px;
  padding: 15px 16px;
  font: inherit;
  color: #264854;
  background: #fff;
  outline: none;
}
.wp-contact-form input:focus,
.wp-contact-form textarea:focus {
  border-color: var(--wp-brand);
  box-shadow: 0 0 0 3px rgba(8, 117, 138, 0.12);
}
.wp-form-actions {
  display: flex;
  justify-content: flex-end;
}
.wp-form-actions-between {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.wp-form-actions-between small {
  color: #6d858e;
  line-height: 1.6;
  font-size: 12px;
}

/* map */
.wp-map-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.2fr) minmax(260px, 0.8fr);
  gap: 24px;
  align-items: stretch;
}
.wp-map-frame {
  border: 1px solid #dfecef;
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
  background: #eef7f8;
}
.wp-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}
.wp-map-info {
  display: grid;
  gap: 16px;
}
.wp-map-info article {
  border: 1px solid #e2edf0;
  border-radius: 18px;
  background: #f7fbfc;
  padding: 18px 18px 16px;
}
.wp-map-info strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #163e4d;
  margin-bottom: 7px;
}
.wp-map-info p {
  margin: 0 0 8px;
  color: #64808a;
  line-height: 1.7;
  font-size: 13px;
}

/* doctor modal */
.wp-doctor-modal {
  width: min(1040px, calc(100% - 28px));
  max-width: 1040px;
  border: 0;
  border-radius: 26px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(2, 29, 39, 0.28);
  color: var(--wp-ink);
}
.wp-doctor-modal::backdrop {
  background: rgba(4, 33, 44, 0.67);
  backdrop-filter: blur(5px);
}
.wp-doctor-modal-shell {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  max-height: min(88vh, 880px);
  overflow-y: auto;
}
.wp-doctor-modal-media {
  background: #eef8f9;
  padding: 18px;
  border-right: 1px solid #d8e8eb;
  position: relative;
}
.wp-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid #d7e7eb;
  border-radius: 12px;
  background: #fff;
  font-size: 29px;
  line-height: 1;
  color: #315666;
  cursor: pointer;
}
.wp-doctor-modal-media img,
.wp-doctor-placeholder {
  width: 100%;
  min-height: 340px;
  border-radius: 22px;
  background: linear-gradient(140deg, #cae7ec, #edf8f9);
  object-fit: cover;
  object-position: center 14%;
}
.wp-doctor-placeholder {
  display: grid;
  place-items: center;
  font-size: 90px;
  color: var(--wp-brand);
}
.wp-doctor-quick-box {
  margin-top: 18px;
  border-radius: 18px;
  border: 1px solid #d9e9ee;
  background: #fff;
  padding: 18px;
  display: grid;
  gap: 10px;
}
.wp-doctor-quick-box h4 {
  margin: 0 0 4px;
  font-family: Outfit, sans-serif;
  font-size: 20px;
}
.wp-doctor-quick-box a,
.wp-doctor-quick-box span {
  text-decoration: none;
  color: #4c6d78;
  font-size: 13px;
  line-height: 1.6;
}
.wp-doctor-modal-content {
  padding: 28px 32px 32px;
}
.wp-doctor-modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}
.wp-doctor-modal-specialty {
  color: var(--wp-brand);
  font-size: 15px;
  font-weight: 800;
  margin: 6px 0 8px;
}
.wp-doctor-modal-blocks {
  display: grid;
  gap: 16px;
}
.wp-doctor-modal-blocks article {
  border: 1px solid #e0ecef;
  background: #f7fbfc;
  border-radius: 18px;
  padding: 18px;
}
.wp-doctor-modal-blocks strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: #173f4e;
}
.wp-doctor-modal-blocks p {
  color: #57737c;
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}

/* footer */
.wp-footer {
  margin-top: 52px;
  background: #093641;
  color: #deeff1;
}
.wp-footer-topnote {
  padding-top: 20px;
}
.wp-footer-topnote-line {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
}
.wp-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 42px;
  padding-block: 45px;
}
.wp-footer-grid > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wp-footer-grid strong {
  color: #fff;
  font-family: Outfit, sans-serif;
  font-size: 18px;
}
.wp-footer-grid a,
.wp-footer-grid span,
.wp-footer-grid p {
  color: #bdd5dc;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}
.wp-footer-grid a:hover {
  color: #fff;
}
.wp-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-block: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  color: #96b8c2;
  font-size: 11px;
  align-items: center;
}
.wp-footer-bottom strong {
  color: #fff;
}
.wp-footer-bottom span:nth-child(2) {
  text-align: center;
}
.wp-footer-bottom span:last-child {
  text-align: right;
}

/* responsive */
@media (max-width: 1150px) {
  .wp-nav {
    gap: 15px;
  }
  .wp-nav a {
    font-size: 11px;
  }
  .wp-home-doctor-card {
    flex-basis: calc(50% - 12px);
    width: calc(50% - 12px);
    max-width: 360px;
  }
}

@media (max-width: 980px) {
  .wp-contact-form-grid,
  .wp-map-grid,
  .wp-about-grid,
  .wp-doctor-modal-shell,
  .wp-steps-grid {
    grid-template-columns: 1fr;
  }
  .wp-doctor-modal-media {
    border-right: 0;
    border-bottom: 1px solid #d8e8eb;
  }
  .wp-about-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .wp-container {
    width: min(100% - 28px, 760px);
  }
  .wp-trust-items {
    grid-template-columns: 1fr;
    gap: 19px;
  }
  .wp-trust-items > div {
    justify-content: flex-start;
  }
  .wp-section {
    padding: 58px 0;
  }
  .wp-section-shell {
    padding: 24px 22px;
  }
  .wp-section-heading {
    flex-direction: column;
    align-items: flex-start;
  }
  .wp-footer-grid,
  .wp-footer-bottom {
    grid-template-columns: 1fr;
  }
  .wp-footer-bottom span:nth-child(2),
  .wp-footer-bottom span:last-child {
    text-align: left;
  }
}

@media (max-width: 770px) {
  .wp-header-inner {
    min-height: 70px;
  }
  .wp-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid #d5e9eb;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    padding: 12px;
  }
  .wp-menu-toggle span {
    height: 2px;
    background: #155264;
    border-radius: 5px;
  }
  .wp-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--wp-line);
    padding: 20px 24px;
    box-shadow: 0 12px 20px rgba(22, 75, 91, 0.09);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .wp-nav.is-open {
    display: flex;
  }
  .wp-nav a {
    font-size: 14px;
    padding: 12px 9px;
  }
  .wp-nav .wp-nav-cta {
    text-align: center;
  }
  .wp-logo-copy strong {
    font-size: 16px;
  }
  .wp-hero-slides {
    height: 590px;
  }
  .wp-hero-shade {
    background: linear-gradient(
      0deg,
      rgba(7, 59, 76, 0.92) 0%,
      rgba(10, 79, 93, 0.78) 58%,
      rgba(10, 79, 93, 0.35)
    );
  }
  .wp-hero-content {
    padding-block: 40px;
    align-self: flex-end;
    margin-bottom: 50px;
  }
  .wp-hero-content h1 {
    font-size: clamp(36px, 9vw, 56px);
    letter-spacing: -1.5px;
  }
  .wp-hero-content p {
    font-size: 14px;
  }
  .wp-hero-navigation {
    bottom: 13px;
  }
  .wp-hero-slide.wp-position-derecha .wp-hero-content,
  .wp-hero-slide.wp-position-centro .wp-hero-content {
    align-items: flex-start;
    text-align: left;
  }
  .wp-hero-slide.wp-position-derecha .wp-hero-buttons,
  .wp-hero-slide.wp-position-centro .wp-hero-buttons {
    justify-content: flex-start;
  }
  .wp-services-grid,
  .wp-about-metrics,
  .wp-form-row-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .wp-home-doctor-card {
    flex-basis: 100%;
    width: 100%;
    max-width: none;
  }
  .wp-contact-form {
    padding: 18px;
  }
  .wp-map-frame,
  .wp-map-frame iframe {
    min-height: 320px;
  }
  .wp-doctor-modal {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }
  .wp-doctor-modal-shell {
    max-height: 100dvh;
  }
  .wp-doctor-modal-content {
    padding: 22px 18px 26px;
  }
  .wp-doctor-modal-top,
  .wp-form-actions-between {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* V27: estados del menú compartido */
.wp-nav .wp-nav-cta-active {
  background: #065a6c;
  color: #fff;
}
.wp-header .wp-logo,
.wp-header .wp-nav a {
  text-decoration: none;
}
#wpPublicNavbar {
  isolation: isolate;
}

/* Página Contacto V27 */
.wp-contact-page .wp-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}
.wp-contact-page .wp-contact-card {
  border: 1px solid #dbe9ed;
  border-radius: 20px;
  padding: 28px;
  background: #f9fcfd;
}
.wp-contact-page .wp-contact-card h2 {
  font:
    700 25px Outfit,
    sans-serif;
  margin: 0 0 16px;
}
.wp-contact-page .wp-contact-card p {
  color: #587681;
  line-height: 1.75;
}
.wp-contact-page .wp-map-frame {
  height: 430px;
  margin-top: 25px;
}
.wp-contact-page .wp-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
}
@media (max-width: 720px) {
  .wp-contact-page .wp-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================================================
   V28 - ICONOS Y MENÚ PUBLICO UNIFICADO
   Se aplica solo al navbar compartido.
=========================================================== */
#wpPublicNavbar .wp-nav-icons {
  gap: clamp(9px, 1.25vw, 18px);
}
#wpPublicNavbar .wp-nav-link,
#wpPublicNavbar .wp-nav-upcoming {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  color: #315662;
  text-decoration: none;
  position: relative;
}
#wpPublicNavbar .wp-nav-link svg,
#wpPublicNavbar .wp-nav-cta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
#wpPublicNavbar .wp-nav-link:not(.wp-nav-upcoming):hover,
#wpPublicNavbar .wp-nav-link.wp-nav-active {
  color: var(--wp-brand);
}
#wpPublicNavbar .wp-nav-link.wp-nav-active::after {
  content: "";
  position: absolute;
  height: 2px;
  bottom: -5px;
  left: 3px;
  right: 3px;
  background: var(--wp-brand);
  border-radius: 99px;
}
#wpPublicNavbar .wp-nav-upcoming {
  color: #8ea6ae;
  cursor: default;
  opacity: 0.82;
}
#wpPublicNavbar .wp-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 15px;
  color: #fff;
  text-decoration: none;
}
#wpPublicNavbar .wp-nav-cta svg {
  width: 15px;
  height: 15px;
}
@media (max-width: 1120px) and (min-width: 771px) {
  #wpPublicNavbar .wp-nav-icons {
    gap: 7px;
  }
  #wpPublicNavbar .wp-nav-link {
    font-size: 11px;
    gap: 4px;
  }
  #wpPublicNavbar .wp-nav-link svg {
    width: 14px;
    height: 14px;
  }
  #wpPublicNavbar .wp-nav-cta {
    padding: 11px 10px;
    font-size: 11px;
  }
}
@media (max-width: 770px) {
  #wpPublicNavbar .wp-nav-icons {
    gap: 4px;
  }
  #wpPublicNavbar .wp-nav-link,
  #wpPublicNavbar .wp-nav-upcoming {
    justify-content: flex-start;
    width: 100%;
    padding: 11px 12px;
    font-size: 14px;
  }
  #wpPublicNavbar .wp-nav-link.wp-nav-active::after {
    display: none;
  }
  #wpPublicNavbar .wp-nav-link.wp-nav-active {
    background: #eaf7f8;
    border-radius: 10px;
  }
  #wpPublicNavbar .wp-nav-cta {
    width: 100%;
    min-height: 45px;
  }
}



/* ==============================================================
   NOSOTROS V3 - ÚNICAMENTE HOME Y PÁGINA NOSOTROS
   Sin alterar estilos de Banners, Servicios, Doctor y otros módulos.
============================================================== */
.wp-about-compact .wp-section-shell { padding: clamp(20px, 3vw, 36px); }
.wp-about-compact-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(22px, 4vw, 50px); }
.wp-about-compact-copy { min-width: 0; }
.wp-about-compact-copy h2 { font-family: Outfit,sans-serif; font-size: clamp(29px,3vw,43px); line-height: 1.15; letter-spacing: -.9px; margin: 13px 0 14px; }
.wp-about-compact-copy p { max-width: 52ch; font-size: 15px; line-height: 1.8; color: #607d88; margin: 0 0 24px; }
.wp-about-compact-copy .wp-btn { width: max-content; max-width: 100%; }
.wp-about-compact-media { width: 100%; aspect-ratio: 5 / 3.7; border-radius: 22px; overflow: hidden; background: linear-gradient(135deg,#e3f4f7,#c2e8e9); }
.wp-about-compact-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.wp-about-compact-placeholder { height: 100%; display: grid; place-items: center; font-size: 64px; color: #08758a; }
.wn-page .wp-section { padding-block: 45px 65px; }
.wn-page .wp-section-shell { padding: clamp(20px,3vw,42px); }
.wn-page .wn-kicker { font-size: 11px; letter-spacing: 1.8px; font-weight: 800; color: #08758a; }
.wn-page .wn-title { font: 700 clamp(32px,3.6vw,48px)/1.15 Outfit,sans-serif; color: #113b4a; margin: 12px 0; }
.wn-page .wn-lead { color: #607d88; font-size: 16px; line-height: 1.75; margin: 0 0 25px; }
.wn-page .wn-hero-layout { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: 30px; align-items: stretch; }
.wn-page .wn-hero-copy { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.wn-page .wn-hero-photo { width: 100%; height: 100%; min-height: 330px; max-height: 490px; object-fit: cover; border-radius: 21px; }
.wn-page .wn-hero-empty { display: grid; place-items: center; min-height: 300px; background: linear-gradient(135deg,#edf9fa,#c7e9ed); color: #08758a; font-size: 62px; border-radius: 21px; }
.wn-page .wn-history-summary { color: #557984; font-size: 15px; line-height: 1.8; margin: 0 0 14px; }
.wn-page .wn-history-details { color: #607d88; margin-top: 12px; }
.wn-page .wn-history-details summary { color: #08758a; font-weight: 750; cursor: pointer; padding: 10px 0; }
.wn-page .wn-history-details p { font-size: 14px; line-height: 1.85; white-space: pre-line; margin: 7px 0; }
.wn-page .wn-section-heading { font: 700 clamp(23px,2.4vw,32px)/1.2 Outfit,sans-serif; margin: 32px 0 17px; color: #123c4c; }
.wn-page .wn-principles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 30px; }
.wn-page .wn-principles article { padding: 22px; border: 1px solid #dbe9ed; background: #f8fcfd; border-radius: 18px; }
.wn-page .wn-principles h2 { font: 700 21px Outfit,sans-serif; color: #123c4c; margin: 0 0 12px; }
.wn-page .wn-principles p { font-size: 14px; color: #607d88; line-height: 1.8; white-space: pre-line; margin: 0; }
.wn-page .wn-values-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 32px; }
.wn-page .wn-values-header .wn-section-heading { margin: 0 0 7px; }
.wn-page .wn-values-header p { color: #607d88; font-size: 13px; margin: 0; }
.wn-page .wn-values-nav { display: flex; gap: 9px; align-items: center; }
.wn-page .wn-value-button { height: 40px; width: 40px; border-radius: 11px; border: 1px solid #cddfe5; background: #fff; font-size: 22px; color: #08758a; cursor: pointer; }
.wn-page .wn-value-button:disabled { opacity: .38; cursor: not-allowed; }
.wn-page .wn-values-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; margin-top: 19px; }
.wn-page .wn-value-card { min-width: 0; min-height: 178px; border: 1px solid #dbe9ed; border-radius: 17px; background: #f8fcfd; padding: 20px; }
.wn-page .wn-value-card[hidden] { display: none !important; }
.wn-page .wn-value-card h3 { font: 700 18px Outfit,sans-serif; color: #08758a; margin: 0 0 11px; }
.wn-page .wn-value-card p { color: #607d88; line-height: 1.7; font-size: 13px; margin: 0; }
.wn-page .wn-values-footer { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 15px; }
.wn-page .wn-page-status { font-size: 12px; color: #607d88; }
@media (max-width: 860px) {
  .wp-about-compact-grid, .wn-page .wn-hero-layout { grid-template-columns: 1fr; }
  .wp-about-compact-media { aspect-ratio: 16 / 9; }
  .wn-page .wn-hero-photo { max-height: 420px; }
  .wn-page .wn-values-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 540px) {
  .wp-about-compact .wp-section-shell { padding: 19px; }
  .wp-about-compact-copy p { font-size: 14px; }
  .wn-page .wp-section { padding-block: 22px 42px; }
  .wn-page .wn-principles { grid-template-columns: 1fr; }
  .wn-page .wn-values-grid { grid-template-columns: 1fr; }
  .wn-page .wn-values-header { align-items: flex-end; }
  .wn-page .wn-value-card { min-height: 140px; }
}


/* =============================================================
   PEDIATRÍA OSHIRO - SEPARADORES ELEGANTES V4
   Exclusivos del Home (/inicio).
   Mantiene intactos módulos, navbar y páginas interiores.
   Marca la transición entre secciones sin añadir elementos HTML.
============================================================= */

/* Posicionar separadores únicamente entre bloques del Home. */
body.wp-body #mainContent > section.wp-section ~ section.wp-section {
  position: relative;
}

/* Línea turquesa corta, suavizada hacia los extremos. */
body.wp-body #mainContent > section.wp-section ~ section.wp-section::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 50%;
  right: auto;
  width: min(420px, calc(100% - 72px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(8, 117, 138, 0.12) 18%,
    rgba(8, 117, 138, 0.34) 50%,
    rgba(8, 117, 138, 0.12) 82%,
    transparent 100%
  );
  pointer-events: none;
}

/* Pequeño sello geométrico que marca el comienzo de otra sección. */
body.wp-body #mainContent > section.wp-section ~ section.wp-section::after {
  content: "✦";
  position: absolute;
  z-index: 2;
  top: -12px;
  left: 50%;
  width: 25px;
  height: 25px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  border: 1px solid #dcecef;
  border-radius: 50%;
  background: #f5fafb;
  box-shadow: 0 2px 8px rgba(8, 117, 138, 0.055);
  color: #428b96;
  font: 13px/1 Georgia, serif;
  pointer-events: none;
}

/* Mantener la transición proporcionada también en celulares. */
@media (max-width: 770px) {
  body.wp-body #mainContent > section.wp-section ~ section.wp-section::before {
    width: min(240px, calc(100% - 70px));
  }
  body.wp-body #mainContent > section.wp-section ~ section.wp-section::after {
    width: 23px;
    height: 23px;
    top: -11px;
    font-size: 12px;
  }
}
