﻿@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --epgp-black: #020611;
    --epgp-bg: #030814;
    --epgp-bg-2: #061020;
    --epgp-navy: #081426;
    --epgp-card: rgba(17, 26, 44, 0.82);
    --epgp-card-2: rgba(20, 31, 52, 0.76);
    --epgp-gold: #B68A2A;
    --epgp-gold-2: #8C6518;
    --epgp-gold-3: #E8D18A;
    --epgp-white: #f8fafc;
    --epgp-soft: #cbd5e1;
    --epgp-muted: #94a3b8;
    --epgp-border: rgba(255, 255, 255, 0.07);
    --epgp-gold-border: rgba(182, 138, 42, 0.32);
    --epgp-shadow-gold: 0 0 12px rgba(209, 169, 63, 0.42), 0 0 28px rgba(182, 138, 42, 0.24);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--epgp-bg);
    color: var(--epgp-white);
    overflow-x: hidden;
}

body.splash-active {
    overflow: hidden;
}

a {
    text-decoration: none;
}

/* ============================================================
   SPLASH SCREEN
============================================================ */

.epgp-splash {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background:
        radial-gradient(circle at top center, rgba(209, 169, 63, 0.18), transparent 34%),
        radial-gradient(circle at bottom center, rgba(21, 74, 133, 0.22), transparent 38%),
        linear-gradient(180deg, #02050c 0%, #071121 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .9s ease, visibility .9s ease;
}

.epgp-splash.hide {
    opacity: 0;
    visibility: hidden;
}

.splash-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.splash-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(209, 169, 63, 0.14);
    box-shadow: inset 0 0 60px rgba(209, 169, 63, 0.04);
}

.splash-ring-1 {
    width: 520px;
    height: 520px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.splash-ring-2 {
    width: 760px;
    height: 760px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: .45;
}

.splash-gold-line {
    position: absolute;
    width: 360px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(209,169,63,.52), transparent);
    box-shadow: 0 0 22px rgba(209,169,63,.24);
}

.splash-gold-line-1 {
    left: 8%;
    top: 24%;
    transform: rotate(58deg);
}

.splash-gold-line-2 {
    right: 8%;
    bottom: 24%;
    transform: rotate(58deg);
}

.splash-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: splashFade 1.2s ease both;
    padding: 24px;
}

.splash-logo-box {
    width: 150px;
    height: 105px;
    margin: 0 auto 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 42px rgba(209,169,63,.16);
}

.splash-logo-img {
    width: 250px;
    height: auto;
    display: block;
}

.splash-subtitle {
    margin: 0 0 10px;
    color: var(--epgp-gold);
    letter-spacing: 2.8px;
    text-transform: uppercase;
    font-size: .76rem;
    font-weight: 600;
}

.splash-content h1 {
    margin: 0 0 10px;
    font-family: 'Cinzel', serif;
    font-size: clamp(2.1rem, 4.8vw, 4.8rem);
    color: #f8f3e6;
    font-weight: 800;
    text-shadow: 0 18px 40px rgba(0,0,0,.36);
}

.splash-tagline {
    display: block;
    color: var(--epgp-soft);
    font-size: .9rem;
    margin-bottom: 32px;
}

.splash-loader {
    width: min(280px, 72vw);
    height: 5px;
    background: rgba(255,255,255,0.08);
    border-radius: 999px;
    overflow: hidden;
    margin: 0 auto;
}

.splash-loader span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #8F6718, #C9A03E, #E2C977);
    animation: loadingBar 5s linear forwards;
}

/* ============================================================
   HEADER / NAVBAR
============================================================ */

.epgp-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(2, 8, 20, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.055);
}

.navbar {
    padding: 13px 0;
}

.epgp-nav-wrapper {
    align-items: center;
}

.epgp-brand {
    display: flex;
    align-items: center;
    padding: 0;
}

.brand-logo {
    width: 47px;
    height: 47px;
    object-fit: contain;
    display: block;
    background: #fff;
    border-radius: 1px;
    box-shadow: 0 0 12px rgba(255,255,255,.04);
}

.epgp-toggler {
    border-color: rgba(209,169,63,.35);
}

.epgp-toggler:focus {
    box-shadow: 0 0 0 .15rem rgba(209,169,63,.18);
}

.epgp-nav-menu {
    gap: 4px;
}

.epgp-nav-menu .nav-link {
    color: rgba(248,250,252,.88) !important;
    font-size: 12px;
    font-weight: 500;
    padding: 0 13px !important;
    transition: .25s ease;
}

.epgp-nav-menu .nav-link:hover {
    color: var(--epgp-gold) !important;
}

.epgp-nav-action {
    display: flex;
    align-items: center;
}

.btn-contact-premium {
    background: linear-gradient(180deg, #CDA74A 0%, #8E6418 100%);
    color: #111827;
    font-size: 12.5px;
    font-weight: 700;
    padding: 11px 17px;
    border-radius: 10px;
    border: 1px solid #D9BE72;
    box-shadow: 0 0 9px rgba(182, 138, 42, 0.55), 0 0 26px rgba(182, 138, 42, 0.28);
    transition: .25s ease;
}

.btn-contact-premium:hover {
    color: #111827;
    transform: translateY(-1px);
    box-shadow: 0 0 13px rgba(182, 138, 42, 0.68), 0 0 34px rgba(182, 138, 42, 0.32);
}

/* ============================================================
   HERO
============================================================ */

.epgp-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 130px 0 64px;
    overflow: hidden;
    background: #020714;
}

/* Fondo geométrico premium */
.hero-bg-premium {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(2, 7, 20, 0.98) 0%, rgba(3, 9, 22, 0.98) 100%);
}

/* Malla muy sutil */
.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .14;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 34px 34px;
}

/* Viñeta: oscurece laterales y baja para profundidad */
.hero-vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(9, 24, 47, 0.08) 0%, rgba(2, 7, 20, 0.08) 36%, rgba(0, 0, 0, 0.77) 100%),
        linear-gradient(90deg, rgba(0,0,0,.64) 0%, transparent 30%, transparent 70%, rgba(0,0,0,.68) 100%),
        linear-gradient(180deg, rgba(0,0,0,.15) 0%, transparent 45%, rgba(0,0,0,.26) 100%);
}

/* Paneles geométricos tipo referencia */
.geo-shape {
    position: absolute;
    display: block;
    border: 1px solid rgba(209, 169, 63, 0.075);
    background:
        linear-gradient(135deg, rgba(18, 31, 54, 0.70), rgba(5, 13, 30, 0.20));
    box-shadow:
        inset 0 0 70px rgba(255,255,255,0.022),
        0 34px 84px rgba(0,0,0,0.34);
    clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
}

/* Bloques izquierdo superior */
.geo-shape-1 {
    width: 460px;
    height: 350px;
    left: -96px;
    top: 78px;
    transform: rotate(-8deg);
    opacity: .76;
}

/* Bloque izquierdo bajo */
.geo-shape-2 {
    width: 540px;
    height: 480px;
    left: 70px;
    bottom: -142px;
    transform: rotate(12deg);
    opacity: .38;
}

/* Bloque derecho superior */
.geo-shape-3 {
    width: 560px;
    height: 440px;
    right: -155px;
    top: 54px;
    transform: rotate(11deg) scaleX(-1);
    opacity: .72;
}

/* Bloque derecho bajo */
.geo-shape-4 {
    width: 470px;
    height: 360px;
    right: 88px;
    bottom: -106px;
    transform: rotate(-12deg) scaleX(-1);
    opacity: .35;
}

/* Figura central muy sutil */
.geo-shape-5 {
    width: 580px;
    height: 540px;
    left: 50%;
    top: 48%;
    transform: translate(-50%, -50%) rotate(45deg);
    opacity: .12;
    border-color: rgba(209, 169, 63, 0.05);
    background: linear-gradient(135deg, rgba(22, 36, 63, .42), rgba(4, 12, 28, .05));
}

