/* ============================================
   PROELCA Design System
   Colors: Rojo Proelca (Acción), Negro (Confianza), Blanco
   Font: Inter
   ============================================ */

/* --- Reset & Variables --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Colors – Paleta Proelca */
    --c-navy: #1a1a1a;
    --c-navy-light: #222222;
    --c-navy-mid: #2a2a2a;
    --c-navy-soft: #333333;
    --c-blue: #CC0000;
    --c-blue-glow: rgba(204, 0, 0, 0.15);
    --c-orange: #CC0000;
    --c-orange-light: #E60000;
    --c-orange-glow: rgba(204, 0, 0, 0.12);
    --c-green-wa: #25d366;
    --c-red: #CC0000;
    --c-gold: #f59e0b;
    --c-white: #ffffff;
    --c-gray-100: #f5f5f5;
    --c-gray-200: #e5e5e5;
    --c-gray-300: #d4d4d4;
    --c-gray-400: #a3a3a3;
    --c-gray-500: #737373;
    --c-gray-600: #525252;
    --c-text: #1a1a1a;
    --c-text-muted: #6b7280;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Typography */
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.25rem;
    --fs-2xl: 1.5rem;
    --fs-3xl: 2rem;
    --fs-4xl: 2.5rem;
    --fs-5xl: 3.25rem;

    /* Radius */
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-full: 100px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-glow-blue: 0 0 30px rgba(204, 0, 0, 0.2);
    --shadow-glow-orange: 0 0 30px rgba(204, 0, 0, 0.25);

    /* Transitions */
    --t-fast: 0.15s ease;
    --t-base: 0.3s ease;
    --t-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--c-text);
    background-color: var(--c-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* --- Section Base --- */
.section {
    padding: var(--space-4xl) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-tag {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--c-orange);
    background: var(--c-orange-glow);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--r-full);
    margin-bottom: var(--space-md);
}

.section-header h2 {
    font-size: var(--fs-3xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--c-navy);
}

.section-header p {
    font-size: var(--fs-lg);
    color: var(--c-text-muted);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font);
    font-weight: 600;
    font-size: var(--fs-sm);
    padding: 12px 24px;
    border-radius: var(--r-md);
    border: none;
    cursor: pointer;
    transition: all var(--t-base);
    white-space: nowrap;
}

.btn-lg {
    font-size: var(--fs-base);
    padding: 16px 32px;
    border-radius: var(--r-lg);
}

.btn-primary {
    background: linear-gradient(135deg, var(--c-orange), var(--c-orange-light));
    color: var(--c-white);
    box-shadow: var(--shadow-glow-orange);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(204, 0, 0, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--c-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: var(--c-green-wa);
    color: var(--c-white);
}

.btn-whatsapp:hover {
    background: #1fb855;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.3);
}

.btn-nav {
    background: var(--c-orange);
    color: var(--c-white);
    padding: 8px 20px;
    font-size: var(--fs-sm);
    border-radius: var(--r-md);
}

.btn-nav:hover {
    background: var(--c-orange-light);
}

/* ============================================
   HEADER / NAV
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--t-base);
    padding: var(--space-md) 0;
}

.header.scrolled {
    background: rgba(26, 26, 26, 0.97);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    padding: var(--space-sm) 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    z-index: 1001;
}

.logo img {
    height: 38px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    transition: filter var(--t-base);
}

/* On light backgrounds, show original colors */
.footer-brand .logo img,
.trust-bar .logo img {
    filter: brightness(0) invert(1);
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-md);
    background: linear-gradient(135deg, var(--c-orange), var(--c-orange-light));
    color: var(--c-white);
    font-size: 22px;
}

