/* ==========================================================================
   VARIABLES Y RESET
   ========================================================================== */
:root {
  --orange:        #ff7000;
  --orange-dark:   #e65c00;
  --blue:          #3b82f6;
  --blue-dark:     #2563eb;
  --navy:          #1e3a5f;
  --text-body:     #374151;
  --text-muted:    #6b7280;
  --bg-warm:       linear-gradient(160deg, #fff8f0 0%, #f0f6ff 100%);
  --bg-cool:       linear-gradient(160deg, #f0f6ff 0%, #fff8f0 100%);
  --glass-bg:      rgba(255,255,255,0.75);
  --glass-border:  rgba(255,255,255,0.3);
  --radius-card:   20px;
  --shadow-card:   0 4px 20px rgba(0,0,0,0.07);
  --transition:    all 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
}

/* Fix AOS */
[data-aos] {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* ==========================================================================
   TIPOGRAFÍA — JERARQUÍA GLOBAL
   ========================================================================== */

/* Eyebrow: etiqueta pequeña de sección (naranja, mayúsculas) */
.section-eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

/* Título principal de sección (H2) */
.section-title-main {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 14px;
}

/* Lead / subtítulo de sección */
.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Contenedor del encabezado de sección */
.section-header {
  margin-bottom: 52px;
}

/* Cuando el header contiene imagen interna (Qué es InOut), reducir el mb */
.section-header.has-inner-img {
  margin-bottom: 0;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
#header .header-container {
  background: #fff !important;
  border-bottom: 3px solid var(--orange);
}

#header.header-scrolled {
  background: #fff !important;
  box-shadow: 0 4px 20px rgba(255,112,0,0.15);
}

#header .logo {
  background: transparent !important;
}

#header .nav-menu a {
  color: var(--navy) !important;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
}

#header .nav-menu a:hover,
#header .nav-menu .active > a {
  color: var(--orange) !important;
}

#header .nav-menu .get-started a {
  background: linear-gradient(90deg, var(--orange), var(--orange-dark)) !important;
  color: #fff !important;
  border-radius: 50px;
  padding: 10px 24px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(255,112,0,0.35);
  border: none;
  transition: all 0.3s ease;
}

#header .nav-menu .get-started a:hover {
  background: linear-gradient(90deg, var(--orange-dark), #bf4f00) !important;
  box-shadow: 0 6px 20px rgba(255,112,0,0.5);
  transform: translateY(-2px);
}

/* Menú móvil */
.mobile-nav-toggle {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--navy);
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  display: none;
}

@media (max-width: 991px) {
  .mobile-nav-toggle { display: block; }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 2px solid var(--orange);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 9999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .nav-menu.mobile-open {
    max-height: 500px;
  }

  .nav-menu ul {
    flex-direction: column;
    padding: 16px 0;
    margin: 0;
    list-style: none;
  }

  .nav-menu ul li {
    padding: 0;
  }

  .nav-menu ul li a {
    display: block;
    padding: 12px 24px;
    font-size: 1rem;
  }

  .nav-menu .get-started a {
    margin: 8px 24px 16px;
    display: inline-block;
    border-radius: 50px !important;
  }
}

/* ==========================================================================
   ICONOS LOGÍSTICOS FLOTANTES (Hero)
   ========================================================================== */
.logistics-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.logi-item {
  position: absolute;
  opacity: 0.18;
}

.logi-item svg { display: block; }

.logi-1  { width: 80px;  top: 8%;  left: 3%;  animation: logiFloat1 6s   ease-in-out infinite; }
.logi-2  { width: 110px; top: 60%; left: 1%;  animation: logiFloat2 7s   ease-in-out infinite; }
.logi-3  { width: 70px;  top: 15%; left: 88%; animation: logiFloat3 5.5s ease-in-out infinite; }
.logi-4  { width: 90px;  top: 65%; left: 85%; animation: logiFloat1 8s   ease-in-out infinite; }
.logi-5  { width: 60px;  top: 5%;  left: 45%; animation: logiFloat2 5s   ease-in-out infinite; }
.logi-6  { width: 65px;  top: 78%; left: 42%; animation: logiFloat3 9s   ease-in-out infinite; }
.logi-7  { width: 55px;  top: 30%; left: 93%; animation: logiFloat1 6.5s ease-in-out infinite; }
.logi-8  { width: 75px;  top: 82%; left: 10%; animation: logiFloat2 7.5s ease-in-out infinite; }