/* Detalle superior derecho */
.geo-shape-6 {
    width: 280px;
    height: 220px;
    right: 17%;
    top: 12%;
    transform: rotate(-18deg) scaleX(-1);
    opacity: .18;
}

/* Líneas doradas diagonales */
.gold-line {
    position: absolute;
    display: block;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(209, 169, 63, .62), transparent);
    box-shadow: 0 0 18px rgba(209, 169, 63, .24);
    transform-origin: center;
}

.gold-line-1 {
    width: 330px;
    left: 82px;
    top: 166px;
    transform: rotate(118deg);
    opacity: .78;
}

.gold-line-2 {
    width: 330px;
    left: 164px;
    bottom: 96px;
    transform: rotate(64deg);
    opacity: .54;
}

.gold-line-3 {
    width: 340px;
    right: 82px;
    top: 174px;
    transform: rotate(62deg);
    opacity: .74;
}

.gold-line-4 {
    width: 320px;
    right: 160px;
    bottom: 82px;
    transform: rotate(116deg);
    opacity: .52;
}

.gold-line-5 {
    width: 190px;
    left: 28%;
    top: 34%;
    transform: rotate(0deg);
    opacity: .18;
}

.gold-line-6 {
    width: 210px;
    right: 27%;
    bottom: 35%;
    transform: rotate(0deg);
    opacity: .16;
}

/* Brillos azules */
.blue-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(60px);
    background: rgba(20, 72, 130, .27);
}

.blue-glow-1 {
    width: 380px;
    height: 380px;
    left: 15%;
    top: 15%;
}

.blue-glow-2 {
    width: 440px;
    height: 440px;
    right: 12%;
    bottom: 8%;
    background: rgba(16, 54, 105, .23);
}

/* Brillo dorado central */
.gold-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(76px);
    background: rgba(209, 169, 63, .105);
}

.gold-glow-1 {
    width: 430px;
    height: 430px;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
}

/* Contenido del Hero */
.hero-logo-wrap {
    margin-bottom: 17px;
}

.hero-logo {
    width: 122px;
    max-width: 100%;
    background: #fff;
    display: inline-block;
    box-shadow: 0 0 10px rgba(255,255,255,.08);
}

.hero-pretitle {
    color: var(--epgp-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 18px;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(3rem, 5.2vw, 5.35rem);
    line-height: 1.04;
    font-weight: 800;
    color: #f5f1e7;
    margin-bottom: 19px;
    text-shadow: 0 14px 32px rgba(0,0,0,.42);
    letter-spacing: -1.6px;
}

.hero-title span {
    color: var(--epgp-gold);
}

.hero-description {
    max-width: 535px;
    margin: 0 auto 30px;
    color: #d9e1ec;
    font-size: 14.5px;
    line-height: 1.78;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.stat-card {
    width: 113px;
    min-height: 116px;
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(23, 33, 55, 0.86), rgba(11, 18, 33, 0.88));
    border: 1px solid rgba(255,255,255,0.075);
    padding: 16px 10px;
    text-align: center;
    box-shadow:
        0 16px 34px rgba(0,0,0,0.26),
        inset 0 1px 0 rgba(255,255,255,0.035);
    backdrop-filter: blur(10px);
    transition: .25s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(209, 169, 63, .36);
    box-shadow:
        0 18px 36px rgba(0,0,0,0.34),
        0 0 18px rgba(209, 169, 63, .11);
}

.stat-icon {
    color: var(--epgp-gold);
    font-size: 18px;
    margin-bottom: 7px;
}

.stat-card strong {
    display: block;
    color: #fff;
    font-size: 25px;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-card span {
    display: block;
    font-size: 10.5px;
    color: #c8d1de;
    line-height: 1.35;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-btn-primary {
    background: linear-gradient(180deg, #D1AC4E 0%, #936817 100%);
    color: #111827;
    font-size: 13.5px;
    font-weight: 800;
    padding: 15px 24px;
    border-radius: 9px;
    border: 1px solid #D9BE72;
    box-shadow:
        0 0 10px rgba(182, 138, 42, 0.62),
        0 0 27px rgba(182, 138, 42, 0.24);
    transition: .25s ease;
}

.hero-btn-primary:hover {
    color: #111827;
    transform: translateY(-2px);
    box-shadow:
        0 0 14px rgba(209, 169, 63, 0.70),
        0 0 36px rgba(209, 169, 63, 0.26);
}

.hero-btn-secondary {
    background: rgba(2, 7, 20, .26);
    color: var(--epgp-gold);
    font-size: 13.5px;
    font-weight: 700;
    padding: 15px 24px;
    border-radius: 9px;
    border: 1px solid var(--epgp-gold);
    backdrop-filter: blur(8px);
    transition: .25s ease;
}

.hero-btn-secondary:hover {
    color: #111827;
    background: var(--epgp-gold);
    transform: translateY(-2px);
}

/* ============================================================
   ANIMACIONES
============================================================ */

@keyframes loadingBar {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes splashFade {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 991.98px) {
    .navbar {
        padding: 12px 0;
    }

    .epgp-nav-menu {
        padding-top: 20px;
        padding-bottom: 8px;
        align-items: flex-start !important;
    }

    .epgp-nav-menu .nav-link {
        padding: 9px 0 !important;
        font-size: 14px;
    }

    .epgp-nav-action {
        margin-top: 14px;
    }

    .geo-shape-1,
    .geo-shape-2,
    .geo-shape-3,
    .geo-shape-4 {
        opacity: .34;
    }

    .gold-line {
        opacity: .38;
    }
}

@media (max-width: 768px) {
    .epgp-hero {
        padding: 145px 0 72px;
    }

    .hero-logo {
        width: 108px;
    }

    .hero-pretitle {
        font-size: 11.5px;
        letter-spacing: 1.2px;
    }

    .hero-title {
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 14px;
    }

    .stat-card {
        width: 104px;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        max-width: 285px;
    }

    .geo-shape-5,
    .geo-shape-6 {
        display: none;
    }

    .gold-line-5,
    .gold-line-6 {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 10px;
    }

    .stat-card {
        width: 96px;
        min-height: 108px;
        padding: 14px 8px;
    }

    .stat-card strong {
        font-size: 23px;
    }

    .stat-card span {
        font-size: 9.8px;
    }
}


/* ============================================================
   EPGP ABOUT SECTION
============================================================ */

.epgp-section {
    position: relative;
    padding: 110px 0;
    background: #020714;
    overflow: hidden;
}

.epgp-about {
    background:
        radial-gradient(circle at 20% 20%, rgba(19, 63, 122, .14), transparent 34%),
        radial-gradient(circle at 80% 70%, rgba(182, 138, 42, .10), transparent 32%),
        linear-gradient(180deg, #020714 0%, #050b18 52%, #020714 100%);
}

.about-bg-premium {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-bg-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .11;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 38px 38px;
}

.about-bg-premium::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.45), transparent 34%, transparent 66%, rgba(0,0,0,.48)),
        radial-gradient(circle at center, transparent 0%, rgba(0,0,0,.34) 86%);
}

.about-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(70px);
}

.about-glow-1 {
    width: 380px;
    height: 380px;
    left: 5%;
    top: 12%;
    background: rgba(20, 72, 130, .22);
}

.about-glow-2 {
    width: 340px;
    height: 340px;
    right: 8%;
    bottom: 10%;
    background: rgba(182, 138, 42, .12);
}

.about-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(182,138,42,.44), transparent);
    box-shadow: 0 0 18px rgba(182,138,42,.18);
}

.about-line-1 {
    width: 360px;
    left: -40px;
    top: 160px;
    transform: rotate(52deg);
}

.about-line-2 {
    width: 320px;
    right: -20px;
    bottom: 150px;
    transform: rotate(128deg);
}

.section-kicker {
    display: inline-block;
    color: var(--epgp-gold);
    text-transform: uppercase;
    letter-spacing: 2.2px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 14px;
}

