/* ==============================================================================
   Predictor - Estilo Moderno, Fiable y Profesional para el Sector Agrario
   Tipografía: Outfit (Titulares limpios) + Inter (Lectura clara)
   100% Responsive: Menú móvil deslizante y tarjetas comparativas para móvil
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

:root {
    --bg-page: #f8fafc;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-subtle: #f1f5f9;
    --bg-dark: #0f172a;
    
    --brand-dark: #0a3319;
    --brand-green: #15803d;
    --brand-green-hover: #166534;
    --brand-green-subtle: #f0fdf4;
    --brand-green-border: #bbf7d0;
    
    --accent-gold: #b45309;
    --accent-gold-subtle: #fef3c7;
    
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-white: #ffffff;
    
    --border-light: #e2e8f0;
    --border-subtle: #cbd5e1;
    --border-focus: #15803d;
    
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Tipografía */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
}

/* ==============================================================================
   NAVBAR (Limpia, Alineada, Sin "Agrícola", Menú Móvil Nativo)
   ============================================================================== */
.navbar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    position: relative;
}

/* Logo: Solo "Predictor" con icono SVG limpio */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    flex-shrink: 0;
}

.brand-icon-svg {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: block;
    flex-shrink: 0;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1;
}

/* Navegación Desktop */
.nav-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    list-style: none;
}

.nav-link {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.15s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--brand-green);
}

.nav-desktop-cta {
    display: block;
}

.nav-mobile-cta {
    display: none;
}

.nav-cta-btn {
    background: var(--brand-green);
    color: var(--text-white);
    padding: 0.65rem 1.35rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(21, 128, 61, 0.3);
    white-space: nowrap;
}

.nav-cta-btn:hover {
    background: var(--brand-green-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(21, 128, 61, 0.35);
}

/* Botón Hamburguesa Móvil */
.mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 38px;
    justify-content: center;
    align-items: center;
}

.hamburger-bar {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.25s ease;
}

.mobile-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Botones Comunes */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--brand-green);
    color: var(--text-white);
    box-shadow: 0 2px 4px rgba(21, 128, 61, 0.2);
}

.btn-primary:hover {
    background: var(--brand-green-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(21, 128, 61, 0.25);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--text-primary);
    border-color: var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--bg-subtle);
    border-color: var(--text-primary);
}

/* ==============================================================================
   HERO SECTION
   ============================================================================== */
.hero-section {
    padding: 4.5rem 0 4rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid var(--border-light);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--brand-green-subtle);
    border: 1px solid var(--brand-green-border);
    color: var(--brand-green);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: 3.1rem;
    line-height: 1.12;
    margin-bottom: 1.3rem;
    color: var(--text-primary);
}

.hero-title span {
    color: var(--brand-green);
}

.hero-description {
    font-size: 1.12rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2.2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.8rem;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 1.8rem;
    border-top: 1px solid var(--border-light);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-number span {
    color: var(--brand-green);
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: 0.2rem;
}

/* Tarjeta de Fotografía Hero */
.hero-visual-box {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    background: var(--bg-white);
}

.hero-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hero-photo-footer {
    background: var(--bg-white);
    padding: 1.2rem 1.4rem;
    border-top: 1px solid var(--border-light);
}

.hero-photo-badge {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-green);
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    display: block;
}

.hero-photo-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==============================================================================
   SECCIÓN DE PROBLEMA Y CONTEXTO
   ============================================================================== */
.problem-section {
    padding: 5rem 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.section-header {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 3.5rem;
}

.section-pill-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand-green);
    margin-bottom: 0.6rem;
}

.section-title {
    font-size: 2.35rem;
    margin-bottom: 0.9rem;
}

.section-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.feature-card {
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-subtle);
}

