:root {
    --careers-ink: #163730;
    --careers-muted: rgba(22, 55, 48, 0.7);
    --careers-border: rgba(22, 55, 48, 0.14);
    --careers-border-strong: rgba(22, 55, 48, 0.28);
}

body {
    font-family: var(--font-body);
    color: var(--color-black);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background:
        linear-gradient(180deg, rgba(242, 237, 231, 0.82) 0%, rgba(255, 255, 255, 0) 16%),
        var(--color-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.08;
}

.btn,
.nav-link,
.lang-selector,
.mobile-menu-link,
.footer-tagline {
    font-family: var(--font-heading);
}

.btn {
    border-radius: 0;
}

.page-shell {
    overflow: hidden;
}

.nav-header {
    background-color: rgba(27, 69, 60, 0.96);
    border-bottom: 0;
    backdrop-filter: blur(10px);
}

.nav-link,
.nav-header.scrolled .nav-link {
    color: var(--color-white);
}

.nav-link:hover,
.nav-link:focus,
.nav-header.scrolled .nav-link:hover,
.nav-header.scrolled .nav-link:focus {
    color: var(--color-white);
    opacity: 0.7;
}

.nav-header.scrolled {
    background-color: rgba(27, 69, 60, 0.96);
    border-bottom: 0;
}

html[lang="en"] #logo-en-dark,
html[lang="ar"] #logo-ar-dark {
    display: none !important;
}

html[lang="en"] #logo-en,
html[lang="ar"] #logo-ar {
    display: block !important;
}

.section-intro {
    max-width: 760px;
    margin-bottom: 40px;
}

.section-label,
.hero-eyebrow,
.area-tag,
.principle-index,
.process-number {
    display: inline-block;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--careers-muted);
}

.section-label,
.hero-eyebrow,
.area-tag {
    margin-bottom: 16px;
}

.section-intro h2 {
    font-size: 38px;
    color: var(--careers-ink);
    margin-bottom: 14px;
}

.section-intro p,
.mission-card p,
.setup-card p,
.area-card p,
.process-step p,
.benefit-card p,
.cta-card p {
    font-size: 18px;
    color: rgba(40, 40, 40, 0.8);
}

.hero {
    min-height: auto;
    padding: calc(var(--header-height) + 56px) 0 64px;
    background:
        linear-gradient(180deg, rgba(245, 238, 229, 0.78) 0%, rgba(255, 255, 255, 0.86) 62%, rgba(255, 255, 255, 1) 100%);
    color: var(--careers-ink);
    border-bottom: 1px solid var(--careers-border);
}

.hero::before,
.hero::after,
.cta-card::after {
    display: none;
}

.hero-grid {
    display: grid;
    gap: 40px;
}

.hero-copy {
    max-width: 880px;
}

.hero-title {
    font-size: clamp(44px, 7vw, 84px);
    letter-spacing: -0.05em;
    margin-bottom: 18px;
    max-width: 11ch;
}

.hero-description {
    max-width: 720px;
    font-size: 20px;
    line-height: 1.75;
    color: var(--careers-muted);
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 40px;
}

.hero .btn,
.cta-card .btn,
.area-card .btn {
    border-radius: 0;
    padding: 14px 22px;
    box-shadow: none;
}

.hero-actions .btn-primary,
.cta-card .btn-primary {
    background-color: var(--careers-ink);
    color: var(--color-white);
}

.hero-actions .btn-primary:hover,
.cta-card .btn-primary:hover {
    background-color: #102a24;
}

.hero-actions .btn-secondary-light {
    color: var(--careers-ink);
    border-color: var(--careers-border-strong);
}

.hero-actions .btn-secondary-light:hover {
    background-color: var(--careers-ink);
    color: var(--color-white);
}

.lang-selector,
.nav-header.scrolled .lang-selector {
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    color: var(--color-white);
}

.lang-selector:hover,
.nav-header.scrolled .lang-selector:hover {
    background: none;
    color: var(--color-white);
    border: 0;
    opacity: 0.7;
}

.lang-selector-disabled,
.nav-header.scrolled .lang-selector-disabled,
.mobile-menu-link-disabled {
    background: none;
    border: 0;
    color: var(--color-white);
    opacity: 0.42;
    cursor: default;
    pointer-events: none;
}

.lang-selector-disabled span,
.nav-header.scrolled .lang-selector-disabled span {
    color: inherit;
}

.lang-selector-disabled:hover,
.nav-header.scrolled .lang-selector-disabled:hover,
.mobile-menu-link-disabled:hover {
    background: none;
    border: 0;
    color: var(--color-white);
    opacity: 0.42;
}

.menu-button,
.nav-header.scrolled .menu-button,
.mobile-menu-close {
    width: auto;
    height: auto;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.menu-button:hover,
.nav-header.scrolled .menu-button:hover,
.mobile-menu-close:hover {
    background: none;
    transform: none;
}

.menu-icon span {
    border-radius: 0;
    background-color: var(--color-white);
}

.mobile-menu-close svg {
    stroke: var(--careers-ink);
}

.hero-notes,
.principles-grid,
.setup-grid,
.areas-grid,
.process-grid,
.benefits-grid {
    display: grid;
    gap: 24px;
}

.hero-notes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-top: 24px;
    border-top: 1px solid var(--careers-border);
}

