/* =========================================================
   Anova Pinnacle Consulting — Global Stylesheet
   Color Palette: Navy #0a1f44  |  White #ffffff  |  Gold accent #c9a84c
   ========================================================= */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy: #0a1f44;
    --navy-mid: #112a5c;
    --navy-light: #1a3a72;
    --gold: #c9a84c;
    --gold-light: #e0c27a;
    --white: #ffffff;
    --off-white: #f4f6fb;
    --gray-100: #edf0f7;
    --gray-300: #c2c9d6;
    --gray-600: #6b7694;
    --text-dark: #0d1b35;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(10, 31, 68, 0.08);
    --shadow-md: 0 6px 24px rgba(10, 31, 68, 0.14);
    --shadow-lg: 0 16px 48px rgba(10, 31, 68, 0.2);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-display: "Playfair Display", Georgia, serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}
a {
    color: inherit;
    text-decoration: none;
}
ul {
    list-style: none;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 100px 0;
}

.section--alt {
    background: var(--off-white);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.925rem;
    letter-spacing: 0.03em;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}
.btn--primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}
.btn--outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
}

.btn--navy {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}
.btn--navy:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ---------- Header / Nav ---------- */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    padding: 0;
}

#site-header.scrolled {
    background: var(--navy);
    box-shadow: var(--shadow-md);
}

#site-header.transparent {
    background: transparent;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    padding: 0 1.5rem;
    max-width: 1160px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    line-height: 1;
}

.logo__img {
    display: block;
    height: 44px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.04em;
    position: relative;
    padding-bottom: 2px;
    transition: var(--transition);
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

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

.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.4rem;
    padding-bottom: 0.6rem!important;
    background: var(--gold);
    color: var(--navy) !important;
    border-radius: var(--radius-sm);
    font-weight: 700 !important;
    letter-spacing: 0.04em;
    line-height: 1;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--gold-light) !important;
    transform: translateY(-1px);
}

/* Header Social Icons */
.header-social {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.header-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition);
    flex-shrink: 0;
}

.header-social__link svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.header-social__link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--navy);
    padding: 1.5rem;
    gap: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav.open {
    display: flex;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--navy);
    overflow: hidden;
}

.hero__bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201, 168, 76, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 168, 76, 0.06) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
}

.hero__glow {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(201, 168, 76, 0.12) 0%,
        transparent 70%
    );
    top: -200px;
    right: -200px;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 100px;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.75rem;
}

.hero__badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero h1 em {
    font-style: normal;
    color: var(--gold);
}

.hero__lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    margin-bottom: 2.5rem;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    z-index: 2;
}

.hero__scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(201, 168, 76, 0.6)
    );
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%,
    100% {
        transform: scaleY(1);
        opacity: 1;
    }
    50% {
        transform: scaleY(0.6);
        opacity: 0.4;
    }
}

/* ---------- Stats Bar ---------- */
.stats-bar {
    background: var(--gold);
    padding: 1.5rem 0;
}

.stats-bar__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

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

.stat-item__value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.stat-item__label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(10, 31, 68, 0.65);
    margin-top: 0.25rem;
}

/* ---------- About Section ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about__visual {
    position: relative;
}

.about__card {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 3rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.about__card::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(201, 168, 76, 0.2) 0%,
        transparent 70%
    );
}

.about__card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.about__card-heading {
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.about__card-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.about__float-tag {
    position: absolute;
    top: -1.5rem;
    right: -1.5rem;
    background: var(--gold);
    color: var(--navy);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    font-weight: 700;
    font-size: 0.8rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    line-height: 1.3;
}

.about__content h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: 1.25rem;
}

.about__content p {
    color: var(--gray-600);
    margin-bottom: 1.25rem;
}

.about__pillars {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin: 1.75rem 0 2rem;
}

.about__pillar {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--gold);
}

.about__pillar-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.about__pillar-text strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.2rem;
}

.about__pillar-text span {
    font-size: 0.8rem;
    color: var(--gray-600);
}

/* ---------- Services Section ---------- */
.services-heading {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

.services-heading h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: 1rem;
}

