/* ============================================
   MANUEL MARRERO CRUZ — OFFICIAL PLATFORM
   Premium Statesman Design System
   ============================================ */

:root {
    --navy-900: #050d1c;
    --navy-800: #0a1628;
    --navy-700: #0e1f3a;
    --navy-600: #15294d;
    --navy-500: #1e3764;
    --red-700: #8b0000;
    --red-600: #a01820;
    --red-500: #b91c1c;
    --gold: #c9a961;
    --gold-dark: #a68a4a;
    --silver: #cfd4dc;
    --charcoal: #1a1a1a;
    --graphite: #2a2e36;
    --neutral-50: #f8f7f4;
    --neutral-100: #f1efe9;
    --neutral-200: #e5e2da;
    --neutral-300: #c7c2b5;
    --ink: #1b2234;
    --muted: #5a6375;

    --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
    --font-display: "Playfair Display", Georgia, serif;
    --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;

    --shadow-sm: 0 2px 10px rgba(5, 13, 28, 0.06);
    --shadow-md: 0 18px 45px rgba(5, 13, 28, 0.12);
    --shadow-lg: 0 40px 90px rgba(5, 13, 28, 0.22);

    --radius-sm: 4px;
    --radius-md: 10px;
    --radius-lg: 22px;

    --ease-smooth: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--neutral-50);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease-smooth); }

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--navy-800);
    line-height: 1.12;
}

h1 { font-size: clamp(2.6rem, 5.4vw, 4.8rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }

p { color: var(--muted); }

.container {
    width: min(1280px, 92%);
    margin: 0 auto;
}

.container-wide {
    width: min(1480px, 94%);
    margin: 0 auto;
}

/* ---------- EYEBROW / SECTION LABEL ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--red-600);
    font-weight: 600;
    margin-bottom: 24px;
}
.eyebrow::before {
    content: "";
    width: 44px;
    height: 1px;
    background: var(--red-600);
}
.eyebrow.on-dark { color: var(--gold); }
.eyebrow.on-dark::before { background: var(--gold); }

/* ============================================
   NAVIGATION
   ============================================ */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 22px 0;
    background: transparent;
    transition: all 0.45s var(--ease-smooth);
}

.site-nav.scrolled,
.site-nav.solid {
    background: rgba(5, 13, 28, 0.96);
    backdrop-filter: blur(22px);
    padding: 14px 0;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1480px, 94%);
    margin: 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red-600), var(--navy-700));
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    color: #fff;
    font-weight: 600;
    font-size: 1.15rem;
    border: 1px solid rgba(201, 169, 97, 0.55);
    letter-spacing: 0.02em;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text .name {
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}
.brand-text .title {
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
    position: relative;
    padding: 6px 0;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
    background: var(--red-600);
    color: #fff !important;
    padding: 11px 22px !important;
    border-radius: 2px;
    letter-spacing: 0.18em !important;
    transition: all 0.35s var(--ease-smooth);
}
.nav-cta:hover { background: var(--gold); color: var(--navy-800) !important; }
.nav-cta::after { display: none; }

.nav-toggle {
    display: none;
    width: 38px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 0;
}
.nav-toggle span {
    height: 2px;
    background: #fff;
    width: 100%;
    transition: all 0.35s var(--ease-smooth);
    transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 1024px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(360px, 88%);
        height: 100vh;
        background: var(--navy-900);
        flex-direction: column;
        padding: 120px 40px 40px;
        gap: 22px;
        align-items: flex-start;
        transition: right 0.5s var(--ease-smooth);
        border-left: 1px solid rgba(201, 169, 97, 0.2);
    }
    .nav-links.open { right: 0; }
    .nav-links a { font-size: 0.95rem; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    padding-top: 110px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 28%;
    filter: grayscale(15%) contrast(1.08);
    transform: scale(1.06);
    animation: slowZoom 14s ease-out forwards;
}

