/* =========================================================================
   MCE Premium Consulting Firm Styles
   Elegant, high-contrast, institutional trust aesthetic
   ========================================================================= */

:root {
    --color-bg-light: #fdfbf7;
    --color-bg-dark: #121519;
    --color-text-dark: #202428;
    --color-text-light: #ffffff;
    --color-muted: #6b7280;
    --color-gold: #c3a35a;
    --color-gold-hover: #e0c279;
    --color-primary: #014597;
    --color-secondary: #082665;

    --font-sans: 'Montserrat', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Dynamic Theme Overrides */
    --nav-bg: #ffffff;
    --nav-scrolled: rgba(255, 255, 255, 0.98);
    --section-white: #ffffff;
    --section-light: #fdfbf7;
    --card-bg: #fdfdfd;
    --card-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    --card-hover-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);

    --logo-main-color: transparent;
    --logo-sub-color: #111111;
    --logo-grad-start: #154e87;
    --logo-grad-end: #8bb7d0;
    --logo-gradient: linear-gradient(135deg, var(--logo-grad-start) 0%, var(--logo-grad-end) 100%);

    --heading-color: var(--color-primary);
    --bullet-color: var(--color-secondary);
    --p-color-card: var(--color-text-dark);

    /* SVG Logo Variables - Light Theme */
    --logo-bars: #2E5E8C;
    --logo-text-color: #111111;
    --logo-sub-text-color: #333333;
    --gold-stop-1: #FFE27A;
    --gold-stop-2: #FFC400;
    --gold-stop-3: #B8860B;
    --gold-stop-4: #B8860B;
}

[data-theme="dark"] {
    --color-bg-light: #0b1121;
    --color-text-dark: #f8fafc;
    --color-muted: #94a3b8;

    --nav-bg: #0b1121;
    --nav-scrolled: rgba(11, 17, 33, 0.95);
    --section-white: #0f1523;
    --section-light: #0b1121;
    --card-bg: #1e293b;
    --card-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    --card-hover-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);

    --logo-sub-color: #f8fafc;
    --logo-grad-start: #ffffff;
    --logo-grad-end: #8bb7d0;

    --heading-color: #8bb7d0;
    --bullet-color: #8bb7d0;
    --p-color-card: #e2e8f0;

    /* SVG Logo Variables - Dark Theme */
    --logo-bars: #9bbad0;
    --logo-text-color: #EAF1F8;
    --logo-sub-text-color: #C9D4DF;
    --gold-stop-1: #FFF6B7;
    --gold-stop-2: #FFD700;
    --gold-stop-3: #D4A017;
    --gold-stop-4: #A87400;
}

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