.services-heading p {
    color: var(--gray-600);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card__icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.875rem;
    color: var(--navy);
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.7;
    flex: 1;
}

/* ---------- Mission Section ---------- */
.mission-section {
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.mission-section::before {
    content: '"';
    position: absolute;
    top: -2rem;
    left: 5%;
    font-family: var(--font-display);
    font-size: 20rem;
    color: rgba(201, 168, 76, 0.05);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.mission-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.mission-inner .section-eyebrow {
    color: var(--gold);
}

.mission-inner h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--white);
    margin-bottom: 1.5rem;
}

.mission-inner p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

.mission-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.mission-pillar {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.mission-pillar:hover {
    background: rgba(201, 168, 76, 0.08);
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-4px);
}

.mission-pillar__icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.mission-pillar h4 {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.mission-pillar p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
}

/* ---------- Why Choose Us ---------- */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.why__content h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: 1.25rem;
}

.why__content > p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.why-list__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.why-list__item:hover {
    background: var(--navy);
    transform: translateX(6px);
}

.why-list__item:hover .why-list__title {
    color: var(--white);
}
.why-list__item:hover .why-list__text {
    color: rgba(255, 255, 255, 0.65);
}

.why-list__check {
    width: 28px;
    height: 28px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8rem;
    color: var(--navy);
    font-weight: 700;
    margin-top: 1px;
}

.why-list__title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--navy);
    margin-bottom: 0.2rem;
}

.why-list__text {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.why__visual {
    position: relative;
}

.culture-card {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.culture-card::after {
    content: "";
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(201, 168, 76, 0.15) 0%,
        transparent 70%
    );
}

.culture-card h3 {
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.culture-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.culture-values {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.culture-tag {
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--gold);
    border-radius: 100px;
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

/* ---------- Careers Section ---------- */
.careers-section {
    background: var(--off-white);
}

.careers-heading {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

.careers-heading h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: 1rem;
}

.careers-heading p {
    color: var(--gray-600);
}

.careers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.career-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.career-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 168, 76, 0.3);
}

.career-card__type {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(201, 168, 76, 0.1);
    border-radius: 100px;
    padding: 0.25rem 0.75rem;
    width: fit-content;
}

.career-card h3 {
    font-size: 1.05rem;
    color: var(--navy);
    line-height: 1.3;
}

.career-card p {
    color: var(--gray-600);
    font-size: 0.875rem;
    flex: 1;
}

.career-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--navy);
    transition: var(--transition);
}

.career-card__link:hover {
    color: var(--gold);
    gap: 0.6rem;
}

.careers-cta {
    text-align: center;
    margin-top: 3.5rem;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(201, 168, 76, 0.08) 0%,
        transparent 70%
    );
}

.cta-banner__eyebrow {
    margin-bottom: 1rem;
}

.cta-banner h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    margin: 0 auto 2.5rem;
}

.cta-banner__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Footer ---------- */
#site-footer {
    background: var(--navy);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 2rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.875rem;
    line-height: 1.7;
    max-width: 260px;
}

.footer-address {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.875rem;
    font-style: normal;
    line-height: 1.7;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.footer-col h4 {
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--gold);
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.footer-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.55);
    transition: var(--transition);
    flex-shrink: 0;
}

.footer-social__link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-social__link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
    background: var(--navy);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201, 168, 76, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 168, 76, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
}

.page-hero__content {
    position: relative;
    z-index: 1;
}

.page-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 1.25rem;
}

.page-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.45);
    transition: var(--transition);
}

.page-hero__breadcrumb a:hover {
    color: var(--gold);
}

.page-hero__breadcrumb span {
    color: rgba(255, 255, 255, 0.25);
}

.page-hero h1 {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    color: var(--white);
    margin-bottom: 1rem;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.05rem;
    max-width: 540px;
}

/* ---------- Apply Page ---------- */
.apply-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
    padding: 80px 0;
}

