@charset "UTF-8";

/* =====================================================
   Dra. Linette Gómez Website
   CSS Global
===================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --color-primary: #006868;
  --color-primary-dark: #005858;
  --color-accent: #00adad;
  --color-accent-dark: #009b9b;
  --color-soft: #c0e7e3;
  --color-light: #f1f1f1;
  --color-light-2: #e8e8e8;
  --color-gray: #868787;
  --color-dark: #3f3f3f;
  --color-white: #ffffff;

  --site-bg: #106b68;
  --footer-bg: #333333;

  --font-heading: 'Public Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  --site-width: 1240px;
  --container: 1120px;

  --radius-section: 10px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 8px;

  --section-x: 72px;
  --container-x: 140px;

  --circle-size-desktop: 470px;
  --circle-size-tablet: 400px;
  --circle-size-mobile: 320px;

  /* Alturas universales del sistema de diseño */
  --section-height-standard: 640px;
  --section-height-large: 720px;
  --section-height-compact: 560px;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.58;
  font-weight: 400;
  color: var(--color-dark);
  background: var(--site-bg);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: inherit;
}

button {
  cursor: pointer;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* ==============================
   Layout
================================= */

main {
  padding-top: 40px;
}

/* Contenedor interno global.
   Usamos 100vw para que el ancho no dependa de contenedores heredados
   y se mantenga igual entre Home y páginas internas. */
.container {
  width: min(calc(100vw - var(--container-x)), var(--container));
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

/* Ficheros / recuadros principales del sitio */
.hero,
.section,
.site-footer {
  width: min(calc(100vw - var(--section-x)), var(--site-width));
  max-width: var(--site-width);
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-section);
  overflow: hidden;
}

.hero,
.section {
  margin-bottom: 10px;
}

.section {
  padding: 68px 0;
}

/* Alineación interna uniforme para header, secciones y footer */
.hero > .container,
.section > .container,
.site-footer > .container,
.site-header .container {
  width: min(calc(100vw - var(--container-x)), var(--container));
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.section-light {
  background: var(--color-light);
  color: var(--color-primary);
}

.section-dark {
  position: relative;
  overflow: hidden;
  color: var(--color-white);
  background:
    radial-gradient(circle at 12% 88%, rgba(0, 173, 173, 0.35), transparent 36%),
    linear-gradient(135deg, #006868 0%, #007474 48%, #00adad 100%);
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      120deg,
      transparent 0%,
      transparent 56%,
      rgba(255, 255, 255, 0.08) 56%,
      rgba(255, 255, 255, 0.08) 66%,
      transparent 66%
    ),
    linear-gradient(
      120deg,
      transparent 0%,
      transparent 68%,
      rgba(255, 255, 255, 0.06) 68%,
      rgba(255, 255, 255, 0.06) 78%,
      transparent 78%
    );
}

.section-dark > .container,
.hero > .container {
  position: relative;
  z-index: 1;
}

/* ==============================
   Typography
================================= */

h1,
h2,
h3 {
  font-family: var(--font-heading);
  letter-spacing: -0.045em;
}

h1 {
  font-size: clamp(44px, 5vw, 56px);
  line-height: 1.06;
  font-weight: 600;
}

h2 {
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 600;
}

h3 {
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.18;
  font-weight: 700;
}

p {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.58;
  font-weight: 400;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--color-primary);
}

/* ==============================
   Header
================================= */

.site-header {
  position: absolute;
  top: 40px;
  left: 0;
  z-index: 50;
  width: 100%;
  padding: 28px 0 0;
  color: var(--color-white);
}

.site-header .container {
  width: min(calc(100vw - var(--container-x)), var(--container));
  max-width: var(--container);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  max-width: 175px;
}

.site-logo-img {
  width: 165px;
  max-width: 165px;
  height: auto;
}

.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.main-nav a {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.main-nav a:hover {
  opacity: 0.78;
}

.header-phone {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-white);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

/* ==============================
   WhatsApp icons
================================= */

.phone-icon,
.btn-whatsapp-icon {
  width: 27px;
  height: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: currentColor;
  background: transparent;
  border: none;
  border-radius: 0;
  font-size: 0;
  line-height: 1;
}

.phone-icon svg,
.btn-whatsapp-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.phone-icon svg path,
.btn-whatsapp-icon svg path {
  fill: none !important;
  stroke: currentColor !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.phone-icon .wa-outline,
.btn-whatsapp-icon .wa-outline {
  stroke-width: 1.9;
}

.phone-icon .wa-phone,
.btn-whatsapp-icon .wa-phone {
  stroke-width: 1.6;
}

/* ==============================
   Mobile menu
================================= */

.menu-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  background: var(--color-white);
  border-radius: 5px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  z-index: 40;
  width: min(86%, 360px);
  height: 100vh;
  padding: 100px 28px 28px;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.18);
  transition: right 0.3s ease;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 18px;
  font-weight: 700;
}

.mobile-whatsapp {
  margin-top: 12px;
  padding: 14px 16px !important;
  border-bottom: none !important;
  border-radius: 999px;
  background: var(--color-accent);
  text-align: center;
}

/* ==============================
   Buttons
================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--color-primary);
  background: transparent;
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-link {
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 0;
  border-bottom: 1px solid currentColor;
  color: var(--color-white);
}

.btn-link:hover {
  opacity: 0.8;
}

/* ==============================
   Hero
   Fondo hecho 100% con CSS
================================= */

.hero {
  min-height: 720px;
  padding: 150px 0 90px;
  display: flex;
  align-items: center;
}

.hero-home.section-dark {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 190, 185, 0.42) 0%, rgba(0, 190, 185, 0.12) 28%, transparent 56%),
    radial-gradient(circle at 7% 90%, rgba(0, 54, 54, 0.58) 0%, rgba(0, 74, 74, 0.24) 36%, transparent 62%),
    linear-gradient(115deg, #005f5f 0%, #007675 48%, #10b7b5 100%);
}

.hero-home.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  display: block;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.08) 0.7px, transparent 0.7px),
    radial-gradient(rgba(0, 0, 0, 0.08) 0.6px, transparent 0.6px),
    linear-gradient(
      118deg,
      transparent 0%,
      transparent 58%,
      rgba(255, 255, 255, 0.055) 58%,
      rgba(255, 255, 255, 0.055) 69%,
      transparent 69%
    ),
    linear-gradient(
      118deg,
      transparent 0%,
      transparent 72%,
      rgba(255, 255, 255, 0.045) 72%,
      rgba(255, 255, 255, 0.045) 82%,
      transparent 82%
    );
  background-size:
    4px 4px,
    5px 5px,
    100% 100%,
    100% 100%;
  background-position:
    0 0,
    2px 2px,
    center,
    center;
  opacity: 0.9;
}

.hero-home.section-dark::after {
  content: "";
  position: absolute;
  right: -265px;
  bottom: -360px;
  z-index: -2;
  width: 760px;
  height: 760px;
  border: 72px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 470px);
  gap: 56px;
  align-items: center;
}

.hero-content {
  max-width: 650px;
}

