/* ============================================================
   CEG – Cooperativa Eléctrica de Gualeguaychú
   Design System & Global Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800;900&display=swap');

/* ─── Custom Properties ───────────────────────────────────── */
html,
body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

:root {
    --primary: #B5F161;
    /* Lime Green (Approved CTA) */
    --primary-dark: #8CC840;
    --accent: #0891B2;
    /* Professional utility cyan */
    --accent-light: #22D3EE;
    --bg-cyan: #ECFEFF;
    /* Transparent cyan background tint */
    --dark: #0F172A;
    /* Deeper slate for contrast */
    --dark-2: #1E293B;
    --text: #1a1a1a;
    --gray-text: #475569;
    --white: #ffffff;
    --gray-light: #F8FAFC;
    --gray-mid: #E2E8F0;
    --danger: #EF4444;
    --danger-dark: #B91C1C;
    --whatsapp: #22C55E;

    /* Shadows - Pro Max Level */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 32px;

    --transition: cubic-bezier(0.4, 0, 0.2, 1) 200ms;
    --header-h: 70px;

    /* Glassmorphism utility */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(10px);
}

/* ─── Reset & Base ────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
}

/* ─── Animations ────────────────────────────────────────── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInBlur {
    from {
        opacity: 0;
        filter: blur(20px);
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
        filter: blur(10px);
    }

    70% {
        transform: scale(1.1) rotate(2deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: blur(0);
    }
}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.animate-box {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

#box-factura.animate-box {
    animation-delay: 1.2s;
}

#box-fraude.animate-box {
    animation-delay: 1.4s;
}

#box-tarifario.animate-box {
    animation-delay: 1.6s;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes logoGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(181, 241, 97, 0.4);
    }

    50% {
        box-shadow: 0 0 40px rgba(181, 241, 97, 0.7), 0 0 60px rgba(8, 145, 178, 0.4);
    }
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink {
    50% {
        border-color: transparent
    }
}

.animate-fade-in {
    opacity: 0;
}
.start-animations .animate-fade-in {
    animation: fadeIn 1.2s ease forwards;
}

.animate-fade-in-blur {
    opacity: 0;
}
.start-animations .animate-fade-in-blur {
    animation: fadeInBlur 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-fade-in-up {
    opacity: 0;
}
.start-animations .animate-fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-pop-in {
    opacity: 0;
    animation: popIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}


a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

/* ─── Utility Classes ─────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--dark);
    position: relative;
    display: inline-block;
    margin-bottom: 0.3em;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 4px;
    margin-top: 10px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header .section-title::after {
    margin: 8px auto 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn i {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(181, 241, 97, 0.4);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-dark:hover {
    background: var(--dark-2);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--dark);
}

.tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tag-green {
    background: var(--primary);
    color: var(--dark);
}

.tag-dark {
    background: var(--dark);
    color: var(--white);
}

/* ─── TOP INFO BAR ────────────────────────────────────────── */
.top-bar {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: var(--dark);
    font-size: 0.82rem;
    padding: 10px 0;
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    z-index: 1001;
    animation: fadeInDown 0.8s ease forwards;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.top-bar .phones {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar .phone-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar .phone-item span.label {
    color: #255e34;
    font-weight: 600;
}

.top-bar .social-links {
    display: flex;
    gap: 10px;
    margin-left: auto;
    /* Push to far right for better balance */
}

.top-bar .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(181, 241, 97, 0.1);
    color: var(--dark);
    transition: all var(--transition);
    border: 1px solid rgba(181, 241, 97, 0.2);
}

.top-bar .social-links a svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5px;
    stroke: currentColor;
    fill: none;
    flex-shrink: 0;
    display: block;
}

.top-bar .social-links a:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(181, 241, 97, 0.3);
}