@keyframes slowZoom {
    to { transform: scale(1); }
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(5, 13, 28, 0.92) 0%, rgba(5, 13, 28, 0.72) 45%, rgba(5, 13, 28, 0.35) 100%),
        radial-gradient(ellipse at bottom, rgba(139, 0, 0, 0.25), transparent 60%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.hero-flag {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 8px 18px;
    background: rgba(201, 169, 97, 0.14);
    border: 1px solid rgba(201, 169, 97, 0.35);
    border-radius: 40px;
    font-size: 0.72rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 28px;
    font-weight: 500;
}

.hero-flag .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red-500);
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.25);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.25); }
    50% { box-shadow: 0 0 0 8px rgba(185, 28, 28, 0); }
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.8rem, 6.2vw, 5.4rem);
    line-height: 1.02;
    font-weight: 500;
    margin-bottom: 24px;
}
.hero h1 .accent {
    display: block;
    color: var(--gold);
    font-style: italic;
    font-weight: 400;
}

.hero-tag {
    font-size: clamp(1rem, 1.6vw, 1.22rem);
    color: rgba(255, 255, 255, 0.78);
    max-width: 620px;
    margin-bottom: 44px;
    line-height: 1.6;
    border-left: 2px solid var(--gold);
    padding-left: 22px;
}

.hero-cta-row {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 34px;
    font-size: 0.82rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
    font-family: var(--font-sans);
}

.btn-primary {
    background: var(--red-600);
    color: #fff;
}
.btn-primary:hover { background: var(--gold); color: var(--navy-800); transform: translateY(-2px); }

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover { background: #fff; color: var(--navy-800); border-color: #fff; }

.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { background: var(--red-600); }

.btn-arrow { transition: transform 0.35s var(--ease-smooth); }
.btn:hover .btn-arrow { transform: translateX(6px); }

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.7rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    writing-mode: vertical-lr;
    display: flex;
    align-items: center;
    gap: 14px;
}
.hero-scroll::after {
    content: "";
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollLine 2.2s infinite;
}
@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Inner page hero */
.hero-inner {
    min-height: 70vh;
    padding-top: 150px;
    padding-bottom: 80px;
}
.hero-inner h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: 110px 0;
    position: relative;
}
section.tight { padding: 80px 0; }

.section-head {
    max-width: 760px;
    margin-bottom: 72px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 18px; font-size: 1.08rem; }

/* ============================================
   COUNTERS / STATS
   ============================================ */
.counter-strip {
    background: var(--navy-900);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.counter-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 10% 10%, rgba(201, 169, 97, 0.12), transparent 40%),
        radial-gradient(ellipse at 90% 90%, rgba(185, 28, 28, 0.15), transparent 45%);
}
.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    position: relative;
    z-index: 1;
}
.counter-item {
    border-left: 1px solid rgba(201, 169, 97, 0.3);
    padding-left: 26px;
}
.counter-item .num {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 4.4vw, 3.8rem);
    color: var(--gold);
    font-weight: 500;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}
.counter-item .label {
    font-size: 0.78rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}
.counter-item .sublabel {
    display: block;
    margin-top: 6px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 0;
    text-transform: none;
}

@media (max-width: 900px) {
    .counter-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   PILLARS / PRIORITIES
   ============================================ */
.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
    border-top: 1px solid var(--neutral-200);
}
.pillar {
    padding: 46px 36px;
    border-right: 1px solid var(--neutral-200);
    border-bottom: 1px solid var(--neutral-200);
    background: #fff;
    transition: all 0.5s var(--ease-smooth);
    position: relative;
    cursor: default;
}
.pillar:last-child { border-right: 0; }
.pillar:hover {
    background: var(--navy-900);
    transform: translateY(-6px);
    z-index: 2;
    box-shadow: var(--shadow-lg);
}
.pillar:hover .pillar-num,
.pillar:hover h3,
.pillar:hover p { color: #fff; }
.pillar:hover .pillar-num { color: var(--gold); }

.pillar-num {
    font-family: var(--font-display);
    font-size: 0.92rem;
    color: var(--red-600);
    letter-spacing: 0.24em;
    margin-bottom: 32px;
    font-weight: 600;
    transition: color 0.4s var(--ease-smooth);
}
.pillar h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
    transition: color 0.4s var(--ease-smooth);
}
.pillar p { font-size: 0.95rem; transition: color 0.4s var(--ease-smooth); }

/* ============================================
   ASYMMETRIC INTRO (Leadership message)
   ============================================ */
