/* =========================================================
   RESET GENERAL
========================================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica", "Arial", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #eae7e4;
  background: white;
  color: #3f5146;
}

/* Contenedor central */
.container {
  max-width: 1750px;
  margin: 0 auto;
  padding-left: clamp(24px, 4vw, 90px);
  padding-right: clamp(24px, 4vw, 90px);
}

.logo-inline {
  display: inline-block;
  width: 75px; /* ajusta el tamaño a gusto */
  height: 20px;
  background-image: url('../images/logo-visitia.png'); /* TU LOGO */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: 0px;
  margin-left: 0px;
}

.logo-title {
  display: inline-block;
  width: 75px; /* ajusta el tamaño a gusto */
  height: 40px;
  background-image: url('../images/logo-visitia.png'); /* TU LOGO */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: 0px;
  margin-left: -6px;
}



/* ===========================
   HERO INMOBILIARIAS — CONTENEDOR
=========================== */
.hero-inmo {
  width: 100%;
  max-width: 1400px;
  margin: 160px auto 40px;
  padding-left: clamp(20px, 4vw, 80px);
  padding-right: clamp(20px, 4vw, 80px);
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

/* ===========================
   PILLO / TÍTULO VISITIA
=========================== */
.hero-pill,
.pill-title {
  /*¨
  background: linear-gradient(135deg, #1d7a67, #2e9b84, #6fdac0);
  color: white;
  padding: 18px 54px;
  border-radius: 999px;
  */
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 
    0 20px 45px rgba(29, 122, 103, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

/* ===========================
   PASOS + VISOR — CONTENEDOR
=========================== */
.steps-section {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 80px;
  padding-left: clamp(20px, 4vw, 80px);
  padding-right: clamp(20px, 4vw, 80px);
  text-align: center;
}

.steps-section h2 {
  font-size: 36px;
  font-weight: 900;
  color: #0f2f28;
  margin-bottom: 18px;
  margin-top: 120px;
}

.steps-intro {
  font-size: 18px;
  color: #2a4a42;
  font-weight: 600;
  margin-bottom: 40px;
}

/* ===========================
   VISOR PRINCIPAL GRANDE
=========================== */
.steps-viewer {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 540px;
  margin: 0 auto 32px;
  border-radius: 34px;
  overflow: hidden;
  background: black;
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
}

.steps-viewer img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ===========================
   OVERLAY DEL VISOR
=========================== */
.steps-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.0),
    rgba(0,0,0,0.75)
  );
  display: flex;
  align-items: flex-end;
  padding: 30px 34px;
}

.steps-overlay span {
  font-size: 28px;
  font-weight: 900;
  color: white;
  text-align: left;
  line-height: 1.2;
}

.steps-overlay span::first-line {
  color: #ffffff;
}

/* ===========================
   MINIATURAS
=========================== */
.steps-thumbnails {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.steps-thumbnails img {
  width: 100%;
  height: 86px;
  object-fit: cover;
  border-radius: 14px;
  cursor: pointer;
  opacity: 0.6;
  transform: scale(0.95);
  transition: 0.3s ease;
}

.steps-thumbnails img:hover {
  opacity: 1;
}

.steps-thumbnails img.active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
  outline: 3px solid #2e7a69;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {

  .hero-inmo {
    margin-top: 120px;
    justify-content: center;
  }

  .steps-section h2 {
    font-size: 26px;
  }

  .steps-intro {
    font-size: 15px;
  }

  .steps-viewer {
    height: 320px;
  }

  .steps-overlay span {
    font-size: 17px;
  }

  .steps-thumbnails {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps-thumbnails img {
    height: 70px;
  }
}











































/* ===============================
   BENEFICIOS — GRID PREMIUM UNIFICADO
=============================== */

.benefits-section {
  width: 100%;
  max-width: 1400px;
  margin-top: 10px;
  margin: 0 auto 90px;
  padding-left: clamp(20px, 4vw, 80px);
  padding-right: clamp(20px, 4vw, 80px);
  text-align: left;
}

.benefits-section .hero-subtitle {
  font-family: Arial, Helvetica, sans-serif; 
  
  font-size: 40px;
  font-weight: 800;
  margin-top: 110px;
  text-align: center;
  
  color: #2f423c;
  
  
}

.subti {
 color: #2e7a69;
 
 font-family: Arial, Helvetica, sans-serif; 
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  padding-bottom: 50px;
}

/* GRID 3 x 2 */
.benefits-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ===============================
   TARJETA
=============================== */
.benefit-card {
  background: #ffffff;
  padding: 40px 28px 36px;
  border-radius: 26px;
  text-align: center;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.18);
}

/* ===============================
   ICONO
=============================== */
.benefit-icon {
  width: 64px;
  height: 64px;
  background: #0f2e25;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.benefit-icon img {
  width: 30px;
  height: auto;
}

/* ===============================
   TEXTO
=============================== */
.benefit-card p {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.55;
  color: #142822;
}

/* ===============================
   RESPONSIVE
=============================== */

@media (max-width: 900px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-section .hero-subtitle {
    font-size: 50px;
  }
}

@media (max-width: 520px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}






































/* ===============================
   PRICING SECTION — BASE
=============================== */

.pricing-section {
  width: 100%;
  margin: 60px auto 80px;
  padding-left: clamp(20px, 4vw, 80px);
  padding-right: clamp(20px, 4vw, 80px);
  text-align: center;
}

/* ===============================
   HEADER
=============================== */

.pricing-header {
  text-align: center;
  margin-bottom: 0px;
}

.pricing-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #1d7a67;
  margin-bottom: 10px;
}

.pricing-title {
  font-size: 32px;
  font-weight: 900;
  color: #1e2926;
  margin-bottom: 10px;
}

.pricing-subtitle {
  font-size: 15px;
  font-weight: 500;
  color: #4b5f58;
}

/* ===============================
   GRID PLANES
=============================== */

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

/* ===============================
   TARJETA BASE
=============================== */

.plan-card {
  border-radius: 18px;
  background: #ffffff;
  padding: 18px 18px 22px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  transition: 0.25s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.15);
}

/* ===============================
   COLORES POR PLAN (CARDS)
=============================== */

.plan-free .plan-header {
  background: #f8c242;
  border-radius: 14px;
  padding: 20px 12px;
}

.plan-basic .plan-header {
  background: #d9efe6;
  border-radius: 14px;
  padding: 8px 12px;
}

.plan-pro .plan-header {
  background: #c3dbf7;
  border-radius: 14px;
  padding: 8px 12px;
}

.plan-vr .plan-header {
  background: #d6c7ff;
  border-radius: 14px;
  padding: 8px 12px;
}

/* ===============================
   TEXTOS PLAN
=============================== */

.plan-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.plan-tag,
.plan-name {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 15px;
}

.plan-price {
  font-weight: 800;
  font-size: 14px;
}

.plan-sub {
  margin-top: 4px;
  font-size: 13px;
}

/* ===============================
   FEATURES
=============================== */

.plan-features {
  margin-top: 10px;
  margin-left: 18px;
}

.plan-features li {
  margin-bottom: 6px;
  line-height: 1.5;
}

/* ===============================
   HIGHLIGHT
=============================== */

.plan-highlight {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #e0f1ea;
  font-size: 13px;
  font-weight: 600;
}

/* ===============================
   NOTA
=============================== */

.plan-note {
  font-size: 12px;
  color: #555;
}

/* ===============================
   BOTONES
=============================== */

.plan-btn {
  margin-top: 8px;
  align-self: flex-start;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  background: #008d5b;
  color: #fff;
  text-decoration: none;
}

.plan-btn-yellow {
  background: #f8c242;
  color: #fff;
}







/* ===============================
   BILLING TOGGLE
================================ */

.billing-toggle {
  display: inline-flex;
  background: #f2f2f2;
  border-radius: 999px;
  padding: 10px;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  margin: 0 auto 30px;
}

.billing-option {
  padding: 14px 36px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  color: #777;
  transition: 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.billing-option .save {
  font-size: 13px;
  font-weight: 900;
  color: #0a9f6a;
}

.billing-option.active {
  background: #ffffff;
  color: #1e2926;
  box-shadow: 0 10px 26px rgba(0,0,0,0.14); /* un poco más presencia */
}















/* ===============================
   PREMIUM — FLOAT BADGE (VR)
   (Solo plan PREMIUM)
=============================== */
.plan-vr{
  position: relative;
  overflow: visible;
}

/* Badge “sticker” encajado en el borde */
.premium-float-badge{
  position: absolute;
  top: -40px;              /* 👈 sube el badge (mitad fuera / mitad dentro) */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 14px;
  border-radius: 16px;

  /* más “sticker”, menos “caja blanca” */
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(214,199,255,0.75);
  box-shadow: 0 12px 26px rgba(0,0,0,0.12);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  pointer-events: none;
  max-width: 300px;
  width: max-content;
  padding: 12px 20px;
}

/* chip VR */
.premium-float-badge__chip{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 6px 10px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.8px;

  color: #1e2926;
  background: linear-gradient(135deg, rgba(214,199,255,1), rgba(195,219,247,1));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.85);
}

/* texto */
.premium-float-badge__text{
  font-size: 12.5px;
  font-weight: 850;
  color: #1e2926;
  line-height: 1.05;
}

/* halo atrás, pero más controlado (no “cabecera”) */
.premium-float-badge__spark{
  position: absolute;
  inset: -14px -18px;
  z-index: -1;
  border-radius: 18px;
  background: radial-gradient(circle at 35% 30%,
    rgba(214,199,255,0.55),
    rgba(195,219,247,0.18),
    rgba(255,255,255,0));
  filter: blur(10px);
  opacity: 0.9;
}

.premium-float-badge__icon {
  width: 72px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
}

