:root {
    --navy-950: #06111f;
    --navy-900: #091a2f;
    --navy-800: #102844;
    --navy-700: #18385c;
    --ink: #0a0d12;
    --graphite: #202733;
    --muted: #677282;
    --line: #d9dee7;
    --soft-line: #edf0f4;
    --paper: #f8fafc;
    --surface: #ffffff;
    --mist: #eef2f6;
    --gold: #c79b2b;
    --gold-strong: #a97812;
    --gold-soft: #f2e5c6;
    --danger: #8a1f2d;
    --success: #0f6848;
    --shadow-sm: 0 10px 28px rgba(6, 17, 31, 0.08);
    --shadow-md: 0 22px 60px rgba(6, 17, 31, 0.14);
    --radius: 8px;
    --font-primary: "Inter", "Segoe UI", Arial, sans-serif;
    --font-display: "Manrope", "Inter", "Segoe UI", Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body {
    background: var(--mist);
    color: var(--graphite);
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.65;
    padding-top: 118px;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

* {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

*::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

img,
video {
    max-width: 100%;
}

a {
    color: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: rgba(248, 250, 252, 0.96);
    border-bottom: 1px solid rgba(6, 17, 31, 0.08);
    box-shadow: 0 12px 36px rgba(6, 17, 31, 0.08);
    backdrop-filter: blur(16px);
}

.header-top {
    background: var(--navy-950);
    color: #dce5f1;
    font-size: 13px;
}

.header-top-content {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
}

.header-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.header-contact a,
.footer-contact a {
    color: inherit;
    text-decoration: none;
}

.header-contact a:hover,
.footer-contact a:hover {
    color: var(--gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(100%, 680px);
}

.header-promo-carousel {
    position: relative;
    width: 100%;
    height: 38px;
    overflow: hidden;
    color: #f4e4bd;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 38px;
    white-space: nowrap;
}

.header-promo-text {
    position: absolute;
    inset: 0 auto 0 0;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: max-content;
    padding-left: 100%;
    animation: headerPromoSlide 45s linear infinite;
    will-change: transform;
}

.promo-icon {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    color: var(--gold);
}

.promo-shield {
    width: 15px;
    height: 18px;
    border: 2px solid currentColor;
    border-top-width: 3px;
    border-radius: 7px 7px 9px 9px;
    transform: translateY(1px);
    clip-path: polygon(0 0, 100% 0, 100% 58%, 50% 100%, 0 58%);
}

.promo-globe {
    border: 2px solid currentColor;
    border-radius: 50%;
}

.promo-globe::before,
.promo-globe::after {
    content: "";
    position: absolute;
    inset: 3px;
    border: 1px solid currentColor;
    border-radius: 50%;
}

.promo-globe::before {
    border-top: 0;
    border-bottom: 0;
}

.promo-globe::after {
    inset: 7px 2px;
    border-left: 0;
    border-right: 0;
}

@keyframes headerPromoSlide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.main-nav {
    background: var(--paper);
}

.nav-content {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy-950);
    text-decoration: none;
    min-width: 210px;
}

.logo-img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.logo-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text {
    color: var(--navy-950);
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0;
}

.logo-sub {
    margin-top: 5px;
    color: var(--gold-strong);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    list-style: none;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 0;
    color: var(--graphite);
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: inherit;
    text-transform: uppercase;
}

.nav-dropdown-toggle::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.nav-dropdown-toggle::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 180ms ease;
}

.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle,
.nav-dropdown.open .nav-dropdown-toggle {
    color: var(--navy-950);
}

.nav-dropdown:hover .nav-dropdown-toggle::before,
.nav-dropdown:focus-within .nav-dropdown-toggle::before,
.nav-dropdown.open .nav-dropdown-toggle::before {
    transform: scaleX(1);
}

.nav-dropdown.open .nav-dropdown-toggle::after {
    transform: translateY(2px) rotate(225deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 0;
    z-index: 2;
    display: none;
    min-width: 170px;
    list-style: none;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--soft-line);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu li + li {
    margin-top: 4px;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--graphite);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
    background: var(--gold-soft);
    color: var(--navy-950);
}

.nav-menu > li > a:not(.btn) {
    position: relative;
    color: var(--graphite);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: uppercase;
}

.nav-login a {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border: 1px solid var(--navy-950);
    border-radius: 6px;
    color: var(--navy-950) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    transition: all 180ms ease;
}

.nav-login a:hover {
    background: var(--navy-950);
    color: var(--gold) !important;
}

.nav-menu > li > a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.nav-menu > li > a:not(.btn):hover,
.nav-menu > li > a:not(.btn):focus-visible {
    color: var(--navy-950);
}

.nav-menu > li > a:not(.btn):hover::after,
.nav-menu > li > a:not(.btn):focus-visible::after {
    transform: scaleX(1);
}

.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: var(--navy-950);
    border: 0;
    border-radius: 6px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--paper);
    transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    padding: 12px 22px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
}

