/* Rem base fijo solo para esta landing */
@supports selector(html:has(#landing-medicina-estetica)) {
  html:has(#landing-medicina-estetica) {
    font-size: 16px;
  }
}

#landing-medicina-estetica .site-header .primary-nav { font-size: 14px; }

#landing-medicina-estetica .hero-cta-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#landing-medicina-estetica .module-footnote {
  padding: 0 24px 24px;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}
#landing-medicina-estetica .investment-highlight {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, rgba(207, 230, 235, 0.65) 38%, rgba(179, 211, 223, 0.85) 100%);
  border-radius: 32px;
  padding: clamp(28px, 4vw, 40px);
  box-shadow: 0 32px 58px rgba(15, 53, 68, 0.18);
  border: 1px solid rgba(23, 97, 119, 0.12);
  position: relative;
  overflow: hidden;
}

#landing-medicina-estetica .investment-highlight::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(233, 246, 249, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  pointer-events: none;
  z-index: 0;
}

#landing-medicina-estetica .investment-highlight h3,
#landing-medicina-estetica .investment-highlight ul,
#landing-medicina-estetica .investment-highlight .investment-logos {
  position: relative;
  z-index: 1;
}

#landing-medicina-estetica .investment-highlight ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

#landing-medicina-estetica .investment-highlight ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: rgba(20, 57, 72, 0.9);
}

#landing-medicina-estetica .investment-highlight ul li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #bcca2f 0%, #7da629 100%);
  box-shadow: 0 6px 16px rgba(188, 202, 47, 0.35);
  flex-shrink: 0;
}

/* 
 * Landing Page - Medicina Estética 
 * Estilos aislados para WordPress/Elementor
 * Version: 2.2.0
 */

#landing-medicina-estetica {
  --color-bg: #f5f5f5;
  --color-surface: #ffffff;
  --color-primary: #176177;
  --color-primary-dark: #0f4554;
  --color-primary-light: #2286a0;
  --color-secondary: #c3cf38;
  --color-secondary-light: rgba(195, 207, 56, 0.18);
  --color-text: #1f1f1f;
  --color-text-muted: #5b5b5b;
  --container-width: 1480px;
  --gutter: 18px;
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow-soft: 0 12px 24px rgba(23, 97, 119, 0.12);
}

/* ≥769px: tablets en horizontal y escritorio */
@media (min-width: 769px) {
  #landing-medicina-estetica #cta-final .final-cta-content {
    width: min(calc(85% - 2 * var(--gutter)), var(--container-width));
    margin: 0 auto;
  }
}

/* ≤768px: móviles y tablets en vertical */
@media (max-width: 768px) {
  #landing-medicina-estetica .hero {
    background: linear-gradient(150deg, #0f3440 0%, #176176 55%, #21839a 100%);
  }

  #landing-medicina-estetica .hero::before {
    clip-path: polygon(0 0, 100% 0, 65% 100%, 0% 100%);
  }

  #landing-medicina-estetica .hero > .container {
    padding-inline: clamp(18px, 6vw, 28px);
  }

  #landing-medicina-estetica .hero-grid {
    gap: 32px;
  }

  #landing-medicina-estetica #inversion .section-grid {
    grid-template-columns: 1fr;
  }

  #landing-medicina-estetica #inversion .roi-card {
    order: 2;
  }

  #landing-medicina-estetica #inversion .section-text {
    order: 1;
  }

  #landing-medicina-estetica #facilidades .section-grid,
  #landing-medicina-estetica #facilidades .facilities-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, auto);
    gap: clamp(24px, 6vw, 36px);
  }

  #landing-medicina-estetica #facilidades .investment-highlight {
    order: -1;
  }

  #landing-medicina-estetica #facilidades .section-text {
    order: 0;
  }

  #landing-medicina-estetica #cta-final .final-cta-content {
    width: min(calc(100% - 2 * var(--gutter)), 600px);
    margin: 0 auto;
  }

  #landing-medicina-estetica #cta-final .final-cta-copy,
  #landing-medicina-estetica #cta-final .final-cta-copy .cta-group {
    justify-items: center;
    text-align: center;
    justify-content: center;
  }

  #landing-medicina-estetica #cta-final .final-cta-form {
    width: 100%;
  }
}

#landing-medicina-estetica * {
  box-sizing: border-box;
}

#landing-medicina-estetica {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: #ffffff;
  line-height: 1.5;
}

#landing-medicina-estetica h1,
#landing-medicina-estetica h2,
#landing-medicina-estetica h3,
#landing-medicina-estetica h4,
#landing-medicina-estetica h5,
#landing-medicina-estetica h6 {
  font-family: "Exo 2", "Montserrat", sans-serif;
  color: var(--color-primary);
  margin-top: 0;
}

#landing-medicina-estetica a {
  color: var(--color-primary);
  text-decoration: none;
}

#landing-medicina-estetica a:hover,
#landing-medicina-estetica a:focus-visible {
  color: var(--color-primary-light);
  text-decoration: none;
}

#landing-medicina-estetica .container {
  width: min(calc(85% - 2 * var(--gutter)), var(--container-width));
  margin: 0 auto;
}

#landing-medicina-estetica .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

#landing-medicina-estetica .btn:hover,
#landing-medicina-estetica .btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

#landing-medicina-estetica .btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #ffffff;
}

#landing-medicina-estetica .btn-primary:hover,
#landing-medicina-estetica .btn-primary:focus-visible {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
}

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

#landing-medicina-estetica .btn-outline:hover,
#landing-medicina-estetica .btn-outline:focus-visible {
  background: rgba(23, 97, 119, 0.08);
}

#landing-medicina-estetica .btn-hero {
    padding: 10px 31px;
    font-size: 1.5rem;
    max-width: 279px;
    width: 100%;
}

#landing-medicina-estetica .hero-cta-group .btn-hero {
  width: auto;
}

#landing-medicina-estetica .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(23, 97, 119, 0.1);
  max-width: 100%;
}

#landing-medicina-estetica .header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  gap: 14px;
  transition: padding 0.25s ease;
}

#landing-medicina-estetica .header-cta {
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

#landing-medicina-estetica .header-cta:hover,
#landing-medicina-estetica .header-cta:focus-visible {
  color: #bcca2f;
}

#landing-medicina-estetica .header-cta:hover .icon-whatsapp,
#landing-medicina-estetica .header-cta:focus-visible .icon-whatsapp {
  color: #bcca2f;
}

#landing-medicina-estetica .header-title-mobile {
  display: none;
  font-family: "Exo 2", sans-serif;
  font-weight: 700;
  color: var(--color-primary);
}

#landing-medicina-estetica .header-cta.is-hidden {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

#landing-medicina-estetica .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Exo 2", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-primary);
}

#landing-medicina-estetica .site-header .flag {
  margin-left: 6px;
}

#landing-medicina-estetica .brand-logo {
  height: clamp(44px, 5.2vw, 62px);
  width: auto;
  display: block;
  transition: height 0.25s ease;
}

#landing-medicina-estetica .brand-logo-footer {
  height: 52px;
  width: auto;
}

#landing-medicina-estetica .primary-nav {
  display: flex;
  gap: 16px;
  font-weight: 500;
  font-size: 0.9rem;
}

#landing-medicina-estetica .header-dropdown-toggle {
  display: none;
}

#landing-medicina-estetica .primary-nav a {
  color: #5b5b5b;
  position: relative;
  padding-bottom: 4px;
}

#landing-medicina-estetica .primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: width 0.2s ease;
}

#landing-medicina-estetica .primary-nav a:hover::after,
#landing-medicina-estetica .primary-nav a:focus-visible::after {
  width: 100%;
}

#landing-medicina-estetica .primary-nav a.is-active {
  color: var(--color-primary);
}

#landing-medicina-estetica .primary-nav a.is-active::after {
  width: 100%;
}

#landing-medicina-estetica .site-header.is-compact .header-content {
  padding: 0;
}

#landing-medicina-estetica .site-header.is-compact .brand-logo {
  height: clamp(38px, 4.4vw, 52px);
}