body {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    font-family: var(--font-sans);
    line-height: 1.7;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
.serif {
    font-family: var(--font-serif);
    font-weight: 600;
}

.max-w-800 {
    max-width: 800px;
}

.max-w-600 {
    max-width: 600px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-6 {
    margin-bottom: 3rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* -- Utility Classes -- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

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

.text-white {
    color: var(--color-text-light);
}

.bg-light {
    background-color: var(--color-bg-light);
}

.bg-dark {
    background-color: var(--color-bg-dark);
}

.accent-line {
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--color-gold);
    margin: 0 auto 1.5rem auto;
}

.accent-line-gold {
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--color-gold);
    margin: 0 0 1.5rem 0;
}

/* -- Buttons -- */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-outline-gold {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.btn-outline-gold:hover {
    background-color: var(--color-gold);
    color: var(--color-bg-dark);
}

.btn-solid-gold {
    background-color: var(--color-gold);
    color: var(--color-bg-dark);
    font-weight: 600;
}

.btn-solid-gold:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-solid-blue {
    background-color: var(--color-secondary);
    color: var(--color-text-light) !important;
    font-weight: 600;
}

.btn-solid-blue:hover {
    background-color: #0b3b68;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-wallet-login {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    background-color: transparent;
    color: var(--color-bg-dark);
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 0.70rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--color-bg-dark);
}

.btn-wallet-login:hover {
    background-color: var(--color-bg-dark);
    color: #ffffff;
    transform: translateY(-2px);
}

[data-theme="dark"] .btn-wallet-login {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

[data-theme="dark"] .btn-wallet-login:hover {
    background-color: #ffffff;
    color: var(--color-bg-dark);
}

/* -- Navbar -- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition-smooth);
    background-color: var(--nav-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    background-color: var(--nav-scrolled);
    padding: 0.8rem 0;
    backdrop-filter: blur(10px);
}

.navbar .nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--color-primary);
}

.navbar .logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-main {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-primary);
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--logo-sub-color);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    color: #5d7088;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.4s ease;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--color-gold);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateX(-50%);
}

.nav-links a:not(.btn):hover {
    color: var(--color-primary);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.theme-toggle-li {
    display: flex;
    align-items: center;
}

.theme-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--logo-sub-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s, color 0.3s;
}

.theme-toggle-btn:hover {
    background-color: rgba(139, 183, 208, 0.1);
    color: var(--heading-color);
}

.theme-toggle-btn svg {
    transition: transform 0.3s ease;
}

.theme-toggle-btn:hover svg {
    transform: rotate(15deg);
}

/* -- Hero Section -- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align left */
    text-align: left;
    position: relative;
    background-color: var(--color-bg-dark);
    /* fallback */
    color: var(--color-text-light);
    padding: 0 5%;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
    object-position: center;
}

.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 65%;
    /* Gradient width to cover text */
    height: 100%;
    /* Gradient matching the corporate transparent blue/dark overlay */
    background: linear-gradient(90deg, rgba(26, 79, 139, 0.85) 0%, rgba(26, 79, 139, 0.6) 40%, transparent 100%);
    z-index: 2;
}

.hero-content {
    max-width: 550px;
    z-index: 10;
    position: relative;
    padding-left: 2rem;
    /* Add some padding from left edge */
}

.hero .title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.2;
    margin-bottom: 2rem;
    font-family: var(--font-sans);
    font-weight: 700;
    font-style: normal;
    /* remove italics */
}

.hero .description {
    font-family: var(--font-sans);
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.6;
}

/* -- Sections -- */
.section {
    padding: 8rem 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: inherit;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--color-muted);
}

.grid {
    display: grid;
    gap: 3rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

/* Premium Cards */
.premium-card {
    padding: 3rem 2rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-top: 3px solid transparent;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.premium-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--color-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.premium-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.premium-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.premium-card p {
    color: var(--color-muted);
    font-size: 0.95rem;
}

/* Identidad Split Section */
.split-section .align-center {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.split-content {
    padding: 2rem 0;
}

.padding-right {
    padding-right: 4rem;
}

.padding-left {
    padding-left: 4rem;
}

.border-left {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.split-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.elegant-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

/* Service Cards */
.service-card {
    background: var(--color-bg-light);
    border-left: 1px solid var(--color-gold);
    padding: 2rem 3rem;
    transition: var(--transition-smooth);
}

.service-card:hover {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.service-card h3 {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-muted);
}

/* Contact Box */
.contact-info-box {
    margin-top: 3rem;
}

.email-link a {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--color-gold);
    text-decoration: none;
    font-style: italic;
    transition: color 0.3s;
}

.email-link a:hover {
    color: #ffffff;
}

/* Footer */
.footer {
    padding: 3rem 0;
    background-color: #0a0c0f;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.scroll-top {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--color-gold);
    text-decoration: none;
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.75rem;
    transition: color 0.3s;
}

.scroll-top:hover {
    color: #ffffff;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.is-visible {
    opacity: 1;
    transform: translate(0);
}

/* Mobile */
@media (max-width: 900px) {
    .split-section .align-center {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .padding-right,
    .padding-left {
        padding-right: 0;
        padding-left: 0;
    }

    .border-left {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 4rem;
    }
}

/* =========================================================================
   NEW SCREENSHOT SPECIFIC STYLES
   ========================================================================= */

/* Utilities */
.py-large {
    padding: 8rem 0;
}

.py-xlarge {
    padding: 12rem 0;
}

.bg-white {
    background-color: var(--section-white);
}

.bg-primary {
    background-color: var(--color-primary);
}

.font-light {
    font-weight: 300;
}

.mt-6 {
    margin-top: 3rem;
}

/* -- Areas de Experiencia -- */
.layout-areas {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.areas-title-col {
    flex: 0 0 35%;
}

.areas-heading {
    font-family: var(--font-sans);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--heading-color);
    line-height: 1.2;
    font-weight: 700;
}

.areas-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem 2rem;
}

.area-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.area-bullet {
    display: block;
    width: 12px;
    height: 12px;
    background-color: #7ab3cc;
    /* Soft teal blue bullet from screenshot */
    margin-top: 6px;
    flex-shrink: 0;
}

.area-content h3 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--heading-color);
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    font-style: normal;
    font-weight: 500;
}

.area-content p {
    color: var(--p-color-card);
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.6;
}

/* -- Visión y Misión -- */
.vision-heading {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 3.5vw, 3rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    font-weight: 600;
}

.mission-text {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    line-height: 1.8;
    color: #ffffff;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* -- Servicios -- */
.services-heading {
    font-family: var(--font-sans);
    font-size: clamp(3rem, 5vw, 4rem);
    color: var(--heading-color);
    margin-bottom: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    font-style: normal;
}

.services-desc {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--p-color-card);
    max-width: 900px;
    line-height: 1.8;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gallery-item-card {
    background: var(--card-bg);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
}

.gallery-item-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
}

.gallery-item-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.gallery-text {
    padding: 2rem 1.8rem;
    flex: 1;
}

.gallery-text h3 {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

.gallery-text p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--p-color-card);
    line-height: 1.6;
}