.btn-primary,
.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy-950);
    box-shadow: 0 12px 26px rgba(199, 155, 43, 0.28);
}

.btn-primary:hover,
.btn-gold:hover,
.btn-primary:focus-visible,
.btn-gold:focus-visible {
    background: #d7ad43;
    border-color: #d7ad43;
    color: var(--navy-950);
}

.btn-outline {
    background: transparent;
    border-color: var(--navy-900);
    color: var(--navy-950);
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background: var(--navy-950);
    border-color: var(--navy-950);
    color: var(--paper);
}

.hero .btn-outline,
.cta-box .btn-outline,
.section-navy .btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--paper);
}

.hero .btn-outline:hover,
.hero .btn-outline:focus-visible,
.cta-box .btn-outline:hover,
.cta-box .btn-outline:focus-visible,
.section-navy .btn-outline:hover,
.section-navy .btn-outline:focus-visible {
    background: var(--paper);
    border-color: var(--paper);
    color: var(--navy-950);
}

.btn-outline-dark {
    background: transparent;
    border-color: var(--navy-900);
    color: var(--navy-950);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus-visible {
    background: var(--navy-950);
    color: var(--paper);
}

.btn-text {
    min-height: 0;
    padding-inline: 0;
    background: transparent;
    color: var(--paper);
    text-decoration: underline;
    text-underline-offset: 5px;
}

.btn-small {
    min-height: 34px;
    padding: 8px 14px;
    font-size: 11px;
}

.btn-large {
    min-height: 52px;
    padding: 15px 26px;
}

.header-top .btn-outline {
    border-color: rgba(255, 255, 255, 0.34);
    color: #f4f7fb;
    box-shadow: none;
}

.hero {
    position: relative;
    min-height: calc(100vh - 118px);
    overflow: hidden;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(6, 17, 31, 0.96) 0%, rgba(9, 26, 47, 0.92) 50%, rgba(9, 26, 47, 0.76) 100%),
        radial-gradient(circle at 80% 18%, rgba(199, 155, 43, 0.18), transparent 30%),
        linear-gradient(135deg, var(--navy-950), var(--navy-800));
    color: var(--paper);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(90deg, #000 0%, transparent 78%);
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    align-items: center;
    gap: 68px;
    padding-block: 74px 62px;
}

.hero-badge,
.section-kicker,
.page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.badge-line {
    width: 44px;
    height: 2px;
    background: var(--gold);
}

.hero-title {
    max-width: 760px;
    margin-top: 20px;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0.98;
}

.hero-motto {
    margin-top: 18px;
    color: var(--gold-soft);
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-desc {
    max-width: 650px;
    margin-top: 24px;
    color: #d6dfec;
    font-size: 18px;
    line-height: 1.75;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    max-width: 690px;
    margin-top: 48px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
}

.hero-proof-item {
    min-height: 104px;
    padding: 20px;
    background: rgba(6, 17, 31, 0.48);
}

.hero-proof-item strong {
    display: block;
    color: var(--paper);
    font-size: 15px;
    font-weight: 900;
}

.hero-proof-item span {
    display: block;
    margin-top: 8px;
    color: #b7c2d2;
    font-size: 13px;
    line-height: 1.5;
}

.hero-visual {
    position: relative;
}

.operations-panel {
    position: relative;
    min-height: 530px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
        var(--navy-900);
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.34);
}

.operations-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, transparent 0 45%, rgba(199, 155, 43, 0.16) 45% 47%, transparent 47%),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 34px);
}

