/* ────────────────────────────────────────────────────────
   Herson Global — Design System
   Inspired by: Rango Inc (bronze palette, aerial imagery),
   Ledcor (turn-key messaging, project cards),
   FCX (cinematic hero, mission-driven sections),
   Grupo PEAL (icon language, corporate structure)
───────────────────────────────────────────────────────── */
:root {
    /* Core palette */
    --ink:         #0C1419;
    --ink-2:       #14202B;
    --ink-3:       #1C2E3D;
    --gold:        #C4903C;
    --gold-h:      #D6A54E;
    --gold-dim:    rgba(196,144,60,0.15);
    --gold-border: rgba(196,144,60,0.35);

    /* Light palette — earthy, warm */
    --warm:        #F4F1EB;
    --warm-2:      #EAE6DC;
    --white:       #FFFFFF;

    /* Text */
    --text:        #1A2533;
    --text-mid:    #3A4D5C;
    --text-muted:  #617080;
    --text-faint:  #90A0AE;

    /* Utility */
    --border:      #DDD9D0;
    --border-dark: rgba(255,255,255,0.07);
    --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ── Type helpers ──────────────────────────────────────── */
.eyebrow {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}
.eyebrow-light { color: var(--gold); }

.display-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 1.25rem;
}
.display-heading-light { color: var(--white); }

.body-copy {
    font-size: 1.0625rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}
.body-copy-light { color: rgba(255,255,255,0.6); }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s var(--ease);
    cursor: pointer;
}
.btn-gold {
    background: var(--gold);
    color: var(--white);
}
.btn-gold:hover {
    background: var(--gold-h);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(196,144,60,0.4);
}
.btn-outline {
    background: transparent;
    color: rgba(255,255,255,0.85);
    border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
    border-color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.08);
}
.btn-sm { padding: 0.65rem 1.5rem; font-size: 0.75rem; }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 0.875rem; }

/* ── Nav ───────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 300;
    padding: 1.25rem 5vw;
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: background 0.5s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.scrolled {
    background: rgba(12, 20, 25, 0.97);
    backdrop-filter: blur(16px);
    padding: 0.9rem 5vw;
    box-shadow: 0 1px 0 var(--border-dark);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-right: auto;
}
.logo-img {
    height: 42px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.3s var(--ease);
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1.5px;
    background: var(--gold);
    border-radius: 1px;
    transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-contact {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    border: 1.5px solid var(--gold-border);
    padding: 0.5rem 1.25rem;
    border-radius: 3px;
    transition: all 0.3s var(--ease);
    white-space: nowrap;
}
.nav-contact:hover {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-burger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

/* ── Mobile Menu ───────────────────────────────────────── */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 290;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu ul { list-style: none; text-align: center; display: flex; flex-direction: column; gap: 2rem; }
.mobile-menu a {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s var(--ease);
}
.mobile-menu a:hover { color: var(--gold); }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: var(--ink);
}
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.28;
    pointer-events: none;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(12,20,25,0.92) 40%, rgba(12,20,25,0.5) 100%),
        linear-gradient(to top, rgba(12,20,25,0.7) 0%, transparent 50%);
}
/* gold accent bar on left edge */
.hero::before {
    content: '';
    position: absolute;
    left: 0; top: 15%; bottom: 15%;
    width: 4px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    z-index: 2;
}

.hero-inner {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: flex-end;
    gap: 4rem;
    padding: 0 5vw;
    padding-top: 120px;
    padding-bottom: 6rem;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.75rem;
}
.hero-tag-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.75); }
}

.hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(3.5rem, 9vw, 8rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.01em;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.1875rem);
    font-weight: 400;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.hero-ctas { display: flex; gap: 0.875rem; flex-wrap: wrap; }

/* Stat block — right column */
.hero-stat-block {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border-dark);
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(8px);
    min-width: 180px;
}
.hero-stat {
    padding: 1.75rem 2rem;
    text-align: center;
}
.hero-stat-sep {
    height: 1px;
    background: var(--border-dark);
}
.hero-stat-n {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.375rem;
}
.hero-stat-n sup {
    font-size: 1.5rem;
    vertical-align: super;
}
.hero-stat-l {
    display: block;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}