.section-title {
    font-family: 'Cinzel', serif;
    color: #f5f1e7;
    font-size: clamp(2.15rem, 4vw, 4.1rem);
    line-height: 1.08;
    font-weight: 800;
    margin: 0;
    letter-spacing: -1px;
}

.section-title span {
    color: var(--epgp-gold);
}

.section-divider {
    width: 78px;
    height: 3px;
    margin: 22px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--epgp-gold), transparent);
    box-shadow: 0 0 16px rgba(182,138,42,.35);
}

.about-copy {
    max-width: 610px;
}

.about-copy p {
    color: #cbd5e1;
    font-size: 15.5px;
    line-height: 1.95;
    margin-bottom: 22px;
}

.about-copy strong {
    color: var(--epgp-gold);
    font-weight: 700;
}

.about-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 34px;
}

.pillar-card {
    min-height: 68px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 17px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(20, 31, 52, .82), rgba(10, 17, 31, .82));
    border: 1px solid rgba(255,255,255,.07);
    box-shadow:
        0 14px 34px rgba(0,0,0,.22),
        inset 0 1px 0 rgba(255,255,255,.035);
    transition: .25s ease;
}

.pillar-card:hover {
    transform: translateY(-3px);
    border-color: rgba(182,138,42,.35);
    box-shadow:
        0 18px 38px rgba(0,0,0,.30),
        0 0 18px rgba(182,138,42,.10);
}

.pillar-card i {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    color: var(--epgp-gold);
    border-radius: 9px;
    background: rgba(182,138,42,.10);
    border: 1px solid rgba(182,138,42,.18);
}

.pillar-card span {
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 600;
}

.about-visual-card {
    position: relative;
    min-height: 420px;
    border-radius: 20px;
    padding: 22px;
    background:
        linear-gradient(145deg, rgba(21, 32, 54, .60), rgba(4, 10, 22, .82));
    border: 1px solid rgba(255,255,255,.07);
    box-shadow:
        0 28px 70px rgba(0,0,0,.36),
        inset 0 1px 0 rgba(255,255,255,.035);
    overflow: hidden;
}

.about-visual-card::before {
    content: "";
    position: absolute;
    inset: 22px;
    border-radius: 16px;
    border: 1px solid rgba(182,138,42,.16);
    background:
        radial-gradient(circle at center, rgba(182,138,42,.13), transparent 38%),
        linear-gradient(135deg, rgba(11, 23, 43, .72), rgba(3, 8, 18, .88));
}

.strategy-board {
    position: relative;
    min-height: 376px;
    border-radius: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 78px;
}

.board-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    left: 50%;
    bottom: 55px;
    transform: translateX(-50%);
    background: rgba(182,138,42,.16);
    border-radius: 999px;
    filter: blur(46px);
}

.chess-base {
    position: relative;
    width: 310px;
    height: 190px;
    border-radius: 50%;
    background:
        radial-gradient(ellipse at center, rgba(182,138,42,.24), rgba(182,138,42,.07) 42%, transparent 70%);
    border-bottom: 1px solid rgba(182,138,42,.18);
}

.piece {
    position: absolute;
    bottom: 40px;
    left: 50%;
    width: 42px;
    height: 112px;
    transform: translateX(-50%);
    background:
        linear-gradient(180deg, rgba(248,250,252,.78), rgba(182,138,42,.32));
    clip-path: polygon(44% 0, 56% 0, 62% 18%, 74% 24%, 64% 36%, 70% 92%, 88% 100%, 12% 100%, 30% 92%, 36% 36%, 26% 24%, 38% 18%);
    opacity: .82;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,.35));
}

.piece.king::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -14px;
    width: 22px;
    height: 22px;
    transform: translateX(-50%);
    background: rgba(241,216,137,.80);
    clip-path: polygon(40% 0, 60% 0, 60% 35%, 100% 35%, 100% 58%, 60% 58%, 60% 100%, 40% 100%, 40% 58%, 0 58%, 0 35%, 40% 35%);
}

.piece-small {
    left: 28%;
    height: 82px;
    width: 34px;
    bottom: 30px;
    opacity: .55;
}

.piece-medium {
    left: 72%;
    height: 94px;
    width: 36px;
    bottom: 32px;
    opacity: .62;
}

.piece-tiny {
    left: 17%;
    height: 60px;
    width: 28px;
    bottom: 22px;
    opacity: .42;
}

.piece-tiny.second {
    left: 84%;
    bottom: 24px;
}

.visual-badge {
    position: absolute;
    left: 28px;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    max-width: 82%;
    padding: 15px 17px;
    border-radius: 12px;
    background: rgba(13, 24, 43, .90);
    border: 1px solid rgba(182,138,42,.24);
    box-shadow: 0 16px 34px rgba(0,0,0,.32);
    backdrop-filter: blur(12px);
}

.visual-badge i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--epgp-gold);
    border-radius: 10px;
    background: rgba(182,138,42,.10);
}

.visual-badge strong {
    display: block;
    color: #fff;
    font-size: 13px;
    margin-bottom: 2px;
}

.visual-badge span {
    display: block;
    color: #94a3b8;
    font-size: 11px;
}

.mission-card {
    min-height: 230px;
    padding: 30px;
    border-radius: 15px;
    background:
        linear-gradient(180deg, rgba(20, 31, 52, .86), rgba(9, 16, 30, .88));
    border: 1px solid rgba(255,255,255,.075);
    box-shadow:
        0 20px 50px rgba(0,0,0,.27),
        inset 0 1px 0 rgba(255,255,255,.035);
    transition: .25s ease;
}

.mission-card:hover {
    transform: translateY(-4px);
    border-color: rgba(182,138,42,.34);
    box-shadow:
        0 24px 58px rgba(0,0,0,.34),
        0 0 20px rgba(182,138,42,.10);
}

.mission-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--epgp-gold);
    background: rgba(182,138,42,.10);
    border: 1px solid rgba(182,138,42,.18);
    border-radius: 11px;
    margin-bottom: 18px;
}

.mission-card h3 {
    font-family: 'Cinzel', serif;
    color: #f5f1e7;
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.mission-card p {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.85;
    margin: 0;
}

@media (max-width: 991.98px) {
    .epgp-section {
        padding: 90px 0;
    }

    .about-visual-card {
        min-height: 370px;
    }

    .strategy-board {
        min-height: 326px;
    }
}

@media (max-width: 768px) {
    .about-pillars {
        grid-template-columns: 1fr;
    }

    .about-copy p {
        font-size: 14.5px;
    }

    .mission-card {
        padding: 24px;
    }

    .about-visual-card {
        min-height: 340px;
    }

    .strategy-board {
        min-height: 296px;
        padding-bottom: 70px;
    }

    .visual-badge {
        left: 18px;
        bottom: 18px;
    }
}


/* ============================================================
   EPGP ABOUT REAL IMAGE AJEDRES
============================================================ */

.about-visual-image-card {
    padding: 18px;
}

.about-visual-image-card::before {
    display: none;
}

.strategy-image-frame {
    position: relative;
    min-height: 410px;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background:
        radial-gradient(circle at center, rgba(182,138,42,.14), transparent 42%),
        linear-gradient(135deg, rgba(11, 23, 43, .80), rgba(3, 8, 18, .95));
    border: 1px solid rgba(182,138,42,.18);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.04),
        0 28px 70px rgba(0,0,0,.38);
}

.strategy-image-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(2,7,20,.02) 0%, rgba(2,7,20,.16) 54%, rgba(2,7,20,.72) 100%),
        radial-gradient(circle at center, transparent 0%, rgba(0,0,0,.22) 72%, rgba(0,0,0,.52) 100%);
    pointer-events: none;
}

.strategy-image-frame::after {
    content: "";
    position: absolute;
    inset: 18px;
    z-index: 3;
    border-radius: 14px;
    border: 1px solid rgba(182,138,42,.16);
    pointer-events: none;
}

