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

:root {
    --primary: #2563eb;
    --primary-d: #1d4ed8;
    --primary-l: #eff6ff;
    --accent: #22d3ee;
    --accent-glow: rgba(34, 211, 238, 0.5);
    --green: #10b981;
    --dark: #070e20;
    --dark-l: #0f172a;
    --text: #1e293b;
    --muted: #64748b;
    --border: #e2e8f0;
    --bg: #f8fafc;
    --card: #ffffff;
    --font: 'Inter', -apple-system, sans-serif;
    --radius: 16px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-glow: 0 0 20px var(--accent-glow);
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Container & Helpers ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; }
.text-center { text-align: center; }

/* ── Typography & Badges ── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border: 1px solid rgba(37, 99, 235, 0.2);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 30px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}
.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    margin: 16px 0;
    color: var(--dark);
}
.section-sub {
    font-size: 18px;
    color: var(--muted);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Reveal Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ── Sticky Navbar with Glassmorphism ── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: transparent;
}
.nav.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; position: relative; }
.nav-logo {
    display: flex; align-items: center; gap: 4px;
    font-size: 28px; font-weight: 900; color: #fff;
    letter-spacing: -1px; transition: 0.3s ease;
}
.brand-pc { font-style: italic; padding-right: 2px; }
.nav.scrolled .nav-logo { color: var(--primary); }
.nav-logo .dot { color: var(--accent); font-style: normal; }
.nav-links { 
    display: flex; align-items: center; gap: 32px; 
    position: absolute; left: 50%; transform: translateX(-50%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav.scrolled .nav-links { 
    position: relative; left: 0; transform: none; margin-left: auto; 
}
@media (max-width: 992px) {
    .nav-links { 
        position: static; transform: none; display: flex !important; 
        overflow-x: auto; padding: 10px 0; gap: 20px; 
        width: 100%; white-space: nowrap; 
        scrollbar-width: none; -ms-overflow-style: none;
        justify-content: center;
    }
    .nav-links::-webkit-scrollbar { display: none; }
    .nav-links a { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
    .nav-inner { flex-direction: column; gap: 10px; }
    .nav-links a.nav-cta { display: none !important; }
}
.nav-links a {
    font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s, transform 0.2s;
}
.nav.scrolled .nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--accent); transform: translateY(-1px); }
.nav.scrolled .nav-links a:hover { color: var(--primary); }
.nav-cta {
    background: var(--primary); color: #fff !important;
    padding: 10px 24px; border-radius: 8px;
    font-weight: 700 !important; font-size: 15px !important;
    transition: all 0.3s ease;
    display: inline-flex; align-items: center; gap: 8px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}
.nav-cta:hover {
    background: var(--primary-d);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}
.nav.scrolled .nav-cta { background: var(--primary); color: #ffffff !important; }
.nav.scrolled .nav-cta svg { fill: #ffffff; }

/* Hamburger */
.nav-hamburger {
    display: none; flex-direction: column; gap: 6px; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
    display: block; width: 24px; height: 2px;
    background: #fff; border-radius: 2px; transition: 0.3s;
}
.nav.scrolled .nav-hamburger span { background: var(--dark); }

/* ── Hero Section (Premium CSS) ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #070e20 0%, #0d1b3f 50%, #1e3a8a 100%);
    overflow: hidden;
    padding: 140px 0 100px;
}
.hero-logo-centered {
    margin: 0 auto 40px;
    display: flex;
    justify-content: center;
    width: 100%;
}
.hero-logo-centered img {
    max-width: 220px;
    height: auto;
    filter: drop-shadow(0 0 25px rgba(34, 211, 238, 0.3));
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-logo-centered:hover img {
    transform: scale(1.08) translateY(-5px);
    filter: drop-shadow(0 0 35px rgba(34, 211, 238, 0.5));
}
/* Abstract Animated Gradient Blob */
.hero::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.4) 0%, transparent 70%);
    top: -200px; right: -100px;
    border-radius: 50%;
    animation: blob-bounce 12s infinite alternate ease-in-out;
    filter: blur(40px);
}
/* Parallax Starfield / Particles */
.particles {
    position: absolute; inset: 0; pointer-events: none;
    background-image: 
        radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.7) 1px, transparent 0),
        radial-gradient(1.5px 1.5px at 30% 80%, rgba(255,255,255,0.8) 1px, transparent 0),
        radial-gradient(2px 2px at 80% 40%, rgba(255,255,255,0.5) 1px, transparent 0),
        radial-gradient(1px 1px at 60% 60%, rgba(255,255,255,0.6) 1px, transparent 0),
        radial-gradient(1.5px 1.5px at 90% 90%, rgba(255,255,255,0.7) 1px, transparent 0);
    background-size: 200px 200px;
    animation: drift 60s linear infinite;
    opacity: 0.6;
}
@keyframes blob-bounce {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(50px) scale(1.1); }
    100% { transform: translateY(-20px) scale(0.9); }
}
@keyframes drift {
    0% { background-position: 0 0; }
    100% { background-position: 200px 200px; }
}