/* ─── NAVBAR ──────────────────────────────────────────────── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    height: var(--header-h);
    display: flex;
    align-items: center;
    transition: background var(--transition);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.navbar-logo img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.navbar-logo .logo-text {
    line-height: 1.2;
    max-width: 400px;
}

.navbar-logo .logo-text strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.3px;
}

.navbar-logo .logo-text small {
    font-size: 0.7rem;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    font-size: 0.95rem;
    font-weight: 800;
    color: #000;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-darker);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 70%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--dark);
    background: var(--primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 12px rgba(181, 241, 97, 0.4);
}

.navbar-nav .nav-link .chevron {
    font-size: 0.7rem;
    transition: transform var(--transition);
}

.nav-item:hover .chevron {
    transform: rotate(180deg);
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 200px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-mid);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition);
    z-index: 100;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    font-size: 0.87rem;
    font-weight: 500;
    color: var(--dark-3);
    border-radius: var(--radius-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-menu a:hover {
    background: rgba(181, 241, 97, 0.2);
    color: var(--dark);
    transform: translateX(10px);
    font-weight: 700;
}

.dropdown-menu a svg {
    color: var(--primary-darker);
    flex-shrink: 0;
    transition: transform 0.3s;
}

.dropdown-menu a:hover svg {
    transform: scale(1.2) rotate(5deg);
}

.navbar-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 15px;
}

.navbar-cta .btn-subsidios {
    background: #f2ffe0;
    color: var(--dark);
    font-weight: 700;
    border: 1px solid var(--primary);
    padding: 8px 15px;
}

.navbar-cta .btn-factura {
    padding: 10px 20px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    padding: 10px;
    border-radius: var(--radius-sm);
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Drawer Overlay */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding: 80px 30px 40px;
}

.mobile-drawer.active {
    right: 0;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.mobile-nav a {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-light);
}

.mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: auto;
}

.hamburger:hover {
    background: var(--gray-light);
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    display: block;
    transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--white);
    border-top: 1px solid var(--gray-mid);
    padding: 16px;
    gap: 4px;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    transition: all var(--transition);
}

.mobile-menu.open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu .mob-link {
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    color: var(--dark);
    transition: background var(--transition);
}

.mobile-menu .mob-link:hover {
    background: var(--gray-light);
}

.mobile-menu .mob-cta {
    margin-top: 8px;
    background: var(--primary);
    text-align: center;
    font-weight: 700;
    color: var(--dark);
}

/* ─── HERO SPLIT ──────────────────────────────────────── */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
    overflow: hidden;
    position: relative;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

/* Cuando el slider JS carga, desactiva la imagen estática y la animación */
.hero-bg.slider-active {
    background-image: none;
    animation: none;
}

/* Capas del slider (inyectadas por JS) */
.slider-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: opacity, transform, filter;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(8, 145, 178, 0.4) 100%);
    z-index: 1;
}

/* ─── SLIDER DOTS ──────────────────────────────────────────── */
.slider-dots-wrapper {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(6px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    flex-shrink: 0;
}

.slider-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
    box-shadow: 0 0 12px rgba(181, 241, 97, 0.6);
}

.slider-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}


.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-logo-wrapper {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.hero-logo-premium {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--primary);
    padding: 10px;
    background: white;
    box-shadow: 0 0 30px rgba(181, 241, 97, 0.5);
    animation: logoGlow 3s infinite ease-in-out;
}

.hero h1 {
    font-size: clamp(2rem, 7vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 24px;
    letter-spacing: -2px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #fff, var(--primary), var(--accent-light), #fff);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.5));
}

.hero.start-animations h1 {
    /* Combined animation: entry + gradient shift */
    animation:
        fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.4s,
        gradientShift 6s linear infinite 1.6s;
}

.hero h1 span {
    display: block;
    font-size: 0.5em;
    letter-spacing: 4px;
    margin: 15px 0;
    -webkit-text-fill-color: var(--primary);
    /* Force color for span */
    background: none;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(181, 241, 97, 0.6);
}

.hero-title-animated {
    opacity: 0;
    /* Keep initial opacity for animation */
}

.hero-subtitle-typing {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--primary);
    width: 0;
    max-width: fit-content;
    margin: 0 auto 40px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 3px;
    font-size: clamp(1rem, 2.5vw, 1.6rem);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.hero.start-animations .hero-subtitle-typing {
    animation:
        typing 3.5s steps(45, end) forwards 1.6s,
        blink 0.8s step-end infinite;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, .55);
    font-size: 0.75rem;
}

.hero-scroll .scroll-arrow {
    width: 28px;
    height: 28px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }

}

