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

:root {
    --gold: #D4AF37;
    --gold-bright: #FFD700;
    --black: #050505;
    --deep-black: #000000;
    --white: #FFFFFF;
    --gray-bg: rgba(255, 255, 255, 0.03);
    --gold-glow: rgba(212, 175, 55, 0.4);
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #AF8F2C 100%);
    --glass: rgba(5, 5, 5, 0.75);
    --border: rgba(212, 175, 55, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--deep-black);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

h1,
h2,
h3,
.brand {
    font-family: 'Cinzel', serif;
    letter-spacing: 6px;
    text-transform: uppercase;
}

/* --- NAVIGATION --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 40px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    backdrop-filter: blur(15px);
    transition: 0.5s;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo img {
    height: 45px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.brand-name {
    font-size: 1.4rem;
    color: var(--gold);
    font-weight: 900;
    letter-spacing: 8px;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    white-space: nowrap;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: 0.4s;
}

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

.nav-links a.nav-cta {
    background: var(--gold);
    color: var(--black);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    transition: 0.3s;
}

.nav-links a.nav-cta:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.nav-links a:hover::after {
    width: 100%;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/img/hero.jpg') center/cover no-repeat;
    filter: brightness(0.65) contrast(1.15) saturate(1.1);
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.12); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.5) 80%),
        linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1200px;
    padding: 0 20px;
}

.hero-tagline {
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 12px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(30px);
    animation: luxuryFadeIn 1.2s forwards 0.5s;
}

.hero-tagline::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 20px auto 0;
    opacity: 0.6;
}

h1.sovereign-title {
    font-size: 6.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 40px;
    color: var(--white);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 1);
    opacity: 0;
    transform: translateY(40px);
    animation: luxuryFadeIn 1.2s forwards 0.8s;
}

.hero-description {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(40px);
    animation: luxuryFadeIn 1.2s forwards 1.1s;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: luxuryFadeIn 1.5s forwards 1.4s;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    animation: luxuryFadeIn 1.5s forwards 2s;
}

.hero-scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: rgba(255,255,255,0.4);
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.hero-scroll a:hover { color: var(--gold); }

.hero-scroll svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* --- SOVEREIGN BUTTONS --- */
.cta-button {
    display: inline-block;
    padding: 25px 60px;
    border: 1px solid var(--gold);
    color: var(--white);
    text-decoration: none;
    font-family: 'Cinzel';
    letter-spacing: 5px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    transition: 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.cta-secondary {
    display: inline-block;
    padding: 25px 50px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-family: 'Cinzel';
    letter-spacing: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: 0.4s ease;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(5px);
}

.cta-secondary:hover {
    color: var(--gold);
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(212, 175, 55, 0.05);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: var(--gold);
    color: var(--black);
    box-shadow: 0 0 50px var(--gold-glow), 0 0 20px rgba(212, 175, 55, 0.6);
    transform: scale(1.05) translateY(-5px);
    border-color: var(--gold-bright);
}

/* --- SECTIONS --- */
.section-wrapper {
    padding: 180px 10%;
    background-color: var(--deep-black);
    position: relative;
}

.glass-card {
    background: var(--glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(30px);
    padding: 100px;
    border-radius: 60px;
    box-shadow: 0 60px 120px rgba(0, 0, 0, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

h2.section-title {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 25px;
    text-align: center;
    font-weight: 900;
    letter-spacing: 12px;
}

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: rgba(212, 175, 55, 0.6);
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 30px;
    display: block;
}

/* --- SERVICES --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-top: 100px;
}

.service-card {
    position: relative;
    height: 600px;
    background: var(--black);
    border: 1px solid var(--border);
    border-radius: 40px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 60px;
}

.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.service-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3) grayscale(0.4);
    transition: 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.95) 100%);
    z-index: 2;
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), 0 0 30px var(--gold-glow);
}

.service-card:hover .service-card-bg img {
    transform: scale(1.05);
    filter: brightness(0.5) grayscale(0);
}

.prestige-indicator {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 3;
    font-family: 'Inter';
    font-size: 0.7rem;
    color: var(--gold);
    letter-spacing: 4px;
    font-weight: 700;
    padding: 8px 15px;
    border: 1px solid var(--gold);
    border-radius: 50px;
    text-transform: uppercase;
}

.service-content {
    position: relative;
    z-index: 3;
}

.service-icon-god {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 20px;
    display: inline-block;
    filter: drop-shadow(0 0 10px var(--gold-glow));
}

.service-card h3 {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 6px;
    font-family: 'Cinzel';
    line-height: 1.2;
}

.service-card p {
    color: rgba(255, b, 255, 0.5);
    font-size: 1.15rem;
    line-height: 1.8;
    text-align: justify;
    max-width: 90%;
}

.section-description-premium {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    max-width: 950px;
    margin: 40px auto 0;
    text-align: center;
    font-weight: 300;
}

.operational-depth {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.depth-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 2px;
}

.depth-value {
    color: var(--gold);
    font-family: 'Cinzel';
    font-weight: 900;
    letter-spacing: 2px;
}

/* --- PROGRAMS SECTION --- */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 80px;
}

.program-card {
    position: relative;
    height: 450px;
    background: var(--black);
    border: 1px solid var(--border);
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
}

.program-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.program-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.25) contrast(1.1);
    transition: 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.program-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 2;
}

.program-card:hover {
    transform: scale(1.02);
    border-color: var(--gold);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
}

.program-card:hover .program-card-bg img {
    transform: scale(1.1);
    filter: brightness(0.4) contrast(1.2);
}

.program-ranking {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 3;
    font-size: 0.6rem;
    letter-spacing: 4px;
    color: var(--gold);
    font-weight: 900;
    border-left: 2px solid var(--gold);
    padding-left: 15px;
}

.program-content {
    position: relative;
    z-index: 3;
}

.program-card h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 15px;
    letter-spacing: 4px;
    font-family: 'Cinzel';
    line-height: 1.4;
}