#landing-medicina-estetica .hero {
  padding: 0px 0 90px;
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(150deg, #0f3440 0%, #176176 55%, #21839a 100%);
  overflow: hidden;
}

#landing-medicina-estetica .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:#176176;
  clip-path: polygon(0 0, 72% 0, 48% 100%, 0% 100%);
  z-index: 0;
}

#landing-medicina-estetica .hero::after {
  content: none;
}

#landing-medicina-estetica .hero.hero-elevated {
  padding: 60px 0 90px;
}

#landing-medicina-estetica .hero > .container {
  position: relative;
  z-index: 1;
}

#landing-medicina-estetica .hero-grid {
  display: grid;
  gap: 36px;
  align-items: stretch;
  grid-template-columns: minmax(0, 0.60fr) minmax(0, 0.40fr);
}

#landing-medicina-estetica .hero-grid.solo-visual {
  grid-template-columns: 1fr;
}

#landing-medicina-estetica .wp-video {
  max-width: 360px;
  margin: 0 auto;
}

#landing-medicina-estetica .wp-video-shortcode,
#landing-medicina-estetica .wp-video-shortcode video {
  width: 100% !important;
  height: auto !important;
}

#landing-medicina-estetica .wp-video-shortcode video {
  display: block;
  border-radius: var(--radius-md);
}

/* ≤960px: tablets y pantallas medianas */
@media (max-width: 960px) {
  #landing-medicina-estetica .hero-grid {
    grid-template-columns: 1fr;
  }
}

#landing-medicina-estetica .hero-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-right: 12px;
  align-items: flex-start;
  color: rgba(242, 249, 250, 0.95);
  position: relative;
  z-index: 1;
  max-width: 640px;
}

#landing-medicina-estetica .hero-motto {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.2vw, 16px);
  font-size: clamp(28px, 2.2vw, 42px);
  font-family: "Exo 2", sans-serif;
  font-weight: 700;
  line-height: 1.08;
  color: #f4fbff;
  margin-bottom: clamp(16px, 3vw, 32px);
  width: auto;
  max-width: 100%;
  align-self: flex-start;
  text-align: left;
  align-items: flex-start;
  position: relative;
}

#landing-medicina-estetica .hero-motto-line {
  display: inline-block;
}

#landing-medicina-estetica .hero-motto-line:nth-child(2) {
  padding-left: clamp(24px, 5vw, 48px);
}

#landing-medicina-estetica .hero-motto-line:nth-child(3) {
  padding-left: clamp(48px, 8vw, 96px);
}

#landing-medicina-estetica .hero-motto::after {
  display: none;
}

#landing-medicina-estetica .hero-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: rgba(224, 240, 242, 0.9);
  font-size: 0.95rem;
}

#landing-medicina-estetica .hero-benefits li {
  position: relative;
  padding-left: 28px;
}

#landing-medicina-estetica .hero-benefits li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  color: #0a2f3a;
  font-size: 0.7rem;
  border-radius: 50%;
  font-weight: 700;
}

#landing-medicina-estetica .hero-motto-cta {
  display: flex;
  align-items: flex-end;
  gap: clamp(16px, 4vw, 40px);
  margin-bottom: clamp(16px, 3vw, 32px);
}

#landing-medicina-estetica .hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 10px;
    padding-left: clamp(75px, 12vw, 192px);
}

#landing-medicina-estetica .hero-motto-cta .btn-hero {
  position: relative;
  background: #bcca2f;
  border-color: #bcca2f;
  color: #176177;
  overflow: hidden;
  font-weight: 700;
  letter-spacing: 0.4px;
  box-shadow: 0 16px 38px rgba(188, 202, 47, 0.4), 0 6px 16px rgba(15, 47, 60, 0.18);
  transform: translateY(0) scale(1);
  animation: heroPulseGlow 3.2s ease-in-out infinite;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

#landing-medicina-estetica .hero-motto-cta .btn-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  animation: heroSparkle 3.2s ease-in-out infinite;
}

#landing-medicina-estetica .hero-motto-cta .btn-hero:hover,
#landing-medicina-estetica .hero-motto-cta .btn-hero:focus-visible {
  background: #d1dc58;
  border-color: #d1dc58;
  color: #0b2840;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 22px 48px rgba(188, 202, 47, 0.5), 0 10px 22px rgba(15, 47, 60, 0.22);
}

@keyframes heroSparkle {
  0%, 55% {
    left: -130%;
    opacity: 0;
  }
  62% {
    opacity: 0.4;
  }
  70% {
    left: 120%;
    opacity: 0.65;
  }
  75%, 100% {
    left: 120%;
    opacity: 0;
  }
}

@keyframes heroPulseGlow {
  0%, 55%, 100% {
    box-shadow: 0 16px 38px rgba(188, 202, 47, 0.32), 0 6px 16px rgba(15, 47, 60, 0.14);
    transform: translateY(0) scale(1);
  }
  62% {
    box-shadow: 0 24px 56px rgba(188, 202, 47, 0.56), 0 14px 30px rgba(15, 47, 60, 0.22);
    transform: translateY(-4px) scale(1.03);
  }
  72% {
    box-shadow: 0 18px 40px rgba(19, 69, 87, 0.28);
  }
}

#landing-medicina-estetica .hero-motto-cta .btn-hero:hover,
#landing-medicina-estetica .hero-motto-cta .btn-hero:focus-visible {
  background: #cfdb5c;
  border-color: #cfdb5c;
  color: #0c2f3a;
}

#landing-medicina-estetica .btn-hero-secondary {
  font-size: 0.9rem;
  padding: 8px 20px;
  border-color: rgba(23, 97, 119, 0.35);
}

#landing-medicina-estetica .hero-info-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 42px;
  box-shadow: var(--shadow-soft);
  display: grid;
  flex-direction: column;
  gap: 20px;
  padding-right: 12px;
  align-items: flex-start;
}

/* ≤600px: móviles pequeños */
@media (max-width: 600px) {
  #landing-medicina-estetica .hero-info-card {
    padding: 32px 24px;
  }

  #landing-medicina-estetica .hero-motto {
    font-size: clamp(24px, 2.2vw, 36px);
    gap: clamp(6px, 2vw, 12px);
    align-self: flex-start;
    align-items: flex-start;
  }

  #landing-medicina-estetica .hero-motto-line:nth-child(2) {
    padding-left: clamp(18px, 6vw, 32px);
  }

  #landing-medicina-estetica .hero-motto-line:nth-child(3) {
    padding-left: clamp(32px, 10vw, 48px);
  }

  #landing-medicina-estetica .hero-motto::after {
    display: none;
  }

  #landing-medicina-estetica .story-block {
    gap: 22px;
  }

  #landing-medicina-estetica .story-content {
    font-size: 1rem;
  }
}

#landing-medicina-estetica .badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 6px;
  background: rgba(23, 97, 119, 0.08);
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.5px;
}

#landing-medicina-estetica .hero .badge {
  background: linear-gradient(120deg, rgba(23, 97, 119, 0.9) 0%, rgba(16, 70, 87, 0.9) 100%);
  color: #f1fbfd;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 30px rgba(4, 28, 37, 0.45);
}

#landing-medicina-estetica .badge-large {
  font-family: "Exo 2", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #ffffff;
  border-radius: 8px;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(23, 97, 119, 0.25);
}

#landing-medicina-estetica .hero-heading {
  font-family: "Exo 2", sans-serif;
  font-size: clamp(36px, 2.8vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  color: #f1fbfd;
  margin: 0 0 8px;
}

#landing-medicina-estetica .hero-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(216, 234, 238, 0.86);
}

#landing-medicina-estetica .hero-note {
  font-size: 14px;
  color: rgba(206, 229, 233, 0.72);
  font-style: italic;
}

#landing-medicina-estetica .text-remark {
  color: #bcca2f;
  font-weight: 700;
  font-size: 1.05em;
}

#landing-medicina-estetica .btn .icon {
  margin-left: 8px;
}

#landing-medicina-estetica .floating-cta .icon {
  margin-left: 0px;
}

#landing-medicina-estetica .icon-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  background: transparent;
  border-radius: 0;
  color:#25D366;;
  box-shadow: none;
}