.ops-topline {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ops-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #dce5f1;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.ops-status::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 6px rgba(199, 155, 43, 0.18);
}

.ops-ref {
    color: var(--gold-soft);
    font-size: 12px;
    font-weight: 800;
}

.ops-map {
    position: relative;
    height: 260px;
    margin: 26px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background:
        linear-gradient(90deg, rgba(199, 155, 43, 0.16) 1px, transparent 1px),
        linear-gradient(rgba(199, 155, 43, 0.12) 1px, transparent 1px),
        rgba(255, 255, 255, 0.035);
    background-size: 34px 34px;
}

.ops-route {
    position: absolute;
    left: 14%;
    top: 48%;
    width: 72%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: rotate(-18deg);
}

.ops-node {
    position: absolute;
    width: 16px;
    height: 16px;
    border: 3px solid var(--gold);
    border-radius: 50%;
    background: var(--navy-950);
    box-shadow: 0 0 0 8px rgba(199, 155, 43, 0.1);
}

.ops-node.one { left: 20%; top: 62%; }
.ops-node.two { left: 47%; top: 42%; }
.ops-node.three { right: 18%; top: 27%; }

.ops-card {
    position: absolute;
    right: 22px;
    bottom: 22px;
    width: min(300px, calc(100% - 44px));
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(6, 17, 31, 0.9);
    box-shadow: var(--shadow-md);
}

.ops-card h3 {
    color: var(--paper);
    font-size: 16px;
    font-weight: 900;
}

.ops-card p {
    margin-top: 8px;
    color: #b7c2d2;
    font-size: 13px;
}

.ops-metrics {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 0 26px 26px;
}

.ops-metric {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
}

.ops-metric strong {
    display: block;
    color: var(--gold-soft);
    font-size: 13px;
    text-transform: uppercase;
}

.ops-metric span {
    display: block;
    margin-top: 4px;
    color: #dce5f1;
    font-size: 13px;
}

.section {
    padding: 96px 0;
}

.section-navy {
    background:
        linear-gradient(180deg, var(--navy-950), var(--navy-900));
    color: var(--paper);
}

.section-muted {
    background: var(--mist);
}

.section-header {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-header.align-left {
    margin-inline: 0;
    text-align: left;
}

.section-header h2,
.page-hero h1,
.cta-box h2,
.about-text h2,
.contact-form-wrapper h2,
.contact-info h2 {
    color: var(--navy-950);
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.08;
}

.section-navy .section-header h2,
.cta-box h2 {
    color: var(--paper);
}

.section-header p {
    margin-top: 14px;
    color: var(--muted);
    font-size: 17px;
}

.section-navy .section-header p {
    color: #b7c2d2;
}

.services-grid,
.industries-grid,
.features-grid,
.testimonials-grid,
.careers-grid,
.gallery-grid,
.clients-grid,
.projects-grid,
.quotes-grid {
    display: grid;
    gap: 22px;
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.service-card,
.industry-card,
.testimonial-card,
.career-card,
.gallery-item,
.project-card,
.client-card,
.quote-card,
.contact-form-wrapper,
.contact-info,
.fotasco-form {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

.section-navy .service-card,
.section-navy .feature-card {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: none;
}

.service-card,
.career-card,
.testimonial-card,
.quote-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
}

.service-card::before,
.career-card::before,
.testimonial-card::before,
.quote-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--gold);
}

.service-card:hover,
.career-card:hover,
.gallery-item:hover,
.project-card:hover,
.client-card:hover {
    border-color: rgba(199, 155, 43, 0.62);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.service-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid rgba(199, 155, 43, 0.34);
    border-radius: 6px;
    background: var(--gold-soft);
    color: var(--navy-950);
    font-size: 20px;
    font-weight: 900;
}

.service-card h3,
.industry-card h3,
.feature-card h3,
.testimonial-author strong,
.career-card h3,
.gallery-caption h4,
.project-card h3,
.client-card h3 {
    color: var(--navy-950);
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.25;
}

.section-navy .service-card h3,
.section-navy .feature-card h3,
.section-navy .service-card p,
.section-navy .feature-card p {
    color: var(--paper);
}

