/* ================= BASE ORIGINAL (DESKTOP) ================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; width: 100%; overflow: hidden; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
body {
  font-family: "myriad-pro", sans-serif;
  background: #262626;
  color: #d2d2d2;
}

/* ================= MASCARA DESKTOP ================= */
.app {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1d1d1d;
}

.main-mask {
  width: 1720px;
  height: 1080px;
  max-width: 100vw;
  max-height: 100vh;
  overflow: hidden;
  position: relative;
  background: #262626;
}

/* ===== SCROLL SYSTEM ===== */
.wrapper {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.wrapper::-webkit-scrollbar {
  display: none;
}

/* ===== SECCIONES ===== */
.screen {
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  display: flex;
  overflow: hidden;
}

/* ================= HOME ================= */
.container {
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
  overflow: hidden;
}

/* ================= VARIABLES GLOBALES ================= */
:root {
  --header-x: 50%;
  --header-y: 50dvh; 
}

/* ================= HEADER FIJO (LOGO + MENÚ) ================= */
.fixed-header {
  position: absolute;
  top: 40px;
  left: var(--header-x);
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: left 1s cubic-bezier(0.22, 1, 0.36, 1), top 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.logo {
  width: 160px;
  cursor: pointer;
}

.logo img {
  width: 100%;
  display: block;
}

.menu-btn {
  width: 38px;
  height: 38px;
  background: #d2d2d2;
  border: none;
  border-radius: 6px;
  color: #2a2a2a;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.2s, border-radius 0.3s, opacity 0.4s ease, visibility 0.4s ease;
}

.menu-btn:hover {
  background: #ef811d;
  color: #262626;
  transform: scale(1.05);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  margin-top: 10px;
  background: #d2d2d2;
  border: 1px solid #b0b0b0;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  min-width: 160px;
  text-align: center;
  z-index: 2100;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #2a2a2a;
  text-decoration: none;
  font-size: 13pt;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s, border-radius 0.2s;
  cursor: pointer;
}

.dropdown-menu li a:hover {
  background: #ef811d;
  color: #262626;
  border-radius: 7px; 
}

.left { width: 50%; display:flex; flex-direction:column; }
.right { width: 50%; position: relative; height: 100%; overflow: hidden; }

.title-section {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-right: 160px;
  padding-left: 160px;
  padding-bottom: 280px;
  text-align: right;
}

.title-section h1,
.title-section .brand-heading { 
  font-size: 30pt; 
  font-weight: 400; 
  margin: 0 0 10px 0; 
  line-height: 1; 
}

.title-section p { 
  font-size: 17pt; 
  line-height: 1.0; 
  margin: 0 0 10px 0; 
}

.title-section .cta-text { 
  font-size: 16pt; 
  line-height: 1.4; 
  font-style: italic; 
  color: #ef811d; 
  text-decoration: none; 
  display: inline-block; 
}

/* Interlineado del texto "también crea..." (sección originales). La regla .title-section p (arriba) sigue en 1.0 y es la que usan los textos del home */
.originales-left .title-section p { line-height: 1.4; }

.video-mask { width: 100%; height: 100%; }
.video-mask video { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* ================= BOTON VER FULLSCREEN (home) ================= */
.btn-fullscreen-reel {
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  height: 30px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 7px;
  color: #fff;
  font-family: inherit;
  font-size: 9pt;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
  cursor: pointer;
  z-index: 15;
  transition: background 0.3s, border-color 0.3s;
}
.btn-fullscreen-reel:hover { background: #ef811d; border-color: #ef811d; }
.btn-fullscreen-reel { text-decoration: none; }
.btn-fullscreen-reel i { font-size: 10pt; }

/* ================= REEL FULLSCREEN (overlay) ================= */
.reel-fullscreen-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
}
.reel-fullscreen-overlay.open { display: flex; }
.reel-fullscreen-overlay video { width: 100%; height: 100%; object-fit: contain; }

.reel-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  font-size: 16pt;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  z-index: 5010;
}
.reel-close:hover { background: #ef811d; }

.reel-controls {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(0, 0, 0, 0.45);
  padding: 10px 18px;
  border-radius: 40px;
  width: min(600px, 80vw);
  z-index: 5010;
}
.reel-btn {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 14pt;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}
.reel-btn:hover { color: #ef811d; }
.reel-progress {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}
.reel-progress-fill {
  position: absolute;
  top: 0; left: 0; height: 100%;
  width: 0%;
  background: #ef811d;
  border-radius: 2px;
  pointer-events: none;
}

/* ================= CLIENTES ================= */
.scroll-down-btn {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  transition: 0.3s;
}

.scroll-down-btn:hover { color: #ef811d; }

.clientes { display: flex; width: 100%; height: 100%; }

.cliente-half {
  width: 50%;
  position: relative;
  overflow: hidden;
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.cliente-half video { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* half-left = video estático (encoge), half-right = contenido interactivo (crece) */
.layout-shift #half-left { width: 25%; }
.layout-shift #half-right { width: 75%; }

/* ================= CARROUSEL INTERNO ================= */
.vertical-slider {
  width: 100%;
  height: 200%; 
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.content-panel { width: 100%; height: 50%; position: relative; background: #262626; }
.step-1 { transform: translateY(-50%); } 

/* ================= DISEÑO PANEL MEMBRESÍAS ================= */
.membresias-in {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 80px 60px 60px 60px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(239, 129, 29, 0.45) transparent;
}
.membresias-in::-webkit-scrollbar { width: 6px; }
.membresias-in::-webkit-scrollbar-track { background: transparent; }
.membresias-in::-webkit-scrollbar-thumb { background: rgba(239, 129, 29, 0.45); border-radius: 3px; }

.nota-moneda {
  font-size: 13pt;
  line-height: 1.3;
  font-style: italic;
  color: #ef811c;
  text-align: center;
  margin: 30px 0 0 0;
}

.planes-grid { display: flex; gap: 20px; width: 100%; margin-bottom: 60px; align-items: stretch; margin-top: 0; }

.plan-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.step-1 .plan-col {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.step-1 .plan-col:nth-child(1) { transition-delay: 0.6s; }
.step-1 .plan-col:nth-child(2) { transition-delay: 0.7s; }
.step-1 .plan-col:nth-child(3) { transition-delay: 0.8s; }
.step-1 .plan-col:nth-child(4) { transition-delay: 0.9s; }

.plan-card {
  position: relative;
  flex-grow: 1;
  display: flex; 
  flex-direction: column; 
  background: #1e1e1e;
  border: 1px solid #5c5c5c;
  border-radius: 8px;
  padding: 30px 25px 25px 25px;
  color: #cdcdcd;
  text-align: left;
}

.plan-title { margin-bottom: 12px; text-align: left; }
.title-bottom { display: block; font-size: 24pt; font-weight: 700; font-style: italic; line-height: 1; color: #ef811c; margin-top: 2px;}

/* ---- Cupos Badge ---- */
.cupo-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #5c5c5c;
  color: #ffffff;
  font-size: 9pt;
  font-weight: 700;
  font-style: normal;
  padding: 5px 16px;
  border-radius: 7px;
  border: 2px solid #1e1e16;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  z-index: 10;
}

.plan-card.featured .cupo-badge {
  background: #ef811d;
  color: #1a1a1a;
}

.plan-price { 
  position: relative;
  padding: 15px 0 10px 0; 
  font-weight: bold; 
  height: 66px; 
  display: flex; 
  align-items: center; 
  justify-content: flex-start;
}
.plan-features { padding: 10px 0 20px 0; flex-grow: 1; font-size: 13pt; line-height: 1.3; }

/* ---- Toggle mensual / trimestral ---- */
.pricing-toggle {
  display: inline-flex;
  align-self: center;
  background: #1a1a1a;
  border-radius: 7px;
  padding: 4px;
  margin-bottom: 60px;
  gap: 4px;
}
.toggle-option {
  background: none;
  border: none;
  color: #d2d2d2;
  padding: 8px 22px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 11pt;
  font-family: inherit;
  transition: all 0.3s ease;
}
.toggle-option.active { background: #ef811d; color: #1a1a1a; font-weight: bold; }
.toggle-badge { background: rgba(0,0,0,0.25); font-size: 8pt; padding: 2px 7px; border-radius: 7px; margin-left: 4px; }
.toggle-option.active .toggle-badge { background: rgba(0,0,0,0.15); }

.precio-mensual, .precio-trimestral {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: flex-start;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.precio-mensual { opacity: 1; transform: translateY(0); }
.precio-trimestral { opacity: 0; transform: translateY(6px); pointer-events: none; }
.planes-grid.trimestral .precio-mensual { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.planes-grid.trimestral .precio-trimestral { opacity: 1; transform: translateY(0); pointer-events: auto; }

.precio-trimestral-inner { display: flex; flex-direction: column; align-items: flex-start; }

.precio-total { display: block; font-size: 10pt; font-weight: 400; font-style: italic; opacity: 0.85; line-height: 1.1; margin-top: 0; }
.precio-monto { font-size: 24pt; font-weight: 400; font-stretch: condensed; letter-spacing: -0.02em; line-height: 1; }
.precio-moneda { font-size: 11pt; font-weight: 700; margin-left: 3px; }

.plan-card.featured { border-color: #ef811c; color: #ffffff; }

.plan-cta-banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  background: #1e1e1e;
  border: 1px solid #5c5c5c;
  border-radius: 8px;
  padding: 22px 35px;
  box-sizing: border-box;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.plan-cta-banner .title-bottom { font-size: 20pt; margin: 0; }
.plan-cta-banner p { font-size: 13pt; line-height: 1.3; color: #cdcdcd; margin: 8px 0 0 0; }
.plan-cta-banner .btn-agendar { width: auto; flex-shrink: 0; margin-top: 0; padding: 12px 30px; }
.step-1 .plan-cta-banner { opacity: 1; transform: translateX(0); transition-delay: 1.0s; }

.btn-agendar {
  background: #ef811d;
  color: #1a1a1a;
  border: none;
  border-radius: 7px;
  padding: 12px;
  margin-top: auto;
  font-family: inherit;
  font-size: 14pt;
  font-style: italic;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  width: 100%;
  text-align: center;
}
.btn-agendar:hover { background: #d2d2d2; }

/* ================= DISEÑO FORMULARIO / CALENDLY ================= */
.form-header { flex-shrink: 0; margin-bottom: 30px; }
.form-header p { font-size: 16pt; line-height: 1.4; text-align: center; }

.calendly-placeholder {
  border-radius: 7px !important;
  width: 100%;
  height: 100%;
  flex-grow: 1;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  display: block;
  position: relative;
  margin-bottom: 20px;
}
	
.calendly-placeholder h2 { color: #262626; font-size: 20pt; font-style: italic; font-weight: 400; }

.calendly-placeholder > iframe {
  border-radius: 7px !important;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}	

.social-icons { flex-shrink: 0; display: flex; gap: 15px; font-size: 20pt; color: #fff; margin-top: auto; }
.social-icons a { display: flex; color: inherit; text-decoration: none; }
.social-icons i { transition: color 0.3s; }
.social-icons a:hover i, .social-icons a:focus-visible i { color: #ef811d; }

.thank-you-message-form {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: 20px;
  flex: 1;
}

.thank-you-message-form p {
  color: #fff;
  font-size: 16pt;
  line-height: 1.4;
  margin: 0;
}

.thank-you-message-form h2 {
  color: #fff;
  font-size: 35pt;
  font-weight: 400;
  margin: 10px 0;
}

.thank-you-message-form .orange-text-italic {
  color: #ef811d;
  font-style: italic;
  font-size: 14pt !important;
  margin-bottom: 25px;
}

/* ================= DISEÑO TEXTO "AGENCIA IN" ================= */
.agencia-in { display: flex; flex-direction: column; justify-content: center; align-items: flex-end; padding: 80px 100px 80px 40px; text-align: right; position: relative; }
/* Ancho fijo del texto: mitad del lienzo (min(1720px,100vw)/2) menos el padding horizontal de .agencia-in (40px + 100px).
   Así el texto no se reacomoda cuando el contenedor se ensancha al abrir las membresías. */
.agencia-in .bottom-text { margin-bottom: 60px; width: calc(min(1620px, 100vw) / 2 - 140px); }
.agencia-in p { font-size: 20pt; line-height: 1.4; }
.agencia-in h1,
.agencia-in .brand-heading { font-size: 30pt; font-weight: 400; margin: 0 0 10px 0; }
.agencia-in .orange-text, .membresias-in .orange-text { color: #ef811d; font-style: italic; font-size: 16pt; line-height: 1.4; text-align: right; }
.membresias-in .orange-text { margin: 0 0 40px 0; }

.btn-cta {
  background: #ef811d;
  color: #262626;
  padding: 12px 45px;
  border-radius: 7px;
  border: none;
  font-weight: 900;
  font-style: italic;
  font-size: 12pt;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
  display: inline-block;
  font-family: inherit;
}
.btn-cta:hover { background: #d2d2d2; }

.agencia-in .btn-cta {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
}

/* ================= CONTROLES ================= */
.panel-controls { position: absolute; top: 40px; right: 40px; left: auto; display: flex; gap: 20px; z-index: 100; }
.btn-back { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; transition: color 0.3s; }
.btn-back:hover { color: #ef811d; }

/* ================= SECCIÓN ORIGINALES ================= */
.originales {
  width: 100%;
  height: 100%;
  display: flex;
  background: #262626;
  position: relative;
}

.originales-left {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative; 
}

.orange-text-italic { color: #ef811d; font-style: italic; font-size: 14pt !important; }


.back-to-top {
  position: absolute;
  bottom: 40px;
  right: 0;
  transform: translateX(50%);
  text-align: center;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  transition: 0.3s;
}

.back-to-top:hover { color: #ef811d; }

.originales-right {
  width: 50%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 60px;
}

.bg-image-originales {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-position: center;
  background-size: cover;
  z-index: 1;
}

/* ================= SECCIÓN CALENDARIO (DESKTOP) ================= */
#calendario-final {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: row;
}

.calendario-video-strip {
  width: 25%;
  height: 100%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

#calendario-final .calendario-final-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  height: 100%;
  width: 75%;
  padding: 40px 80px 20px 80px;
  overflow: hidden;
}

#contenedor-calendly-agencias,
.calendly-placeholder {
  width: 100%;
  height: 100%;
  flex: 1;
  min-height: 0; /* Permite que Flexbox calcule la altura dinámicamente */
  overflow: hidden;
}

.calendly-placeholder > iframe,
#contenedor-calendly-agencias > iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
	
	#calendario-final .social-icons {
    justify-content: center;
    padding: 25px 0; /* 25px de aire arriba (con el calendario) y abajo (con el fondo) */
    margin-top: auto;
  }

.bg-image-originales video { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* Por defecto (desktop) el video mobile esta oculto. !important porque .video-mask/.cliente-half/.bg-image-originales video tienen mas especificidad que la clase sola */
.video-mobile { display: none !important; }

/* ================= ADAPTACIONES MOBILE ================= */
@media (max-width: 900px) {
  
  html, body {
    position: fixed !important;
    overflow: hidden !important;
    width: 100% !important;
    height: 100dvh !important;
    inset: 0 !important;
  }

  .app, .main-mask { 
    width: 100% !important;
    height: 100dvh !important; 
    max-width: 100vw !important;
    max-height: 100dvh !important; 
  }

  .screen, .container, .originales {
    height: 100dvh !important;
  }

  #clientes.screen, #clientes .container {
    height: auto !important;
    min-height: 100dvh !important;
    overflow: visible !important;
  }

  #clientes.screen {
    overflow: visible !important;
  }

  .container, .originales { 
    flex-direction: column-reverse; 
    width: 100%; 
  }

  #clientes .container {
    flex-direction: column;
  }
  
  .left, .right, .originales-left, .originales-right { 
    width: 100%; 
    height: 50dvh; 
    position: relative;
    overflow: hidden;
  }

  .btn-fullscreen-reel { right: -5px; font-size: 8pt; padding: 0 11px; gap: 5px; }
  .reel-controls { bottom: 22px; width: 90vw; padding: 8px 14px; gap: 12px; }
  .reel-close { top: 16px; right: 16px; width: 36px; height: 36px; font-size: 14pt; }

  .video-desktop { display: none !important; }
  .video-mobile { 
    display: block !important; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    object-position: center;
  }

  .fixed-header {
    flex-direction: row !important;
    left: 20px !important;
    top: var(--header-y) !important;
    transform: translateY(calc(-50% - var(--scroll-offset, 0px))) !important;
    gap: 10px !important;
    transition: opacity 0.35s ease, visibility 0.35s ease !important;
  }

  .logo { 
    width: 128px !important;
  }
  
  .menu-btn { 
    width: 34.2px !important;
    height: 34.2px !important;
    font-size: 14px !important;
  }

  .dropdown-menu {
    top: 50% !important; 
    transform: translateY(-50%) !important; 
    left: 100% !important; 
    margin-top: 0 !important;
    margin-left: 15px !important; 
    min-width: 112px !important; 
    padding: 7px !important; 
    text-align: center !important; 
  }

  .dropdown-menu li a {
    padding: 8px 10px !important; 
    font-size: 9pt !important; 
  }

  .title-section { 
    padding: 70px 30px 60px 20px;
    align-items: flex-start;
    justify-content: flex-end; 
    text-align: right; 
  }
  
  .title-section h1,
  .title-section .brand-heading { font-size: 22pt; }
  .title-section p { font-size: 12pt; }
  .title-section .cta-text { font-size: 12pt; }
  
  .originales-left .title-section { padding-bottom: 60px; }
  
  .scroll-down-btn { bottom: 25px !important; }
  .back-to-top { display: none !important; }

  .clientes { 
    flex-direction: column; 
    height: auto !important;
    min-height: 100dvh !important;
    overflow: visible !important;
  }
  
  .cliente-half { 
    width: 100% !important;
    overflow: hidden !important; 
    position: relative;
  }

  #half-left {
    height: 25dvh !important;
    min-height: 25dvh !important;
    max-height: 25dvh !important;
    flex: 0 0 25dvh !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 20 !important;
    align-self: flex-start !important;
  }

  #half-right {
    height: auto !important;
  }

  .vertical-slider { height: auto !important; transform: none !important; transition: none !important; }
  .content-panel { 
    position: relative !important;
    height: auto !important;
    overflow: visible !important;
  }

  .agencia-in {
    padding: 60px 30px 10px 57px !important;
    align-items: flex-end !important;
    text-align: right !important;
  }
  .agencia-in .bottom-text { margin-bottom: 0px !important; width: auto !important; }
  
  .agencia-in p { font-size: 12pt !important; }
  .agencia-in h1, .agencia-in .brand-heading { font-size: 22pt !important; }

  .btn-cta {
    font-size: 10pt !important;
    font-weight: 600 !important;
    padding: 10px 35px !important;
    border-radius: 7px !important;
  }

  .agencia-in .btn-cta { display: none !important; }

  .panel-controls .btn-back { font-size: 19px !important; }

  .panel-controls {
    top: 15px; left: 15px; right: 15px;
    justify-content: flex-end; width: calc(100% - 30px);
  }

  .membresias-in .panel-controls { display: none !important; }
  
  .membresias-in {
    width: 100% !important;
    padding: 13px 20px 60px 20px !important; 
    overflow-y: visible !important;
    justify-content: flex-start !important;
  }
  .nota-moneda { font-size: 10pt !important; margin-top: 20px !important; }
  .membresias-in .orange-text { font-size: 12pt !important; margin: 0 0 30px 0 !important; padding-right: 10px !important; }
  
	.form-header p {
    font-size: 12pt !important; /* Mismo tamaño que el texto blanco del home */
    padding: 0 10%; /* Acompaña el ancho del 80% del calendario */
  }
	
  #calendario-final { flex-direction: column; }
  .calendario-video-strip { display: none; }
  .calendario-final-content { width: 100% !important; padding: 45px 0px 0px 0px !important; }
	
	#calendario-final .social-icons {
    justify-content: center !important;
    padding: 25px 0 !important; /* 25px de aire arriba (con el calendario) y abajo (con el fondo) */
    margin-top: auto !important;
  }

.calendly-placeholder {
  border-radius: 7px !important;
  flex: 1 1 auto !important;
  width: 80% !important;
  margin: 15px auto 0 auto !important; /* Mantiene el centrado horizontal */
  height: calc(100% - 10px) !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.calendly-placeholder > iframe {
  border-radius: 7px !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block !important;
}

  .thank-you-message-form { padding: 20px 10px !important; }
  .thank-you-message-form p { font-size: 13pt !important; }
  .thank-you-message-form h2 { font-size: 28pt !important; }
  .thank-you-message-form .orange-text-italic {
    font-size: 13pt !important;
    margin-bottom: 20px !important;
  }

  .planes-grid { 
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 60px !important; 
    align-items: center !important;
  }

  .plan-col {
    width: 80% !important;
    max-width: 80% !important;
    flex: 0 0 auto !important;
    opacity: 0 !important;
    transform: translateY(40px) !important;
    transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) !important;
  }
  .plan-col.in-view {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .plan-cta-banner {
    flex-direction: column !important;
    align-items: stretch !important;
    align-self: center !important;
    width: 80% !important;
    gap: 15px !important;
    padding: 20px 20px 40px 20px !important;
    opacity: 0 !important;
    transform: translateY(40px) !important;
    transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) !important;
  }
  .plan-cta-banner .title-bottom { font-size: 16pt !important; text-align: center !important; }
  .plan-cta-banner.in-view { opacity: 1 !important; transform: translateY(0) !important; }
  
  .plan-card { padding: 25px 20px 20px 20px !important; }
  
  .cupo-badge {
    font-size: 8pt !important;
    padding: 3px 12px !important;
  }

  .plan-title .title-bottom { font-size: 20pt !important; } 
  
  .plan-price { 
    padding: 10px 0 !important; 
    font-size: 11pt !important; 
    height: 52px !important;
  }

  .precio-total { font-size: 9pt !important; }
  .precio-monto { font-size: 16pt !important; font-weight: 400 !important; font-stretch: condensed !important; letter-spacing: -0.02em !important; }
  .precio-moneda { font-size: 9pt !important; }

  .pricing-toggle { margin-bottom: 50px !important; }
  .toggle-option { padding: 7px 16px !important; font-size: 9pt !important; }
  
  .plan-features { 
    padding: 10px 0 20px 0 !important; 
    font-size: 10pt !important; 
    margin-bottom: 0 !important; 
    min-height: auto !important; 
  }
  .plan-cta-banner p { font-size: 10pt !important; }

  .btn-agendar {
    position: relative !important;
    z-index: 999 !important; 
    pointer-events: auto !important; 
    cursor: pointer !important;
    padding: 10px 15px !important;
    font-size: 10pt !important;
    display: inline-block !important; 
  }
}

/* ================= TACTIL EN PANTALLAS ANCHAS (tablets / celulares grandes en horizontal) =================
   Ahi se usa el layout desktop y el panel de membresias tiene scroll propio. Con el dedo, el 'overscroll-behavior: contain'
   del panel impedia pasar a la seccion siguiente al llegar al fondo. Se libera solo en dispositivos con algun puntero
   tactil; con mouse la rueda se resuelve por JS y no cambia nada. */
@media (any-pointer: coarse) {
  .membresias-in { overscroll-behavior: auto; }
}

/* ================= AVISO "GIRA TU DISPOSITIVO" (celular en horizontal) =================
   Solo celulares: pantalla tactil sin hover, apaisada y de poca altura. El min-width evita que aparezca en un celular
   vertical cuando el teclado achica la ventana. El reel fullscreen (z-index 5000) queda por encima de este aviso. */
.aviso-horizontal { display: none; }
@keyframes aviso-girar { 0%, 25% { transform: rotate(90deg); } 60%, 100% { transform: rotate(0deg); } }
@media (orientation: landscape) and (max-height: 500px) and (min-width: 560px) and (pointer: coarse) and (hover: none) {
  .aviso-horizontal {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: #262626;
    color: #d2d2d2;
    text-align: center;
    touch-action: none;
  }
  .aviso-horizontal .aviso-icono { width: 48px; height: 48px; fill: none; stroke: #ef811c; stroke-width: 1.6; animation: aviso-girar 2.4s ease-in-out infinite; }
  .aviso-horizontal .aviso-titulo { margin: 0; font-size: 18pt; font-weight: 700; font-style: italic; line-height: 1.1; color: #ef811c; }
  .aviso-horizontal .aviso-texto { margin: 0; font-size: 11pt; line-height: 1.3; }
}
@media (prefers-reduced-motion: reduce) { .aviso-horizontal .aviso-icono { animation: none; } }