.strategy-image {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
    filter: saturate(.95) contrast(1.05) brightness(.86);
}

.strategy-image-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    background:
        radial-gradient(circle at 52% 45%, rgba(182,138,42,.16), transparent 34%),
        linear-gradient(90deg, rgba(2,7,20,.34), transparent 38%, rgba(2,7,20,.34));
    pointer-events: none;
}

.visual-badge {
    z-index: 8;
}

@media (max-width: 991.98px) {
    .strategy-image-frame {
        min-height: 380px;
    }
}

@media (max-width: 768px) {
    .strategy-image-frame {
        min-height: 330px;
    }

    .strategy-image {
        object-position: center;
    }
}


/* ============================================================
   EPGP SERVICES SECTION
============================================================ */

.epgp-services {
    background:
        radial-gradient(circle at 18% 18%, rgba(182, 138, 42, .10), transparent 32%),
        radial-gradient(circle at 78% 38%, rgba(19, 63, 122, .14), transparent 34%),
        linear-gradient(180deg, #020714 0%, #061020 50%, #020714 100%);
}

.services-bg-premium {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.services-bg-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .12;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 36px 36px;
}

.services-bg-premium::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.54), transparent 34%, transparent 66%, rgba(0,0,0,.58)),
        radial-gradient(circle at center, transparent 0%, rgba(0,0,0,.36) 86%);
}

.services-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(76px);
}

.services-glow-1 {
    width: 420px;
    height: 420px;
    left: 6%;
    top: 12%;
    background: rgba(20, 72, 130, .20);
}

.services-glow-2 {
    width: 390px;
    height: 390px;
    right: 8%;
    bottom: 12%;
    background: rgba(182, 138, 42, .11);
}

.services-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(182,138,42,.45), transparent);
    box-shadow: 0 0 18px rgba(182,138,42,.18);
}

.services-line-1 {
    width: 420px;
    left: -70px;
    top: 210px;
    transform: rotate(54deg);
}

.services-line-2 {
    width: 380px;
    right: -50px;
    bottom: 210px;
    transform: rotate(126deg);
}

.services-intro {
    max-width: 760px;
    margin: 26px auto 0;
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.85;
}

.service-card {
    position: relative;
    min-height: 315px;
    height: 100%;
    padding: 32px 28px 28px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(20, 31, 52, .86), rgba(8, 15, 29, .90));
    border: 1px solid rgba(255,255,255,.075);
    box-shadow:
        0 20px 52px rgba(0,0,0,.29),
        inset 0 1px 0 rgba(255,255,255,.035);
    overflow: hidden;
    transition: .28s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(182,138,42,.16), transparent 35%),
        linear-gradient(135deg, rgba(182,138,42,.055), transparent 45%);
    opacity: .78;
    pointer-events: none;
}

.service-card::after {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(182,138,42,.62), transparent);
    opacity: .55;
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: rgba(182,138,42,.38);
    box-shadow:
        0 28px 70px rgba(0,0,0,.38),
        0 0 22px rgba(182,138,42,.11);
}

.service-card-featured {
    border-color: rgba(182,138,42,.30);
    box-shadow:
        0 24px 62px rgba(0,0,0,.34),
        0 0 24px rgba(182,138,42,.08),
        inset 0 1px 0 rgba(255,255,255,.04);
}

.service-number {
    position: absolute;
    top: 22px;
    right: 24px;
    font-family: 'Cinzel', serif;
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(182,138,42,.18);
}

.service-icon {
    position: relative;
    z-index: 2;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--epgp-gold);
    background: rgba(182,138,42,.10);
    border: 1px solid rgba(182,138,42,.20);
    border-radius: 13px;
    margin-bottom: 22px;
    font-size: 21px;
    box-shadow: 0 0 16px rgba(182,138,42,.08);
}

.service-card h3 {
    position: relative;
    z-index: 2;
    font-family: 'Cinzel', serif;
    color: #f5f1e7;
    font-size: 1.23rem;
    font-weight: 800;
    line-height: 1.28;
    margin-bottom: 15px;
}

.service-card p {
    position: relative;
    z-index: 2;
    color: #cbd5e1;
    font-size: 13.8px;
    line-height: 1.75;
    margin-bottom: 22px;
}

.service-link {
    position: absolute;
    left: 28px;
    bottom: 26px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--epgp-gold);
    font-size: 13px;
    font-weight: 800;
    transition: .25s ease;
}

.service-link i {
    transition: .25s ease;
}

.service-link:hover {
    color: var(--epgp-gold-3);
}

.service-link:hover i {
    transform: translateX(4px);
}

/* MODALES SERVICIOS */

.service-modal .modal-dialog {
    max-width: 860px;
}

.premium-modal {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(182,138,42,.12), transparent 34%),
        linear-gradient(180deg, rgba(15, 25, 43, .98), rgba(4, 10, 22, .98));
    border: 1px solid rgba(182,138,42,.26);
    box-shadow:
        0 34px 90px rgba(0,0,0,.56),
        0 0 26px rgba(182,138,42,.09);
    color: #fff;
}

.premium-modal::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .10;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 34px 34px;
    pointer-events: none;
}

.premium-modal .modal-header {
    position: relative;
    z-index: 2;
    padding: 28px 30px 20px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.premium-modal .modal-title {
    font-family: 'Cinzel', serif;
    color: #f5f1e7;
    font-size: 1.55rem;
    font-weight: 800;
    margin: 6px 0 0;
}

.modal-service-number {
    display: inline-block;
    color: var(--epgp-gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
}

.premium-modal .modal-body {
    position: relative;
    z-index: 2;
    padding: 26px 30px;
}

.modal-lead {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.modal-grid-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.modal-grid-list span {
    position: relative;
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 13px 14px 13px 38px;
    border-radius: 10px;
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.065);
}

.modal-grid-list span::before {
    content: "\F26A";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--epgp-gold);
    font-size: 14px;
}

.premium-modal .modal-footer {
    position: relative;
    z-index: 2;
    padding: 20px 30px 30px;
    border-top: 1px solid rgba(255,255,255,.07);
}

.modal-backdrop.show {
    opacity: .78;
}

@media (max-width: 768px) {
    .service-card {
        min-height: 290px;
    }

    .modal-grid-list {
        grid-template-columns: 1fr;
    }

    .premium-modal .modal-header,
    .premium-modal .modal-body,
    .premium-modal .modal-footer {
        padding-left: 22px;
        padding-right: 22px;
    }

    .premium-modal .modal-title {
        font-size: 1.25rem;
    }
}


/* ============================================================
   EPGP METHODOLOGY SECTION
============================================================ */

.epgp-methodology {
    background:
        radial-gradient(circle at 22% 18%, rgba(20, 72, 130, .15), transparent 34%),
        radial-gradient(circle at 82% 78%, rgba(182, 138, 42, .11), transparent 34%),
        linear-gradient(180deg, #020714 0%, #050b18 52%, #020714 100%);
}

.methodology-bg-premium {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.methodology-bg-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .115;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 36px 36px;
}

.methodology-bg-premium::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.58), transparent 34%, transparent 66%, rgba(0,0,0,.62)),
        radial-gradient(circle at center, transparent 0%, rgba(0,0,0,.38) 88%);
}

.methodology-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(76px);
}

.methodology-glow-1 {
    width: 420px;
    height: 420px;
    left: 8%;
    top: 12%;
    background: rgba(20, 72, 130, .20);
}

.methodology-glow-2 {
    width: 380px;
    height: 380px;
    right: 8%;
    bottom: 10%;
    background: rgba(182, 138, 42, .11);
}

.methodology-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(182,138,42,.46), transparent);
    box-shadow: 0 0 18px rgba(182,138,42,.18);
}

.methodology-line-1 {
    width: 390px;
    left: -58px;
    top: 210px;
    transform: rotate(54deg);
}

.methodology-line-2 {
    width: 390px;
    right: -66px;
    bottom: 220px;
    transform: rotate(126deg);
}