#landing-medicina-estetica .header-cta .icon-whatsapp {
  color: #ffffff;
}

#landing-medicina-estetica .story {
  background: linear-gradient(135deg, rgba(23, 97, 119, 0.04) 0%, rgba(255, 255, 255, 0.95) 35%);
}

#landing-medicina-estetica .story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
}

#landing-medicina-estetica #sobre-amir {
  background: linear-gradient(140deg, #f2f7f9 0%, #ffffff 62%);
}

#landing-medicina-estetica #sobre-amir .section-header h2 {
  color: #124a5b;
}

#landing-medicina-estetica #sobre-amir .section-intro {
  color: #3a6270;
}

#landing-medicina-estetica #sobre-amir .story-content p {
  color: #4f6f7a;
}

#landing-medicina-estetica .faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 8vw, 72px);
  align-items: start;
}

#landing-medicina-estetica .faq-accordion {
  display: grid;
  gap: clamp(15px, 3vw, 16px);
}

#landing-medicina-estetica .story-media {
  margin: 0;
  border-radius: clamp(22px, 3vw, 32px);
  overflow: hidden;
  box-shadow: 0 28px 48px rgba(9, 53, 67, 0.22);
  position: relative;
  background: #0f2f3c;
}

#landing-medicina-estetica .story-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#landing-medicina-estetica .story-block {
  display: grid;
  gap: 28px;
  align-items: start;
}

#landing-medicina-estetica .story-content {
  display: grid;
  gap: 16px;
  color: var(--color-text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

#landing-medicina-estetica .story-content p {
  margin: 0;
}

/* ≤960px: tablets y pantallas medianas */
@media (max-width: 960px) {
  #landing-medicina-estetica .story-grid {
    grid-template-columns: 1fr;
  }

  #landing-medicina-estetica .story-media {
    max-width: 520px;
    margin: 0 auto;
  }
}

#landing-medicina-estetica .check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#landing-medicina-estetica .check-list li {
  padding-left: 28px;
  position: relative;
  line-height: 1.5;
}

#landing-medicina-estetica .check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 1.2rem;
}

#landing-medicina-estetica .hero-meta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}


#landing-medicina-estetica .hero-service-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 100%;
  display: flex;
  flex-direction: column;
}

#landing-medicina-estetica .hero-media-card {
  display: flex;
  align-items: center;
  justify-content: center;
}

#landing-medicina-estetica .video-card {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #176176;
  display: grid;
  gap: 12px;
}

#landing-medicina-estetica .video-card.vertical-video {
  max-width: 360px;
  margin-inline: auto;
}

#landing-medicina-estetica .vertical-video-frame {
  position: relative;
  width: 100%;
  padding-bottom: 160%;
  background: #000;
}

#landing-medicina-estetica .vertical-video-frame iframe,
#landing-medicina-estetica .vertical-video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#landing-medicina-estetica .video-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: inherit;
}

#landing-medicina-estetica .video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: transform 0.25s ease;
}

#landing-medicina-estetica .video-cover:hover img,
#landing-medicina-estetica .video-cover:focus-visible img {
  transform: scale(1.02);
}

#landing-medicina-estetica .video-cover-icon {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(23, 97, 119, 0.9);
  color: #ffffff;
  font-size: 1.8rem;
  box-shadow: 0 16px 30px rgba(23, 97, 119, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#landing-medicina-estetica .video-cover:hover .video-cover-icon,
#landing-medicina-estetica .video-cover:focus-visible .video-cover-icon {
  transform: scale(1.05);
  box-shadow: 0 22px 40px rgba(23, 97, 119, 0.45);
}

#landing-medicina-estetica .video-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

#landing-medicina-estetica .video-card figcaption {
  padding: 0 18px 18px;
  font-size: 0.9rem;
  color: rgba(236, 244, 247, 0.86);
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(6, 27, 34, 0.35);
  background: #176176;
}

#landing-medicina-estetica .video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(23, 97, 119, 0.9);
  color: #ffffff;
  border: 0;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

#landing-medicina-estetica .video-play:hover,
#landing-medicina-estetica .video-play:focus-visible {
  transform: scale(1.05);
  box-shadow: 0 16px 30px rgba(23, 97, 119, 0.35);
}

#landing-medicina-estetica .video-card.is-playing .video-play {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.9);
  pointer-events: none;
}

#landing-medicina-estetica .hero-visual {
  position: relative;
  min-height: 500px;
  height: 100%;
  background:url("beauty-cosmetology-concept-2024-10-17-00-04-50-utc.jpg") center/cover;
  display: flex;
  align-items: flex-end;
  z-index: 1;
}

#landing-medicina-estetica .hero-visual::after {
  content: none;
}

#landing-medicina-estetica .hero-visual-overlay {
  position: relative;
  z-index: 1;
  padding: 15px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  color: #ffffff;
  width: 100%;
  min-height: 100%;
}

#landing-medicina-estetica .hero-visual-tag {
  align-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(195, 207, 56, 0.92);
  color: #fff;
}

#landing-medicina-estetica .service-buttons {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
}

#landing-medicina-estetica .service-pill {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary);
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 4px solid #c3cf38eb;
  box-shadow: 0 10px 22px rgba(2, 43, 53, 0.25);
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

#landing-medicina-estetica .service-pill:hover,
#landing-medicina-estetica .service-pill:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(2, 43, 53, 0.28);
}
#landing-medicina-estetica .service-pill .pill-arrow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 1.1rem;
  transition: background 0.2s ease, color 0.2s ease;
}

#landing-medicina-estetica .service-pill:hover .pill-arrow,
#landing-medicina-estetica .service-pill:focus-visible .pill-arrow {
  background: #c3cf38eb;
  color: #102a35;
}

@media (max-width: 960px) {
  #landing-medicina-estetica .hero {
    padding: 72px 0 56px;
  }

  #landing-medicina-estetica .hero-visual {
    min-height: 400px;
  }

  #landing-medicina-estetica .hero-grid {
    grid-template-columns: 1fr;
  }

  #landing-medicina-estetica .hero-info {
    padding-right: 0;
  }

  #landing-medicina-estetica .hero-visual-overlay {
    padding: 10px;
    gap: 0px;
    min-height: 60vh;
  }

  #landing-medicina-estetica .service-buttons {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  #landing-medicina-estetica .hero-visual-tag {
    font-size: 11px;
  }
  #landing-medicina-estetica .service-pill{
    font-size: 14px;
  }
}

#landing-medicina-estetica .brand-strip-title {
  font-weight: 600;
  color: var(--color-primary);
}

#landing-medicina-estetica .brand-logos {
  list-style: none;
  display: flex;
  gap: 28px;
  align-items: center;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

#landing-medicina-estetica .brand-logos img {
  filter: saturate(0.9);
  opacity: 0.9;
}

#programa {
  background: rgba(23, 97, 119, 0.03);
}

#testimonios {
  background: rgba(23, 97, 119, 0.03);
}

#admisiones {
  background: rgba(23, 97, 119, 0.03);
}

#landing-medicina-estetica .insight-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

/* ≤992px: laptops pequeños y tablets grandes */
@media (max-width: 992px) {
  #landing-medicina-estetica .insight-grid {
    grid-template-columns: 1fr;
  }
}

#landing-medicina-estetica .insight-card {
  position: relative;
  border-radius: var(--radius-lg);
  min-height: 520px;
  box-shadow: var(--shadow-soft);
}

#landing-medicina-estetica .insight-card-visual {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background:
    url("beautiful-young-woman-getting-face-treatment-at-be-2025-01-08-02-50-14-utc.jpg") center/cover;
}

#landing-medicina-estetica .insight-card-body {
  position: sticky;
  top: 80px;
  margin: 48px;
  padding: 36px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  display: grid;
  gap: 16px;
  align-content: start;
  box-shadow: 0 18px 36px rgba(6, 37, 45, 0.28);
  z-index: 1;
}

