:root {
    --gesa-navy: #071827;
    --gesa-navy-dark: #040d16;
    --gesa-yellow: #f4b41a;
    --gesa-text: #f5f5f5;
    --gesa-muted: #a7b4c8;
    --gesa-card-bg: rgba(16, 40, 71, 0.4);
    --gesa-border: rgba(255, 255, 255, 0.08);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* offset para navbar fijo */
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--gesa-text);
    background-color: var(--gesa-navy-dark);
    background: radial-gradient(circle at top right, #143059 0, var(--gesa-navy) 40%),
                radial-gradient(circle at bottom left, #02060a 0, var(--gesa-navy-dark) 60%);
    background-attachment: fixed;
    overflow-x: hidden;
}

/* Utilidades */
.text-gesa-yellow {
    color: var(--gesa-yellow) !important;
}

.text-gesa-muted {
    color: var(--gesa-muted) !important;
}

.section-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gesa-yellow);
    margin-bottom: 1rem;
    display: block;
}

.mw-700 {
    max-width: 700px;
}

.ls-1 {
    letter-spacing: 0.1em;
}

/* Tipografía y títulos */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Navegación */
.navbar {
    padding: 1rem 0;
    background-color: rgba(3, 11, 24, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gesa-border);
    transition: all 0.3s ease;
}

.navbar.navbar-scrolled {
    padding: 0.5rem 0;
    background-color: rgba(3, 11, 24, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.navbar-brand img {
    height: 75px;
    width: auto;
}

.nav-link {
    color: var(--gesa-muted) !important;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gesa-text) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, var(--gesa-navy-dark) 0%, rgba(4, 13, 22, 0.85) 60%, rgba(4, 13, 22, 0.4) 100%);
    z-index: 1;
}

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

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

/* Botones */
.btn-gesa {
    background: linear-gradient(135deg, rgba(244, 180, 26, 0.9), rgba(244, 180, 26, 0.7));
    color: #040d16;
    border: none;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-gesa:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(244, 180, 26, 0.2);
    color: #000;
}

.btn-gesa-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--gesa-text);
    font-weight: 500;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-gesa-outline:hover {
    border-color: var(--gesa-yellow);
    color: var(--gesa-yellow);
}

/* Tarjetas (Servicios/Valores/CTA) */
.card-gesa {
    background: var(--gesa-card-bg);
    border: 1px solid var(--gesa-border);
    backdrop-filter: blur(5px);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: transform 0.3s, border-color 0.3s;
}

.card-gesa:hover {
    transform: translateY(-5px);
    border-color: rgba(244, 180, 26, 0.4);
}

.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--gesa-yellow);
}

/* Listas de servicios */
.service-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.service-list li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--gesa-muted);
}

.service-list li i {
    margin-top: 0.2rem;
    color: var(--gesa-yellow);
}

/* Footer */
footer {
    background-color: #020812;
    border-top: 1px solid var(--gesa-border);
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
}

.footer-link {
    color: var(--gesa-muted);
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--gesa-yellow);
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--gesa-muted);
}

.contact-info-item i {
    color: var(--gesa-yellow);
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 140px;
        padding-bottom: 80px;
    }

    .card-gesa {
        padding: 2rem 1.5rem;
    }
}