/* ─── HERO SPLIT: Panel Izquierdo ─────────────────────────── */
.hero-left {
    background: #0a0f1a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

/* Punta ondulada decorativa que solapa con el panel derecho */
.hero-left::after {
    content: '';
    position: absolute;
    right: -28px;
    top: 0;
    bottom: 0;
    width: 56px;
    background: #0a0f1a;
    clip-path: ellipse(100% 50% at 0% 50%);
    z-index: 3;
}

.hero-left-inner {
    max-width: 480px;
    width: 100%;
    position: relative;
    z-index: 4;
}

/* Logo dentro del panel izquierdo */
.hero-logo-split {
    margin-bottom: 22px;
}

.hero-logo-split img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    box-shadow: 0 0 30px rgba(181, 241, 97, 0.35);
    object-fit: cover;
    animation: logoGlow 3s infinite ease-in-out;
}

/* Eyebrow pill verde */
.hero .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(181, 241, 97, 0.08);
    border: 1px solid rgba(181, 241, 97, 0.25);
    padding: 7px 18px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 22px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* H1 override para el panel negro */
.hero h1,
.hero .hero-title-animated {
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    color: var(--primary);
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: var(--primary) !important;
    filter: none !important;
    text-align: left;
    opacity: 1;
}

.hero.start-animations h1,
.hero.start-animations .hero-title-animated {
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.2s;
    opacity: 0;
}

/* Span interno = nombre de la cooperativa en blanco */
.hero h1 span,
.hero .hero-title-animated span {
    display: block;
    font-size: 0.82em;
    letter-spacing: 0.5px;
    margin: 6px 0;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background: none !important;
    text-shadow: none;
    line-height: 1.2;
}

/* Tagline subtítulo */
.hero-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 34px;
    font-weight: 400;
    line-height: 1.5;
}

/* Botones hero */
.hero .hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* Botón outline verde sobre fondo negro */
.btn-outline-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline-green i { width: 18px; height: 18px; }

.btn-outline-green:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(181, 241, 97, 0.25);
}

/* ─── HERO SPLIT: Panel Derecho (Slider) ──────────────────── */
.hero-right {
    position: relative;
    overflow: hidden;
    background: #111;
}

.hero-right .hero-bg {
    position: absolute;
    inset: 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #111;
}

.hero-right .slider-layer {
    position: absolute;
    inset: 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #111;
    will-change: opacity, transform, filter;
}

/* Slider dots dentro del panel derecho */
.hero-right .slider-dots-wrapper,
.slider-dots-wrapper {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    flex-shrink: 0;
}

.slider-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
    box-shadow: 0 0 12px rgba(181, 241, 97, 0.6);
}

.slider-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

/* ─── HERO RESPONSIVE (mobile: apilado) ───────────────────── */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        grid-template-rows: auto 280px;
    }
    .hero-left {
        padding: 36px 24px;
    }
    .hero-left::after {
        display: none;
    }
    .hero h1,
    .hero .hero-title-animated {
        font-size: 1.7rem;
    }
    .hero .hero-actions {
        justify-content: center;
    }
    .hero-logo-split img {
        width: 65px;
        height: 65px;
    }
}

/* ─── SERVICE BOXES ───────────────────────────────────────── */

.service-boxes {
    background: var(--gray-light);
    padding: 0;
}

.boxes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: -72px;
    position: relative;
    z-index: 10;
}

.sbox {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.sbox::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .06);
    opacity: 0;
    transition: opacity var(--transition);
}

.sbox:hover::before {
    opacity: 1;
}

.sbox:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.sbox-1 {
    background: linear-gradient(135deg, #1a2f0a 0%, #2d5016 60%, #3a6b1a 100%);
}

.sbox-2 {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 60%, #3a3a3a 100%);
    border-left: 3px solid var(--primary);
    border-right: 3px solid var(--primary);
}

.sbox-3 {
    background: linear-gradient(135deg, #0d2a0d 0%, #183318 60%, #1f3f1f 100%);
}

.sbox-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: rgba(181, 241, 97, .15);
    border: 1px solid rgba(181, 241, 97, .25);
    flex-shrink: 0;
}

.sbox-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary);
    opacity: 0.8;
}

.sbox h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

.sbox p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, .65);
    line-height: 1.5;
    flex-grow: 1;
}

