/* ==========================================================================
   TECHPOINT SOLUCIONES - HOJA DE ESTILOS OFICIAL
   Paleta de Color Oficial (Brand Style Guide):
   - Azul Marino:    #0B2A6B (Confianza, Estabilidad)
   - Azul Eléctrico: #007BFF (Innovación, Tecnología)
   - Cian:           #00C2FF (Dinamismo, Crecimiento)
   - Verde Agua:     #00D4A7 (Soluciones, Progreso)
   - Gris Claro:     #F2F4F7 (Equilibrio, Claridad)
   ========================================================================== */

:root {
    --color-primary: #0B2A6B;       /* Azul Marino */
    --color-secondary: #007BFF;     /* Azul Eléctrico */
    --color-accent: #00C2FF;        /* Cian */
    --color-teal: #00D4A7;          /* Verde Agua / Teal */
    --color-success: #00D4A7;       /* Botón de acción / WhatsApp */
    --color-bg-light: #F2F4F7;      /* Gris Claro de fondo */
    --color-card-bg: #FFFFFF;
    --color-text-main: #0F172A;
    --color-text-muted: #5A6A85;
    --color-border: #DCE3EC;
    
    /* Tipografía */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Sombras y bordes */
    --shadow-sm: 0 1px 3px rgba(11, 42, 107, 0.06);
    --shadow-md: 0 6px 18px rgba(11, 42, 107, 0.08);
    --shadow-lg: 0 14px 32px rgba(11, 42, 107, 0.12);
    --radius-md: 12px;
    --radius-lg: 18px;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-light);
}

body {
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* NAVEGACIÓN */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 42, 107, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 194, 255, 0.2);
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 194, 255, 0.3));
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    color: #E2E8F0;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--color-accent);
}

.nav-highlight {
    background: rgba(0, 194, 255, 0.15);
    border: 1px solid var(--color-accent);
    color: var(--color-accent) !important;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600 !important;
}

.nav-btn-wa {
    background: linear-gradient(135deg, var(--color-teal), #059669);
    color: white !important;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(0, 212, 167, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.nav-btn-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 212, 167, 0.5) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: white;
}

/* HERO SECTION */
.hero {
    position: relative;
    background: radial-gradient(circle at 85% 15%, rgba(0, 123, 255, 0.35), transparent 50%),
                radial-gradient(circle at 15% 85%, rgba(0, 194, 255, 0.2), transparent 50%),
                var(--color-primary);
    color: white;
    padding: 80px 20px 65px 20px;
    text-align: center;
}

.hero-content {
    max-width: 920px;
    margin: 0 auto;
}

.badge-coverage {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 194, 255, 0.4);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: #E2E8F0;
    margin-bottom: 22px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-accent);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    background: linear-gradient(180deg, #FFFFFF 65%, #C7D8F2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 17px;
    color: #CBD5E1;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    color: white;
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.45);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 194, 255, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* SELLOS DE CONFIANZA RÁPIDA (HERO) */
.trust-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    margin-bottom: 35px;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #E2E8F0;
    font-weight: 500;
}

.t-icon {
    font-size: 16px;
}

/* BANNER ILUSTRATIVO */
.hero-banner-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(11, 42, 107, 0.45);
    border: 2px solid rgba(0, 194, 255, 0.3);
}

.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* SECCIONES COMUNES */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px auto;
}

.section-tag {
    display: inline-block;
    color: var(--color-secondary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 15px;
}

/* SECCIÓN RASTREO EN VIVO (CONECTADO AL CRM) */
.tracking-section {
    background: #FFFFFF;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.tracking-card {
    background: #FFFFFF;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    max-width: 860px;
    margin: 0 auto;
}

.tracking-header {
    text-align: center;
    margin-bottom: 25px;
}

.tracking-badge {
    display: inline-block;
    background: #E0F2FE;
    color: var(--color-secondary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.tracking-header h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.tracking-header p {
    font-size: 14px;
    color: var(--color-text-muted);
}

.tracking-form {
    max-width: 580px;
    margin: 0 auto 20px auto;
}

.search-input-box {
    display: flex;
    gap: 10px;
    background: var(--color-bg-light);
    border: 2px solid var(--color-border);
    border-radius: 10px;
    padding: 6px 8px 6px 14px;
    align-items: center;
    transition: border-color 0.2s;
}

.search-input-box:focus-within {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.15);
}

.search-input-box input {
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    outline: none;
    flex-grow: 1;
}

.tracking-hints {
    font-size: 12px;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 10px;
}

.hint-btn {
    background: none;
    border: 1px solid var(--color-accent);
    color: var(--color-secondary);
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 11px;
    cursor: pointer;
    font-weight: 600;
}

.tracking-result-box {
    margin-top: 25px;
    border-top: 1px solid var(--color-border);
    padding-top: 25px;
}

.result-card {
    background: var(--color-bg-light);
    border-radius: var(--radius-md);
    padding: 24px;
    border-left: 5px solid var(--color-secondary);
}

.result-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 12px;
}

.result-folio {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-primary);
}