.intro-asym {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 90px;
    align-items: center;
}
.intro-image {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
}
.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    transition: transform 1.1s var(--ease-smooth);
}
.intro-image:hover img { transform: scale(1.04); }
.intro-image::before {
    content: "";
    position: absolute;
    top: 20px; left: -20px;
    width: 100%; height: 100%;
    border: 2px solid var(--gold);
    z-index: -1;
}
.intro-quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.3rem, 1.8vw, 1.55rem);
    color: var(--navy-700);
    line-height: 1.5;
    padding: 32px 0;
    border-top: 1px solid var(--neutral-200);
    border-bottom: 1px solid var(--neutral-200);
    margin: 36px 0;
}
.intro-sig {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--navy-800);
    font-weight: 500;
    font-style: italic;
}
.intro-sig small {
    display: block;
    font-family: var(--font-sans);
    font-style: normal;
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--red-600);
    margin-top: 6px;
    font-weight: 600;
}

@media (max-width: 900px) {
    .intro-asym { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================
   LATEST UPDATES
   ============================================ */
.updates {
    background: var(--neutral-100);
}
.updates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.update-card {
    background: #fff;
    overflow: hidden;
    transition: all 0.5s var(--ease-smooth);
}
.update-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.update-thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}
.update-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transition: transform 1s var(--ease-smooth);
}
.update-card:hover .update-thumb img { transform: scale(1.08); }
.update-body { padding: 30px 28px; }
.update-meta {
    display: flex;
    gap: 14px;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red-600);
    margin-bottom: 14px;
    font-weight: 600;
}
.update-meta span:not(:first-child) { color: var(--muted); }
.update-card h3 { font-size: 1.18rem; line-height: 1.35; margin-bottom: 10px; }
.update-card p { font-size: 0.92rem; }

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

/* ============================================
   TIMELINE (Journey)
   ============================================ */
.timeline {
    position: relative;
    padding: 40px 0;
    max-width: 1080px;
    margin: 0 auto;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--gold) 10%, var(--gold) 90%, transparent);
    transform: translateX(-50%);
}
.tl-item {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 70px;
    position: relative;
}
.tl-item:last-child { margin-bottom: 0; }

.tl-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--red-600);
    border: 3px solid var(--neutral-50);
    box-shadow: 0 0 0 6px rgba(201, 169, 97, 0.25);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.tl-year {
    position: absolute;
    top: -34px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: 0.82rem;
    letter-spacing: 0.28em;
    color: var(--gold-dark);
    font-weight: 600;
    white-space: nowrap;
}

.tl-card {
    background: #fff;
    padding: 34px 32px;
    box-shadow: var(--shadow-sm);
    border-top: 2px solid var(--red-600);
    transition: all 0.5s var(--ease-smooth);
}
.tl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tl-card .tl-era {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--navy-800);
    margin-bottom: 8px;
}
.tl-card .tl-sub {
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--red-600);
    font-weight: 600;
    margin-bottom: 14px;
    display: block;
}
.tl-card p { font-size: 0.95rem; }

.tl-item:nth-child(even) .tl-card { grid-column: 3; }
.tl-item:nth-child(even) .tl-empty { grid-column: 1; }

@media (max-width: 800px) {
    .timeline::before { left: 16px; }
    .tl-item { grid-template-columns: 32px 1fr; gap: 20px; margin-bottom: 50px; }
    .tl-dot { margin: 0; }
    .tl-year { left: 0; transform: none; top: -26px; font-size: 0.72rem; }
    .tl-item:nth-child(even) .tl-card { grid-column: 2; }
    .tl-empty { display: none; }
}

/* ============================================
   SPLIT STORY
   ============================================ */