.apply-sidebar {
    position: sticky;
    top: 100px;
}

.apply-sidebar h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.apply-sidebar p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.apply-sidebar__positions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.position-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy);
}

.position-tag::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

/* Application Form */
.apply-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}

.form-section-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-100);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.form-group label .required {
    color: var(--gold);
    margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-dark);
    background: var(--white);
    transition: var(--transition);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(10, 31, 68, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7694'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 16px;
    padding-right: 2.5rem;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    margin-bottom: 1.25rem;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 1px;
    accent-color: var(--navy);
    cursor: pointer;
}

.form-checkbox span {
    font-size: 0.825rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.form-checkbox a {
    color: var(--navy);
    font-weight: 600;
    text-decoration: underline;
}

.form-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.form-disclaimer {
    font-size: 0.75rem;
    color: var(--gray-600);
    max-width: 320px;
}

/* Success Toast */
#success-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.75rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 380px;
    transform: translateY(120%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

#success-toast.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

#success-toast .toast-icon {
    width: 36px;
    height: 36px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

#success-toast .toast-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--white);
}

#success-toast .toast-msg {
    font-size: 0.825rem;
    color: rgba(255, 255, 255, 0.7);
}

#success-toast .toast-close {
    position: absolute;
    top: 0.75rem;
    right: 0.875rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    background: none;
    border: none;
    transition: var(--transition);
}

#success-toast .toast-close:hover {
    color: var(--white);
}

/* ---------- Legal Pages (T&C, Privacy) ---------- */
.legal-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 4rem;
    align-items: start;
    padding: 80px 0;
}

.legal-toc {
    position: sticky;
    top: 100px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    border: 1px solid var(--gray-100);
}

.legal-toc h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.legal-toc ul {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.legal-toc ul a {
    font-size: 0.825rem;
    color: var(--gray-600);
    transition: var(--transition);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: block;
}

.legal-toc ul a:hover,
.legal-toc ul a.active {
    color: var(--navy);
    background: var(--gray-100);
}

.legal-content h2 {
    font-size: 1.6rem;
    color: var(--navy);
    margin: 2.5rem 0 1rem;
    padding-top: 0.5rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin: 1.75rem 0 0.75rem;
}

.legal-content p {
    color: var(--gray-600);
    font-size: 0.925rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content ul li {
    color: var(--gray-600);
    font-size: 0.925rem;
    margin-bottom: 0.4rem;
    line-height: 1.7;
}

.legal-effective-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 100px;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 2rem;
}

/* ---------- Scroll-reveal Animation ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal-delay="1"] {
    transition-delay: 0.1s;
}
[data-reveal-delay="2"] {
    transition-delay: 0.2s;
}
[data-reveal-delay="3"] {
    transition-delay: 0.3s;
}
[data-reveal-delay="4"] {
    transition-delay: 0.4s;
}
[data-reveal-delay="5"] {
    transition-delay: 0.5s;
}

/* ---------- Form Error States ---------- */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.08);
}

.field-error {
    font-size: 0.75rem;
    color: #e53e3e;
    margin-top: 0.35rem;
}

/* ---------- Spinner ---------- */
.btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(10, 31, 68, 0.2);
    border-top-color: var(--navy);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: none;
}