.hero-scroll-btn {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: all 0.3s var(--ease);
    animation: heroBob 2.5s ease-in-out infinite;
}
.hero-scroll-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}
@keyframes heroBob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── Ticker ────────────────────────────────────────────── */
.ticker {
    background: var(--gold);
    overflow: hidden;
    padding: 0;
    height: 44px;
    display: flex;
    align-items: center;
}
.ticker-track {
    display: flex;
    align-items: center;
    gap: 2rem;
    white-space: nowrap;
    animation: tickerScroll 30s linear infinite;
    padding-right: 2rem;
}
.ticker-track span {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.95);
}
.ticker-sep {
    font-size: 0.5rem !important;
    opacity: 0.6 !important;
}
@keyframes tickerScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── About ─────────────────────────────────────────────── */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 680px;
}
.about-img {
    position: relative;
    overflow: hidden;
    background: var(--ink-2);
}
.about-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease);
    filter: saturate(0.85);
}
.about-img:hover img { transform: scale(1.04); }
.about-img-caption {
    position: absolute;
    bottom: 1.5rem; left: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.7);
    background: rgba(12,20,25,0.75);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1rem;
    border-radius: 3px;
}

.about-body {
    background: var(--warm);
    padding: 5rem 5vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-top: 2rem;
}
.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-mid);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 100px;
}
.chip svg { color: var(--gold); flex-shrink: 0; }

/* ── Services ──────────────────────────────────────────── */
.services {
    background: var(--ink);
    padding: 7rem 5vw;
}
.services-head {
    max-width: 640px;
    margin-bottom: 3.5rem;
}
.services-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
    margin-top: 0.25rem;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-dark);
    margin-bottom: 1px;
}

.svc-card {
    position: relative;
    overflow: hidden;
    min-height: 340px;
    cursor: default;
    background: var(--ink-2);
}
.svc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--svc-img);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transform: scale(1.08);
}
.svc-card:hover::before {
    opacity: 0.18;
    transform: scale(1.0);
}
.svc-card-inner {
    position: relative;
    z-index: 1;
    padding: 2.25rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s var(--ease);
}
.svc-card:hover .svc-card-inner { border-bottom-color: var(--gold); }

.svc-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: block;
}
.svc-card h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.4375rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--white);
    margin-bottom: 0.875rem;
}
.svc-card p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
    margin-top: auto;
}
.svc-card:hover p { color: rgba(255,255,255,0.65); }

.svc-extra {
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    border-radius: 0;
}
.svc-extra-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1.5px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}
.svc-extra h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.3125rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.375rem;
}
.svc-extra p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
}
.svc-extra .btn { margin-left: auto; flex-shrink: 0; }

/* ── Values ────────────────────────────────────────────── */
.values {
    background: var(--warm);
    padding: 7rem 5vw;
}
.values-head {
    max-width: 560px;
    margin-bottom: 3.5rem;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.val-item {
    background: var(--white);
    padding: 2.25rem 2rem;
    border-bottom: 3px solid transparent;
    transition: all 0.35s var(--ease);
}
.val-item:hover {
    border-bottom-color: var(--gold);
    box-shadow: 0 12px 40px rgba(0,0,0,0.07);
    transform: translateY(-4px);
}
.val-icon {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    margin-bottom: 1.25rem;
}
.val-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text-faint);
    margin-bottom: 0.5rem;
}
.val-item h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.625rem;
    letter-spacing: 0.01em;
}
.val-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ── Projects ──────────────────────────────────────────── */
.projects {
    background: var(--ink-2);
    padding: 7rem 5vw;
}
.projects-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}
.projects-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.proj-card {
    position: relative;
    overflow: hidden;
    background: var(--ink-3);
    aspect-ratio: 4 / 3;
}
.proj-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
    filter: saturate(0.75) brightness(0.8);
}
.proj-card:hover img {
    transform: scale(1.06);
    filter: saturate(1) brightness(0.6);
}
.proj-info {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem 1.125rem;
    background: linear-gradient(to top, rgba(12,20,25,0.9) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}
.proj-card:hover .proj-info { opacity: 1; }

.proj-tag {
    display: inline-block;
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.375rem;
    border: 1px solid var(--gold-border);
    padding: 0.2rem 0.65rem;
    border-radius: 2px;
    align-self: flex-start;
}
.proj-info h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.125rem;
    letter-spacing: 0.01em;
}
.proj-info p {
    font-size: 0.6875rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ── Operations ────────────────────────────────────────── */
.operations {
    background: var(--white);
    padding: 7rem 5vw;
}
.ops-head {
    margin-bottom: 3.5rem;
}
.ops-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.ops-card {
    border: 1px solid var(--border);
    overflow: hidden;
    transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.ops-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}
.ops-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    filter: saturate(0.7);
    transition: filter 0.5s var(--ease);
}
.ops-card:hover .ops-card-img { filter: saturate(1); }