.methodology-intro {
    max-width: 800px;
    margin: 26px auto 0;
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.85;
}

/* Timeline */

.methodology-timeline {
    position: relative;
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
}

.methodology-timeline::before {
    content: "";
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(
        180deg,
        transparent,
        rgba(182,138,42,.55),
        rgba(255,255,255,.09),
        rgba(182,138,42,.55),
        transparent
    );
    box-shadow: 0 0 22px rgba(182,138,42,.15);
}

.method-step {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 86px 1fr;
    align-items: center;
    margin-bottom: 34px;
}

.method-step:nth-child(odd) .method-card {
    grid-column: 1;
}

.method-step:nth-child(even) .method-card {
    grid-column: 3;
}

.method-step:nth-child(odd) .method-marker,
.method-step:nth-child(even) .method-marker {
    grid-column: 2;
}

.method-marker {
    position: relative;
    z-index: 3;
    width: 66px;
    height: 66px;
    margin: 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, rgba(182,138,42,.22), rgba(6,16,32,.96) 62%);
    border: 1px solid rgba(182,138,42,.42);
    box-shadow:
        0 0 20px rgba(182,138,42,.20),
        0 18px 38px rgba(0,0,0,.34);
}

.method-marker span {
    font-family: 'Cinzel', serif;
    color: var(--epgp-gold);
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: 1px;
}

.method-card {
    position: relative;
    min-height: 268px;
    padding: 30px 30px 28px;
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(182,138,42,.10), transparent 35%),
        linear-gradient(180deg, rgba(20, 31, 52, .88), rgba(8, 15, 29, .92));
    border: 1px solid rgba(255,255,255,.075);
    box-shadow:
        0 22px 58px rgba(0,0,0,.31),
        inset 0 1px 0 rgba(255,255,255,.035);
    transition: .28s ease;
    overflow: hidden;
}

.method-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .10;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.method-card:hover {
    transform: translateY(-6px);
    border-color: rgba(182,138,42,.36);
    box-shadow:
        0 28px 70px rgba(0,0,0,.39),
        0 0 22px rgba(182,138,42,.10);
}

.method-card::after {
    content: "";
    position: absolute;
    width: 78px;
    height: 2px;
    top: 50%;
    background: linear-gradient(90deg, rgba(182,138,42,.54), transparent);
    transform: translateY(-50%);
}

.method-step:nth-child(odd) .method-card::after {
    right: -78px;
}

.method-step:nth-child(even) .method-card::after {
    left: -78px;
    transform: translateY(-50%) scaleX(-1);
}

.method-icon {
    position: relative;
    z-index: 2;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--epgp-gold);
    background: rgba(182,138,42,.10);
    border: 1px solid rgba(182,138,42,.20);
    border-radius: 13px;
    font-size: 21px;
    margin-bottom: 18px;
}

.method-card h3 {
    position: relative;
    z-index: 2;
    font-family: 'Cinzel', serif;
    color: #f5f1e7;
    font-size: 1.28rem;
    font-weight: 800;
    margin-bottom: 13px;
}

.method-card p {
    position: relative;
    z-index: 2;
    color: #cbd5e1;
    font-size: 13.8px;
    line-height: 1.76;
    margin-bottom: 16px;
}

.method-card ul {
    position: relative;
    z-index: 2;
    list-style: none;
    padding: 0;
    margin: 0;
}

.method-card li {
    position: relative;
    color: #dbe3ee;
    font-size: 12.8px;
    font-weight: 600;
    padding-left: 24px;
    margin-bottom: 8px;
}

.method-card li::before {
    content: "\F26A";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--epgp-gold);
    font-size: 13px;
}

/* Herramientas de soporte */

.support-card {
    height: 100%;
    min-height: 248px;
    padding: 30px 28px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(20, 31, 52, .86), rgba(8, 15, 29, .91));
    border: 1px solid rgba(255,255,255,.075);
    box-shadow:
        0 20px 52px rgba(0,0,0,.29),
        inset 0 1px 0 rgba(255,255,255,.035);
    transition: .28s ease;
}

.support-card:hover {
    transform: translateY(-6px);
    border-color: rgba(182,138,42,.36);
    box-shadow:
        0 28px 70px rgba(0,0,0,.38),
        0 0 22px rgba(182,138,42,.11);
}

.support-card-featured {
    border-color: rgba(182,138,42,.30);
    background:
        radial-gradient(circle at top right, rgba(182,138,42,.14), transparent 36%),
        linear-gradient(180deg, rgba(20, 31, 52, .90), rgba(8, 15, 29, .93));
}

.support-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    color: var(--epgp-gold);
    background: rgba(182,138,42,.10);
    border: 1px solid rgba(182,138,42,.20);
    border-radius: 14px;
    font-size: 22px;
    margin-bottom: 20px;
}

.support-card h3 {
    font-family: 'Cinzel', serif;
    color: #f5f1e7;
    font-size: 1.18rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.support-card p {
    color: #cbd5e1;
    font-size: 13.8px;
    line-height: 1.78;
    margin: 0;
}

/* CTA */

.methodology-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px;
    border-radius: 20px;
    background:
        radial-gradient(circle at right, rgba(182,138,42,.16), transparent 38%),
        linear-gradient(135deg, rgba(21, 32, 54, .90), rgba(5, 12, 26, .94));
    border: 1px solid rgba(182,138,42,.28);
    box-shadow:
        0 24px 64px rgba(0,0,0,.34),
        0 0 24px rgba(182,138,42,.08);
    overflow: hidden;
}

.methodology-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .10;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.methodology-cta > * {
    position: relative;
    z-index: 2;
}

.methodology-cta span {
    display: block;
    color: var(--epgp-gold);
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 8px;
}

.methodology-cta h3 {
    font-family: 'Cinzel', serif;
    color: #f5f1e7;
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 800;
    margin: 0;
}

@media (max-width: 991.98px) {
    .methodology-timeline::before {
        left: 33px;
        transform: none;
    }

    .method-step {
        grid-template-columns: 66px 1fr;
        gap: 18px;
        align-items: flex-start;
    }

    .method-step:nth-child(odd) .method-card,
    .method-step:nth-child(even) .method-card {
        grid-column: 2;
    }

    .method-step:nth-child(odd) .method-marker,
    .method-step:nth-child(even) .method-marker {
        grid-column: 1;
    }

    .method-marker {
        width: 66px;
        height: 66px;
    }

    .method-card::after {
        display: none;
    }

    .methodology-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .methodology-intro {
        font-size: 14px;
    }

    .method-card {
        padding: 26px 22px;
    }

    .method-step {
        grid-template-columns: 52px 1fr;
        gap: 14px;
    }

    .methodology-timeline::before {
        left: 26px;
    }

    .method-marker {
        width: 52px;
        height: 52px;
    }

    .method-marker span {
        font-size: .82rem;
    }

    .methodology-cta {
        padding: 24px;
    }
}


/* ============================================================
   EPGP DIFFERENTIALS SECTION
============================================================ */

.epgp-differentials {
    background:
        radial-gradient(circle at 18% 24%, rgba(182, 138, 42, .10), transparent 32%),
        radial-gradient(circle at 84% 60%, rgba(20, 72, 130, .15), transparent 34%),
        linear-gradient(180deg, #020714 0%, #061020 52%, #020714 100%);
}

.differentials-bg-premium {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.differentials-bg-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .12;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 36px 36px;
}

.differentials-bg-premium::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.56), transparent 34%, transparent 66%, rgba(0,0,0,.60)),
        radial-gradient(circle at center, transparent 0%, rgba(0,0,0,.38) 88%);
}

.differentials-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(76px);
}

.differentials-glow-1 {
    width: 420px;
    height: 420px;
    left: 7%;
    top: 12%;
    background: rgba(182, 138, 42, .11);
}

