:root {
    --navy: #0b1f3a;
    --navy-light: #132d52;
    --amber: #e8a317;
    --amber-dark: #c8870f;
    --text: #1e293b;
    --muted: #64748b;
    --bg: #f4f7fb;
    --white: #ffffff;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: "DM Sans", "Segoe UI", system-ui, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}
a { color: var(--navy-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--amber-dark); }
img { max-width: 100%; height: auto; display: block; }

/* ——— Header ——— */
.site-header {
    background: var(--navy);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 12px rgba(0,0,0,.15);
    transition: background 0.3s, box-shadow 0.3s;
    isolation: isolate;
}
body.header-over-hero .site-header {
    position: fixed;
    width: 100%;
    background: linear-gradient(180deg, rgba(11,31,58,.92) 0%, rgba(11,31,58,0) 100%);
    box-shadow: none;
}
body.header-over-hero.scrolled .site-header {
    background: var(--navy);
    box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.top-bar {
    background: rgba(19, 45, 82, 0.95);
    font-size: 0.8rem;
    padding: 0.4rem 0;
}
body.header-over-hero:not(.scrolled) .top-bar { background: rgba(19, 45, 82, 0.6); }
.top-bar-inner { display: flex; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.top-bar-item { color: #cbd5e1; transition: color 0.25s, transform 0.25s; }
.top-bar-item:hover { color: #fff; transform: translateY(-1px); }
.top-bar-item i { color: var(--amber); margin-right: 0.35rem; }

.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 0; gap: 0.75rem; flex-wrap: wrap; transition: padding 0.35s ease; position: relative; }
.brand { display: flex; flex-direction: column; color: inherit; max-width: 70%; }
.brand--logo {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    max-width: min(520px, 75%);
}
.brand-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 50%;
    background: #fff;
    padding: 2px;
    transition: width 0.35s ease, height 0.35s ease, transform 0.35s ease;
}
.brand--logo:hover .brand-logo { transform: scale(1.04); }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand strong { font-size: 1.05rem; letter-spacing: 0.03em; color: #fff; line-height: 1.2; }
.brand-tagline { color: var(--amber); font-size: 0.78rem; line-height: 1.3; }
.footer-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin-bottom: 0.75rem;
    border-radius: 50%;
    background: #fff;
    padding: 3px;
}
.nav-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    padding: 0;
    border-radius: 10px;
    cursor: pointer;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--amber); }
.main-nav { display: flex; align-items: center; flex: 1; justify-content: flex-end; }

/* ——— Buttons ——— */
.btn {
    display: inline-block; padding: 0.55rem 1.1rem; border-radius: 6px; border: none;
    cursor: pointer; font-weight: 600; text-align: center; transition: transform 0.15s, background 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }
.btn-primary { background: var(--amber); color: #111; }
.btn-primary:hover { background: var(--amber-dark); color: #111; }
.btn-outline { border: 1px solid var(--amber); color: var(--amber); background: transparent; }
.btn-outline-light { border: 1px solid rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.08); }
.btn-outline-light:hover { background: rgba(255,255,255,.18); color: #fff; }
.container { width: min(1140px, 92%); margin: 0 auto; }

/* ——— Fullscreen hero + horizontal scroll ——— */
.hero-fullscreen {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}
.hero-media-scroller {
    position: absolute;
    inset: 0;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    z-index: 0;
}
.hero-media-scroller::-webkit-scrollbar { display: none; }
.hero-media-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
}
.hero-media-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 100vh;
    min-height: 100dvh;
}
.hero-gradient {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(105deg, rgba(11,31,58,.88) 0%, rgba(11,31,58,.55) 45%, rgba(11,31,58,.25) 100%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 7rem 0 1rem;
    max-width: 640px;
    color: #fff;
}
.hero-content h1 {
    font-family: "Instrument Serif", Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 400;
    line-height: 1.12;
    margin: 0 0 1rem;
}
.hero-lead { color: #dbeafe; margin: 0; font-size: 1.05rem; }
.hero-actions { margin-top: 1.75rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }

.hero-filmstrip-wrap {
    position: relative;
    z-index: 3;
    padding: 0 0 1.25rem;
    background: linear-gradient(0deg, rgba(11,31,58,.95) 0%, transparent 100%);
}
.hero-filmstrip-label {
    color: #94a3b8;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 4% 0.5rem;
}
.hero-filmstrip {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0 4% 0.5rem;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}
.hero-filmstrip-item {
    flex: 0 0 auto;
    width: clamp(140px, 28vw, 220px);
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: none;
    opacity: 0.65;
    transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
}
.hero-filmstrip-item.is-active,
.hero-filmstrip-item:hover { opacity: 1; border-color: var(--amber); transform: scale(1.02); }
.hero-filmstrip-item img { width: 100%; height: 100px; object-fit: cover; }

/* ——— Page banner (inner pages) ——— */
.page-banner {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.page-banner-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11,31,58,.9) 0%, rgba(11,31,58,.5) 100%);
}
.page-banner-content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 4rem 0 3rem;
}
.page-banner-content h1 {
    font-family: "Instrument Serif", serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin: 0 0 0.5rem;
    font-weight: 400;
}
.page-banner-content p { margin: 0; color: #cbd5e1; max-width: 540px; }

/* ——— Legacy compact hero ——— */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, #12345f 100%);
    color: var(--white);
    padding: 4rem 0 3rem;
}
.hero-compact { padding: 3rem 0; }
.hero h1 { font-family: "Instrument Serif", serif; font-weight: 400; }