.hero-inner {
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 40px;
    position: relative; z-index: 2; width: 100%;
}
.hero-content {
    flex: 1;
    max-width: 800px;
}
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}
.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: 20px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    line-height: 1.6;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 28px; border-radius: 10px;
    font-size: 16px; font-weight: 700;
    cursor: pointer; border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative; overflow: hidden;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
    background: var(--primary-d);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.5);
}
/* Shimmer effect for primary button */
.btn-primary::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    animation: shimmer 4s infinite;
}
@keyframes shimmer {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}
.btn-outline {
    background: rgba(255,255,255,0.05); color: #fff;
    border: 2px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
}
.btn-outline:hover {
    background: #fff; color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255,255,255,0.2);
}

.hero-stats {
    display: flex; gap: 40px; margin-top: 60px; justify-content: center;
    padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat { position: relative; }
.hero-stat strong { display: block; font-size: 32px; font-weight: 900; color: #fff; line-height: 1; margin-bottom: 5px; }
.hero-stat span { font-size: 14px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }



/* ── Trusted Partners ── */
.trusted {
    background: var(--card); border-bottom: 1px solid var(--border);
    padding: 30px 0; overflow: hidden;
}
.trusted-inner {
    display: flex; align-items: center; gap: 30px; justify-content: center; flex-wrap: wrap;
}
.trusted span {
    font-size: 13px; font-weight: 800; color: var(--muted); text-transform: uppercase;
}
.trust-chip {
    padding: 8px 18px; border-radius: 30px; background: var(--bg);
    border: 1px solid var(--border); font-size: 14px; font-weight: 700; color: var(--text);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02); transition: 0.3s;
}
.trust-chip:hover { transform: translateY(-2px); border-color: var(--primary); color: var(--primary); }

/* ── Specific Services Section (Cards with Glass effect) ── */
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px;
}
.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative; z-index: 1; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), 0 20px 40px rgba(37, 99, 235, 0.1);
    border-color: transparent;
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
    width: 60px; height: 60px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; margin-bottom: 24px; transition: 0.3s;
}
.feature-card:hover .feature-icon { transform: scale(1.1) rotate(5deg); }
.feature-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; color: var(--dark); }
.feature-card p { font-size: 15px; color: var(--muted); line-height: 1.7; }

/* ── Timeline (How we work) ── */
.timeline {
    position: relative; max-width: 800px; margin: 60px auto 0;
}
.timeline::before {
    content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 4px;
    background: var(--primary-l); transform: translateX(-50%); border-radius: 4px;
}
.timeline-item {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; position: relative;
}
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-content {
    width: calc(50% - 40px); background: var(--card); padding: 30px;
    border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--border);
    transition: 0.3s;
}
.timeline-content:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: var(--shadow-lg); }
.timeline-icon {
    position: absolute; left: 50%; transform: translateX(-50%);
    width: 48px; height: 48px; border-radius: 50%; background: var(--primary);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 20px; border: 6px solid var(--primary-l);
    box-shadow: 0 0 0 4px var(--bg); transition: 0.3s; z-index: 2;
}
.timeline-item:hover .timeline-icon { transform: translateX(-50%) scale(1.2); box-shadow: 0 0 20px var(--accent-glow); }
.timeline-content h4 { font-size: 18px; font-weight: 800; margin-bottom: 10px; color: var(--dark); }
.timeline-content p { font-size: 14.5px; color: var(--muted); }