.hero-home h1 {
  max-width: 620px;
  font-size: clamp(44px, 5vw, 56px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.048em;
}

.hero-content p {
  max-width: 590px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-actions .btn-primary {
  min-height: 52px;
  padding: 0 26px;
  border-radius: 7px;
  font-size: 19px;
  font-weight: 700;
  gap: 10px;
}

.hero-actions .btn-link {
  min-height: auto;
  padding: 0;
  border-bottom: 1.5px solid currentColor;
  font-size: 18px;
  font-weight: 600;
}

.hero-tags {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  margin-top: 58px;
}

.hero-tags span {
  white-space: nowrap;
  padding: 4px 15px 5px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}

.hero-media {
  display: flex;
  justify-content: center;
  padding-right: 22px;
}

.hero-home .image-orb,
.approach-section .rounded-photo,
.approach-photo {
  width: var(--circle-size-desktop);
  height: var(--circle-size-desktop);
  max-width: var(--circle-size-desktop);
  max-height: var(--circle-size-desktop);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
}

.hero-circle-img,
.approach-circle-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  border-radius: 50%;
}

/* ==============================
   General sections
================================= */

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.section-copy h2 {
  margin-bottom: 24px;
}

.section-copy p {
  margin-bottom: 20px;
  color: var(--color-dark);
}

.light-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.section-copy .btn {
  margin-top: 8px;
}

.rounded-photo {
  width: min(100%, 460px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  justify-self: center;
}

/* ==============================
   Atención especializada
================================= */

.services-section {
  padding-top: 86px;
  padding-bottom: 86px;
  background:
    radial-gradient(circle at 25% 30%, rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(135deg, #f7f7f7 0%, #f1f1f1 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 72px;
  align-items: center;
}

.services-copy {
  color: var(--color-primary);
}

.services-copy h2 {
  margin-bottom: 26px;
  color: var(--color-primary);
  font-size: clamp(40px, 4.6vw, 54px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.048em;
}

.services-copy p {
  max-width: 520px;
  margin-bottom: 26px;
  color: var(--color-primary);
  font-size: 19px;
  line-height: 1.6;
}

.services-copy p strong {
  color: var(--color-primary);
  font-weight: 700;
}

.services-btn {
  min-height: 56px;
  margin-top: 8px;
  padding: 0 22px;
  border-radius: 8px;
  border-color: var(--color-primary);
  color: var(--color-primary);
  font-size: 19px;
  font-weight: 700;
}

/* ==============================
   Carrusel servicios
================================= */

.services-carousel {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.service-slide {
  position: absolute;
  overflow: hidden;
  border-radius: 28px;
  background: var(--color-primary);
  box-shadow: 0 24px 58px rgba(0, 104, 104, 0.16);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.service-slide::before {
  display: none;
}

.service-slide-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.service-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(0, 104, 104, 0.08) 0%,
      rgba(0, 104, 104, 0.78) 100%
    );
}

.service-slide-content {
  position: absolute;
  left: 30px;
  right: 24px;
  bottom: 30px;
  z-index: 2;
  color: var(--color-white);
}

.service-slide-content h3 {
  max-width: 290px;
  margin-bottom: 12px;
  color: var(--color-white);
  font-size: clamp(28px, 3vw, 36px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.055em;
}

.service-slide-content p {
  max-width: 260px;
  margin: 0;
  color: var(--color-white);
  font-size: 18px;
  line-height: 1.16;
  font-weight: 600;
}

.service-slide-icon {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.service-slide-main {
  z-index: 3;
  width: 360px;
  height: 390px;
  transform: scale(1);
}

.service-slide-left,
.service-slide-right {
  z-index: 2;
  width: 270px;
  height: 330px;
  opacity: 0.88;
  filter: saturate(0.95);
  transform: scale(0.96);
}

.service-slide-left {
  left: 42px;
}

.service-slide-right {
  right: 42px;
}

.service-slide-left .service-slide-content h3,
.service-slide-right .service-slide-content h3 {
  max-width: 210px;
  font-size: 27px;
  line-height: 1.02;
}

.service-slide-left .service-slide-content p,
.service-slide-right .service-slide-content p {
  max-width: 190px;
  font-size: 15px;
  line-height: 1.18;
}

.service-slide-left .service-slide-icon,
.service-slide-right .service-slide-icon {
  width: 34px;
  height: 34px;
}

.services-carousel.is-changing .service-slide-content,
.services-carousel.is-changing .service-slide-img {
  opacity: 0;
  transition: opacity 0.22s ease;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 5;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel-dot {
  width: 16px;
  height: 16px;
  border: none;
  border-radius: 50%;
  background: var(--color-soft);
  opacity: 0.95;
}

.carousel-dot.active {
  background: var(--color-primary);
}

/* ==============================
   Nuestro enfoque
================================= */

.approach-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 190, 185, 0.42) 0%, rgba(0, 190, 185, 0.14) 28%, transparent 56%),
    radial-gradient(circle at 92% 86%, rgba(0, 54, 54, 0.58) 0%, rgba(0, 74, 74, 0.24) 36%, transparent 62%),
    linear-gradient(245deg, #005f5f 0%, #007675 48%, #10b7b5 100%);
}

.approach-section.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  display: block;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.08) 0.7px, transparent 0.7px),
    radial-gradient(rgba(0, 0, 0, 0.08) 0.6px, transparent 0.6px),
    linear-gradient(
      62deg,
      transparent 0%,
      transparent 18%,
      rgba(255, 255, 255, 0.055) 18%,
      rgba(255, 255, 255, 0.055) 28%,
      transparent 28%
    );
  background-size:
    4px 4px,
    5px 5px,
    100% 100%;
  background-position:
    0 0,
    2px 2px,
    center;
  opacity: 0.9;
}

.approach-section::after {
  content: "";
  position: absolute;
  left: -340px;
  bottom: -360px;
  z-index: -2;
  width: 760px;
  height: 760px;
  border: 72px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.approach-section .container {
  position: relative;
  z-index: 1;
}

.approach-photo {
  justify-self: center;
}

.approach-section .section-copy h2 {
  margin-bottom: 34px;
  color: var(--color-white);
  font-size: clamp(40px, 4.8vw, 54px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.048em;
}

.approach-list {
  display: grid;
  gap: 22px;
}

.approach-item {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
}

.approach-item h3 {
  margin-bottom: 14px;
  color: var(--color-white);
  font-size: 24px;
  line-height: 1.18;
  font-weight: 700;
}

.approach-item p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.55;
}

/* ==============================
   Formación y experiencia
================================= */

.experience-section {
  padding-top: 72px;
  padding-bottom: 76px;
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.9), transparent 34%),
    linear-gradient(135deg, #f7f7f7 0%, #f1f1f1 100%);
}

.experience-heading {
  max-width: 100%;
  margin-bottom: 36px;
  text-align: center;
}

.experience-heading h2 {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  color: var(--color-primary);
  font-size: clamp(34px, 3.8vw, 46px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.048em;
}

.experience-grid {
  width: min(100%, 995px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px 20px;
}

.experience-card {
  min-height: 213px;
  padding: 30px 36px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 173, 173, 0.28);
  border-radius: 18px;
  color: var(--color-primary);
}

.experience-card h3 {
  margin-bottom: 17px;
  color: var(--color-primary);
  font-size: 23px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.042em;
}

.experience-card p {
  color: var(--color-dark);
  font-size: 18px;
  line-height: 1.45;
}

.experience-number {
  display: block;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.experience-accent {
  margin-top: 14px;
  color: var(--color-accent) !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
  font-weight: 500 !important;
}

/* ==============================
   CTA + formulario
================================= */

.cta-section {
  min-height: 560px;
  padding-top: 70px;
  padding-bottom: 70px;
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.cta-section.section-dark {
  background:
    radial-gradient(circle at 84% 18%, rgba(0, 205, 198, 0.36) 0%, rgba(0, 205, 198, 0.12) 24%, transparent 52%),
    radial-gradient(circle at 16% 82%, rgba(0, 78, 78, 0.42) 0%, rgba(0, 78, 78, 0.16) 34%, transparent 60%),
    linear-gradient(115deg, #005f5f 0%, #007675 48%, #10b7b5 100%);
}

.cta-section.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.06) 0.7px, transparent 0.7px),
    radial-gradient(rgba(0, 0, 0, 0.06) 0.6px, transparent 0.6px),
    linear-gradient(
      118deg,
      transparent 0%,
      transparent 58%,
      rgba(255, 255, 255, 0.035) 58%,
      rgba(255, 255, 255, 0.035) 70%,
      transparent 70%
    );
  background-size:
    4px 4px,
    5px 5px,
    100% 100%;
  background-position:
    0 0,
    2px 2px,
    center;
  opacity: 0.78;
}

.cta-section.section-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 85% 50%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 18%, transparent 42%);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 88px;
  align-items: center;
}

.cta-copy {
  max-width: 620px;
}

.cta-copy h2 {
  margin-bottom: 22px;
  color: var(--color-white);
  font-size: clamp(44px, 5.2vw, 58px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.052em;
}

.cta-copy p {
  color: var(--color-white);
}

.cta-lead {
  max-width: 560px;
  margin-bottom: 26px;
  font-size: 19px;
  line-height: 1.55;
  font-weight: 700;
}

.cta-support {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 18px;
  line-height: 1.5;
  font-style: italic;
  font-weight: 400;
}

.medical-note {
  max-width: 560px;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.6;
}

.evaluation-form {
  width: 100%;
  max-width: 420px;
  padding: 34px 50px;
  background: #f1f1f1;
  border-radius: 22px;
  color: var(--color-primary);
}

.evaluation-form h3 {
  max-width: 310px;
  margin-bottom: 18px;
  color: var(--color-primary);
  font-size: clamp(32px, 3vw, 38px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.evaluation-form label,
.form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-dark);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
}

.evaluation-form label,
.form-group {
  margin-bottom: 15px;
}

.evaluation-form input {
  width: 100%;
  height: 39px;
  margin-top: 7px;
  padding: 0 20px;
  border: none;
  border-radius: 9px;
  outline: none;
  background: #e8e8e8;
  color: var(--color-dark);
  font-size: 14px;
  font-weight: 500;
}

.evaluation-form input::placeholder {
  color: #b7b7b7;
}

.option-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 8px;
  margin-top: 9px;
}

.option-pill {
  min-height: 39px;
  padding: 0 12px;
  border: none;
  border-radius: 9px;
  background: #e8e8e8;
  color: var(--color-dark);
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
}

.option-pill.active,
.option-pill:hover {
  background: #868787;
  color: var(--color-white);
}

.phone-field {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 8px;
  align-items: center;
  margin-top: 7px;
}

.phone-field span {
  height: 39px;
  display: grid;
  place-items: center;
  background: #e8e8e8;
  border-radius: 9px;
  color: var(--color-dark);
  font-size: 14px;
  font-weight: 500;
}

.phone-field input {
  margin-top: 0;
}

.form-submit {
  width: 100%;
  min-height: 40px;
  margin-top: 12px;
  border: none;
  border-radius: 8px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 17px;
  font-weight: 700;
}

.form-submit:hover {
  background: var(--color-accent-dark);
  transform: none;
}

/* ==============================
   Footer
================================= */

.site-footer {
  margin-bottom: 40px;
  padding: 54px 0 22px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.04), transparent 26%),
    linear-gradient(135deg, #3c3c3c 0%, #333333 100%);
  color: var(--color-white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.75fr;
  gap: 64px;
  align-items: start;
}

.footer-brand {
  max-width: 390px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  max-width: 260px;
}

.footer-logo-img {
  width: 245px;
  max-width: 245px;
  height: auto;
}

.footer-brand-copy {
  max-width: 350px;
  margin: 24px 0 28px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.45;
}

.social-row {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 32px;
}

.social-row a {
  width: 28px;
  height: 28px;
  color: #d9f5f3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-row a:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}

.social-row svg {
  width: 28px;
  height: 28px;
}

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 22px 0 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  background: transparent;
  color: var(--color-white);
  font-size: 18px;
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.back-top:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.92);
}

.back-top-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.back-top-icon svg {
  width: 24px;
  height: 24px;
}

.footer-col h3 {
  margin-bottom: 20px;
  color: #d9f5f3;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
}

.footer-location-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 24px;
}

.footer-location-icon {
  margin-top: 3px;
  color: #d9f5f3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-location-icon svg {
  width: 18px;
  height: 18px;
}

.footer-location-item strong {
  display: block;
  margin-bottom: 3px;
  color: var(--color-white);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 600;
}

.footer-location-item span {
  display: block;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.35;
}

.footer-links a {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 600;
}

.footer-links a:hover {
  opacity: 0.85;
}

.footer-links a.is-current {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-title {
  margin-top: 30px;
}

.footer-bottom {
  margin-top: 42px;
}

.footer-bottom p {
  color: #d9f5f3;
  font-size: 16px;
  line-height: 1.3;
}

.footer-bottom strong {
  font-weight: 700;
}

/* ==============================
   Responsive
================================= */

@media (max-width: 1120px) {
  :root {
    --container-x: 80px;
  }

  .site-logo-img {
    width: 145px;
    max-width: 145px;
  }

  .main-nav {
    gap: 14px;
  }

  .main-nav a {
    font-size: 12px;
  }

  .header-phone {
    font-size: 13px;
  }

  .hero-grid,
  .two-column,
  .cta-grid {
    gap: 46px;
  }
}

@media (max-width: 1040px) {
  .main-nav,
  .header-phone {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .logo {
    max-width: 160px;
  }

  .site-logo-img {
    width: 150px;
    max-width: 150px;
  }

  .hero-grid,
  .two-column,
  .cta-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 42px;
  }

  .hero {
    min-height: auto;
    padding-top: 135px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-media {
    padding-right: 0;
  }

  .hero-tags {
    flex-wrap: wrap;
    margin-top: 34px;
  }

  .hero-home .image-orb,
  .approach-section .rounded-photo,
  .approach-photo {
    width: var(--circle-size-tablet);
    height: var(--circle-size-tablet);
    max-width: var(--circle-size-tablet);
    max-height: var(--circle-size-tablet);
  }

  .cta-grid {
    max-width: 720px;
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .evaluation-form {
    max-width: 460px;
  }

  .services-grid {
    gap: 54px;
  }

  .services-copy p {
    max-width: 100%;
  }

  .services-carousel {
    min-height: 440px;
  }

  .service-slide-left {
    left: 18%;
  }

  .service-slide-right {
    right: 18%;
  }

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

  .experience-card {
    min-height: 200px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 42px;
  }
}

@media (max-width: 900px) {
  :root {
    --section-x: 24px;
    --container-x: 32px;
  }

  main {
    padding-top: 18px;
  }

  .site-header {
    top: 18px;
    padding-top: 18px;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 58px 0;
  }

  .site-header .container.header-inner {
    width: min(calc(100vw - 44px), var(--container));
  }

  .site-logo-img {
    width: 132px;
    max-width: 132px;
  }

  .logo {
    margin-left: 2px;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
    margin-right: 2px;
    flex: 0 0 auto;
  }

  .footer-logo-img {
    width: 210px;
    max-width: 210px;
  }

  .footer-brand {
    max-width: 100%;
  }

  .hero {
    padding-bottom: 64px;
  }

  .hero-home.section-dark::after {
    right: -360px;
    bottom: -340px;
    width: 660px;
    height: 660px;
    border-width: 56px;
  }

  .approach-section::after {
    left: -390px;
    bottom: -340px;
    width: 660px;
    height: 660px;
    border-width: 56px;
  }

  h1,
  .hero-home h1 {
    font-size: 40px;
    line-height: 1.08;
    font-weight: 600;
  }

  h2,
  .services-copy h2,
  .approach-section .section-copy h2,
  .cta-copy h2 {
    font-size: 38px;
    line-height: 1.08;
    font-weight: 600;
  }

  p,
  .hero-content p,
  .services-copy p,
  .approach-item p,
  .cta-lead,
  .cta-support {
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-actions {
    align-items: stretch;
    gap: 16px;
  }

  .hero-actions .btn-primary {
    width: 100%;
    min-height: 48px;
    border-radius: 7px;
    font-size: 18px;
  }

  .hero-actions .btn-link {
    justify-content: flex-start;
    width: auto;
  }

  .hero-tags {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: 360px;
    margin-top: 28px;
    align-items: stretch;
  }

  .hero-tags span {
    width: 100%;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    text-align: center;
    white-space: normal;
    line-height: 1.15;
    border-radius: 999px;
    font-size: 14px;
  }

  .hero-home .image-orb,
  .approach-section .rounded-photo,
  .approach-photo {
    width: var(--circle-size-mobile);
    height: var(--circle-size-mobile);
    max-width: var(--circle-size-mobile);
    max-height: var(--circle-size-mobile);
  }

  .services-section {
    padding-top: 60px;
    padding-bottom: 72px;
  }

  .services-copy p {
    font-size: 17px;
  }

  .services-btn {
    width: 100%;
    min-height: 52px;
    font-size: 18px;
  }

  .services-carousel {
    min-height: 380px;
  }

  .service-slide-main {
    width: 280px;
    height: 330px;
  }

  .service-slide-left,
  .service-slide-right {
    width: 210px;
    height: 280px;
  }

  .service-slide-left {
    left: 0;
  }

  .service-slide-right {
    right: 0;
  }

  .service-slide-content {
    left: 22px;
    right: 18px;
    bottom: 24px;
  }

  .service-slide-content h3 {
    font-size: 28px;
  }

  .service-slide-content p {
    font-size: 17px;
  }

  .service-slide-icon {
    width: 38px;
    height: 38px;
  }

  .carousel-dots {
    gap: 10px;
  }

  .carousel-dot {
    width: 13px;
    height: 13px;
  }

  .approach-item h3 {
    font-size: 22px;
  }

  .experience-section {
    padding-top: 58px;
    padding-bottom: 62px;
  }

  .experience-heading {
    text-align: left;
  }

  .experience-heading h2 {
    font-size: 34px;
    line-height: 1.12;
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }

  .experience-card {
    min-height: auto;
    padding: 26px;
  }

  .experience-card h3 {
    font-size: 22px;
  }

  .experience-card p {
    font-size: 16px;
  }

  .cta-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .medical-note {
    font-size: 14px;
  }

  .evaluation-form {
    max-width: 100%;
    padding: 28px 24px;
  }

  .evaluation-form h3 {
    font-size: 32px;
  }

  .option-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .option-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 42px 0 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-brand-copy,
  .footer-links a,
  .footer-location-item strong,
  .footer-location-item span,
  .footer-bottom p {
    font-size: 16px;
  }

  .back-top {
    min-height: 50px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-x: 16px;
    --container-x: 24px;
  }

  .site-header .container.header-inner {
    width: min(calc(100vw - 36px), var(--container));
  }

  h1,
  .hero-home h1 {
    font-size: 38px;
  }

  h2,
  .services-copy h2,
  .approach-section .section-copy h2,
  .cta-copy h2 {
    font-size: 34px;
  }

  .experience-heading h2 {
    font-size: 31px;
  }

  .site-logo-img {
    width: 120px;
    max-width: 120px;
  }

  .footer-logo-img {
    width: 190px;
    max-width: 190px;
  }

  .hero-tags {
    max-width: 100%;
    gap: 8px;
  }

  .hero-tags span {
    padding: 7px 10px;
    font-size: 13px;
  }

  .evaluation-form {
    padding: 22px;
  }

  .evaluation-form h3 {
    font-size: 25px;
  }
}
/* =====================================================
   PÁGINAS INTERNAS
   Plantilla base para secciones del sitio
===================================================== */

/* ==============================
   Hero interno
================================= */

.internal-hero {
  min-height: 560px;
  padding: 150px 0 78px;
  display: flex;
  align-items: center;
}

.internal-hero.section-dark {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 20%, rgba(0, 190, 185, 0.36) 0%, rgba(0, 190, 185, 0.12) 28%, transparent 56%),
    radial-gradient(circle at 8% 88%, rgba(0, 54, 54, 0.58) 0%, rgba(0, 74, 74, 0.24) 36%, transparent 62%),
    linear-gradient(115deg, #005f5f 0%, #007675 48%, #10b7b5 100%);
}

.internal-hero.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  display: block;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.08) 0.7px, transparent 0.7px),
    radial-gradient(rgba(0, 0, 0, 0.08) 0.6px, transparent 0.6px),
    linear-gradient(
      118deg,
      transparent 0%,
      transparent 58%,
      rgba(255, 255, 255, 0.055) 58%,
      rgba(255, 255, 255, 0.055) 69%,
      transparent 69%
    );
  background-size:
    4px 4px,
    5px 5px,
    100% 100%;
  background-position:
    0 0,
    2px 2px,
    center;
  opacity: 0.88;
}

.internal-hero.section-dark::after {
  content: "";
  position: absolute;
  right: -320px;
  bottom: -420px;
  z-index: -2;
  width: 760px;
  height: 760px;
  border: 72px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.internal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 80px;
  align-items: center;
}

.internal-hero-content {
  max-width: 720px;
}

.internal-hero-content h1 {
  max-width: 720px;
  color: var(--color-white);
  font-size: clamp(44px, 5vw, 62px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.052em;
}

.internal-hero-content p {
  max-width: 640px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.58;
}

.internal-hero-card {
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  padding: 34px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(0, 104, 104, 0.72)),
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.32), transparent 42%),
    linear-gradient(135deg, rgba(0, 173, 173, 0.65), rgba(0, 104, 104, 0.92));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.16);
}