.logo-text {
    font-weight: 800;
    font-size: var(--fs-xl);
    color: var(--c-white);
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-list a {
    color: rgba(255, 255, 255, 0.75);
    font-size: var(--fs-sm);
    font-weight: 500;
    transition: color var(--t-fast);
}

.nav-list a:hover {
    color: var(--c-white);
}

.nav-cta-link {
    color: var(--c-orange) !important;
    font-weight: 600 !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--c-white);
    font-size: 28px;
    cursor: pointer;
    z-index: 1001;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('images/hero-bg-b2c.jpg') center center / cover no-repeat;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(165deg,
            rgba(26, 26, 26, 0.9) 0%,
            rgba(26, 26, 26, 0.8) 40%,
            rgba(26, 26, 26, 0.7) 100%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, var(--c-white), transparent);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(204, 0, 0, 0.12);
    border: 1px solid rgba(204, 0, 0, 0.3);
    color: #ff4d4d;
    font-size: var(--fs-sm);
    font-weight: 600;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--r-full);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.6s ease;
}

.hero-headline {
    font-size: var(--fs-5xl);
    font-weight: 900;
    line-height: 1.1;
    color: var(--c-white);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-subheadline {
    font-size: var(--fs-lg);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-trust-micro {
    display: flex;
    gap: var(--space-xl);
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-trust-micro span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.5);
}

.hero-trust-micro span i {
    color: var(--c-green-wa);
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
    background: var(--c-gray-100);
    padding: var(--space-xl) 0;
    border-bottom: 1px solid var(--c-gray-200);
}

.trust-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3xl);
    flex-wrap: wrap;
}

.trust-label {
    font-size: var(--fs-sm);
    color: var(--c-text-muted);
    font-weight: 500;
    white-space: nowrap;
}

.trust-logos {
    display: flex;
    gap: var(--space-2xl);
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-logo {
    font-size: var(--fs-sm);
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--c-gray-400);
    text-transform: uppercase;
    transition: color var(--t-base);
}

.trust-logo:hover {
    color: var(--c-navy);
}

/* ============================================
   PAIN SECTION
   ============================================ */
.pain-section {
    background: var(--c-white);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.pain-card {
    background: linear-gradient(145deg, #fff5f5, #fff);
    border: 1px solid #fecaca;
    border-radius: var(--r-lg);
    padding: var(--space-2xl);
    text-align: center;
    transition: all var(--t-base);
}

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

.pain-icon {
    font-size: 48px;
    color: var(--c-red);
    margin-bottom: var(--space-md);
}

.pain-card h3 {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--c-navy);
}

.pain-card p {
    font-size: var(--fs-sm);
    color: var(--c-text-muted);
    line-height: 1.6;
}

/* ============================================
   BENEFITS
   ============================================ */
.benefits-section {
    background: var(--c-gray-100);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.benefit-card {
    background: var(--c-white);
    border-radius: var(--r-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-gray-200);
    transition: all var(--t-base);
    display: flex;
    flex-direction: column;
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--c-orange);
}

.benefit-icon-wrap {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-md);
    background: var(--c-orange-glow);
    color: var(--c-orange);
    font-size: 28px;
    margin-bottom: var(--space-lg);
}

.benefit-card h3 {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--c-navy);
    margin-bottom: var(--space-md);
}

.benefit-problem,
.benefit-solution {
    font-size: var(--fs-sm);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.benefit-problem {
    color: var(--c-red);
}

.benefit-solution {
    color: var(--c-text-muted);
}

.benefit-problem strong,
.benefit-solution strong {
    font-weight: 600;
}

.benefit-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: var(--space-md);
    color: var(--c-orange);
    font-weight: 600;
    font-size: var(--fs-sm);
    transition: all var(--t-fast);
}

.benefit-link:hover {
    gap: 10px;
}

/* ============================================
   SERVICES
   ============================================ */
.services-section {
    background: var(--c-navy);
    color: var(--c-white);
}

.services-section .section-tag {
    background: rgba(204, 0, 0, 0.15);
}

.services-section .section-header h2 {
    color: var(--c-white);
}

.services-section .section-header p {
    color: rgba(255, 255, 255, 0.6);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.service-card {
    background: var(--c-navy-light);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--r-lg);
    padding: var(--space-2xl);
    transition: all var(--t-base);
}