.program-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 25px;
    line-height: 1.6;
}

.program-cta {
    margin-top: 25px;
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    transition: 0.3s;
    text-transform: uppercase;
    cursor: pointer;
}

.program-cta:hover {
    background: var(--gold);
    color: var(--deep-black);
    box-shadow: 0 0 15px var(--gold-glow);
}

.program-curriculum {
    list-style: none;
    margin-bottom: 30px;
    padding-left: 0;
}

.program-curriculum a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}
.program-curriculum a:hover {
    color: var(--gold);
}

.program-curriculum li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
}

.program-metrics {
    display: flex;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.metric-value {
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 1px;
}

/* --- AUTHORITY BOARD (ELITE COUNCIL) --- */
.council-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 80px;
}

.council-card {
    position: relative;
    width: 420px;
    background: #0a0a0a;
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 60px 40px;
    text-align: center;
    transition: 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.council-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.council-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.2) contrast(1.1);
    transition: 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.council-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 20%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 2;
}

.council-card:hover .council-card-bg img {
    transform: scale(1.1);
    filter: brightness(0.3) contrast(1.1);
}

.council-card:hover {
    transform: translateY(-20px);
    border-color: var(--gold);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), 0 0 20px var(--gold-glow);
}

.portrait-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
}

.prestigious-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border: 2px solid var(--gold);
    border-radius: 50%;
    opacity: 0.3;
}

.portrait-container {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--gold);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 5;
}

.portrait-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.2) brightness(0.9);
    transition: 0.8s;
}

#nelson-portrait {
    object-position: center 10%;
    transform: scale(1.05);
}

#marco-portrait {
    object-position: center 10%;
    transform: scale(1.25);
    /* Zoomed in to match Nelson's shoulder framing */
}

.council-card:hover #nelson-portrait {
    transform: scale(1.1);
}

.council-card:hover #marco-portrait {
    transform: scale(1.3);
}

.council-card:hover .portrait-container img {
    filter: grayscale(0) brightness(1.1);
    /* Individual scales handled above per ID for zoom matching */
}

.executive-plaque {
    width: 100%;
    max-width: 320px;
    padding: 20px 15px;
    margin: 0 auto 25px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(212, 175, 55, 0.05) 100%);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10;
}

.executive-plaque::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.3), transparent);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.council-card h3 {
    font-size: 1.3rem;
    color: var(--gold);
    font-family: 'Cinzel', serif;
    margin-bottom: 8px;
    letter-spacing: 2px;
    font-weight: 700;
}

.council-role {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 3px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0;
}

.council-contact {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
}

.council-contact a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.2rem;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.council-contact a:hover {
    color: var(--gold);
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 8px var(--gold-glow));
}

.council-badge {
    display: inline-block;
    padding: 6px 15px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 50px;
    font-size: 0.65rem;
    color: rgba(212, 175, 55, 0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
}

/* AUTHORITY SEALS / SIGNATURES */
.authority-seals {
    display: flex;
    justify-content: center;
    gap: 150px;
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.seal-container {
    text-align: center;
    position: relative;
}

.signature {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 10px;
    letter-spacing: 1px;
    opacity: 0.8;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.2));
}