.internal-card-content {
  color: var(--color-white);
}

.internal-card-label {
  display: inline-block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.internal-card-content h2 {
  margin-bottom: 12px;
  color: var(--color-white);
  font-size: 34px;
  line-height: 1.05;
  font-weight: 700;
}

.internal-card-content p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.5;
}

/* ==============================
   Contenido interno
================================= */

.internal-content-section {
  padding-top: 82px;
  padding-bottom: 86px;
}

.internal-section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.internal-section-heading h2 {
  margin-bottom: 18px;
  color: var(--color-primary);
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 600;
}

.internal-section-heading p {
  max-width: 760px;
  color: var(--color-dark);
  font-size: 19px;
  line-height: 1.62;
}

.internal-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.info-card {
  min-height: 230px;
  padding: 32px 30px;
  border: 1px solid rgba(0, 173, 173, 0.24);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--color-primary);
}

.info-card h3 {
  margin-bottom: 16px;
  color: var(--color-primary);
  font-size: 24px;
  line-height: 1.16;
  font-weight: 700;
}

.info-card p {
  color: var(--color-dark);
  font-size: 17px;
  line-height: 1.52;
}

/* ==============================
   Bloque destacado interno
================================= */

.internal-feature-section {
  padding-top: 82px;
  padding-bottom: 82px;
}

.internal-feature-section.section-dark {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 15% 18%, rgba(0, 190, 185, 0.38) 0%, rgba(0, 190, 185, 0.12) 28%, transparent 56%),
    radial-gradient(circle at 88% 86%, rgba(0, 54, 54, 0.54) 0%, rgba(0, 74, 74, 0.22) 36%, transparent 62%),
    linear-gradient(245deg, #005f5f 0%, #007675 48%, #10b7b5 100%);
}

.internal-feature-section.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  display: block;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.07) 0.7px, transparent 0.7px),
    radial-gradient(rgba(0, 0, 0, 0.07) 0.6px, transparent 0.6px),
    linear-gradient(
      62deg,
      transparent 0%,
      transparent 18%,
      rgba(255, 255, 255, 0.05) 18%,
      rgba(255, 255, 255, 0.05) 28%,
      transparent 28%
    );
  background-size:
    4px 4px,
    5px 5px,
    100% 100%;
  background-position:
    0 0,
    2px 2px,
    center;
  opacity: 0.85;
}

.internal-feature-card {
  padding: 38px;
  border-radius: 26px;
  background: rgba(241, 241, 241, 0.96);
  color: var(--color-primary);
}

.internal-feature-card h3 {
  margin-bottom: 16px;
  color: var(--color-primary);
  font-size: 30px;
  line-height: 1.08;
  font-weight: 700;
}

.internal-feature-card p {
  margin-bottom: 24px;
  color: var(--color-dark);
  font-size: 18px;
  line-height: 1.55;
}

.internal-feature-card .btn {
  min-height: 48px;
  border-radius: 8px;
}

/* ==============================
   CTA interno final
================================= */

.internal-cta-section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.internal-cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: center;
  padding: 44px 48px;
  border: 1px solid rgba(0, 173, 173, 0.24);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
}

.internal-cta-box h2 {
  max-width: 760px;
  margin-bottom: 14px;
  color: var(--color-primary);
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.08;
  font-weight: 600;
}

.internal-cta-box p {
  max-width: 720px;
  color: var(--color-dark);
  font-size: 18px;
  line-height: 1.55;
}

.internal-cta-box .btn {
  min-height: 52px;
  border-radius: 8px;
  white-space: nowrap;
}

/* ==============================
   Responsive páginas internas
================================= */

@media (max-width: 1040px) {
  .internal-hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .internal-hero-card {
    max-width: 520px;
  }

  .internal-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .internal-cta-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .internal-hero {
    min-height: auto;
    padding-top: 122px;
    padding-bottom: 64px;
  }

  .internal-hero-content h1 {
    font-size: 40px;
    line-height: 1.08;
  }

  .internal-hero-content p {
    font-size: 16px;
    line-height: 1.55;
  }

  .internal-hero-card {
    min-height: 260px;
    padding: 28px;
    border-radius: 24px;
  }

  .internal-card-content h2 {
    font-size: 30px;
  }

  .internal-content-section,
  .internal-feature-section,
  .internal-cta-section {
    padding-top: 58px;
    padding-bottom: 62px;
  }

  .internal-section-heading h2 {
    font-size: 34px;
  }

  .internal-section-heading p {
    font-size: 16px;
  }

  .internal-card-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: auto;
    padding: 26px;
  }

  .internal-feature-card {
    padding: 28px;
  }

  .internal-feature-card h3 {
    font-size: 28px;
  }

  .internal-feature-card p {
    font-size: 16px;
  }

  .internal-cta-box {
    padding: 30px 26px;
  }

  .internal-cta-box h2 {
    font-size: 32px;
  }

  .internal-cta-box p {
    font-size: 16px;
  }

  .internal-cta-box .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .internal-hero-content h1 {
    font-size: 37px;
  }

  .internal-card-content h2 {
    font-size: 27px;
  }

  .internal-section-heading h2,
  .internal-cta-box h2 {
    font-size: 30px;
  }
}

/* =====================================================
   SOBRE LA DOCTORA
   Hero personalizado
===================================================== */

.about-hero {
  min-height: 720px;
  padding: 150px 0 0;
  display: flex;
  align-items: stretch;
}

.about-hero.section-dark {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.12) 20%, transparent 48%),
    radial-gradient(circle at 7% 90%, rgba(0, 54, 54, 0.58) 0%, rgba(0, 74, 74, 0.24) 36%, transparent 62%),
    linear-gradient(115deg, #005f5f 0%, #007675 48%, #10b7b5 100%);
}

.about-hero.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  display: block;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.08) 0.7px, transparent 0.7px),
    radial-gradient(rgba(0, 0, 0, 0.08) 0.6px, transparent 0.6px);
  background-size: 4px 4px, 5px 5px;
  background-position: 0 0, 2px 2px;
  opacity: 0.9;
}

.about-hero.section-dark::after {
  content: "";
  position: absolute;
  right: -260px;
  bottom: -370px;
  z-index: -2;
  width: 760px;
  height: 760px;
  border: 72px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 0.86fr);
  gap: 48px;
  align-items: end;
  min-height: 570px;
}

.about-hero-content {
  align-self: center;
  max-width: 620px;
  padding-bottom: 52px;
}

.about-hero-content h1 {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--color-white);
  font-size: clamp(48px, 5.6vw, 66px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.about-hero-lead {
  max-width: 620px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 19px;
  line-height: 1.55;
  font-weight: 700;
}

.about-hero-text {
  max-width: 620px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.68;
  font-weight: 400;
}

.about-hero-text strong {
  color: var(--color-white);
  font-weight: 700;
}

.about-hero .hero-actions {
  margin-top: 0;
}

.about-hero .hero-actions .btn-primary {
  min-height: 56px;
  padding: 0 28px;
  border-radius: 7px;
  font-size: 22px;
  font-weight: 700;
}

.about-hero-media {
  position: relative;
  align-self: end;
  display: flex;
  justify-content: flex-end;
  min-height: 570px;
}

.about-hero-img {
  position: absolute;
  right: -8px;
  bottom: 0;
  width: min(100%, 520px);
  height: auto;
  max-height: 620px;
  object-fit: contain;
  object-position: bottom right;
}

/* Responsive Sobre la Doctora */
@media (max-width: 1040px) {
  .about-hero {
    min-height: auto;
    padding-top: 135px;
  }

  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    min-height: auto;
  }

  .about-hero-content {
    max-width: 100%;
    padding-bottom: 0;
  }

  .about-hero-media {
    min-height: 460px;
    justify-content: center;
  }

  .about-hero-img {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, 430px);
    max-height: 500px;
  }
}