@keyframes logiFloat1 {
  0%,100% { transform: translateY(0)    rotate(0deg);  }
  50%     { transform: translateY(-22px) rotate(4deg);  }
}
@keyframes logiFloat2 {
  0%,100% { transform: translateY(0)    rotate(0deg);  }
  50%     { transform: translateY(-16px) rotate(-5deg); }
}
@keyframes logiFloat3 {
  0%,100% { transform: translateY(0)    rotate(0deg);  }
  33%     { transform: translateY(-12px) rotate(3deg);  }
  66%     { transform: translateY(-20px) rotate(-3deg); }
}

/* Ocultar iconos flotantes en móvil para no saturar */
@media (max-width: 575px) {
  .logi-2, .logi-4, .logi-6, .logi-8 { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
#hero {
  width: 100%;
  min-height: 90vh;
  background: linear-gradient(135deg, #99b5e9 0%, #fddcaf 100%);
  display: flex !important;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 60px;
}

#hero::before { display: none; }

#hero .container {
  position: relative;
  z-index: 2;
}

/* H1 del hero */
.hero-title-inout {
  font-family: 'Poppins', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #bf4f00 0%, #ff7300 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  animation: textFadeUp 0.8s cubic-bezier(0.22,1,0.36,1) 0.2s forwards;
}

/* Subtítulo del hero */
.hero-subtitle-inout {
  font-size: 1.1rem;
  color: #7c3a00;
  line-height: 1.7;
  opacity: 0;
  animation: textFadeUp 0.8s cubic-bezier(0.22,1,0.36,1) 0.4s forwards;
}

.hero-subtitle-inout strong {
  color: var(--orange-dark);
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

/* Contenedor vidrio */
.video-glass-container {
  position: relative;
  display: inline-block;
  padding: 10px;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow: 0 25px 50px rgba(0,0,0,0.12), 0 0 0 1px rgba(255,255,255,0.15) inset;
  overflow: hidden;
  animation: heroSlideIn 0.9s cubic-bezier(0.22,1,0.36,1) both,
             heroFloat 4s ease-in-out 0.9s infinite;
  will-change: transform;
  max-width: 100%;
}

.video-glass-container:hover {
  box-shadow: 0 35px 60px rgba(191,79,0,0.2), 0 0 0 1px rgba(255,255,255,0.3) inset;
  transition: box-shadow 0.4s ease;
}

.hero-pc-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  filter: brightness(0.98) contrast(1.02);
}

@keyframes heroSlideIn {
  from { opacity: 0; transform: translateX(80px) scale(0.92); }
  to   { opacity: 1; transform: translateX(0)    scale(1);    }
}

@keyframes heroFloat {
  0%,100% { transform: translateY(0);    }
  50%     { transform: translateY(-10px); }
}

@keyframes textFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* ==========================================================================
   SECCIÓN: QUÉ ES INOUT
   ========================================================================== */
.inout-feature {
  padding: 90px 0 80px;
  background: linear-gradient(180deg, #fff8f2 0%, #f0f6ff 60%, #fff 100%);
  position: relative;
  overflow: hidden;
}

.inout-feature::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,112,0,0.07) 0%, transparent 70%);
  top: -140px;
  right: -140px;
  pointer-events: none;
}

/* Wrapper de imagen en sección Qué es InOut — centrada entre título y lead */
.inout-about-img-wrap {
  display: flex;
  justify-content: center;
  margin: 28px 0 32px;
}

.inout-about-img-wrap .inout-img-wrapper {
  display: inline-block;
  position: relative;
}

.inout-about-img-wrap .feature-image-refinement {
  max-width: 360px;
  width: 100%;
  filter: drop-shadow(0 20px 40px rgba(255,112,0,0.15));
}

@media (max-width: 767px) {
  .inout-about-img-wrap .feature-image-refinement {
    max-width: 260px;
  }
}

@media (max-width: 575px) {
  .inout-about-img-wrap .feature-image-refinement {
    max-width: 200px;
  }
  .inout-about-img-wrap {
    margin: 20px 0 24px;
  }
}


/* Orbe decorativo azul abajo-izquierda */
.inout-feature::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  pointer-events: none;
}

/* Texto descriptivo debajo de las tarjetas */
.inout-about-desc {
  max-width: 700px;
  margin: 48px auto 0;
  text-align: center;
  background: #fff;
  border-radius: 20px;
  padding: 32px 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  z-index: 1;
}

