/* ============================================
   COOPSERCIVICOS - PORTAL WEB DE SEGURIDAD
   Diseño Moderno & Impactante
   ============================================ */

/* Variables CSS */
:root {
    --primary-dark: #0A192F;
    --primary: #112240;
    --primary-light: #233554;
    --accent: #00C853;
    --accent-light: #69F0AE;
    --accent-dark: #009624;
    --text-primary: #E6F1FF;
    --text-secondary: #8892B0;
    --text-muted: #5C6B8A;
    --white: #FFFFFF;
    --glass: rgba(17, 34, 64, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
    --shadow-glow: 0 0 20px rgba(0, 200, 83, 0.3);
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    --font-main: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--primary-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

/*
.shield-loader {
    font-size: 4rem;
    color: var(--accent);
    animation: pulse-shield 1.5s ease-in-out infinite;
    margin-bottom: 1rem;
}
*/

.shield-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    background: transparent;
}

.shield-loader img{
    width: 60px;
    height: 60px;
    object-fit: contain;
    animation: pulse-shield 1.5s ease-in-out infinite;
}


@keyframes pulse-shield {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

.loader-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress {
    height: 100%;
    width: 0;
    background: var(--accent);
    border-radius: 3px;
    animation: load-progress 1.5s ease forwards;
}

@keyframes load-progress {
    0% { width: 0; }
    100% { width: 100%; }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    padding: 12px 0;
}

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

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

.logo-icon {
    width: 45px;
    height: 45px;
    background: transparent;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary-dark);
    box-shadow: var(--shadow-glow);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 6px;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* ============================================
   DROPDOWN MENU - ASOCIADOS
   ============================================ */
.dropdown {
    position: relative;
}

.dropdown > .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown > .nav-link i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover > .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--primary-dark);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    box-shadow: 0 10px 30px rgba(2, 12, 27, 0.8);
    z-index: 1001;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: var(--primary-dark);
    border-left: 1px solid var(--glass-border);
    border-top: 1px solid var(--glass-border);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    display: block;
    width: 100%;
}

.dropdown-menu .nav-link {
    display: block;
    padding: 10px 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    white-space: nowrap;
    border-radius: 0;
    transition: all 0.2s ease;
}

.dropdown-menu .nav-link::after {
    display: none;
}

.dropdown-menu .nav-link:hover {
    color: var(--accent);
    background: rgba(0, 200, 83, 0.05);
    padding-left: 25px;
}

/* Mobile dropdown styles */
/*
@media (max-width: 768px) {
    .dropdown > .nav-link i {
        margin-left: auto;
        transition: transform 0.3s ease;
    }

    .dropdown.active > .nav-link i {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: all 0.4s ease;
        box-shadow: none;
        border: none;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 8px;
        margin: 0 10px;
        min-width: auto;
        padding: 0;
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 200px;
        padding: 8px 0;
        margin-top: 8px;
    }

    .dropdown-menu .nav-link {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}
*/

@media (max-width: 768px) {
    /* Asegura que el contenedor padre ocupe todo el ancho disponible */
    .dropdown {
        width: 100%;
    }

    .dropdown > .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .dropdown > .nav-link i {
        margin-left: auto;
        transition: transform 0.3s ease;
    }

    .dropdown.active > .nav-link i {
        transform: rotate(180deg);
    }

    /* Submenú mobile: flujo normal, ancho controlado y sin desbordamiento */
    .dropdown-menu {
        position: relative;        /* Cambia de absolute a relativo para que fluya dentro del li */
        left: auto;
        right: auto;
        top: auto;
        transform: none !important; /* Elimina cualquier translate residual del desktop */
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: all 0.4s ease;
        box-shadow: none;
        border: none;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 8px;
        margin: 0;                 /* Elimina márgenes laterales problemáticos */
        padding: 0;
        width: 100%;               /* Ocupa todo el ancho del li padre */
        min-width: auto;
        box-sizing: border-box;
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 300px;       /* Aumentado para que quepa todo el contenido */
        padding: 8px 0;
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .dropdown-menu li {
        width: 100%;
    }

    .dropdown-menu .nav-link {
        display: block;
        padding: 12px 16px;      /* Padding reducido para que quepa en pantallas angostas */
        font-size: 0.95rem;
        color: var(--text-secondary);
        white-space: normal;     /* Permite que el texto haga salto de línea si es necesario */
        border-radius: 0;
        transition: all 0.2s ease;
        width: 100%;
        box-sizing: border-box;
    }

    .dropdown-menu .nav-link::after {
        display: none;
    }

    .dropdown-menu .nav-link:hover {
        color: var(--accent);
        background: rgba(0, 200, 83, 0.05);
        padding-left: 20px;
    }
}



.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: var(--transition);
}