/* Mobile */
@media (max-width: 520px){
  .premium-float-badge{
    top: -30px;
    padding: 9px 12px;
    max-width: 94%;
  }
  .premium-float-badge__text{
    font-size: 12px;
  }
}

























/* ===============================
   TABLA COMPARATIVA — BASE
=============================== */

.comparison-table-wrap {
  width: 100%;
  margin-top: 40px;
  padding-left: clamp(10px, 2vw, 40px);
  padding-right: clamp(10px, 2vw, 40px);
  overflow-x: auto;
}


.comparison-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 13px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
}

/* ===============================
   HEADER TABLA
=============================== */

.comparison-table thead {
  background: #e9f1ee;
}

.comparison-table th.plan-free {
  background: #f8c242;
}

.comparison-table th.plan-basic {
  background: #d9efe6;
}

.comparison-table th.plan-pro {
  background: #c3dbf7;
}

.comparison-table th.plan-vr {
  background: #d6c7ff;
}

/* ===============================
   CELDAS
=============================== */

.comparison-table th,
.comparison-table td {
  padding: 12px 10px;
  text-align: center;
  border-bottom: 1px solid #e3e3e3;
  font-weight: 600;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  width: 26%;
  font-weight: 700;
}

.comparison-table th:not(:first-child),
.comparison-table td:not(:first-child) {
  width: 18.5%;
}

/* ===============================
   ICONOS ✓ y ✗
=============================== */

.comparison-table .yes {
  color: #0a9f6a;
  font-size: 18px;
  font-weight: 900;
}

.comparison-table .no {
  color: #df4646;
  font-size: 18px;
  font-weight: 900;
}

.comparison-table .extra {
  color: black;
  font-size: 15px;
  font-weight: 700;
}

/* ===============================
   FILA FINAL DESTACADA
=============================== */

.comparison-table .highlight-row {
  background: #f1f8f5;
  font-weight: 800;
}

.comparison-table .pro-highlight {
  color: #008d5b;
  font-weight: 900;
}

/* ===============================
   HOVER
=============================== */

.comparison-table tbody tr:hover {
  background: #eef6f3;
}


/* =========================================
   PRICING HEADER — PREMIUM
========================================= */

.pricing-header {
  text-align: center;
  margin-bottom: 0px;
}

.pricing-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #1d7a67;
  margin-bottom: 12px;
}

.pricing-title {
  font-size: 34px;
  font-weight: 900;
  color: #1e2926;
  letter-spacing: -0.6px;
  margin-bottom: 10px;
}

.pricing-subtitle {
  font-size: 26px;
  font-weight: 700;
  color: #4b5f58;
}


/* =========================================================
   PRICING — GLOW UP PREMIUM
========================================================= */
.pricing-header-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: left;
  gap: 0px; /* + aire entre eyebrow y título */
  padding: 28px 64px; /* + aire lateral y vertical */
  /*border-radius: 999px;
  background: linear-gradient(135deg, #1d7a67, #2e9b84, #6fdac0);
  box-shadow:
    0 24px 55px rgba(29, 122, 103, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22);
    */
  text-align: left;
  margin: 0 auto 0px;
  max-width: 1100px; /* evita que se vea “gorda” de más */
  width: fit-content;
}

/* TEXTO SUPERIOR */
.pricing-eyebrow-pill {
  font-size: 35px;
  font-weight: 900;
  letter-spacing: 0px;
  /*text-transform: uppercase;*/
  color: #2E7A69;
  opacity: 0.9;
}

/* TÍTULO PRINCIPAL */
.pricing-title-pill {
  font-size: 28px; /* + presencia */
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.4px;
  line-height: 1.18;
  /*text-shadow: 0 4px 14px rgba(0,0,0,0.35); */
  max-width: 900px; /* controla respiración del texto */
}



.pricing-section {
  margin-top: 70px;
  margin-bottom: 90px;
  text-align: center;
}

.pricing-section h2 {
  font-size: 38px;
  margin-bottom: 18px;
  color: #2E7A69;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.plans-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.plans-pill {
  padding: 14px 36px;
  background: linear-gradient(135deg, #1d7a67, #2e9c86);
  color: white;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.6px;
  box-shadow: 0 12px 30px rgba(29, 122, 103, 0.25);
}

/* GRID DE PLANES */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 34px;
  align-items: stretch;
}

/* TARJETA BASE */
.plan-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 28px 26px 30px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.plan-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.16);
}

/* PLAN DESTACADO (PRO) */
.plan-pro {
  background: #ffffff;
  /*background: linear-gradient(180deg, #1e2926, #16201d);*/
  color: #3F5146;
  /*transform: scale(1.05);*/
  /*box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);*/
}

.plan-pro .plan-name,
.plan-pro .plan-price,
.plan-pro .plan-sub,
.plan-pro li,
.plan-pro .plan-note {
  color: #1E2926;
}

/*.plan-pro .plan-highlight {
  background: rgba(255, 255, 255, 0.08);
}
*/

/* CABECERA */
.plan-header {
  margin-bottom: 14px;
}

.plan-tag {
  font-weight: 900;
  font-size: 18px;
  color: #1d7a67;
}

.plan-name {
  font-weight: 900;
  font-size: 20px;
  color: #1e2926;
}

.plan-price {
  font-weight: 800;
  font-size: 16px;
  color: #1d7a67;
}

.plan-sub {
  margin: 10px 0 4px;
  font-size: 15px;
  opacity: 0.85;
}

/* FEATURES */
.plan-features {
  margin: 16px 0 14px 18px;
  text-align: left;
}

.plan-features li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.5;
}

/* BLOQUE DESTACADO */
.plan-highlight {
  background: #d9efe6;
  padding: 12px 14px;
  border-radius: 14px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
}

/* NOTA */
.plan-note {
  font-size: 15px;
  opacity: 0.75;
  margin-top: 10px;
}

/* BOTONES */
.plan-btn {
  margin-top: 18px;
  padding: 14px 34px;
  background: linear-gradient(135deg, #1d7a67, #2e9c86);
  border-radius: 999px;
  font-weight: 800;
  color: white;
  cursor: pointer;
  border: none;
  transition: 0.25s ease;
  margin-left: 50px;
}

.plan-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
}

.plan-btn-yellow {
  background: linear-gradient(135deg, #f2b646, #ffd27a);
  color: #fff;
}

/* =========================================================
   TABLA COMPARATIVA — GLOW UP
========================================================= */

.comparison-table-wrap {
  margin-top: 50px;
  overflow-x: auto;
}

.comparison-table {
  width: 80%;
  border-collapse: collapse;
  background: white;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 12px 38px rgba(0,0,0,0.08);
  font-size: 18px;
  margin-left: 150px;
}

.comparison-table thead {
  background: #1e2926;
  color: white;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 18px;
  text-align: center;
  border-bottom: 1px solid #e6e6e6;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  font-weight: 700;
}

.comparison-table tbody tr:nth-child(even) {
  background: #f8faf9;
}

.comparison-table tbody tr:hover {
  background: #e8f3ef;
}

/* ===== HEADER DE LA TABLA ===== */
.comparison-table thead th {
  font-weight: 800;
  color: #fff;
  font-size: 18px;
}

/* FREE */
.comparison-table th.plan-free {
  background: linear-gradient(135deg, #f8c242, #ffd36a);
  color: #1b1b1b;
}

/* BÁSICO */
.comparison-table th.plan-basic {
  background: linear-gradient(135deg, #bfe5d8, #d9efe6);
  color: #0f2e25;
}

/* PRO — AZUL CORREGIDO (MÁS PROFESIONAL) */
.comparison-table th.plan-pro {
  background: linear-gradient(180deg, #1e2926, #16201d);
  background: linear-gradient(135deg, #2d6cdf, #5a8df0);
  color: #ffffff;
}

/* REALIDAD VIRTUAL */
.comparison-table th.plan-vr {
  background: linear-gradient(135deg, #c6b7ff, #e0d8ff);
  color: #2a1e4f;
}

/* ===============================
   JUEGO TIPOGRÁFICO PLANES
=============================== */

/* Nombre del plan */
.plan-name,
.plan-tag {
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.4px;
}

/* Precio */
.plan-price {
  font-weight: 800;
  font-size: 15px;
}

/* Subtítulo */
.plan-sub {
  font-weight: 600;
  opacity: 0.85;
}

/* Lista base */
.plan-features li {
  font-weight: 500;
  line-height: 1.55;
}

/* Palabras clave */
.plan-features li strong {
  font-weight: 800;
}

/* Highlight */
.plan-highlight {
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* Nota pequeña */
.plan-note {
  font-weight: 400;
  opacity: 0.7;
}

/* Botón */
.plan-btn {
  font-weight: 800;
  letter-spacing: 0.4px;
}



















/* RESPONSIVE */
@media (max-width: 900px) {
  .page-wrap {
    margin-top: 120px;
    padding: 0 16px 50px;
  }

  .hero-inmo {
    flex-direction: column;
    gap: 8px;
  }

  .benefits-section,
  .steps-layout,
  .plan-detail-layout,
  .custom-project-section {
    grid-template-columns: 1fr;
  }

  .video-panel {
    min-height: 220px;
  }

  .comparison-table-wrap {
    margin-top: 20px;
  }
}






















































/* =========================================================
   PLAN DETAIL SECTION — PREMIUM FINAL LIMPIO
========================================================= */

.plan-detail-section {
  margin: 90px 0;
  padding: 40px 0;
}

/* =========================================================
   NUEVO SISTEMA DE TÍTULO EDITORIAL (REEMPLAZA PÍLDORA)
========================================================= */

.plan-editorial-header {
  text-align: center;
  margin-bottom: 50px;
}

.plan-editorial-header h2 {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1d7a67;
  margin-bottom: 6px;
}

.plan-editorial-header p {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: black;
}

/* =========================================================
   HEADER ORIGINAL (SE CONSERVA POR COMPATIBILIDAD)
========================================================= */

.plan-detail-header {
  margin-bottom: 34px;
  display: flex;
  justify-content: center;
}

.pill-title {
  /*background: linear-gradient(135deg, #1d7a67, #2e9b84, #6fdac0);
  color: white;
  padding: 18px 54px;
  border-radius: 999px;
  */
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow:
    0 20px 45px rgba(29,122,103,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}

.pill-title::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.25),
    transparent
  );
  transform: translateX(-100%);
  animation: titleShine 5s infinite;
}

@keyframes titleShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(120%); }
}

/* =========================================================
   LAYOUT PRINCIPAL
========================================================= */

.plan-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 70px;
  align-items: center;
  margin-bottom: 50px;
}

/* =========================================================
   TEXTO PRINCIPAL
========================================================= */

.plan-detail-text {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.96),
    rgba(246,250,248,0.96)
  );
  padding: 40px 40px;
  border-radius: 28px;
  box-shadow: 0 26px 60px rgba(0,0,0,0.10);
  border: 1px solid rgba(0,0,0,0.05);
  text-align: left;
}

