﻿/*
Theme Name: ALEVIA Custom Theme
Theme URI: https://alevia.com.pe
Author: Global Tech
Author URI: https://alevia.com.pe
Description: Tema premium, corporativo y tecnológico y responsivo para ALEVIA, empresa de asesoría contable, tributaria y financiera. Logo propio, favicon, WhatsApp, chatbot con captura de leads, FAQ, formulario con consentimiento y plataforma responsive.
Version: 1.5.2
Text Domain: alevia-theme
*/

/* Reset & Variables — Paleta CLARA (v1.3.0) */
:root {
    --bg-dark: #FFFFFF;        /* fondo principal de la página */
    --bg-card: #FFFFFF;        /* superficie de tarjetas */
    --bg-soft: #F1F5F9;        /* secciones alternas (gris muy claro) */
    --accent-emerald: #059669; /* verde de marca con buen contraste sobre blanco */
    --accent-blue: #2563EB;    /* azul de marca con buen contraste sobre blanco */
    --text-light: #334155;     /* texto de párrafo */
    --text-muted: #64748B;     /* texto secundario */
    --text-dark: #0F172A;      /* texto de entrada / máximo contraste */
    --white: #0B1F3A;          /* títulos: navy profundo (alta jerarquía) */
    --pure-white: #FFFFFF;     /* blanco literal (texto sobre botones de color) */
    --surface-border: #E2E8F0; /* bordes de tarjetas y campos */
    --font-inter: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05), 0 2px 6px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 8px 20px -6px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 12px 24px -8px rgba(15, 23, 42, 0.14), 0 20px 40px -12px rgba(15, 23, 42, 0.12);
}

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

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

body {
    font-family: var(--font-inter);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

section[id] {
    scroll-margin-top: 96px;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 6.5rem 0;
}

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

.section-tag {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-emerald);
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

/* Custom Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--accent-emerald);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: #059669; /* darker emerald */
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(52, 211, 153, 0.3);
}

.btn-secondary {
    background-color: rgba(96, 165, 250, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(96, 165, 250, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid rgba(248, 250, 252, 0.2);
}

.btn-outline:hover {
    background-color: rgba(248, 250, 252, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--pure-white);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.3);
}

/* Header */
.site-header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, calc(100% - 32px));
    z-index: 1000;
    background-color: rgba(11, 31, 58, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(248, 250, 252, 0.08);
    border-radius: 9999px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(0, 0, 0, 0.15);
}

.site-header.scrolled {
    top: 12px;
    background-color: rgba(7, 20, 38, 0.9);
    border-color: rgba(96, 165, 250, 0.15);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding: 0 2rem;
    transition: var(--transition);
}

.site-header.scrolled .header-container {
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    flex-shrink: 0;
    padding-right: 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.logo span {
    color: var(--accent-emerald);
}

.logo-slogan {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
    margin-top: -4px;
}

.nav-menu-wrapper {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

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

.header-actions-mobile {
    display: none;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.5rem 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-emerald);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.header-actions .btn {
    padding: 0.625rem 1.35rem;
    font-size: 0.825rem;
    border-radius: 9999px;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 12rem 0 8rem;
    background: radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.15), transparent 40%),
                radial-gradient(circle at 10% 80%, rgba(52, 211, 153, 0.1), transparent 40%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(96, 165, 250, 0.1);
    color: var(--accent-blue);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(96, 165, 250, 0.15);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-shape {
    position: absolute;
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.3) 0%, rgba(96, 165, 250, 0.3) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    filter: blur(40px);
    animation: morphing 15s infinite alternate;
    z-index: 1;
}

.hero-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(248, 250, 252, 0.08);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    width: 100%;
    max-width: 380px;
    position: relative;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-emerald), var(--accent-blue));
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

/* Services Section */
.services-section {
    background-color: rgba(11, 31, 58, 0.4);
    position: relative;
}

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