.seal-role {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 700;
}

.seal-line {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 15px auto 0;
    opacity: 0.3;
}

@media (max-width: 768px) {
    .authority-seals {
        flex-direction: column;
        gap: 60px;
    }
}

.glint-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.1), transparent);
    transform: skewX(-25deg);
    animation: glint-move 8s infinite;
}

@keyframes glint-move {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* --- METHODOLOGY REDESIGN --- */
.method-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 100px 0;
}

.method-node {
    position: relative;
    height: 480px;
    background: var(--black);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
}

.method-node-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: 1s ease;
}

.method-node-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) grayscale(0.2);
    transition: 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.method-node-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 2;
}

.method-node:hover {
    transform: translateY(-15px);
    border-color: var(--gold);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 20px var(--gold-glow);
}

.method-node:hover .method-node-bg img {
    transform: scale(1.1);
    filter: brightness(0.7) grayscale(0);
}

.node-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.node-number {
    display: block;
    font-size: 3.5rem;
    font-family: 'Cinzel';
    color: var(--gold);
    margin-bottom: 20px;
    text-shadow: 0 0 30px var(--gold-glow);
}

.node-title {
    font-family: 'Cinzel';
    font-size: 1.1rem;
    color: var(--white);
    letter-spacing: 5px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 30px;
}

.discover-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.5s;
    font-family: 'Inter';
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 700;
    border-top: 1px solid var(--border);
    padding-top: 15px;
    width: 100%;
}

.method-node:hover .discover-btn {
    opacity: 1;
    transform: translateY(0);
}

/* --- MODAL SYSTEM --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.modal-container {
    width: 90%;
    max-width: 1100px;
    background: #080808;
    border: 1px solid var(--gold);
    border-radius: 40px;
    padding: 80px;
    position: relative;
    transform: scale(0.9) translateY(40px);
    transition: 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 1);
}

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

.close-modal {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 2rem;
    color: var(--gold);
    cursor: pointer;
    transition: 0.3s;
}

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

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
}

.modal-img {
    border-radius: 20px;
    border: 1px solid var(--border);
    width: 100%;
    height: 500px;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
}

.modal-text-content h2 {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 30px;
    letter-spacing: 10px;
}

.modal-text-content p {
    color: rgba(255, b, 255, 0.6);
    line-height: 2.2;
    font-size: 1.2rem;
    text-align: justify;
}

/* --- REFINED CTA BUTTONS --- */
.cta-button {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(5, 5, 5, 0.3) 50%, rgba(212, 175, 55, 0.1) 100%);
    position: relative;
    z-index: 1;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNkNDFhMzciIGZpbGwtb3BhY2l0eT0iMC4wNSI+PHBhdGggZD0iTTAgNDBoNDB2LTQwSDB2NDB6bTIwLTIwbDIwIDIwSDBMMjAgMjB6TTIwIDBMMCAyMGgyMEwwIDIwek00MCAyMEwyMCAwaDIwbC0yMCAyMHoiLz48L2c+PC9nPjwvc3ZnPg==');
    opacity: 0.3;
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* --- METHODOLOGY REFACTOR --- */
.method-intro {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    max-width: 900px;
    margin: 0 auto 100px;
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.8;
}

.method-details {
    margin-top: 120px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.detail-title {
    font-family: 'Cinzel';
    color: var(--gold);
    margin-bottom: 30px;
    font-size: 2.2rem;
    font-weight: 900;
}

.detail-text {
    color: rgba(255, 255, 255, 0.5);
    text-align: justify;
    line-height: 2.2;
    font-size: 1.15rem;
}

/* --- GOLD GLINT ANIMATION --- */
@keyframes glint {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.glint-text {
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.8), transparent);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: glint 3s infinite linear;
}

/* --- VISIBILITY & ANIMATION --- */
@keyframes luxuryFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* --- FOOTER --- */
footer {
    padding: 150px 10%;
    background: var(--deep-black);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    display: flex;
    justify-content: space-between;
}

.footer-brand h2 {
    color: var(--gold);
    font-size: 3rem;
    margin-bottom: 30px;
    letter-spacing: 12px;
}

