/* 
   AccessTo Portal Madre - System Design v2
   Premium Luminous Dark Aesthetic
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

:root {
    /* Color Palette — Luminous Premium */
    --accent-primary: hsl(210, 100%, 55%);
    --accent-secondary: hsl(250, 70%, 62%);
    --accent-cyan: hsl(180, 90%, 50%);
    --accent-red: hsl(355, 75%, 50%);
    --accent-parking: hsl(210, 85%, 52%);
    --accent-asistencia: hsl(220, 80%, 55%);

    --bg-deep: hsl(222, 33%, 10%);
    --bg-surface: hsl(222, 28%, 14%);
    --bg-card: hsla(222, 28%, 18%, 0.75);
    --bg-section-alt: hsla(222, 28%, 8%, 0.5);

    --text-main: hsl(0, 0%, 96%);
    --text-muted: hsl(220, 15%, 65%);

    --glass-border: hsla(0, 0%, 100%, 0.12);
    --glass-bg: hsla(222, 28%, 22%, 0.5);
    --glass-bg-hover: hsla(222, 28%, 28%, 0.65);

    /* Spacing & Borders */
    --radius-lg: 1.25rem;
    --radius-md: 0.85rem;
    --radius-sm: 0.5rem;
    --gap-section: 6rem;
    --transition-smooth: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);

    /* Shadows */
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-glow-blue: 0 0 60px hsla(210, 100%, 55%, 0.1);
    --shadow-glow-purple: 0 0 60px hsla(250, 70%, 62%, 0.08);
}

/* ============== RESET & BASE ============== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-deep);
    background-image:
        radial-gradient(ellipse at 15% 0%, hsla(210, 100%, 55%, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 20%, hsla(250, 70%, 62%, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 90%, hsla(180, 90%, 50%, 0.04) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* ============== GLASSMORPHISM ============== */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
}

.glass-card:hover {
    border-color: hsla(210, 100%, 55%, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), var(--shadow-glow-blue);
}

/* ============== BUTTONS ============== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    border-radius: 99px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 8px 25px -5px hsla(210, 100%, 55%, 0.35);
}

.btn-primary:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 35px -5px hsla(210, 100%, 55%, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-outline:hover {
    background: hsla(0, 0%, 100%, 0.08);
    border-color: var(--text-muted);
}

/* ============== LAYOUT ============== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: var(--gap-section) 0;
}

/* ============== TOP BAR ============== */
.top-bar {
    background: hsla(222, 33%, 6%, 0.9);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.5rem 0;
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* ============== HEADER / NAV ============== */
.site-header {
    position: sticky;
    top: 0.75rem;
    margin: 0 auto;
    width: calc(100% - 2rem);
    max-width: 1200px;
    z-index: 1000;
    padding: 0.7rem 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.header-logo img {
    height: 36px;
    width: auto;
    display: block;
}

.header-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.header-logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -1px;
    color: var(--text-main);
    text-decoration: none;
}

.header-logo-text .dot {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    gap: 1.3rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.82rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s;
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 0.7rem;
    align-items: center;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1100;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: hsla(222, 33%, 8%, 0.97);
    backdrop-filter: blur(20px);
    z-index: 1050;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    transition: color 0.3s;
}

.mobile-nav a:hover {
    color: var(--accent-primary);
}

/* ============== HERO ============== */
.hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    line-height: 1.08;
    margin-bottom: 1.2rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-badges {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-badges span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-badges .icon {
    color: var(--accent-primary);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.hero-proof {
    font-size: 0.82rem;
    color: var(--accent-primary);
    font-weight: 500;
}

.hero-subproof {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Hero Visual: Layer Stack */
.hero-visual {
    padding: 2rem;
    text-align: center;
}

.layer-stack {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.layer-item {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.layer-item:hover {
    transform: scale(1.03);
}

.layer-arrow {
    font-size: 0.8rem;
    color: var(--glass-border);
    text-align: center;
}

/* ============== TEXT UTILITIES ============== */
.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--accent-primary) 50%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-subtle {
    background: linear-gradient(135deg, #fff 30%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

/* ============== BADGE ============== */
.badge {
    padding: 0.35rem 0.9rem;
    background: hsla(210, 100%, 55%, 0.1);
    border: 1px solid hsla(210, 100%, 55%, 0.2);
    color: var(--accent-primary);
    border-radius: 99px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.2rem;
    display: inline-block;
}

/* ============== GRID LAYOUTS ============== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

/* ============== PRODUCT CARDS (Ecosystem) ============== */
.product-card {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.4s ease;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-accent, var(--accent-primary));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 40px var(--card-glow, hsla(210, 100%, 55%, 0.08));
    border-color: var(--card-accent, hsla(210, 100%, 55%, 0.3));
}

/* Brand Colors */
.product-card[data-brand="asistencia"] {
    --card-accent: hsl(210, 100%, 55%);
    --card-glow: hsla(210, 100%, 55%, 0.12);
}

.product-card[data-brand="parking"] {
    --card-accent: hsl(25, 100%, 50%);
    --card-glow: hsla(25, 100%, 50%, 0.12);
}

.product-card[data-brand="polaris"] {
    --card-accent: hsl(250, 70%, 62%);
    --card-glow: hsla(250, 70%, 62%, 0.12);
}

.product-card[data-brand="monarca"] {
    --card-accent: hsl(45, 100%, 50%);
    --card-glow: hsla(45, 100%, 50%, 0.12);
}

.product-card .product-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 1.2rem;
}

.product-card .product-emoji {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: hsla(0, 0%, 100%, 0.04);
    border: 1px solid hsla(0, 0%, 100%, 0.08);
    border-radius: 16px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.product-card:hover .product-emoji {
    transform: scale(1.1) rotate(-3deg);
    background: hsla(0, 0%, 100%, 0.08);
}

.product-card h3 {
    margin-bottom: 0.6rem;
    font-size: 1.25rem;
}

.product-card .product-subtitle {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.5;
}

.product-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex: 1;
}

.product-card ul {
    list-style: none;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-card .product-link {
    margin-top: auto;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s, gap 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--card-accent, var(--accent-primary));
}

.product-card .product-link:hover {
    gap: 0.6rem;
}

/* ============== ARCHITECTURE STEPS ============== */
.arch-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    flex: 1;
}

.arch-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--glass-border);
    font-size: 1.5rem;
}

/* ============== COUNTER SECTION ============== */
.counters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0;
    text-align: center;
}

.counter-item {
    padding: 2.5rem 1.5rem;
    position: relative;
}

.counter-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--glass-border), transparent);
}

