/* ============================================
   ESTILOS BASE COMUNES - DISEÑO ELEGANTE
   ============================================ */

@font-face {
    font-family: 'GingerBrand';
    src: url('../font/GingerBrand.woff2') format('woff2'),
         url('../font/GingerBrand.woff') format('woff'),
         url('../font/GingerBrand.otf') format('opentype'),
         url('../font/GingerBrand.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --color-primary: #1a1a1a; /* Gris muy oscuro */
    --color-secondary: #2a2a2a; /* Gris oscuro */
    --color-accent: #1B3A6B;       /* Navy corporativo — CTAs y elementos clave */
    --color-accent-alt: #14305A;   /* Navy profundo */
    --color-accent-gold: #B8924A;  /* Oro ejecutivo — acentos decorativos */
    --color-accent-gold-light: rgba(184, 146, 74, 0.15);
    --color-light: #f5f5f5;
    --color-white: #ffffff;
    --color-dark: #0a0a0a;
    --color-text: #1a1a1a;
    --color-text-light: #4a4a4a;
    --color-border: #e2e5ea;       /* Borde neutro, sin tinte azul */
    --color-bg-light: #ffffff;
    --color-bg-section: #f8f8f8;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 28px rgba(0, 0, 0, 0.13); /* Sombra neutra — sin tinte azul */
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.07);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--color-bg-light);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-light);
    z-index: -1;
    opacity: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'GingerBrand', sans-serif;
    font-weight: normal;
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

h1 {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
    font-weight: 700;
    text-wrap: balance;
}

h2 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    position: relative;
    display: inline-block;
    text-wrap: balance;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-gold), #D4A96A);
    box-shadow: none;
}

h3 {
    font-size: clamp(1.4rem, 5vw, 1.75rem);
    text-wrap: balance;
}

p {
    margin-bottom: 15px;
    color: var(--color-text-light);
    font-size: 1.05rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   NAVBAR ELEGANTE REDISEÑADO
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transform: translateY(0);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: rgba(184, 146, 74, 0.5);
    transform: translateY(0);
    padding: 0.5rem 0;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: 'GingerBrand', sans-serif;
    font-size: 1.75rem;
    font-weight: normal;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 15px;
    letter-spacing: 1px;
    transition: var(--transition);
    text-decoration: none;
}

.logo-img {
    height: 46px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    object-position: left center;
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo:hover {
    transform: translateY(-2px);
    color: var(--color-accent);
}

.logo:hover span {
    color: var(--color-accent);
}



@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 70px;
    align-items: flex-end;
}

.nav-item {
    position: relative;
    z-index: 1;
}

.nav-item-dropdown {
    z-index: 1001;
}

/* Dropdown con flecha */
.nav-link-dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-dropdown-icon {
    font-size: 0.7rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--color-accent);
    opacity: 0.7;
}

.nav-item-dropdown:hover .nav-dropdown-icon,
.nav-item-dropdown.active .nav-dropdown-icon {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-link {
    color: var(--color-primary);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 12px 16px 24px 16px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-block;
    overflow: visible;
    z-index: 10;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(1);
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-alt));
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px 3px 0 0;
    transform-origin: center;
    z-index: 1;
    opacity: 0.3;
}

.nav-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(27, 58, 107, 0.1), transparent);
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: var(--color-accent);
    transform: translateY(-2px);
}

.nav-link:hover::before {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}

.nav-link:hover::after {
    left: 100%;
}

.nav-link.active {
    color: var(--color-accent);
}

.nav-link.active::before {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}

/* Submenu Elegante */
.submenu {
    position: absolute;
    top: calc(100% + 3px);
    left: 0;
    background: var(--color-bg-light);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    min-width: 320px;
    max-width: 320px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 5px;
    padding: 16px 0;
    border: 1px solid var(--color-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1002;
    pointer-events: none;
    overflow: hidden;
}

.nav-item:hover .submenu,
.nav-item-dropdown.active .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.submenu-item {
    list-style: none;
}

.submenu-link {
    display: flex;
    align-items: center;
    padding: 14px 24px;
    color: var(--color-text-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    border-left: 3px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    pointer-events: auto;
}

.submenu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(27, 58, 107, 0.1), transparent);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.submenu-link:hover {
    background: var(--color-bg-section);
    color: var(--color-accent);
    padding-left: 28px;
    border-left-color: var(--color-accent);
    transform: translateX(5px);
}

.submenu-link:hover::before {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 5px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--color-accent);
    transition: var(--transition);
    border-radius: 2px;
}