.plan-detail-text p {
  margin-bottom: 16px;
  font-size: 16px;
  color: #2f423c;
  line-height: 1.75;
}

.plan-detail-text ul {
  margin-top: 12px;
  margin-left: 18px;
  font-size: 15px;
  color: #2f423c;
  list-style: none;
  text-align: left !important;
}

.plan-detail-text li {
  margin-bottom: 10px;
  line-height: 1.65;
  position: relative;
  padding-left: 22px; /* espacio para el icono */
  text-align: left !important;
}

.plan-detail-text li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #2ba383, #71d6bb);
  border-radius: 4px;
  position: absolute;
  left: 0;
  top: 7px;
}


/* =========================================================
   VIDEO
========================================================= */

.plan-detail-video .video-panel {
  background: radial-gradient(circle at top, #203c35, #0f1f1b);
  border-radius: 34px;
  padding: 0;
  min-height: 320px;
  box-shadow:
    0 30px 70px rgba(0,0,0,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}

/* VIDEO FULL COVER */
.plan-detail-video .video-panel iframe {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 100%;
  height: 100%;

  min-width: 100%;
  min-height: 100%;

  transform: translate(-50%, -50%) scale(1.14);
  border: none;
  border-radius: 34px;
}

/* =========================================================
   TIMELINE
========================================================= */

.steps-row-heading {
  margin-top: 60px;
  margin-bottom: 22px;
  font-size: 15px;
  font-weight: 900;
  color: #1d7a67;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.visitia-timeline-horizontal {
  position: relative;
  margin-top: 70px;
  margin-bottom: 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 20px;
}

.visitia-timeline-track {
  position: absolute;
  top: 26px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1d7a67, #6fdac0);
  opacity: 0.75;
  border-radius: 8px;
}

.visitia-timeline-item {
  position: relative;
  text-align: center;
  width: 33.33%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.visitia-timeline-dot {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d7a67, #2e9b84);
  color: rgb(193, 20, 20);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 12px rgba(111,218,192,0.35),
    0 8px 25px rgba(0,0,0,0.35);
  z-index: 2;
  font-size: 17px;
  cursor: pointer;
  transition: 0.3s ease;
}

.visitia-timeline-dot:hover {
  transform: scale(1.15);
  box-shadow: 0 0 0 16px rgba(29,122,103,0.25);
}

.visitia-timeline-title {
  margin-top: 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: white;
  max-width: 180px;
  line-height: 1.3;
}

/* =========================================
   ANIMACIÓN PULSE TIMELINE DOTS
========================================= */

@keyframes visitiaPulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(111,218,192, 0.6),
      0 8px 25px rgba(0,0,0,0.35);
    transform: scale(1);
  }

  50% {
    box-shadow:
      0 0 0 18px rgba(111,218,192, 0),
      0 12px 30px rgba(0,0,0,0.45);
    transform: scale(1.08);
  }

  100% {
    box-shadow:
      0 0 0 0 rgba(111,218,192, 0),
      0 8px 25px rgba(0,0,0,0.35);
    transform: scale(1);
  }
}

/* Activamos el pulso */
.visitia-timeline-dot {
  animation: visitiaPulse 2.8s ease-in-out infinite;
}

/* Al hacer hover se pausa el pulso y entra el efecto interactivo */
.visitia-timeline-dot:hover {
  animation-play-state: paused;
  transform: scale(1.2);
  box-shadow:
    0 0 0 20px rgba(29,122,103,0.25),
    0 12px 35px rgba(0,0,0,0.45);
}


















/* ================= HOVER CARD ================= */

/* TARJETA HOVER */
.visitia-timeline-hover-card {
  position: absolute;
  top: -140px;
  width: 280px;
  background: linear-gradient(180deg, #ffffff, #f6faf8);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 20px 55px rgba(0,0,0,0.18);
  border: 1px solid rgba(0,0,0,0.06);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: 0.35s ease;
  z-index: 5;
}

.visitia-timeline-hover-card {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: auto;
  transition: 0.35s ease;
}

.visitia-timeline-item:hover .visitia-timeline-hover-card,
.visitia-timeline-hover-card:hover {
  opacity: 1;
  transform: translateY(0);
}


.visitia-timeline-hover-card p {
  font-size: 14px;
  color: #4b5f58;
  line-height: 1.5;
  margin-bottom: 10px;
}

.visitia-timeline-hover-card a {
  color: #1d7a67;
  font-weight: 800;
  font-size: 13px;
  text-decoration: underline;
}

/* ACTIVACION HOVER */
.visitia-timeline-item:hover .visitia-timeline-hover-card {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}








/* ================= TIMELINE INFO (SIEMPRE VISIBLE) ================= */

.visitia-timeline-hover-card{
  position: static;          /* antes: absolute */
  top: auto;                 /* por si quedaba heredado */
  width: min(320px, 92%);    /* responsivo, no se desborda */
  margin-top: 14px;          /* separación debajo del título */
  opacity: 1;                /* siempre visible */
  transform: none;
  pointer-events: auto;

  background: rgba(255,255,255,0.08);  /* funciona bien en fondos oscuros */
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.28);
  backdrop-filter: blur(8px);
}

/* texto dentro */
.visitia-timeline-hover-card p{
  font-size: 13.5px;
  color: #2f423c;
  line-height: 1.55;
  margin: 0 0 10px 0;
}

/* link */
.visitia-timeline-hover-card a{
  color: #5f9f8e;
  font-weight: 900;
  font-size: 13px;
  text-decoration: underline;
}

/* elimina la lógica hover previa (por si queda) */
.visitia-timeline-item:hover .visitia-timeline-hover-card,
.visitia-timeline-hover-card:hover{
  opacity: 1;
  transform: none;
}















/* =========================================================
   CTA FINAL
========================================================= */

.plan-detail-cta {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.plan-detail-cta .plan-btn {
  padding: 18px 54px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.8px;
  /*background: linear-gradient(135deg, #f2b646, #ffd27a);*/
  color: #fff;
  box-shadow: 0 18px 40px rgba(29,122,103,0.45);
}

.plan-detail-cta .plan-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(29,122,103,0.60);
}

/* =========================================================
   FONDOS FULL WIDTH
========================================================= */

.bg-plan-basic,
.bg-plan-vr {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding: 110px 0;
}

.bg-plan-basic {
  background: linear-gradient(180deg, #1e2926, #163b32);
}

/* Centrado del contenido interno del PLAN PRO */
.bg-plan-pro {
  width: 100%;        /* Corrige el desborde de 100vw */
  max-width: 1200px;  /* Igual que los demás planes */
  margin-left: auto;
  margin-right: auto;
  display: block;
  padding: 110px 0;   /* Igual que los otros fondos */
  position: relative;
}


.bg-plan-vr {
  background: radial-gradient(circle at top, #1b1b1b, #050505);
  background: linear-gradient(135deg, #fff3e2, #ffe1b0);
}

.bg-plan-basic > *,
.bg-plan-vr > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {
  .plan-detail-layout {
    grid-template-columns: 1fr;
  }

  .visitia-timeline-horizontal {
    flex-direction: column;
    align-items: flex-start;
  }

  .visitia-timeline-track {
    display: none;
  }

  .visitia-timeline-item {
    flex-direction: row;
    align-items: center;
    width: 100%;
    margin-bottom: 40px;
  }

  .visitia-timeline-title {
    margin-left: 16px;
    margin-top: 0;
    text-align: left;
  }

  .visitia-timeline-hover-card {
    position: relative;
    top: 14px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    margin-left: 68px;
  }
}

/* =========================================================
   AJUSTES FINOS DE CONTRASTE POR PLAN
   (NO rompe lo anterior)
========================================================= */

/* ========== PLAN BÁSICO (FONDO VERDE OSCURO) ========== */

.bg-plan-basic .steps-row-heading {
  color: #7ff2d6;
  text-shadow: 0 0 8px rgba(127,242,214,0.25);
}

.bg-plan-basic .visitia-timeline-title {
  color: #e9fffa;
}

.bg-plan-basic .visitia-timeline-track {
  background: linear-gradient(90deg, #58e1c1, #9cf5e0);
}

/* ========== PLAN PRO (FONDO CLARO) ========== */

.plan-detail-section:not(.bg-plan-basic):not(.bg-plan-vr) .steps-row-heading {
  color: #1d7a67;
  text-shadow: none;
}

.plan-detail-section:not(.bg-plan-basic):not(.bg-plan-vr) 
.visitia-timeline-title {
  color: #203732;
}

.plan-detail-section:not(.bg-plan-basic):not(.bg-plan-vr) 
.visitia-timeline-track {
  background: linear-gradient(90deg, #1d7a67, #6fdac0);
}

/* ========== PLAN REALIDAD VIRTUAL (FONDO NEGRO) ========== */

.bg-plan-vr .steps-row-heading {
  color: black;
  text-shadow: 0 0 10px rgba(111,218,192,0.35);
}

.bg-plan-vr .visitia-timeline-title {
  color: black;
}

.bg-plan-vr .visitia-timeline-track {
  background: linear-gradient(90deg, #6fdac0, #3bbfa1);
}

/* ===============================
   PLAN PRO — TÍTULO UNIFICADO CON LOS DEMÁS
=============================== */

.plan-pro-titulo {
  text-align: center;
  margin-bottom: 50px;
}

/* TÍTULO PRINCIPAL (misma escala que Plan Básico y VR) */
.plan-pro-titulo h2 {
  font-size: 36px;        /* iguala jerarquía visual */
  font-weight: 900;
  color: #1e2926;        /* neutro premium para fondo claro */
  letter-spacing: 2px;
  margin: 0;
  line-height: 1.1;
  text-transform: uppercase;
}

/* SUBTÍTULO (misma escala que los otros) */
.plan-pro-titulo p {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1d7a67;        /* verde Visitia limpio */
  text-shadow: none;    /* sin glow en fondo claro */
}









/* === FONDO COMPLETO DE LA SECCIÓN (MINT SUAVE PREMIUM) === */
.bg-plan-basic {
    background: linear-gradient(135deg, #e9fffa, #dbf7ef);
    padding: 90px 0;
    border-radius: 0 0 60px 60px; /* Curva premium opcional */
}

/* TÍTULO EDITORIAL */
.bg-plan-basic .plan-editorial-header h2 {
    color: #0f6a57;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.bg-plan-basic .plan-editorial-header p {
    color: #1b8d75;
    font-size: 20px;
    font-weight: 600;
}

/* PÁRRAFOS */
.bg-plan-basic .plan-detail-text p {
    color: #145c4c;
}

/* PANEL DE VIDEO */
.bg-plan-basic .video-panel {
    background: #ffffff;
    padding: 16px;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.1);
}

/* TIMELINE: COLORES SOBRE FONDO MINT */
.bg-plan-basic .steps-row-heading {
    color: #0f6a57;
    text-shadow: none;
}

.bg-plan-basic .visitia-timeline-title {
    color: #145c4c;
}

.bg-plan-basic .visitia-timeline-track {
    background: linear-gradient(90deg, #2fb59a, #8ef1d8);
}

/* DOT DEL TIMELINE */
.bg-plan-basic .visitia-timeline-dot {
    background: #ffffff;
    color: #0f6a57;
    border: 2px solid #0f6a57;
}

/* HOVER CARDS */
.bg-plan-basic .visitia-timeline-hover-card {
    background: #ffffff;
    border: 1px solid #c7eee4;
}

/* CTA */
.bg-plan-basic .plan-detail-cta .plan-btn-yellow {
    background: #f7c564;
    color: white;
    box-shadow: 0 12px 30px rgba(247,197,100,0.35);
}

.bg-plan-basic .plan-detail-cta .plan-btn-yellow:hover {
    background: #e4b251;
    transform: translateY(-4px);
}






/* =========================================================
   CARD PREMIUM — CONTENEDOR GENERAL
========================================================= */
.plan-detail-section {
    width: 100%;
    max-width: 1450px;
    padding: 60px 50px;
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(14px);
    box-shadow:
        0 45px 95px rgba(0,0,0,0.25),
        inset 0 0 0 1px rgba(255,255,255,0.45);
    position: relative;
    overflow: hidden;
}
.plan-detail-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top left,
        rgba(220,221,207,0.85),
        transparent 70%
    );
    pointer-events: none;
    opacity: 0.65;
}
.plan-detail-section > * {
    position: relative;
    z-index: 2;
}

/* =========================================================
   HEADER EDITORIAL (TÍTULO + SUBTÍTULO)
========================================================= */
.plan-editorial-header {
    text-align: center;
    margin-bottom: 45px;
}
.plan-editorial-header h2 {
    font-size: 34px;
    font-weight: 900;
    color: #1d7a67;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}
.plan-editorial-header p {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================================
   LAYOUT PRINCIPAL (TEXTO + VIDEO)
========================================================= */
.plan-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
    margin-bottom: 50px;
}

/* =========================================================
   TEXTO — CARD INTERIOR
========================================================= */
.plan-detail-text {
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.95),
        rgba(247,249,247,0.95)
    );
    padding: 40px 36px;
    border-radius: 26px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.10);
    border: 1px solid rgba(0,0,0,0.06);
}
.plan-detail-text p {
    margin-bottom: 16px;
    font-size: 16px;
    color: #2f423c;
    line-height: 1.75;
}
.plan-detail-text ul {
    margin-top: 12px;
    margin-left: 18px;
    font-size: 15px;
    color: #2f423c;
    list-style: none;
}
.plan-detail-text li {
    margin-bottom: 10px;
    line-height: 1.65;
    position: relative;
    padding-left: 22px;
}
.plan-detail-text li::before {
    content: "";
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #2ba383, #71d6bb);
    border-radius: 4px;
    position: absolute;
    left: 0;
    top: 7px;
}

/* =========================================================
   VIDEO FRAME (uniforme + editable)
   - Tú controlas tamaño del cuadro (width/height o aspect-ratio)
   - El video NUNCA se deforma (cover)
   - Ajustas recorte con --scale
========================================================= */

/* Contenedor principal del video */
.video-frame {
  /* tamaño base (puedes cambiarlo) */
  width: 100%;
  max-width: 560px;         /* controla qué tan ancho se ve */
  margin-left: auto;
  margin-right: auto;

  /* forma del cuadro: elige UNA opción */
  aspect-ratio: 16 / 9;     /* recomendado para YouTube */
  /* height: 340px; */      /* si prefieres altura fija */

  border-radius: 26px;
  overflow: hidden;

  background: radial-gradient(circle at top, #203c35, #0f1f1b);
  box-shadow:
    0 24px 60px rgba(0,0,0,0.35),
    inset 0 0 0 1px rgba(255,255,255,0.08);

  /* control fino del “zoom” sin deformar */
  --scale: 1.08;
}

/* Capa interna que asegura el recorte correcto */
.video-embed {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Iframe en modo "cover" sin chatear (sin deformar) */
.video-embed iframe {
  position: absolute;
  top: 50%;
  left: 50%;

  /* cover real (como object-fit, pero para iframe) */
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%) scale(var(--scale));

  border: 0;
}

/* Responsive: en móvil reduce un poco la presencia */
@media (max-width: 900px) {
  .video-frame {
    max-width: 100%;
    /* si quieres: aspect-ratio: 16 / 10; */
  }
}

/* BÁSICO */
.video-frame--basic {
  max-width: 560px;
  aspect-ratio: 16 / 9;
  --scale: 1.01;
}

/* PRO */
.video-frame--pro {
  max-width: 620px;   /* un poco más ancho */
  aspect-ratio: 16 / 9;
  --scale: 1.01;      /* un pelín más zoom */
}

/* PREMIUM ONLINE */
.video-frame--premium-online {
  max-width: 620px;
  aspect-ratio: 16 / 9;
  --scale: 1.01;
}

/* VR (si lo ocupas distinto) */
.video-frame--vr {
  max-width: 600px;
  aspect-ratio: 16 / 9;
  --scale: 1.01;
}

/* =========================================================
   TIMELINE
========================================================= */
.steps-row-heading {
    text-align: center;
    font-weight: 900;
    margin-bottom: 18px;
    color: #1d7a67;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.visitia-timeline-horizontal {
    /*margin: 60px 0;*/
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 20px;
}
.visitia-timeline-track {
    position: absolute;
    top: 26px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1d7a67, #6fdac0);
    opacity: 0.75;
    border-radius: 8px;
}
.visitia-timeline-item {
    position: relative;
    width: 33.33%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.visitia-timeline-title {
    margin-top: 16px;
    font-size: 14.5px;
    font-weight: 600;
    color: white;
    max-width: 180px;
    line-height: 1.3;
}
/* DOT */
.visitia-timeline-dot {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1d7a67, #2e9b84);
    color: white;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    box-shadow:
        0 0 0 12px rgba(111,218,192,0.35),
        0 8px 25px rgba(0,0,0,0.35);
    cursor: pointer;
    transition: 0.3s ease;
    animation: visitiaPulse 2.8s ease-in-out infinite;
}

/*
.visitia-timeline-dot:hover {
    animation-play-state: paused;
    transform: scale(1.2);
    box-shadow:
        0 0 0 20px rgba(29,122,103,0.25),
        0 12px 35px rgba(0,0,0,0.45);
}
*/

/* Hover card */
/*
.visitia-timeline-hover-card {
    position: absolute;
    top: -140px;
    width: 280px;
    background: linear-gradient(180deg, #ffffff, #f6faf8);
    border-radius: 20px;
    padding: 18px 20px;
    box-shadow: 0 20px 55px rgba(0,0,0,0.18);
    border: 1px solid rgba(0,0,0,0.06);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: 0.35s ease;
    z-index: 5;
}
.visitia-timeline-item:hover .visitia-timeline-hover-card {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
*/

/* Pulse animation */
@keyframes visitiaPulse {
    0% {
        box-shadow:
            0 0 0 0 rgba(111,218,192,0.6),
            0 8px 25px rgba(0,0,0,0.35);
        transform: scale(1);
    }
    50% {
        box-shadow:
            0 0 0 18px rgba(111,218,192,0),
            0 12px 30px rgba(0,0,0,0.45);
        transform: scale(1.08);
    }
    100% {
        box-shadow:
            0 0 0 0 rgba(111,218,192,0),
            0 8px 25px rgba(0,0,0,0.35);
        transform: scale(1);
    }
}

/* =========================================================
   CTA FINAL
========================================================= */
.plan-detail-cta {
    text-align: center;
    margin-top: 40px;
}
.plan-btn {
    background: linear-gradient(135deg, #1d7a67, #3fc7ad);
    padding: 16px 48px;
    border-radius: 999px;
    color: white;
    font-size: 16px;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(29,122,103,0.45);
    transition: .25s ease;
}
.plan-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(29,122,103,0.55);
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 900px) {

    .plan-detail-section {
        padding: 40px 28px;
    }

    .plan-detail-layout {
        grid-template-columns: 1fr;
    }

    .video-panel iframe {
        height: 260px;
    }

    .visitia-timeline-horizontal {
        flex-direction: column;
        align-items: flex-start;
    }

    .visitia-timeline-track {
        display: none;
    }

    .visitia-timeline-item {
        flex-direction: row;
        width: 100%;
        margin-bottom: 40px;
    }

    .visitia-timeline-title {
        margin-left: 16px;
        margin-top: 0;
        text-align: left;
    }

    .visitia-timeline-hover-card {
        position: relative;
        top: 14px;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        margin-left: 68px;
    }
}













.bg-plan-basic {
    position: relative;
}
.bg-plan-basic::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top left,
        rgba(143,227,214,0.38),
        transparent 70%
    );
    pointer-events: none;
    opacity: 0.75;
}
.bg-plan-basic > * {
    position: relative;
    z-index: 2;
}

.bg-plan-pro {
    position: relative;
}

.bg-plan-pro::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top left,
        rgba(77,135,255,0.35), /* azul suave basado en #4D87FF */
        transparent 70%
    );
    pointer-events: none;
    opacity: 0.75;
}

.bg-plan-pro > * {
    position: relative;
    z-index: 2;
}

.bg-plan-vr {
    position: relative;
}

.bg-plan-vr::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top left,
        rgba(227,215,255,0.80), /* violeta suave basado en #E3D7FF */
        transparent 70%
    );
    pointer-events: none;
    opacity: 0.7;
}