.counter-value,
.counter-value-static {
    font-family: 'Outfit', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, hsl(210, 100%, 60%) 0%, hsl(180, 100%, 50%) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.counter-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============== FAQ ACCORDION ============== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.faq-item {
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    background: var(--bg-card);
}

.faq-item:hover {
    border-color: hsla(210, 100%, 55%, 0.25);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: 'Inter', sans-serif;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-question .faq-toggle {
    font-size: 1.3rem;
    transition: transform 0.3s;
    color: var(--accent-primary);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* ============== WHATSAPP FLOAT ============== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: var(--transition-smooth);
    animation: waPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: white;
}

@keyframes waPulse {

    0%,
    100% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    }
}

/* ============== DIFFERENTIATORS ============== */
.diff-item {
    text-align: center;
    padding: 2rem 1.2rem;
    transition: transform 0.3s ease;
}

.diff-item:hover {
    transform: translateY(-5px);
}

.diff-icon {
    font-size: 1.8rem;
    margin: 0 auto 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: hsla(210, 100%, 55%, 0.06);
    border: 1px solid hsla(210, 100%, 55%, 0.15);
    border-radius: 20px;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.diff-item:hover .diff-icon {
    background: hsla(210, 100%, 55%, 0.12);
    border-color: hsla(210, 100%, 55%, 0.3);
    transform: rotate(-5deg) scale(1.08);
}

.diff-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.diff-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============== CTA BAND ============== */
.cta-band {
    background: linear-gradient(135deg, hsla(210, 100%, 55%, 0.1), hsla(250, 70%, 62%, 0.1));
    text-align: center;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, hsla(210, 100%, 55%, 0.04) 50%, transparent 60%);
    animation: ctaShimmer 6s ease-in-out infinite;
}

@keyframes ctaShimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* ============== USE CASE CARDS ============== */
.use-case-card {
    padding: 1.5rem;
    text-align: center;
    border-radius: var(--radius-md);
}

.use-case-card h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* ============== FOOTER ============== */
.site-footer {
    padding: 4rem 0;
    background: hsla(222, 33%, 6%, 1);
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-brand img {
    height: 32px;
    margin-bottom: 0.8rem;
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-columns {
    display: flex;
    gap: 3.5rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-col-title {
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--text-main);
}

.footer-col a {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--text-main);
}

/* ============== SUBPAGE HERO ============== */
.subpage-hero {
    text-align: center;
    padding-top: 4rem;
    margin-bottom: 4rem;
}

.subpage-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.subpage-hero p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.subpage-hero .product-logo {
    height: 160px;
    max-width: 400px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px hsla(210, 100%, 60%, 0.25)) brightness(1.1);
    transition: filter 0.3s ease;
}

.subpage-hero .product-logo:hover {
    filter: drop-shadow(0 0 30px hsla(210, 100%, 60%, 0.4)) brightness(1.2);
}

/* ============== FEATURE GRID (Subpages) ============== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
}

.feature-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.15rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* ============== CODE PREVIEW ============== */
.code-preview {
    padding: 2rem;
    border-radius: var(--radius-lg);
    font-family: 'Courier New', monospace;
}

.code-preview code {
    display: block;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--accent-secondary);
}