.service-card p,
.industry-card p,
.testimonial-text,
.career-card p,
.gallery-caption p,
.project-card p,
.client-card p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 15px;
}

.section-navy .service-card p,
.section-navy .feature-card p {
    color: #c6cfdb;
}

.link-arrow {
    display: inline-flex;
    margin-top: 22px;
    color: var(--gold-strong);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.link-arrow::after {
    content: ">";
    margin-left: 8px;
}

.industries-grid {
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
}

.industry-card {
    padding: 28px;
    box-shadow: none;
}

.industry-card h3::before {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin-bottom: 18px;
    background: var(--gold);
}

.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.feature-card {
    min-height: 245px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

.feature-number {
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 46px;
    font-weight: 900;
    line-height: 1;
}

.feature-card h3 {
    margin-top: 26px;
}

.testimonials-grid,
.careers-grid,
.projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.testimonial-rating {
    display: inline-flex;
    gap: 4px;
    color: var(--gold-strong);
    font-size: 24px;
    line-height: 1;
}

.testimonial-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.testimonial-badge {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid rgba(15, 104, 72, 0.18);
    border-radius: 999px;
    background: #e8f7ef;
    color: var(--success);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.testimonial-media {
    overflow: hidden;
    margin-bottom: 18px;
    border-radius: 8px;
    background: var(--navy-950);
}

.testimonial-media img,
.testimonial-media video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.service-media {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.service-detail-media {
    max-width: 760px;
    margin: 0 auto 1.5rem;
}

.testimonial-text {
    color: var(--graphite);
    font-size: 17px;
    font-style: italic;
    line-height: 1.75;
}

.testimonial-author {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--soft-line);
}

.testimonial-author span,
.career-meta {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.career-detail-hero {
    padding-bottom: 94px;
}

.career-eyebrow,
.career-panel-label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.career-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.career-meta-pills span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid rgba(248, 250, 252, 0.18);
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.08);
    color: #edf2f8;
    font-size: 13px;
    font-weight: 800;
}

.career-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 34px;
    align-items: start;
}

.career-detail-content {
    display: grid;
    gap: 22px;
    min-width: 0;
}

.career-detail-intro {
    margin-bottom: 8px;
}

.career-detail-section,
.career-apply-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.career-detail-section {
    padding: clamp(24px, 4vw, 36px);
}

.career-detail-section h3 {
    position: relative;
    margin-bottom: 18px;
    padding-left: 18px;
    color: var(--navy-950);
    font-family: var(--font-display);
    font-size: clamp(21px, 2.4vw, 28px);
    font-weight: 900;
    line-height: 1.2;
}

.career-detail-section h3::before {
    content: "";
    position: absolute;
    top: 0.2em;
    left: 0;
    width: 4px;
    height: 1.15em;
    border-radius: 999px;
    background: var(--gold);
}

.career-copy {
    color: var(--graphite);
    font-size: 16px;
    line-height: 1.85;
}

.career-copy p + p {
    margin-top: 16px;
}

.career-copy ul,
.career-copy ol {
    display: grid;
    gap: 10px;
    margin: 16px 0 0 22px;
}

.career-apply-panel {
    overflow: hidden;
}

.career-panel-sticky {
    position: sticky;
    top: 138px;
    padding: 28px;
}

.career-apply-panel h2 {
    color: var(--navy-950);
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.22;
}

.career-facts {
    display: grid;
    gap: 0;
    margin: 24px 0;
}

.career-facts div {
    display: grid;
    gap: 5px;
    padding: 15px 0;
    border-top: 1px solid var(--soft-line);
}

.career-facts div:last-child {
    border-bottom: 1px solid var(--soft-line);
}

.career-facts dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.career-facts dd {
    color: var(--graphite);
    font-size: 15px;
    font-weight: 800;
}

.career-apply-button {
    width: 100%;
}

.career-panel-note {
    margin-top: 18px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.clients-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.client-card {
    padding: 24px;
    text-align: center;
}

.client-logo {
    max-height: 56px;
    width: auto;
    margin-bottom: 14px;
    object-fit: contain;
}

.projects-grid {
    margin-top: 26px;
}

.project-card {
    padding: 28px;
}

.quotes-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.quote-card {
    background: var(--navy-950);
    color: var(--paper);
}

.quote-card p {
    color: #e2e8f0;
    font-size: 17px;
    font-weight: 700;
}

.cta-section {
    background: var(--mist);
}

.cta-box {
    position: relative;
    overflow: hidden;
    padding: 62px;
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(6, 17, 31, 0.96), rgba(16, 40, 68, 0.95)),
        var(--navy-950);
    color: var(--paper);
    box-shadow: var(--shadow-md);
}

.cta-box::after {
    content: "";
    position: absolute;
    right: 42px;
    bottom: -80px;
    width: 240px;
    height: 240px;
    border: 36px solid rgba(199, 155, 43, 0.18);
    transform: rotate(45deg);
}

.cta-box > * {
    position: relative;
    z-index: 1;
}

.cta-box p {
    max-width: 650px;
    margin-top: 14px;
    color: #c6cfdb;
    font-size: 17px;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.section-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 36px;
}

.site-messages {
    position: relative;
    z-index: 10;
    padding: 18px 0 0;
    background: var(--mist);
}

.site-message {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-left: 5px solid var(--gold);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--graphite);
    box-shadow: var(--shadow-sm);
    font-weight: 800;
}