.differentials-glow-2 {
    width: 420px;
    height: 420px;
    right: 8%;
    bottom: 12%;
    background: rgba(20, 72, 130, .20);
}

.differentials-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(182,138,42,.46), transparent);
    box-shadow: 0 0 18px rgba(182,138,42,.18);
}

.differentials-line-1 {
    width: 420px;
    left: -70px;
    top: 220px;
    transform: rotate(54deg);
}

.differentials-line-2 {
    width: 390px;
    right: -60px;
    bottom: 220px;
    transform: rotate(126deg);
}

.differentials-intro {
    max-width: 820px;
    margin: 26px auto 0;
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.85;
}

.differential-card {
    position: relative;
    height: 100%;
    min-height: 260px;
    padding: 30px 28px;
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(182,138,42,.08), transparent 35%),
        linear-gradient(180deg, rgba(20, 31, 52, .86), rgba(8, 15, 29, .91));
    border: 1px solid rgba(255,255,255,.075);
    box-shadow:
        0 20px 52px rgba(0,0,0,.29),
        inset 0 1px 0 rgba(255,255,255,.035);
    overflow: hidden;
    transition: .28s ease;
}

.differential-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .10;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.differential-card::after {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(182,138,42,.60), transparent);
    opacity: .50;
}

.differential-card:hover {
    transform: translateY(-7px);
    border-color: rgba(182,138,42,.38);
    box-shadow:
        0 28px 70px rgba(0,0,0,.38),
        0 0 22px rgba(182,138,42,.11);
}

.differential-featured {
    border-color: rgba(182,138,42,.34);
    box-shadow:
        0 24px 62px rgba(0,0,0,.35),
        0 0 24px rgba(182,138,42,.09),
        inset 0 1px 0 rgba(255,255,255,.04);
}

.differential-icon {
    position: relative;
    z-index: 2;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    color: var(--epgp-gold);
    background: rgba(182,138,42,.10);
    border: 1px solid rgba(182,138,42,.20);
    border-radius: 14px;
    font-size: 22px;
    margin-bottom: 20px;
}

.differential-card h3 {
    position: relative;
    z-index: 2;
    font-family: 'Cinzel', serif;
    color: #f5f1e7;
    font-size: 1.22rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.differential-card p {
    position: relative;
    z-index: 2;
    color: #cbd5e1;
    font-size: 13.8px;
    line-height: 1.78;
    margin: 0;
}

/* Panel clientes objetivo */

.target-clients-panel {
    position: relative;
    padding: 34px;
    border-radius: 22px;
    background:
        radial-gradient(circle at right, rgba(182,138,42,.15), transparent 38%),
        linear-gradient(135deg, rgba(21, 32, 54, .90), rgba(5, 12, 26, .94));
    border: 1px solid rgba(182,138,42,.27);
    box-shadow:
        0 24px 64px rgba(0,0,0,.34),
        0 0 24px rgba(182,138,42,.08);
    overflow: hidden;
}

.target-clients-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .10;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.target-clients-panel > .row {
    position: relative;
    z-index: 2;
}

.clients-kicker {
    display: inline-block;
    color: var(--epgp-gold);
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 12px;
}

.target-clients-panel h3 {
    font-family: 'Cinzel', serif;
    color: #f5f1e7;
    font-size: clamp(1.45rem, 3vw, 2.15rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 14px;
}

.target-clients-panel p {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.78;
    margin: 0;
}

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

.client-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 14px 16px;
    color: #e2e8f0;
    font-size: 13.2px;
    font-weight: 700;
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    transition: .25s ease;
}

.client-chip:hover {
    transform: translateY(-3px);
    border-color: rgba(182,138,42,.34);
    background: rgba(182,138,42,.06);
}

.client-chip i {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    color: var(--epgp-gold);
    background: rgba(182,138,42,.10);
    border: 1px solid rgba(182,138,42,.18);
    border-radius: 10px;
}

/* Frase final */

.closing-quote {
    position: relative;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 34px 34px 30px;
    text-align: center;
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(20, 31, 52, .68), rgba(8, 15, 29, .78));
    border: 1px solid rgba(255,255,255,.075);
    box-shadow: 0 20px 52px rgba(0,0,0,.28);
}

.closing-quote i {
    display: block;
    color: var(--epgp-gold);
    font-size: 2rem;
    margin-bottom: 10px;
}

.closing-quote p {
    font-family: 'Cinzel', serif;
    color: #f5f1e7;
    font-size: clamp(1.1rem, 2.4vw, 1.65rem);
    line-height: 1.55;
    font-weight: 700;
    margin: 0 auto 14px;
}

.closing-quote span {
    display: block;
    color: var(--epgp-gold);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-weight: 900;
}

@media (max-width: 991.98px) {
    .clients-grid {
        grid-template-columns: 1fr;
    }

    .target-clients-panel {
        padding: 28px;
    }
}

@media (max-width: 768px) {
    .differentials-intro {
        font-size: 14px;
    }

    .differential-card {
        min-height: auto;
        padding: 26px 22px;
    }

    .target-clients-panel {
        padding: 24px;
    }

    .closing-quote {
        padding: 28px 22px;
    }
}


/* ============================================================
   EPGP CONTACT SECTION
============================================================ */

.epgp-contact {
    background:
        radial-gradient(circle at 20% 20%, rgba(20, 72, 130, .15), transparent 34%),
        radial-gradient(circle at 80% 68%, rgba(182, 138, 42, .12), transparent 34%),
        linear-gradient(180deg, #020714 0%, #050b18 52%, #020714 100%);
}

.contact-bg-premium {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.contact-bg-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .115;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 36px 36px;
}

.contact-bg-premium::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.58), transparent 34%, transparent 66%, rgba(0,0,0,.62)),
        radial-gradient(circle at center, transparent 0%, rgba(0,0,0,.38) 88%);
}

.contact-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(76px);
}

.contact-glow-1 {
    width: 420px;
    height: 420px;
    left: 7%;
    top: 12%;
    background: rgba(20, 72, 130, .20);
}

.contact-glow-2 {
    width: 390px;
    height: 390px;
    right: 8%;
    bottom: 10%;
    background: rgba(182, 138, 42, .12);
}

.contact-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(182,138,42,.46), transparent);
    box-shadow: 0 0 18px rgba(182,138,42,.18);
}

.contact-line-1 {
    width: 390px;
    left: -58px;
    top: 210px;
    transform: rotate(54deg);
}

.contact-line-2 {
    width: 390px;
    right: -66px;
    bottom: 220px;
    transform: rotate(126deg);
}

.contact-intro {
    max-width: 780px;
    margin: 26px auto 0;
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.85;
}

.contact-info-card,
.contact-form-card {
    height: 100%;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(182,138,42,.10), transparent 34%),
        linear-gradient(180deg, rgba(20, 31, 52, .88), rgba(8, 15, 29, .93));
    border: 1px solid rgba(255,255,255,.075);
    box-shadow:
        0 24px 64px rgba(0,0,0,.34),
        inset 0 1px 0 rgba(255,255,255,.035);
    overflow: hidden;
}

.contact-info-card {
    padding: 34px 30px;
}

.contact-form-card {
    padding: 34px;
}

.contact-logo-box {
    width: 130px;
    margin-bottom: 22px;
    background: #fff;
    box-shadow: 0 0 20px rgba(182,138,42,.10);
}

.contact-logo {
    width: 130px;
    display: block;
}

.contact-info-card h3 {
    font-family: 'Cinzel', serif;
    color: #f5f1e7;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.contact-brand-text {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 26px;
}

.contact-data-list {
    display: grid;
    gap: 14px;
}

.contact-data-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px;
    border-radius: 14px;
    color: #e2e8f0;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.065);
    transition: .25s ease;
}

.contact-data-item:hover {
    color: #fff;
    transform: translateY(-3px);
    border-color: rgba(182,138,42,.34);
    background: rgba(182,138,42,.06);
}