.service-card:hover {
    background: var(--c-navy-mid);
    border-color: var(--c-orange);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-orange);
}

.service-icon-wrap {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-md);
    background: rgba(204, 0, 0, 0.1);
    color: var(--c-orange);
    font-size: 28px;
    margin-bottom: var(--space-lg);
}

.service-card h3 {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.service-pain {
    font-size: var(--fs-sm);
    color: var(--c-orange-light);
    font-weight: 600;
    font-style: italic;
    margin-bottom: var(--space-xs);
}

.service-desc {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--c-orange);
    font-weight: 600;
    font-size: var(--fs-sm);
    transition: all var(--t-fast);
}

.service-cta:hover {
    gap: 10px;
    color: var(--c-orange-light);
}

/* ============================================
   SOCIAL PROOF
   ============================================ */
.proof-section {
    background: var(--c-white);
}

.proof-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.stat {
    text-align: center;
    padding: var(--space-xl);
    background: var(--c-gray-100);
    border-radius: var(--r-lg);
    transition: all var(--t-base);
}

.stat:hover {
    background: var(--c-orange-glow);
    transform: translateY(-4px);
}

.stat-number {
    display: block;
    font-size: var(--fs-4xl);
    font-weight: 900;
    color: var(--c-navy);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: var(--fs-sm);
    color: var(--c-text-muted);
    font-weight: 500;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.testimonial-card {
    background: var(--c-gray-100);
    border-radius: var(--r-lg);
    padding: var(--space-2xl);
    border: 1px solid var(--c-gray-200);
    transition: all var(--t-base);
}

.testimonial-card:hover {
    border-color: var(--c-orange);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    color: var(--c-gold);
    margin-bottom: var(--space-md);
    font-size: 18px;
}

.testimonial-quote {
    font-size: var(--fs-sm);
    line-height: 1.7;
    color: var(--c-text);
    font-style: italic;
    margin-bottom: var(--space-lg);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-navy), var(--c-navy-mid));
    color: var(--c-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-sm);
    font-weight: 700;
}

.testimonial-author strong {
    display: block;
    font-size: var(--fs-sm);
    color: var(--c-navy);
}

.testimonial-author span {
    font-size: var(--fs-xs);
    color: var(--c-text-muted);
}

/* ============================================
   PROCESS
   ============================================ */
.process-section {
    background: var(--c-gray-100);
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.step-card {
    background: var(--c-white);
    border-radius: var(--r-lg);
    padding: var(--space-2xl);
    text-align: center;
    flex: 1;
    max-width: 300px;
    position: relative;
    border: 1px solid var(--c-gray-200);
    transition: all var(--t-base);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--c-orange);
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--c-orange);
    color: var(--c-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-sm);
    font-weight: 800;
}

.step-icon {
    font-size: 40px;
    color: var(--c-navy);
    margin-bottom: var(--space-md);
}

.step-card h3 {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--c-navy);
}

.step-card p {
    font-size: var(--fs-sm);
    color: var(--c-text-muted);
}

.step-connector {
    display: flex;
    align-items: center;
    font-size: 24px;
    color: var(--c-gray-300);
    margin-top: 80px;
}

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

/* ============================================
   FAQ
   ============================================ */
.faq-section {
    background: var(--c-white);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    background: var(--c-gray-100);
    border: 1px solid var(--c-gray-200);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: all var(--t-base);
}

.faq-item[open] {
    border-color: var(--c-orange);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    cursor: pointer;
    font-weight: 600;
    font-size: var(--fs-base);
    color: var(--c-navy);
    list-style: none;
    transition: color var(--t-fast);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    color: var(--c-orange);
}

.faq-item summary i {
    font-size: 20px;
    transition: transform var(--t-base);
}