.sbox-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary);
    color: var(--dark);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.sbox-action:hover {
    background: var(--primary-dark);
    transform: translateX(4px);
}

.sbox-2 .sbox-action {
    background: var(--danger);
    color: var(--white);
}

.sbox-2 .sbox-action:hover {
    background: var(--danger-dark);
}

/* ─── NEWS SECTION ────────────────────────────────────────── */
.news-section {
    padding: 80px 0;
    background: var(--gray-light);
}

.news-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    scroll-behavior: smooth;
    /* Hide scrollbar for cleaner look but keep functionality */
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.news-grid::-webkit-scrollbar {
    display: none;
}

.news-slider-nav {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: -20px;
    margin-bottom: 20px;
}

.news-slider-btn {
    background: var(--white);
    border: 1px solid var(--gray-mid);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.2rem;
    color: var(--dark);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.news-slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
    transform: scale(1.1);
}

.news-grid > .col {
    /* Set to 100% width so only 1 or max 2 are visible, forcing a slider effect always */
    flex: 0 0 100%; 
    min-width: 100%;
    scroll-snap-align: center;
}

@media (min-width: 768px) {
    .news-grid > .col {
        flex: 0 0 calc(50% - 12px);
        min-width: calc(50% - 12px);
        scroll-snap-align: start;
    }
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.news-card-img {
    height: 200px;
    background: linear-gradient(135deg, #1a2f0a, #3a6b1a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    overflow: hidden;
    position: relative;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.news-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    color: var(--gray-text);
}

.news-meta .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gray-mid);
}

.news-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    flex-grow: 1;
}

.news-card p {
    font-size: 0.87rem;
    color: var(--gray-text);
    line-height: 1.55;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-darker);
    margin-top: auto;
    transition: gap var(--transition);
}

.news-card-link:hover {
    gap: 10px;
}

.news-readmore {
    text-align: center;
    margin-top: 40px;
}

/* ─── SERVICES SECTION ────────────────────────────────────── */
.services-section {
    padding: 80px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    text-align: center;
    padding: 36px 24px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--gray-mid);
    transition: all var(--transition);
    cursor: pointer;
    background: var(--white);
}

.service-card:hover {
    border-color: var(--primary);
    background: rgba(181, 241, 97, .06);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-card-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    background: var(--gray-light);
    transition: all var(--transition);
}

.service-card:hover .service-card-icon {
    background: var(--primary);
}

.service-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.85rem;
    color: var(--gray-text);
    line-height: 1.5;
}

/* ─── CONTACT STRIP ───────────────────────────────────────── */
.contact-strip {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    padding: 60px 0;
}

.contact-strip .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.contact-strip h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--white);
}

.contact-strip p {
    color: rgba(255, 255, 255, .6);
    margin-top: 6px;
}

.contact-info-items {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}

.contact-info-item .icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(181, 241, 97, .15);
    border: 1px solid rgba(181, 241, 97, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-item .text strong {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
}

.contact-info-item .text span {
    color: rgba(255, 255, 255, .55);
    font-size: 0.82rem;
}

/* ─── FOOTER ──────────────────────────────────────────────── */
footer {
    background: var(--dark);
    color: rgba(255, 255, 255, .7);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-brand img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin-bottom: 14px;
}

.footer-brand .name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 4px;
}

.footer-brand .sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, .4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.87rem;
    line-height: 1.65;
    max-width: 280px;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all var(--transition);
}

.footer-socials a:hover {
    background: var(--primary);
    color: var(--dark);
}

.footer-col h5 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 18px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul a {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, .55);
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul a:hover {
    color: var(--primary);
}

.footer-col ul a::before {
    content: '›';
    color: var(--primary);
    font-weight: 700;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, .35);
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom a {
    color: var(--primary);
}

/* ─── FLOATING BUTTONS ────────────────────────────────────── */
.float-buttons {
    position: fixed;
    bottom: 28px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 22px;
    z-index: 900;
    pointer-events: none;
}

.float-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
    transition: all var(--transition);
    cursor: pointer;
    pointer-events: all;
    border: none;
    font-size: 1.5rem;
    position: relative;
}

.float-btn:hover {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .3);
}

.float-btn .tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    white-space: nowrap;
    background: var(--dark);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.float-btn:hover .tooltip {
    opacity: 1;
}