/* ============================================
   FOOTER ELEGANTE
   ============================================ */

.footer {
    background: linear-gradient(180deg, var(--color-bg-light) 0%, var(--color-bg-section) 100%);
    color: var(--color-primary);
    padding: 80px 0 30px;
    margin-top: 100px;
    position: relative;
    border-top: 3px solid var(--color-accent-gold);
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.05);
    border-radius: 30px 30px 0 0;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent-gold), transparent);
    box-shadow: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h3 {
    font-family: 'GingerBrand', sans-serif;
    color: var(--color-primary);
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: normal;
}

.footer-logo {
    font-family: 'GingerBrand', sans-serif;
    font-size: 1.8rem;
    font-weight: normal;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--color-primary);
}

.footer-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
    transform: scale(1.1) rotate(5deg);
}

.footer-brand {
    max-width: 300px;
}

.footer-description {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--color-accent-gold), #D4A96A);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(184, 146, 74, 0.3);
    transition: transform 0.3s ease;
}

.footer-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 146, 74, 0.4);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--color-text-light);
    transition: color 0.3s ease;
}

.footer-contact-item i {
    color: var(--color-accent);
    width: 20px;
    text-align: center;
}

.footer-contact-item:hover {
    color: var(--color-accent);
}

.footer-social-text {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-text-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    position: relative;
}

.footer-links a i {
    font-size: 0.7rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 5px;
    transform: translateX(5px);
}

.footer-links a:hover i {
    opacity: 1;
    transform: translateX(0);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.social-link {
    width: 42px;
    height: 42px;
    background: var(--color-bg-section);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid var(--color-border);
    color: var(--color-primary);
}

.social-link:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(27, 58, 107, 0.6);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-light);
    font-size: 0.9rem;
    border-radius: 0 0 30px 30px;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-bottom-links a {
    color: var(--color-text-light);
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: var(--color-accent);
}

.footer-bottom-links span {
    color: var(--color-border);
}

/* ============================================
   ELEMENTOS COMUNES ELEGANTES
   ============================================ */

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-text-light);
}

.card {
    background: var(--color-bg-light);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-accent);
}

.btn {
    padding: 16px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-alt));
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(27, 58, 107, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(27, 58, 107, 0.6);
    background: linear-gradient(135deg, var(--color-accent-alt), var(--color-accent));
}

.btn-secondary {
    background: transparent;
    color: var(--color-accent-gold);
    border: 2px solid var(--color-accent-gold);
}