.hero-note,
.principle-card,
.setup-card,
.area-card,
.process-step,
.benefit-card {
    padding-top: 20px;
    border-top: 1px solid var(--careers-border);
}

.hero-note strong,
.principle-card h3,
.setup-card h3,
.area-card h3,
.process-step h3,
.benefit-card h3 {
    display: block;
    font-size: 24px;
    color: var(--careers-ink);
    margin-bottom: 10px;
}

.hero-note span {
    display: block;
    font-size: 15px;
    line-height: 1.7;
    color: var(--careers-muted);
}

.mission-section,
.principles-section,
.setup-section,
.areas-section,
.process-section,
.faq-section,
.cta-section {
    padding: 80px 0;
    background: none;
}

.mission-grid {
    display: grid;
    gap: 40px;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
}

.mission-card,
.pull-quote,
.cta-card {
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: none;
}

.mission-card p + p {
    margin-top: 16px;
}

.pull-quote {
    padding-top: 20px;
    border-top: 1px solid var(--careers-border);
}

.quote-text {
    font-family: var(--font-heading);
    font-size: 30px;
    line-height: 1.28;
    color: var(--careers-ink);
    margin-bottom: 18px;
}

.quote-list,
.area-list,
.benefit-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.quote-list li,
.area-list li,
.benefit-list li {
    position: relative;
    padding-inline-start: 22px;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(40, 40, 40, 0.8);
}

.quote-list li::before,
.area-list li::before,
.benefit-list li::before {
    content: "—";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    color: var(--careers-ink);
    font-weight: 700;
}

.principles-section,
.process-section {
    border-top: 1px solid var(--careers-border);
}

.principles-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.setup-grid,
.benefits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.areas-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.faq-section {
    border-top: 1px solid var(--careers-border);
}

.faq-list {
    border-top: 1px solid var(--careers-border);
}

.faq-item {
    border-bottom: 1px solid var(--careers-border);
}

.faq-question {
    width: 100%;
    padding: 22px 0;
    background: none;
    border: 0;
    text-align: start;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--careers-ink);
}

.faq-question:focus-visible {
    outline: 2px solid var(--careers-border-strong);
    outline-offset: 6px;
}

.faq-icon {
    flex: 0 0 auto;
    font-size: 24px;
    color: var(--careers-muted);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer.active {
    padding-bottom: 20px;
}

.faq-answer p {
    max-width: 820px;
    font-size: 17px;
    line-height: 1.75;
    color: rgba(40, 40, 40, 0.8);
}

.principle-index,
.process-number {
    margin-bottom: 10px;
}

.process-section .section-intro h2,
.process-section .section-intro p,
.process-step h3,
.process-step p,
.process-number {
    color: inherit;
}

.area-list,
.benefit-list {
    margin: 18px 0 24px;
}

.area-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

.cta-section {
    border-top: 1px solid var(--careers-border);
    border-bottom: 1px solid var(--careers-border);
}

.cta-card h2 {
    font-size: clamp(32px, 5vw, 52px);
    max-width: 11ch;
    margin-bottom: 14px;
    color: var(--careers-ink);
}

.cta-card p {
    max-width: 620px;
    line-height: 1.75;
    margin-bottom: 24px;
}

.footer {
    background-color: var(--color-charcoal);
}

[dir="rtl"] body {
    direction: rtl;
}

[dir="rtl"] .nav-container,
[dir="rtl"] .nav-controls,
[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-grid {
    direction: rtl;
}

html[lang="en"] .mobile-menu {
    right: auto;
    left: -100%;
    transition: left 0.3s ease;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.1);
}

html[lang="en"] .mobile-menu.active {
    left: 0;
    right: auto;
}

html[lang="ar"] .hero-title,
html[lang="ar"] .section-intro h2,
html[lang="ar"] .quote-text,
html[lang="ar"] .cta-card h2 {
    line-height: 1.35;
}

@media (max-width: 1023px) {
    .mission-grid,
    .principles-grid,
    .setup-grid,
    .areas-grid,
    .process-grid,
    .benefits-grid,
    .hero-notes {
        grid-template-columns: 1fr 1fr;
    }

    .hero-title {
        max-width: 100%;
    }

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

@media (max-width: 767px) {
    .hero {
        padding: calc(var(--header-height) + 32px) 0 56px;
    }

    .hero-description,
    .section-intro p,
    .mission-card p,
    .cta-card p {
        font-size: 16px;
    }

    .mission-section,
    .principles-section,
    .setup-section,
    .areas-section,
    .process-section,
    .faq-section,
    .cta-section {
        padding: 64px 0;
    }

    .mission-grid,
    .principles-grid,
    .setup-grid,
    .areas-grid,
    .process-grid,
    .benefits-grid,
    .hero-notes {
        grid-template-columns: 1fr;
    }

    .section-intro h2,
    .cta-card h2 {
        font-size: 30px;
    }

    .quote-text,
    .hero-note strong,
    .principle-card h3,
    .setup-card h3,
    .area-card h3,
    .process-step h3,
    .benefit-card h3 {
        font-size: 22px;
    }

    .faq-question {
        font-size: 19px;
    }

    .faq-answer p {
        font-size: 16px;
    }
}