.contact-data-item i {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    color: var(--epgp-gold);
    background: rgba(182,138,42,.10);
    border: 1px solid rgba(182,138,42,.18);
    border-radius: 12px;
    font-size: 18px;
}

.contact-data-item span {
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .7px;
    margin-bottom: 3px;
}

.contact-data-item strong {
    display: block;
    color: #f8fafc;
    font-size: 13px;
    font-weight: 700;
}

.whatsapp-item i {
    color: #25d366;
}

.contact-note {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(182,138,42,.06);
    border: 1px solid rgba(182,138,42,.18);
}

.contact-note i {
    color: var(--epgp-gold);
    font-size: 20px;
    margin-top: 2px;
}

.contact-note p {
    margin: 0;
    color: #cbd5e1;
    font-size: 12.8px;
    line-height: 1.65;
}

/* Formulario */

.epgp-contact-form .form-label {
    color: #e2e8f0;
    font-size: 12.5px;
    font-weight: 800;
    margin-bottom: 8px;
}

.premium-input {
    min-height: 52px;
    color: #f8fafc;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 12px;
    padding: 13px 15px;
    font-size: 14px;
    transition: .25s ease;
}

.premium-input::placeholder {
    color: rgba(203,213,225,.52);
}

.premium-input:focus {
    color: #f8fafc;
    background: rgba(255,255,255,.055);
    border-color: rgba(182,138,42,.52);
    box-shadow: 0 0 0 .18rem rgba(182,138,42,.13);
}

select.premium-input {
    color: #f8fafc;
}

select.premium-input option {
    background: #081426;
    color: #f8fafc;
}

textarea.premium-input {
    resize: vertical;
    min-height: 145px;
}

.premium-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 4px;
}

.premium-check .form-check-input {
    margin-top: 3px;
    background-color: rgba(255,255,255,.05);
    border-color: rgba(182,138,42,.42);
}

.premium-check .form-check-input:checked {
    background-color: var(--epgp-gold);
    border-color: var(--epgp-gold);
}

.premium-check .form-check-label {
    color: #cbd5e1;
    font-size: 12.8px;
    line-height: 1.55;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}

.epgp-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 16px;
    border-radius: 14px;
    margin-bottom: 22px;
    font-size: 13px;
    line-height: 1.55;
}

.epgp-alert i {
    font-size: 19px;
    margin-top: 1px;
}

.epgp-alert-success {
    color: #dcfce7;
    background: rgba(34,197,94,.12);
    border: 1px solid rgba(34,197,94,.26);
}

.epgp-alert-error {
    color: #fee2e2;
    background: rgba(239,68,68,.12);
    border: 1px solid rgba(239,68,68,.26);
}

.epgp-alert ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

/* Botón flotante WhatsApp */

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1001;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: #25d366;
    box-shadow:
        0 12px 30px rgba(0,0,0,.35),
        0 0 0 8px rgba(37,211,102,.10);
    font-size: 26px;
    transition: .25s ease;
}

.floating-whatsapp:hover {
    color: #fff;
    transform: translateY(-4px) scale(1.03);
}

/* ============================================================
   EPGP FOOTER
============================================================ */

.epgp-footer {
    position: relative;
    padding: 72px 0 28px;
    background:
        radial-gradient(circle at 15% 20%, rgba(182,138,42,.09), transparent 32%),
        linear-gradient(180deg, #020714 0%, #01040b 100%);
    border-top: 1px solid rgba(182,138,42,.18);
    overflow: hidden;
}

.footer-bg-premium {
    position: absolute;
    inset: 0;
}

.footer-bg-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .09;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 34px 34px;
}

.footer-logo {
    width: 120px;
    background: #fff;
    margin-bottom: 18px;
}

.footer-brand h3 {
    font-family: 'Cinzel', serif;
    color: #f5f1e7;
    font-size: 1.65rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.footer-brand p,
.footer-social-text {
    color: #94a3b8;
    font-size: 13.5px;
    line-height: 1.75;
    margin: 0;
}

.epgp-footer h4 {
    color: #f5f1e7;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 18px;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 13.5px;
    transition: .25s ease;
}

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

.footer-contact li {
    color: #94a3b8;
    font-size: 13.5px;
    line-height: 1.55;
}

.footer-contact i {
    color: var(--epgp-gold);
    margin-right: 8px;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    margin-bottom: 18px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: var(--epgp-gold);
    background: rgba(182,138,42,.08);
    border: 1px solid rgba(182,138,42,.22);
    border-radius: 12px;
    transition: .25s ease;
}

.footer-socials a:hover {
    color: #111827;
    background: var(--epgp-gold);
    transform: translateY(-3px);
}

.footer-whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #25d366;
    font-size: 13px;
    font-weight: 800;
    transition: .25s ease;
}

.footer-whatsapp-link:hover {
    color: #7bf0a3;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 52px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.07);
}

.footer-bottom p {
    margin: 0;
    color: #94a3b8;
    font-size: 12.8px;
}

.footer-bottom span {
    color: var(--epgp-gold);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    font-weight: 900;
}

@media (max-width: 991.98px) {
    .contact-form-card,
    .contact-info-card {
        padding: 28px;
    }
}

@media (max-width: 768px) {
    .contact-intro {
        font-size: 14px;
    }

    .contact-form-card,
    .contact-info-card {
        padding: 24px;
    }

    .contact-actions .btn {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .floating-whatsapp {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
    }
}


/* ============================================================
   EPGP UX PREMIUM POLISH
============================================================ */

/* Selección de texto */
::selection {
    background: rgba(182, 138, 42, .32);
    color: #fff;
}

/* Scrollbar premium */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #020714;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8C6518, #B68A2A);
    border-radius: 999px;
    border: 2px solid #020714;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #B68A2A, #D8BD72);
}

/* Barra de progreso de scroll */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    z-index: 100000;
    background: linear-gradient(90deg, #8C6518, #B68A2A, #E8D18A);
    box-shadow: 0 0 14px rgba(182,138,42,.58);
    transition: width .08s linear;
}

/* Header al hacer scroll */
.epgp-header.header-scrolled {
    background: rgba(2, 8, 20, 0.96);
    box-shadow: 0 14px 40px rgba(0,0,0,.30);
    border-bottom-color: rgba(182,138,42,.18);
}

.epgp-header.header-scrolled .navbar {
    padding-top: 10px;
    padding-bottom: 10px;
}

.epgp-header,
.navbar {
    transition: .25s ease;
}

/* Menú activo */
.epgp-nav-menu .nav-link.active {
    color: var(--epgp-gold) !important;
}

.epgp-nav-menu .nav-link.active::after {
    width: 100%;
}

.epgp-nav-menu .nav-link {
    position: relative;
}

.epgp-nav-menu .nav-link::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: -8px;
    height: 2px;
    width: 0;
    margin: auto;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--epgp-gold), transparent);
    transition: .25s ease;
}

.epgp-nav-menu .nav-link:hover::after {
    width: calc(100% - 26px);
}

/* Animaciones de aparición */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity .75s ease,
        transform .75s ease;
}

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

.reveal-delay-1 {
    transition-delay: .08s;
}

.reveal-delay-2 {
    transition-delay: .16s;
}

.reveal-delay-3 {
    transition-delay: .24s;
}

/* Botón volver arriba */
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 92px;
    z-index: 1001;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #111827;
    background: linear-gradient(180deg, #D1AC4E 0%, #936817 100%);
    border: 1px solid #D9BE72;
    box-shadow:
        0 12px 30px rgba(0,0,0,.35),
        0 0 18px rgba(182,138,42,.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: .25s ease;
}

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

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow:
        0 16px 36px rgba(0,0,0,.40),
        0 0 26px rgba(182,138,42,.32);
}

/* Ajustes finos responsive */
@media (max-width: 991.98px) {
    .epgp-nav-menu .nav-link::after {
        display: none;
    }

    .epgp-header.header-scrolled .navbar {
        padding-top: 12px;
        padding-bottom: 12px;
    }
}