.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);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 200, 83, 0.4);
}

.btn-glow {
    background: var(--accent);
    color: var(--primary-dark);
    box-shadow: 0 0 20px rgba(0, 200, 83, 0.4), 0 4px 15px rgba(0, 200, 83, 0.3);
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 200, 83, 0.4), 0 4px 15px rgba(0, 200, 83, 0.3); }
    50% { box-shadow: 0 0 30px rgba(0, 200, 83, 0.6), 0 4px 15px rgba(0, 200, 83, 0.4); }
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-outline:hover {
    background: rgba(0, 200, 83, 0.1);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary-dark);
}

.btn-white:hover {
    background: var(--text-primary);
    transform: translateY(-2px);
}

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

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
    padding: 120px 0 30px;
    background: var(--primary);
    border-bottom: 1px solid var(--glass-border);
}

.breadcrumbs-list {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.breadcrumbs-list li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.breadcrumbs-list a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

.breadcrumbs-list a:hover {
    color: var(--accent);
}

.breadcrumbs-list .current {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
}

.breadcrumbs-list .separator {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.breadcrumbs-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 1rem;
}

/* ============================================
   HERO SLIDER (Homepage)
   ============================================ */
.hero-slider {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 100px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
/*
.hero-slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 47, 0.45);
}
*/
.hero-slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(10, 25, 47, 0.75),
        rgba(10, 25, 47, 0.45)
    );
}

.hero-slide .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-slider-controls {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.2);
}

.slider-dot:hover {
    background: var(--accent-light);
}

.slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
    pointer-events: none;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: all;
    backdrop-filter: blur(10px);
}

.slider-arrow:hover {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
}

/* ============================================
   HERO SECTION (Original - kept for other pages)
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 100px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(0, 200, 83, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(17, 34, 64, 0.8) 0%, transparent 50%),
        var(--primary-dark);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23112240' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: float-particle 15s infinite linear;
}

@keyframes float-particle {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-10vh) translateX(50px); opacity: 0; }
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 200, 83, 0.1);
    border: 1px solid rgba(0, 200, 83, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease;
}

.hero-badge i {
    font-size: 1rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: var(--accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stats-row {
    display: flex;
    gap: 40px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stat-item {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.hero-stat-item .stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-left: 8px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% { top: 8px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Hero Shape */