/* ── Pricing ── */
.pricing-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 60px; max-width: 900px; margin-left: auto; margin-right: auto;
}
.pricing-card {
    background: var(--card); border: 2px solid var(--border);
    border-radius: 20px; padding: 40px; box-shadow: var(--shadow);
    transition: 0.4s; position: relative;
}
.pricing-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
    background: var(--dark-l); color: #fff; border: none;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.4), inset 0 0 0 1px rgba(255,255,255,0.1);
}
.pricing-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: #fff; font-size: 12px; font-weight: 800; padding: 6px 20px;
    border-radius: 30px; letter-spacing: 1px; text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(37,99,235,0.3);
}
.plan-name { font-size: 22px; font-weight: 900; margin-bottom: 20px; color: var(--dark); }
.pricing-card.featured .plan-name { color: #fff; }
.pricing-features {
    list-style: none; margin-bottom: 30px; display: flex; flex-direction: column; gap: 14px;
}
.pricing-features li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; font-weight: 500; }
.pricing-features li::before {
    content: '✓'; display: flex; align-items: center; justify-content: center;
    width: 20px; height: 20px; border-radius: 50%; background: rgba(16, 185, 129, 0.1);
    color: var(--green); font-weight: 800; font-size: 12px; flex-shrink: 0; margin-top: 2px;
}