.service-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(248, 250, 252, 0.05);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-emerald), var(--accent-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(96, 165, 250, 0.2);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    background-color: rgba(96, 165, 250, 0.1);
    color: var(--accent-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-card:hover .service-icon {
    background-color: rgba(52, 211, 153, 0.1);
    color: var(--accent-emerald);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1.25rem;
    background-color: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(248, 250, 252, 0.03);
    transition: var(--transition);
}

.benefit-item:hover {
    border-color: rgba(52, 211, 153, 0.15);
    transform: translateX(5px);
}

.benefit-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: rgba(52, 211, 153, 0.1);
    color: var(--accent-emerald);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.benefit-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.benefit-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* How We Work Section */
.how-section {
    background-color: rgba(11, 31, 58, 0.4);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.step-card {
    position: relative;
    z-index: 2;
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.3) 0%, rgba(96, 165, 250, 0.1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.step-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Platform Section */
.platform-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.platform-mockup {
    background-color: var(--bg-card);
    border: 1px solid rgba(248, 250, 252, 0.08);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.mockup-header {
    background-color: rgba(7, 20, 38, 0.5);
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(248, 250, 252, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dot:nth-child(1) { background-color: #EF4444; }
.mockup-dot:nth-child(2) { background-color: #F59E0B; }
.mockup-dot:nth-child(3) { background-color: #10B981; }

.mockup-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.mockup-body {
    padding: 1.5rem;
}

.mockup-summary-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.m-summary-card {
    background-color: rgba(7, 20, 38, 0.3);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(248, 250, 252, 0.04);
}

.m-summary-val {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.m-summary-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.m-summary-card.active .m-summary-val { color: var(--accent-emerald); }
.m-summary-card.delayed .m-summary-val { color: #F87171; }

.mockup-tasks {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.m-task-item {
    background-color: rgba(7, 20, 38, 0.2);
    border: 1px solid rgba(248, 250, 252, 0.03);
    border-radius: 8px;
    padding: 0.875rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.m-task-info {
    display: flex;
    flex-direction: column;
}

.m-task-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
}

.m-task-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.m-task-status {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    text-transform: uppercase;
}

.status-completed {
    background-color: rgba(52, 211, 153, 0.1);
    color: var(--accent-emerald);
}

.status-pending {
    background-color: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
}

.status-delayed {
    background-color: rgba(248, 113, 113, 0.1);
    color: #F87171;
}

/* Audience Section */
.audience-section {
    background-color: rgba(11, 31, 58, 0.4);
}

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

.audience-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(248, 250, 252, 0.05);
    border-radius: var(--border-radius);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.audience-card:hover {
    transform: translateY(-5px);
    border-color: rgba(52, 211, 153, 0.2);
}

.audience-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.1) 0%, rgba(96, 165, 250, 0.1) 100%);
    color: var(--accent-emerald);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.audience-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.audience-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-dark) 100%);
    border-top: 1px solid rgba(248, 250, 252, 0.05);
    border-bottom: 1px solid rgba(248, 250, 252, 0.05);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(96, 165, 250, 0.05);
    border-radius: 50%;
    top: -200px;
    left: -200px;
    filter: blur(100px);
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Form Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-details {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(96, 165, 250, 0.1);
    color: var(--accent-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-detail-text h5 {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-detail-text p {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
}

.contact-form-wrapper {
    background-color: var(--bg-card);
    border: 1px solid rgba(248, 250, 252, 0.08);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

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

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

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

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: rgba(7, 20, 38, 0.5);
    border: 1px solid rgba(248, 250, 252, 0.1);
    border-radius: 8px;
    padding: 0.875rem 1rem;
    color: var(--white);
    font-family: var(--font-inter);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15);
}

.form-group select option {
    background-color: var(--bg-card);
    color: var(--white);
}

.form-feedback {
    display: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.form-feedback.success {
    display: block;
    background-color: rgba(52, 211, 153, 0.1);
    color: var(--accent-emerald);
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.form-feedback.error {
    display: block;
    background-color: rgba(248, 113, 113, 0.1);
    color: #F87171;
    border: 1px solid rgba(248, 113, 113, 0.2);
}

/* Footer */
.site-footer {
    background-color: #040d1a;
    border-top: 1px solid rgba(248, 250, 252, 0.05);
    padding: 5rem 0 2rem;
}

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

.footer-logo-desc {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo-desc p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

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

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(248, 250, 252, 0.05);
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a:hover {
    color: var(--white);
}

.footer-credit-link {
    color: var(--accent-emerald);
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-credit-link:hover {
    color: var(--accent-blue);
}

/* Scroll Reveal Animation Styles (v1.4.0)
   Solo se ocultan si hay JS (clase .has-js en <html>); si el JS falla,
   el contenido permanece visible. */
.reveal-item {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.has-js .reveal-item {
    opacity: 0;
    transform: translateY(26px);
}

.has-js .reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Escalonado (stagger) dentro de las grillas */
.has-js .reveal-item:nth-child(2) { transition-delay: 0.08s; }
.has-js .reveal-item:nth-child(3) { transition-delay: 0.16s; }
.has-js .reveal-item:nth-child(4) { transition-delay: 0.24s; }
.has-js .reveal-item:nth-child(5) { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
    .has-js .reveal-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Animations */
@keyframes morphing {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    100% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
}

/* Responsive Styles */
/* Responsive Styles */
@media (max-width: 1024px) {
    .section-padding {
        padding: 5rem 0;
    }
    
    .hero-grid,
    .benefits-grid,
    .platform-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-desc {
        font-size: 1.1rem;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .how-section .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Navigation Drawer for Mobile */
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 104px;
        left: 50%;
        transform: translateX(-50%) translateY(-20px);
        width: calc(100% - 32px);
        max-width: 500px;
        height: auto;
        max-height: 0;
        overflow: hidden;
        background-color: rgba(11, 31, 58, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(248, 250, 252, 0.08);
        border-radius: 24px;
        flex-direction: column;
        align-items: center;
        padding: 0;
        gap: 1.5rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        opacity: 0;
        pointer-events: none;
        z-index: 999;
        box-shadow: var(--shadow-lg);
    }
    
    .site-header.scrolled .nav-menu {
        top: 80px;
    }
    
    .nav-menu.active {
        max-height: 480px;
        padding: 2.5rem 1.5rem;
        opacity: 1;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
    
    .header-actions {
        display: none;
    }
    
    .nav-menu .header-actions-mobile {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 80%;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .how-section .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .audience-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Portafolio actualizado - mantiene el lenguaje visual del tema original */
.service-lines-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 3.5rem;
}

.service-line-card {
    overflow: hidden;
    background-color: var(--bg-card);
    border: 1px solid rgba(248, 250, 252, 0.06);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.service-line-card:hover {
    transform: translateY(-6px);
    border-color: rgba(52, 211, 153, 0.22);
    box-shadow: var(--shadow-lg);
}

.service-line-card > img {
    display: block;
    width: 100%;
    height: 205px;
    object-fit: cover;
    background-color: var(--bg-dark);
}

.service-line-body {
    padding: 2rem;
}

.service-line-body .service-icon {
    margin-bottom: 1.25rem;
}

.service-line-list {
    display: grid;
    gap: .65rem;
    margin-top: 1.35rem;
    list-style: none;
}

.service-line-list li {
    position: relative;
    padding-left: 1.2rem;
    color: var(--text-light);
    font-size: .9rem;
    line-height: 1.45;
}

.service-line-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-emerald);
}

@media (max-width: 1024px) {
    .service-lines-grid {
        grid-template-columns: 1fr;
    }

    .service-line-card {
        display: grid;
        grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
    }

    .service-line-card > img {
        height: 100%;
        min-height: 320px;
    }
}

@media (max-width: 640px) {
    .service-line-card {
        display: block;
    }

    .service-line-card > img {
        height: 220px;
        min-height: 0;
    }
}

/* =============================================================
   LIGHT THEME OVERRIDES (v1.3.0)
   Ajustes para que los componentes diseñados para fondo oscuro
   se vean correctamente sobre la nueva paleta clara.
   ============================================================= */

/* Header claro tipo "glass" */
.site-header {
    background-color: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}
.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    border-color: rgba(37, 99, 235, 0.18);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}
.logo {
    border-right: 1px solid rgba(15, 23, 42, 0.12);
}
.menu-toggle span {
    background-color: var(--white);
}

/* Secciones alternas en gris muy claro */
.services-section,
.how-section,
.audience-section {
    background-color: var(--bg-soft);
}

/* Tarjetas: borde + sombra sutil para destacar sobre blanco */
.service-card,
.audience-card,
.benefit-item,
.service-line-card {
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow-sm);
}
.hero-card,
.contact-form-wrapper,
.platform-mockup {
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow-lg);
}
.service-card {
    border-bottom: 1px solid var(--surface-border);
}

/* Botón outline visible sobre blanco */
.btn-outline {
    color: var(--text-light);
    border: 1px solid rgba(15, 23, 42, 0.15);
}
.btn-outline:hover {
    background-color: rgba(15, 23, 42, 0.04);
    border-color: var(--text-dark);
}

/* Números grandes de la metodología con gradiente visible */
.step-number {
    background: linear-gradient(135deg, #10B981 0%, #2563EB 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Campos de formulario en claro */
.form-group input,
.form-group select,
.form-group textarea {
    background-color: #F8FAFC;
    border: 1px solid var(--surface-border);
    color: var(--text-dark);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94A3B8;
}
.form-group select option {
    background-color: #FFFFFF;
    color: var(--text-dark);
}

/* CTA con fondo suave */
.cta-section {
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 60%);
    border-top: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
}
.cta-section::before {
    background: rgba(37, 99, 235, 0.06);
}

/* Footer claro */
.site-footer {
    background-color: var(--bg-soft);
    border-top: 1px solid var(--surface-border);
}
.footer-bottom {
    border-top: 1px solid var(--surface-border);
}

/* Menú móvil (drawer) en claro */
@media (max-width: 1024px) {
    .nav-menu {
        background-color: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--surface-border);
        box-shadow: var(--shadow-lg);
    }
}

/* =============================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ============================================================= */
.alevia-wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1400;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: #25D366;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: alevia-wa-pulse 2.4s infinite;
}
.alevia-wa-float:hover {
    transform: scale(1.08);
    color: #FFFFFF;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}
.alevia-wa-tip {
    position: absolute;
    right: 72px;
    background: #0B1F3A;
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.55rem 0.9rem;
    border-radius: 10px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    pointer-events: none;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}
.alevia-wa-tip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: #0B1F3A;
}
.alevia-wa-float:hover .alevia-wa-tip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes alevia-wa-pulse {
    0%   { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.45); }
    70%  { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =============================================================
   CHATBOT — Asistente virtual ALEVIA
   ============================================================= */
.alevia-chat-toggle {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 1400;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-blue) 100%);
    color: #FFFFFF;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.alevia-chat-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45);
}
.alevia-chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 9999px;
    background: #EF4444;
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFFFFF;
}

.alevia-chat-panel {
    position: fixed;
    left: 22px;
    bottom: 92px;
    z-index: 1400;
    width: min(374px, calc(100vw - 44px));
    height: min(534px, calc(100vh - 140px));
    background: #FFFFFF;
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(16px) scale(0.96);
    transform-origin: bottom left;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease;
}
.alevia-chat-panel.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.acp-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-blue) 100%);
    color: #FFFFFF;
}
.acp-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.acp-title { flex-grow: 1; line-height: 1.2; }
.acp-title strong { display: block; font-size: 0.95rem; font-weight: 700; }
.acp-title span { font-size: 0.72rem; opacity: 0.9; display: flex; align-items: center; gap: 0.35rem; }
.acp-title span .fa-circle { font-size: 0.5rem; color: #86EFAC; }
.acp-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #FFFFFF;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.2s ease;
}
.acp-close:hover { background: rgba(255, 255, 255, 0.3); }

.acp-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    background: #F8FAFC;
}
.acp-msg {
    max-width: 85%;
    padding: 0.7rem 0.9rem;
    border-radius: 14px;
    font-size: 0.86rem;
    line-height: 1.5;
    word-wrap: break-word;
    animation: acp-in 0.25s ease;
}
.acp-msg.bot {
    align-self: flex-start;
    background: #FFFFFF;
    color: var(--text-dark);
    border: 1px solid var(--surface-border);
    border-bottom-left-radius: 4px;
}
.acp-msg.user {
    align-self: flex-end;
    background: var(--accent-blue);
    color: #FFFFFF;
    border-bottom-right-radius: 4px;
}
.acp-msg.bot strong { color: var(--white); }
.acp-msg.bot em { color: var(--accent-emerald); font-style: italic; }

@keyframes acp-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.acp-msg.typing {
    display: flex;
    gap: 4px;
    align-items: center;
}
.acp-msg.typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: acp-blink 1.2s infinite;
}
.acp-msg.typing span:nth-child(2) { animation-delay: 0.2s; }
.acp-msg.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes acp-blink {
    0%, 60%, 100% { opacity: 0.25; }
    30% { opacity: 1; }
}

.acp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}
.acp-action {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.45rem 0.8rem;
    border-radius: 9999px;
    transition: var(--transition);
}
.acp-action.wa {
    background: #25D366;
    color: #FFFFFF;
}
.acp-action.wa:hover { background: #1EBE5A; color: #FFFFFF; }
.acp-action.form {
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(37, 99, 235, 0.2);
}
.acp-action.form:hover { background: rgba(37, 99, 235, 0.18); }

.acp-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 1.1rem;
    border-top: 1px solid var(--surface-border);
    background: #FFFFFF;
}
.acp-chip {
    background: #FFFFFF;
    border: 1px solid var(--surface-border);
    color: var(--text-light);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-inter);
}
.acp-chip:hover {
    border-color: var(--accent-emerald);
    color: var(--accent-emerald);
    transform: translateY(-1px);
}

.acp-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0.9rem;
    border-top: 1px solid var(--surface-border);
    background: #FFFFFF;
}
.acp-footer input {
    flex-grow: 1;
    border: 1px solid var(--surface-border);
    border-radius: 9999px;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-family: var(--font-inter);
    color: var(--text-dark);
    outline: none;
    transition: var(--transition);
}
.acp-footer input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.acp-footer button {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-blue) 100%);
    color: #FFFFFF;
    cursor: pointer;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}
.acp-footer button:hover { transform: scale(1.08); }

/* Ajustes móviles para los flotantes */
@media (max-width: 480px) {
    .alevia-wa-float,
    .alevia-chat-toggle {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }
    .alevia-chat-panel {
        left: 50%;
        transform: translateX(-50%) translateY(16px) scale(0.96);
        transform-origin: bottom center;
        width: calc(100vw - 24px);
        bottom: 84px;
    }
    .alevia-chat-panel.open {
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

/* =============================================================
   REFINAMIENTO VISUAL v1.4.0
   Jerarquía tipográfica, profundidad e íconos con más carácter.
   ============================================================= */

/* --- Jerarquía tipográfica más marcada --- */
.hero-title {
    font-size: 3.9rem;
    letter-spacing: -0.02em;
}
.section-title {
    font-size: 2.7rem;
    letter-spacing: -0.02em;
}
.section-tag {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.section-tag::before {
    content: '';
    width: 22px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-emerald), var(--accent-blue));
    display: inline-block;
    border-radius: 2px;
}
.text-center .section-tag::before {
    display: none; /* en encabezados centrados el guion se ve mejor sin él */
}
.section-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* --- Íconos con más carácter (gradiente + profundidad) --- */
.service-icon,
.contact-detail-icon {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.12) 0%, rgba(37, 99, 235, 0.12) 100%);
    color: var(--accent-emerald);
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
}
.service-line-card:hover .service-icon {
    background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-blue) 100%);
    color: #FFFFFF;
    transform: scale(1.05);
}
.audience-icon {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.14) 0%, rgba(37, 99, 235, 0.14) 100%);
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.1);
    transition: var(--transition);
}
.audience-card:hover .audience-icon {
    background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-blue) 100%);
    color: #FFFFFF;
    transform: scale(1.06) rotate(-3deg);
}
.benefit-icon {
    box-shadow: inset 0 0 0 1px rgba(5, 150, 105, 0.15);
    transition: var(--transition);
}
.benefit-item:hover .benefit-icon {
    background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-blue) 100%);
    color: #FFFFFF;
}