.ops-card-body {
    padding: 1.75rem;
    background: var(--white);
}
.ops-flag {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}
.ops-card-body h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.625rem;
}
.ops-card-body p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.ops-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-mid);
    margin-bottom: 0.5rem;
}
.ops-detail svg { color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.ops-contact a {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s var(--ease);
}
.ops-contact a:hover { color: var(--gold-h); }

/* ── Contact ───────────────────────────────────────────── */
.contact {
    position: relative;
    background: var(--ink);
    padding: 8rem 5vw;
    overflow: hidden;
}
.contact-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1600&q=70') center/cover no-repeat;
    opacity: 0.06;
}
.contact-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.75rem 0;
}
.contact-method {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 400;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.3s var(--ease);
}
.contact-method svg { color: var(--gold); flex-shrink: 0; }
.contact-method:hover { color: var(--white); }

.contact-offices {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border-dark);
}
.cof {
    padding: 1.75rem 2rem;
    border-bottom: 1px solid var(--border-dark);
}
.cof:last-child { border-bottom: none; }
.cof h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}
.cof p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.65;
}
.cof-note {
    margin-top: 0.5rem;
    font-size: 0.78rem;
    color: var(--gold);
    opacity: 0.75;
    font-style: italic;
}

/* ── Footer ────────────────────────────────────────────── */
.footer {
    background: var(--ink);
    border-top: 1px solid var(--border-dark);
    padding: 2.5rem 5vw;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.footer-logo {
    height: 34px;
    width: auto;
    display: block;
    object-fit: contain;
}
.footer-brand strong {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--white);
}
.footer-brand span {
    display: block;
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.3);
    margin-top: 1px;
}
.footer-nav {
    display: flex;
    gap: 1.75rem;
    flex-wrap: wrap;
}
.footer-nav a {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.3s var(--ease);
}
.footer-nav a:hover { color: var(--white); }
.footer-copy {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
}

/* ── Reveal animation ──────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* ── Video Showcase ────────────────────────────────────── */
.videoshow {
    background: var(--ink);
    padding: 7rem 5vw;
}
.videoshow-head {
    max-width: 680px;
    margin-bottom: 3rem;
}
.videoshow-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
    margin-top: 0.25rem;
}

/* Featured video player */
.videofeat {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    background: var(--ink-3);
    margin-bottom: 1rem;
}
.videofeat-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.75) saturate(0.85);
    transition: filter 0.5s var(--ease);
}
.videofeat:hover .videofeat-player {
    filter: brightness(0.6) saturate(1);
}
.videofeat-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem 3rem;
    background: linear-gradient(to top, rgba(12,20,25,0.88) 0%, transparent 55%);
}
.videofeat-mute {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.3);
    background: rgba(12,20,25,0.6);
    backdrop-filter: blur(8px);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}
.videofeat-mute:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.videofeat-tag {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold-border);
    padding: 0.25rem 0.75rem;
    border-radius: 2px;
    margin-bottom: 0.625rem;
    align-self: flex-start;
}
.videofeat-caption h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.375rem;
    letter-spacing: -0.01em;
}
.videofeat-caption p {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
}

/* Video card grid */
.videogrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.vcard {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--ink-3);
    cursor: pointer;
}
.vcard-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.6) saturate(0.7);
    transform: scale(1.04);
    transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
}
.vcard:hover .vcard-video {
    filter: brightness(0.5) saturate(1);
    transform: scale(1.0);
}
.vcard-overlay {
    position: absolute;
    inset: 0;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(12,20,25,0.85) 0%, transparent 60%);
}
.vcard-tag {
    display: inline-block;
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold-border);
    padding: 0.2rem 0.6rem;
    border-radius: 2px;
    margin-bottom: 0.375rem;
    align-self: flex-start;
}
.vcard h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.2rem;
}
.vcard p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.5;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1200px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-side { display: none; }
    .about { grid-template-columns: 1fr; }
    .about-img { min-height: 360px; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .ops-cards { grid-template-columns: 1fr 1fr; }
    .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
    .projects-head { grid-template-columns: 1fr; }
    .videogrid { grid-template-columns: repeat(2, 1fr); }
    .videofeat { aspect-ratio: 16 / 9; }
}