.split-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}
.split-story .media {
    aspect-ratio: 4/3.4;
    overflow: hidden;
}
.split-story .media img {
    width: 100%; height: 100%; object-fit: cover; object-position: center 25%;
}
.split-story .body {
    padding: 80px 70px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.split-story.flip .media { order: 2; }
.split-story.dark .body { background: var(--navy-900); color: #fff; }
.split-story.dark .body h2, .split-story.dark .body h3 { color: #fff; }
.split-story.dark .body p { color: rgba(255, 255, 255, 0.75); }

@media (max-width: 900px) {
    .split-story { grid-template-columns: 1fr; }
    .split-story.flip .media { order: 0; }
    .split-story .body { padding: 50px 30px; }
}

/* ============================================
   ACHIEVEMENT CARDS
   ============================================ */
.achieve-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}
.achieve-card {
    background: #fff;
    padding: 44px 34px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease-smooth);
    border: 1px solid var(--neutral-200);
}
.achieve-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 0;
    height: 3px;
    background: var(--red-600);
    transition: width 0.5s var(--ease-smooth);
}
.achieve-card:hover::before { width: 100%; }
.achieve-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.achieve-icon {
    width: 64px;
    height: 64px;
    border: 1px solid var(--gold);
    display: grid;
    place-items: center;
    margin-bottom: 28px;
    color: var(--red-600);
    transition: all 0.4s var(--ease-smooth);
}
.achieve-icon svg { width: 28px; height: 28px; }
.achieve-card:hover .achieve-icon { background: var(--navy-900); border-color: var(--navy-900); color: var(--gold); }
.achieve-card h3 { font-size: 1.24rem; margin-bottom: 14px; }
.achieve-card p { font-size: 0.95rem; }
.achieve-card .num-tag {
    position: absolute;
    top: 34px;
    right: 28px;
    font-family: var(--font-display);
    font-size: 2.6rem;
    color: var(--neutral-200);
    font-weight: 500;
    line-height: 1;
}

/* ============================================
   VISION CARDS
   ============================================ */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 260px;
    gap: 16px;
}
.vision-card {
    position: relative;
    overflow: hidden;
    color: #fff;
    cursor: default;
    transition: transform 0.6s var(--ease-smooth);
}
.vision-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 13, 28, 0) 30%, rgba(5, 13, 28, 0.95) 100%);
    z-index: 1;
    transition: background 0.5s var(--ease-smooth);
}
.vision-card:hover::before { background: linear-gradient(180deg, rgba(5, 13, 28, 0.4) 0%, rgba(5, 13, 28, 0.95) 100%); }
.vision-card img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 1.2s var(--ease-smooth);
}
.vision-card:hover img { transform: scale(1.06); }
.vision-card .content {
    position: relative;
    z-index: 2;
    padding: 32px 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.vision-card h3 {
    color: #fff;
    font-size: 1.28rem;
    margin-bottom: 8px;
}
.vision-card p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.45s var(--ease-smooth);
}
.vision-card:hover p { max-height: 100px; opacity: 1; margin-top: 10px; }

.vision-card.span-2 { grid-column: span 2; }
.vision-card.row-2 { grid-row: span 2; }

@media (max-width: 1100px) {
    .vision-grid { grid-template-columns: repeat(2, 1fr); }
    .vision-card.span-2, .vision-card.row-2 { grid-column: auto; grid-row: auto; }
}
@media (max-width: 600px) {
    .vision-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
}

/* ============================================
   MASONRY GALLERY
   ============================================ */
.gallery-wrap {
    column-count: 3;
    column-gap: 18px;
}
@media (max-width: 1024px) { .gallery-wrap { column-count: 2; } }
@media (max-width: 640px) { .gallery-wrap { column-count: 1; } }