.inout-about-desc p {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 16px;
}

.inout-about-desc p:last-child {
  margin-bottom: 0;
}

.inout-feature-closing {
  font-size: 1rem;
  color: var(--navy);
  font-style: italic;
  padding: 14px 20px;
  border-left: 3px solid var(--blue);
  background: rgba(59,130,246,0.05);
  border-radius: 0 12px 12px 0;
  text-align: left;
  margin-top: 0;
}

/* ==========================================================================
   TARJETAS SLIDE-UP — Qué es InOut
   ========================================================================== */
.inout-about-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.inout-about-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 32px 20px 28px;
  box-shadow: var(--shadow-card);
  border: 1.5px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  cursor: default;
  /* Estado inicial */
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1),
              transform 0.6s cubic-bezier(0.22,1,0.36,1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

.inout-about-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.inout-about-card.visible:hover {
  border-color: var(--orange);
  box-shadow: 0 12px 36px rgba(255,112,0,0.12);
  transform: translateY(-6px);
}

.inout-about-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #fff5ee;
  border: 1.5px solid rgba(255,112,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.inout-about-card-icon i {
  font-size: 26px;
  color: var(--orange);
  transition: color 0.3s ease;
}

.inout-about-card.visible:hover .inout-about-card-icon {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(255,112,0,0.35);
}

.inout-about-card.visible:hover .inout-about-card-icon i {
  color: #fff;
}

.inout-about-card strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.inout-about-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.inout-about-desc {
  max-width: 700px;
  margin: 2rem auto;
  padding: 1.5rem;
  font-family: 'Inter', sans-serif; /* O la que estés usando */
  color: #334155;
  line-height: 1.6;
}

.inout-about-desc p:first-child {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #64748b; /* Un gris más suave para el cuerpo */
}

.inout-feature-closing {
  padding-left: 1.5rem;
  border-left: 4px solid transparent;
  /* Gradiente en el borde para que no sea un color sólido aburrido */
  border-image: linear-gradient(to bottom, #3b82f6, #1d4ed8) 1;
  font-style: italic;
  font-size: 1.25rem;
  color: #1e3a8a;
}

.inout-feature-closing strong {
  color: #2563eb;
  font-weight: 700;
  text-transform: capitalize; /* Opcional: para resaltar eficiencia */
}


/* ==========================================================================
   SECCIÓN: CARACTERÍSTICAS
   ========================================================================== */
.inout-features-list {
  padding: 80px 0;
  background: var(--bg-cool);
}

/* Wrapper imagen con stats */
.inout-img-wrapper {
  position: relative;
  display: inline-block;
}

.inout-img-wrapper img {
  position: relative;
  z-index: 1;
  animation: heroFloat 5s ease-in-out infinite;
}

/* Badges de estadísticas flotantes */
.inout-stat {
  position: absolute;
  z-index: 2;
  background: #fff;
  border-radius: 16px;
  padding: 10px 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-left: 4px solid var(--orange);
  animation: heroFloat 4s ease-in-out infinite;
}

.inout-stat-top    { top: 10%;  right: -10%; animation-delay: 0.5s; }
.inout-stat-bottom { bottom: 8%; left: -8%;  animation-delay: 1.2s; }

.inout-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.inout-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Lista apilada */
.inout-stack-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.inout-stack-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 18px;
  padding: 22px 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(50px) scale(0.97);
  transition: opacity 0.5s cubic-bezier(0.22,1,0.36,1),
              transform 0.5s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.3s ease;
}

.inout-stack-item.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.inout-stack-item.visible:hover {
  box-shadow: 0 12px 32px rgba(59,130,246,0.13);
  transform: translateY(-3px) scale(1.01);
}

.inout-stack-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.inout-stack-icon i {
  font-size: 26px;
  color: #fff;
}

.inout-stack-body { flex: 1; }

.inout-stack-body strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.inout-stack-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.inout-stack-num {
  font-size: 2rem;
  font-weight: 800;
  color: rgba(0,0,0,0.06);
  line-height: 1;
  user-select: none;
}

/* Imagen de características */
.feature-image-refinement {
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
  display: block;
  max-width: 100%;
  height: auto;
  margin: 10px auto 20px;
}

/* ==========================================================================
   SECCIÓN: PLANES
   ========================================================================== */
.pricing {
  padding: 80px 0;
  background: linear-gradient(160deg, #fff 0%, #f8fafc 100%);
}

.pricing .box {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 1.5px solid #e0e0e0;
  border-radius: 24px;
  padding: 36px 28px;
  transition: var(--transition);
  height: 100%;
}

.pricing .box:hover {
  transform: translateY(-10px);
  border-color: var(--orange);
  box-shadow: 0 20px 48px rgba(255,112,0,0.12);
}

.pricing .box.featured {
  border-color: var(--orange);
  box-shadow: 0 8px 32px rgba(255,112,0,0.18);
  position: relative;
}

.pricing .box h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing .box h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 20px;
}

.pricing .box h4 sup {
  font-size: 1rem;
  top: -0.8em;
}

.pricing .box h4 span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing .box ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.pricing .box ul li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-body);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing .box ul li::before {
  content: '✓';
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing .box ul li.na {
  color: var(--text-muted);
  text-decoration: line-through;
}

.pricing .box ul li.na::before {
  content: '✗';
  color: #d1d5db;
}

.btn-buy {
  display: inline-block;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(255,112,0,0.3);
}

.btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,112,0,0.4);
  color: #fff;
  text-decoration: none;
}