.hero-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-shape svg {
    width: 100%;
    height: auto;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
    background: var(--primary);
    padding: 40px 0;
    border-bottom: 1px solid var(--glass-border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.trust-item:hover {
    background: rgba(0, 200, 83, 0.05);
    border-color: rgba(0, 200, 83, 0.2);
    transform: translateY(-3px);
}

/*
.trust-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 200, 83, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent);
    flex-shrink: 0;
}
*/


/* CAMBIOS CON VENICE */
.trust-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 200, 83, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    padding: 5px;
}

.trust-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.trust-item:hover .trust-icon {
    background: rgba(0, 200, 83, 0.15);
    transform: scale(1.05);
}

.trust-item:hover .trust-icon img {
    transform: scale(1.1);
}
/* ************** HASTA ACÁ ****************** */



.trust-title {
    display: block;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.trust-desc {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ============================================
   SECTION UTILITIES
   ============================================ */
.section-header {
    margin-bottom: 4rem;
    max-width: 700px;
}

.section-header.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 40px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.section-header.center .section-tag {
    padding-left: 0;
}

.section-header.center .section-tag::before {
    display: none;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.text-gradient {
    background: var(--accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 100px 0;
    background: var(--primary-dark);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    perspective: 1000px;
}

.service-card-inner {
    background: var(--primary);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.service-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover .service-card-inner::before {
    transform: scaleX(1);
}

.service-card:hover .service-card-inner {
    transform: translateY(-5px);
    border-color: rgba(0, 200, 83, 0.2);
    box-shadow: 0 20px 40px rgba(2, 12, 27, 0.5);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 200, 83, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: var(--primary-dark);
    transform: scale(1.1);
}

.service-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.service-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-hover {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.service-card:hover .service-hover {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 100px 0;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.about-bg-pattern {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 200, 83, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 200, 83, 0.03) 0%, transparent 40%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(2, 12, 27, 0.5);
    position: relative;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    opacity: 0.1;
    mix-blend-mode: multiply;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-float-card {
    position: absolute;
    bottom: 40px;
    left: -30px;
    background: var(--primary-dark);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow);
    animation: float 3s ease-in-out infinite;
}

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

.float-icon {
    width: 45px;
    height: 45px;
    background: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.float-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.float-text {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-glow);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 200, 83, 0.4); }
    50% { box-shadow: 0 0 40px rgba(0, 200, 83, 0.6); }
}

.exp-years {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
}

.exp-text {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-transform: uppercase;
    line-height: 1.2;
}

.about-content .section-title {
    margin-bottom: 1.5rem;
}

.about-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(0, 200, 83, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1rem;
}

.feature-text h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

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

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.stats-bg {
    position: absolute;
    inset: 0;
    background: url("https://images.unsplash.com/photo-1557597774-9d273605dfa9?w=1920&h=600&fit=crop") center/cover;
}

.stats-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 47, 0.92);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(0, 200, 83, 0.05);
    border-color: rgba(0, 200, 83, 0.2);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.stat-number-wrapper {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-suffix {
    color: var(--accent);
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ============================================
   CERTIFICATIONS SECTION
   ============================================ */
.certifications {
    padding: 100px 0;
    background: var(--primary-dark);
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cert-card {
    background: var(--primary);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 50px 35px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.cert-card:hover::before {
    transform: scaleX(1);
}

.cert-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 200, 83, 0.2);
    box-shadow: 0 20px 40px rgba(2, 12, 27, 0.4);
}

.cert-card.featured {
    background: var(--primary-light);
    border-color: rgba(0, 200, 83, 0.3);
    transform: scale(1.05);
}

.cert-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}
/*
.cert-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 200, 83, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent);
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.cert-card:hover .cert-icon {
    background: var(--accent);
    color: var(--primary-dark);
}
*/

/* NUEVO CÓDIGO DE VENICE */

.cert-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 200, 83, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
    overflow: hidden;
    padding: 5px;
}

.cert-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.cert-card:hover .cert-icon {
    background: rgba(0, 200, 83, 0.15);
    transform: scale(1.05);
}

.cert-card:hover .cert-icon img {
    transform: scale(1.1);
}

/* ********************ACÁ TERMINA EL CÓDIGO ************************** */





.cert-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cert-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cert-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 200, 83, 0.1);
    border: 1px solid rgba(0, 200, 83, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   CLIENTS SECTION
   ============================================ */
.clients {
    padding: 100px 0;
    background: var(--primary);
    overflow: hidden;
}

.clients-marquee {
    margin: 60px 0;
    overflow: hidden;
    position: relative;
}

.clients-marquee::before,
.clients-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients-marquee::before {
    left: 0;
    background: var(--primary);
    mask-image: linear-gradient(to right, black, transparent);
    -webkit-mask-image: linear-gradient(to right, black, transparent);
}

.clients-marquee::after {
    right: 0;
    background: var(--primary);
    mask-image: linear-gradient(to left, black, transparent);
    -webkit-mask-image: linear-gradient(to left, black, transparent);
}

.marquee-track {
    display: flex;
    gap: 60px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.client-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    white-space: nowrap;
    transition: var(--transition);
}

.client-logo:hover {
    background: rgba(0, 200, 83, 0.05);
    border-color: rgba(0, 200, 83, 0.2);
}

.client-logo i {
    font-size: 1.5rem;
    color: var(--accent);
}

.client-logo span {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 15px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 47, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--accent);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: var(--accent);
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23009624' fill-opacity='0.2'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(10, 25, 47, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: 100px 0;
    background: var(--primary-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-title {
    margin-bottom: 1.5rem;
}

.contact-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(0, 200, 83, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
}

.contact-text h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

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

.contact-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--primary);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(2, 12, 27, 0.4);
}

.form-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.form-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--primary-dark);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238892B0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
}

.form-group select option {
    background: var(--primary-dark);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   AUTORIZACIÓN TRATAMIENTO DE DATOS
   ============================================ */
.form-group-consent {
    margin-bottom: 24px;
    padding: 16px 20px;
    background: rgba(0, 200, 83, 0.04);
    border: 1px solid rgba(0, 200, 83, 0.2);
    border-radius: 10px;
    transition: var(--transition);
}

.form-group-consent:focus-within {
    border-color: rgba(0, 200, 83, 0.5);
    background: rgba(0, 200, 83, 0.07);
    box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.08);
}

.consent-label {
    display: flex !important;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
    margin-bottom: 0 !important;
    font-size: 0.85rem !important;
    font-weight: 400 !important;
    color: var(--text-secondary) !important;
    line-height: 1.5;
    user-select: none;
}

/* Ocultar el checkbox nativo */
.consent-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Checkbox personalizado */
.consent-custom-check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid var(--glass-border);
    border-radius: 6px;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.consent-custom-check i {
    font-size: 0.65rem;
    color: var(--primary-dark);
    opacity: 0;
    transform: scale(0) rotate(-10deg);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Estado marcado */
.consent-label input[type="checkbox"]:checked ~ .consent-custom-check {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(0, 200, 83, 0.4);
}

.consent-label input[type="checkbox"]:checked ~ .consent-custom-check i {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Foco accesible */
.consent-label:focus-within .consent-custom-check {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.consent-text {
    flex: 1;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

.consent-link {
    color: var(--accent) !important;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.consent-link:hover {
    color: var(--accent-light) !important;
    border-bottom-color: var(--accent-light);
}

.consent-link i {
    font-size: 0.7rem;
    margin-left: 3px;
    vertical-align: middle;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary);
    border-top: 1px solid var(--glass-border);
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-links li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-links i {
    color: var(--accent);
    font-size: 0.8rem;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

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

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--primary-dark);
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-glow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
}

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

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

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-visual {
        max-width: 500px;
        margin: 0 auto;
    }

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

    .certs-grid {
        grid-template-columns: 1fr;
    }

    .cert-card.featured {
        transform: scale(1);
    }

    .cert-card.featured:hover {
        transform: scale(1) translateY(-5px);
    }

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 20px;
        transition: right 0.4s ease;
        border-left: 1px solid var(--glass-border);
        z-index: 999;
    }

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

    .nav-link {
        font-size: 1.1rem;
        padding: 12px 0;
    }

    .hamburger {
        display: flex;
        z-index: 1000;
    }

    .nav-actions .btn-primary {
        display: none;
    }

    .hero-stats-row {
        flex-direction: column;
        gap: 20px;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 150px);
    }

    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .about-experience-badge {
        width: 90px;
        height: 90px;
        right: -10px;
    }

    .exp-years {
        font-size: 2rem;
    }

    .about-float-card {
        left: -10px;
        padding: 15px 20px;
    }

    .slider-arrows {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-form-wrapper {
        padding: 25px;
    }
}

/* ============================================
   reCAPTCHA WIDGET
   ============================================ */
.form-recaptcha {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.form-recaptcha .g-recaptcha {
    transform: scale(0.95);
    transform-origin: center;
}

@media (max-width: 480px) {
    .form-recaptcha .g-recaptcha {
        transform: scale(0.85);
    }
}
