/* ==========================================================================
   SISTEMA DE DISEÑO PREMIUM - LEGISCORP ABOGADOS
   ========================================================================== */

/* Importación de tipografías premium */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Paleta de Colores de Lujo */
    --color-bg-main: #121211;
    --color-bg-sec: #20201F;
    --color-bg-card: #181817;
    --color-bg-card-hover: #222221;

    /* Variaciones de Dorado Metálico */
    --color-gold-main: #CFAB56;
    --color-gold-light: #F4DA76;
    --color-gold-dark: #9C753F;

    /* Degradados Premium */
    --gradient-gold: linear-gradient(135deg, #9C753F 0%, #CFAB56 50%, #F4DA76 100%);
    --gradient-gold-text: linear-gradient(135deg, #F4DA76 0%, #CFAB56 50%, #9C753F 100%);
    --gradient-dark: linear-gradient(180deg, rgba(18, 18, 17, 0) 0%, #121211 100%);
    --gradient-card: linear-gradient(135deg, rgba(32, 32, 31, 0.8) 0%, rgba(24, 24, 23, 0.9) 100%);

    /* Sutil Identidad Ecuador (Bandera) */
    --color-ec-yellow: #FFD100;
    --color-ec-blue: #0033A0;
    --color-ec-red: #CE1126;
    --gradient-ec-accent: linear-gradient(90deg, var(--color-ec-yellow) 0%, var(--color-ec-blue) 50%, var(--color-ec-red) 100%);

    /* Tipografías */
    --font-serif: 'Cinzel', serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;

    /* Sombras y Luces */
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.5);
    --shadow-gold-glow: 0 0 25px rgba(207, 171, 86, 0.15);
    --shadow-gold-glow-strong: 0 0 35px rgba(207, 171, 86, 0.3);

    /* Transiciones */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);

    /* Estructura */
    --max-width: 1280px;
    --header-height: 90px;
}

/* LOGOOOOOOOOOOO*/
.logo-img{
    width: 205px;
    height: 95px;
    object-fit: contain;
}

.footer-logo-img{
    width: 100px;
    height: 100px;
    object-fit: contain;
}

/* ==========================================================================
   RESET & CONFIGURACIÓN BASE
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-main);
    color: #E5E5E5;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: #FFFFFF;
    letter-spacing: 1px;
}

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

button, input, textarea {
    font-family: inherit;
}

/* Barra de scroll personalizada */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--color-bg-sec);
    border: 2px solid var(--color-bg-main);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-dark);
}

/* Selección de texto */
::selection {
    background-color: var(--color-gold-dark);
    color: #FFFFFF;
}

/* ==========================================================================
   COMPONENTES GLOBALES Y UTILIDADES
   ========================================================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.text-gold-gradient {
    background: var(--gradient-gold-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 0px; /* Estilo clásico premium cuadrático */
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-gold);
    color: #121211;
    border: none;
    box-shadow: 0 4px 15px rgba(207, 171, 86, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.6s;
}

.btn-primary:hover {
    box-shadow: var(--shadow-gold-glow-strong);
    transform: translateY(-2px);
    color: #000000;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid var(--color-gold-main);
}

.btn-secondary:hover {
    background: rgba(207, 171, 86, 0.08);
    box-shadow: var(--shadow-gold-glow);
    transform: translateY(-2px);
    border-color: var(--color-gold-light);
}

/* Efecto tricolor minimalista para Ecuador en los bordes de la web */
.ecuador-accent-line {
    height: 3px;
    width: 100%;
    background: var(--gradient-ec-accent);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
}

/* Sección títulos */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-subtitle {
    font-family: var(--font-serif);
    color: var(--color-gold-main);
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.2;
}

.section-title span {
    font-weight: 700;
}

.section-decor {
    width: 60px;
    height: 2px;
    background: var(--gradient-gold);
    margin: 1.5rem auto 0;
    position: relative;
}

.section-decor::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--color-gold-light);
    transform: rotate(45deg);
    top: -3px;
    left: calc(50% - 4px);
}

/* ==========================================================================
   HEADER / NAVBAR (GLASSMORPHISM)
   ========================================================================== */
.header {
    position: fixed;
    top: 3px; /* Espacio para el tricolor */
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.header.scrolled {
    height: 80px;
    background: rgba(18, 18, 17, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(207, 171, 86, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

/* Logotipo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: 2px;
    color: #FFFFFF;
}

.logo-symbol {
    width: 45px;
    height: 45px;
    transition: var(--transition-smooth);
}

.logo:hover .logo-symbol {
    transform: rotateY(180deg) scale(1.05);
}

.logo-text span {
    font-weight: 300;
    color: var(--color-gold-main);
}

/* Menú de navegación */
.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.7);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gradient-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: #FFFFFF;
}

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

.nav-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.75rem;
}

/* Hamburger para responsive */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #FFFFFF;
    margin: 5px 0;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
    overflow: hidden;
}