.btn-secondary:hover {
    background: var(--color-accent-gold);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(184, 146, 74, 0.4);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease both;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .navbar-container {
        padding: 0.75rem 20px;
    }

    .logo {
        font-size: 1.4rem;
    }

    .logo-img {
        height: 36px;
        max-width: 170px;
    }

    .menu-toggle {
        display: flex;
        padding: 8px;
        margin-right: -8px;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        background: transparent;
        border: none;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--color-primary);
        border-radius: 4px;
        position: relative;
    }

    .menu-toggle span::before,
    .menu-toggle span::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background: var(--color-primary);
        border-radius: 4px;
        left: 0;
        transition: var(--transition);
    }

    .menu-toggle span::before { top: -8px; }
    .menu-toggle span::after { bottom: -8px; }

    .menu-toggle.active span {
        background: transparent;
    }

    .menu-toggle.active span::before {
        top: 0;
        transform: rotate(45deg);
    }

    .menu-toggle.active span::after {
        bottom: 0;
        transform: rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100%;
        height: 100dvh;
        background: var(--color-white);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        flex-direction: column;
        padding: 100px 18px 40px;
        transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 20px 0 60px rgba(27, 58, 107, 0.15);
        gap: 8px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 999;
        border-right: 1px solid rgba(184, 146, 74, 0.1);
    }

    .nav-menu::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--color-accent), var(--color-accent-gold));
    }

    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(27, 58, 107, 0.4);
        backdrop-filter: blur(6px);
        z-index: -1;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s ease;
    }

    .nav-menu.active::before {
        opacity: 1;
        visibility: visible;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active .nav-item {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu.active .nav-item:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active .nav-item:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.active .nav-item:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.active .nav-item:nth-child(4) { transition-delay: 0.25s; }
    .nav-menu.active .nav-item:nth-child(5) { transition-delay: 0.3s; }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 14px 15px;
        width: 100%;
        text-align: left;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 54px;
        color: var(--color-accent);
        font-weight: 600;
        transition: all 0.3s ease;
        border-radius: 12px;
        background: transparent;
    }

    .nav-link:active, .nav-link.active {
        background: var(--color-accent-gold-light);
        color: var(--color-accent-gold);
        padding-left: 20px;
        box-shadow: 0 4px 12px rgba(184, 146, 74, 0.1);
    }

    .nav-dropdown-icon {
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-item-dropdown.active .nav-dropdown-icon {
        transform: rotate(180deg);
        color: var(--color-accent-gold);
    }

    .nav-link::before {
        display: none;
    }

    .nav-link::after {
        display: none;
    }

    .submenu {
        position: static;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        margin: 5px 0 8px 10px;
        padding: 0;
        background: var(--color-white);
        border-left: 3px solid var(--color-accent-gold);
        border-radius: 8px;
        pointer-events: none;
        width: calc(100% - 10px);
    }

    .nav-item-dropdown.active .submenu {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        padding: 8px 0;
        pointer-events: all;
    }

    .submenu-link {
        padding: 10px 14px;
        font-size: 0.88rem;
        color: var(--color-text);
        font-weight: 500;
        display: block;
        transition: var(--transition);
        white-space: normal;
        line-height: 1.4;
        word-wrap: break-word;
    }

    .submenu-link:active {
        color: var(--color-accent-gold);
        padding-left: 20px;
    }

    .submenu-link:hover {
        transform: none;
        padding-left: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .footer {
        padding: 60px 0 25px;
        margin-top: 60px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h2::after {
        width: 50px;
        height: 2px;
    }

    section {
        padding: 60px 0;
    }

    .container {
        padding: 0 20px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .section-title p {
        font-size: 1rem;
    }

    .card {
        padding: 30px 20px;
    }

    .btn {
        padding: 14px 30px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0.8rem 15px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-img {
        height: 30px;
        max-width: 140px;
    }

    .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
        padding: 30px 15px;
    }

    .nav-link {
        font-size: 0.95rem;
        padding: 12px 0;
    }

    .submenu {
        padding-left: 15px;
    }

    .submenu-link {
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    .footer {
        padding: 50px 0 20px;
        margin-top: 50px;
    }

    .footer-content {
        gap: 30px;
        padding: 0 15px;
    }

    .footer-section h3 {
        font-size: 1.3rem;
    }

    .footer-logo {
        font-size: 1.5rem;
    }

    .footer-logo-img {
        height: 40px;
    }

    .social-link {
        width: 38px;
        height: 38px;
    }

    section {
        padding: 50px 0;
    }

    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h2::after {
        width: 40px;
        height: 2px;
    }

    h3 {
        font-size: 1.4rem;
    }

    p {
        font-size: 0.95rem;
    }

    .section-title {
        margin-bottom: 35px;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .section-title p {
        font-size: 0.9rem;
    }

    .card {
        padding: 25px 18px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.8rem;
    }
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    bottom: calc(25px + env(safe-area-inset-bottom, 15px));
    right: calc(25px + env(safe-area-inset-right, 0px));
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    animation: pulse-whatsapp 2s ease-in-out infinite;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    background: #20BA5A;
}

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-float i {
    display: block;
    line-height: 1;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 15px;
        right: 15px;
    }
}

/* ============================================
   TABLET BREAKPOINT (769px – 1024px)
   Solo ajustes de layout, sin tocar desktop
   ============================================ */

@media (max-width: 1024px) and (min-width: 769px) {
    .navbar-container {
        padding: 1rem 24px 0.5rem 24px;
    }

    .nav-menu {
        gap: 30px;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 12px 10px 20px 10px;
    }

    .logo-img {
        height: 36px;
        max-width: 180px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    section {
        padding: 80px 0;
    }

    .section-title {
        margin-bottom: 50px;
    }

    h1 {
        font-size: clamp(2rem, 4vw, 3rem);
    }

    h2 {
        font-size: clamp(1.6rem, 3vw, 2.5rem);
    }
}

/* ============================================
   MEJORAS MOBILE ADICIONALES (<768px)
   ============================================ */

@media (max-width: 768px) {
    h1 {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    h2 {
        font-size: clamp(1.4rem, 4vw, 1.8rem);
    }

    .card {
        padding: 24px 18px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-logo-img {
        height: 42px;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0.8rem 16px;
    }

    h1 {
        font-size: clamp(1.4rem, 5.5vw, 1.8rem);
    }

    h2 {
        font-size: clamp(1.2rem, 4.5vw, 1.5rem);
    }

    .footer-content {
        padding: 0 16px;
        gap: 28px;
    }

    .social-links {
        justify-content: flex-start;
    }
}