/* --- Profundidad y acento en tarjetas --- */
.service-line-card,
.audience-card {
    position: relative;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.service-line-card::before,
.audience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-emerald), var(--accent-blue));
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3;
}
.service-line-card:hover::before,
.audience-card:hover::before {
    transform: scaleX(1);
}
.service-line-card:hover,
.audience-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.22);
}
.benefit-item:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(5, 150, 105, 0.25);
}

/* --- Botones con transición más suave --- */
.btn-primary:hover {
    box-shadow: 0 10px 24px -6px rgba(5, 150, 105, 0.45);
}

/* --- Hero: profundidad extra en la tarjeta --- */
.hero-card {
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(37, 99, 235, 0.04);
}

/* --- Reducción tipográfica en pantallas medianas para la nueva escala --- */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .section-title { font-size: 2.3rem; }
}
@media (max-width: 480px) {
    .hero-title { font-size: 2.4rem; }
    .section-title { font-size: 2rem; }
}

/* =============================================================
   HERO REFORZADO v1.4.2 — enfoque corporativo (empresa nueva)
   ============================================================= */

/* Textura sutil de puntos que se desvanece (más profundidad, no plano) */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(circle at 50% 35%, #000, transparent 70%);
    mask-image: radial-gradient(circle at 50% 35%, #000, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.hero-grid { position: relative; z-index: 1; }

/* Chips de propuesta de valor */
.hero-badges {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1.4rem;
    margin: 1.75rem 0 2rem;
    padding: 0;
}
.hero-badges li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-light);
}
.hero-badges li i {
    color: var(--accent-emerald);
    font-size: 1rem;
}