/* Imagen de fondo desenfocada e iluminación cinematográfica */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(18, 18, 17, 0.8), rgba(18, 18, 17, 0.95)),
                      url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    filter: brightness(0.4) contrast(1.1);
    transform: scale(1.05);
    z-index: 1;
    animation: zoomParallax 20s infinite alternate ease-in-out;
}

/* Iluminación cinematográfica dorada */
.hero-glow-radial {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(207, 171, 86, 0.08) 0%, rgba(18, 18, 17, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-logo-box {
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-large-symbol {
    width: 90px;
    height: 90px;
    filter: drop-shadow(0px 0px 15px rgba(244, 218, 118, 0.3));
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    max-width: 900px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 300;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 650px;
    margin-bottom: 3.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
    flex-wrap: wrap;
}

/* ==========================================================================
   2. SECCIÓN "POR QUÉ LEGISCORP" & ESTADÍSTICAS
   ========================================================================== */
.why-section {
    padding: 10rem 0;
    background-color: var(--color-bg-main);
    position: relative;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 8rem;
}

/* Tarjetas premium */
.why-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 3.5rem 2.5rem;
    position: relative;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-radius: 0px;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.why-card:hover {
    transform: translateY(-8px);
    background: var(--color-bg-card-hover);
    box-shadow: var(--shadow-premium), var(--shadow-gold-glow);
}

.why-card:hover::before {
    border-image: var(--gradient-gold) 1;
}

.why-icon {
    width: 50px;
    height: 50px;
    color: var(--color-gold-main);
    margin-bottom: 0.5rem;
}

.why-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #FFFFFF;
}

.why-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
}

/* Sección Estadísticas */
.stats-bar {
    background: var(--color-bg-sec);
    border: 1px solid rgba(207, 171, 86, 0.1);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 4rem 2rem;
    position: relative;
    box-shadow: var(--shadow-premium);
}

.stats-bar::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 2px;
    width: 100%;
    background: var(--gradient-gold);
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(207, 171, 86, 0.15);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-gold-main);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   3. ÁREAS DE PRÁCTICA
   ========================================================================== */
.practices-section {
    padding: 10rem 0;
    background-color: var(--color-bg-sec);
    position: relative;
}

.practices-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(207, 171, 86, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(207, 171, 86, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2.5rem;
}

/* Cards elegantes de práctica con hover glow moderno */
.practice-card {
    background: var(--color-bg-main);
    border: 1px solid rgba(255, 255, 255, 0.02);
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 570px;
}

.practice-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-gold);
    transition: var(--transition-smooth);
}

.practice-card-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.practice-icon {
    width: 48px;
    height: 48px;
    color: var(--color-gold-main);
    transition: var(--transition-smooth);
}

.practice-card h3 {
    font-size: 1.4rem;
    font-weight: 500;
}

.practice-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    line-height: 1.7;
}

/* Efecto glow dorado y escala al pasar el mouse */
.practice-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), var(--shadow-gold-glow-strong);
    border-color: rgba(207, 171, 86, 0.25);
    background: var(--color-bg-card-hover);
}

.practice-card:hover .practice-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--color-gold-light);
}

.practice-card:hover::after {
    width: 100%;
}

.practice-link {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-gold-main);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 10px;
    margin-bottom: 8px;
}

.practice-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition-smooth);
}

.practice-card:hover .practice-link svg {
    transform: translateX(5px);
}

/* ==========================================================================
   4. SECCIÓN CORPORATIVA (DISEÑO A DOS COLUMNAS)
   ========================================================================== */
.corporate-section {
    padding: 10rem 0;
    background-color: var(--color-bg-main);
    position: relative;
}

.corporate-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
    align-items: center;
}

.corporate-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.corporate-tag {
    font-family: var(--font-serif);
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-gold-main);
}

.corporate-heading {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 1.2;
    font-weight: 500;
}

.corporate-text {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid var(--color-gold-main);
}

.corporate-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

/* Visualización corporativa de alto impacto */
.corporate-visual {
    position: relative;
}

.corporate-image-container {
    position: relative;
    border: 1px solid rgba(207, 171, 86, 0.25);
    padding: 1.5rem;
    background: rgba(32, 32, 31, 0.5);
    backdrop-filter: blur(10px);
}

.corporate-image-container::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    border-top: 2px solid var(--color-gold-main);
    border-left: 2px solid var(--color-gold-main);
}

.corporate-image-container::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    border-bottom: 2px solid var(--color-gold-main);
    border-right: 2px solid var(--color-gold-main);
}

.corporate-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    filter: grayscale(20%) contrast(1.1) brightness(0.85);
    display: block;
}

/* ==========================================================================
   5. TESTIMONIOS / PRESTIGIO
   ========================================================================== */
