/* ============================================
   VARIABLES Y ESTILOS BASE
   ============================================ */

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #dbeafe;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --background: #ffffff;
    --surface-light: #f8fafc;
    --border-light: #e2e8f0;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background-color: var(--background);
    line-height: 1.6;
}

/* ============================================
   NAVEGACIÓN STICKY
   ============================================ */

.navbar-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--background);
    border-bottom: 1px solid var(--border-light);
    z-index: 1030;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    height: 70px;
    display: flex;
    align-items: center;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 1.5rem;
}

/* Estado de apertura/cierre */
.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    justify-content: flex-end;
}

.status-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--success-color);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@media screen and (max-width: 575px) {
    .status-dot {
        width: 10px;
        height: 10px;
    }
}

.status-dot.closed {
    background-color: #ef4444;
    animation: none;
}

.status-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Logo centrado */
.navbar-brand-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar-logo {
    max-width: 150px;        /* Ancho máximo desktop */
    width: 100%;            /* Se adapta al container */
    height: auto;           /* Mantiene la proporción */
    display: block;
    object-fit: contain;    /* Nunca se deforma */
}

@media (max-width: 576px) {
    .navbar-logo {
        max-width: 120px;   /* Ancho máximo mobile */
    }
}

.navbar-spacer {
    min-width: 120px;
}

/* Responsive navbar */
@media (max-width: 576px) {
    .navbar-sticky {
        padding: 0.75rem 0;
        height: 60px;
    }

    .navbar-container {
        padding: 0 1rem;
    }

    .status-indicator {
        min-width: 100px;
    }

    .status-text {
        font-size: 0.75rem;
    }

    .navbar-logo {
        font-size: 1.25rem;
    }

    .navbar-spacer {
        min-width: 100px;
    }
}

/* ============================================
   CONTENEDOR PRINCIPAL
   ============================================ */

.main-container-pvt {
    text-align: left;
    margin: 0 auto;
    min-height: 100vh;
    margin-top: 12px;
    padding: 2rem 1.5rem;
    padding-bottom: 20px;
    width: 100%;
}

/* Ancho responsivo progresivo */
@media (min-width: 768px) {
    .main-container-pvt {
        width: 85%;
        padding: 2rem 0;
    }
}

@media (min-width: 992px) {
    .main-container-pvt {
        width: 80%;
        padding: 2rem 0;
    }
}

@media (min-width: 1200px) {
    .main-container-pvt {
        width: 75%;
        padding: 2rem 0;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    margin-bottom: 4rem;
    text-align: center;
    padding: 2rem 0;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
}

@media (max-width: 576px) {
    .hero-section {
        margin-bottom: 2.5rem;
        padding: 1rem 0;
    }
}

/* ============================================
   SECCIÓN DE PRICING
   ============================================ */

.pricing-section {
    margin-top: 4rem;
}

.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.75rem, 6vw, 2.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Contenedor de tarjetas de pricing */
.pricing-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: flex-start;
}

@media (max-width: 1000px) {
    .pricing-container {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .pricing-card-featured {
        max-width: 100%;
    }
}

/* Tarjeta de pricing */
.pricing-card {
    position: relative;
    background: var(--background);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: var(--primary-color);
}

.pricing-card-featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, rgba(37, 99, 235, 0.05) 100%);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 1.5rem;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-badge.featured {
    background-color: var(--primary-color);
    color: white;
}

.pricing-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-right: 0.25rem;
}

.amount {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

.pricing-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* Features list */
.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.feature-item.disabled {
    opacity: 0.5;
    color: var(--text-muted);
}

.feature-icon {
    width: 20px;
    height: 20px;
    color: var(--success-color);
    flex-shrink: 0;
}

.feature-item.disabled .feature-icon {
    color: var(--border-light);
}

/* Botón de plan */
.btn-plan {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
}

.btn-plan:hover {
    background-color: var(--primary-dark);
    color: white;
    text-decoration: none;
}

.btn-plan-featured {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    box-shadow: var(--shadow-md);
}

.btn-plan-featured:hover {
    box-shadow: var(--shadow-lg);
    color: white;
}

/* ============================================
   TIPOGRAFÍA Y UTILIDADES
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ============================================
   SCROLL SMOOTH Y COMPORTAMIENTO
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

button:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.h1p {
  font-size: 3rem;
  display: block;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.h2p {
  font-size: 2.5rem;
  display: block;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.h3p {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.h4p {
  font-size: 1.40625rem;
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.h5p {
  font-size: 1.171875rem;
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.h6p {
  font-size: 0.9375rem;
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.h7p {
  font-size: 0.8rem;
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.h8p {
  font-size: 0.6rem;
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.text-normal-h6p{
  font-size: 0.99rem;
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.text-normal-h7p{
  font-size: 0.88rem;
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

@media screen and (max-width: 575px) {
  .text-normal-h7p{
    font-size: 0.79rem;
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1.2;
  }
}

.text-normal-h9p{
  font-size: 0.58rem;
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

@media screen and (max-width: 575px) {
  .text-normal-h9p{
    font-size: 0.50rem;
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1.2;
  }
}

@media screen and (max-width: 575px) {
  .text-normal-h6p{
    font-size: 0.88rem;
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1.2;
  }
}

.text-normal-h5p{
  font-size: 1.17188rem;
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

@media screen and (max-width: 575px) {
  .text-normal-h5p{
    font-size: 0.9375rem;
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1.2;
  }
}

.text-normal-h4p{
  font-size: 1.40625rem;
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

@media screen and (max-width: 575px) {
  .text-normal-h4p{
    font-size: 1.17188rem;
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1.2;
  }
}

.text-normal-h3p{
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

@media screen and (max-width: 575px) {
  .text-normal-h3p{
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1.2;
  }
}

/* ============================================
   DARK MODE OPCIONAL (comentado por defecto)
   ============================================ */

/* 
@media (prefers-color-scheme: dark) {
    :root {
        --background: #0f172a;
        --surface-light: #1e293b;
        --border-light: #334155;
        --text-dark: #f1f5f9;
        --text-muted: #cbd5e1;
    }

    .navbar-sticky {
        background-color: var(--background);
        border-bottom-color: var(--border-light);
    }
}
*/

.whatsapp-float {
  position: fixed;
  bottom: calc(90px + env(safe-area-inset-bottom));
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;               /* 🔥 Esto centra el icono de verdad */
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  z-index: 1000;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ============================================
   SECCIÓN DE PREGUNTAS FRECUENTES
   ============================================ */

.faq-section {
    margin-top: 4rem;
    margin-bottom: 2rem;
}
 
.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}
 
.faq-list {
    width: 100%;
}
 
.faq-item {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-light);
    width: 100%;
}
 