/* Botón WhatsApp con contorno (evita dos verdes sólidos) */
.btn-whatsapp-outline {
    background: transparent;
    color: #0F766E;
    border: 1.5px solid #25D366;
}
.btn-whatsapp-outline:hover {
    background: rgba(37, 211, 102, 0.08);
    border-color: #128C7E;
    color: #0F766E;
    transform: translateY(-2px);
}

/* Badge flotante sobre la tarjeta */
.hero-card-badge {
    position: absolute;
    top: -14px;
    right: 18px;
    background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-blue) 100%);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 9999px;
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    z-index: 3;
}

/* Franja de sectores al pie del hero */
.hero-sectors {
    margin-top: 3.5rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--surface-border);
    text-align: center;
    font-size: 0.92rem;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}
.hero-sectors span {
    color: var(--white);
    font-weight: 700;
}

@media (max-width: 480px) {
    .hero-badges { gap: 0.6rem 1rem; }
    .hero-badges li { font-size: 0.85rem; }
    .hero-actions .btn { width: 100%; }
    .hero-sectors { font-size: 0.82rem; }
}

/* =============================================================
   LOGO (marca de crecimiento) v1.4.3
   ============================================================= */
.logo-mark {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}
.site-header.scrolled .logo-mark {
    width: 34px;
    height: 34px;
    transition: var(--transition);
}
.footer-logo-desc .logo-mark {
    width: 38px;
    height: 38px;
}