/* ── Google Reviews ── */
.testimonials {
    background: var(--dark); color: #fff; padding: 100px 0; overflow: hidden; position: relative;
}
.testimonials::after {
    content: ''; position: absolute; height: 100%; width: 100%; top: 0; left: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,0.03)' stroke-width='1' d='M0 100 V0 H100'/%3E%3C/svg%3E");
    pointer-events: none; opacity: 0.5;
}
.google-logo-svg { width: 100px; margin-bottom: 15px; }
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; position: relative; z-index: 2; }
.test-card {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px; padding: 30px; backdrop-filter: blur(10px);
    transition: 0.3s;
}
.test-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.2); }
.test-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.test-stars { color: #fbbc05; font-size: 16px; letter-spacing: 2px;}
.test-text { font-size: 14.5px; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.test-author { display: flex; align-items: center; gap: 14px; }
.test-avatar {
    width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px;
}
.test-name { font-size: 15px; font-weight: 800; }
.test-role { font-size: 12px; color: rgba(255,255,255,0.5); }

/* ── Contact Section ── */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 60px; align-items: center;
}
.contact-info h3 { font-size: 28px; font-weight: 900; margin-bottom: 16px; color: var(--dark); }
.contact-item {
    display: flex; align-items: center; gap: 20px; padding: 20px;
    background: var(--card); border: 1px solid var(--border); border-radius: 16px; margin-bottom: 16px;
    transition: 0.3s; box-shadow: var(--shadow);
}
.contact-item:hover { transform: translateX(10px); border-color: var(--primary); box-shadow: var(--shadow-lg); }
.contact-item-icon {
    width: 50px; height: 50px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.contact-item-text strong { display: block; font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.contact-item-text span { font-size: 14px; color: var(--muted); }

/* Stylish Form */
.contact-form {
    background: var(--card); padding: 40px; border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08); border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; position: relative; }
.form-group label {
    display: block; font-size: 13px; font-weight: 800; color: var(--dark);
    margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px;
}
.form-group input, .form-group textarea {
    width: 100%; padding: 14px 18px; border: 2px solid var(--border);
    border-radius: 12px; font-size: 15px; font-family: var(--font);
    background: var(--bg); transition: 0.3s; outline: none;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }
/* Honeypot hidden visually but accessible */
.hp-hidden { opacity: 0; position: absolute; top: 0; left: 0; height: 0; width: 0; z-index: -1; pointer-events: none; }

.alert { padding: 16px 20px; border-radius: 12px; font-size: 15px; font-weight: 700; margin-bottom: 24px; }
.alert-ok { background: #ecfdf5; color: #065f46; border: 1px solid #10b981; }
.alert-err { background: #fef2f2; color: #991b1b; border: 1px solid #ef4444; }

/* ── Footer ── */
footer { background: var(--dark); color: #fff; padding: 60px 0 30px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-size: 24px; font-weight: 900; display: flex; align-items: center; gap: 10px; margin-bottom: 12px;}
.footer-links h5 { font-size: 13px; font-weight: 800; letter-spacing: 1px; color: rgba(255,255,255,0.4); margin-bottom: 20px; text-transform: uppercase; }
.footer-links a { display: block; margin-bottom: 12px; color: rgba(255,255,255,0.7); font-size: 14px; position: relative; width: fit-content; }
.footer-links a::after {
    content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
    background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 0.3s;
}
.footer-links a:hover { color: #fff; }
.footer-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; text-align: center; font-size: 13px; color: rgba(255,255,255,0.5); }

/* Floating WA */
.floating-wa {
    position: fixed; bottom: 30px; right: 30px; background: #25d366; color: #fff;
    border-radius: 50px; padding: 14px 24px 14px 16px; display: flex; align-items: center; gap: 12px;
    font-weight: 800; font-size: 15px; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 999; animation: float 3s ease-in-out infinite; transition: 0.3s;
}
.floating-wa:hover { background: #1ebe57; transform: scale(1.05); }
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    width: calc(100% - 40px); max-width: 900px; background: rgba(255,255,255,0.95);
    backdrop-filter: blur(15px); border: 1px solid var(--border); border-radius: 16px;
    padding: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); z-index: 10000;
    display: none; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 300px; font-size: 14px; color: var(--muted); }
.cookie-text strong { display: block; font-size: 16px; color: var(--dark); font-weight: 800; margin-bottom: 6px; }
.cookie-actions { display: flex; gap: 12px; }
.cookie-btn { padding: 12px 20px; border-radius: 10px; font-size: 14px; font-weight: 700; border: none; cursor: pointer; transition: 0.2s; }
.cookie-accept { background: var(--primary); color: #fff; }
.cookie-accept:hover { background: var(--primary-d); }
.cookie-reject { background: #f1f5f9; color: var(--text); }
.cookie-reject:hover { background: #e2e8f0; }

/* ── Medias ── */
@media (max-width: 992px) {
    .nav-links { position: static; transform: none; display: none; }
    .hero-inner { flex-direction: column; text-align: center; }
    .hero-img-wrap { display: none; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .features-grid, .pricing-grid, .test-grid { grid-template-columns: 1fr 1fr; }
    .timeline::before { left: 30px; }
    .timeline-item { flex-direction: column !important; align-items: flex-start; padding-left: 80px; }
    .timeline-icon { left: 30px; transform: translateX(-50%); }
    .timeline-item:hover .timeline-icon { transform: translateX(-50%) scale(1.2); }
    .timeline-content { width: 100%; }
    .contact-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
}
@media (max-width: 768px) {
    .features-grid, .pricing-grid, .test-grid, .form-row { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
    .hero-stats { gap: 20px; flex-direction: column; align-items: center; }
}
@media (max-width: 600px) {
    .cookie-actions { flex-direction: column; width: 100%; }
    .cookie-btn { width: 100%; }
    .floating-wa span { display: none; }
    .floating-wa { padding: 16px; border-radius: 50%; bottom: 30px; right: 20px; }
}

/*** MODAL DE TEXTOS LEGALES SUPERPUESTO ***/
.legal-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
}
.legal-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.legal-modal-content {
    background: var(--card);
    border: 1px solid var(--border);
    width: 100%;
    max-width: 800px;
    height: 85vh;
    border-radius: 16px;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.legal-modal-overlay.active .legal-modal-content {
    transform: translateY(0) scale(1);
}
.modal-close {
    position: sticky;
    top: 0;
    right: 0;
    float: right;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid transparent;
    padding: 10px 16px;
    margin: 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    z-index: 10;
    transition: all 0.2s;
}
.modal-close:hover {
    background: #ef4444;
    color: white;
}
#legalModalBody {
    padding: 30px 40px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    clear: both;
}
#legalModalBody h1, #legalModalBody h2, #legalModalBody h3 {
    color: var(--dark);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

@media (max-width: 768px) {
    .legal-modal-content {
        height: 90vh;
        border-radius: 12px;
    }
    #legalModalBody { padding: 20px 20px; }
}
