:root {
    --bg-dark: #020617;
    --bg-card: rgba(15, 23, 42, 0.6);
    --accent: #22d3ee;
    --accent-magenta: #ff1493;
    --accent-gradient: linear-gradient(135deg, var(--accent-magenta), var(--accent));
    --accent-glow: rgba(34, 211, 238, 0.3);
    --magenta-glow: rgba(255, 20, 147, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --alert: #ef4444;
    --success: #10b981;
    --glass-border: rgba(255, 255, 255, 0.1);
}

@keyframes shine {
    to { background-position: 200% center; }
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&display=swap');

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

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 60px;
}

/* Background Gradients */
/* Reviews Ticker */
.reviews-ticker {
    padding: 80px 0;
    overflow: hidden;
    background: rgba(2, 6, 23, 0.6);
    position: relative;
    clear: both;
    width: 100%;
    margin-top: 4rem;
}

.reviews-ticker h3 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.5rem;
    color: var(--text-primary);
    opacity: 0.8;
}

.reviews-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollReviews 40s linear infinite;
}

.reviews-track:hover {
    animation-play-state: paused;
}

.no-scroll {
    overflow: hidden !important;
    height: 100vh !important;
    position: fixed !important;
    width: 100% !important;
}

.section-header {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.review-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    width: 320px;
    flex-shrink: 0;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
}

.avatar-indigo { background: #4f46e5; }
.avatar-emerald { background: #10b981; }
.avatar-amber { background: #f59e0b; }
.avatar-pink { background: #ec4899; }
.avatar-blue { background: #3b82f6; }

.review-info strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.review-info span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.review-stars {
    color: #fbbf24;
    font-size: 1.1rem;
    display: flex;
    gap: 2px;
}

.review-content {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.google-logo {
    margin-left: auto;
    width: 18px;
    height: 18px;
}

@keyframes scrollReviews {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); }
}

@media (max-width: 768px) {
    .reviews-track { animation-duration: 25s; }
}

.bg-hero {
    position: fixed;
    width: 80vw;
    max-width: 600px;
    height: 80vw;
    max-height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    z-index: -1;
}

.bg-blob {
    position: fixed;
    width: 80vw;
    max-width: 600px;
    height: 80vw;
    max-height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    z-index: -1;
    filter: blur(80px);
    opacity: 0.5;
}

.blob-1 { top: -200px; left: -200px; }
.blob-2 { bottom: -200px; right: -200px; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.6rem 10%;
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text-primary);
}

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

.logo img {
    height: 45px;
    width: auto;
}

.logo a {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-cta {
    background: var(--accent-gradient);
    color: #ffffff;
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.3s;
    box-shadow: 0 0 10px var(--magenta-glow);
}

.nav-cta:hover {
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-1px);
}

/* Hero Section */
header {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 5% 40px;
    position: relative;
    background-image: radial-gradient(circle, rgba(2,6,23,0.65) 0%, rgba(2,6,23,0.98) 100%), url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.seo-tag {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

h1 {
    font-size: clamp(1.8rem, 7vw, 3.8rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    max-width: 1100px;
    width: 100%;
    font-weight: 800;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 0, 0, 0.3);
    opacity: 1;
    transform: none;
    animation: none;
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.5));
}

h2, h3 {
    font-weight: 800;
    letter-spacing: -1.5px;
}

h1 span {
    color: #22d3ee;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}




.hero-sub {
    font-size: 1.25rem;
    color: var(--text-primary);
    max-width: 600px;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.hero-price-tag {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.8;
    animation: fadeIn 1s ease 1s forwards;
}

.cta-button {
    background: var(--accent-gradient);
    color: #ffffff;
    border: none;
    padding: 0.9rem 2.2rem;
    border-radius: 9999px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px var(--magenta-glow);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    text-decoration: none;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.cta-button:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 0 35px var(--accent-glow);
}

.cta-secondary {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.9rem 2.2rem;
    border-radius: 9999px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-magenta);
    color: #ffffff;
    box-shadow: 0 0 25px var(--magenta-glow);
    transform: translateY(-3px) scale(1.02);
}

.urgency {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--alert);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

/* Services Grid */
.grid-container {
    padding: 100px 10%;
    max-width: 1400px;
    margin: 0 auto;
}

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

.card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    padding: 1.25rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: all 0.4s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    cursor: pointer;
}

.card:hover {
    border-color: var(--accent-magenta);
    background: rgba(15, 23, 42, 0.8);
    transform: translateY(-10px);
    box-shadow: 0 0 40px var(--magenta-glow);
}

.card-info {
    padding: 0.5rem 0.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}

.card:hover .card-link {
    text-shadow: 0 0 10px var(--accent-glow);
    transform: translateX(5px);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.05) 0%, rgba(255, 20, 147, 0.1) 100%);
    border: 1px solid rgba(255, 20, 147, 0.2);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 0.5rem;
    transition: all 0.4s ease;
}

.card:hover .card-icon {
    background: var(--accent-gradient);
    color: var(--text-primary);
    transform: rotateY(10deg) scale(1.1);
    box-shadow: 0 0 20px var(--magenta-glow);
}

.card h3 {
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 800;
}

.card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Chat Simulation WhatsApp Style */
.chat-section {
    padding: 80px 10%;
    background: var(--bg-dark);
}

#chat-sim {
    max-width: 450px;
    height: 600px;
    margin: 0 auto;
    background: #0b141a;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.05);
}

