/* --- Variables CSS Globales --- */
:root {
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    --color-brand: #3b82f6; /* Azul primario */
    --color-brand-dark: #2563eb;
    --color-text-light: #f9fafb;
    --color-text-primary: #1f2937; /* Gris oscuro para texto */
    --color-text-secondary: #4b5563; /* Gris más claro */
    --color-bg-dark: #111827; /* Fondo oscuro */
    --color-bg-light: #f9fafb; /* Fondo claro */
    --color-border: #e5e7eb;
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* --- Estilos Base y Tipografía --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    background-color: var(--color-bg-light);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
    font-family: var(--font-primary);
    font-weight: 900;
    color: var(--color-text-primary);
    line-height: 1.2;
}
.container { width: 90%; max-width: 1140px; margin: 0 auto; }

/* --- Componentes Reutilizables --- */
.btn { display: inline-block; padding: 12px 28px; font-family: var(--font-secondary); font-weight: 600; text-decoration: none; border-radius: 8px; transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease; border: none; cursor: pointer; }
.btn-primary { background-color: var(--color-brand); color: var(--color-text-light); box-shadow: var(--shadow-md); }
.btn-primary:hover { background-color: var(--color-brand-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { background-color: transparent; color: var(--color-brand); border: 2px solid var(--color-brand); }
.btn-secondary:hover { background-color: var(--color-brand); color: var(--color-text-light); }
.btn-lg { font-size: 1.1rem; padding: 16px 36px; }

/* --- Navegación --- */
.navbar { background-color: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); padding: 1rem 0; border-bottom: 1px solid var(--color-border); position: sticky; top: 0; z-index: 1000; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.navbar .logo img { height: 50px; }
.navbar .nav-links { list-style: none; display: flex; gap: 1.5rem; }
.navbar .nav-links a { color: var(--color-text-secondary); font-weight: 600; text-decoration: none; transition: color 0.2s ease; }
.navbar .nav-links a:hover { color: var(--color-brand); }

/* --- Hero Section --- */
.hero { background-color: var(--color-bg-dark); color: var(--color-text-light); padding: 6rem 0; text-align: center; }
.hero-title { font-size: 3.5rem; color: var(--color-text-light); margin-bottom: 1.5rem; }
.hero-subtitle { font-size: 1.25rem; max-width: 700px; margin: 0 auto 2.5rem auto; color: #d1d5db; }

/* --- Estructura de Secciones --- */
section { padding: 5rem 0; }
.section-light { background-color: var(--color-bg-light); }
.section-dark { background-color: var(--color-bg-dark); }
.section-title { font-size: 2.5rem; text-align: center; margin-bottom: 3.5rem; }
.section-dark .section-title { color: var(--color-text-light); }
.section-subtitle { max-width: 600px; margin: 0 auto 3rem auto; font-size: 1.1rem; color: var(--color-text-secondary); }
.text-center { text-align: center; }

/* --- Columnas y Tarjetas --- */
.three-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.column-card { background: #fff; padding: 2rem; border-radius: 12px; box-shadow: var(--shadow-md); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.column-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.column-card h3 { margin-bottom: 1rem; color: var(--color-brand); }

/* --- [ACTUALIZADO] Precios --- */
.pricing-table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: stretch; }
.pricing-card { display: flex; flex-direction: column; background-color: #1f2937; border: 1px solid #374151; color: var(--color-text-light); padding: 2.5rem 2rem; border-radius: 12px; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; }
.plan-title { color: var(--color-text-light); margin-bottom: 1.5rem; font-size: 1.25rem; }
.price-container { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 1.5rem; }
.price-item { text-align: center; }
.price-amount { display: block; font-family: var(--font-primary); font-size: 2rem; font-weight: 900; color: var(--color-brand-light); line-height: 1.1; }
.price-label { font-size: 0.9rem; color: #9ca3af; }
.price-separator { font-size: 2rem; color: #4b5563; }
.features-list { list-style: none; margin-bottom: 2rem; color: #d1d5db; text-align: left; padding-left: 1rem; flex-grow: 1;}
.features-list li { padding: 0.5rem 0; border-bottom: 1px solid #374151; }
.features-list li:last-child { border-bottom: none; }
.pricing-card .btn { margin-top: auto; }
.pricing-card.featured { transform: scale(1.05); border: 2px solid var(--color-brand); box-shadow: 0 0 25px rgba(59, 130, 246, 0.3); }
.featured-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background-color: var(--color-brand); color: var(--color-text-light); padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.currency-switcher { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-bottom: 3rem; color: var(--color-text-light); }
.currency-switcher .switch { position: relative; display: inline-block; width: 50px; height: 28px; }
.currency-switcher .switch input { opacity: 0; width: 0; height: 0; }
.currency-switcher .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #4b5563; transition: .4s; border-radius: 28px; }
.currency-switcher .slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; }
.currency-switcher input:checked + .slider { background-color: var(--color-brand); }
.currency-switcher input:checked + .slider:before { transform: translateX(22px); }
.currency-label { font-weight: 600; color: #9ca3af; transition: color 0.4s ease; }
.currency-label.active { color: var(--color-text-light); }

/* --- "Cómo Funciona" --- */
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.step-card { background: #fff; padding: 2.5rem 2rem; border-radius: 12px; box-shadow: var(--shadow-md); position: relative; }
.step-number { position: absolute; top: -25px; left: 50%; transform: translateX(-50%); background-color: var(--color-brand); color: var(--color-text-light); width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-primary); font-size: 1.5rem; font-weight: 900; border: 4px solid var(--color-bg-light); }
.step-card h3 { margin-top: 2rem; margin-bottom: 1rem; }

/* --- FAQs --- */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background-color: #1f2937; margin-bottom: 1rem; border: 1px solid #374151; border-radius: 8px; }
.faq-summary { font-family: var(--font-secondary); font-weight: 600; font-size: 1.1rem; color: var(--color-text-light); padding: 1.5rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary::after { content: '+'; font-size: 1.5rem; color: var(--color-brand); transition: transform 0.3s ease; }
.faq-item[open] > .faq-summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 1.5rem 1.5rem 1.5rem; color: #d1d5db; border-top: 1px solid #374151; }

/* --- Formulario y Footer --- */
#ghl-form-container { max-width: 600px; margin: 2rem auto 0 auto; }
.footer { background: var(--color-bg-dark); color: #9ca3af; text-align: center; padding: 2rem 0; }

/* --- Media Queries --- */
@media (max-width: 992px) {
    .three-columns, .pricing-table, .process-steps { grid-template-columns: 1fr; }
    .pricing-card.featured { transform: scale(1); }
    .hero-title { font-size: 2.5rem; }
    .navbar .nav-links, .navbar .btn { display: none; }
}