.footer-copy {
    color: #444;
    font-size: 0.9rem;
    letter-spacing: 3px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-contact-block {
    text-align: left;
    /* Internal alignment */
}

.footer-contact-block a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.footer-contact-block a:hover p {
    color: var(--white);
    filter: drop-shadow(0 0 5px var(--gold-glow));
}

.contact-info p {
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 12px;
    font-size: 0.95rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.contact-info p i {
    color: var(--gold);
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.footer-socials {
    margin-top: 30px;
    display: flex;
    gap: 25px;
    justify-content: flex-end;
}

/* --- RESPONSIVE COMPLETO --- */

/* ── 1440px+: pantallas grandes (tu monitor) ── */
@media (max-width: 1440px) {
    h1.sovereign-title {
        font-size: 5.5rem;
    }

    .glass-card {
        padding: 80px;
    }

    h2.section-title {
        font-size: 3.2rem;
    }
}

/* ── 1200px: laptops 13"/14" comunes ── */
@media (max-width: 1200px) {
    h1.sovereign-title {
        font-size: 4rem;
    }

    .glass-card {
        padding: 60px;
    }

    h2.section-title {
        font-size: 2.8rem;
        letter-spacing: 8px;
    }

    .programs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .services-grid {
        gap: 30px;
    }

    .service-card {
        height: 500px;
    }

    .council-card {
        width: 360px;
    }

    footer {
        padding: 100px 8%;
    }
}

/* ── 992px: tablets y laptops pequeños ── */
@media (max-width: 992px) {

    /* Nav: ocultar links (menú mobile pendiente) */
    .nav-links {
        display: none;
    }

    nav {
        padding: 25px 6%;
    }

    /* Hero */
    h1.sovereign-title {
        font-size: 3rem;
        line-height: 1.1;
    }

    .hero-description {
        font-size: 1.1rem;
        max-width: 90%;
    }

    /* Secciones */
    .section-wrapper {
        padding: 100px 5%;
    }

    h2.section-title {
        font-size: 2.2rem;
        letter-spacing: 6px;
    }

    /* Grids → columna única */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .method-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .method-details {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    /* Cards de fundadores */
    .council-card {
        width: 100%;
        max-width: 420px;
    }

    /* Footer */
    footer {
        flex-direction: column;
        gap: 60px;
        padding: 80px 6%;
    }

    .contact-info {
        align-items: flex-start;
    }

    .footer-socials {
        justify-content: flex-start;
    }

    /* Glass card */
    .glass-card {
        padding: 50px 35px;
        border-radius: 40px;
    }
}

/* ── 768px: tablets portrait ── */
@media (max-width: 768px) {
    h1.sovereign-title {
        font-size: 2.6rem;
    }

    .section-wrapper {
        padding: 80px 5%;
    }

    .method-grid {
        grid-template-columns: 1fr;
    }

    .method-node {
        height: 250px;
    }

    .service-card {
        height: 420px;
        padding: 40px;
    }

    .program-card {
        height: 380px;
    }

    h2.section-title {
        font-size: 1.9rem;
        letter-spacing: 5px;
    }

    .detail-title {
        font-size: 1.7rem;
    }
}

/* ── 600px: móviles grandes ── */
@media (max-width: 600px) {
    h1.sovereign-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .hero-tagline {
        font-size: 0.75rem;
        letter-spacing: 6px;
    }

    .hero-description {
        font-size: 1rem;
    }

    .cta-button {
        padding: 18px 30px;
        font-size: 0.75rem;
        letter-spacing: 3px;
    }

    .glass-card {
        padding: 35px 20px;
        border-radius: 25px;
    }

    h2.section-title {
        font-size: 1.5rem;
        letter-spacing: 4px;
    }

    .section-subtitle {
        font-size: 0.8rem;
        letter-spacing: 5px;
    }

    .service-card {
        height: 380px;
        padding: 30px;
        border-radius: 25px;
    }

    .program-card {
        height: 350px;
        padding: 25px;
        border-radius: 20px;
    }

    .council-card {
        padding: 40px 25px;
        border-radius: 25px;
    }

    .portrait-wrapper {
        width: 150px;
        height: 150px;
    }

    footer {
        padding: 60px 5%;
    }

    .footer-brand h2 {
        font-size: 2rem;
        letter-spacing: 8px;
    }
}

/* CONTACT MODAL STYLING */
.contact-modal-card {
    background: #0a0a0a;
    width: 90%;
    max-width: 600px;
    padding: 60px 40px;
    border-radius: 40px;
    position: relative;
    border: 1px solid var(--gold);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.9), 0 0 30px var(--gold-glow);
    animation: modalSlide 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-top: 15px;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    color: var(--gold);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 15px 20px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.4s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 15px var(--gold-glow);
}

.form-submit {
    width: 100%;
    margin-top: 10px;
    cursor: pointer;
}

.form-success-msg {
    text-align: center;
    padding: 40px 0;
}

.form-success-msg i {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.form-success-msg h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 1.8rem;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.form-success-msg p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .contact-modal-card {
        padding: 40px 25px;
    }
}

.footer-socials a:hover {
    color: var(--gold) !important;
    transform: translateY(-3px);
    filter: drop-shadow(0 0 8px var(--gold-glow));
}

/* ══════════════════════════════════════════════
   #5 — TYPEWRITER / LETTER REVEAL ANIMATION
   ══════════════════════════════════════════════ */
.typewriter {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--gold);
    animation: typewriterReveal 2.5s steps(40, end) forwards,
               typewriterBlink 0.6s step-end infinite;
    width: 0;
}
.typewriter.revealed {
    width: 100%;
}
@keyframes typewriterReveal {
    from { width: 0; }
    to { width: 100%; }
}
@keyframes typewriterBlink {
    0%, 100% { border-color: var(--gold); }
    50% { border-color: transparent; }
}
/* Letter-by-letter reveal for split text */
.letter-reveal .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) rotateX(-40deg);
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.letter-reveal .letter.space {
    width: 0.3em;
}
.letter-reveal.active .letter {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

/* ══════════════════════════════════════════════
   #6 — GLASSMORPHISM UPGRADE
   ══════════════════════════════════════════════ */
/* Enhanced service cards */
.service-card {
    background: linear-gradient(135deg, rgba(10,10,10,0.9) 0%, rgba(20,20,20,0.7) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212,175,55,0.12);
}
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(212,175,55,0.08) 0%, transparent 50%, rgba(212,175,55,0.04) 100%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.service-card:hover::after {
    opacity: 1;
}
.service-card:hover {
    border-color: rgba(212,175,55,0.5);
    box-shadow: 0 40px 80px rgba(0,0,0,0.8),
                0 0 40px rgba(212,175,55,0.15),
                inset 0 1px 0 rgba(212,175,55,0.2);
}

/* Enhanced method nodes */
.method-node {
    background: linear-gradient(180deg, rgba(10,10,10,0.85) 0%, rgba(5,5,5,0.95) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212,175,55,0.1);
}
.method-node::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(212,175,55,0.15) 0%, transparent 40%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.method-node:hover::after {
    opacity: 1;
}
.method-node:hover {
    border-color: rgba(212,175,55,0.4);
    box-shadow: 0 30px 60px rgba(0,0,0,0.7),
                0 0 30px rgba(212,175,55,0.12);
}

/* Enhanced program cards */
.program-card {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}
.program-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(212,175,55,0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.program-card:hover::after {
    opacity: 1;
}
.program-card:hover {
    border-color: rgba(212,175,55,0.4);
    box-shadow: 0 40px 80px rgba(0,0,0,0.8),
                0 0 35px rgba(212,175,55,0.12),
                inset 0 1px 0 rgba(212,175,55,0.15);
}

/* Glass glow border on glass-card */
.glass-card {
    border: 1px solid rgba(212,175,55,0.15);
    box-shadow: 0 60px 120px rgba(0,0,0,1),
                inset 0 1px 0 rgba(212,175,55,0.1),
                0 0 60px rgba(212,175,55,0.05);
}

/* Council cards */
.council-card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.council-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(212,175,55,0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.council-card:hover::after {
    opacity: 1;
}

/* --- DOWNLOADS SECTION --- */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.download-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 24px;
    text-align: center;
    position: relative;
    transition: all 0.5s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.download-cover {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.download-cover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(10,10,10,0.95), transparent);
}

.download-body {
    padding: 30px 40px 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    opacity: 0.6;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.download-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6),
                0 0 40px rgba(212, 175, 55, 0.08);
}

.download-card:hover::before {
    opacity: 1;
}

.download-card:hover .download-cover {
    filter: brightness(1.1);
}

.download-tag {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(212, 175, 55, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 5px 16px;
    margin-bottom: 20px;
}

.download-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    color: var(--gold);
    letter-spacing: 4px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.download-card p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-bottom: 30px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.4s ease;
    margin-top: auto;
    cursor: pointer;
}

.download-btn:hover {
    background: var(--gold);
    color: var(--deep-black);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

@media (max-width: 768px) {
    .downloads-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .download-card .download-body {
        padding: 24px 24px 30px;
    }
    .download-cover {
        height: 160px;
    }
}