.site-message-success {
    border-left-color: var(--success);
    background: #f0fbf6;
    color: var(--success);
}

.site-message-error {
    border-left-color: var(--danger);
    background: #fff1f3;
    color: var(--danger);
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 120px 0 82px;
    background:
        linear-gradient(135deg, rgba(6, 17, 31, 0.96), rgba(16, 40, 68, 0.94)),
        var(--navy-950);
    color: var(--paper);
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.page-hero h1 {
    max-width: 850px;
    color: var(--paper);
}

.page-hero p {
    max-width: 650px;
    margin-top: 16px;
    color: #c6cfdb;
    font-size: 18px;
}

.about-content,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.85fr);
    gap: 42px;
    align-items: start;
}

.about-text h3 {
    margin-top: 30px;
    color: var(--navy-950);
    font-size: 22px;
}

.about-text p {
    margin-top: 16px;
    color: var(--graphite);
}

.values-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    list-style: none;
}

.values-list li {
    padding: 16px 18px;
    border-left: 4px solid var(--gold);
    background: var(--mist);
}

.about-visual {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

.about-logo {
    display: block;
    width: min(340px, 100%);
    height: auto;
    margin: 0 auto;
}

.fotasco-form {
    padding: 32px;
}

.fotasco-form p,
.fotasco-form .form-group {
    margin-bottom: 18px;
}

.fotasco-form label {
    display: block;
    margin-bottom: 7px;
    color: var(--navy-950);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.fotasco-form input,
.fotasco-form select,
.fotasco-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--paper);
    color: var(--ink);
    font: inherit;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.fotasco-form textarea {
    min-height: 130px;
    resize: vertical;
}

.fotasco-form input:focus,
.fotasco-form select:focus,
.fotasco-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(199, 155, 43, 0.16);
}

.fotasco-form fieldset {
    margin-bottom: 24px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.fotasco-form legend {
    padding-inline: 10px;
    color: var(--navy-950);
    font-weight: 900;
}

.fotasco-form h3 {
    margin: 18px 0 12px;
    color: var(--navy-950);
    font-size: 15px;
}

.fotasco-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.fotasco-form input[type="checkbox"] {
    width: auto;
    min-height: auto;
    margin-right: 8px;
}

.fotasco-form .checkbox-row label {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    text-transform: none;
}

.fotasco-form .errorlist {
    margin: 8px 0 0;
    padding-left: 18px;
    color: #b42318;
    font-size: 13px;
    font-weight: 700;
}

.field-help,
.form-note {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.section-note {
    color: var(--muted);
    font-size: 13px;
}

.section-note em {
    font-style: italic;
    font-weight: 700;
}

.plus-link {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy-950);
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    vertical-align: middle;
}

.plus-link:hover,
.plus-link:focus-visible {
    background: #d7ad43;
}

.maintenance-body {
    min-height: 100vh;
    padding-top: 0;
    background:
        linear-gradient(135deg, rgba(6, 17, 31, 0.92), rgba(16, 40, 68, 0.88)),
        var(--navy-950);
}

.maintenance-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px;
}

