:root {
    --bg-dark: #020617;
    --bg-darker: #020015;
    --primary: #22c55e;
    --primary-alt: #06b6d4;
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --card-bg: #020617;
    --card-border: rgba(148, 163, 184, 0.18);
    --shadow-soft: 0 30px 80px rgba(15, 23, 42, 0.9);
    --radius-lg: 18px;
    --radius-pill: 999px;
    --hero-gradient: radial-gradient(circle at top left, #22c55e33, transparent 60%),
                     radial-gradient(circle at top right, #0ea5e933, transparent 60%),
                     linear-gradient(160deg, #020617 0%, #020015 55%, #020617 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.theme-dark {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
}

.container {
    width: 92%;
    max-width: 1180px;
    margin: 0 auto;
}

/* HEADER */

.site-header {
    background: #020617dd;
    backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
    position: sticky;
    top: 0;
    z-index: 20;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 0%, #ffffff, #22c55e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #020617;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.7);
}

.brand-title {
    font-size: 20px;
    letter-spacing: 0.08em;
}

.brand-tagline {
    font-size: 12px;
    color: var(--text-muted);
}

.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 18px;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    transition: background 0.15s ease, color 0.15s ease;
}

.main-nav a:hover {
    background: rgba(148, 163, 184, 0.2);
    color: #f9fafb;
}

/* MAIN GRADIENT */

.main-gradient {
    min-height: 100vh;
    background: var(--hero-gradient);
    padding: 40px 0 60px;
}

/* HERO */

.hero {
    position: relative;
    margin-top: 10px;
    margin-bottom: 30px;
}

.hero-overlay-card {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 32px 34px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.88));
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: var(--shadow-soft);
}

.hero-overlay-card h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 14px;
    color: #e5e7eb;
    margin-bottom: 12px;
}

.hero-text {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    max-width: 540px;
}

.hero-image-blur {
    position: absolute;
    right: 0;
    top: 0;
    width: 52%;
    height: 100%;
    border-radius: var(--radius-lg);
    background-image: url("https://images.pexels.com/photos/439391/pexels-photo-439391.jpeg");
    background-size: cover;
    background-position: center;
    filter: blur(2px) brightness(0.7);
    opacity: 0.7;
    overflow: hidden;
}

/* BUTTON */

.btn-gradient {
    display: inline-block;
    padding: 11px 26px;
    border-radius: var(--radius-pill);
    background-image: linear-gradient(135deg, #22c55e, #06b6d4);
    color: #0b1120;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 18px 45px rgba(34, 197, 94, 0.7);
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.btn-gradient:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 20px 55px rgba(34, 197, 94, 0.9);
}

/* CARDS SOMBRES */

.card-dark {
    background: radial-gradient(circle at top left, #0f172a, #020617);
    border-radius: var(--radius-lg);
    padding: 24px 26px;
    border: 1px solid var(--card-border);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.85);
    margin-bottom: 24px;
}

.card-dark h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

/* PERSON BLOCK */

.person-block {
    display: flex;
    align-items: center;
    gap: 16px;
}

.person-avatar {
    width: 70px;
    height: 70px;
    border-radius: 24px;
    background: linear-gradient(145deg, #22c55e, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 22px;
    color: #020617;
    box-shadow: 0 16px 45px rgba(34, 197, 94, 0.9);
}

.person-name {
    font-weight: 600;
    margin-bottom: 2px;
}

.person-role {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.person-contact {
    font-size: 13px;
    color: #e5e7eb;
}

/* LEGAL GRID */

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
    font-size: 13px;
}

.legal-grid p span {
    display: inline-block;
    width: 130px;
    color: var(--text-muted);
}

/* FOOTER */

.site-footer {
    background: transparent;
    color: var(--text-muted);
    text-align: center;
    padding: 18px 0 10px;
    font-size: 12px;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .hero {
        padding-top: 8px;
    }
    .hero-image-blur {
        display: none;
    }
    .hero-overlay-card {
        max-width: 100%;
    }
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