.faq-item[open] summary i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 var(--space-xl) var(--space-lg);
    font-size: var(--fs-sm);
    color: var(--c-text-muted);
    line-height: 1.7;
}

/* ============================================
   FINAL CTA
   ============================================ */
.cta-final-section {
    background: linear-gradient(165deg, var(--c-navy) 0%, var(--c-navy-mid) 100%);
    padding: var(--space-4xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-final-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(204, 0, 0, 0.08) 0%, transparent 70%);
}

.cta-final-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.cta-final-content h2 {
    font-size: var(--fs-3xl);
    font-weight: 800;
    color: var(--c-white);
    margin-bottom: var(--space-md);
}

.cta-final-content p {
    font-size: var(--fs-lg);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-lg);
}

.cta-final-urgency {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(204, 0, 0, 0.15);
    border: 1px solid rgba(204, 0, 0, 0.3);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--r-full);
    color: #ff4d4d;
    font-size: var(--fs-sm);
    font-weight: 600;
    margin-bottom: var(--space-2xl);
}

.cta-final-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--c-navy);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-4xl) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-3xl);
}

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.footer-brand p {
    font-size: var(--fs-sm);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--c-white);
    font-size: var(--fs-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-lg);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--t-fast);
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--fs-sm);
    margin-bottom: var(--space-sm);
    color: rgba(255, 255, 255, 0.5);
}

.footer-contact i {
    color: var(--c-orange);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    transition: all var(--t-fast);
}

.footer-social a:hover {
    background: var(--c-orange);
    color: var(--c-white);
}

.footer-bottom {
    margin-top: var(--space-3xl);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: var(--space-lg) 0;
    text-align: center;
}

.footer-bottom p {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: var(--c-green-wa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--c-white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 900;
    transition: all var(--t-base);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background: var(--c-white);
    color: var(--c-text);
    font-size: var(--fs-xs);
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--r-sm);
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--t-base);
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   POPUPS (Exit Intent + Time Delayed)
   ============================================ */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.75);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--t-base);
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-modal {
    background: var(--c-white);
    border-radius: var(--r-xl);
    padding: var(--space-3xl);
    max-width: 480px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all var(--t-base);
}

.popup-overlay.active .popup-modal {
    transform: scale(1) translateY(0);
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--c-gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: var(--c-gray-500);
    transition: all var(--t-fast);
}

.popup-close:hover {
    background: var(--c-gray-200);
}

.popup-icon {
    font-size: 56px;
    color: var(--c-orange);
    margin-bottom: var(--space-md);
}

.popup-modal h3 {
    font-size: var(--fs-2xl);
    font-weight: 800;
    color: var(--c-navy);
    margin-bottom: var(--space-sm);
}

.popup-modal p {
    font-size: var(--fs-sm);
    color: var(--c-text-muted);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.btn-popup {
    width: 100%;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.popup-dismiss {
    background: none;
    border: none;
    font-family: var(--font);
    color: var(--c-gray-400);
    font-size: var(--fs-xs);
    cursor: pointer;
    padding: var(--space-xs);
    transition: color var(--t-fast);
}

.popup-dismiss:hover {
    color: var(--c-gray-600);
}

.popup-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--c-orange-glow);
    color: var(--c-orange);
    font-size: var(--fs-xs);
    font-weight: 700;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--r-full);
    margin-bottom: var(--space-lg);
}

.popup-microcopy {
    display: block;
    font-size: var(--fs-xs);
    color: var(--c-gray-400);
    margin-top: calc(-1 * var(--space-xs));
}

/* ============================================
   SLIDE-IN (Scroll Popup)
   ============================================ */
.slide-in {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 360px;
    background: var(--c-white);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--c-gray-200);
    z-index: 900;
    transform: translateX(calc(100% + 40px));
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.slide-in.active {
    transform: translateX(0);
    opacity: 1;
}

.slide-in-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border: none;
    background: var(--c-gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: var(--c-gray-500);
    transition: all var(--t-fast);
}

.slide-in-close:hover {
    background: var(--c-gray-200);
}