@media (max-width: 768px) {
    .back-to-top {
        right: 16px;
        bottom: 84px;
        width: 44px;
        height: 44px;
    }

    .section-title {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .epgp-section {
        padding-top: 82px;
        padding-bottom: 82px;
    }
}

/* Evitar saltos visuales cuando se navega por anchors */
section[id] {
    scroll-margin-top: 92px;
}

@media (max-width: 768px) {
    section[id] {
        scroll-margin-top: 84px;
    }
}


/* ============================================================
   EPGP PRODUCTION FINAL POLISH
============================================================ */

/* Accesibilidad */
.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100001;
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--epgp-gold);
    color: #111827;
    font-weight: 900;
    transform: translateY(-160%);
    transition: .25s ease;
}

.skip-link:focus {
    transform: translateY(0);
    outline: 2px solid #fff;
}

/* Focus visible profesional */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--epgp-gold);
    outline-offset: 3px;
}

/* Link política dentro del checkbox */
.privacy-inline-link {
    display: inline;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--epgp-gold);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.privacy-inline-link:hover {
    color: var(--epgp-gold-3);
}

/* Legales */
.legal-modal .modal-dialog {
    max-width: 980px;
}

.legal-modal-content {
    max-height: 88vh;
}

.legal-content {
    max-height: 62vh;
    overflow-y: auto;
    padding-right: 18px;
}

.legal-content p {
    color: #cbd5e1;
    font-size: 14.2px;
    line-height: 1.85;
    margin-bottom: 18px;
}

.legal-content h6 {
    color: var(--epgp-gold);
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 900;
    margin-top: 22px;
    margin-bottom: 8px;
}

/* Footer legales */
.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.footer-legal-links button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #94a3b8;
    font-size: 12.5px;
    font-weight: 700;
    transition: .25s ease;
}

.footer-legal-links button:hover {
    color: var(--epgp-gold);
}

/* Optimización visual móvil */
@media (max-width: 575.98px) {
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .brand-logo {
        width: 43px;
        height: 43px;
    }

    .hero-logo {
        width: 104px;
    }

    .hero-title {
        font-size: clamp(2.75rem, 13vw, 3.85rem);
    }

    .hero-description {
        max-width: 92%;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 9px;
    }

    .stat-card {
        width: auto;
        min-height: 106px;
        padding: 13px 7px;
    }

    .stat-card strong {
        font-size: 21px;
    }

    .stat-card span {
        font-size: 9.2px;
    }

    .section-kicker {
        font-size: 10.5px;
        letter-spacing: 1.6px;
    }

    .about-visual-card,
    .contact-info-card,
    .contact-form-card,
    .target-clients-panel,
    .methodology-cta {
        border-radius: 18px;
    }

    .service-card,
    .differential-card,
    .method-card,
    .support-card,
    .mission-card {
        border-radius: 16px;
    }

    .premium-modal .modal-header,
    .premium-modal .modal-body,
    .premium-modal .modal-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .legal-content {
        max-height: 58vh;
    }
}

/* Reducir animaciones si el usuario lo prefiere */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    .epgp-splash {
        display: none !important;
    }

    body.splash-active {
        overflow: auto !important;
    }
}

/* Print básico */
@media print {
    .epgp-splash,
    .epgp-header,
    .floating-whatsapp,
    .back-to-top,
    .scroll-progress,
    .hero-bg-premium,
    .about-bg-premium,
    .services-bg-premium,
    .methodology-bg-premium,
    .differentials-bg-premium,
    .contact-bg-premium,
    .footer-bg-premium {
        display: none !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
    }

    .epgp-section,
    .epgp-hero,
    .epgp-footer {
        background: #fff !important;
        color: #000 !important;
        padding: 30px 0 !important;
    }

    * {
        color: #000 !important;
        box-shadow: none !important;
    }
}


/* ============================================================
   EPGP MENU LOGO PATCH
   Ajuste de menu, logos y texto bajo logo
============================================================ */

/* MENU MAS GRANDE */
.epgp-nav-menu .nav-link {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .2px;
}

/* LOGO DEL NAVBAR MAS GRANDE */
.brand-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

/* SI EL LOGO ESTA DENTRO DE UN WRAPPER */
.navbar-brand img,
.brand-mark img {
    max-height: 58px;
    width: auto;
}

/* LOGO CENTRAL DEL HERO MAS GRANDE */
.hero-logo {
    width: 150px;
    max-width: 100%;
    margin-bottom: 18px;
}

/* TEXTO DEBAJO DEL LOGO CENTRAL MAS PEQUENO */
.hero-pretitle {
    font-size: 12px;
    letter-spacing: 3.2px;
    font-weight: 700;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* TITULO PRINCIPAL UN POCO MEJOR AJUSTADO */
.hero-title {
    margin-top: 8px;
}

/* AJUSTE TABLET */
@media (max-width: 991.98px) {
    .epgp-nav-menu .nav-link {
        font-size: 16px;
    }

    .brand-logo {
        width: 52px;
        height: 52px;
    }

    .navbar-brand img,
    .brand-mark img {
        max-height: 52px;
    }

    .hero-logo {
        width: 135px;
    }

    .hero-pretitle {
        font-size: 11px;
        letter-spacing: 2.6px;
    }
}

/* AJUSTE MOVIL */
@media (max-width: 575.98px) {
    .epgp-nav-menu .nav-link {
        font-size: 15px;
    }

    .brand-logo {
        width: 46px;
        height: 46px;
    }

    .navbar-brand img,
    .brand-mark img {
        max-height: 46px;
    }

    .hero-logo {
        width: 110px;
        margin-bottom: 14px;
    }

    .hero-pretitle {
        font-size: 10px;
        letter-spacing: 2px;
        line-height: 1.6;
    }
}


/* ============================================================
   EPGP HERO LOGO BIG PATCH
============================================================ */

/* Logo central del Hero más grande */
.hero-logo {
    width: 350px !important;
    max-width: 100%;
    margin-bottom: 20px;
}

/* Contenedor del logo central */
.hero-logo-wrap {
    margin-bottom: 22px;
}

/* Ajuste para que no empuje demasiado el contenido */
.hero-pretitle {
    margin-top: 0;
    margin-bottom: 16px;
}

/* Tablet */
@media (max-width: 991.98px) {
    .hero-logo {
        width: 160px !important;
    }
}

/* Móvil */
@media (max-width: 575.98px) {
    .hero-logo {
        width: 125px !important;
    }

    .hero-logo-wrap {
        margin-bottom: 16px;
    }
}


/* ============================================================
   EPGP NAVBAR SOCIAL ICONS PATCH
============================================================ */

.epgp-nav-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.epgp-nav-socials a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--epgp-gold);
    background:
        linear-gradient(180deg, rgba(20, 31, 52, .84), rgba(8, 15, 29, .94));
    border: 1px solid rgba(182, 138, 42, .34);
    border-radius: 12px;
    font-size: 18px;
    box-shadow:
        0 10px 24px rgba(0, 0, 0, .28),
        inset 0 1px 0 rgba(255, 255, 255, .035);
    transition: .25s ease;
}

.epgp-nav-socials a:hover {
    color: #111827;
    background: linear-gradient(180deg, #D1AC4E 0%, #936817 100%);
    border-color: #D9BE72;
    transform: translateY(-3px);
    box-shadow:
        0 14px 32px rgba(0, 0, 0, .34),
        0 0 22px rgba(182, 138, 42, .22);
}

@media (max-width: 991.98px) {
    .epgp-nav-socials {
        justify-content: center;
        margin-top: 18px;
        padding-top: 14px;
        border-top: 1px solid rgba(255, 255, 255, .07);
    }

    .epgp-nav-socials a {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 575.98px) {
    .epgp-nav-socials {
        gap: 10px;
    }

    .epgp-nav-socials a {
        width: 42px;
        height: 42px;
        font-size: 17px;
    }
}