/* ≤900px: tablets grandes */
@media (max-width: 900px) {
  #landing-medicina-estetica .insight-card {
    min-height: 700px;
  }

  #landing-medicina-estetica .insight-card-body {
    margin: 32px;
    padding: 28px;
    top: 32px;
  }

  #landing-medicina-estetica .value-grid {
    margin: 40px 10%;
  }
}

@media (max-width: 600px) {
  #landing-medicina-estetica .insight-card-body {
    position: relative;
    margin: 24px;
    top: auto;
    box-shadow: var(--shadow-soft);
  }

  #landing-medicina-estetica .hero-visual{
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
  }
}

#landing-medicina-estetica .insight-card-body h3 {
  margin: 0;
}

#landing-medicina-estetica .insight-list {
  display: grid;
  gap: 24px;
}

#landing-medicina-estetica .insight-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  counter-reset: insightStep;
}

#landing-medicina-estetica .insight-steps li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 24px 24px 24px 84px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

#landing-medicina-estetica .insight-steps li::before {
  counter-increment: insightStep;
  content: counter(insightStep, decimal-leading-zero);
  position: absolute;
  top: 24px;
  left: 24px;
  width: 54px;
  height: 34px;
  display: grid;
  place-items: center;
  font-family: "Exo 2", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  color: var(--color-primary);
  background: rgba(195, 207, 56, 0.9);
  border-radius: 6px;
}

#landing-medicina-estetica .insight-steps .step-number {
  display: none;
}

#landing-medicina-estetica .video-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  background: rgba(23, 97, 119, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

#landing-medicina-estetica .play-button {
  border: none;
  background: var(--color-secondary);
  color: var(--color-text);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

#landing-medicina-estetica .play-button:hover,
#landing-medicina-estetica .play-button:focus-visible {
  transform: scale(1.05);
}
#landing-medicina-estetica .value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 40px 0 32px;
}

@media (max-width: 768px) {
  #landing-medicina-estetica .value-grid {
    grid-template-columns: 1fr;
  }
}

#landing-medicina-estetica .value-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  border-top: 4px solid rgba(195, 207, 56, 0.35);
}

#landing-medicina-estetica .benefits .section-header {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
  display: grid;
  gap: 12px;
}

#landing-medicina-estetica .benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

#landing-medicina-estetica #beneficios {
  background: #176176;
  color: rgba(240, 250, 253, 0.92);
}

#landing-medicina-estetica #beneficios .section-header h2 {
  color: #ffffff;
}

#landing-medicina-estetica #beneficios .section-header .section-intro,
#landing-medicina-estetica #beneficios .section-intro {
  color: rgba(241, 250, 252, 0.78);
}

#landing-medicina-estetica #beneficios .benefits-grid {
  gap: clamp(22px, 4vw, 32px);
}

#landing-medicina-estetica #beneficios .benefit-card {
  background: rgba(4, 42, 54, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 46px rgba(5, 34, 43, 0.26);
  color: rgba(241, 249, 251, 0.94);
}

#landing-medicina-estetica #beneficios .benefit-card h3 {
  color: #ffffff;
}

#landing-medicina-estetica #beneficios .benefit-card p {
  color: rgba(241, 250, 252, 0.78);
}

#landing-medicina-estetica #beneficios .benefit-icon {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

#landing-medicina-estetica #beneficios .benefit-card::after {
  background: linear-gradient(180deg, rgba(188, 202, 47, 0.9) 0%, rgba(188, 202, 47, 0.25) 100%);
}

#landing-medicina-estetica .benefit-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(23, 97, 119, 0.08);
  display: grid;
  gap: 16px;
  position: relative;
}

#landing-medicina-estetica .benefit-card h3 {
  margin: 0;
  color: var(--color-primary);
}

#landing-medicina-estetica .benefit-card::after {
  content: "";
  position: absolute;
  top: clamp(18px, 3vw, 28px);
  left: 0;
  width: 4px;
  height: clamp(60px, 40%, 120px);
  background: linear-gradient(180deg, #bcca2f 0%, rgba(188, 202, 47, 0.2) 100%);
  border-radius: 0 8px 8px 0;
}

#landing-medicina-estetica .benefit-icon {
  width: clamp(70px, 10.8vw, 89px);
  height: clamp(70px, 10.8vw, 89px);
  border-radius: 22px;
  background: rgba(23, 97, 119, 0.12);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(23, 97, 119, 0.18);
}

#landing-medicina-estetica .benefit-icon svg,
#landing-medicina-estetica .benefit-icon img {
  display: block;
  width: 81%;
  height: 81%;
  object-fit: contain;
}

#landing-medicina-estetica .benefit-card p {
  grid-column: 1 / -1;
  margin: 0;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#landing-medicina-estetica .testimonial-carousel {
  display: grid;
  gap: clamp(32px, 6vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  justify-content: center;
}

#landing-medicina-estetica .testimonial-carousel--two {
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  justify-items: center;
}

#landing-medicina-estetica .testimonial-card {
  display: grid;
  gap: 24px;
  justify-items: center;
  background: rgba(255, 255, 255, 0.96);
  padding: clamp(18px, 3vw, 28px);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 46px rgba(23, 97, 119, 0.12);
  border: 1px solid rgba(23, 97, 119, 0.12);
}

#landing-medicina-estetica .testimonial-poster {
  display: grid;
  justify-items: center;
  width: 100%;
}

#landing-medicina-estetica .testimonial-content {
  display: grid;
  gap: 18px;
  width: 100%;
  text-align: center;
}

#landing-medicina-estetica .testimonial-content blockquote {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

#landing-medicina-estetica .testimonial-meta {
  display: grid;
  gap: 10px;
  justify-items: center;
}

#landing-medicina-estetica .testimonial-card blockquote {
  margin: 0;
}

#landing-medicina-estetica .testimonial-name {
  margin: 0;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1.05rem;
}

#landing-medicina-estetica .testimonial-insight {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(47, 74, 82, 0.85);
  max-width: 32ch;
}

#landing-medicina-estetica .investment-highlight .investment-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 4vw, 32px);
  margin-top: 18px;
  color: #0f3440;
}

#landing-medicina-estetica .investment-highlight .investment-logos svg {
  width: clamp(105px, 12vw, 147px);
  height: auto;
}

#landing-medicina-estetica .investment-highlight .investment-logos img {
  width: clamp(84px, 10vw, 126px);
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(15, 47, 60, 0.18));
}

#landing-medicina-estetica .testimonial-device {
  position: relative;
  width: clamp(220px, 28vw, 280px);
  padding: 22px 16px 32px;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(23, 97, 119, 0.18) 0%, rgba(23, 97, 119, 0.05) 100%);
  box-shadow: 0 22px 38px rgba(23, 97, 119, 0.18);
}

#landing-medicina-estetica .testimonial-device::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 34%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  transform: translateX(-50%);
}

#landing-medicina-estetica .testimonial-screen {
  position: relative;
  width: 100%;
  padding-bottom: 177.78%;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  display: grid;
  place-items: center;
}

#landing-medicina-estetica .testimonial-screen iframe,
#landing-medicina-estetica .testimonial-screen video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  background: #000;
}

#landing-medicina-estetica .testimonial-screen video::cue {
  color: #f5f5f5;
}

#landing-medicina-estetica .testimonial-screen video {
  display: block;
}

#landing-medicina-estetica .testimonial-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

#landing-medicina-estetica .testimonial-card.is-playing .testimonial-preview {
  opacity: 0;
  visibility: hidden;
}

#landing-medicina-estetica .testimonial-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  background: rgba(23, 97, 119, 0.95);
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

#landing-medicina-estetica .testimonial-play:hover,
#landing-medicina-estetica .testimonial-play:focus-visible {
  transform: scale(1.05);
  box-shadow: 0 18px 36px rgba(23, 97, 119, 0.35);
}

#landing-medicina-estetica .testimonial-card.is-playing .testimonial-play {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.9);
}

#landing-medicina-estetica .testimonial-card blockquote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

#landing-medicina-estetica .testimonial-name {
  margin: 0;
  font-weight: 600;
  color: var(--color-primary);
}

#landing-medicina-estetica .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

#landing-medicina-estetica .section-header .link {
  color: var(--color-primary);
  font-weight: 600;
}