.gal-item {
    break-inside: avoid;
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--navy-900);
}
.gal-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 1.1s var(--ease-smooth);
    object-position: center 22%;
}
.gal-item:hover img { transform: scale(1.05); }
.gal-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(5, 13, 28, 0.85));
    opacity: 0;
    transition: opacity 0.5s var(--ease-smooth);
}
.gal-item:hover::after { opacity: 1; }
.gal-caption {
    position: absolute;
    bottom: 22px;
    left: 22px;
    right: 22px;
    color: #fff;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s var(--ease-smooth);
}
.gal-item:hover .gal-caption { transform: translateY(0); opacity: 1; }
.gal-caption .cat {
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
    display: block;
}
.gal-caption .ttl {
    font-family: var(--font-display);
    font-size: 1.08rem;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(5, 13, 28, 0.97);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    backdrop-filter: blur(12px);
}
.lightbox.open { display: flex; animation: fadeIn 0.4s var(--ease-smooth); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    animation: zoomIn 0.45s var(--ease-smooth);
}
@keyframes zoomIn { from { transform: scale(0.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lb-close, .lb-prev, .lb-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(201, 169, 97, 0.4);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.3s var(--ease-smooth);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--red-600); border-color: var(--red-600); }
.lb-close { top: 28px; right: 28px; }
.lb-prev { left: 28px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 28px; top: 50%; transform: translateY(-50%); }
.lb-close svg, .lb-prev svg, .lb-next svg { width: 20px; height: 20px; }

/* ============================================
   DIPLOMACY (Global Relations)
   ============================================ */
.diplomacy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.dip-card {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    cursor: default;
}
.dip-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transition: transform 1.1s var(--ease-smooth);
}
.dip-card:hover img { transform: scale(1.08); }
.dip-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 13, 28, 0.1) 0%, rgba(5, 13, 28, 0.95) 100%);
}
.dip-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 32px 28px;
    color: #fff;
    z-index: 2;
}
.dip-content .region {
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
    display: block;
}
.dip-content h3 { color: #fff; font-size: 1.4rem; margin-bottom: 10px; }
.dip-content p { color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; }

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

/* ============================================
   CONTACT
   ============================================ */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    box-shadow: var(--shadow-lg);
    background: #fff;
}
.contact-info {
    background: var(--navy-900);
    color: #fff;
    padding: 70px 60px;
    position: relative;
    overflow: hidden;
}
.contact-info::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at top right, rgba(201, 169, 97, 0.18), transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(185, 28, 28, 0.25), transparent 55%);
}
.contact-info > * { position: relative; z-index: 1; }
.contact-info h2 { color: #fff; margin-bottom: 14px; }
.contact-info .lead { color: rgba(255, 255, 255, 0.75); margin-bottom: 40px; }

.contact-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-item:last-of-type { border-bottom: 0; }
.contact-item .icn {
    width: 46px; height: 46px;
    border: 1px solid rgba(201, 169, 97, 0.5);
    display: grid; place-items: center;
    color: var(--gold);
    flex-shrink: 0;
}
.contact-item .icn svg { width: 18px; height: 18px; }
.contact-item .lbl {
    font-size: 0.72rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 4px;
}
.contact-item .val {
    font-family: var(--font-display);
    color: #fff;
    font-size: 1.06rem;
    transition: color 0.3s var(--ease-smooth);
}
.contact-item a.val:hover { color: var(--gold); }

.contact-form {
    padding: 70px 60px;
    background: #fff;
}
.contact-form h2 { margin-bottom: 30px; }
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.form-field { position: relative; }
.form-field.full { grid-column: span 2; }
.form-field label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--red-600);
    font-weight: 600;
    margin-bottom: 8px;
}
.form-field input,
.form-field textarea {
    width: 100%;
    padding: 14px 0;
    border: none;
    border-bottom: 1px solid var(--neutral-300);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--navy-800);
    background: transparent;
    outline: none;
    transition: border-color 0.3s var(--ease-smooth);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field textarea:focus { border-color: var(--navy-800); }
.form-submit { margin-top: 20px; grid-column: span 2; }