.slide-in-content {
    padding: var(--space-xl);
}

.slide-in-content h4 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--c-orange);
    margin-bottom: var(--space-sm);
}

.slide-in-content p {
    font-size: var(--fs-sm);
    color: var(--c-text);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: var(--space-sm);
}

.slide-in-author {
    display: block;
    font-size: var(--fs-xs);
    color: var(--c-text-muted);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.slide-in-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--c-orange);
    transition: gap var(--t-fast);
}

.slide-in-cta:hover {
    gap: 10px;
}

/* ============================================
   SCROLL REVEAL ANIMATION
   ============================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {

    .pain-grid,
    .benefits-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .proof-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        flex-wrap: wrap;
    }

    .step-connector {
        display: none;
    }

    .step-card {
        max-width: 100%;
    }
}

/* ============================================ */
/* B2B PARTNER FORM SECTION */
/* ============================================ */
.partner-form-section {
    background: var(--c-navy-mid);
    background: linear-gradient(135deg, var(--c-navy-mid) 0%, var(--c-navy) 100%);
    position: relative;
    overflow: hidden;
    color: var(--c-white) !important;
}

.partner-form-section p,
.partner-form-section ul,
.partner-form-section li {
    color: var(--c-white) !important;
}

.partner-form-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(204, 0, 0, 0.1), transparent 50%);
    pointer-events: none;
}

.partner-form-flex {
    display: flex;
    gap: var(--space-4xl);
    align-items: center;
    justify-content: space-between;
}

.partner-form-text {
    flex: 1;
    max-width: 500px;
}

.partner-form-text h2 {
    font-size: var(--fs-4xl);
    margin-bottom: var(--space-lg);
    color: var(--c-white);
}

.form-benefits {
    list-style: none;
    margin-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-benefits li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-weight: 500;
}

.form-benefits i {
    color: var(--c-orange);
    font-size: 24px;
}

.partner-card {
    flex: 1;
    max-width: 480px;
    background: var(--c-navy-light);
    padding: var(--space-2xl);
    border-radius: var(--r-xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--sh-xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group label {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--c-gray-300);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: var(--space-md);
    border-radius: var(--r-md);
    color: var(--c-white);
    font-family: inherit;
    transition: var(--t-base);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--c-orange);
    background: rgba(255, 255, 255, 0.06);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

@media (max-width: 1024px) {
    .partner-form-flex {
        flex-direction: column;
        text-align: center;
        gap: var(--space-2xl);
    }

    .partner-form-text {
        max-width: 100%;
    }

    .form-benefits {
        align-items: center;
    }

    .partner-card {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --fs-5xl: 2.25rem;
        --fs-4xl: 1.75rem;
        --fs-3xl: 1.5rem;
    }

    .section {
        padding: var(--space-3xl) 0;
    }

    /* Nav */
    .nav-list {
        position: fixed;
        inset: 0;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-2xl);
        transform: translateX(100%);
        transition: transform var(--t-base);
    }

    .nav-list.open {
        transform: translateX(0);
    }

    .nav-list a {
        font-size: var(--fs-xl);
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Grids */
    .pain-grid,
    .benefits-grid,
    .services-grid,
    .testimonials-grid,
    .proof-stats,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding: 140px 0 100px;
    }

    .hero-headline {
        font-size: var(--fs-3xl);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-trust-micro {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .trust-bar-inner {
        flex-direction: column;
        gap: var(--space-md);
    }

    .trust-logos {
        gap: var(--space-lg);
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .step-card {
        max-width: 100%;
    }

    .cta-final-content h2 {
        font-size: var(--fs-2xl);
    }

    .cta-final-buttons {
        flex-direction: column;
    }

    .cta-final-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .slide-in {
        width: calc(100% - 48px);
        right: 24px;
        bottom: 90px;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 26px;
        bottom: 16px;
        right: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .hero {
        padding-top: 120px;
    }
}