#landing-medicina-estetica .roi-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(23, 97, 119, 0.08);
}

#landing-medicina-estetica .roi-card form {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

#landing-medicina-estetica .roi-card label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 500;
}

#landing-medicina-estetica .roi-card input {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(23, 97, 119, 0.2);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#landing-medicina-estetica .roi-card input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(23, 97, 119, 0.1);
}

#landing-medicina-estetica .roi-card input.highlight-cta {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(195, 207, 56, 0.2);
  animation: pulseInput 2s ease-in-out infinite;
}

#procedimientos.invite-pulse {
  border-color: rgba(195, 207, 56, 0.9);
  box-shadow: 0 0 0 0 rgba(195, 207, 56, 0.28), 0 0 18px rgba(195, 207, 56, 0.35);
  animation: inviteGlow 1.6s ease-in-out infinite;
}

@keyframes inviteGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(195, 207, 56, 0.24), 0 0 18px rgba(195, 207, 56, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(195, 207, 56, 0.12), 0 0 26px rgba(195, 207, 56, 0.45);
    transform: scale(1.01);
  }
}

@keyframes pulseInput {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(195, 207, 56, 0.2);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(195, 207, 56, 0.3);
  }
}

#landing-medicina-estetica .roi-result {
  font-weight: 600;
  font-size: 18px;
  color: var(--color-primary);
}

#roiMeses {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--color-primary);
  transition: background 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
}

#roiMeses.is-highlighted {
  background: rgba(195, 207, 56, 0.75);
  color: #0f2f3c;
  box-shadow: 0 0 0 8px rgba(195, 207, 56, 0.18);
  animation: roiPulse 0.6s ease;
}

@keyframes roiPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

#landing-medicina-estetica .section {
  padding: clamp(72px, 9vw, 110px) 0;
}

#landing-medicina-estetica #inversion {
  background: linear-gradient(180deg, #f1f6f8 0%, #ffffff 94%);
}

#landing-medicina-estetica #facilidades {
  background: #eef6f8;
}

#landing-medicina-estetica #inversion .section-text h2 {
  color: #0f2f3c;
}

#landing-medicina-estetica #inversion .section-text p {
  color: #365965;
}

#landing-medicina-estetica #inversion .feature-list li {
  color: #365965;
}

#landing-medicina-estetica #inversion .roi-card {
  background: #ffffff;
  border: 1px solid rgba(12, 60, 75, 0.1);
  box-shadow: 0 24px 48px rgba(12, 60, 75, 0.14);
}

#landing-medicina-estetica #inversion .btn-outline {
  background: #176176;
  color: #ffffff;
  border-color: transparent;
}

#landing-medicina-estetica #inversion .btn-outline:hover,
#landing-medicina-estetica #inversion .btn-outline:focus-visible {
  background: #124c60;
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(15, 47, 60, 0.28);
}

#landing-medicina-estetica main > section:nth-of-type(odd) {
  background: #ffffff;
}

#landing-medicina-estetica main > section:nth-of-type(even) {
  background: linear-gradient(135deg, rgba(23, 97, 119, 0.03) 0%, rgba(195, 207, 56, 0.06) 100%);
}

#landing-medicina-estetica main > #hero {
  background: linear-gradient(150deg, #0f3440 0%, #176176 55%, #21839a 100%);
}

#landing-medicina-estetica .section.highlight {
  background: linear-gradient(135deg, rgba(23, 97, 119, 0.1) 0%, rgba(195, 207, 56, 0.08) 100%);
}

#landing-medicina-estetica .section-grid {
  display: grid;
  gap: 36px;
  align-items: stretch;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.42fr);
}

#landing-medicina-estetica .section-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between;
}

#landing-medicina-estetica .opportunity .section-text {
  gap: 16px;
}

#landing-medicina-estetica .roi-description {
  margin-top: -4px;
  margin-bottom: 12px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

#landing-medicina-estetica .feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

#landing-medicina-estetica .feature-list li {
  padding-left: 36px;
  position: relative;
  line-height: 1.6;
}

#landing-medicina-estetica .feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-secondary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
}

#landing-medicina-estetica .hero-benefits li {
  padding-left: 36px;
  position: relative;
  line-height: 1.6;
}

#landing-medicina-estetica .cohort-card {
  display: grid;
  gap: 8px;
  border-left: 4px solid rgba(23, 97, 119, 0.25);
  padding-left: 18px;
}

#landing-medicina-estetica .cohort-badge {
  justify-self: start;
  padding: 5px 14px;
  border-radius: 999px;
  background: #c3cf38eb;
  border: 1px solid rgba(15, 47, 60, 0.12);
  color: #0f2f3c;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.48px;
  text-transform: uppercase;
  box-shadow: 0 6px 14px rgba(15, 47, 60, 0.16);
  margin: 0 0 15px 0;
}

#landing-medicina-estetica .cohort-card h3 {
  margin: 0;
}

#landing-medicina-estetica .cohort-card ul {
  margin: 4px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
}

#landing-medicina-estetica .cohort-list {
  display: grid;
  gap: 28px;
}

#landing-medicina-estetica .cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

#admisiones .section-text {
  display: grid;
  align-content: start;
  gap: 18px;
}

#landing-medicina-estetica .profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

#landing-medicina-estetica .profile-card {
  background: var(--color-surface);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border-left: 4px solid rgba(23, 97, 119, 0.4);
  display: grid;
  gap: 14px;
}

#landing-medicina-estetica .profile-card h3 {
  margin: 0;
  color: var(--color-primary);
}

#landing-medicina-estetica .profile-card ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

#landing-medicina-estetica .profiles-combined {
  position: relative;
  background: linear-gradient(160deg, rgba(23, 97, 119, 0.08) 0%, rgba(195, 207, 56, 0.08) 100%);
  overflow: hidden;
  padding: clamp(96px, 12vw, 150px) 0;
}

#landing-medicina-estetica #perfiles {
  background: linear-gradient(120deg, #c3cf38 0%, #e0e673 85%);
}

#landing-medicina-estetica #perfiles .profiles-container {
  color: #0f2f3c;
}

#landing-medicina-estetica #perfiles .profiles-pane {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 30px 56px rgba(15, 47, 60, 0.18);
}

#landing-medicina-estetica #perfiles .section-header h2,
#landing-medicina-estetica #perfiles .profiles-pane h3 {
  color: #0f2f3c;
}

#landing-medicina-estetica #perfiles .section-intro,
#landing-medicina-estetica #perfiles .profile-card ul li {
  color: #2f4e57;
}

#landing-medicina-estetica #perfiles .profiles-media {
  box-shadow: 0 32px 52px rgba(15, 47, 60, 0.22);
}

#landing-medicina-estetica #perfiles .profiles-pane--resultados {
  background: rgba(255, 255, 255, 0.96);
}

#landing-medicina-estetica #perfiles .profiles-pane-header h3 {
  color: #124a5b;
}

#landing-medicina-estetica .profiles-container {
  position: relative;
  z-index: 1;
}

#landing-medicina-estetica .profiles-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: stretch;
}

#landing-medicina-estetica .profiles-media {
  margin: 0;
  border-radius: clamp(22px, 3vw, 32px);
  overflow: hidden;
  box-shadow: 0 28px 48px rgba(9, 53, 67, 0.22);
  background: #0f2f3c;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

#landing-medicina-estetica .profiles-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#landing-medicina-estetica .profiles-pane {
  background: rgba(255, 255, 255, 0.95);
  border-radius: clamp(22px, 3.6vw, 32px);
  padding: clamp(40px, 5vw, 56px);
  box-shadow: 0 32px 60px rgba(6, 49, 62, 0.16);
  display: grid;
  gap: clamp(24px, 3vw, 34px);
}

#landing-medicina-estetica .profiles-pane .section-header {
  margin: 0;
  display: grid;
  gap: 12px;
}

#landing-medicina-estetica .profiles-pane--ingreso .section-header h2 {
  position: relative;
  --profiles-arrow-length: clamp(20px, 3.6vw, 32px);
  --profiles-arrow-gap: clamp(10px, 1.6vw, 18px);
  --profiles-arrow-thickness: 4px;
  padding-left: calc(var(--profiles-arrow-length) + var(--profiles-arrow-gap));
}