/* =============================================================
   SECCIÓN NOSOTROS REFORZADA v1.4.3
   ============================================================= */
.nosotros-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
    text-align: left;
}
.value-card {
    background: var(--bg-card);
    border: 1px solid var(--surface-border);
    border-radius: var(--border-radius);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.value-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: var(--shadow-md);
}
.value-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.12) 0%, rgba(37, 99, 235, 0.12) 100%);
    color: var(--accent-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.1rem;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.1);
}
.value-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}
.value-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.nosotros-quote {
    margin-top: 3rem;
    text-align: center;
    color: var(--accent-blue);
    font-size: 1.2rem;
    font-weight: 700;
    font-style: italic;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .nosotros-values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .nosotros-values { grid-template-columns: 1fr; }
}

/* =============================================================
   MEJORAS v1.5.0 — CTA de servicio, FAQ, consentimiento, honeypot
   ============================================================= */

/* CTA en cada tarjeta de servicio */
.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.35rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-emerald);
}
.service-cta i { transition: transform 0.25s ease; }
.service-cta:hover { color: var(--accent-blue); }
.service-cta:hover i { transform: translateX(4px); }

/* FAQ (acordeón nativo con <details>) */
.faq-list {
    max-width: 820px;
    margin: 3.5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item[open] {
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: var(--shadow-md);
}
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 1.15rem 1.4rem;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '\f078'; /* chevron-down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--accent-blue);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-answer {
    padding: 0 1.4rem 1.25rem;
}
.faq-answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Honeypot: oculto para humanos, visible para bots */
.form-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Consentimiento */
.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.form-consent input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    accent-color: var(--accent-emerald);
    cursor: pointer;
}
.form-consent a {
    color: var(--accent-blue);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.form-consent a:hover { color: var(--accent-emerald); }

/* Formulario de captura de lead dentro del chatbot */
.acp-lead {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.7rem;
}
.acp-lead input[type="text"],
.acp-lead textarea {
    width: 100%;
    border: 1px solid var(--surface-border);
    border-radius: 10px;
    padding: 0.55rem 0.75rem;
    font-size: 0.85rem;
    font-family: var(--font-inter);
    color: var(--text-dark);
    background: #F8FAFC;
    outline: none;
    resize: vertical;
}
.acp-lead input:focus,
.acp-lead textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.acp-lead-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.4;
}
.acp-lead-consent input { margin-top: 0.15rem; accent-color: var(--accent-emerald); flex-shrink: 0; }
.acp-lead-consent a { color: var(--accent-blue); font-weight: 600; text-decoration: underline; }
.acp-lead-send {
    border: none;
    border-radius: 9999px;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-blue) 100%);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-inter);
}
.acp-lead-send:hover { transform: translateY(-1px); }
.acp-lead-send:disabled { opacity: 0.6; cursor: default; transform: none; }
.acp-lead-msg { font-size: 0.75rem; }
.acp-lead-msg.err { color: #DC2626; }

/* Páginas legales (Privacidad / Términos) */
.legal-content {
    max-width: 820px;
}
.legal-content .legal-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
}
.legal-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin: 2rem 0 0.75rem;
}
.legal-content p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}
.legal-content a {
    color: var(--accent-blue);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.legal-content a:hover { color: var(--accent-emerald); }
.legal-content .legal-note {
    margin-top: 2.5rem;
    padding: 1rem 1.25rem;
    background: var(--bg-soft);
    border-left: 3px solid var(--accent-emerald);
    border-radius: 0 8px 8px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}


/* =============================================================
   MEJORAS VISUALES v1.5.2 — banda CTA oscura + refinamientos
   ============================================================= */

/* Banda CTA oscura de marca (rompe la monotonía clara) */
.cta-section {
    background:
        radial-gradient(circle at 12% 18%, rgba(37, 99, 235, 0.22), transparent 45%),
        radial-gradient(circle at 88% 82%, rgba(16, 185, 129, 0.18), transparent 45%),
        linear-gradient(135deg, #0B1F3A 0%, #071426 100%) !important;
    border: none !important;
    overflow: hidden;
}
.cta-section::before { display: none; }
.cta-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
}
.cta-content .section-tag { color: #34D399; }
.cta-content .section-title {
    color: #FFFFFF;
    text-align: left;
    margin-bottom: 1.25rem;
}
.cta-desc {
    color: #94A3B8;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.2rem;
    max-width: 480px;
}
.cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.cta-visual img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 28px 55px rgba(0, 0, 0, 0.45));
}

@media (max-width: 1024px) {
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .cta-content .section-title { text-align: center; }
    .cta-desc { margin-left: auto; margin-right: auto; }
    .cta-actions { justify-content: center; }
    .cta-visual { max-width: 440px; margin: 0 auto; }
}
@media (max-width: 480px) {
    .cta-actions .btn { width: 100%; }
}

/* Curación de iconografía: los íconos de "Nosotros" en círculo (los diferencia
   de los cuadrados de Servicios) para dar variedad visual */
.value-icon {
    border-radius: 50%;
}