.bg-plan-vr > * {
    position: relative;
    z-index: 2;
}







































/* ===============================
   TUTORIALES — CARRUSELES PRO
=============================== */
.tutorials-header {
  margin-bottom: 40px;
  text-align: center;
}

.tutorials-section {
  margin: 40px 0;
  padding: 0px 0;
}

.tutorials-note {
  max-width: 780px;
  margin: 30px auto 90px auto;
  font-size: 15px;
  color: #4f6660;
  line-height: 1.75;
  text-align: center;
}

/* ========= BLOQUE ========= */
.tutorial-block {
  margin-bottom: 140px;
  position: relative;
}

.tutorial-block h3 {
  font-size: 38px;
  font-weight: 900;
  margin-bottom: 0px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0f2f28;
  position: relative;
}

.tutorial-block h3::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #1d7a67, #6fdac0);
  margin-top: 14px;
  border-radius: 99px;
}

/* ========= CARRUSEL FULL WIDTH ========= */
.tutorial-carousel {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding: 40px 80px 60px 80px;
  scroll-behavior: smooth;
  cursor: grab;

  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);

  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tutorial-carousel::-webkit-scrollbar {
  display: none;
}

.tutorial-carousel:active {
  cursor: grabbing;
}

/* ========= SLIDE ========= */
.tutorial-slide {
  flex: 0 0 420px;
  height: 260px;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  background: #000;
  box-shadow:
    0 22px 50px rgba(0,0,0,0.32),
    inset 0 0 0 1px rgba(255,255,255,0.05);

  /* Cambios por ser button */
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: 0.4s cubic-bezier(.2,.8,.2,1);
}