.btn.loading .btn-spinner {
    display: block;
}
.btn.loading .btn-text {
    opacity: 0.7;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- Skip Link (accessibility) ---------- */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: var(--gold);
    color: var(--navy);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.875rem;
    z-index: 9999;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 1rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about-grid,
    .why-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about__visual {
        order: -1;
    }
    .about__float-tag {
        top: 1rem;
        right: 1rem;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .careers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .stats-bar__inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }
    .nav-links {
        display: none;
    }
    .header-social {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .careers-grid {
        grid-template-columns: 1fr;
    }
    .mission-pillars {
        grid-template-columns: 1fr;
    }
    .apply-layout {
        grid-template-columns: 1fr;
    }
    .apply-sidebar {
        position: static;
    }
    .legal-layout {
        grid-template-columns: 1fr;
    }
    .legal-toc {
        position: static;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .stats-bar__inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-submit-row {
        flex-direction: column;
        align-items: stretch;
    }
    .form-submit-row .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .stats-bar__inner {
        grid-template-columns: 1fr 1fr;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================================
   Image placements
   ============================================================ */

/* --- Hero background photo --- */
.hero__bg-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__bg-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 90%;
    opacity: 0.18;
}

/* --- About / Mission card with photo --- */
.about__card--photo {
    padding: 0;
    overflow: hidden;
    min-height: 480px;
}
.about__card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: absolute;
    inset: 0;
}
.about__card--photo {
    position: relative;
}
.about__card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(
        to top,
        rgba(10, 31, 68, 0.95) 0%,
        rgba(10, 31, 68, 0.5) 70%,
        transparent 100%
    );
    z-index: 1;
}

/* --- Why Us culture card with photo --- */
.culture-card--photo {
    padding: 0;
    overflow: hidden;
    position: relative;
    min-height: 480px;
}
.culture-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: absolute;
    inset: 0;
    opacity: 0.45;
}
.culture-card__body {
    position: relative;
    z-index: 1;
    padding: 2.5rem;
}

/* --- Careers banner photo --- */
.careers-banner {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 3.5rem;
}
.careers-banner__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
}
.careers-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 31, 68, 0.65) 0%,
        rgba(10, 31, 68, 0.2) 100%
    );
}

@media (max-width: 768px) {
    .careers-banner {
        height: 220px;
    }
    .about__card--photo {
        min-height: 360px;
    }
    .culture-card--photo {
        min-height: 380px;
    }
}

/* =========================================================
   Mobile Enhancements & Safe-Area Support
   ========================================================= */

/* iOS notch / safe area support */
.header-inner {
    padding-left: max(1.5rem, env(safe-area-inset-left));
    padding-right: max(1.5rem, env(safe-area-inset-right));
}

#site-footer .container {
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
}

/* Minimum touch target size (44x44px per WCAG) */
.nav-links a,
.nav-cta,
.btn,
.hamburger,
.header-social__link,
.footer-social__link,
.career-card__link,
.footer-col ul a {
    min-height: 44px;
}

.hamburger {
    min-width: 44px;
    display: none;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    /* Larger readable body text on mobile */
    body {
        font-size: 16px;
    }

    /* Hero improvements on mobile */
    .hero {
        min-height: 100svh; /* use small viewport height for mobile browsers */
        padding-top: 76px;
    }

    .hero__content {
        padding: 2rem 0 4rem;
    }

    .hero__lead {
        font-size: 1rem;
    }

    /* Make buttons full-width on small screens */
    .hero__actions .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* Stats bar single column on very small screens */
    .stat-item__value {
        font-size: 1.6rem;
    }

    /* Service and career cards full padding on mobile */
    .service-card,
    .career-card {
        padding: 1.75rem;
    }

    /* Apply page sidebar hidden above form on mobile */
    .apply-sidebar__positions {
        display: none;
    }

    /* Wider form fields on mobile */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* prevents iOS auto-zoom on focus */
        min-height: 48px;
    }

    .form-group textarea {
        min-height: 110px;
    }

    /* Toast full-width on mobile */
    #success-toast {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        max-width: none;
    }

    /* Page hero padding on mobile */
    .page-hero {
        padding: 110px 0 60px;
    }

    /* Footer brand section centered */
    .footer-brand p {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 56px 0;
    }

    .apply-form-card {
        padding: 1.5rem;
    }

    .about__card-overlay {
        padding: 1.5rem;
    }

    .culture-card__body {
        padding: 1.75rem;
    }

    .mission-pillar {
        padding: 1.25rem 1rem;
    }

    .cta-banner {
        padding: 60px 0;
    }

    /* Prevent text from being too small */
    .section-eyebrow {
        font-size: 0.7rem;
    }
}