/* -- Anuncios / Boletín C-Level -- */
.announcement-banner {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    border-left: 4px solid var(--color-gold);
    transition: var(--transition-smooth);
}

.announcement-banner:hover {
    box-shadow: var(--card-hover-shadow);
}

.announcement-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.announcement-content {
    flex: 1;
}

.announcement-badge {
    display: inline-block;
    background: rgba(195, 163, 90, 0.15);
    color: var(--color-gold);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    margin-bottom: 0.8rem;
}

.announcement-content h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.announcement-content p {
    color: var(--p-color-card);
    font-size: 1rem;
    line-height: 1.6;
}

.announcement-action {
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .announcement-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 1.5rem;
    }
}

/* -- Blog C-Level / Perspectivas -- */
.bg-light {
    background-color: var(--section-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
}

.blog-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--heading-color);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

.blog-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    font-size: 0.75rem;
    color: var(--color-muted);
    margin-bottom: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.blog-content h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-content p {
    font-size: 0.95rem;
    color: var(--p-color-card);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-link {
    font-size: 0.85rem;
    color: var(--heading-color);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: opacity 0.3s;
    align-self: flex-start;
}

.blog-link:hover {
    opacity: 0.7;
}

/* -- Contacto & Tech UI Elements -- */
.gradient-text {
    background: var(--logo-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.tech-bg {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top right, #1a4f8b 0%, var(--color-bg-dark) 80%);
}

.tech-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 0;
    pointer-events: none;
}

.modern-contact-section {
    position: relative;
    padding: 8rem 0;
    background-color: var(--color-bg-dark);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 4rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.contact-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
}

.contact-col {
    flex: 1;
}

.tech-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(139, 183, 208, 0.1);
    color: #8bb7d0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 50px;
    border: 1px solid rgba(139, 183, 208, 0.2);
}

.title-col h2 {
    font-family: var(--font-sans);
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    word-break: break-word;
}

.title-col h3 {
    opacity: 0.8;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.info-row:hover {
    transform: translateX(10px);
    border-color: rgba(139, 183, 208, 0.3);
}

.info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 183, 208, 0.1);
    color: #8bb7d0;
    border-radius: 12px;
}

.info-data {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.info-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.tech-link {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.tech-link:hover {
    color: #8bb7d0;
}

.contact-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    padding-top: 1rem;
}

.contact-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.tech-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #8bb7d0;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.tech-btn:hover {
    color: #ffffff;
    transform: translateY(-3px);
}