.tutorial-slide:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow:
    0 34px 70px rgba(0,0,0,0.42);
}

.tutorial-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========= OVERLAY ========= */
.tutorial-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.08),
    rgba(0,0,0,0.88)
  );
  z-index: 1;
  pointer-events: none;
}

/* ========= BADGE DEL TÍTULO ========= */
.tutorial-slide span {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  z-index: 2;

  background: linear-gradient(135deg, #1d7a67, #2e9b84);
  padding: 10px 14px;
  border-radius: 14px;

  font-size: 14.5px;
  font-weight: 900;
  letter-spacing: 0.6px;
  color: white;
  line-height: 1.35;

  box-shadow:
    0 8px 20px rgba(0,0,0,0.35),
    inset 0 0 0 1px rgba(255,255,255,0.18);
}

/* ===============================
   MODAL PDF (EMBED)
=============================== */
.pdf-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.pdf-modal.is-open {
  display: block;
}

.pdf-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
}

.pdf-modal__dialog {
  position: relative;
  width: min(1100px, calc(100% - 28px));
  height: min(82vh, 760px);
  margin: 6vh auto 0 auto;

  border-radius: 18px;
  overflow: visible;
  background: #0b0b0f;
  box-shadow: 0 30px 90px rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.08);
}

.pdf-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.pdf-modal__title {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

.pdf-modal__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pdf-modal__open {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
}

.pdf-modal__open:hover {
  border-color: rgba(255,255,255,0.25);
}

.pdf-modal__close {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.92);
  cursor: pointer;
}

.pdf-modal__close:hover {
  border-color: rgba(255,255,255,0.25);
}

.pdf-modal__body{
  height: calc(100% - 57px);
  background: transparent;

  padding: 10px;              /* margen general */
  padding-bottom: 18px;       /* evita corte de última hoja */
  box-sizing: border-box;
}


.pdf-embed{
  width: 100%;
  height: 100%;
  border: 0;
  background: #0b0b0f;

  border-radius: 12px;
  overflow: hidden;
}


.pdf-fallback{
  display:none;
  padding: 14px 16px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.pdf-fallback a{
  color: rgba(255,255,255,0.9);
}

/* Mobile tweaks */
@media (max-width: 720px){
  .tutorial-carousel{ padding: 32px 18px 48px 18px; }
  .tutorial-slide{ flex-basis: 82vw; height: 240px; }
  .tutorial-block h3{ font-size: 30px; }
  .pdf-modal__dialog{ height: 86vh; margin-top: 4vh; }
}






















/* ========= RESPONSIVE ========= */

@media (max-width: 900px) {
  .tutorial-carousel {
    padding: 30px 20px 50px 20px;
  }

  .tutorial-slide {
    flex: 0 0 260px;
    height: 170px;
  }

  .tutorial-block h3 {
    font-size: 28px;
  }
}

/* ===============================
   UNIFICADOR VISUAL DE LA SECCIÓN
=============================== */
/* CENTRADO REAL DE LOS BLOQUES */
.tutorial-block {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* TÍTULOS MÁS EDITORIALES */
.tutorial-block h3 {
  text-align: center;
  font-size: 36px;
  letter-spacing: 2px;
}

.tutorial-block h3::after {
  margin-left: auto;
  margin-right: auto;
}

/* CARRUSELES VISUALMENTE CENTRADOS */
.tutorial-carousel {
  justify-content: center;
  padding-left: 120px;
  padding-right: 120px;
}

/* RESPIRACIÓN MÁS UNIFICADA ENTRE FILAS */
.tutorial-block:not(:last-child) {
  padding-bottom: 90px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* TÍTULOS DE CADA TARJETA MÁS VISITIA */
.tutorial-slide span {
  background: linear-gradient(
    135deg,
    rgba(20, 150, 125, 0.95),
    rgba(40, 190, 160, 0.95)
  );

  border-left: 4px solid rgba(255,255,255,0.8);
  padding-left: 18px;
}

/* REDUCCIÓN DE SOMBRA SUCIA */
.tutorial-slide {
  box-shadow:
    0 14px 36px rgba(0,0,0,0.22);
}

.tutorial-slide:hover {
  box-shadow:
    0 28px 64px rgba(0,0,0,0.35);
}




/* =====================================
   TÍTULO TIPO HERO DENTRO DE CADA SLIDE
===================================== */

.tutorial-slide span {
  position: absolute;
  bottom: 0;
  left: -4px;
  right: 0;

  padding: 22px 26px 26px 26px;

  background: linear-gradient(
    60deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.65) 55%,
    rgba(0,0,0,0.92) 100%
  );

  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.6px;
  color: #ffffff;
  line-height: 1.15;

  text-shadow: 
    0 6px 20px rgba(0,0,0,0.85),
    0 2px 6px rgba(0,0,0,0.6);

  border-radius: 0 0 30px 30px;
  z-index: 2;
}

/* Número destacado en color Visitia */
.tutorial-slide span::first-line {
  /*color: #2fdac2;*/
  font-weight: 900;
}

/* Hover más cinematográfico */
.tutorial-slide:hover span {
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.75) 45%,
    rgba(0,0,0,0.98) 100%
  );
}

















/* =========================================================
   PROYECTO A MEDIDA / FAQ — CLON PREMIUM DEL INDEX
========================================================= */