#landing-medicina-estetica .profiles-pane--ingreso .section-header h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: var(--profiles-arrow-length);
  height: var(--profiles-arrow-thickness);
  background: linear-gradient(90deg, rgba(19, 69, 87, 0.25) 0%, #bcca2f 100%);
  border-radius: 999px;
  transform: translateY(-50%);
}

#landing-medicina-estetica .profiles-pane--ingreso .section-header h2::after {
  content: "";
  position: absolute;
  left: var(--profiles-arrow-length);
  top: 50%;
  width: 14px;
  height: 14px;
  border-top: var(--profiles-arrow-thickness) solid #bcca2f;
  border-right: var(--profiles-arrow-thickness) solid #bcca2f;
  transform: translate(-30%, -50%) rotate(45deg);
}

#landing-medicina-estetica .profiles-pane--egreso .section-header h2 {
  position: relative;
  --profiles-arrow-vertical: clamp(26px, 4.2vw, 44px);
  --profiles-arrow-thickness: 4px;
  padding-top: calc(var(--profiles-arrow-vertical) + clamp(10px, 1.6vw, 18px));
}

#landing-medicina-estetica .profiles-pane--egreso .section-header h2::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--profiles-arrow-thickness);
  height: var(--profiles-arrow-vertical);
  background: linear-gradient(180deg, rgba(19, 69, 87, 0.25) 0%, #bcca2f 100%);
  border-radius: 999px;
  transform: translateX(-50%);
}

#landing-medicina-estetica .profiles-pane--egreso .section-header h2::after {
  content: "";
  position: absolute;
  left: 50%;
  top: var(--profiles-arrow-vertical);
  width: 14px;
  height: 14px;
  border-right: var(--profiles-arrow-thickness) solid #bcca2f;
  border-bottom: var(--profiles-arrow-thickness) solid #bcca2f;
  transform: translate(-50%, -30%) rotate(45deg);
}

#landing-medicina-estetica .profiles-content {
  display: grid;
  gap: clamp(36px, 5vw, 48px);
}

#landing-medicina-estetica .profiles-section {
  display: block;
}

#landing-medicina-estetica .profiles-panel-divider {
  display: grid;
}

#landing-medicina-estetica .profile-grid--resultados {
  display: grid;
  gap: 18px;
}

#landing-medicina-estetica .profiles-pane--resultados {
  background: rgba(255, 255, 255, 0.97);
}

@media (max-width: 960px) {
  #landing-medicina-estetica .faq-layout {
    grid-template-columns: 1fr;
    gap: clamp(28px, 7vw, 40px);
  }

  #landing-medicina-estetica .faq-accordion {
    display: grid;
    gap: clamp(20px, 5vw, 32px);
  }

  #landing-medicina-estetica .benefit-card {
    grid-template-columns: auto 1fr;
  }

  #landing-medicina-estetica .profiles-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(28px, 8vw, 44px);
  }

  #landing-medicina-estetica .profiles-bridge {
    flex-direction: row;
    min-width: 0;
  }

  #landing-medicina-estetica .profiles-bridge-line {
    height: 4px;
    width: clamp(160px, 60vw, 280px);
    background: linear-gradient(90deg, rgba(19, 69, 87, 0.15) 0%, rgba(188, 202, 47, 0.55) 100%);
  }

  #landing-medicina-estetica .profiles-bridge-caption--from,
  #landing-medicina-estetica .profiles-bridge-caption--to {
    text-align: center;
    padding: 0;
  }

  #landing-medicina-estetica .profiles-pane--ingreso .section-header h2 {
    --profiles-arrow-length: clamp(16px, 16vw, 26px);
    --profiles-arrow-gap: clamp(10px, 6vw, 14px);
  }

  #landing-medicina-estetica .profiles-pane--egreso .section-header h2 {
    --profiles-arrow-vertical: clamp(18px, 16vw, 30px);
  }
}

/* ≤1100px: monitores medianos */
@media (max-width: 1100px) {
  #landing-medicina-estetica .profiles-grid {
    grid-template-columns: 1fr;
  }

  #landing-medicina-estetica .profiles-media {
    max-width: 640px;
    justify-self: center;
  }

  #landing-medicina-estetica .profiles-content {
    grid-template-columns: 1fr;
    gap: clamp(28px, 6vw, 40px);
  }

  #landing-medicina-estetica .profiles-section {
    height: 100%;
  }

  #landing-medicina-estetica .profiles-pane {
    height: 100%;
  }
}

@media (max-width: 768px) {
  #landing-medicina-estetica .benefit-card {
    grid-template-columns: auto 1fr;
  }

  #landing-medicina-estetica .profiles-grid {
    grid-template-columns: 1fr;
  }

  #landing-medicina-estetica .profiles-media {
    width: 100%;
    margin-bottom: clamp(28px, 8vw, 44px);
  }

  #landing-medicina-estetica .profiles-content {
    grid-template-columns: 1fr;
  }

  #landing-medicina-estetica .profiles-pane {
    padding: clamp(32px, 9vw, 44px);
  }

  #landing-medicina-estetica .faq-intro {
    max-width: none;
  }
}

#landing-medicina-estetica .outcome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

#landing-medicina-estetica .outcome-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(23, 97, 119, 0.08);
  display: grid;
  gap: 12px;
}

#landing-medicina-estetica .outcome-card h3 {
  margin: 0;
  color: var(--color-primary);
}

#landing-medicina-estetica .module-accordion {
  display: grid;
  gap: 16px;
}

#landing-medicina-estetica .module-item {
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  border: 1px solid rgba(23, 97, 119, 0.12);
}

#landing-medicina-estetica .module-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  font-family: "Exo 2", sans-serif;
  color: var(--color-primary);
  position: relative;
  list-style: none;
}

#landing-medicina-estetica .module-item summary::marker {
  display: none;
}

#landing-medicina-estetica .module-item summary::-webkit-details-marker {
  display: none;
}

#landing-medicina-estetica .module-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

#landing-medicina-estetica .module-item[open] summary::after {
  content: "−";
}

#landing-medicina-estetica .module-item.module-item--final summary::after {
  content: "";
}

#landing-medicina-estetica .module-item ul,
#landing-medicina-estetica .module-item p {
  padding: 0 24px 24px;
  margin: 0 0 12px;
  color: var(--color-text-muted);
}

#landing-medicina-estetica .module-item ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

#landing-medicina-estetica .module-item ul li {
  position: relative;
  padding-left: 20px;
}

#landing-medicina-estetica .module-item ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(135deg, #176177 0%, #2aa6c0 100%);
  box-shadow: 0 0 0 2px rgba(23, 97, 119, 0.12);
}

#landing-medicina-estetica .curriculum-cta {
  margin-top: 32px;
  justify-content: center;
}

#landing-medicina-estetica .curriculum-cta .btn {
  min-width: 220px;
}

#landing-medicina-estetica .investment {
  display: grid;
  gap: 24px;
}

#landing-medicina-estetica .investment-list {
  margin: 20px 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

#landing-medicina-estetica .investment-highlight {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(23, 97, 119, 0.08);
}

#landing-medicina-estetica .investment-highlight h3 {
  margin-top: 0;
}

#landing-medicina-estetica .investment-highlight ul {
  margin: 30px 0;
  padding: 0;
  display: grid;
  gap: 20px;
  list-style: none;
}

#landing-medicina-estetica .investment-highlight ul li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

#landing-medicina-estetica .investment-highlight ul li::before {
  content: "✔";
  color: #bcca2f;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  transform: translateY(2px);
  flex-shrink: 0;
}

#landing-medicina-estetica .investment-highlight ul li span {
  display: inline-block;
  flex: 1;
}

#landing-medicina-estetica .testimonial-media {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
}

#landing-medicina-estetica .testimonial-media img {
  width: 100%;
  display: block;
  object-fit: cover;
}

#landing-medicina-estetica .faq-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