.result-status-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
}

.status-listo { background: #D1FAE5; color: #065F46; }
.status-proceso { background: #FEF3C7; color: #92400E; }
.status-recibido { background: #E0F2FE; color: #0369A1; }

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
    font-size: 13px;
}

.result-item strong {
    display: block;
    color: var(--color-text-muted);
    font-size: 11px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

/* PILARES DE SEGURIDAD Y CONFIANZA */
.trust-section {
    background: var(--color-bg-light);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.pillar-card {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.pillar-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.p-icon {
    font-size: 34px;
    margin-bottom: 16px;
}

.pillar-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.pillar-card p {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* PROCESO TRANSPARENTE EN 4 PASOS */
.process-section {
    background: #FFFFFF;
}

.steps-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.step-card {
    position: relative;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 30px 24px;
    text-align: center;
}

.step-number {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.step-card h4 {
    font-family: var(--font-heading);
    font-size: 17px;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.step-card p {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* SERVICIOS */
.services-section {
    background: var(--color-bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card.featured-service {
    border: 2px solid var(--color-accent);
}

.featured-ribbon {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
}

.service-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.service-bullets {
    list-style: none;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-bullets li {
    font-size: 13px;
    color: #334155;
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.service-bullets li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-teal);
    font-weight: bold;
}

.service-price {
    font-size: 14px;
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-border);
    padding-top: 14px;
}

.service-price strong {
    font-size: 18px;
    color: var(--color-primary);
}

/* COTIZADOR INTERACTIVO */
.calculator-section {
    background: #FFFFFF;
}

.calculator-card {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--shadow-md);
}

.calc-group {
    margin-bottom: 24px;
}

.calc-group h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--color-primary);
    margin-bottom: 14px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 6px;
}

.calc-item {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.calc-item:hover {
    border-color: var(--color-secondary);
}

.calc-item input {
    width: 18px;
    height: 18px;
    accent-color: var(--color-secondary);
    margin-right: 14px;
}

.check-label {
    flex-grow: 1;
    font-size: 14px;
    font-weight: 500;
}

.check-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-secondary);
}

.summary-box {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 90px;
}

.summary-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
    border-bottom: 2px solid var(--color-bg-light);
    padding-bottom: 10px;
}

.selected-services {
    min-height: 80px;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.selected-pill {
    background: #EBF3FA;
    padding: 6px 10px;
    border-radius: 6px;
    margin-bottom: 6px;
    font-size: 12px;
    color: var(--color-primary);
}

.summary-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed var(--color-border);
    padding-top: 14px;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}

.summary-total {
    font-size: 26px;
    font-weight: 800;
    color: var(--color-primary);
}

.summary-note {
    font-size: 11px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.4;
}

.btn-wa-block {
    width: 100%;
    background: linear-gradient(135deg, var(--color-teal), #059669);
    color: white;
    padding: 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 212, 167, 0.35);
    transition: transform 0.2s ease;
}

.btn-wa-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 212, 167, 0.5);
}

/* COBERTURA */
.coverage-section {
    background: var(--color-bg-light);
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.coverage-card {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: transform 0.2s;
}

.coverage-card:hover {
    transform: translateY(-3px);
}

.coverage-card.base-zone {
    border: 2px solid var(--color-secondary);
    background: #F0F8FF;
}

.zone-badge {
    display: inline-block;
    background: #E0F2FE;
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.coverage-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.coverage-card p {
    font-size: 13px;
    color: var(--color-text-muted);
}

.coverage-boundary-notice {
    background: #FFFBEB;
    border-left: 4px solid #F59E0B;
    padding: 16px 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #92400E;
}

/* TESTIMONIOS */
.testimonials-section {
    background: #FFFFFF;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.t-stars {
    font-size: 16px;
    margin-bottom: 12px;
}

.t-quote {
    font-size: 14px;
    font-style: italic;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 20px;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.t-avatar {
    width: 42px;
    height: 42px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.t-author strong {
    display: block;
    color: var(--color-primary);
    font-size: 14px;
}

.t-author span {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* FAQ */
.faq-section {
    background: var(--color-bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    font-size: 20px;
    font-weight: bold;
    color: var(--color-secondary);
    transition: transform 0.2s;
}

.faq-answer {
    display: none;
    padding: 0 24px 20px 24px;
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* FOOTER */
.footer {
    background: var(--color-primary);
    color: #CBD5E1;
    padding: 60px 0 20px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-slogan {
    font-style: italic;
    color: var(--color-accent);
    margin: 10px 0 6px 0;
    font-size: 14px;
}

.footer-location {
    font-size: 12px;
    color: #94A3B8;
}

.footer-links h4 {
    color: white;
    font-family: var(--font-heading);
    font-size: 15px;
    margin-bottom: 14px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    font-size: 13px;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
}

/* BOTÓN FLOTANTE WHATSAPP */
.floating-wa {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
    z-index: 999;
    transition: transform 0.2s ease;
}

/* SIMULADOR INTERACTIVO DE ASISTENTE CON IA */
.ai-demo-section {
    background: radial-gradient(circle at 50% 50%, rgba(0, 194, 255, 0.08), transparent 70%), #FFFFFF;
}

.ai-simulator-wrapper {
    max-width: 680px;
    margin: 0 auto;
}

.simulator-presets {
    text-align: center;
    margin-bottom: 24px;
}

.preset-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.preset-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.preset-btn {
    background: var(--color-bg-light);
    border: 1.5px solid var(--color-border);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-main);
    cursor: pointer;
    transition: all 0.2s;
}

.preset-btn:hover {
    border-color: var(--color-secondary);
}

.preset-btn.active {
    background: var(--color-primary);
    border-color: var(--color-accent);
    color: white;
    box-shadow: 0 4px 12px rgba(11, 42, 107, 0.25);
}

.phone-mockup {
    background: #EFEAE2; /* Fondo clásico de WhatsApp */
    border: 10px solid #1E293B;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2);
    display: flex;
    flex-direction: column;
    height: 520px;
    position: relative;
}

.phone-header {
    background: #075E54;
    color: white;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.phone-avatar {
    width: 40px;
    height: 40px;
    background: #128C7E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.phone-contact-info {
    display: flex;
    flex-direction: column;
}

.phone-contact-name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.phone-contact-status {
    font-size: 11px;
    color: #D1FAE5;
    display: flex;
    align-items: center;
    gap: 5px;
}

.online-indicator {
    width: 6px;
    height: 6px;
    background: #25D366;
    border-radius: 50%;
    display: inline-block;
}

.chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-bubble {
    max-width: 82%;
    padding: 9px 13px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.45;
    position: relative;
    word-break: break-word;
}

.bubble-bot {
    background: #FFFFFF;
    color: #111827;
    align-self: flex-start;
    border-top-left-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.bubble-user {
    background: #D9FDD3;
    color: #111827;
    align-self: flex-end;
    border-top-right-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.bubble-time {
    display: block;
    font-size: 10px;
    color: #8696A0;
    text-align: right;
    margin-top: 3px;
}

.chat-suggestions {
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.suggestion-chip {
    white-space: nowrap;
    background: #FFFFFF;
    border: 1px solid #128C7E;
    color: #075E54;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.suggestion-chip:hover {
    background: #075E54;
    color: white;
}

.chat-input-bar {
    background: #F0F2F5;
    padding: 10px 14px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-input-bar input {
    flex-grow: 1;
    background: white;
    border: none;
    border-radius: 24px;
    padding: 9px 16px;
    font-size: 13px;
    outline: none;
}

.btn-chat-send {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #075E54;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: transform 0.15s;
}

.btn-chat-send:hover {
    transform: scale(1.08);
}

.simulator-cta {
    background: linear-gradient(135deg, var(--color-primary), #023E8A);
    color: white;
    border-radius: var(--radius-md);
    padding: 26px;
    text-align: center;
    margin-top: 24px;
    box-shadow: var(--shadow-md);
}

.simulator-cta h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 8px;
}

.simulator-cta p {
    font-size: 13px;
    color: #CBD5E1;
    margin-bottom: 18px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .calculator-card { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }
    .hero-title { font-size: 34px; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-primary);
        flex-direction: column;
        padding: 20px;
    }
    .nav-links.active { display: flex; }
    .hamburger { display: flex; }
    .search-input-box { flex-direction: column; align-items: stretch; }
}