@media (max-width: 768px) {
    .nav-links, .nav-contact { display: none; }
    .nav-burger { display: flex; }

    .hero-title { font-size: clamp(3rem, 12vw, 5rem); }
    .services-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-head { grid-template-columns: 1fr; }
    .ops-cards { grid-template-columns: 1fr; }
    .svc-extra { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
    .svc-extra .btn { margin-left: 0; }
    .videogrid { grid-template-columns: 1fr 1fr; }
    .videofeat-overlay { padding: 1.5rem; }
    .videofeat-caption h3 { font-size: 1.375rem; }

    .footer-inner { flex-direction: column; text-align: center; gap: 1.25rem; }
    .footer-nav { justify-content: center; }
}

@media (max-width: 480px) {
    .hero-ctas { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
}

/* ── GALLERY ──────────────────────────────────────────────── */
.gallery {
    background: #0a0c0f;
    padding: 100px 0 80px;
}
.gallery-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2.5rem;
    padding: 0 24px;
}
.gallery-sub {
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 1rem;
}
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 3rem;
    padding: 0 24px;
}
.gtab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 26px;
    border: 1px solid rgba(255,255,255,0.14);
    background: transparent;
    color: rgba(255,255,255,0.5);
    border-radius: 100px;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.gtab:hover { border-color: rgba(255,255,255,0.3); color: #fff; }
.gtab-active {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: #0a0c0f !important;
}
.gtab-count {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border-radius: 100px;
    padding: 1px 9px;
    font-size: 0.72rem;
    font-weight: 600;
}
.gtab-active .gtab-count { background: rgba(0,0,0,0.18); }

/* Photos — CSS masonry via columns */
.gallery-photo-grid {
    columns: 4 240px;
    column-gap: 10px;
    padding: 0 40px;
    max-width: 1440px;
    margin: 0 auto;
}
.gal-photo {
    break-inside: avoid;
    margin: 0 0 10px;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    cursor: zoom-in;
    background: #111;
}
.gal-photo img {
    width: 100%;
    display: block;
    transition: transform 0.45s ease;
}
.gal-photo:hover img { transform: scale(1.05); }
.gal-photo figcaption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 36px 14px 13px;
    background: linear-gradient(transparent, rgba(0,0,0,0.72));
    color: #fff;
    font-size: 0.76rem;
    line-height: 1.4;
    opacity: 0;
    transition: opacity 0.3s;
}
.gal-photo:hover figcaption { opacity: 1; }

/* Videos — responsive card grid */
.gallery-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 12px;
    padding: 0 40px;
    max-width: 1440px;
    margin: 0 auto;
}
.gal-video {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
    aspect-ratio: 16 / 9;
    cursor: pointer;
}
.gal-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gal-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(0,0,0,0.45);
    transition: background 0.3s;
    padding: 12px;
}
.gal-video.playing .gal-video-overlay { background: rgba(0,0,0,0.08); }
.gal-video.playing .gal-play-btn { opacity: 0; }
.gal-video.playing p { opacity: 0; }
.gal-play-btn {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.2s, opacity 0.3s;
}
.gal-video:hover .gal-play-btn {
    background: var(--gold);
    transform: scale(1.08);
}
.gal-video-overlay p {
    color: #fff;
    font-size: 0.8rem;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0,0,0,0.9);
    line-height: 1.4;
    transition: opacity 0.3s;
}

@media (max-width: 900px) {
    .gallery-photo-grid { columns: 2 180px; padding: 0 20px; }
    .gallery-video-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); padding: 0 20px; }
}
@media (max-width: 480px) {
    .gallery-photo-grid { columns: 2 130px; padding: 0 12px; column-gap: 6px; }
    .gal-photo { margin-bottom: 6px; }
    .gallery-video-grid { grid-template-columns: 1fr; padding: 0 12px; }
}