/* Contact Input Form */
.contact-input {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.contact-input:focus {
    outline: none;
    border-color: #8bb7d0;
    box-shadow: 0 0 10px rgba(139, 183, 208, 0.2);
}

.contact-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.w-100 {
    width: 100%;
    text-align: center;
}

/* -- Nuestros Clientes -- */
.layout-clientes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.clientes-grid {
    flex: 0 0 65%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.cliente-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cliente-item:hover {
    transform: translateY(-8px);
}

.cliente-item h4 {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.cli-img {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #000;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cli-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    transition: var(--transition-smooth);
    filter: grayscale(50%) contrast(1.1);
}

.cliente-item:hover .cli-img img {
    opacity: 1;
    transform: scale(1.08);
    filter: grayscale(0%) contrast(1);
}

.clientes-text {
    flex: 1;
    text-align: left;
}

.clientes-text h2 {
    font-family: var(--font-sans);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
}

.badge-gain-smart {
    display: inline-block;
    border: 1px solid #ffffff;
    border-radius: 99px;
    padding: 0.8rem 2.5rem;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    letter-spacing: 2px;
    font-weight: 400;
}

/* =========================================================================
   MOBILE & RESPONSIVE DESIGN EXPERTISE
   ========================================================================= */

/* Hamburger Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
    /* Above mobile menu */
}

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

/* Base Responsive Resets */
@media (max-width: 1100px) {
    .nav-links {
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {

    /* Navbar to Mobile Menu */
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--nav-scrolled);
        gap: 0px;
        z-index: 1000;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        opacity: 0;
    }

    .nav-links.nav-active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links a {
        font-size: 1.2rem;
        color: var(--color-primary);
        font-weight: 600;
    }

    /* Hero Optimization */
    .hero-content {
        max-width: 100%;
        padding: 0 1.5rem;
        text-align: center;
        margin-top: 5rem;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        box-shadow: none;
    }

    .hero {
        justify-content: center;
        align-items: center;
    }

    .hero-overlay-gradient {
        width: 100%;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 60%, rgba(8, 38, 101, 0.9) 100%);
    }

    .hero .title {
        font-size: 2.8rem;
        line-height: 1.1;
        text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.9), 0 0 50px rgba(0, 0, 0, 0.5);
        margin-bottom: 1.5rem;
        letter-spacing: -1px;
    }

    .hero .description {
        font-size: 1.15rem;
        text-shadow: 1px 2px 10px rgba(0, 0, 0, 0.9);
        font-weight: 500;
        letter-spacing: 0.5px;
    }

    /* Layout Breaks */
    .layout-areas,
    .layout-clientes,
    .contact-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .areas-grid,
    .grid-4,
    .clientes-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .py-large {
        padding: 5rem 0;
    }

    .py-xlarge {
        padding: 6rem 0;
    }

    .logo-main {
        font-size: 1rem;
    }

    .logo-sub {
        font-size: 0.55rem;
        letter-spacing: 1px;
    }

    .logo-icon svg {
        width: 38px;
        height: 38px;
    }

    .services-heading {
        font-size: 2.5rem;
        text-align: center;
    }

    .services-desc {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .areas-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

    .glass-panel {
        padding: 1.25rem 1rem;
        margin: 0;
        width: 100%;
        border-radius: 12px;
        box-sizing: border-box;
    }

    .modern-contact-section {
        padding: 4rem 0;
        overflow-x: hidden;
        width: 100vw;
        max-width: 100%;
    }

    .info-row {
        padding: 1rem;
        gap: 1rem;
    }

    .tech-link {
        font-size: 0.95rem;
    }

    .wallet-login-text {
        display: none;
    }

    .btn-wallet-login {
        padding: 0.4rem;
        gap: 0;
        border-radius: 50%;
    }

    .clientes-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }

    .hero .title {
        font-size: 2.5rem;
    }

    .hero .description {
        font-size: 1.05rem;
    }

    .mission-text {
        font-size: 1rem;
    }

    .clientes-text {
        text-align: center;
        margin-top: 2rem;
    }
}