#landing-medicina-estetica .faq-item {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(23, 97, 119, 0.1);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

#landing-medicina-estetica .faq-item summary {
  font-weight: 600;
  font-family: "Exo 2", sans-serif;
  padding: 18px 24px;
  cursor: pointer;
  position: relative;
  list-style: none;
}

#landing-medicina-estetica .faq-item summary::marker,
#landing-medicina-estetica .faq-item summary::-webkit-details-marker {
  display: none;
}

#landing-medicina-estetica .faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

#landing-medicina-estetica .faq-item[open] summary::after {
  content: "−";
}

#landing-medicina-estetica .faq-item p {
  padding: 0 24px 24px;
  margin: 0;
  color: var(--color-text-muted);
}

#landing-medicina-estetica .section.highlight {
  background: linear-gradient(135deg, rgba(23, 97, 119, 0.1) 0%, rgba(195, 207, 56, 0.08) 100%);
  text-align: center;
}

#landing-medicina-estetica #cta-final.section.highlight {
  background:
    radial-gradient(120% 120% at 18% 12%, rgba(188, 202, 47, 0.24) 0%, rgba(188, 202, 47, 0) 60%),
    linear-gradient(140deg, rgba(8, 36, 46, 0.98) 0%, rgba(23, 97, 118, 0.94) 100%);
  position: relative;
  overflow: hidden;
}

#landing-medicina-estetica #cta-final.section.highlight::after {
  content: "";
  position: absolute;
  inset: -25% 18% auto auto;
  width: clamp(260px, 36vw, 420px);
  height: clamp(260px, 36vw, 420px);
  background: radial-gradient(circle, rgba(195, 207, 56, 0.28) 0%, rgba(195, 207, 56, 0) 70%);
  opacity: 0.6;
}

#landing-medicina-estetica #cta-final.section.highlight::before {
  content: "";
  position: absolute;
  inset: auto auto -30% -20%;
  width: clamp(240px, 32vw, 380px);
  height: clamp(240px, 32vw, 380px);
  background: radial-gradient(circle, rgba(12, 58, 72, 0.55) 0%, rgba(12, 58, 72, 0) 75%);
  opacity: 0.5;
}

#landing-medicina-estetica #cta-final.section.highlight > .container {
  position: relative;
  z-index: 1;
}

#landing-medicina-estetica #cta-final .final-cta {
  display: grid;
  gap: 22px;
  justify-items: center;
  color: #f3fbfe;
}

#landing-medicina-estetica #cta-final .final-cta-content {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(320px, 1fr);
  gap: clamp(26px, 4vw, 42px);
  align-items: stretch;
}

#landing-medicina-estetica #cta-final .final-cta-copy {
  display: grid;
  gap: clamp(16px, 3vw, 24px);
  justify-items: start;
  text-align: left;
}

#landing-medicina-estetica #cta-final .final-cta h2 {
  color: #ffffff;
  font-size: clamp(2.4rem, 3.6vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.6px;
}

#landing-medicina-estetica #cta-final .final-cta p {
  color: rgba(230, 245, 247, 0.85);
  font-size: clamp(1.06rem, 1.6vw, 1.2rem);
}

#landing-medicina-estetica #cta-final .final-cta .cta-group {
  justify-content: center;
  gap: clamp(18px, 4vw, 26px);
}

#landing-medicina-estetica #cta-final .final-cta-copy .cta-group {
  justify-content: flex-start;
}

#landing-medicina-estetica .cta-group .btn {
  min-width: 210px;
}

#landing-medicina-estetica #cta-final .cta-group .btn-primary,
#landing-medicina-estetica #cta-final .final-cta-form .btn-primary {
  background: linear-gradient(135deg, #bcca2f 0%, #d9e65c 100%);
  color: #0e3140;
  border: none;
  box-shadow: 0 20px 46px rgba(188, 202, 47, 0.42), 0 10px 22px rgba(7, 41, 52, 0.32);
}

#landing-medicina-estetica #cta-final .cta-group .btn-primary:hover,
#landing-medicina-estetica #cta-final .cta-group .btn-primary:focus-visible,
#landing-medicina-estetica #cta-final .final-cta-form .btn-primary:hover,
#landing-medicina-estetica #cta-final .final-cta-form .btn-primary:focus-visible {
  background: linear-gradient(135deg, #d1e44c 0%, #e4f074 100%);
  color: #0a2430;
  box-shadow: 0 26px 52px rgba(188, 202, 47, 0.5), 0 14px 28px rgba(7, 41, 52, 0.32);
}

#landing-medicina-estetica #cta-final .cta-group .btn-outline {
  color: #f3fbfe;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(10, 50, 62, 0.45);
  box-shadow: 0 18px 38px rgba(3, 22, 28, 0.36);
}

#landing-medicina-estetica #cta-final .cta-group .btn-outline:hover,
#landing-medicina-estetica #cta-final .cta-group .btn-outline:focus-visible {
  background: rgba(12, 68, 84, 0.65);
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow: 0 22px 44px rgba(3, 22, 28, 0.42);
}

#landing-medicina-estetica #cta-final .final-cta-form {
  justify-self: stretch;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.98);
  color: var(--color-text-primary);
  box-shadow: 0 20px 42px rgba(4, 27, 35, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

#landing-medicina-estetica #cta-final .final-cta-form button {
  justify-self: stretch;
}

/* ≤980px: tablets anchas y laptops pequeños */
@media (max-width: 980px) {
  #landing-medicina-estetica #cta-final .final-cta-content {
    grid-template-columns: 1fr;
  }

  #landing-medicina-estetica #cta-final .final-cta-copy {
    justify-items: center;
    text-align: center;
  }

  #landing-medicina-estetica #cta-final .final-cta-copy .cta-group {
    justify-content: center;
  }

  #landing-medicina-estetica #cta-final .final-cta-form {
    justify-self: center;
    width: min(100%, 520px);
  }
}

#landing-medicina-estetica .modal-video .modal-content-video {
  max-width: 780px;
  width: 95%;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

#landing-medicina-estetica .modal-video .modal-close {
  right: -12px;
  top: -12px;
  background: rgba(23, 97, 119, 0.85);
  color: #ffffff;
}

#landing-medicina-estetica .video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

#landing-medicina-estetica .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
}

#admisiones .requirements {
  margin: 0;
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

#landing-medicina-estetica .contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  align-items: start;
}

#landing-medicina-estetica .contact-form {
  display: grid;
  gap: 16px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid rgba(23, 97, 119, 0.12);
  box-shadow: 0 18px 36px rgba(6, 37, 45, 0.18);
  position: relative;
  overflow: hidden;
}

#landing-medicina-estetica .contact-form button {
  justify-self: start;
}

#landing-medicina-estetica .form-status {
  font-size: 0.9rem;
  line-height: 1.4;
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin: 0;
}

#landing-medicina-estetica .form-status--success {
  background: rgba(188, 202, 47, 0.18);
  color: #3a5a0f;
  border: 1px solid rgba(188, 202, 47, 0.45);
}

#landing-medicina-estetica .form-status--error {
  background: rgba(206, 32, 39, 0.12);
  color: #861d22;
  border: 1px solid rgba(206, 32, 39, 0.3);
}

#landing-medicina-estetica .contact-form label {
  font-weight: 500;
}

#landing-medicina-estetica #cta-final .final-cta-form label {
  color: var(--color-text);
  text-align: left;
  justify-self: start;
}

#landing-medicina-estetica .contact-form input,
#landing-medicina-estetica .contact-form textarea {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(23, 97, 119, 0.2);
  font-size: 16px;
  font-family: inherit;
}

#landing-medicina-estetica .site-footer {
  padding: 48px 0;
  background: #176176;
  color: #f5f9fb;
  max-width: 100%;
}

#landing-medicina-estetica .footer-content {
  display: grid;
  grid-template-columns: minmax(200px, 0fr) minmax(360px, 1.3fr);
  grid-template-areas:
    "brand contact"
    "links contact"
    "social contact";
  gap: 20px 36px;
  align-items: start;
}