/* ============== PARTICLE CANVAS ============== */
#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

/* ============== ANIMATIONS ============== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.7s ease forwards;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Stagger children */
.stagger-children .reveal:nth-child(1),
.stagger-children .reveal-scale:nth-child(1) {
    transition-delay: 0s;
}

.stagger-children .reveal:nth-child(2),
.stagger-children .reveal-scale:nth-child(2) {
    transition-delay: 0.12s;
}

.stagger-children .reveal:nth-child(3),
.stagger-children .reveal-scale:nth-child(3) {
    transition-delay: 0.24s;
}

.stagger-children .reveal:nth-child(4),
.stagger-children .reveal-scale:nth-child(4) {
    transition-delay: 0.36s;
}

.stagger-children .reveal:nth-child(5) {
    transition-delay: 0.4s;
}

/* ============== HERO VISUAL IMAGE ============== */
.hero-visual-img {
    width: 100%;
    max-width: 520px;
    height: auto;
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 20px 60px hsla(210, 100%, 55%, 0.15));
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(0.5deg);
    }
}

/* ============== FOOTER PREMIUM ============== */
.site-footer {
    padding: 4rem 0 2rem;
    background: hsla(222, 33%, 6%, 1);
    border-top: none;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), var(--accent-secondary), transparent);
}

.footer-ecosystem {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.footer-eco-tag {
    padding: 0.3rem 0.7rem;
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-eco-tag.asistencia {
    color: hsl(210, 100%, 60%);
    border-color: hsla(210, 100%, 60%, 0.3);
    background: hsla(210, 100%, 60%, 0.06);
}

.footer-eco-tag.parking {
    color: hsl(25, 100%, 55%);
    border-color: hsla(25, 100%, 55%, 0.3);
    background: hsla(25, 100%, 55%, 0.06);
}

.footer-eco-tag.polaris {
    color: hsl(250, 70%, 68%);
    border-color: hsla(250, 70%, 68%, 0.3);
    background: hsla(250, 70%, 68%, 0.06);
}

.footer-eco-tag.monarca {
    color: hsl(45, 100%, 55%);
    border-color: hsla(45, 100%, 55%, 0.3);
    background: hsla(45, 100%, 55%, 0.06);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: hsla(0, 0%, 100%, 0.04);
    border: 1px solid hsla(0, 0%, 100%, 0.08);
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    background: hsla(210, 100%, 55%, 0.1);
    border-color: hsla(210, 100%, 55%, 0.3);
    transform: translateY(-2px);
}

.footer-social a svg {
    width: 16px;
    height: 16px;
    fill: var(--text-muted);
}

/* ============== RESPONSIVE ============== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        display: none;
    }

    .hero {
        min-height: 70vh;
    }
}

@media (max-width: 768px) {
    :root {
        --gap-section: 4rem;
    }

    .nav-links,
    .header-actions {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .site-header {
        padding: 0.6rem 1.2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .grid-3,
    .grid-4,
    .grid-5 {
        grid-template-columns: 1fr;
    }

    .counters {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-columns {
        flex-direction: column;
        gap: 2rem;
    }

    .arch-divider {
        transform: rotate(90deg);
        padding: 0.8rem 0;
    }

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .whatsapp-float {
        bottom: 1.2rem;
        right: 1.2rem;
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .counters {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1.2rem;
    }
}