.feature-icon-wrapper {
    width: 44px;
    height: 44px;
    background: var(--brand-green-subtle);
    border: 1px solid var(--brand-green-border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: var(--brand-green);
}

.feature-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

.feature-card-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==============================================================================
   SIMULADOR DE PRECIOS INTERACTIVO
   ============================================================================== */
.simulator-section {
    padding: 5rem 0;
    background: var(--bg-page);
    border-bottom: 1px solid var(--border-light);
}

.simulator-box {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.sim-selectors-bar {
    padding: 1.8rem 2.2rem;
    border-bottom: 1px solid var(--border-light);
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1.5rem;
    align-items: end;
    background: #fafaf9;
}

.sim-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.sim-input-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.sim-select-control {
    background: var(--bg-white);
    border: 1px solid var(--border-subtle);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s;
}

.sim-select-control:focus {
    border-color: var(--brand-green);
    box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.15);
}

.sim-scenarios-container {
    padding: 1.3rem 2.2rem;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.sim-scenarios-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.sim-scenarios-pills {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.scenario-btn {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s ease;
}

.scenario-btn:hover {
    border-color: var(--border-subtle);
    color: var(--text-primary);
}

.scenario-btn.active {
    background: var(--brand-green-subtle);
    border-color: var(--brand-green);
    color: var(--brand-green);
    font-weight: 700;
}

/* Salida del Simulador */
.sim-results-container {
    padding: 2.2rem;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 2.5rem;
    align-items: center;
}

.price-display-card {
    background: var(--brand-green-subtle);
    border: 1px solid var(--brand-green-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
}

.price-card-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #166534;
    letter-spacing: 0.04em;
    margin-bottom: 0.4rem;
    display: block;
}

.price-huge-number {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 800;
    color: #15803d;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.price-range-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #166534;
    margin-bottom: 0.8rem;
}

.price-timeframe-tag {
    display: inline-block;
    background: #ffffff;
    border: 1px solid #86efac;
    color: #14532d;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.8rem;
    border-radius: var(--radius-full);
}

.sim-explanation-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sim-advice-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sim-advice-paragraph {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.sim-factors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: 0.4rem;
}

.factor-box {
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.factor-box strong {
    color: var(--text-primary);
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

/* ==============================================================================
   TABLA COMPARATIVA (Desktop vs Mobile Cards)
   ============================================================================== */
.comparison-section {
    padding: 5rem 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

/* Vista Desktop: Tabla tradicional limpia */
.table-desktop-view {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th, .comparison-table td {
    padding: 1.15rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
    background: var(--bg-subtle);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.comparison-table th.col-highlight {
    background: var(--brand-green-subtle);
    color: var(--brand-green);
    border-top: 3px solid var(--brand-green);
}

.comparison-table td.col-highlight {
    background: #f0fdf4;
    font-weight: 600;
    color: #14532d;
}

.badge-yes { color: #16a34a; font-weight: 700; }
.badge-no { color: #dc2626; font-weight: 500; }
.badge-maybe { color: #d97706; }

/* Vista Móvil: Tarjetas Nativas (Adiós tablas rotas) */
.comparison-cards-mobile {
    display: none;
    flex-direction: column;
    gap: 1.2rem;
}

.comp-mobile-card {
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.4rem;
    box-shadow: var(--shadow-sm);
}

.comp-mobile-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.comp-mobile-row {
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.6rem;
}

.comp-mobile-row:last-child {
    margin-bottom: 0;
}

.comp-mobile-row.traditional {
    background: #ffffff;
    border: 1px solid var(--border-light);
}

.comp-mobile-row.predictor {
    background: var(--brand-green-subtle);
    border: 1px solid var(--brand-green-border);
}

.comp-mobile-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 0.25rem;
}

.comp-mobile-tag.bad {
    color: #b91c1c;
}

.comp-mobile-tag.good {
    color: var(--brand-green);
}

.comp-mobile-text {
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.45;
}

/* ==============================================================================
   COMPROMISOS DE FIABILIDAD
   ============================================================================== */
.commitments-section {
    padding: 5rem 0;
    background: var(--bg-page);
    border-bottom: 1px solid var(--border-light);
}

.commitments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.commitment-item {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2.2rem;
    border-left: 4px solid var(--brand-green);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease;
}

.commitment-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.commitment-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.65rem;
    color: var(--text-primary);
}

.commitment-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ==============================================================================
   CALCULADORA DE RENTABILIDAD EN CÉNTIMOS
   ============================================================================== */
.calculator-section {
    padding: 5rem 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.calculator-wrapper {
    background: #fafaf9;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.8rem;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3.5rem;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
}

.calc-inputs-column,
.calculator-wrapper > * {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.calc-control-group {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.8rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.calc-control-group:last-child {
    margin-bottom: 0;
}

.calc-control-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.75rem;
    width: 100%;
    box-sizing: border-box;
}

.calc-control-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    flex: 1 1 160px;
    min-width: 120px;
    line-height: 1.35;
}

.calc-control-val {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--brand-green);
    background: var(--brand-green-subtle);
    border: 1px solid var(--brand-green-border);
    padding: 0.22rem 0.65rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: -0.01em;
}

.calc-slider {
    width: 100%;
    max-width: 100%;
    height: 8px;
    border-radius: var(--radius-full);
    background: #e2e8f0;
    outline: none;
    cursor: pointer;
    accent-color: var(--brand-green);
    display: block;
    box-sizing: border-box;
    margin: 0.25rem 0;
}

.calc-result-card {
    background: var(--bg-white);
    border: 2px solid var(--brand-green-border);
    border-radius: var(--radius-md);
    padding: 2.4rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.calc-result-tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.4rem;
}

.calc-huge-money {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6.5vw, 3.6rem);
    font-weight: 800;
    color: var(--brand-green);
    line-height: 1.1;
    margin-bottom: 0.6rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.calc-money-subtext {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 1.5rem;
    word-break: break-word;
}

.calc-footer-stat {
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-light);
    padding-top: 0.8rem;
    word-break: break-word;
}

.calc-footer-stat strong {
    color: var(--text-primary);
}

/* ==============================================================================
   FORMULARIO DE CONTACTO / SOLICITAR DEMOSTRACIÓN (A oliverbl4@gmail.com)
   ============================================================================== */
.contact-section {
    padding: 5.5rem 0;
    background: linear-gradient(180deg, var(--bg-page) 0%, var(--bg-white) 100%);
}

.contact-card-box {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 4rem;
}

.contact-info-panel h3 {
    font-size: 2.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info-panel p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-perks-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.contact-perk-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.contact-perk-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand-green-subtle);
    border: 1px solid var(--brand-green-border);
    color: var(--brand-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.contact-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-inputs-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-field-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-field-input, .form-field-textarea {
    border: 1px solid var(--border-subtle);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--bg-white);
    outline: none;
    transition: all 0.15s ease;
}

.form-field-input:focus, .form-field-textarea:focus {
    border-color: var(--brand-green);
    box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.15);
}

.form-field-textarea {
    resize: vertical;
    min-height: 90px;
}

.form-submit-btn {
    background: var(--brand-green);
    color: var(--text-white);
    border: none;
    padding: 0.95rem 1.8rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(21, 128, 61, 0.25);
    margin-top: 0.5rem;
}

.form-submit-btn:hover {
    background: var(--brand-green-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(21, 128, 61, 0.35);
}

/* Modal o Alerta de Éxito y Envío a oliverbl4@gmail.com */
.email-dispatch-notice {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: var(--radius-md);
    padding: 2.2rem;
    text-align: center;
}

.dispatch-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.8rem;
}

.dispatch-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #166534;
    margin-bottom: 0.6rem;
}

.dispatch-text {
    font-size: 0.95rem;
    color: #14532d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.dispatch-actions {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==============================================================================
   FOOTER
   ============================================================================== */
.footer {
    background: var(--bg-dark);
    color: #94a3b8;
    padding: 3.5rem 0 2rem;
    font-size: 0.85rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.footer-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-nav-list a:hover {
    color: #4ade80;
}

.footer-bottom-line {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
}

/* ==============================================================================
   RESPONSIVE DESIGN (Móvil / Tablet / Desktop)
   ============================================================================== */
@media (max-width: 900px) {
    /* Menú Móvil Nativo */
    .mobile-toggle {
        display: flex;
    }

    .nav-desktop-cta {
        display: none;
    }

    .nav-menu-wrapper {
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        border-bottom: 2px solid var(--brand-green);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem 2rem 2rem;
        gap: 1.2rem;
        display: none;
    }

    .nav-menu-wrapper.open {
        display: flex;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        width: 100%;
    }

    .nav-link {
        font-size: 1.05rem;
        display: block;
        padding: 0.4rem 0;
        width: 100%;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-mobile-cta {
        display: block;
        width: 100%;
        margin-top: 0.5rem;
    }

    .nav-mobile-cta .nav-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 0.85rem;
        font-size: 1rem;
    }
}

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-title { font-size: 2.6rem; }
    .sim-results-container { grid-template-columns: 1fr; }
    .calculator-wrapper { 
        grid-template-columns: 1fr; 
        gap: 2.5rem;
        padding: 2.2rem 2rem;
    }
    .contact-card-box { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.15rem; }
    .hero-stats-grid { grid-template-columns: 1fr; gap: 1rem; }
    .cards-grid-3 { grid-template-columns: 1fr; }
    .commitments-grid { grid-template-columns: 1fr; }
    .sim-selectors-bar { grid-template-columns: 1fr; }
    .form-inputs-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .contact-card-box { padding: 2rem 1.5rem; }

    /* Calculadora en móvil */
    .calculator-section {
        padding: 4rem 0;
    }
    .calculator-wrapper {
        padding: 1.6rem 1.25rem;
        gap: 2rem;
        border-radius: var(--radius-md);
    }
    .calc-control-group {
        margin-bottom: 1.4rem;
    }
    .calc-result-card {
        padding: 1.75rem 1.25rem;
    }

    /* Cambio radical en móvil: Ocultar tabla y mostrar Tarjetas Nativas */
    .table-desktop-view {
        display: none;
    }

    .comparison-cards-mobile {
        display: flex;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    .calculator-section {
        padding: 3rem 0;
    }
    .calculator-wrapper {
        padding: 1.2rem 0.85rem;
        gap: 1.5rem;
    }
    .calc-control-group {
        margin-bottom: 1.2rem;
        gap: 0.5rem;
    }
    .calc-control-title {
        font-size: 0.88rem;
    }
    .calc-control-val {
        font-size: 0.82rem;
        padding: 0.18rem 0.5rem;
    }
    .calc-result-card {
        padding: 1.35rem 0.85rem;
    }
    .calc-money-subtext {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
    }
    .calc-footer-stat {
        font-size: 0.8rem;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .section-header {
        margin-bottom: 2.2rem;
    }
}