@media (max-width: 760px) {
  .about-hero {
    padding-top: 122px;
  }

  .about-hero-content h1 {
    font-size: 42px;
    line-height: 1.06;
    margin-bottom: 24px;
  }

  .about-hero-lead,
  .about-hero-text {
    font-size: 16px;
    line-height: 1.58;
  }

  .about-hero-lead {
    margin-bottom: 24px;
  }

  .about-hero .hero-actions .btn-primary {
    width: 100%;
    min-height: 50px;
    font-size: 18px;
  }

  .about-hero-media {
    min-height: 390px;
  }

  .about-hero-img {
    width: min(100%, 360px);
    max-height: 430px;
  }
}

@media (max-width: 480px) {
  .about-hero-content h1 {
    font-size: 38px;
  }

  .about-hero-media {
    min-height: 340px;
  }

  .about-hero-img {
    width: min(100%, 330px);
  }
}

/* =====================================================
   SOBRE LA DOCTORA
   Trayectoria y experiencia
   Sección personalizada
===================================================== */

.trajectory-section {
  padding-top: 76px;
  padding-bottom: 76px;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(135deg, #f7f7f7 0%, #f1f1f1 100%);
}

.trajectory-heading {
  margin-bottom: 34px;
}

.trajectory-heading h2 {
  color: var(--color-primary);
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.trajectory-grid {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.trajectory-card {
  overflow: hidden;
  border-radius: 18px;
  background: var(--color-white);
  box-shadow: 0 24px 50px rgba(0, 104, 104, 0.08);
}

.trajectory-card-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 30px 28px;
  background: #176f6e;
  color: var(--color-white);
}

.trajectory-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(56px, 6vw, 72px);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.trajectory-card-top p {
  margin: 0;
  color: var(--color-white);
  font-size: 21px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.trajectory-card-body {
  padding: 32px 44px 38px;
}

.trajectory-card-body h3 {
  margin-bottom: 12px;
  color: var(--color-primary);
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.trajectory-card-body ul {
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--color-primary);
}

.trajectory-card-body li {
  position: relative;
  padding-left: 18px;
  color: var(--color-primary);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 400;
}

.trajectory-card-body li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
}

.trajectory-timeline {
  padding-top: 14px;
}

.trajectory-item {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 0 0 22px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(0, 173, 173, 0.22);
}

.trajectory-item:last-child {
  margin-bottom: 0;
}

.trajectory-badge {
  position: relative;
  width: 30px;
  height: 30px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--color-soft);
}

.trajectory-badge::before,
.trajectory-badge::after {
  content: "";
  position: absolute;
  top: 22px;
  width: 10px;
  height: 20px;
  background: var(--color-primary);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
}

.trajectory-badge::before {
  left: 5px;
}

.trajectory-badge::after {
  right: 5px;
}

.trajectory-item h3 {
  margin-bottom: 4px;
  color: var(--color-primary);
  font-size: 19px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.trajectory-item p {
  margin: 0;
  color: var(--color-dark);
  font-size: 18px;
  line-height: 1.38;
}

/* Responsive Trayectoria */
@media (max-width: 1040px) {
  .trajectory-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .trajectory-card {
    max-width: 620px;
  }
}

@media (max-width: 760px) {
  .trajectory-section {
    padding-top: 58px;
    padding-bottom: 62px;
  }

  .trajectory-heading h2 {
    font-size: 34px;
    line-height: 1.1;
  }

  .trajectory-card-top {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 26px;
  }

  .trajectory-number {
    font-size: 60px;
  }

  .trajectory-card-top p {
    font-size: 20px;
  }

  .trajectory-card-body {
    padding: 28px 26px 32px;
  }

  .trajectory-card-body h3 {
    font-size: 22px;
  }

  .trajectory-card-body li {
    font-size: 16px;
  }

  .trajectory-timeline {
    padding-top: 0;
  }

  .trajectory-item {
    grid-template-columns: 36px 1fr;
    gap: 14px;
  }

  .trajectory-badge {
    width: 28px;
    height: 28px;
  }

  .trajectory-item h3 {
    font-size: 18px;
  }

  .trajectory-item p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .trajectory-heading h2 {
    font-size: 30px;
  }

  .trajectory-number {
    font-size: 54px;
  }

  .trajectory-card-top p {
    font-size: 18px;
  }
}

/* =====================================================
   SOBRE LA DOCTORA
   Especializaciones
===================================================== */

.about-specializations-section {
  min-height: 640px;
  padding-top: 88px;
  padding-bottom: 88px;
  display: flex;
  align-items: center;
}

.about-specializations-section.section-dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 205, 198, 0.34) 0%, rgba(0, 205, 198, 0.12) 28%, transparent 56%),
    radial-gradient(circle at 10% 88%, rgba(0, 54, 54, 0.58) 0%, rgba(0, 74, 74, 0.24) 36%, transparent 62%),
    linear-gradient(115deg, #005f5f 0%, #007675 48%, #10b7b5 100%);
}

.about-specializations-section.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  display: block;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.07) 0.7px, transparent 0.7px),
    radial-gradient(rgba(0, 0, 0, 0.07) 0.6px, transparent 0.6px);
  background-size:
    4px 4px,
    5px 5px;
  background-position:
    0 0,
    2px 2px;
  opacity: 0.9;
}

.about-specializations-section.section-dark::after {
  content: "";
  position: absolute;
  right: -260px;
  bottom: -390px;
  z-index: -2;
  width: 760px;
  height: 760px;
  border: 72px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.about-specializations-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: 90px;
  align-items: center;
}

.about-specializations-copy {
  max-width: 520px;
}

.about-specializations-copy h2 {
  margin-bottom: 24px;
  color: var(--color-white);
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.about-specializations-copy p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.72;
  font-weight: 400;
}

.about-specializations-copy strong {
  color: var(--color-white);
  font-weight: 800;
}

.about-specializations-list {
  display: grid;
  gap: 34px;
}

.about-specialization-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 18px;
  align-items: start;
}

.specialization-dot {
  width: 24px;
  height: 24px;
  margin-top: 4px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: rgba(192, 231, 227, 0.92);
  box-shadow: inset 0 0 0 5px rgba(0, 104, 104, 0.18);
}