.float-btn .tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--dark);
}

.whatsapp-btn {
    background: var(--whatsapp);
    color: var(--white);
}

.chatbot-btn {
    background: var(--dark);
    border: 2px solid rgba(181, 241, 97, .4);
    color: var(--white);
}

.chatbot-btn.active {
    background: var(--primary);
    color: var(--dark);
}

/* ─── CHATBOT PANEL ───────────────────────────────────────── */
.chatbot-panel {
    position: fixed;
    bottom: 100px;
    right: 22px;
    width: 320px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 48px rgba(0, 0, 0, .2);
    border: 1px solid var(--gray-mid);
    z-index: 901;
    overflow: hidden;
    transform: scale(0.8) translateY(20px);
    transform-origin: bottom right;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(.34, 1.56, .64, 1);
}

.chatbot-panel.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.chatbot-header {
    background: linear-gradient(135deg, var(--dark), var(--dark-2));
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.chatbot-header .info strong {
    display: block;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
}

.chatbot-header .info span {
    color: rgba(255, 255, 255, .55);
    font-size: 0.78rem;
}

.chatbot-header .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
    margin-right: 4px;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .4;
    }
}

.chatbot-close {
    margin-left: auto;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, .55);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color var(--transition);
}

.chatbot-close:hover {
    color: var(--white);
}

.chatbot-body {
    padding: 20px;
}

.chatbot-bubble {
    background: var(--gray-light);
    border-radius: 12px 12px 12px 4px;
    padding: 12px 16px;
    font-size: 0.87rem;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.5;
}

.chatbot-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chatbot-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--gray-mid);
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark);
    background: var(--white);
    transition: all var(--transition);
    font-family: inherit;
    text-align: left;
}

.chatbot-option:hover {
    border-color: var(--primary);
    background: rgba(181, 241, 97, .08);
    transform: translateX(4px);
}

.chatbot-option .opt-icon {
    font-size: 1.3rem;
}

/* ─── MODAL (Fraud Form & Contact) ────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, .65);
    backdrop-filter: blur(4px);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .3);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.32s cubic-bezier(.34, 1.56, .64, 1);
}

.modal-overlay.open .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 28px 28px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.modal-header-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.modal-header-icon.danger {
    background: rgba(232, 69, 69, .12);
}

.modal-header-icon.primary {
    background: rgba(181, 241, 97, .15);
}

.modal-header .text h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.modal-header .text p {
    font-size: 0.85rem;
    color: var(--gray-text);
    line-height: 1.5;
}

.modal-close-btn {
    background: var(--gray-light);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background var(--transition);
}

.modal-close-btn:hover {
    background: var(--gray-mid);
}

.modal-body {
    padding: 24px 28px 28px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-group label .req {
    color: var(--danger);
}

.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid var(--gray-mid);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--dark);
    background: var(--white);
    transition: border-color var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary-darker);
}

.form-control::placeholder {
    color: #aaa;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

select.form-control {
    cursor: pointer;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(181, 241, 97, .08);
    border: 1px solid rgba(181, 241, 97, .25);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--gray-text);
    margin-bottom: 16px;
    line-height: 1.5;
}

.form-note .ico {
    font-size: 1rem;
    color: var(--primary-darker);
    flex-shrink: 0;
    margin-top: 1px;
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-danger:hover {
    background: var(--danger-dark);
    transform: translateY(-2px);
}

/* ─── PAGE BANNER (inner pages) ───────────────────────────── */
.page-banner {
    background: linear-gradient(135deg, var(--dark) 0%, #1e3a0e 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    right: -100px;
    top: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(181, 241, 97, .12) 0%, transparent 70%);
}

.page-banner h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 10px;
}

.page-banner .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, .55);
}

.page-banner .breadcrumb a {
    color: var(--primary);
}

.page-banner .breadcrumb span {
    color: rgba(255, 255, 255, .3);
}

/* ─── CONTACT PAGE ────────────────────────────────────────── */
.contact-page {
    padding: 80px 0;
    background: var(--gray-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}

.contact-info-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-mid);
}

.contact-detail:last-child {
    border-bottom: none;
}