.chat-header {
    background: #202c33;
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #e9edef;
}

.chat-header-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-header-info {
    display: flex;
    flex-direction: column;
}

.chat-header-info strong {
    font-size: 0.95rem;
    font-weight: 600;
}

.chat-header-info span {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
}

.chat-header-icons {
    display: flex;
    gap: 15px;
    color: #aebac1;
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.chat-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    pointer-events: none;
}

.msg {
    max-width: 85%;
    padding: 8px 12px;
    font-size: 0.9rem;
    position: relative;
    border-radius: 8px;
    animation: slideUp 0.3s ease forwards;
    z-index: 1;
}

.msg.ia {
    align-self: flex-start;
    background: #202c33;
    color: #e9edef;
    border-top-left-radius: 0;
}

.msg.ia::after {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 0;
    height: 0;
    border-top: 10px solid #202c33;
    border-left: 10px solid transparent;
}

.msg.client {
    align-self: flex-end;
    background: #005c4b;
    color: #e9edef;
    border-top-right-radius: 0;
}

.msg.client::after {
    content: '';
    position: absolute;
    top: 0;
    right: -8px;
    width: 0;
    height: 0;
    border-top: 10px solid #005c4b;
    border-right: 10px solid transparent;
}

.msg-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin-top: 4px;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
}

.msg-ticks {
    margin-top: 2px;
}

.chat-footer {
    background: #202c33;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #aebac1;
}

.chat-input-area {
    flex: 1;
    background: #2a3942;
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.mock-input {
    color: #8696a0;
}

.chat-mic {
    background: #00a884;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 168, 132, 0.5);
}

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

/* Process & FAQ */
.process {
    padding: 100px 10%;
    text-align: center;
}

.process h2 {
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.step:hover {
    transform: translateX(15px);
    border-color: var(--accent-magenta);
    background: rgba(255, 20, 147, 0.03);
    box-shadow: -10px 10px 30px var(--magenta-glow);
}

.step-num {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.15;
    line-height: 1;
    transition: all 0.4s ease;
    font-family: 'Outfit', sans-serif;
}

.step:hover .step-num {
    opacity: 1;
    transform: scale(1.1);
    text-shadow: 0 0 20px var(--accent-glow);
}

.step h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.step:hover h3 {
    color: var(--accent-magenta);
}

.faq {
    padding: 100px 10%;
    max-width: 900px;
    margin: 0 auto;
}

details {
    background: var(--bg-card);
    margin-bottom: 1rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    transition: all 0.3s ease;
}

details:hover {
    border-color: rgba(255, 20, 147, 0.3);
    background: rgba(255, 255, 255, 0.02);
}

details[open] {
    border-color: var(--accent-magenta);
    box-shadow: 0 0 30px var(--magenta-glow);
    background: rgba(255, 20, 147, 0.04);
}

summary {
    padding: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

summary::-webkit-details-marker {
    display: none;
}

summary:hover {
    color: var(--accent-magenta);
}

details[open] summary {
    color: var(--accent);
    border-bottom: 1px solid var(--glass-border);
}

summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--accent);
    transition: transform 0.3s ease;
}

details[open] summary::after {
    transform: rotate(45deg);
}

details p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
}

