/* ═══════════════════════════════════════════════════════════
   NaviTrace — CSS System & Brand Tokens (Luxury B2B Logistics)
   Paleta oficial de marca + UI Premium Naviero / Fintech
   ═══════════════════════════════════════════════════════════ */

/* ── RESET & BASE MANDATES ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

/* ── TOKENS DE MARCA NAVITRACE ── */
:root {
    --navy-deep:    #0B2545; /* Marca, headers, héroe, footers */
    --navy-night:   #12345E; /* Gradientes primarios */
    --navy-steel:   #1B4965; /* Secciones y elementos destacados */
    --gold:         #E8B84B; /* CTA, badges, marcas de lujo */
    --gold-dark:    #C89530; /* Hover de botones, bordes acentuados */
    --bg-light:     #F7F8FA; /* Fondo principal claro */
    --bg-surface:   #FFFFFF; /* Superficie blanca */
    --bg-subtle:    #EDF1F5; /* Fondo secundario claro */
    --text-main:    #1A1E23; /* Texto principal oscuro */
    --text-muted:   #5A6B7B; /* Texto secundario y etiquetas */
    --state-green:  #2E8B57; /* Verde marino - En tránsito / Canal Verde */
    --state-green-bg: #E8F5E9;
    --state-green-bdr: #A5D6A7;
    --state-yellow: #D97706; /* Amarillo - En revisión / Canal Amarillo */
    --state-yellow-bg: #FFF8E1;
    --state-yellow-bdr: #FFE082;
    --state-red:    #C1443C; /* Rojo coral - Alerta / Canal Rojo */
    --state-red-bg: #FFEBEE;
    --state-red-bdr: #EF9A9A;
    --border-color: #E2E8F0;
    --radius-lg:    16px;
    --radius-md:    12px;
    --radius-sm:    8px;
    --shadow-sm:    0 2px 8px rgba(11, 37, 69, 0.05);
    --shadow-md:    0 8px 24px rgba(11, 37, 69, 0.08);
    --shadow-lg:    0 16px 48px rgba(11, 37, 69, 0.12);
    --shadow-glow:  0 0 24px rgba(232, 184, 75, 0.25);
    --transition:   all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── CONTAINER GENERAL ── */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

/* ── HEADER & NAVIGATION ── */
.site-header {
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 20px;
}

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

.brand-logo img {
    height: 48px;
    width: auto;
    max-width: 100%;
}
@media (max-width: 768px) {
    .brand-logo img {
        height: 38px;
    }
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--navy-deep);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--navy-deep);
    font-size: 14px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(200, 149, 48, 0.3);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 149, 48, 0.45);
    background: linear-gradient(135deg, #F0C45B 0%, #D49E35 100%);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-navy {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-night) 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(11, 37, 69, 0.25);
}

.btn-navy:hover {
    background: linear-gradient(135deg, var(--navy-night) 0%, var(--navy-steel) 100%);
    color: #FFFFFF;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--navy-deep);
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 991px) {
    .main-nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
}

/* ── HERO SECTION ── */
.hero-section {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-night) 50%, var(--navy-steel) 100%);
    color: #FFFFFF;
    padding: 80px 0 90px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(232, 184, 75, 0.12) 0%, transparent 50%),
                      radial-gradient(circle at 20% 80%, rgba(27, 73, 101, 0.4) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232, 184, 75, 0.15);
    border: 1px solid rgba(232, 184, 75, 0.35);
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(32px, 4.5vw, 54px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

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

.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.6;
}

/* ── SEARCH CARD EN HERO ── */
.search-card-wrap {
    max-width: 720px;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 8px 8px 8px 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.search-card-wrap:focus-within {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 0 2px var(--gold);
}

.search-icon {
    color: var(--text-muted);
    font-size: 20px;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-main);
    background: transparent;
    min-width: 0;
}

.search-input::placeholder {
    color: #94A3B8;
}

.btn-search {
    flex-shrink: 0;
    padding: 14px 28px;
    font-size: 15px;
    border-radius: 14px;
}

/* Quick search chips */
.quick-chips {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.chip-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.qs-chip {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    font-family: monospace;
    padding: 4px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.qs-chip:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy-deep);
}

.search-error {
    display: none;
    max-width: 720px;
    margin: 16px auto 0;
    background: var(--state-red-bg);
    border: 1px solid var(--state-red-bdr);
    color: var(--state-red);
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

/* ── BADGES DE INTEGRACION BAJO EL SEARCH ── */
.trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-top: 48px;
    flex-wrap: wrap;
    opacity: 0.9;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.trust-badge-item i {
    color: var(--gold);
    font-size: 16px;
}

/* ── LOADER & DASHBOARD DEMO ── */
.demo-section {
    padding: 40px 0 80px;
    background-color: var(--bg-light);
}

.loader-container {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    gap: 16px;
    color: var(--text-muted);
}

.spinner {
    width: 42px;
    height: 42px;
    border: 4px solid var(--border-color);
    border-top-color: var(--navy-steel);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.dashboard-panel {
    display: none;
    animation: fadeInUp 0.4s ease both;
}

.dashboard-panel.visible {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Result Header Bar */
.result-header-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.job-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--navy-steel);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.job-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--navy-deep);
    letter-spacing: -0.5px;
}