.btn-wrap { text-align: center; }

/* ==========================================================================
   SECCIÓN: CONTACTO
   ========================================================================== */
.contact {
  padding: 80px 0;
  background: var(--bg-warm);
}

.contact .form-control {
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact .form-control:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,112,0,0.12);
  outline: none;
}

.btn-submit-modern {
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  color: #fff;
  border: none;
  padding: 14px 44px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(255,112,0,0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-submit-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,112,0,0.4);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
#footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

#footer .copyright strong {
  color: var(--orange);
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 42px;
  height: 42px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 14px rgba(255,112,0,0.4);
  transition: all 0.3s ease;
  z-index: 9999;
  text-decoration: none;
}

.back-to-top:hover {
  background: var(--orange-dark);
  transform: translateY(-3px);
  color: #fff;
}

/* ==========================================================================
   RESPONSIVE — TABLET (≤ 991px)
   ========================================================================== */
@media (max-width: 991px) {

  /* Tipografía */
  .section-title-main { font-size: 1.7rem; }
  .section-lead       { font-size: 1rem; }

  /* Hero */
  .hero-title-inout   { font-size: 2rem; text-align: center; }
  .hero-subtitle-inout { text-align: center; font-size: 1rem; }
  #hero .col-lg-6:first-child { text-align: center; }

  /* Tarjetas Qué es InOut: 2 columnas */
  .inout-about-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Características: imagen arriba, lista abajo */
  .inout-features-list .row {
    flex-direction: column;
  }

  .inout-img-wrapper {
    margin-bottom: 40px;
  }

  .inout-stat-top    { right: 0; }
  .inout-stat-bottom { left: 0; }

  /* Planes */
  .pricing .box { margin-bottom: 24px; }
}

/* ==========================================================================
   RESPONSIVE — MÓVIL (≤ 575px)
   ========================================================================== */
@media (max-width: 575px) {

  /* Secciones */
  .inout-feature,
  .inout-features-list,
  .pricing,
  .contact { padding: 56px 0; }

  .section-header { margin-bottom: 36px; }

  /* Tipografía */
  .hero-title-inout    { font-size: 1.65rem; }
  .hero-subtitle-inout { font-size: 0.95rem; }
  .section-title-main  { font-size: 1.45rem; }
  .section-lead        { font-size: 0.95rem; }

  /* Hero: mínimo 100vh en móvil */
  #hero { min-height: 100vh; padding-bottom: 40px; }

  /* Video: ancho completo */
  .video-glass-container { width: 100%; }

  /* Tarjetas Qué es InOut: 1 columna */
  .inout-about-cards {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Stats flotantes: reposicionar para que no se salgan */
  .inout-stat-top    { top: 5%;  right: 2%; }
  .inout-stat-bottom { bottom: 5%; left: 2%; }

  /* Lista características: padding reducido */
  .inout-stack-item { padding: 16px 18px; gap: 14px; }
  .inout-stack-num  { display: none; }

  /* Planes: 1 columna */
  .pricing .col-lg-4 { margin-bottom: 20px; }

  /* Formulario */
  .btn-submit-modern { width: 100%; padding: 14px 20px; }

  /* Texto descriptivo */
  .inout-about-desc { padding: 0 8px; }
  .inout-feature-closing { font-size: 0.9rem; }
}

/* Plan image in pricing cards */
.pricing .box .plan-image {
  text-align: center;
  margin-bottom: 12px;
}

.pricing .box .plan-image img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  border-radius: 6px;
}