.section { padding: 3.5rem 0; }
.section-alt { background: var(--white); }
.section-title { text-align: center; margin-bottom: 2rem; }
.section-title h2 { margin: 0; color: var(--navy); font-size: clamp(1.5rem, 3vw, 2rem); }
.section-title p { color: var(--muted); margin: 0.35rem 0 0; }
.section-cta { text-align: center; margin-top: 1.5rem; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }

.card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
}
.card-body { padding: 1.25rem; }
.card h3 { margin-top: 0; color: var(--navy); font-size: 1.05rem; }
.card h3 i { color: var(--amber-dark); margin-right: 0.35rem; }
.card-media { aspect-ratio: 16/10; overflow: hidden; background: #e2e8f0; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card-service:hover .card-media img { transform: scale(1.05); }
.card-media-sm { aspect-ratio: 16/9; }
.card-link { font-weight: 600; display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.5rem; }

/* ——— Services (enhanced cards & catalogue) ——— */
.services-section--home { background: linear-gradient(180deg, #fff 0%, #f8fafc 100%); }
.services-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 2.25rem;
}
.services-pillar {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem 1.1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(15, 39, 68, 0.04);
}
.services-pillar-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--navy), #1a4475);
    color: var(--amber);
    font-size: 1.1rem;
}
.services-pillar strong { display: block; color: var(--navy); font-size: 0.95rem; margin-bottom: 0.2rem; }
.services-pillar p { margin: 0; font-size: 0.85rem; color: var(--muted); line-height: 1.45; }

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 39, 68, 0.12);
}
.service-card-stretch {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
}
.service-card-body { flex: 1; display: flex; flex-direction: column; position: relative; z-index: 1; }
.service-card-media { position: relative; }
.service-card-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11,31,58,.15) 0%, rgba(11,31,58,.75) 100%);
    pointer-events: none;
}
.service-card-icon {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    z-index: 1;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--amber);
    color: #111;
    border-radius: 10px;
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.service-card-category {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    z-index: 1;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    background: rgba(255,255,255,.95);
    color: var(--navy);
    border: 1px solid rgba(255,255,255,.5);
}
.service-cat--core { background: #dbeafe; color: #1e40af; border-color: #93c5fd; }
.service-cat--environmental { background: #d1fae5; color: #065f46; border-color: #6ee7b7; }
.service-cat--logistics { background: #ffedd5; color: #9a3412; border-color: #fdba74; }
.service-cat--facility { background: #ede9fe; color: #5b21b6; border-color: #c4b5fd; }
.service-cat--engineering { background: #fce7f3; color: #9d174d; border-color: #f9a8d4; }
.service-cat--infrastructure { background: #e0e7ff; color: #3730a3; border-color: #a5b4fc; }
.service-cat--other { background: #f1f5f9; color: #475569; border-color: #cbd5e1; }

.service-card-body h3 {
    font-size: 1.08rem;
    line-height: 1.35;
    margin: 0 0 0.5rem;
    padding-right: 0.5rem;
}
.service-card-brief {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.5;
    flex: 1;
}
.service-card-highlights {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.service-card-highlights li {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.4;
}
.service-card-highlights i {
    color: var(--amber-dark);
    font-size: 0.7rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}
.service-card-cta {
    margin-top: auto;
    color: var(--navy);
    position: relative;
    z-index: 3;
    pointer-events: none;
}
.service-card:hover .service-card-cta { color: var(--amber-dark); }

.services-footnote {
    text-align: center;
    margin: 1.25rem 0 0;
    font-size: 0.9rem;
    color: var(--muted);
}
.services-footnote a { font-weight: 600; }

.services-catalog-intro {
    max-width: 720px;
    margin: 0 auto 1.75rem;
    text-align: center;
}
.services-catalog-heading {
    font-family: "Instrument Serif", serif;
    font-weight: 400;
    font-size: clamp(1.65rem, 3vw, 2.1rem);
    color: var(--navy);
    margin: 0 0 0.5rem;
}
.services-catalog-intro p { margin: 0; color: var(--muted); line-height: 1.6; }

.services-jump {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    padding: 0.75rem;
    background: #f1f5f9;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
}
.services-jump a {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: #fff;
    color: var(--navy);
    border: 1px solid transparent;
    transition: background 0.2s, border-color 0.2s;
}
.services-jump a:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.services-category-block { margin-bottom: 3rem; scroll-margin-top: 5rem; }
.services-category-head {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}
.services-category-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}
.services-category-head h3 {
    margin: 0 0 0.35rem;
    color: var(--navy);
    font-size: 1.35rem;
}
.services-category-head p { margin: 0; color: var(--muted); max-width: 640px; font-size: 0.95rem; }

.services-cta-panel {
    margin-top: 2rem;
    padding: 2rem 2.25rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--navy) 0%, #1a4475 100%);
    color: #e2e8f0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}
.services-cta-panel h3 { margin: 0 0 0.35rem; color: #fff; font-size: 1.25rem; }
.services-cta-panel p { margin: 0; max-width: 480px; font-size: 0.95rem; }

.service-detail-section { padding-top: 2rem; }
.service-detail-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.service-detail-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--amber);
    color: #111;
    border-radius: 8px;
    font-size: 1.1rem;
}
.service-detail-lead {
    font-size: 1.05rem;
    color: var(--navy);
    font-weight: 600;
    line-height: 1.55;
    margin: 0 0 1rem;
}
.service-detail-subhead {
    margin: 0 0 0.65rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
}
.service-card-highlights--detail { margin-bottom: 1.25rem; }
.service-card-highlights--detail li { font-size: 0.9rem; }
.service-detail-prose {
    color: #475569;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}
.service-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0;
}
.btn-outline-navy {
    border: 1px solid var(--navy);
    color: var(--navy);
    background: transparent;
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.service-detail-media { border-radius: 10px; box-shadow: 0 12px 32px rgba(15,39,68,.12); }

/* ——— Office map & contact location ——— */
.contact-page-section { padding-top: 2.5rem; }
.contact-info-cards { margin-bottom: 2rem; }
.contact-info-card {
    padding: 1.35rem 1.25rem;
    text-align: center;
    border-top: 3px solid var(--amber);
}
.contact-info-card h3 { margin: 0.5rem 0 0.35rem; font-size: 1rem; color: var(--navy); }
.contact-info-card p { margin: 0; font-size: 0.92rem; color: #475569; line-height: 1.5; }
.contact-info-card a { color: var(--navy); font-weight: 600; }
.contact-info-card a:hover { color: var(--amber-dark); }
.contact-whatsapp-link { margin-top: 0.65rem !important; }
.contact-whatsapp-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #128c7e !important;
    font-weight: 700;
}
.contact-whatsapp-link a i { font-size: 1.15rem; color: #25d366; }

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #25d366;
    color: #fff !important;
    border: none;
    font-weight: 700;
}
.btn-whatsapp:hover {
    background: #1da851;
    color: #fff !important;
    transform: translateY(-1px);
}
.btn-whatsapp i { font-size: 1.2em; }

.inquiry-heading-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}
.inquiry-heading-row .auth-card__heading { margin: 0; }
.inquiry-or-divider {
    text-align: center;
    margin: 0 0 1.25rem;
    font-size: 0.82rem;
    color: var(--muted);
}
.inquiry-or-divider span {
    display: inline-block;
    padding: 0 0.75rem;
    position: relative;
}
.inquiry-or-divider span::before,
.inquiry-or-divider span::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: #cbd5e1;
}
.inquiry-or-divider span::before { right: 100%; }
.inquiry-or-divider span::after { left: 100%; }

.form-actions--split {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.whatsapp-float {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 195;
    width: 58px;
    height: 58px;
    background: #25d366;
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.25s;
    animation: whatsappFloatPulse 2.5s ease-in-out infinite;
}
.whatsapp-float:hover {
    transform: scale(1.08);
    color: #fff !important;
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}
@keyframes whatsappFloatPulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45); }
    50% { box-shadow: 0 6px 28px rgba(37, 211, 102, 0.65), 0 0 0 8px rgba(37, 211, 102, 0.12); }
}
@media (max-width: 900px) {
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
        width: 52px;
        height: 52px;
        font-size: 1.65rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .whatsapp-float { animation: none; }
}

.contact-info-icon {
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), #1a4475);
    color: var(--amber);
    font-size: 1.1rem;
}

.office-map-block {
    display: grid;
    grid-template-columns: minmax(260px, 340px) 1fr;
    gap: 1.5rem;
    align-items: stretch;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 36px rgba(15, 39, 68, 0.08);
}
.office-map-block--compact {
    margin-bottom: 0;
    grid-template-columns: minmax(240px, 320px) 1fr;
}
.contact-location-home { background: #f8fafc; }

.office-map-info { display: flex; flex-direction: column; }
.office-map-title {
    margin: 0 0 0.75rem;
    font-size: 1.2rem;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.office-map-title i { color: var(--amber-dark); }
.office-map-address {
    margin: 0 0 1rem;
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.55;
    flex: 1;
}
.office-map-meta {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    font-size: 0.9rem;
}
.office-map-meta li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
    color: #475569;
}
.office-map-meta i { color: var(--amber-dark); width: 1.1rem; text-align: center; }
.office-map-meta a { font-weight: 600; color: var(--navy); }
.office-map-directions {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
}
.office-map-directions i { font-size: 0.75rem; }

.office-map-frame {
    position: relative;
    min-height: 280px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    background: #e2e8f0;
}
.office-map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.office-map-block--compact .office-map-frame { min-height: 260px; }

@media (max-width: 768px) {
    .office-map-block,
    .office-map-block--compact {
        grid-template-columns: 1fr;
    }
    .office-map-frame {
        min-height: 320px;
        order: -1;
    }
}
.card-event .card-body { padding-top: 1rem; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; }
.stat {
    text-align: center; background: var(--white); padding: 1.25rem 1rem;
    border-radius: 10px; border: 1px solid #e2e8f0;
}
.stat strong { display: block; font-size: 1.75rem; color: var(--amber-dark); margin-bottom: 0.25rem; }
.stat span { font-size: 0.85rem; color: var(--muted); }

.showcase-section { background: var(--navy); color: #fff; }
.showcase-section .section-title h2 { color: #fff; }
.showcase-section .section-title p { color: #94a3b8; }
.showcase-section code { color: var(--amber); font-size: 0.85em; }
.showcase-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    scroll-snap-type: x mandatory;
}
.showcase-item {
    flex: 0 0 auto;
    width: clamp(260px, 40vw, 420px);
    margin: 0;
    scroll-snap-align: start;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(232,163,23,.35);
}
.showcase-item img { width: 100%; height: 240px; object-fit: cover; }

.split-visual-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}
.split-visual-media { border-radius: 10px; overflow: hidden; min-height: 220px; }
.split-visual-media img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.split-visual-text { padding: 1.5rem; display: flex; flex-direction: column; justify-content: center; }

.cta-band {
    background: linear-gradient(135deg, var(--navy) 0%, #1a4475 100%);
    color: #e2e8f0; padding: 3rem 0; text-align: center;
}
.cta-band h2 { color: #fff; margin: 0 0 0.5rem; font-family: "Instrument Serif", serif; font-weight: 400; }

.site-footer { background: var(--navy); color: #cbd5e1; padding: 2.5rem 0 1rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.site-footer h4 { color: var(--white); margin-top: 0; }
.site-footer a { color: var(--amber); }

.footer-social-wrap { margin-top: 1.25rem; }
.footer-social-heading {
    font-size: 0.95rem;
    margin: 0 0 0.65rem;
    color: var(--white);
}
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}
.footer-social-link {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff !important;
    font-size: 1.05rem;
    transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.footer-social-link:hover {
    transform: translateY(-3px) scale(1.06);
    color: #fff !important;
    border-color: var(--amber);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.footer-social-link--facebook:hover { background: #1877f2; border-color: #1877f2; }
.footer-social-link--instagram:hover { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); border-color: #dd2a7b; }
.footer-social-link--linkedin:hover { background: #0a66c2; border-color: #0a66c2; }
.footer-social-link--youtube:hover { background: #ff0000; border-color: #ff0000; }
.footer-social-link--x-twitter:hover { background: #000; border-color: #333; }
.footer-social-link--whatsapp:hover { background: #25d366; border-color: #25d366; }

.form-group { margin-bottom: 1rem; }
.alert { padding: 0.75rem 1rem; border-radius: 6px; margin-bottom: 1rem; }
.alert-success { background: #dcfce7; color: #166534; }
.alert-danger { background: #fee2e2; color: #991b1b; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.gallery-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; }
.gallery-grid--mixed { gap: 1.25rem; }
.gallery-media-card { margin: 0; padding: 0; overflow: hidden; }
.gallery-media-wrap { position: relative; background: #0f172a; border-radius: 8px 8px 0 0; overflow: hidden; }
.gallery-media-wrap img,
.gallery-media-wrap video {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 8px 8px 0 0;
}
.gallery-media-wrap--video video { object-fit: contain; background: #000; min-height: 220px; }
.gallery-media-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 1;
    background: rgba(11, 31, 58, 0.85);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}
.gallery-media-caption {
    padding: 0.65rem 0.75rem;
    font-size: 0.88rem;
    line-height: 1.4;
}
.gallery-media-caption strong { display: block; color: var(--navy); margin-bottom: 0.15rem; }
.gallery-media-caption span { color: var(--muted); }
.event-badge {
    display: inline-block; background: var(--amber); color: #111;
    padding: 0.2rem 0.55rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; margin-bottom: 0.5rem;
}
.page-hero-label { margin-bottom: 0.75rem; }

.user-panel { max-width: 900px; margin: 2rem auto; padding-bottom: 2rem; }
.user-nav { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1rem; }

.user-dashboard-section { padding-top: 1.5rem; }
.user-dashboard {
    display: grid;
    grid-template-columns: minmax(220px, 260px) 1fr;
    gap: 1.75rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto 2.5rem;
}
.user-dashboard-nav {
    position: sticky;
    top: 6rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.user-dashboard-nav__brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.35rem;
    text-decoration: none;
}
.user-dashboard-nav__badge {
    display: inline-block;
    background: var(--amber);
    color: #111;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}
.user-dashboard-nav__links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.user-dashboard-nav__links a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    color: #334155;
    text-decoration: none;
    font-size: 0.92rem;
}
.user-dashboard-nav__links a em { font-style: normal; color: var(--amber); font-weight: 700; }
.user-dashboard-nav__links a:hover { background: #f1f5f9; color: var(--navy); }
.user-dashboard-nav__links a.is-active { background: var(--navy); color: #fff; }
.user-dashboard-nav__logout { margin-top: 0.5rem; color: #b91c1c !important; }
.user-dashboard-main { min-width: 0; }
.user-dashboard-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.user-dashboard-header h1 { margin: 0 0 0.35rem; color: var(--navy); font-size: 1.65rem; }
.user-dashboard-meta { margin: 0; color: var(--muted); font-size: 0.95rem; }
.user-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.user-stat-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.85rem 1rem;
}
.user-stat-card__label { display: block; font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.user-stat-card__value { display: block; font-size: 1.5rem; color: var(--navy); line-height: 1.2; }
.user-stat-card__hint { font-size: 0.8rem; color: var(--muted); }
.user-stat-card a { font-size: 0.82rem; }
.user-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.user-dashboard-panel { padding: 1.15rem 1.25rem; }
.user-dashboard-panel__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}
.user-dashboard-panel__head h2 { margin: 0; font-size: 1.05rem; color: var(--navy); }
.user-dashboard-panel__head h2 i { color: var(--amber); margin-right: 0.35rem; }
.user-dashboard-empty { color: var(--muted); margin: 0; }
.user-notification-list { list-style: none; margin: 0; padding: 0; }
.user-notification-list--full { display: flex; flex-direction: column; gap: 0.75rem; }
.user-notification-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eef2f7;
}
.user-notification-item:last-child { border-bottom: none; }
.user-notification-item.is-unread { background: #fffbeb; margin: 0 -0.5rem; padding: 0.75rem 0.5rem; border-radius: 8px; border-bottom: none; }
.user-notification-item strong { display: block; color: var(--navy); margin-bottom: 0.25rem; }
.user-notification-item p { margin: 0 0 0.35rem; font-size: 0.9rem; color: #475569; }
.user-notification-item time { font-size: 0.78rem; color: var(--muted); }
.user-notification-type { display: inline-block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--amber); font-weight: 700; margin-bottom: 0.2rem; }
.user-event-list { list-style: none; margin: 0; padding: 0; }
.user-event-item { padding: 0.65rem 0; border-bottom: 1px solid #eef2f7; }
.user-event-item:last-child { border-bottom: none; }
.user-event-item h3 { margin: 0.25rem 0; font-size: 1rem; color: var(--navy); }
.user-event-item p { margin: 0; font-size: 0.88rem; color: #475569; }
.user-doc-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.user-doc-table th, .user-doc-table td { padding: 0.55rem 0.5rem; text-align: left; border-bottom: 1px solid #eef2f7; }
.user-doc-table th { color: var(--muted); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; }
@media (max-width: 900px) {
    .user-dashboard { grid-template-columns: 1fr; }
    .user-dashboard-nav { position: static; }
    .user-dashboard-stats { grid-template-columns: 1fr 1fr; }
    .user-dashboard-grid { grid-template-columns: 1fr; }
}

.about-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.about-visual img { border-radius: 10px; width: 100%; height: 280px; object-fit: cover; }

/* Director / leadership */
.director-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 45%, #f1f5f9 100%);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.director-section--about {
    background: linear-gradient(135deg, var(--navy) 0%, #1e3a5f 55%, #152a45 100%);
    color: #e2e8f0;
    border: none;
}
.director-section--about .director-eyebrow { color: var(--amber); }
.director-section--about .director-name { color: #fff; }
.director-section--about .director-role { color: #94a3b8; }
.director-section--about .director-intro { color: #cbd5e1; }
.director-section--about .director-quote {
    color: #f1f5f9;
    border-left-color: var(--amber);
    background: rgba(255,255,255,.06);
}
.director-section--about .director-facts li { color: #cbd5e1; }
.director-section--about .director-credential {
    background: rgba(255,255,255,.08);
    border-color: rgba(232,163,23,.35);
}
.director-section--about .director-credential-value { color: var(--amber); }
.director-section--about .director-credential-label { color: #94a3b8; }

.director-panel {
    display: grid;
    grid-template-columns: minmax(260px, 380px) 1fr;
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: center;
}
.director-photo-wrap { position: relative; max-width: 380px; margin: 0 auto; width: 100%; }
.director-photo-accent {
    position: absolute;
    inset: -8px -8px 12px 12px;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--amber), #c4840f);
    z-index: 0;
    opacity: 0.85;
}
.director-photo {
    position: relative;
    z-index: 1;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(15, 39, 68, 0.25);
    border: 3px solid #fff;
}
.director-section--about .director-photo { border-color: rgba(255,255,255,.15); }
.director-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
}
.director-photo-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 2;
    background: rgba(15, 39, 68, 0.92);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.55rem 0.85rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-left: 3px solid var(--amber);
}
.director-photo-badge i { color: var(--amber); }

.director-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--navy);
    margin: 0 0 0.35rem;
}
.director-name {
    font-family: "Instrument Serif", serif;
    font-weight: 400;
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    margin: 0 0 0.35rem;
    color: var(--navy);
    line-height: 1.15;
}
.director-role {
    font-size: 1.05rem;
    color: #64748b;
    margin: 0 0 1.25rem;
    font-weight: 600;
}
.director-intro {
    margin: 0 0 1rem;
    line-height: 1.65;
    color: #475569;
    max-width: 52ch;
}
.director-quote {
    margin: 0 0 1.5rem;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--amber);
    background: #fff;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #334155;
    box-shadow: 0 4px 20px rgba(15, 39, 68, 0.06);
}
.director-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.director-credential {
    flex: 1 1 100px;
    text-align: center;
    padding: 0.85rem 0.75rem;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(15, 39, 68, 0.04);
}
.director-credential-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
}
.director-credential-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-top: 0.25rem;
}
.director-facts {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.director-facts li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.45;
}
.director-facts i {
    color: var(--amber);
    margin-top: 0.15rem;
    flex-shrink: 0;
}
.director-section--home .director-panel { align-items: center; }

@media (max-width: 900px) {
    .hide-sm { display: none; }
    .nav-toggle { display: flex; }
    .main-nav { width: 100%; flex: none; justify-content: stretch; }
    .brand, .brand--logo { max-width: calc(100% - 3rem); }
    .brand--logo .brand-text { display: none; }
    .brand--logo .brand-logo { width: 52px; height: 52px; }
    .split-visual-grid, .about-visual, .director-panel { grid-template-columns: 1fr; }
    .director-photo-wrap { max-width: 320px; }
    .hero-content { padding-top: 6rem; }
}