.result-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.res-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.res-chip i {
    color: var(--navy-steel);
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 3fr 2fr;
    }
}

.dash-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 24px;
}

.dash-card-header {
    padding: 18px 24px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dash-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-deep);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dash-card-title i {
    color: var(--gold-dark);
}

.dash-card-body {
    padding: 24px;
}

/* Leaflet Map */
#map-container {
    height: 380px;
    width: 100%;
    border-radius: var(--radius-md);
    z-index: 1;
    background: #E5E9F0;
}

/* Aduana Chile Badge */
.aduana-box {
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border: 1px solid transparent;
}

.aduana-box.verde {
    background-color: var(--state-green-bg);
    border-color: var(--state-green-bdr);
    color: #1B5E20;
}

.aduana-box.amarillo {
    background-color: var(--state-yellow-bg);
    border-color: var(--state-yellow-bdr);
    color: #E65100;
}

.aduana-box.rojo {
    background-color: var(--state-red-bg);
    border-color: var(--state-red-bdr);
    color: #B71C1C;
}

.aduana-icon {
    font-size: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}

.aduana-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.aduana-info p {
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.9;
}

.aduana-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    background: var(--bg-light);
    padding: 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
}

.aduana-detail-item label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.aduana-detail-item span {
    font-weight: 700;
    color: var(--navy-deep);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 28px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border-color);
}

.timeline-step {
    position: relative;
    margin-bottom: 20px;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -28px;
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 3px solid var(--navy-steel);
    z-index: 2;
}

.timeline-step.completed .timeline-dot {
    background: var(--state-green);
    border-color: var(--state-green-bdr);
}

.timeline-content {
    background: var(--bg-light);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.timeline-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-deep);
}

.timeline-date {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.timeline-location {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Progress bar */
.progress-bar-wrap {
    margin-top: 16px;
    background: var(--border-color);
    border-radius: 10px;
    height: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--navy-steel), var(--gold));
    width: 0%;
    transition: width 1s ease-in-out;
}

/* CargoWise eDocs List */
.edocs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.edoc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.edoc-item:hover {
    border-color: var(--gold);
    background: #FFFFFF;
}

.edoc-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.edoc-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #FFEBEE;
    color: var(--state-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.edoc-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy-deep);
}

.edoc-type {
    font-size: 11px;
    color: var(--text-muted);
}

.btn-download-doc {
    color: var(--navy-steel);
    font-size: 16px;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    transition: var(--transition);
}

.btn-download-doc:hover {
    background: var(--border-color);
    color: var(--gold-dark);
}

/* ── SECCIONES B2B PARA EMBARCADORAS ── */
.section-padding {
    padding: 90px 0;
}

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

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--navy-deep);
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(232, 184, 75, 0.5);
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-steel) 100%);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(11, 37, 69, 0.2);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* How It Works Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    position: relative;
}

.step-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    position: relative;
}

.step-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--gold);
    opacity: 0.8;
    line-height: 1;
    margin-bottom: 16px;
}

.step-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 8px;
}

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

/* Integrations Logos */
.integrations-bar {
    background: var(--navy-deep);
    color: #FFFFFF;
    padding: 60px 0;
    text-align: center;
}

.integrations-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 36px;
    font-weight: 600;
}

.logos-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.logo-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: floatBadge 4s infinite ease-in-out;
}

.logo-badge:nth-child(even) {
    animation-delay: 1.5s;
}

.logo-badge:nth-child(3n) {
    animation-delay: 3s;
}

@keyframes floatBadge {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.logo-badge i {
    color: var(--gold);
}

/* ROI Stats Card */
.roi-card {
    background: linear-gradient(135deg, var(--navy-night) 0%, var(--navy-deep) 100%);
    border-radius: var(--radius-lg);
    padding: 48px;
    color: #FFFFFF;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    margin-top: 40px;
}

.roi-stat-number {
    font-size: 44px;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
}

.roi-stat-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Contact / B2B Lead Form */
.contact-section {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
}

.contact-box {
    max-width: 680px;
    margin: 0 auto;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy-deep);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-main);
    background: #FFFFFF;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--gold-dark);
    box-shadow: 0 0 0 3px rgba(232, 184, 75, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 110px;
}

/* Footer */
.site-footer {
    background-color: var(--navy-deep);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h5 {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

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

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

/* Botón flotante WhatsApp */
@keyframes haloBounce {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    50% { transform: scale(1.1); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    background-color: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    z-index: 999;
    text-decoration: none;
    transition: var(--transition);
    animation: haloBounce 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
    animation-play-state: paused;
}

/* Efecto de Pandeo (Wobble) para botones Demo */
@keyframes pandeoSuave {
    0% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.05) translateY(-2px); }
    100% { transform: scale(1) translateY(0); }
}

.btn-wobble {
    animation: pandeoSuave 3s infinite ease-in-out;
}
.btn-wobble:hover {
    animation-play-state: paused;
}

/* Cursor parpadeante para Typing Effect */
.cursor-blink {
    font-weight: 300;
    animation: blink 1s infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Animaciones de Entrada (Scroll Dinámico) */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    visibility: hidden;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
    visibility: visible;
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
}