@media (max-width: 900px) {
    .contact-split { grid-template-columns: 1fr; }
    .contact-info, .contact-form { padding: 50px 30px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-field.full, .form-submit { grid-column: auto; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #020813;
    color: rgba(255, 255, 255, 0.68);
    padding: 80px 0 30px;
    position: relative;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand h4 {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 6px;
}
.footer-brand .sub {
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 22px;
}
.footer-brand p { font-size: 0.92rem; max-width: 380px; }

.footer-col h5 {
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    margin-bottom: 22px;
    font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; font-size: 0.93rem; }
.footer-col a { color: rgba(255, 255, 255, 0.7); transition: color 0.3s; }
.footer-col a:hover { color: var(--gold); }

.socials {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}
.socials a {
    width: 40px; height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.35s var(--ease-smooth);
}
.socials a:hover { background: var(--red-600); border-color: var(--red-600); color: #fff; transform: translateY(-3px); }
.socials svg { width: 16px; height: 16px; }

.footer-bottom {
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 0.82rem;
}
.footer-bottom a { color: var(--gold); }
.footer-bottom a:hover { text-decoration: underline; }
.footer-credits { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-credits a:hover { color: #fff; }

@media (max-width: 900px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .footer-top { grid-template-columns: 1fr; }
}

/* ============================================
   PASSWORD GATE
   ============================================ */
.gate {
    min-height: 100vh;
    background: var(--navy-900);
    color: #fff;
    display: grid;
    place-items: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}
.gate-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 22%;
    filter: blur(2px) brightness(0.35) grayscale(20%);
    transform: scale(1.05);
}
.gate::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5, 13, 28, 0.85), rgba(5, 13, 28, 0.95)),
        radial-gradient(ellipse at center, rgba(201, 169, 97, 0.1), transparent 70%);
    z-index: 1;
}
.gate-box {
    position: relative;
    z-index: 2;
    background: rgba(10, 22, 40, 0.8);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(201, 169, 97, 0.3);
    padding: 60px 50px;
    max-width: 520px;
    width: 100%;
    text-align: center;
    box-shadow: 0 60px 120px rgba(0, 0, 0, 0.5);
}
.gate-seal {
    width: 70px; height: 70px;
    margin: 0 auto 26px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    display: grid;
    place-items: center;
    position: relative;
}
.gate-seal::before,
.gate-seal::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(201, 169, 97, 0.35);
}
.gate-seal::before { inset: -8px; }
.gate-seal::after { inset: -16px; border-color: rgba(201, 169, 97, 0.18); }
.gate-seal span {
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 1.4rem;
    font-weight: 500;
}
.gate-box .flag-tag {
    font-size: 0.68rem;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
}
.gate-box h1 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 500;
}
.gate-box .sub {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    margin-bottom: 36px;
    font-family: var(--font-serif);
    font-style: italic;
}
.gate-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1rem;
    font-family: var(--font-sans);
    letter-spacing: 0.3em;
    text-align: center;
    margin-bottom: 22px;
    outline: none;
    transition: all 0.3s var(--ease-smooth);
}
.gate-input:focus { border-color: var(--gold); background: rgba(255, 255, 255, 0.07); }
.gate-input::placeholder { color: rgba(255, 255, 255, 0.4); letter-spacing: 0.24em; }
.gate-btn {
    width: 100%;
    padding: 16px 30px;
    background: var(--red-600);
    color: #fff;
    border: none;
    font-size: 0.82rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s var(--ease-smooth);
    font-family: var(--font-sans);
}
.gate-btn:hover { background: var(--gold); color: var(--navy-800); letter-spacing: 0.34em; }

.gate-error {
    margin-top: 18px;
    color: #ff6b6b;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    opacity: 0;
    transform: translateY(-6px);
    transition: all 0.4s var(--ease-smooth);
}
.gate-error.show { opacity: 1; transform: translateY(0); animation: shakeX 0.5s; }
@keyframes shakeX {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-6px); }
    80% { transform: translateX(6px); }
}
.gate-box.success { animation: successFade 0.9s var(--ease-smooth) forwards; }
@keyframes successFade {
    to { opacity: 0; transform: scale(1.05) translateY(-20px); }
}

.gate-footer {
    position: absolute;
    bottom: 28px;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.74rem;
    letter-spacing: 0.22em;
    z-index: 2;
    text-transform: uppercase;
}
.gate-footer a { color: var(--gold); }

/* ============================================
   FADE-IN REVEAL
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.9s var(--ease-smooth), transform 0.9s var(--ease-smooth);
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

/* ============================================
   QUOTE MARQUEE
   ============================================ */
.quote-band {
    background: var(--navy-900);
    color: #fff;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}
.quote-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(201, 169, 97, 0.08), transparent 55%);
}
.quote-content {
    max-width: 940px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 30px;
}
.quote-content::before {
    content: "\201C";
    font-family: var(--font-display);
    font-size: 9rem;
    color: var(--gold);
    line-height: 0.6;
    display: block;
    margin-bottom: 10px;
    opacity: 0.45;
}
.quote-content q {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.4vw, 2.1rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.45;
    color: #fff;
    quotes: none;
    display: block;
    margin-bottom: 34px;
}
.quote-content q::before, .quote-content q::after { content: ""; }
.quote-author {
    font-size: 0.76rem;
    letter-spacing: 0.36em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
}

/* ============================================
   UTIL
   ============================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