.faq-item:last-child {
    border-bottom: none;
}
 
.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    margin-top: 0;
    font-family: 'Poppins', sans-serif;
}
 
.faq-answer {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}
 
@media (max-width: 576px) {
    .faq-item {
        padding: 1.5rem 0;
    }
 
    .faq-question {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
 
    .faq-answer {
        font-size: 0.9rem;
    }
}

.status-container-wk {
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.status-dot-wk {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

/* Animación opcional para el punto */
.status-dot-active-wk::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 50%;
    animation: pulse-wk 2s infinite;
    opacity: 0.6;
}

@keyframes pulse-wk {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2.5); opacity: 0; }
}

.location-card-wk {
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.location-card-wk:hover {
    background-color: #f8f9fa;
}

/* ============================================
   MENÚ SLIDE
   ============================================ */

.menu-toggle {
    display: flex;
    align-items: center;
}

.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.95rem;
}

.menu-btn:hover {
    color: var(--primary-color);
}

.menu-icon {
    width: 24px;
    height: 24px;
}

.menu-text {
    display: none;
}

@media (min-width: 768px) {
    .menu-text {
        display: inline;
    }
}

@media (max-width: 767px) {
    .menu-btn {
        gap: 0;
    }
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-slide {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--background);
    box-shadow: var(--shadow-xl);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 2rem 0;
    overflow-y: auto;
}

.menu-slide.active {
    left: 0;
}

.menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: var(--transition);
}

.menu-close:hover {
    color: var(--primary-color);
}

.menu-close svg {
    width: 24px;
    height: 24px;
}

.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 3rem;
}

.menu-link {
    display: block;
    padding: 1.25rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.menu-link:hover {
    background-color: var(--surface-light);
    border-left-color: var(--primary-color);
    color: var(--primary-color);
    padding-left: 1.75rem;
}

@media (max-width: 576px) {
    .menu-slide {
        max-width: 100%;
    }

    .menu-link {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    border-top: 1px solid var(--border-light);
    margin-top: 2rem;
    padding: 3rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    align-items: start;
    margin-bottom: 2rem;
}

.footer-section {
    text-align: left;
}

.footer-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-text:last-child {
    margin-bottom: 0;
}

.footer-link {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.footer-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.footer-divider {
    display: none;
    height: 1px;
    background-color: var(--border-light);
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-divider {
        display: block;
        margin: 0 -1.5rem;
    }

    .footer-section {
        padding: 1rem 0;
    }
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.cursor-pointer {
    cursor: pointer;
}

/* === Trust Hero === */
.trust-hero {
    padding: 88px 20px 40px;
    text-align: center;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}
.trust-hero-inner {
    max-width: 700px;
    margin: 0 auto;
}
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0f7ff;
    color: #1a5fa8;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 18px;
}
.trust-title {
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.25;
    margin-bottom: 16px;
}
.trust-subtitle {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 32px;
}
.trust-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.trust-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.trust-stat-number {
    font-size: 1.7rem;
    font-weight: 700;
    color: #1a1a2e;
}
.trust-stat-label {
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* === Companies Slider === */
.companies-slider-section {
    padding: 60px 0 20px;
    background: #fff;
}
.companies-slider-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 20px;
}
.companies-fade-left,
.companies-fade-right {
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.companies-fade-left  { left: 0;  background: linear-gradient(90deg, #fff 0%, transparent 100%); }
.companies-fade-right { right: 0; background: linear-gradient(270deg, #fff 0%, transparent 100%); }

@keyframes logosMarquee {
    0%   { transform: translate3d(0,0,0); }
    100% { transform: translate3d(-50%,0,0); }
}
.logos-track {
    display: flex;
    align-items: center;
    height: 100%;
    width: max-content;
    animation: logosMarquee 40s linear infinite;
    will-change: transform;
    transform: translate3d(0,0,0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.logos-track:hover { animation-play-state: paused; }
.logos-track img {
    max-height: 34px;
    object-fit: contain;
    opacity: 0.55;
    filter: grayscale(100%);
    transition: opacity 0.2s, filter 0.2s;
    transform: translateZ(0);
}
.logos-track img:hover { opacity: 1; filter: grayscale(0%); }