.contact-detail .icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(181, 241, 97, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.contact-detail .detail-text strong {
    display: block;
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 2px;
}

.contact-detail .detail-text span {
    font-size: 0.85rem;
    color: var(--gray-text);
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.contact-form-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.contact-form-card .sub {
    color: var(--gray-text);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.download-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(181, 241, 97, .12), rgba(181, 241, 97, .04));
    border: 2px solid rgba(181, 241, 97, .3);
    border-radius: var(--radius-md);
    margin-bottom: 32px;
}

.download-cta .cta-icon {
    font-size: 2rem;
}

.download-cta .cta-text strong {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
}

.download-cta .cta-text span {
    font-size: 0.83rem;
    color: var(--gray-text);
}

.download-cta .btn {
    margin-left: auto;
    white-space: nowrap;
}

/* ─── INSTITUCIONAL PAGE ──────────────────────────────────── */
.inst-section {
    padding: 80px 0;
}

.inst-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.inst-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 380px;
    background: linear-gradient(135deg, #1a2f0a, #3a6b1a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.inst-text h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.inst-text p {
    color: var(--gray-text);
    line-height: 1.75;
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.consejo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.consejo-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-mid);
}

.consejo-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 14px;
}

.consejo-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.consejo-card span {
    font-size: 0.82rem;
    color: var(--gray-text);
}

/* ─── NOTICIAS PAGE ───────────────────────────────────────── */
.noticias-page {
    padding: 60px 0;
    background: var(--gray-light);
}

.noticias-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ─── SERVICIOS PAGE ──────────────────────────────────────── */
.servicios-page {
    padding: 80px 0;
}

.servicios-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.servicio-full-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 2px solid var(--gray-mid);
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.servicio-full-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.servicio-full-card .svc-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.servicio-full-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.servicio-full-card p {
    font-size: 0.88rem;
    color: var(--gray-text);
    line-height: 1.65;
    margin-bottom: 20px;
}

/* ─── SUCCESS MESSAGE ─────────────────────────────────────── */
.success-msg {
    display: none;
    padding: 16px;
    background: rgba(181, 241, 97, .12);
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    color: var(--primary-darker);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 12px;
    align-items: center;
    gap: 10px;
}

.success-msg.show {
    display: flex;
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1100px) {

    .navbar-nav,
    .navbar-cta {
        display: none !important;
    }

    .hamburger {
        display: flex;
    }

    .navbar-logo .logo-text {
        max-width: 250px;
    }

    .navbar-logo .logo-text strong {
        font-size: 0.85rem;
    }
}

@media (max-width: 1024px) {

    .news-grid,
    .services-grid,
    .footer-grid,
    .consejo-grid,
    .servicios-full-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar .phones {
        display: none;
    }

    .navbar {
        height: 70px;
    }

    .navbar-logo img {
        width: 38px;
        height: 38px;
    }

    .navbar-logo .logo-text {
        max-width: 200px;
    }

    .hero {
        padding: 100px 0 200px;
        min-height: auto;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .boxes-grid {
        grid-template-columns: 1fr;
        margin-top: -100px;
        padding: 0 15px;
    }

    .sbox-2 {
        border-left: none;
        border-right: none;
        border-top: 3px solid var(--primary);
        border-bottom: 3px solid var(--primary);
    }

    .news-grid,
    .footer-grid,
    .inst-grid,
    .contact-grid,
    .consejo-grid,
    .noticias-grid,
    .servicios-full-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-strip .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .float-buttons {
        padding: 0 14px;
    }

    .float-btn {
        width: 52px;
        height: 52px;
    }
}

/* News Modal Blog Style */
#news-blog-modal {
    animation: fadeIn 0.3s ease;
}

#news-blog-modal .modal-content-wrapper {
    background: #fff;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 20px;
    position: relative;
    padding: 50px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

}

/* ─── HIDE RECAPTCHA BADGE ────────────────────────────────── */
.grecaptcha-badge { 
    visibility: hidden !important; 
}

/* ─── FOOTER ──────────────────────────────────────────────── */
.footer {
    background: #0a0f1a;
    color: var(--white);
    padding: 60px 0 30px;
    font-size: 0.9rem;
    border-top: 4px solid var(--primary);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-logo img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.footer-legal {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    max-width: 700px;
    line-height: 1.6;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}