.custom-project-section {
  margin: 140px auto;
  max-width: 1100px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

/* ===== BLOQUE PROYECTO A MEDIDA (NEGRO PREMIUM) ===== */

.custom-block.featured {
  background: #1a4d42;
  align-items: left;
  border-radius: 32px;
  padding: 90px 60px;
  box-shadow: 0px 10px 24px rgba(0, 0, 0, 0.6);
}

/* Contenedor interno tipo index */
.custom-block.featured .custom-card {
  background: none;
  box-shadow: none;
  padding: 0;
  max-width: 820px;
  text-align: left;
}

/* ===== TÍTULO tipo barra verde ===== */

.custom-block.featured .pill-title {
  background: none;
  color: #ffffff;
  font-size: 2.1rem;
  font-weight: 700;
  text-align: left;
  padding: 0;
  margin-bottom: 36px;
  position: relative;
  display: inline-block;
  letter-spacing: 0.5px;
}

/* Quitar estilo tipo cápsula del título "Proyecto a medida" */
.custom-block.featured .pill-title {
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;

  color: #ffffff;
  text-align: left;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 28px;
  display: inline-block;
}

/* Eliminar cualquier pseudo-elemento decorativo si existiera */
.custom-block.featured .pill-title::before,
.custom-block.featured .pill-title::after {
  display: none !important;
}


/* ===== TEXTO BLANCO SUAVE ===== */

.custom-block.featured p {
  font-size: 20px;
  text-align: left;
  line-height: 1.75;
  color: #e9f3ef;
  margin-bottom: 40px;
  max-width: 820px;
}

/* ===== BOTÓN BLANCO INVERTIDO ===== */

.custom-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 44px;
  border-radius: 999px;

  background: #ffffff;
  color: #0f0f0f;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;

  box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
}

.custom-cta:hover {
  background: #eaeaea;
  transform: translateY(-3px);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.45);
}

/* =========================================================
   BLOQUE FAQ — LIMPIO, CLEAR, DE SOPORTE
========================================================= */

.custom-block:not(.featured) {
  text-align: center;
}

.custom-block:not(.featured) .pill-title {
 /* background: linear-gradient(135deg, #1d7a67, #6fdac0);
  color: white;
  padding: 8px 22px;
  font-size: 12px;
  border-radius: 999px;
  */
  font-weight: 900;
  letter-spacing: 1px;
  box-shadow:
    0 10px 28px rgba(29,122,103,0.45);
}

.custom-card.simple {
  background: linear-gradient(180deg, #ffffff, #f6fbf9);
  border-radius: 22px;
  padding: 34px 36px;
  margin-top: 22px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;

  box-shadow:
    0 18px 50px rgba(0,0,0,0.10),
    inset 0 0 0 1px rgba(0,0,0,0.04);
}

/* ===== FAQ LINK ===== */

.faq-link {
  font-size: 16px;
  color: #2f9f8a;
  font-weight: 800;
  text-decoration: none;
  transition: 0.3s ease;
  border-bottom: 2px solid rgba(47,159,138,0.4);
  padding-bottom: 2px;
}

.faq-link:hover {
  color: #186b5a;
  border-bottom-color: #186b5a;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {
  .custom-project-section {
    margin: 100px auto;
    gap: 80px;
  }

  .custom-block.featured {
    padding: 60px 26px;
  }

  .custom-block.featured .pill-title {
    font-size: 1.6rem;
  }

  .custom-block.featured p {
    font-size: 15.5px;
  }
}





/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 900px) {
  .page-wrap {
    margin-top: 120px;
  }

  .benefits-section,
  .steps-layout,
  .plan-detail-layout,
  .custom-project-section {
    grid-template-columns: 1fr;
  }

  .video-panel {
    min-height: 220px;
  }
}



















































/* =========================================================
   PRICING CARDS — ALIGN FIX (pegar al FINAL del CSS)
========================================================= */

/* 1) La card como columna "estructurada" */
.plan-card{
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* 2) Reservamos alturas consistentes por bloque */
.plan-header{
  min-height: 78px;           /* ajusta si quieres */
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  margin-bottom: 12px;
}

/* subtítulo: mismo alto en todas */
.plan-sub{
  min-height: 44px;           /* si te brinca en móvil, bájalo */
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  margin-left: 50px;
}

/* 3) La lista debe ocupar el "cuerpo" y empujar lo de abajo */
.plan-features{
  flex: 1;                    /* clave: iguala alturas */
  margin: 0;                  /* quitamos variaciones */
  padding-left: 18px;         /* reemplaza margin-left */
  text-align: left;
}

.plan-features li{
  margin: 0 0 8px 0;
  line-height: 1.5;
}

/* 4) Cuadro verde: misma altura visual para alinear entre cards */
.plan-highlight{
  min-height: 56px;           /* sube/baja según tu texto */
  display: flex;
  align-items: center;
  justify-content: center;    /* o left si lo prefieres */
  text-align: center;
  margin-top: 12px;
}

/* 5) Nota: reserva alto fijo para que el botón caiga igual */
.plan-note{
  min-height: 44px;
  margin: 10px 0 0 0;
  text-align: center;
}

/* 6) Botón SIEMPRE abajo */
.plan-btn{
  margin-top: auto;           /* clave: lo pega al fondo */
  align-self: center;         /* centra botón (si lo quieres a la izq, quita esto) */
}

/* Si quieres el botón a la izquierda como antes, usa esto en vez de align-self:center */
/*
.plan-btn{
  margin-top: auto;
  align-self: flex-start;
}
*/

/* 7) Ajuste especial: la card PREMIUM tiene badge flotante,
      dale un poco de aire arriba para que no "aplasten" visualmente */
.plan-vr{
  padding-top: 40px;          /* compensa el badge flotante */
}

.primer-card{
  margin-bottom: 70px;
}



































































/* =========================================================
   RESPONSIVE GLOBAL — INMOBILIARIAS
========================================================= */

/* ======================
   TABLET (≤ 1024px)
====================== */
@media (max-width: 1024px) {
  /* HERO */
  .hero-inmo {
    margin-top: 140px;
    justify-content: center;
  }

  .hero-pill {
    font-size: 18px;
    padding: 16px 42px;
  }

  /* STEPS */
  .steps-viewer {
    height: 420px;
  }

  .steps-overlay span {
    font-size: 22px;
  }

  .steps-thumbnails {
    grid-template-columns: repeat(3, 1fr);
  }

  /* BENEFICIOS */
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* PLAN DETAIL */
  .plan-detail-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .plan-detail-video iframe {
    height: 300px;
  }
}