/* WhatsApp Float */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s;
}

.wa-float:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger logic for items within grids/containers */
.grid .reveal.active:nth-child(1),
.service-grid .reveal.active:nth-child(1),
.authority-grid .reveal.active:nth-child(1) { transition-delay: 0.1s; }

.grid .reveal.active:nth-child(2),
.service-grid .reveal.active:nth-child(2),
.authority-grid .reveal.active:nth-child(2) { transition-delay: 0.2s; }

.grid .reveal.active:nth-child(3),
.service-grid .reveal.active:nth-child(3),
.authority-grid .reveal.active:nth-child(3) { transition-delay: 0.3s; }

.grid .reveal.active:nth-child(4),
.service-grid .reveal.active:nth-child(4) { transition-delay: 0.4s; }

.grid .reveal.active:nth-child(5),
.service-grid .reveal.active:nth-child(5) { transition-delay: 0.5s; }

.grid .reveal.active:nth-child(6),
.service-grid .reveal.active:nth-child(6) { transition-delay: 0.6s; }

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

/* Footer */
.footer {
    padding: 3rem 10%;
    background: #020617;
    border-top: 1px solid var(--glass-border);
    margin-top: 50px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-info p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

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

/* Navbar Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 4px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .grid-container, .chat-section, .process, .faq, .authority-section, .portfolio-section {
        padding: 60px 5%;
    }
    
    header {
        padding: 60px 4% 30px;
    }
    
    h1 { 
        font-size: 1.85rem;
        margin-bottom: 1.25rem;
    }

    .hero-sub {
        margin-bottom: 1.5rem;
        font-size: 1rem;
        line-height: 1.5;
    }

    .hero-bullets {
        margin-bottom: 1.5rem;
        gap: 0.5rem;
    }

    .bullet {
        font-size: 0.9rem;
        text-align: left;
    }
    
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(2, 6, 23, 0.98);
        backdrop-filter: blur(25px);
        box-shadow: -10px 0 50px rgba(0,0,0,0.5);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        padding: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.25rem;
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
        background-color: var(--accent);
    }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
        background-color: var(--accent);
    }

    .nav-cta {
        padding: 0.5rem 1.1rem;
        font-size: 0.75rem;
        margin-right: 0.75rem;
    }

    .navbar {
        padding: 0.75rem 5%;
    }

    .logo img {
        height: 38px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .wa-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
}
/* Bullets y Acciones Hero */
.hero-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.5s forwards;
    align-items: center;
    width: 100%;
}