#landing-medicina-estetica .footer-contact {
  display: grid;
  gap: 16px 32px;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  text-align: left;
  color: #f5f9fb;
  font-size: 0.96rem;
  grid-area: contact;
}

#landing-medicina-estetica .footer-contact a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

#landing-medicina-estetica .footer-contact-group {
  display: grid;
  gap: 10px;
  align-content: start;
}

#landing-medicina-estetica .footer-contact-heading {
  font-weight: 600;
  letter-spacing: 0.01em;
}

#landing-medicina-estetica .footer-contact-item {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

#landing-medicina-estetica .footer-contact-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: #d6e4ea;
}

#landing-medicina-estetica .footer-contact-icon path,
#landing-medicina-estetica .footer-contact-icon circle,
#landing-medicina-estetica .footer-contact-icon rect,
#landing-medicina-estetica .footer-contact-icon polyline,
#landing-medicina-estetica .footer-contact-icon line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#landing-medicina-estetica .footer-contact a:hover,
#landing-medicina-estetica .footer-contact a:focus-visible {
  color: #d3e7ef;
}

#landing-medicina-estetica .footer-brand {
  display: grid;
  gap: 12px;
  align-content: start;
  grid-area: brand;
}

/* ≤640px: móviles medianos */
@media (max-width: 640px) {
  #landing-medicina-estetica .footer-contact {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #landing-medicina-estetica .footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
  }
}

/* ≤860px: tablets y pantallas compactas */
@media (max-width: 860px) {
  #landing-medicina-estetica .footer-content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "contact"
      "links"
      "social";
    gap: 22px;
  }

  #landing-medicina-estetica .footer-contact {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

#landing-medicina-estetica .footer-brand p {
  margin: 0;
  color: #f5f9fb;
  line-height: 1.5;
  max-width: 220px;
}

#landing-medicina-estetica .brand-logo-footer {
  width: clamp(92px, 11vw, 130px);
  height: auto;
}

#landing-medicina-estetica .site-footer a {
  color: #f5f9fb;
  transition: color 0.2s ease;
}

#landing-medicina-estetica .footer-links,
#landing-medicina-estetica .footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
}

#landing-medicina-estetica .footer-links {
  grid-area: links;
}

#landing-medicina-estetica .footer-social {
  grid-area: social;
}

#landing-medicina-estetica .footer-links a:hover,
#landing-medicina-estetica .footer-links a:focus-visible {
  color: #d3e7ef;
}

#landing-medicina-estetica .footer-social a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  transition: background 0.2s ease, color 0.2s ease;
}

#landing-medicina-estetica .footer-social a:hover,
#landing-medicina-estetica .footer-social a:focus-visible {
  background: #f5f9fb;
  color: #166277;
}

#landing-medicina-estetica .floating-cta {
  position: fixed;
  right: 24px;
  bottom: 10px;
  padding: 16px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-secondary) 0%, #d8e657 100%);
  color: var(--color-primary);
  font-weight: 600;
  border: 2px solid var(--color-primary);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(23, 97, 119, 0.25);
}

#landing-medicina-estetica .floating-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(23, 97, 119, 0.35);
  color: var(--color-primary);
}

#landing-medicina-estetica .floating-cta svg {
  flex-shrink: 0;
}

#valor .container{
  display: grid;
  gap: 0px;
  padding: 20px 13%;
}

#valor .container > .value-grid {
  justify-self: stretch;
}

#valor .container > .btn {
  justify-self: center;
  text-align: center;
}

#landing-medicina-estetica .floating-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  font-size: 13px;
  z-index: 3;
}
@media (max-width: 768px) {

  #landing-medicina-estetica .container {
    width: min(calc(100% - 2 * var(--gutter)), var(--container-width));
  }

  #landing-medicina-estetica .site-header {
    padding: 6px 0;
  }

  #landing-medicina-estetica .header-content {
    padding: 0;
    gap: 10px;
  }

  #landing-medicina-estetica .brand-logo {
    height: clamp(36px, 12vw, 44px);
  }

  #landing-medicina-estetica .testimonial-carousel {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  #landing-medicina-estetica .testimonial-card {
    width: min(100%, 360px);
  }

  #landing-medicina-estetica .header-content {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "brand cta"
      "toggle toggle";
    align-items: center;
  }

  #landing-medicina-estetica .primary-nav {
    grid-area: nav;
    justify-content: flex-start;
    gap: 16px;
    font-size: 0.85rem;
    display: none;
  }

  #landing-medicina-estetica .primary-nav a {
    white-space: nowrap;
  }

  #landing-medicina-estetica .header-cta {
    grid-area: cta;
    justify-self: end;
    padding: 9px 0px;
    width: min(100%, 220px);
  }

  #landing-medicina-estetica .header-title-mobile {
    grid-area: cta;
    justify-self: end;
    font-size: 1.1rem;
    display: none;
    color: var(--color-primary);
    margin-right: 0px;
  }

  #landing-medicina-estetica .header-cta.is-hidden + .header-title-mobile {
    display: block;
  }

  #landing-medicina-estetica .header-dropdown-toggle {
           grid-area: toggle;
        justify-self: stretch;
        display: inline-flex;
        background: transparent;
        border: 0;
        color: #176177;
        font-weight: 600;
        font-size: 0.9rem;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        cursor: pointer;
        padding: 3px 0 10px;
        width: 100%;
  }

  #landing-medicina-estetica .header-dropdown-toggle .arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid currentColor;
    transition: transform 0.2s ease;
  }

  #landing-medicina-estetica .header-dropdown-toggle.is-open .arrow {
    transform: rotate(180deg);
  }

  #landing-medicina-estetica .primary-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0 10px;
    width: 100%;
  }

  #landing-medicina-estetica .brand {
    grid-area: brand;
    flex-shrink: 0;
  }

  #landing-medicina-estetica .hero {
    padding-top: 20px;
  }

  #landing-medicina-estetica .section-header {
    flex-direction: column;
    gap: 12px;
  }

  #landing-medicina-estetica .floating-cta {
    left: 40%;
    right: auto;
    transform: translateX(-50%);
  }
  #landing-medicina-estetica .cta-group{
    justify-self: center;
    margin: 10px 0;
  }

  #landing-medicina-estetica .hero.hero-elevated {
    padding: 20px 0 70px;
  }

  #landing-medicina-estetica .hero-cta-group {
    justify-content: flex-start;
  }

  #landing-medicina-estetica .video-card figcaption {
    padding: 0 16px 16px;
  }

  #landing-medicina-estetica .curriculum-cta {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  #landing-medicina-estetica .curriculum-cta .btn {
    width: 100%;
  }

  #landing-medicina-estetica .cta-group .btn {
    width: 100%;
  }
}

@media (max-width: 600px) {
  #landing-medicina-estetica .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  #landing-medicina-estetica .hero-benefits {
    font-size: 0.9rem;
  }

  #landing-medicina-estetica .benefits .section-header {
    text-align: left;
  }

  #landing-medicina-estetica .module-item summary {
    padding: 18px;
  }

  #landing-medicina-estetica .module-item p,
  #landing-medicina-estetica .faq-item p {
    padding: 0 18px 18px;
  }

  #landing-medicina-estetica .modal-video .modal-close {
    right: 0;
    top: -44px;
  }
}

/* Modal Styles */
#landing-medicina-estetica .modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#landing-medicina-estetica .modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

#landing-medicina-estetica .modal-content {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

#landing-medicina-estetica .modal.is-open .modal-content {
  transform: scale(1);
}

#landing-medicina-estetica .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
}

#landing-medicina-estetica .modal-close:hover {
  background: rgba(23, 97, 119, 0.1);
  color: var(--color-primary);
}

#landing-medicina-estetica .modal-header {
  margin-bottom: 24px;
}

#landing-medicina-estetica .modal-header h2 {
  margin: 0 0 12px 0;
  font-size: 1.8rem;
}

#landing-medicina-estetica .modal-header p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 600px) {
  #landing-medicina-estetica .modal-content {
    padding: 32px 24px;
    width: 95%;
  }

  #landing-medicina-estetica .modal-header h2 {
    font-size: 1.5rem;
  }
}