/* ======================
   MOBILE (≤ 768px)
====================== */
@media (max-width: 768px) {
  /* ===== HERO ===== */
  .hero-inmo {
    margin-top: 120px;
    padding-left: 20px;
    padding-right: 20px;
    justify-content: center;
  }

  .hero-pill {
    font-size: 16px;
    padding: 14px 34px;
    text-align: center;
  }

  /* ===== STEPS ===== */
  .steps-section h2 {
    font-size: 24px;
  }

  .steps-intro {
    font-size: 14px;
  }

  .steps-viewer {
    height: 260px;
  }

  .steps-overlay span {
    font-size: 16px;
  }

  .steps-thumbnails {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .steps-thumbnails img {
    height: 64px;
  }

  /* ===== BENEFICIOS ===== */
  .benefits-section .hero-subtitle {
    font-size: 50px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  /* ===== PRICING ===== */
  .pricing-header-pill {
    padding: 22px 28px;
    border-radius: 32px;
  }

  .pricing-eyebrow-pill {
    font-size: 14px;
    letter-spacing: 1.8px;
  }

  .pricing-title-pill {
    font-size: 20px;
  }

  .billing-toggle {
    flex-direction: column;
    gap: 8px;
  }

  .billing-option {
    justify-content: center;
    font-size: 14px;
    padding: 12px 20px;
  }

  /* ===== PLAN CARDS ===== */
  .plans-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .plan-pro {
    transform: none;
  }

  /* ===== TABLA COMPARATIVA ===== */
  .comparison-table {
    width: 100%;
    font-size: 12px;
    margin-left: 0;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px 8px;
  }

  .comparison-table th:first-child,
  .comparison-table td:first-child {
    width: 40%;
  }

  /* ===== PLAN DETAIL ===== */
  .plan-editorial-header h2 {
    font-size: 24px;
  }

  .plan-editorial-header p {
    font-size: 13px;
  }

  .plan-detail-text {
    padding: 28px 24px;
  }

  .plan-detail-text p,
  .plan-detail-text li {
    font-size: 14px;
  }

  .video-panel iframe {
    height: 220px;
  }

  /* ===== TIMELINE ===== */
  .visitia-timeline-horizontal {
    flex-direction: column;
    padding: 0;
  }

  .visitia-timeline-item {
    width: 100%;
    flex-direction: row;
    align-items: center;
    margin-bottom: 32px;
  }

  .visitia-timeline-dot {
    margin-right: 14px;
  }

  .visitia-timeline-title {
    margin-top: 0;
    text-align: left;
  }

  /* ===== CTA ===== */
  .plan-detail-cta .plan-btn {
    width: 100%;
    padding: 16px;
  }

  /* ===== PROYECTO A MEDIDA ===== */
  .custom-project-section {
    gap: 60px;
  }

  .custom-block.featured {
    padding: 50px 26px;
  }

  .custom-block.featured p {
    font-size: 14.5px;
  }
}














/* =========================================================
   RESPONSIVE — iPhone 16 (≈390px) / Mobile First overrides
   PEGAR AL FINAL DEL CSS
========================================================= */

/* Ayuda a evitar desbordes por 100vw + transforms */
html, body{
  overflow-x: hidden;
}

/* iPhone 16 base: 390px ancho aprox */
@media (max-width: 420px){

  /* ---------------------------
     CONTENEDOR GLOBAL
  ---------------------------- */
  .container{
    max-width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  body{
    font-size: 16px;
  }

  /* Logos un poquito más compactos */
  .logo-inline{
    width: 66px;
    height: 18px;
  }
  .logo-title{
    width: 70px;
    height: 34px;
    margin-left: -4px;
  }

  /* ---------------------------
     HERO
  ---------------------------- */
  .hero-inmo{
    max-width: 100%;
    margin: 110px auto 26px;
    padding-left: 18px;
    padding-right: 18px;
    display: block;
  }

  .hero-pill,
  .pill-title{
    font-size: 16px;
    letter-spacing: 0.8px;
  }

  /* ---------------------------
     STEPS SECTION
  ---------------------------- */
  .steps-section{
    max-width: 100%;
    padding-left: 18px;
    padding-right: 18px;
    margin: 0 auto 60px;
  }

  .steps-section h2{
    font-size: 26px;
    margin-top: 80px;
    margin-bottom: 12px;
  }

  .steps-intro{
    font-size: 15px;
    margin-bottom: 22px;
  }

  /* Viewer: altura flexible, no fija gigante */
  .steps-viewer{
    max-width: 100%;
    height: 260px;
    border-radius: 22px;
    margin-bottom: 18px;
  }

  .steps-overlay{
    padding: 16px 16px;
  }

  .steps-overlay span{
    font-size: 18px;
    line-height: 1.15;
  }

  /* Miniaturas: de 6 a 3 columnas */
  .steps-thumbnails{
    max-width: 100%;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .steps-thumbnails img{
    height: 64px;
    border-radius: 12px;
  }

  /* ---------------------------
     BENEFITS
  ---------------------------- */
  .benefits-section{
    max-width: 100%;
    padding-left: 18px;
    padding-right: 18px;
    margin: 0 auto 70px;
  }

  .benefits-section .hero-subtitle{
    font-size: 26px;
    margin-top: 110px;
    line-height: 1.1;
  }

  .subti{
    font-size: 26px;
    padding-bottom: 26px;
    line-height: 1.1;
  }

  .benefits-grid{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .benefit-card{
    padding: 26px 18px 22px;
    border-radius: 20px;
  }

  .benefit-icon{
    width: 56px;
    height: 56px;
  }

  .benefit-card p{
    font-size: 14.5px;
    line-height: 1.55;
  }

  /* ---------------------------
     PRICING HEADER / PILLS
  ---------------------------- */
  .pricing-section{
    padding-left: 18px;
    padding-right: 18px;
    margin: 44px auto 70px;
  }

  .pricing-header-pill{
    padding: 18px 18px;
    max-width: 100%;
    width: 100%;
    align-items: flex-start;
  }

  .pricing-eyebrow-pill{
    font-size: 20px;
  }

  .pricing-title-pill{
    font-size: 18px;
    max-width: 100%;
  }

  .pricing-title{
    font-size: 24px;
  }
  .pricing-subtitle{
    font-size: 15px;
  }

  /* Billing toggle: que no se desborde */
  .billing-toggle{
    width: 100%;
    justify-content: space-between;
    padding: 8px;
    gap: 8px;
  }

  .billing-option{
    flex: 1;
    justify-content: center;
    padding: 12px 10px;
    font-size: 14px;
  }

  .billing-option .save{
    display: none; /* en móvil estorba, se ve más limpio */
  }

  /* ---------------------------
     PLANES (CARDS)
  ---------------------------- */
  .plans-grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .plan-card{
    border-radius: 20px;
    padding: 18px 16px 18px;
  }

  .plan-header{
    min-height: auto;
    padding: 14px 12px;
    border-radius: 14px;
  }

  .plan-tag, .plan-name{
    font-size: 14px;
  }

  .plan-price{
    font-size: 14px;
  }

  /* Quitamos offsets raros que te rompen móvil */
  .plan-sub{
    margin-left: 0 !important;
    min-height: auto;
    font-size: 13px;
  }

  .plan-features{
    padding-left: 18px;
    margin: 10px 0 0 0;
  }

  .plan-features li{
    font-size: 13.5px;
  }

  .plan-highlight{
    min-height: auto;
    font-size: 13px;
    padding: 10px 12px;
    border-radius: 12px;
  }

  .plan-note{
    min-height: auto;
    font-size: 12.5px;
  }

  /* Botón: centrado real, sin margin-left 50 */
  .plan-btn{
    width: 100%;
    max-width: 320px;
    margin-left: 0 !important;
    padding: 12px 16px;
    font-size: 14px;
    align-self: center;
  }

  /* Badge flotante premium: que no tape y que quepa */
  .plan-vr{
    padding-top: 54px; /* compensa badge */
  }

  .premium-float-badge{
    top: -34px;
    max-width: calc(100% - 18px);
    width: calc(100% - 18px);
    padding: 10px 12px;
    border-radius: 16px;
  }

  .premium-float-badge__icon{
    width: 54px;
  }

  .premium-float-badge__text{
    font-size: 12px;
    line-height: 1.1;
  }

  /* ---------------------------
     TABLA COMPARATIVA
  ---------------------------- */
  .comparison-table-wrap{
    padding-left: 0;
    padding-right: 0;
    margin-top: 26px;
  }

  .comparison-table{
    width: 100% !important;
    margin-left: 0 !important;
    font-size: 12.5px;
    border-radius: 16px;
    min-width: 720px; /* permite scroll horizontal real */
  }

  .comparison-table th,
  .comparison-table td{
    padding: 10px 8px;
  }

  .comparison-table thead th{
    font-size: 13px;
  }

  /* ---------------------------
     PLAN DETAIL SECTION (TEXT+VIDEO)
  ---------------------------- */
  .plan-detail-section{
    max-width: 100%;
    padding: 34px 16px;
    border-radius: 24px;
    margin: 50px 0;
  }

  .plan-editorial-header{
    margin-bottom: 22px;
  }

  .plan-editorial-header h2{
    font-size: 22px;
    letter-spacing: 1px;
  }

  .plan-editorial-header p{
    font-size: 12px;
    letter-spacing: 0.8px;
  }

  .plan-detail-layout{
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 24px;
  }

  .plan-detail-text{
    padding: 22px 18px;
    border-radius: 18px;
  }

  .plan-detail-text p{
    font-size: 14.5px;
    line-height: 1.7;
  }

  .plan-detail-text ul{
    font-size: 14px;
    margin-left: 0;
    padding-left: 0;
  }

  .plan-detail-text li{
    padding-left: 18px;
  }

  /* Video */
  .video-frame{
    max-width: 100%;
    border-radius: 18px;
  }

  .plan-detail-video .video-panel,
  .plan-detail-video .video-panel iframe{
    border-radius: 18px;
  }

  /* ---------------------------
     TIMELINE (lo pasamos a vertical)
  ---------------------------- */
  .steps-row-heading{
    font-size: 12px;
    margin-top: 24px;
    margin-bottom: 14px;
  }

  .visitia-timeline-horizontal{
    flex-direction: column;
    gap: 18px;
    padding: 0;
    align-items: stretch;
  }

  .visitia-timeline-track{
    display: none; /* en vertical estorba */
  }

  .visitia-timeline-item{
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    text-align: left;
  }

  .visitia-timeline-dot{
    width: 44px;
    height: 44px;
    font-size: 15px;
    flex: 0 0 44px;
  }

  .visitia-timeline-title{
    margin-top: 2px;
    max-width: 100%;
    font-size: 14px;
    line-height: 1.25;
  }

  /* Hover card info (ya la tienes estática), ajustamos para móvil */
  .visitia-timeline-hover-card{
    width: 100%;
    margin-top: 8px;
    padding: 12px 12px;
    border-radius: 14px;
    box-shadow: 0 14px 32px rgba(0,0,0,0.18);
  }

  .visitia-timeline-hover-card p{
    font-size: 13px;
  }

  /* ---------------------------
     CTA FINAL
  ---------------------------- */
  .plan-detail-cta{
    margin-top: 22px;
  }

  .plan-detail-cta .plan-btn{
    width: 100%;
    max-width: 340px;
    padding: 14px 16px;
    font-size: 14px;
  }

  /* ---------------------------
     TUTORIALES — Carruseles
  ---------------------------- */
  .tutorials-section{
    margin: 20px 0;
  }

  .tutorials-note{
    font-size: 14px;
    margin: 18px auto 50px;
    padding: 0 8px;
  }

  .tutorial-block{
    margin-bottom: 80px;
    padding-bottom: 60px;
  }

  .tutorial-block h3{
    font-size: 22px;
    letter-spacing: 1px;
  }

  .tutorial-block h3::after{
    width: 60px;
    margin-top: 10px;
  }

  /* Carrusel full width sin desbordar feo */
  .tutorial-carousel{
    gap: 14px;
    padding: 22px 16px 26px 16px;
    width: 100%;
    left: 0;
    transform: none;
    justify-content: flex-start;
  }

  .tutorial-slide{
    flex: 0 0 78%;
    height: 210px;
    border-radius: 22px;
  }

  .tutorial-slide span{
    font-size: 16px;
    padding: 16px 16px 18px 16px;
    border-radius: 0 0 22px 22px;
  }

  /* ---------------------------
     MODAL PDF
  ---------------------------- */
  .pdf-modal__dialog{
    width: calc(100% - 18px);
    height: 84vh;
    margin: 6vh auto 0 auto;
    border-radius: 14px;
  }

  .pdf-modal__header{
    padding: 10px 10px;
  }

  .pdf-modal__title{
    font-size: 12px;
    letter-spacing: 0.6px;
  }

  .pdf-modal__close{
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .pdf-modal__body{
    padding: 8px;
    padding-bottom: 14px;
  }

  /* ---------------------------
     PROYECTO A MEDIDA / FAQ
  ---------------------------- */
  .custom-project-section{
    margin: 90px auto;
    gap: 70px;
    padding: 0 18px;
  }

  .custom-block.featured{
    padding: 40px 18px;
    border-radius: 22px;
  }

  .custom-block.featured .pill-title{
    font-size: 22px;
    margin-bottom: 16px;
  }

  .custom-block.featured p{
    font-size: 15px;
    margin-bottom: 22px;
  }

  .custom-cta{
    width: 100%;
    max-width: 320px;
    padding: 12px 16px;
    font-size: 15px;
  }

  .custom-card.simple{
    padding: 22px 18px;
    border-radius: 18px;
  }

  .faq-link{
    font-size: 14px;
  }

  /* ---------------------------
     MISC
  ---------------------------- */
  .primer-card{
    margin-bottom: 40px;
  }
}

/* iPhone muy chico (SE / 360-375) por si acaso */
@media (max-width: 375px){
  .steps-viewer{ height: 240px; }
  .tutorial-slide{ flex: 0 0 86%; }
  .pricing-eyebrow-pill{ font-size: 18px; }
  .pricing-title-pill{ font-size: 17px; }
}























/* =========================================================
   PAGE INMOBILIARIAS — RESPONSIVE 95% + SAFE AREA + LANDSCAPE
========================================================= */

/* ---------- 0) Base safety: overflow + safe-area ---------- */
:root{
  --pad-x: clamp(18px, 4vw, 80px);
  --pad-y: clamp(16px, 3vw, 40px);

  /* Safe area (iOS notch) fallback 0 */
  --sat: env(safe-area-inset-top, 0px);
  --sar: env(safe-area-inset-right, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
}

html, body{
  overflow-x: hidden;
}

/* Evita que 100vw + transform te cree scroll lateral fantasma */
body{
  padding-left: var(--sal);
  padding-right: var(--sar);
}

/* Tipografía base escalable sin “saltos” */
body{
  font-size: clamp(15px, 1.6vw, 16px);
  line-height: 1.45;
}

/* ---------- 1) Contenedores: consistencia ---------- */
.container,
.hero-inmo,
.steps-section,
.benefits-section,
.pricing-section{
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ---------- 2) Headings: clamp para evitar gigantismo o enanismo ---------- */
.steps-section h2{
  font-size: clamp(22px, 3.2vw, 36px);
  margin-top: clamp(70px, 10vw, 120px);
}

.benefits-section .hero-subtitle,
.subti{
  font-size: clamp(24px, 3.6vw, 40px);
}

.pricing-title{
  font-size: clamp(22px, 3.2vw, 34px);
}

.pricing-subtitle{
  font-size: clamp(15px, 2.1vw, 26px);
}

/* ---------- 3) Viewer / overlays: alturas fluidas + legibilidad ---------- */
.steps-viewer{
  height: clamp(240px, 52vw, 540px);
  border-radius: clamp(18px, 4vw, 34px);
}

.steps-overlay{
  padding: clamp(14px, 3.6vw, 30px) clamp(14px, 3.8vw, 34px);
}

.steps-overlay span{
  font-size: clamp(16px, 3.2vw, 28px);
  line-height: 1.15;
}

/* Thumbnails: colapsa suave sin romper layout */
.steps-thumbnails{
  gap: clamp(10px, 2.4vw, 16px);
}
.steps-thumbnails img{
  height: clamp(60px, 13vw, 86px);
  border-radius: clamp(10px, 2.6vw, 14px);
}

/* ---------- 4) Benefits: grid estable ---------- */
.benefits-grid{
  gap: clamp(16px, 3.2vw, 32px);
}
.benefit-card{
  border-radius: clamp(18px, 3.2vw, 26px);
  padding: clamp(22px, 4.6vw, 40px) clamp(16px, 3.6vw, 28px) clamp(18px, 4vw, 36px);
}

/* ---------- 5) Pricing cards: elimina offsets que rompen en móvil ----------
   (sin cambiar estética, solo consistencia) */
.plan-sub{
  margin-left: 0 !important; /* tenías margin-left:50 en varios lugares */
}
.plan-btn{
  margin-left: 0 !important; /* idem */
}

/* Badge flotante VR: evitar recortes */
.plan-vr{
  overflow: visible;
}

/* ---------- 6) Comparison table: scroll real en móvil/tablet ----------
   Tu wrap ya tiene overflow-x:auto; esto asegura un min-width para que funcione */
.comparison-table{
  width: 100% !important;
  margin-left: 0 !important;
  min-width: 720px; /* permite scroll horizontal en <420, <600 */
}

/* ---------- 7) Carrusel tutorial: controla 100vw + translate en móviles ----------
   En desktop se mantiene tu full-bleed. En mobile se vuelve 100% limpio */
@media (max-width: 600px){
  .tutorial-carousel{
    width: 100% !important;
    left: 0 !important;
    transform: none !important;
    padding: 22px 16px 28px 16px;
    justify-content: flex-start;
  }
}

/* ---------- 8) PDF modal: más usable en móvil sin cortar ---------- */
.pdf-modal__dialog{
  border-radius: clamp(12px, 2.6vw, 18px);
}
.pdf-modal__body{
  padding: clamp(8px, 2.4vw, 10px);
  padding-bottom: calc(clamp(12px, 3vw, 18px) + var(--sab));
}

/* ---------- BREAKPOINTS OBLIGATORIOS ---------- */

/* =========================================================
   <= 1024px (Tablet Pro)
========================================================= */
@media (max-width: 1024px){

  .hero-inmo{
    margin-top: calc(140px + var(--sat));
    justify-content: center;
  }

  .steps-viewer{
    height: clamp(300px, 48vw, 460px);
  }

  .steps-thumbnails{
    grid-template-columns: repeat(3, 1fr);
  }

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

  .plan-detail-layout{
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

/* =========================================================
   <= 768px (Tablet)
========================================================= */
@media (max-width: 768px){

  .hero-inmo{
    margin-top: calc(120px + var(--sat));
    display: block;
  }

  .steps-viewer{
    height: clamp(240px, 56vw, 360px);
  }

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

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

  .pricing-header-pill{
    width: 100%;
    max-width: 100%;
    padding: 22px 28px;
    border-radius: 32px;
    align-items: flex-start;
  }

  .billing-toggle{
    width: 100%;
  }

  .plans-grid{
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .comparison-table-wrap{
    margin-top: 20px;
  }

  /* Timeline a vertical para evitar cortes */
  .visitia-timeline-horizontal{
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 18px;
  }
  .visitia-timeline-track{ display:none; }

  .visitia-timeline-item{
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    text-align: left;
  }
  .visitia-timeline-title{
    margin-top: 2px;
    margin-left: 0;
    max-width: 100%;
    font-size: 14px;
    line-height: 1.25;
  }
  .visitia-timeline-hover-card{
    width: 100%;
    margin-top: 8px;
  }

  /* CTA full width friendly */
  .plan-detail-cta .plan-btn{
    width: 100%;
    max-width: 380px;
  }
}

/* =========================================================
   <= 600px (Mobile grande)
========================================================= */
@media (max-width: 600px){

  .container,
  .hero-inmo,
  .steps-section,
  .benefits-section,
  .pricing-section{
    padding-left: calc(18px + var(--sal));
    padding-right: calc(18px + var(--sar));
  }

  .steps-section h2{
    margin-top: clamp(70px, 14vw, 100px);
  }

  .steps-thumbnails{
    grid-template-columns: repeat(3, 1fr);
  }

  .billing-toggle{
    padding: 8px;
    gap: 8px;
  }
  .billing-option{
    padding: 12px 10px;
    font-size: 14px;
    justify-content: center;
  }
  .billing-option .save{ display:none; }

  .plan-card{
    border-radius: 20px;
    padding: 18px 16px;
  }

  .plan-btn{
    width: 100%;
    max-width: 320px;
    align-self: center;
  }

  /* Badge VR no tapa contenido */
  .plan-vr{ padding-top: 54px; }
  .premium-float-badge{
    top: -34px;
    width: calc(100% - 18px);
    max-width: calc(100% - 18px);
  }

  /* Tutorial slides */
  .tutorial-slide{
    flex: 0 0 78%;
    height: 210px;
    border-radius: 22px;
  }
  .tutorial-slide span{
    font-size: 16px;
    padding: 16px 16px 18px 16px;
    border-radius: 0 0 22px 22px;
  }
}

/* =========================================================
   <= 480px (Mobile)
========================================================= */
@media (max-width: 480px){

  /* Extra compact sin perder premium */
  .logo-inline{ width: 66px; height: 18px; }
  .logo-title{ width: 70px; height: 34px; }

  .steps-viewer{
    height: clamp(230px, 62vw, 320px);
  }

  .steps-overlay span{
    font-size: clamp(16px, 4.6vw, 20px);
  }

  .benefits-section .hero-subtitle,
  .subti{
    font-size: clamp(24px, 6.2vw, 30px);
  }

  /* Tabla: fuerza scroll (ya con min-width) y reduce paddings */
  .comparison-table th,
  .comparison-table td{
    padding: 10px 8px;
  }

  /* Modal PDF: ocupa más pantalla sin cortar */
  .pdf-modal__dialog{
    width: calc(100% - 18px);
    height: calc(84vh - var(--sat));
    margin-top: calc(6vh + var(--sat));
  }
}

/* =========================================================
   LANDSCAPE: mobile landscape (height <= 430px)
   - Evita hero/embeds gigantes
========================================================= */
@media (max-height: 430px) and (orientation: landscape){

  /* Reduce top spacing, respeta notch */
  .hero-inmo{
    margin-top: calc(90px + var(--sat));
  }

  .steps-section h2{
    margin-top: 60px;
  }

  /* Viewer y video más bajos para que no “se coma” la pantalla */
  .steps-viewer{
    height: 220px;
  }

  .video-frame{
    aspect-ratio: 16 / 10; /* un pelín menos alto en landscape */
  }

  /* Carrusel: menos padding vertical */
  .tutorial-carousel{
    padding-top: 18px;
    padding-bottom: 22px;
  }

  /* Modal PDF: maximiza área útil */
  .pdf-modal__dialog{
    height: calc(92vh - var(--sat) - var(--sab));
    margin-top: calc(4vh + var(--sat));
  }
}