.bullet {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.check {
    color: var(--accent);
    font-weight: 900;
    font-size: 1.2rem;
}

.hero-actions {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

/* --- Ajustes de Responsividad --- */
@media (max-width: 768px) {
    .hero-bullets {
        align-items: center;
        text-align: center;
    }
}

/* Dinámica de Urgencia */
.urgency-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.25rem 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    opacity: 0;
    animation: fadeIn 1s ease 1.2s forwards;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #ff4757;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: #ff4757;
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

.timer-box {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

#countdown {
    color: #fff;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.1rem;
    font-weight: 700;
    margin-left: 0.5rem;
    background: rgba(0,0,0,0.5);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Authority Section */
.authority-section {
    padding: 100px 10%;
    background: linear-gradient(to bottom, rgba(2,6,23,0), rgba(34,211,238,0.03));
    text-align: center;
}

.authority-content {
    max-width: 1000px;
    margin: 0 auto;
}

.authority-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.authority-sub {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
}

.authority-sub strong {
    color: var(--accent);
}

.authority-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.authority-item {
    background: rgba(255,255,255,0.02);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s;
}

.authority-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-magenta);
    background: rgba(255, 20, 147, 0.05);
    box-shadow: 0 10px 40px var(--magenta-glow);
}

.authority-item:hover .auth-icon {
    color: var(--accent-magenta);
    transform: scale(1.1);
}

.auth-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.authority-item p {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.authority-footer p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.focus-box {
    display: inline-block;
    background: var(--accent-gradient);
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: 0 10px 30px var(--magenta-glow);
}

@media (max-width: 768px) {
    .authority-section { padding: 80px 5%; }
    .authority-content h2 { font-size: 2rem; }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delay for Grids */
.grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.grid .reveal:nth-child(3) { transition-delay: 0.3s; }
.grid .reveal:nth-child(4) { transition-delay: 0.45s; }
.grid .reveal:nth-child(5) { transition-delay: 0.6s; }
.grid .reveal:nth-child(6) { transition-delay: 0.75s; }

/* Micro-interactions */
.card-link svg {
    transition: transform 0.3s ease;
}

.card:hover .card-link svg {
    transform: translateX(3px);
}

/* GDPR Seal Styling */
.gdpr-seal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 15px;
    backdrop-filter: blur(5px);
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.8s ease 1s forwards;
}

.gdpr-seal svg {
    color: #10b981;
    filter: drop-shadow(0 0 5px rgba(16, 185, 129, 0.4));
}

@media (max-width: 768px) {
    .gdpr-seal {
        padding: 4px 10px;
        font-size: 0.65rem;
    }
}

.hero-locations {
    margin-top: 2rem;
    max-width: 100%;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.8s ease 1s forwards;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
}

.hero-locations strong {
    color: var(--accent-magenta);
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 1rem;
    font-weight: 800;
    opacity: 0.7;
}

.locations-ticker {
    display: flex;
    overflow: hidden;
    user-select: none;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    gap: 3rem;
    animation: scrollTicker 40s linear infinite;
    padding: 0.5rem 0;
}

.ticker-content:hover {
    animation-play-state: paused;
}

.ticker-content span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.ticker-content span:hover {
    color: var(--accent-magenta);
    text-shadow: 0 0 10px var(--magenta-glow);
    transform: scale(1.1);
}

.ticker-sep {
    color: rgba(255, 255, 255, 0.1);
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollTicker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes scrollReviews {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Portfolio Section Refined */
.portfolio-section {
    padding: 120px 10%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    clear: both;
}

.portfolio-header-box {
    text-align: center;
    margin-bottom: 5rem;
}

.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-item {
    flex: 1 1 350px;
    max-width: calc(33.333% - 2rem);
    min-width: 320px;
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.portfolio-item:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--accent-magenta);
    background: rgba(30, 41, 59, 0.5);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 20px var(--magenta-glow);
}

.portfolio-img-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.portfolio-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.portfolio-item:hover .portfolio-img-wrapper img {
    transform: scale(1.1);
}

.portfolio-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.2));
}

.portfolio-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 1rem;
    opacity: 0.9;
    white-space: nowrap;
}

.portfolio-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 700;
    line-height: 1.3;
}

.portfolio-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.portfolio-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 20, 147, 0.05);
    border: 1px solid rgba(255, 20, 147, 0.2);
    border-radius: 12px;
    color: var(--accent-magenta);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    margin-top: auto;
    width: fit-content;
}

.portfolio-cta:hover {
    background: var(--accent-gradient);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--magenta-glow);
}

.portfolio-cta svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.portfolio-cta:hover svg {
    transform: rotate(15deg) scale(1.1);
}

/* Portfolio Filters (Visual Only) */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-chip {
    padding: 8px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    cursor: default;
    transition: 0.3s;
}

.filter-chip.active {
    background: var(--accent-gradient);
    color: #ffffff;
    font-weight: 700;
    border-color: var(--accent-magenta);
    box-shadow: 0 0 10px var(--magenta-glow);
}

@media (max-width: 1200px) {
    .portfolio-item { 
        max-width: calc(50% - 2rem); 
    }
}

@media (max-width: 768px) {
    .portfolio-section { padding: 80px 5%; }
    .portfolio-item { 
        max-width: 100%;
        min-width: 100%;
    }
    .portfolio-grid { gap: 2rem; }
    .portfolio-img-wrapper { height: 220px; }
}

/* --- SEO Tag Badge --- */
.seo-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 20, 147, 0.08); /* magenta */
    border: 1px solid rgba(255, 20, 147, 0.25);
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-magenta);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
}