.about-specialization-item p {
  margin: 0;
  color: var(--color-white);
  font-size: 23px;
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.about-specialization-item p span {
  display: block;
  margin-top: 4px;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.025em;
}

/* Responsive Especializaciones */
@media (max-width: 1040px) {
  .about-specializations-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-specializations-copy {
    max-width: 760px;
  }

  .about-specializations-list {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  .about-specializations-section {
    min-height: auto;
    padding-top: 64px;
    padding-bottom: 68px;
  }

  .about-specializations-section.section-dark::after {
    right: -390px;
    bottom: -370px;
    width: 660px;
    height: 660px;
    border-width: 56px;
  }

  .about-specializations-grid {
    gap: 40px;
  }

  .about-specializations-copy h2 {
    font-size: 34px;
    line-height: 1.1;
  }

  .about-specializations-copy p {
    font-size: 16px;
    line-height: 1.6;
  }

  .about-specializations-list {
    gap: 24px;
  }

  .about-specialization-item {
    grid-template-columns: 26px 1fr;
    gap: 14px;
  }

  .specialization-dot {
    width: 22px;
    height: 22px;
    margin-top: 3px;
  }

  .about-specialization-item p {
    font-size: 19px;
    line-height: 1.28;
  }

  .about-specialization-item p span {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .about-specializations-copy h2 {
    font-size: 30px;
  }

  .about-specialization-item p {
    font-size: 18px;
  }
}
/* =====================================================
   SOBRE LA DOCTORA
   Filosofía de atención
===================================================== */

.about-philosophy-section {
  padding-top: 76px;
  padding-bottom: 86px;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(135deg, #f7f7f7 0%, #f1f1f1 100%);
}

.about-philosophy-grid {
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
  width: min(100%, 860px);
  margin: 0 auto;
}

.about-philosophy-media {
  width: 100%;
}

.about-philosophy-img {
  width: 100%;
  aspect-ratio: 1 / 1.18;
  object-fit: cover;
  object-position: center center;
  border-radius: 28px;
}

.about-philosophy-copy {
  max-width: 560px;
  color: var(--color-primary);
}

.about-philosophy-copy h2 {
  margin-bottom: 28px;
  color: var(--color-primary);
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.about-philosophy-copy p {
  margin-bottom: 28px;
  color: var(--color-primary);
  font-size: 18px;
  line-height: 1.72;
  font-weight: 400;
}

.about-philosophy-copy p:last-child {
  margin-bottom: 0;
}

.about-philosophy-copy strong {
  color: var(--color-primary);
  font-weight: 800;
}

/* Responsive Filosofía de atención */
@media (max-width: 1040px) {
  .about-philosophy-grid {
    width: 100%;
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
    gap: 48px;
  }
}

@media (max-width: 760px) {
  .about-philosophy-section {
    padding-top: 58px;
    padding-bottom: 64px;
  }

  .about-philosophy-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-philosophy-media {
    max-width: 420px;
  }

  .about-philosophy-copy h2 {
    font-size: 34px;
    line-height: 1.1;
    margin-bottom: 22px;
  }

  .about-philosophy-copy p {
    font-size: 16px;
    line-height: 1.62;
    margin-bottom: 22px;
  }
}

@media (max-width: 480px) {
  .about-philosophy-copy h2 {
    font-size: 30px;
  }

  .about-philosophy-img {
    border-radius: 24px;
  }
}

/* =====================================================
   SOBRE LA DOCTORA
   Ajuste móvil - Filosofía de atención
===================================================== */

@media (max-width: 760px) {
  .about-philosophy-section {
    padding-top: 56px;
    padding-bottom: 62px;
  }

  .about-philosophy-section .container {
    width: min(calc(100vw - 44px), var(--container));
  }

  .about-philosophy-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-philosophy-media {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .about-philosophy-img {
    width: 100%;
    border-radius: 24px;
  }

  .about-philosophy-copy {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .about-philosophy-copy h2 {
    margin-bottom: 22px;
    font-size: 34px;
    line-height: 1.08;
  }

  .about-philosophy-copy p {
    margin-bottom: 22px;
    font-size: 16px;
    line-height: 1.62;
  }
}

@media (max-width: 480px) {
  .about-philosophy-section .container {
    width: min(calc(100vw - 36px), var(--container));
  }

  .about-philosophy-copy h2 {
    font-size: 30px;
  }

  .about-philosophy-media,
  .about-philosophy-copy {
    max-width: 100%;
  }
}

/* Página activa en menú */
.main-nav a.is-current {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1.5px;
}

.mobile-menu a.is-current {
  color: var(--color-soft);
}

/* =====================================================
   ESPECIALIDADES
   Hero con imagen de fondo
   Mantiene alto uniforme con páginas internas principales
===================================================== */

.specialties-hero {
  position: relative;
  min-height: 720px;
  padding: 150px 0 0;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  color: var(--color-white);
  background:
    linear-gradient(
      90deg,
      rgba(0, 54, 54, 0.86) 0%,
      rgba(0, 80, 80, 0.68) 38%,
      rgba(0, 104, 104, 0.38) 68%,
      rgba(0, 78, 78, 0.52) 100%
    ),
    url("../img/especialidades/dra-linette-gomez-especialidades-head.webp") center center / cover no-repeat;
}

.specialties-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 82%, rgba(0, 173, 173, 0.24), transparent 38%),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.06) 0%,
      rgba(0, 0, 0, 0.10) 100%
    );
}

.specialties-hero-inner {
  position: relative;
  z-index: 1;
}

.specialties-hero-content {
  max-width: 520px;
  padding-top: 42px;
}

.specialties-hero-content h1 {
  margin-bottom: 18px;
  color: var(--color-white);
  font-size: clamp(48px, 5.6vw, 66px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.specialties-hero-content p {
  max-width: 500px;
  margin-top: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 19px;
  line-height: 1.58;
  font-weight: 500;
}

.specialties-hero-actions {
  margin-top: 30px;
}

.specialties-hero-actions .btn-primary {
  min-height: 56px;
  padding: 0 28px;
  border-radius: 7px;
  font-size: 22px;
  font-weight: 700;
}

.specialties-info-link {
  min-height: auto;
  padding: 0;
  border-bottom: 1.5px solid currentColor;
  color: var(--color-white);
  font-size: 18px;
  font-weight: 600;
}

.specialties-info-link:hover {
  opacity: 0.82;
}

@media (max-width: 1040px) {
  .specialties-hero {
    min-height: auto;
    padding-top: 135px;
    padding-bottom: 90px;
    background-position: center center;
  }

  .specialties-hero-content {
    max-width: 560px;
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  .specialties-hero {
    min-height: 620px;
    padding-top: 122px;
    padding-bottom: 64px;
    align-items: flex-end;
    background-position: center center;
  }

  .specialties-hero::before {
    background:
      linear-gradient(
        180deg,
        rgba(0, 54, 54, 0.18) 0%,
        rgba(0, 54, 54, 0.46) 42%,
        rgba(0, 54, 54, 0.86) 100%
      );
  }

  .specialties-hero-content {
    max-width: 100%;
    padding-top: 0;
  }

  .specialties-hero-content h1 {
    font-size: 42px;
    line-height: 1.06;
  }

  .specialties-hero-content p {
    font-size: 16px;
    line-height: 1.58;
  }

  .specialties-hero-content p br {
    display: none;
  }

  .specialties-hero-actions {
    align-items: center;
  }

  .specialties-hero-actions .btn-primary {
    width: auto;
    min-height: 50px;
    padding: 0 22px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .specialties-hero {
    min-height: 580px;
    background-position: 58% center;
  }

  .specialties-hero-content h1 {
    font-size: 38px;
  }

  .specialties-hero-actions {
    gap: 18px;
  }
}

/* =====================================================
   AJUSTE GLOBAL MÓVIL
   Padding interno uniforme en secciones
===================================================== */

@media (max-width: 900px) {
  :root {
    --section-x: 24px;
    --container-x: 80px;
  }

  .hero > .container,
  .section > .container,
  .site-footer > .container {
    width: min(calc(100vw - var(--container-x)), var(--container));
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 760px) {
  :root {
    --section-x: 18px;
    --container-x: 66px;
  }

  .hero > .container,
  .section > .container,
  .site-footer > .container,
  .about-philosophy-section .container {
    width: min(calc(100vw - var(--container-x)), var(--container));
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  :root {
    --section-x: 16px;
    --container-x: 64px;
  }

  .hero > .container,
  .section > .container,
  .site-footer > .container,
  .about-philosophy-section .container {
    width: min(calc(100vw - var(--container-x)), var(--container));
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
  }
}

/* =====================================================
   ESPECIALIDADES
   Toggle / acordeón de especialidades
===================================================== */

.specialties-toggle-section {
  padding-top: 76px;
  padding-bottom: 86px;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(135deg, #f7f7f7 0%, #f1f1f1 100%);
}

.specialties-toggle-container {
  max-width: 960px;
}

.specialties-toggle-list {
  width: min(100%, 760px);
  margin: 0 auto;
  display: grid;
  gap: 0;
}

.specialty-toggle {
  border: 1.5px solid var(--color-primary);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(192, 231, 227, 0.82);
  color: var(--color-primary);
}

.specialty-toggle + .specialty-toggle {
  margin-top: 4px;
}

.specialty-toggle[open] {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 241, 241, 0.92) 100%);
}

.specialty-toggle summary {
  min-height: 46px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  list-style: none;
  cursor: pointer;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 19px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.specialty-toggle summary::-webkit-details-marker {
  display: none;
}

.specialty-toggle[open] summary {
  min-height: auto;
  padding-top: 30px;
  padding-bottom: 10px;
  align-items: flex-start;
  font-size: clamp(38px, 4vw, 46px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.052em;
}

.specialty-toggle-icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.specialty-toggle-icon::before,
.specialty-toggle-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 4px;
  border-radius: 999px;
  background: var(--color-primary);
  transform: translate(-50%, -50%);
}

.specialty-toggle-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.specialty-toggle[open] .specialty-toggle-icon::after {
  opacity: 0;
}

.specialty-toggle-content {
  max-width: 560px;
  padding: 0 32px 30px;
}

.specialty-toggle-content p {
  margin: 0;
  color: var(--color-primary);
  font-size: 16px;
  line-height: 1.58;
  font-weight: 400;
}

@media (max-width: 760px) {
  .specialties-toggle-section {
    padding-top: 58px;
    padding-bottom: 64px;
  }

  .specialties-toggle-list {
    width: 100%;
  }

  .specialty-toggle {
    border-radius: 14px;
  }

  .specialty-toggle summary {
    min-height: 48px;
    padding: 0 22px;
    font-size: 18px;
  }

  .specialty-toggle[open] summary {
    padding-top: 26px;
    padding-bottom: 10px;
    font-size: 34px;
    line-height: 1.06;
  }

  .specialty-toggle-content {
    max-width: 100%;
    padding: 0 22px 26px;
  }

  .specialty-toggle-content p {
    font-size: 16px;
    line-height: 1.58;
  }
}

@media (max-width: 480px) {
  .specialty-toggle summary {
    padding-left: 20px;
    padding-right: 20px;
  }

  .specialty-toggle[open] summary {
    font-size: 31px;
  }

  .specialty-toggle-content {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* =====================================================
   CIRUGÍA ROBÓTICA
   Imagen de máquina en hero existente
===================================================== */

.robotic-hero-machine {
  width: 100%;
  max-width: 620px;
  height: auto;
  object-fit: contain;
  object-position: center right;
}

@media (max-width: 1040px) {
  .robotic-hero-machine {
    max-width: 560px;
  }
}

@media (max-width: 760px) {
  .robotic-hero-machine {
    max-width: 100%;
  }
}

/* =====================================================
   CIRUGÍA ROBÓTICA
   Beneficios
===================================================== */

.robotic-benefits-section {
  padding-top: 70px;
  padding-bottom: 72px;
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.92), transparent 34%),
    linear-gradient(135deg, #f7f7f7 0%, #f1f1f1 100%);
}

.robotic-benefits-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.robotic-benefits-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.robotic-benefits-img {
  width: 100%;
  max-width: 430px;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

.robotic-benefits-copy {
  max-width: 560px;
  color: var(--color-primary);
}

.robotic-benefits-copy h2 {
  margin-bottom: 24px;
  color: var(--color-primary);
  font-size: clamp(46px, 5vw, 62px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.055em;
}

.robotic-benefits-list {
  display: grid;
  gap: 0;
}

.robotic-benefit-item {
  padding: 20px 0 22px;
  border-bottom: 1px solid rgba(0, 173, 173, 0.28);
}

.robotic-benefit-item:first-child {
  padding-top: 0;
}

.robotic-benefit-item h3 {
  margin-bottom: 3px;
  color: var(--color-primary);
  font-size: 23px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.robotic-benefit-item p {
  margin: 0;
  color: var(--color-dark);
  font-size: 18px;
  line-height: 1.42;
  font-weight: 400;
}

@media (max-width: 1040px) {
  .robotic-benefits-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .robotic-benefits-copy {
    max-width: 760px;
  }

  .robotic-benefits-media {
    justify-content: flex-start;
  }

  .robotic-benefits-img {
    max-width: 380px;
  }
}

@media (max-width: 760px) {
  .robotic-benefits-section {
    padding-top: 58px;
    padding-bottom: 64px;
  }

  .robotic-benefits-grid {
    gap: 34px;
  }

  .robotic-benefits-img {
    max-width: 300px;
  }

  .robotic-benefits-copy h2 {
    margin-bottom: 20px;
    font-size: 38px;
    line-height: 1.08;
  }

  .robotic-benefit-item {
    padding: 18px 0 20px;
  }

  .robotic-benefit-item h3 {
    font-size: 20px;
  }

  .robotic-benefit-item p {
    font-size: 16px;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .robotic-benefits-img {
    max-width: 260px;
  }

  .robotic-benefits-copy h2 {
    font-size: 34px;
  }
}

/* =====================================================
   ATENCIÓN MÉDICA BINACIONAL
   Hero
===================================================== */

.binational-hero-lead {
  max-width: 630px;
  font-weight: 400 !important;
}

.binational-hero-lead strong {
  color: var(--color-white);
  font-weight: 800;
}

.about-hero .about-hero-img.binational-hero-img {
  right: -42px;
  bottom: 0;
  width: min(112%, 660px);
  max-width: none;
  max-height: 690px;
  object-fit: contain;
  object-position: bottom right;
}

@media (max-width: 1040px) {
  .binational-hero-lead {
    max-width: 100%;
  }

  .about-hero .about-hero-img.binational-hero-img {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, 520px);
    max-height: 560px;
  }
}

@media (max-width: 760px) {
  .about-hero .about-hero-img.binational-hero-img {
    width: min(100%, 430px);
    max-height: 480px;
  }
}

@media (max-width: 480px) {
  .about-hero .about-hero-img.binational-hero-img {
    width: min(100%, 390px);
    max-height: 440px;
  }
}

/* =====================================================
   ATENCIÓN MÉDICA BINACIONAL
   Entorno médico moderno
===================================================== */

.binational-environment-section {
  padding-top: 74px;
  padding-bottom: 78px;
  background:
    radial-gradient(circle at 20% 16%, rgba(255, 255, 255, 0.92), transparent 34%),
    linear-gradient(135deg, #f7f7f7 0%, #f1f1f1 100%);
}

.binational-environment-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: 72px;
  align-items: center;
}

.binational-environment-copy {
  max-width: 610px;
  color: var(--color-primary);
}

.binational-environment-copy h2 {
  margin-bottom: 26px;
  color: var(--color-primary);
  font-size: clamp(46px, 5vw, 64px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.055em;
}

.binational-environment-copy p {
  margin: 0 0 28px;
  color: var(--color-primary);
  font-size: 18px;
  line-height: 1.72;
  font-weight: 400;
}

.binational-environment-copy p:last-child {
  margin-bottom: 0;
}

.binational-environment-copy strong {
  color: var(--color-primary);
  font-weight: 800;
}

.binational-environment-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.binational-environment-img {
  width: 100%;
  max-width: 430px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 1040px) {
  .binational-environment-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .binational-environment-copy {
    max-width: 720px;
  }

  .binational-environment-media {
    justify-content: center;
  }

  .binational-environment-img {
    max-width: 360px;
  }
}

@media (max-width: 760px) {
  .binational-environment-section {
    padding-top: 58px;
    padding-bottom: 64px;
  }

  .binational-environment-grid {
    gap: 30px;
  }

  .binational-environment-copy h2 {
    margin-bottom: 20px;
    font-size: 38px;
    line-height: 1.08;
  }

  .binational-environment-copy p {
    margin-bottom: 22px;
    font-size: 16px;
    line-height: 1.68;
  }

  .binational-environment-img {
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .binational-environment-copy h2 {
    font-size: 34px;
  }

  .binational-environment-img {
    max-width: 260px;
  }
}

/* =====================================================
   ATENCIÓN MÉDICA BINACIONAL
   Formación y protocolos - ajuste final limpio
===================================================== */

.binational-protocols-section {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  padding-top: 92px;
  padding-bottom: 92px;
  display: flex;
  align-items: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 84% 18%, rgba(0, 205, 198, 0.36) 0%, rgba(0, 205, 198, 0.12) 24%, transparent 52%),
    radial-gradient(circle at 16% 82%, rgba(0, 78, 78, 0.42) 0%, rgba(0, 78, 78, 0.16) 34%, transparent 60%),
    linear-gradient(115deg, #005f5f 0%, #007675 48%, #10b7b5 100%);
}

.binational-protocols-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.06) 0.7px, transparent 0.7px),
    radial-gradient(rgba(0, 0, 0, 0.06) 0.6px, transparent 0.6px),
    linear-gradient(
      118deg,
      transparent 0%,
      transparent 58%,
      rgba(255, 255, 255, 0.035) 58%,
      rgba(255, 255, 255, 0.035) 70%,
      transparent 70%
    );
  background-size: 4px 4px, 5px 5px, 100% 100%;
  background-position: 0 0, 2px 2px, center;
  opacity: 0.78;
}

.binational-protocols-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 85% 50%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 18%, transparent 42%);
}

.binational-protocols-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 500px);
  gap: 72px;
  align-items: center;
  justify-content: center;
}

.binational-protocols-copy {
  max-width: 500px;
  color: var(--color-white);
}

.binational-protocols-copy h2 {
  margin-bottom: 28px;
  color: var(--color-white);
  font-size: clamp(48px, 5vw, 66px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.binational-protocols-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 18px;
  line-height: 1.68;
  font-weight: 400;
}

.binational-protocols-copy strong {
  color: var(--color-white);
  font-weight: 800;
}

.binational-protocols-diagram {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.protocols-bracket {
  position: relative;
  width: 108px;
  height: 390px;
  flex: 0 0 108px;
  border-left: 2px solid rgba(255, 255, 255, 0.88);
  border-top: 2px solid rgba(255, 255, 255, 0.88);
  border-bottom: 2px solid rgba(255, 255, 255, 0.88);
  border-right: none;
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
  background: transparent;
}

.protocol-line-1,
.protocol-line-5 {
  display: none;
}

.protocol-line {
  position: absolute;
  left: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.88);
}

.protocol-line-2 {
  top: 98px;
  width: 84px;
}

.protocol-line-3 {
  top: 194px;
  left: -84px;
  width: 148px;
}

.protocol-line-4 {
  top: 292px;
  width: 84px;
}

.protocols-items {
  display: grid;
  gap: 30px;
  margin-left: 34px;
}

.protocol-item {
  min-height: 52px;
  display: flex;
  align-items: center;
}

.protocol-item p {
  margin: 0;
  color: var(--color-white);
  font-size: 24px;
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.03em;
}

@media (max-width: 1040px) {
  .binational-protocols-section {
    min-height: auto;
  }

  .binational-protocols-grid {
    grid-template-columns: 1fr;
    gap: 54px;
    justify-content: initial;
  }

  .binational-protocols-copy {
    max-width: 720px;
  }

  .binational-protocols-diagram {
    max-width: 560px;
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  .binational-protocols-section {
    padding-top: 64px;
    padding-bottom: 68px;
  }

  .binational-protocols-grid {
    gap: 42px;
  }

  .binational-protocols-copy h2 {
    margin-bottom: 22px;
    font-size: 40px;
    line-height: 1.08;
  }

  .binational-protocols-copy p {
    font-size: 16px;
    line-height: 1.68;
  }

  .binational-protocols-diagram {
    min-height: auto;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .protocols-bracket {
    width: 76px;
    height: 330px;
    flex-basis: 76px;
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
  }

  .protocol-line-2 {
    top: 82px;
    width: 48px;
  }

  .protocol-line-3 {
    top: 164px;
    left: -38px;
    width: 76px;
  }

  .protocol-line-4 {
    top: 246px;
    width: 48px;
  }

  .protocols-items {
    gap: 22px;
    margin-left: 22px;
  }

  .protocol-item {
    min-height: 48px;
  }

  .protocol-item p {
    font-size: 18px;
    line-height: 1.22;
  }
}

@media (max-width: 480px) {
  .binational-protocols-copy h2 {
    font-size: 34px;
  }

  .protocols-bracket {
    width: 64px;
    height: 310px;
    flex-basis: 64px;
  }

  .protocol-line-2 {
    top: 76px;
    width: 40px;
  }

  .protocol-line-3 {
    top: 154px;
    left: -32px;
    width: 64px;
  }

  .protocol-line-4 {
    top: 232px;
    width: 40px;
  }

  .protocols-items {
    margin-left: 18px;
    gap: 18px;
  }

  .protocol-item p {
    font-size: 16px;
    line-height: 1.24;
  }
}

/* =====================================================
   ATENCIÓN MÉDICA BINACIONAL
   Seguros y documentación médica
===================================================== */

.binational-insurance-section {
  padding-top: 76px;
  padding-bottom: 86px;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(135deg, #f7f7f7 0%, #f1f1f1 100%);
}

.binational-insurance-grid {
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
  gap: 78px;
  align-items: center;
  width: min(100%, 900px);
  margin: 0 auto;
}

.binational-insurance-media {
  width: 100%;
}

.binational-insurance-img {
  width: 100%;
  aspect-ratio: 1 / 1.18;
  object-fit: cover;
  object-position: center center;
  border-radius: 62px;
}

.binational-insurance-copy {
  max-width: 580px;
  color: var(--color-primary);
}

.binational-insurance-copy h2 {
  margin-bottom: 28px;
  color: var(--color-primary);
  font-size: clamp(44px, 5vw, 60px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.055em;
}

.binational-insurance-copy p {
  margin-bottom: 28px;
  color: var(--color-primary);
  font-size: 18px;
  line-height: 1.72;
  font-weight: 400;
}

.binational-insurance-copy p:last-child {
  margin-bottom: 0;
}

.binational-insurance-copy strong {
  color: var(--color-primary);
  font-weight: 800;
}

.insurance-lead {
  font-size: 21px !important;
  line-height: 1.46 !important;
  font-weight: 400 !important;
}

.insurance-lead span {
  font-weight: 400;
}

@media (max-width: 1040px) {
  .binational-insurance-grid {
    width: 100%;
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
    gap: 48px;
  }
}

@media (max-width: 760px) {
  .binational-insurance-section {
    padding-top: 58px;
    padding-bottom: 64px;
  }

  .binational-insurance-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .binational-insurance-media {
    max-width: 420px;
    margin: 0 auto;
  }

  .binational-insurance-img {
    border-radius: 42px;
  }

  .binational-insurance-copy {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .binational-insurance-copy h2 {
    margin-bottom: 22px;
    font-size: 38px;
    line-height: 1.08;
  }

  .binational-insurance-copy p {
    margin-bottom: 22px;
    font-size: 16px;
    line-height: 1.62;
  }

  .insurance-lead {
    font-size: 18px !important;
    line-height: 1.48 !important;
  }

  .insurance-lead br {
    display: none;
  }
}

@media (max-width: 480px) {
  .binational-insurance-copy h2 {
    font-size: 34px;
  }

  .binational-insurance-img {
    border-radius: 34px;
  }

  .binational-insurance-media,
  .binational-insurance-copy {
    max-width: 100%;
  }
}

/* =====================================================
   ATENCIÓN MÉDICA BINACIONAL
   Proceso paso a paso
===================================================== */

.binational-process-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 640px;
  padding-top: 96px;
  padding-bottom: 96px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 14% 24%, rgba(25, 218, 214, 0.26) 0%, rgba(25, 218, 214, 0.08) 26%, transparent 56%),
    radial-gradient(circle at 18% 82%, rgba(0, 95, 95, 0.34) 0%, rgba(0, 95, 95, 0.12) 32%, transparent 60%),
    linear-gradient(115deg, #11bcbc 0%, #007778 46%, #005c5d 100%);
}

.binational-process-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.05) 0.7px, transparent 0.7px),
    radial-gradient(rgba(0, 0, 0, 0.045) 0.6px, transparent 0.6px),
    linear-gradient(
      -62deg,
      transparent 0%,
      transparent 20%,
      rgba(255, 255, 255, 0.03) 20%,
      rgba(255, 255, 255, 0.03) 33%,
      transparent 33%
    );
  background-size: 4px 4px, 5px 5px, 100% 100%;
  background-position: 0 0, 2px 2px, center;
  opacity: 0.8;
}

.binational-process-section::after {
  content: "";
  position: absolute;
  left: -250px;
  bottom: -420px;
  z-index: -1;
  width: 760px;
  height: 760px;
  border: 72px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.binational-process-container {
  position: relative;
  z-index: 1;
}

.binational-process-container h2 {
  margin-bottom: 66px;
  color: var(--color-white);
  font-size: clamp(48px, 5vw, 64px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.binational-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 64px;
  align-items: start;
}

.process-step {
  position: relative;
  min-height: 220px;
  padding-right: 24px;
  color: var(--color-white);
}

.process-number {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
}

.process-step h3 {
  margin-bottom: 22px;
  color: var(--color-white);
  font-size: 22px;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.process-step p {
  max-width: 210px;
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
}

.process-step:not(:last-child)::before {
  display: none;
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -42px;
  width: 56px;
  height: 210px;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.82;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 210'%3E%3Cpath d='M10 0 L48 105 L10 210' fill='none' stroke='%23ffffff' stroke-opacity='.82' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (max-width: 1180px) {
  .binational-process-grid {
    gap: 52px;
  }

  .process-step:not(:last-child)::after {
    right: -34px;
    width: 48px;
    height: 190px;
  }
}

@media (max-width: 1040px) {
  .binational-process-section {
    min-height: auto;
  }

  .binational-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 56px;
  }

  .process-step {
    min-height: 190px;
    padding-right: 0;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .binational-process-section {
    min-height: auto;
    padding-top: 66px;
    padding-bottom: 70px;
  }

  .binational-process-section::after {
    left: -360px;
    bottom: -320px;
    width: 640px;
    height: 640px;
    border-width: 54px;
  }

  .binational-process-container h2 {
    margin-bottom: 38px;
    font-size: 40px;
    line-height: 1.08;
  }

  .binational-process-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .process-step {
    min-height: auto;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  }

  .process-step:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  .process-number {
    font-size: 24px;
  }

  .process-step h3 {
    margin-bottom: 10px;
    font-size: 21px;
  }

  .process-step p {
    max-width: none;
    font-size: 16px;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .binational-process-container h2 {
    font-size: 34px;
  }
}
/* =====================================================
   ATENCIÓN MÉDICA BINACIONAL
   Pacientes de California
===================================================== */

.binational-california-section {
  padding-top: 78px;
  padding-bottom: 86px;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(135deg, #f7f7f7 0%, #f1f1f1 100%);
}

.binational-california-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 74px;
  align-items: center;
  width: min(100%, 970px);
  margin: 0 auto;
}

.binational-california-copy {
  max-width: 600px;
  color: var(--color-primary);
}

.binational-california-copy h2 {
  margin-bottom: 36px;
  color: var(--color-primary);
  font-size: clamp(46px, 5.2vw, 62px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.055em;
}

.binational-california-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.binational-california-list li {
  position: relative;
  padding-left: 22px;
  color: var(--color-primary);
  font-size: 22px;
  line-height: 1.36;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.binational-california-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
}

.binational-california-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.binational-california-img {
  width: 100%;
  max-width: 345px;
  height: auto;
  border-radius: 0;
  object-fit: initial;
  object-position: center center;
  display: block;
}

/* Responsive California */

@media (max-width: 1040px) {
  .binational-california-grid {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .binational-california-copy {
    max-width: 760px;
  }

  .binational-california-media {
    justify-content: flex-start;
  }

  .binational-california-img {
    max-width: 360px;
  }
}

@media (max-width: 760px) {
  .binational-california-section {
    padding-top: 58px;
    padding-bottom: 64px;
  }

  .binational-california-grid {
    gap: 34px;
  }

  .binational-california-copy h2 {
    margin-bottom: 26px;
    font-size: 38px;
    line-height: 1.08;
  }

  .binational-california-list {
    gap: 10px;
  }

  .binational-california-list li {
    padding-left: 18px;
    font-size: 17px;
    line-height: 1.46;
  }

  .binational-california-media {
    justify-content: center;
  }

  .binational-california-img {
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .binational-california-copy h2 {
    font-size: 34px;
  }

  .binational-california-img {
    max-width: 100%;
  }
}
/* =====================================================
   ATENCIÓN MÉDICA BINACIONAL
   Sobre Tijuana
   Fondo tipo hero / header
===================================================== */

.binational-tijuana-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 640px;
  padding-top: 86px;
  padding-bottom: 86px;
  display: flex;
  align-items: center;
  color: var(--color-white);
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 190, 185, 0.42) 0%, rgba(0, 190, 185, 0.12) 28%, transparent 56%),
    radial-gradient(circle at 7% 90%, rgba(0, 54, 54, 0.58) 0%, rgba(0, 74, 74, 0.24) 36%, transparent 62%),
    linear-gradient(115deg, #005f5f 0%, #007675 48%, #10b7b5 100%);
}

.binational-tijuana-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.08) 0.7px, transparent 0.7px),
    radial-gradient(rgba(0, 0, 0, 0.08) 0.6px, transparent 0.6px),
    linear-gradient(
      118deg,
      transparent 0%,
      transparent 58%,
      rgba(255, 255, 255, 0.055) 58%,
      rgba(255, 255, 255, 0.055) 69%,
      transparent 69%
    ),
    linear-gradient(
      118deg,
      transparent 0%,
      transparent 72%,
      rgba(255, 255, 255, 0.045) 72%,
      rgba(255, 255, 255, 0.045) 82%,
      transparent 82%
    );
  background-size:
    4px 4px,
    5px 5px,
    100% 100%,
    100% 100%;
  background-position:
    0 0,
    2px 2px,
    center,
    center;
  opacity: 0.9;
}

.binational-tijuana-section::after {
  content: "";
  position: absolute;
  right: -265px;
  bottom: -360px;
  z-index: 0;
  width: 760px;
  height: 760px;
  border: 72px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.binational-tijuana-container {
  position: relative;
  z-index: 1;
}

.binational-tijuana-copy {
  max-width: 920px;
  margin-bottom: 44px;
}

.binational-tijuana-copy h2 {
  margin-bottom: 22px;
  color: var(--color-white);
  font-size: clamp(44px, 5vw, 58px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.052em;
}

.binational-tijuana-copy p {
  max-width: 900px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 21px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.binational-tijuana-copy strong {
  color: var(--color-white);
  font-weight: 800;
}

/* En el HTML actual, .binational-tijuana-media contiene directamente las 2 imágenes */
.binational-tijuana-media {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}

.binational-tijuana-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  object-fit: initial;
  object-position: center center;
}

.binational-tijuana-img:nth-child(1) {
  max-width: 548px;
}

.binational-tijuana-img:nth-child(2) {
  max-width: 560px;
}

/* Responsive Sobre Tijuana */

@media (max-width: 1040px) {
  .binational-tijuana-section {
    min-height: auto;
  }

  .binational-tijuana-copy {
    max-width: 760px;
    margin-bottom: 38px;
  }

  .binational-tijuana-copy p {
    max-width: 760px;
    font-size: 19px;
    line-height: 1.55;
  }

  .binational-tijuana-media {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .binational-tijuana-img:nth-child(1),
  .binational-tijuana-img:nth-child(2) {
    max-width: 620px;
  }
}

@media (max-width: 760px) {
  .binational-tijuana-section {
    padding-top: 64px;
    padding-bottom: 68px;
  }

  .binational-tijuana-section::after {
    right: -390px;
    bottom: -360px;
    width: 660px;
    height: 660px;
    border-width: 56px;
  }

  .binational-tijuana-copy {
    margin-bottom: 32px;
  }

  .binational-tijuana-copy h2 {
    margin-bottom: 18px;
    font-size: 40px;
    line-height: 1.08;
  }

  .binational-tijuana-copy p {
    font-size: 16px;
    line-height: 1.58;
    letter-spacing: -0.015em;
  }

  .binational-tijuana-media {
    gap: 22px;
  }
}

@media (max-width: 480px) {
  .binational-tijuana-copy h2 {
    font-size: 34px;
  }

  .binational-tijuana-copy p {
    font-size: 16px;
    line-height: 1.58;
  }
}

/* =====================================================
   ATENCIÓN MÉDICA BINACIONAL
   Nuestro compromiso
===================================================== */

.binational-commitment-section {
  position: relative;
  min-height: 640px;
  padding-top: 82px;
  padding-bottom: 0;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(135deg, #f7f7f7 0%, #f1f1f1 100%);
}

.binational-commitment-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.88fr);
  gap: 62px;
  align-items: end;
  min-height: 558px;
}

.binational-commitment-copy {
  align-self: center;
  max-width: 620px;
  padding-bottom: 58px;
  color: var(--color-primary);
}

.binational-commitment-copy h2 {
  margin-bottom: 22px;
  color: var(--color-primary);
  font-size: clamp(46px, 5vw, 62px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.055em;
}

.binational-commitment-copy p {
  max-width: 610px;
  margin: 0 0 36px;
  color: var(--color-primary);
  font-size: 18px;
  line-height: 1.72;
  font-weight: 400;
}

.binational-commitment-copy .commitment-lead {
  max-width: 590px;
  margin-bottom: 34px;
  font-size: 21px;
  line-height: 1.42;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.binational-commitment-copy strong {
  color: var(--color-primary);
  font-weight: 800;
}

.binational-commitment-actions {
  margin-top: 42px;
}

.binational-commitment-actions .btn-primary {
  min-height: 56px;
  padding: 0 28px;
  border-radius: 7px;
  font-size: 22px;
  font-weight: 700;
}

.binational-commitment-actions .commitment-info-link {
  color: var(--color-primary);
}

.binational-commitment-media {
  position: relative;
  align-self: end;
  min-height: 558px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.binational-commitment-img {
  width: min(100%, 545px);
  max-height: 620px;
  height: auto;
  object-fit: contain;
  object-position: bottom right;
}

@media (max-width: 1040px) {
  .binational-commitment-section {
    min-height: auto;
    padding-top: 72px;
  }

  .binational-commitment-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: auto;
  }

  .binational-commitment-copy {
    max-width: 760px;
    padding-bottom: 0;
  }

  .binational-commitment-media {
    min-height: 440px;
    justify-content: center;
  }

  .binational-commitment-img {
    width: min(100%, 440px);
    max-height: 500px;
  }
}

@media (max-width: 760px) {
  .binational-commitment-section {
    padding-top: 58px;
  }

  .binational-commitment-copy h2 {
    margin-bottom: 20px;
    font-size: 38px;
    line-height: 1.08;
  }

  .binational-commitment-copy .commitment-lead {
    margin-bottom: 28px;
    font-size: 18px;
    line-height: 1.5;
  }

  .binational-commitment-copy .commitment-lead br {
    display: none;
  }

  .binational-commitment-copy p {
    margin-bottom: 28px;
    font-size: 16px;
    line-height: 1.62;
  }

  .binational-commitment-actions {
    margin-top: 30px;
  }

  .binational-commitment-actions .btn-primary {
    width: auto;
    min-height: 50px;
    padding: 0 22px;
    font-size: 18px;
  }

  .binational-commitment-media {
    min-height: 360px;
  }

  .binational-commitment-img {
    width: min(100%, 350px);
    max-height: 420px;
  }
}

@media (max-width: 480px) {
  .binational-commitment-copy h2 {
    font-size: 34px;
  }

  .binational-commitment-media {
    min-height: 330px;
  }

  .binational-commitment-img {
    width: min(100%, 320px);
  }
}

/* =====================================================
   EDUCANDO AL PACIENTE
   Dolor y lesiones
===================================================== */

.educando-pain-section {
  min-height: var(--section-height-standard);
  padding-top: 86px;
  padding-bottom: 86px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(135deg, #f7f7f7 0%, #f1f1f1 100%);
}

.educando-pain-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: 64px;
  align-items: start;
}

.educando-pain-copy {
  max-width: 590px;
  color: var(--color-primary);
}

.educando-pain-copy h2 {
  margin-bottom: 42px;
  color: var(--color-primary);
  font-size: clamp(54px, 6vw, 76px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.06em;
}

.educando-pain-copy p {
  max-width: 560px;
  margin-bottom: 34px;
  color: var(--color-primary);
  font-size: 22px;
  line-height: 1.52;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.educando-pain-copy p:last-child {
  margin-bottom: 0;
}

.educando-pain-copy strong {
  color: var(--color-primary);
  font-weight: 800;
}

.educando-pain-topics {
  min-height: 370px;
  padding-left: 58px;
  border-left: 1.5px solid rgba(0, 104, 104, 0.55);
  color: var(--color-primary);
}

.educando-pain-topics h3 {
  margin-bottom: 24px;
  color: var(--color-primary);
  font-size: 28px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.educando-pain-topics ul {
  list-style: none;
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.educando-pain-topics li {
  position: relative;
  padding-left: 24px;
  color: var(--color-primary);
  font-size: 23px;
  line-height: 1.32;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.educando-pain-topics li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
}

/* =====================================================
   EDUCANDO AL PACIENTE
   Tratamiento y recuperación
===================================================== */

.educando-treatment-section {
  min-height: var(--section-height-standard);
  padding-top: 86px;
  padding-bottom: 86px;
  display: flex;
  align-items: center;
}

.educando-treatment-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  gap: 64px;
  align-items: start;
}

.educando-treatment-copy {
  max-width: 590px;
  color: var(--color-white);
}

.educando-treatment-copy h2 {
  margin-bottom: 42px;
  color: var(--color-white);
  font-size: clamp(54px, 6vw, 76px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.06em;
}

.educando-treatment-copy p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 22px;
  line-height: 1.52;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.educando-treatment-copy strong {
  color: var(--color-white);
  font-weight: 800;
}

.educando-treatment-topics {
  min-height: 410px;
  padding-left: 58px;
  border-left: 1.5px solid rgba(255, 255, 255, 0.62);
  color: var(--color-white);
}

.educando-treatment-topics h3 {
  margin-bottom: 24px;
  color: var(--color-white);
  font-size: 28px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.educando-treatment-topics ul {
  list-style: none;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.educando-treatment-topics li {
  position: relative;
  padding-left: 24px;
  color: var(--color-white);
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.educando-treatment-topics li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-white);
}

/* Responsive Educando al paciente */

@media (max-width: 1040px) {
  .educando-pain-section,
  .educando-treatment-section {
    min-height: auto;
  }

  .educando-pain-grid,
  .educando-treatment-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .educando-pain-copy,
  .educando-treatment-copy {
    max-width: 760px;
  }

  .educando-pain-topics {
    min-height: auto;
    padding-left: 0;
    padding-top: 36px;
    border-left: none;
    border-top: 1.5px solid rgba(0, 104, 104, 0.35);
  }

  .educando-treatment-topics {
    min-height: auto;
    padding-left: 0;
    padding-top: 36px;
    border-left: none;
    border-top: 1.5px solid rgba(255, 255, 255, 0.42);
  }
}

@media (max-width: 760px) {
  .educando-pain-section {
    padding-top: 62px;
    padding-bottom: 68px;
  }

  .educando-treatment-section {
    padding-top: 64px;
    padding-bottom: 68px;
  }

  .educando-pain-copy h2,
  .educando-treatment-copy h2 {
    margin-bottom: 28px;
    font-size: 42px;
    line-height: 1.08;
  }

  .educando-pain-copy p,
  .educando-treatment-copy p {
    font-size: 17px;
    line-height: 1.62;
    letter-spacing: -0.025em;
  }

  .educando-pain-copy p {
    margin-bottom: 24px;
  }

  .educando-pain-topics,
  .educando-treatment-topics {
    padding-top: 30px;
  }

  .educando-pain-topics h3,
  .educando-treatment-topics h3 {
    margin-bottom: 20px;
    font-size: 24px;
  }

  .educando-pain-topics ul,
  .educando-treatment-topics ul {
    gap: 14px;
  }

  .educando-pain-topics li,
  .educando-treatment-topics li {
    padding-left: 20px;
    font-size: 17px;
    line-height: 1.45;
  }
}

@media (max-width: 480px) {
  .educando-pain-copy h2,
  .educando-treatment-copy h2 {
    font-size: 36px;
  }

  .educando-pain-topics h3,
  .educando-treatment-topics h3 {
    font-size: 22px;
  }
}


/* =====================================================
   SISTEMA GLOBAL
   Alturas uniformes de secciones
   Desktop uniforme / móvil flexible
===================================================== */

@media (min-width: 1041px) {
  .section {
    min-height: var(--section-height-standard);
    display: flex;
    align-items: center;
  }

  .hero,
  .about-hero,
  .specialties-hero {
    min-height: var(--section-height-large);
  }

  .cta-section {
    min-height: var(--section-height-standard);
  }

  .services-section,
  .approach-section,
  .experience-section,
  .trajectory-section,
  .about-specializations-section,
  .about-philosophy-section,
  .specialties-toggle-section,
  .robotic-benefits-section,
  .binational-environment-section,
  .binational-protocols-section,
  .binational-insurance-section,
  .binational-process-section,
  .binational-california-section,
  .binational-tijuana-section,
  .binational-commitment-section,
  .educando-pain-section,
  .educando-treatment-section {
    min-height: var(--section-height-standard);
    display: flex;
    align-items: center;
  }

  .about-hero,
  .binational-commitment-section {
    align-items: stretch;
  }

  .about-hero-grid {
    min-height: calc(var(--section-height-large) - 150px);
  }

  .binational-commitment-grid {
    min-height: calc(var(--section-height-standard) - 82px);
  }
}

@media (max-width: 1040px) {
  .section,
  .services-section,
  .approach-section,
  .experience-section,
  .trajectory-section,
  .about-specializations-section,
  .about-philosophy-section,
  .specialties-toggle-section,
  .robotic-benefits-section,
  .binational-environment-section,
  .binational-protocols-section,
  .binational-insurance-section,
  .binational-process-section,
  .binational-california-section,
  .binational-tijuana-section,
  .binational-commitment-section,
  .educando-pain-section,
  .educando-treatment-section {
    min-height: auto;
  }
}

/* =====================================================
   EDUCANDO AL PACIENTE
   Prevención
   Reutiliza estructura de Dolor y lesiones
===================================================== */

.educando-prevention-section {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(135deg, #f7f7f7 0%, #f1f1f1 100%);
}

/* =====================================================
   SISTEMA GLOBAL DE HEADERS DE SECCIÓN
   Uniforma títulos entre páginas internas
===================================================== */

:root {
  --section-title-size-desktop: clamp(44px, 5vw, 62px);
  --section-title-size-mobile: 38px;
  --section-title-size-small-mobile: 34px;

  --section-title-line-height: 1.06;
  --section-title-weight-light: 500;
  --section-title-weight-regular: 600;
  --section-title-letter-spacing: -0.055em;
}

/* Headers principales de secciones claras */
.educando-pain-copy h2,
.binational-environment-copy h2,
.binational-insurance-copy h2,
.binational-california-copy h2,
.binational-commitment-copy h2,
.robotic-benefits-copy h2,
.about-philosophy-copy h2,
.trajectory-heading h2 {
  font-size: var(--section-title-size-desktop);
  line-height: var(--section-title-line-height);
  font-weight: var(--section-title-weight-regular);
  letter-spacing: var(--section-title-letter-spacing);
}

/* Headers principales de secciones oscuras */
.educando-treatment-copy h2,
.binational-process-container h2,
.binational-protocols-copy h2,
.binational-tijuana-copy h2,
.about-specializations-copy h2,
.cta-copy h2 {
  font-size: var(--section-title-size-desktop);
  line-height: var(--section-title-line-height);
  font-weight: var(--section-title-weight-light);
  letter-spacing: var(--section-title-letter-spacing);
}

/* Ajuste específico para títulos muy largos */
.educando-treatment-copy h2,
.binational-protocols-copy h2 {
  line-height: 1.08;
}

/* Responsive uniforme */
@media (max-width: 760px) {
  .educando-pain-copy h2,
  .educando-treatment-copy h2,
  .binational-environment-copy h2,
  .binational-insurance-copy h2,
  .binational-california-copy h2,
  .binational-commitment-copy h2,
  .binational-process-container h2,
  .binational-protocols-copy h2,
  .binational-tijuana-copy h2,
  .robotic-benefits-copy h2,
  .about-philosophy-copy h2,
  .about-specializations-copy h2,
  .trajectory-heading h2,
  .cta-copy h2 {
    font-size: var(--section-title-size-mobile);
    line-height: 1.08;
    letter-spacing: -0.05em;
  }
}

@media (max-width: 480px) {
  .educando-pain-copy h2,
  .educando-treatment-copy h2,
  .binational-environment-copy h2,
  .binational-insurance-copy h2,
  .binational-california-copy h2,
  .binational-commitment-copy h2,
  .binational-process-container h2,
  .binational-protocols-copy h2,
  .binational-tijuana-copy h2,
  .robotic-benefits-copy h2,
  .about-philosophy-copy h2,
  .about-specializations-copy h2,
  .trajectory-heading h2,
  .cta-copy h2 {
    font-size: var(--section-title-size-small-mobile);
  }
}

/* =====================================================
   EDUCANDO AL PACIENTE
   Preguntas frecuentes
===================================================== */

.educando-faq-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 640px;
  padding-top: 96px;
  padding-bottom: 96px;
  display: flex;
  align-items: center;
  color: var(--color-white);
  background:
    radial-gradient(circle at 18% 20%, rgba(0, 190, 185, 0.36) 0%, rgba(0, 190, 185, 0.12) 28%, transparent 56%),
    radial-gradient(circle at 92% 86%, rgba(0, 54, 54, 0.58) 0%, rgba(0, 74, 74, 0.24) 36%, transparent 62%),
    linear-gradient(245deg, #10b7b5 0%, #007675 52%, #005f5f 100%);
}

.educando-faq-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  display: block;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.07) 0.7px, transparent 0.7px),
    radial-gradient(rgba(0, 0, 0, 0.07) 0.6px, transparent 0.6px),
    linear-gradient(
      -62deg,
      transparent 0%,
      transparent 18%,
      rgba(255, 255, 255, 0.05) 18%,
      rgba(255, 255, 255, 0.05) 28%,
      transparent 28%
    );
  background-size:
    4px 4px,
    5px 5px,
    100% 100%;
  background-position:
    0 0,
    2px 2px,
    center;
  opacity: 0.88;
}

.educando-faq-section::after {
  content: "";
  position: absolute;
  left: -330px;
  bottom: -360px;
  z-index: -2;
  width: 760px;
  height: 760px;
  border: 72px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.educando-faq-container {
  position: relative;
  z-index: 1;
  width: min(calc(100vw - 210px), var(--container));
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.educando-faq-heading {
  max-width: 1080px;
  margin-bottom: 44px;
}

.educando-faq-heading h2 {
  margin-bottom: 26px;
  color: var(--color-white);
  font-size: clamp(44px, 5vw, 62px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.educando-faq-heading p {
  max-width: 980px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 700;
}

.educando-faq-list {
  display: grid;
  gap: 0;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.educando-faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
}

.educando-faq-item:first-child {
  border-top: none;
}

.educando-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr 36px;
  align-items: center;
  gap: 24px;
  padding: 15px 0;
  color: var(--color-white);
}

.educando-faq-item summary::-webkit-details-marker {
  display: none;
}

.educando-faq-item summary span:first-child {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.educando-faq-icon {
  position: relative;
  width: 32px;
  height: 32px;
  justify-self: end;
  flex: 0 0 auto;
}

.educando-faq-icon::before,
.educando-faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: var(--color-white);
  transform: translate(-50%, -50%);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.educando-faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.educando-faq-item[open] .educando-faq-icon::after {
  opacity: 0;
}

.educando-faq-answer {
  padding: 0 0 20px;
  max-width: 980px;
}

.educando-faq-answer p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.68;
  font-weight: 400;
}

@media (max-width: 1040px) {
  .educando-faq-container {
    width: min(calc(100vw - 100px), var(--container));
  }
}

/* Responsive */
@media (max-width: 760px) {
  .educando-faq-section {
    min-height: auto;
    padding-top: 68px;
    padding-bottom: 72px;
  }

  .educando-faq-container {
    width: min(calc(100vw - 66px), var(--container));
  }

  .educando-faq-section::after {
    left: -390px;
    bottom: -340px;
    width: 660px;
    height: 660px;
    border-width: 56px;
  }

  .educando-faq-heading {
    margin-bottom: 32px;
  }

  .educando-faq-heading h2 {
    font-size: 38px;
    line-height: 1.08;
  }

  .educando-faq-heading p {
    font-size: 16px;
    line-height: 1.58;
  }

  .educando-faq-item summary {
    grid-template-columns: 1fr 28px;
    gap: 18px;
    padding: 16px 0;
  }

  .educando-faq-item summary span:first-child {
    font-size: 20px;
    line-height: 1.24;
  }

  .educando-faq-icon {
    width: 28px;
    height: 28px;
  }

  .educando-faq-icon::before,
  .educando-faq-icon::after {
    width: 20px;
    height: 2.5px;
  }

  .educando-faq-answer {
    padding-bottom: 18px;
  }

  .educando-faq-answer p {
    font-size: 16px;
    line-height: 1.62;
  }
}

@media (max-width: 480px) {
  .educando-faq-container {
    width: min(calc(100vw - 44px), var(--container));
  }

  .educando-faq-heading h2 {
    font-size: 34px;
  }

  .educando-faq-item summary span:first-child {
    font-size: 18px;
  }
}


/* =====================================================
   CONTACTO
   Ubicación principal con mapa
===================================================== */

.contact-location-section {
  min-height: 640px;
  padding-top: 78px;
  padding-bottom: 86px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(135deg, #f7f7f7 0%, #f1f1f1 100%);
}

.contact-location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  gap: 72px;
  align-items: center;
}

.contact-location-map {
  width: 100%;
  min-height: 430px;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(0, 104, 104, 0.08);
  box-shadow: 0 24px 54px rgba(0, 104, 104, 0.08);
}

.contact-location-map iframe {
  width: 100%;
  height: 430px;
  display: block;
}

.contact-location-copy {
  max-width: 520px;
  color: var(--color-primary);
}

.contact-location-copy h2 {
  margin-bottom: 30px;
  color: var(--color-primary);
  font-size: var(--section-title-size-desktop, clamp(44px, 5vw, 62px));
  line-height: var(--section-title-line-height, 1.06);
  font-weight: var(--section-title-weight-regular, 600);
  letter-spacing: var(--section-title-letter-spacing, -0.055em);
}

.contact-location-info h3 {
  margin-bottom: 18px;
  color: var(--color-primary);
  font-size: 28px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.contact-location-info p {
  margin-bottom: 26px;
  color: var(--color-primary);
  font-size: 19px;
  line-height: 1.62;
  font-weight: 400;
}

.contact-location-links {
  display: grid;
  gap: 10px;
  margin-bottom: 30px;
}

.contact-location-links a {
  color: var(--color-primary);
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-location-btn {
  min-height: 54px;
  padding: 0 26px;
  border-radius: 7px;
  font-size: 19px;
  font-weight: 700;
  gap: 10px;
}

/* Responsive Contacto */

@media (max-width: 1040px) {
  .contact-location-section {
    min-height: auto;
  }

  .contact-location-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .contact-location-copy {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .contact-location-section {
    padding-top: 58px;
    padding-bottom: 64px;
  }

  .contact-location-grid {
    gap: 34px;
  }

  .contact-location-map {
    min-height: 340px;
    border-radius: 22px;
  }

  .contact-location-map iframe {
    height: 340px;
  }

  .contact-location-copy h2 {
    margin-bottom: 24px;
    font-size: var(--section-title-size-mobile, 38px);
    line-height: 1.08;
  }

  .contact-location-info h3 {
    font-size: 24px;
  }

  .contact-location-info p,
  .contact-location-links a {
    font-size: 16px;
    line-height: 1.58;
  }

  .contact-location-btn {
    width: 100%;
    min-height: 50px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .contact-location-map {
    min-height: 300px;
  }

  .contact-location-map iframe {
    height: 300px;
  }

  .contact-location-copy h2 {
    font-size: var(--section-title-size-small-mobile, 34px);
  }
}

/* ==============================
   Mensajes de formulario
================================= */

.form-message {
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: 9px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
  display: none;
}

.form-message.is-success,
.form-message.is-error {
  display: block;
}

.form-message.is-success {
  background: rgba(0, 173, 173, 0.14);
  color: var(--color-primary);
}

.form-message.is-error {
  background: rgba(180, 40, 40, 0.12);
  color: #9f2f2f;
}

.form-submit:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

/* ==============================
   Botón Doctoralia en footer
================================= */

.footer-doctoralia-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin: 0 0 22px;
  padding: 0 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 17px;
  line-height: 1.2;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.footer-doctoralia-btn:hover {
  background: var(--color-accent-dark);
  border-color: rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .footer-doctoralia-btn {
    width: 100%;
    max-width: 320px;
  }
}