/* Plan description in pricing cards */
.pricing .box .plan-description {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 8px;
}

/* Features subtitle */
.pricing .box .features-subtitle {
  font-size: 0.8rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
  margin-top: 12px;
}

/* ===================== REGISTRATION MODAL ===================== */
.reg-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 1rem;
}
.reg-modal {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.reg-modal-close {
  position: absolute;
  top: 0.75rem; right: 1rem;
  background: none; border: none;
  font-size: 1.8rem; color: #999;
  cursor: pointer;
}
.reg-modal-close:hover { color: #333; }
.reg-modal h4 { color: var(--orange, #ff7000); margin-bottom: 1rem; font-size: 1.1rem; }
.reg-modal h5 { color: #333; font-size: 0.95rem; margin: 0.75rem 0 0.5rem; }
.reg-field { margin-bottom: 0.75rem; }
.reg-field label { display: block; font-size: 0.78rem; font-weight: 500; color: #555; margin-bottom: 0.2rem; }
.reg-field input, .reg-field select {
  width: 100%; padding: 0.45rem 0.7rem; font-size: 0.88rem;
  border: 1.5px solid #ddd; border-radius: 6px; background: #fafafa;
}
.reg-field input:focus, .reg-field select:focus {
  border-color: var(--orange, #ff7000); outline: none; background: #fff;
}
.reg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.reg-divider { border: none; border-top: 1px solid #eee; margin: 1rem 0; }
.reg-btn {
  display: block; width: 100%; padding: 0.6rem;
  background: var(--orange, #ff7000); color: #fff; border: none;
  border-radius: 25px; font-weight: 600; font-size: 0.9rem;
  cursor: pointer; margin-top: 1rem; transition: background 0.2s;
}
.reg-btn:hover { background: #e65c00; }
.reg-btn-link {
  display: block; width: 100%; text-align: center;
  background: none; border: none; color: var(--orange, #ff7000);
  font-size: 0.8rem; margin-top: 0.5rem; cursor: pointer;
  text-decoration: underline;
}
.reg-error { color: #dc3545; font-size: 0.8rem; margin-top: 0.3rem; }
.reg-credentials {
  background: #f8f8f8; border-radius: 8px; padding: 1rem;
  margin: 1rem 0; text-align: center;
}
.reg-credentials code { background: #eee; padding: 2px 6px; border-radius: 3px; font-size: 0.9rem; }
.reg-loading {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.9); display: flex;
  flex-direction: column; align-items: center; justify-content: center;
  border-radius: 12px; z-index: 10;
}
.reg-spinner {
  width: 32px; height: 32px; border: 3px solid #eee;
  border-top-color: var(--orange, #ff7000); border-radius: 50%;
  animation: regSpin 0.8s linear infinite;
}
@keyframes regSpin { to { transform: rotate(360deg); } }

@media (max-width: 576px) {
  .reg-modal { padding: 1.25rem; max-width: 100%; }
  .reg-row { grid-template-columns: 1fr; }
}

/* Person type selector */
.reg-person-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.reg-person-option {
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.reg-person-option:hover {
  border-color: var(--orange, #ff7000);
}
.reg-person-option.selected {
  border-color: var(--orange, #ff7000);
  background: rgba(255, 112, 0, 0.05);
  color: var(--orange, #ff7000);
}
.reg-person-option.selected svg {
  fill: var(--orange, #ff7000);
}
.reg-person-option span {
  font-size: 0.82rem;
  font-weight: 500;
}

/* Section titles */
.reg-section-title {
  color: var(--orange, #ff7000);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid var(--orange, #ff7000);
}
.reg-section-subtitle {
  font-size: 0.78rem;
  color: #888;
  margin-bottom: 0.75rem;
}

/* Secondary button for email check */
.reg-btn-secondary {
  display: block;
  width: 100%;
  padding: 0.5rem;
  background: transparent;
  color: var(--orange, #ff7000);
  border: 1.5px solid var(--orange, #ff7000);
  border-radius: 25px;
  font-weight: 500;
  font-size: 0.82rem;
  cursor: pointer;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  transition: all 0.2s;
}
.reg-btn-secondary:hover {
  background: var(--orange, #ff7000);
  color: #fff;
}