.testimonials-section {
    padding: 10rem 0;
    background-color: var(--color-bg-sec);
    position: relative;
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 3rem;
}

.testimonial-card {
    background: var(--color-bg-main);
    border: 1px solid rgba(255, 255, 255, 0.02);
    padding: 4rem 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium), var(--shadow-gold-glow);
    border-color: rgba(207, 171, 86, 0.15);
}

.testimonial-quote-icon {
    position: absolute;
    top: 2.5rem;
    right: 3rem;
    width: 40px;
    height: 40px;
    color: rgba(207, 171, 86, 0.07);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

.testimonial-client {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--color-gold-main);
}

.client-info h4 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    color: #FFFFFF;
}

.client-info p {
    font-size: 0.75rem;
    color: var(--color-gold-main);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 0.2rem;
}

.client-company-logo {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
}

/* ==========================================================================
   6. LLAMADO A LA ACCIÓN FINAL (CTA)
   ========================================================================== */
.cta-section {
    padding: 8rem 0;
    background-color: var(--color-bg-main);
    position: relative;
    text-align: center;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(18, 18, 17, 0.92), rgba(18, 18, 17, 0.97)),
                      url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.cta-box {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 500;
    line-height: 1.25;
}

.cta-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
}

.cta-btn {
    padding: 1.2rem 3rem;
    font-size: 1rem;
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
.footer {
    background-color: #0c0c0b;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    padding: 6rem 0 2rem;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.footer-logo {
    font-size: 1.5rem;
}

.footer-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    max-width: 320px;
    line-height: 1.8;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-smooth);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.social-link:hover {
    background: var(--color-gold-main);
    color: #121211;
    border-color: var(--color-gold-light);
    box-shadow: var(--shadow-gold-glow);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #FFFFFF;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 1.5px;
    background: var(--gradient-gold);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.contact-icon {
    width: 20px;
    height: 20px;
    color: var(--color-gold-main);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.contact-text {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    line-height: 1.6;
}

.contact-text a:hover {
    color: var(--color-gold-main);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

.footer-legal-links {
    display: flex;
    gap: 2rem;
}

.footer-legal-links a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal-links a:hover {
    color: var(--color-gold-main);
}

/* ==========================================================================
   MODAL DE AGENDAMIENTO PREMIUM
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 12, 11, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--color-bg-sec);
    border: 1px solid rgba(207, 171, 86, 0.2);
    width: 100%;
    max-width: 550px;
    padding: 3.5rem;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), var(--shadow-gold-glow-strong);
    transform: translateY(30px) scale(0.95);
    transition: var(--transition-smooth);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition-fast);
}

.modal-close svg {
    width: 24px;
    height: 24px;
}

.modal-close:hover {
    color: var(--color-gold-main);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.modal-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-gold-main);
}

.form-input {
    background: rgba(18, 18, 17, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.9rem 1.2rem;
    color: #FFFFFF;
    font-size: 0.9rem;
    border-radius: 0px;
    transition: var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-gold-main);
    box-shadow: 0 0 10px rgba(207, 171, 86, 0.1);
    background: rgba(18, 18, 17, 0.9);
}

select.form-input {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CFAB56' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 15px;
    padding-right: 3rem;
}

.form-submit-btn {
    margin-top: 1rem;
    width: 100%;
}

/* ==========================================================================
   INTERACCIONES FLOTANTES (WHATSAPP PREMIUM)
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 60px;
    height: 60px;
    background: var(--color-bg-sec);
    border: 1px solid rgba(207, 171, 86, 0.3);
    color: var(--color-gold-main);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--shadow-gold-glow);
    transition: var(--transition-smooth);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background: var(--color-gold-main);
    color: #121211;
    border-color: var(--color-gold-light);
    box-shadow: 0 15px 35px rgba(207, 171, 86, 0.4), var(--shadow-gold-glow-strong);
}

/* ==========================================================================
   ANIMACIONES Y RESPONSIVE REVEAL
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* Animaciones del Keyframe */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomParallax {
    from {
        transform: scale(1.02);
    }
    to {
        transform: scale(1.08);
    }
}

/* ==========================================================================
   MEDIA QUERIES (DISPOSICIÓN TOTALMENTE RESPONSIVA)
   ========================================================================== */
@media (max-width: 1024px) {
    .corporate-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .corporate-img {
        height: 380px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 80px;
    }

    .header {
        background: rgba(18, 18, 17, 0.95);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .hamburger {
        display: block;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--color-bg-main);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3rem;
        transition: var(--transition-smooth);
        padding-bottom: 5rem;
        z-index: 999;
    }

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

    .nav-link {
        font-size: 1.1rem;
    }

    .stats-bar {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 1.5rem;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .modal-content {
        padding: 2.5rem 1.5rem;
    }

    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-legal-links {
        flex-direction: column;
        gap: 0.8rem;
    }
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    .hero-cta .btn {
        width: 100%;
    }
}