.maintenance-panel {
    width: min(720px, 100%);
    padding: 46px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.maintenance-logo {
    width: 92px;
    height: auto;
    margin-bottom: 18px;
}

.maintenance-panel h1 {
    color: var(--navy-950);
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.1;
}

.maintenance-panel p {
    margin-top: 16px;
}

.maintenance-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.form-container {
    max-width: 880px;
}

.contact-form-wrapper,
.contact-info {
    padding: 34px;
}

.contact-info p {
    margin-top: 16px;
    color: var(--graphite);
}

.contact-info a {
    color: var(--gold-strong);
    font-weight: 800;
    text-decoration: none;
}

.gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.gallery-item {
    overflow: hidden;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.gallery-item img,
.gallery-item video {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--navy-950);
}

.gallery-caption {
    padding: 18px;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 44px 24px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: var(--mist);
    color: var(--muted);
    font-weight: 700;
    text-align: center;
}

.section-navy .empty-state {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
    color: #c6cfdb;
}

.success-section,
.error-section {
    padding: 120px 0;
}

.success-section h1,
.error-section h2 {
    color: var(--navy-950);
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900;
}

.success-section p,
.error-section p {
    margin-top: 12px;
    color: var(--muted);
}

.error-code {
    color: var(--gold);
    font-family: var(--font-display);
    font-size: clamp(76px, 12vw, 140px);
    font-weight: 900;
    line-height: 1;
}

.text-center {
    text-align: center;
}

.track-result {
    margin-top: 32px;
    padding: 28px;
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
    background: var(--mist);
}

.track-result h3,
.faq-item h3 {
    color: var(--navy-950);
}

.status-badge {
    display: inline-flex;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.status-submitted { background: var(--soft-line); color: var(--graphite); }
.status-under_review { background: #fff4cf; color: #6d4b00; }
.status-approved { background: #dff5eb; color: var(--success); }
.status-rejected { background: #f9d8de; color: var(--danger); }

.track-error {
    margin-top: 24px;
    padding: 16px;
    border-radius: var(--radius);
    background: #f9d8de;
    color: var(--danger);
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.site-footer {
    background: var(--navy-950);
    color: var(--paper);
}

.footer-main {
    padding: 72px 0 44px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(160px, 1fr));
    gap: 36px;
}

.footer-logo {
    width: 74px;
    height: 74px;
    object-fit: contain;
}

.footer-brand h3 {
    margin-top: 16px;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 900;
}

.footer-brand .motto {
    margin-top: 8px;
    color: var(--gold-soft);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.footer-desc,
.footer-contact p,
.footer-links a,
.footer-services a {
    color: #bac5d4;
    font-size: 14px;
}

.footer-desc {
    margin-top: 16px;
    max-width: 360px;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    margin-bottom: 18px;
    color: var(--paper);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-services a,
.social-links a {
    text-decoration: none;
}

.footer-links a:hover,
.footer-services a:hover,
.social-links a:hover {
    color: var(--gold);
}

.footer-contact p {
    margin-bottom: 12px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.social-links a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 8px;
    padding: 7px 11px 7px 8px;
    border: 1px solid rgba(199, 155, 43, 0.28);
    border-radius: 6px;
    background: rgba(199, 155, 43, 0.08);
    color: var(--gold-soft);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-info .social-links a {
    background: var(--navy-950);
    border-color: var(--navy-950);
    color: var(--paper);
}

.social-icon {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: var(--gold);
    color: var(--navy-950);
    flex: 0 0 auto;
}

.social-icon svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 22px 0;
    color: #92a0b2;
    font-size: 13px;
    text-align: center;
}

@media (max-width: 1040px) {
    body {
        padding-top: 118px;
    }

    .nav-content {
        min-height: 80px;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .nav-menu {
        position: absolute;
        top: 118px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 18px 20px 24px;
        border-top: 1px solid var(--soft-line);
        background: var(--paper);
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--soft-line);
    }

    .nav-menu li:last-child {
        border-bottom: 0;
    }

    .nav-menu > li > a:not(.btn) {
        display: block;
        padding: 14px 0;
    }

    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 14px 0;
    }

    .nav-dropdown-toggle::before {
        bottom: 8px;
    }

    .nav-dropdown-menu {
        position: static;
        min-width: 0;
        padding: 0 0 12px 14px;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .nav-dropdown:not(.open) .nav-dropdown-menu {
        display: none;
    }

    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown:focus-within .nav-dropdown-menu {
        display: none;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-menu li {
        border-bottom: 0;
    }

    .nav-dropdown-menu a {
        padding: 10px 0;
    }

    .nav-cta {
        padding-top: 18px;
    }

    .nav-cta .btn {
        width: 100%;
    }

    .hero .container,
    .about-content,
    .contact-grid,
    .career-detail-layout {
        grid-template-columns: 1fr;
    }

    .hero .container {
        gap: 42px;
    }

    .career-panel-sticky {
        position: static;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .logo-img {
        width: 50px;
        height: 50px;
    }

    .logo-text {
        font-size: 19px;
    }

    .logo-sub {
        font-size: 9px;
        letter-spacing: 1.4px;
    }

    .hero {
        min-height: auto;
    }

    .hero .container {
        padding-block: 54px;
    }

    .hero-proof {
        grid-template-columns: 1fr;
    }

    .operations-panel {
        min-height: 460px;
    }

    .ops-metrics {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 70px 0;
    }

    .page-hero {
        padding: 88px 0 62px;
    }

    .career-detail-hero {
        padding-bottom: 70px;
    }

    .career-meta-pills {
        gap: 8px;
    }

    .career-meta-pills span {
        min-height: 34px;
        padding: 7px 11px;
        font-size: 12px;
    }

    .career-detail-layout {
        gap: 22px;
    }

    .career-detail-section,
    .career-panel-sticky {
        padding: 22px;
    }

    .career-copy {
        font-size: 15px;
        line-height: 1.78;
    }

    .cta-box,
    .fotasco-form,
    .contact-form-wrapper,
    .contact-info {
        padding: 26px;
    }

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

/* ==========================================================================
   Admin Top Bar & In-Page Staff Controls
   ========================================================================== */
.site-admin-bar {
    position: relative;
    z-index: 1000;
    background: #06111f;
    border-bottom: 2px solid var(--gold);
    color: #e2e8f0;
    font-size: 13px;
    padding: 6px 0;
}

.admin-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-bar-badge {
    display: inline-block;
    background: var(--gold);
    color: #06111f;
    font-size: 11px;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.admin-bar-user {
    color: #cbd5e1;
}

.admin-bar-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.admin-bar-link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 700;
    transition: color 150ms ease;
}

.admin-bar-link:hover {
    color: var(--gold);
}

.admin-bar-logout-form {
    margin: 0;
}

.admin-bar-logout-btn {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.4);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 150ms ease;
}

.admin-bar-logout-btn:hover {
    background: rgba(239, 68, 68, 0.4);
    color: #fff;
}

.admin-inpage-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    background: #fffdf5;
    border: 1px dashed var(--gold);
    border-radius: var(--radius);
    padding: 12px 18px;
    margin-bottom: 24px;
}

.admin-badge {
    background: #06111f;
    color: var(--gold);
    font-size: 11px;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
}

.btn-outline-admin {
    background: #fff;
    color: #06111f;
    border: 1px solid #06111f;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: all 150ms ease;
}

.btn-outline-admin:hover {
    background: #06111f;
    color: var(--gold);
}

.nav-admin-dropdown .nav-admin-toggle {
    color: var(--gold) !important;
    font-weight: 800;
}

.nav-dropdown-divider {
    height: 1px;
    background: var(--line);
    margin: 4px 0;
}

.dropdown-logout-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 8px 16px;
    color: var(--danger);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.dropdown-logout-btn:hover {
    background: #fff1f3;
}

/* Star rating styles */
.testimonial-rating .star-filled {
    color: var(--gold-strong);
}

.testimonial-rating .star-empty {
    color: #cbd5e1;
}

.rating-select {
    font-size: 15px;
    font-weight: 700;
    color: #06111f;
}

