/* =============================================
   FRIM CONSULTING SERVICES LTD. — styles.css
   Light / Professional White & Blue Theme
   Fonts: Cormorant Garamond + DM Sans
============================================= */

/* =============================================
   1. CSS VARIABLES (Design Tokens)
============================================= */
:root {
    /* Colors */
    --navy:       #0B2240;
    --blue:       #1558A8;
    --blue-light: #2575C4;
    --accent:     #1EC8E7;
    --white:      #FFFFFF;
    --off-white:  #F4F8FF;
    --light:      #EBF2FF;
    --border:     #D4E3F5;
    --text:       #0B2240;
    --body:       #445574;
    --muted:      #7A90AA;

    /* Typography */
    --font-display: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs:  0.5rem;
    --space-sm:  1rem;
    --space-md:  2rem;
    --space-lg:  4rem;
    --space-xl:  6rem;
    --space-2xl: 8rem;

    /* Layout */
    --container: 1180px;
    --radius:    12px;
    --radius-sm: 6px;
    --radius-pill: 999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(11,34,64,0.07);
    --shadow-md: 0 8px 28px rgba(11,34,64,0.10);
    --shadow-lg: 0 20px 60px rgba(11,34,64,0.14);

    /* Transitions */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition: 0.28s var(--ease);
}

/* =============================================
   2. RESET & BASE
============================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--body);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul { list-style: none; }

a {
    color: var(--blue);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover { color: var(--blue-light); }

/* =============================================
   3. TYPOGRAPHY
============================================= */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin-bottom: var(--space-sm); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.75rem); margin-bottom: 0.75rem; }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; color: var(--text); margin-bottom: 0.5rem; letter-spacing: 0; }
h6 { font-size: 0.75rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--space-sm); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text);
    font-weight: 400;
}

/* Label / Section Tag */
.label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--light);
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1rem;
}

/* =============================================
   4. LAYOUT
============================================= */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-xl) 0;
}

.bg--light {
    background: var(--off-white);
}

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-lg);
}

.section-head p {
    color: var(--muted);
    font-size: 1.05rem;
}

/* =============================================
   5. BUTTONS
============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.btn--primary:hover {
    background: var(--blue-light);
    border-color: var(--blue-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(21, 88, 168, 0.3);
}

.btn--ghost {
    background: transparent;
    color: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.4);
}

.btn--ghost:hover {
    background: rgba(255,255,255,0.12);
    color: var(--white);
    border-color: rgba(255,255,255,0.7);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* =============================================
   6. NAVIGATION
============================================= */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.nav--scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 0.85rem 0;
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.nav__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav__logo img {
    height: 38px;
    width: auto;
    transition: filter var(--transition);
}

.nav__logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
}

.nav--scrolled .nav__logo-text {
    color: var(--navy);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav__link:hover {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

/* Scrolled state — dark links */
.nav--scrolled .nav__link {
    color: var(--body);
}

.nav--scrolled .nav__link:hover {
    color: var(--blue);
    background: var(--light);
}

/* CTA button in nav */
.nav__cta {
    background: var(--blue) !important;
    color: var(--white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
}

.nav__cta:hover {
    background: var(--blue-light) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
}

.nav--scrolled .nav__cta {
    color: var(--white) !important;
}

/* Hamburger */
.nav__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.nav__burger:hover {
    background: rgba(255,255,255,0.1);
}

.nav--scrolled .nav__burger:hover {
    background: var(--light);
}

.nav__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255,255,255,0.9);
    border-radius: 2px;
    transition: all var(--transition);
    transform-origin: center;
}

.nav--scrolled .nav__burger span {
    background: var(--navy);
}

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: var(--space-sm) 0;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
}

.mobile-menu--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
}

.mobile-menu a {
    display: block;
    padding: 0.9rem var(--space-md);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition), color var(--transition);
}

.mobile-menu a:hover {
    background: var(--light);
    color: var(--blue);
}

/* =============================================
   7. HERO
============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(155deg, var(--navy) 0%, #0d3572 50%, #1558A8 100%);
    padding: 8rem 0 6rem;
    overflow: hidden;
}

/* CSS Grid pattern overlay */
.hero__grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
}

/* Radial glow */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 70vw;
    height: 70vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30,200,231,0.08) 0%, transparent 65%);
    pointer-events: none;
}

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

/* Badge */
.hero__badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(30,200,231,0.12);
    border: 1px solid rgba(30,200,231,0.3);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1.5rem;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero__title em {
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
}

.hero__title-line {
    white-space: nowrap;
}

.hero__subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: rgba(255,255,255,0.72);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

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

/* Wave */
.hero__wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero__wave svg {
    width: 100%;
    height: 80px;
}

/* Hero Load Animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    animation: revealUp 0.7s var(--ease) forwards;
}

.reveal--d1 { animation-delay: 0.15s; }
.reveal--d2 { animation-delay: 0.3s; }
.reveal--d3 { animation-delay: 0.45s; }

@keyframes revealUp {
    to { opacity: 1; transform: translateY(0); }
}

/* =============================================
   8. SCROLL FADE-IN ANIMATIONS
============================================= */
.fade-in {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger siblings */
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.1s; }
.fade-in:nth-child(6) { transition-delay: 0.2s; }
.fade-in:nth-child(7) { transition-delay: 0.3s; }
.fade-in:nth-child(8) { transition-delay: 0.1s; }
.fade-in:nth-child(9) { transition-delay: 0.2s; }
.fade-in:nth-child(10) { transition-delay: 0.3s; }
.fade-in:nth-child(11) { transition-delay: 0.1s; }
.fade-in:nth-child(12) { transition-delay: 0.2s; }

/* =============================================
   9. ABOUT
============================================= */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about__text h2 {
    margin-top: 0.5rem;
}

.about__text .lead {
    margin-bottom: 1rem;
}

/* Checklist */
.checklist {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.95rem;
    color: var(--body);
}

.checklist li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: var(--light);
    color: var(--blue);
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 700;
    margin-top: 2px;
}

/* Stats */
.about__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.stat {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: box-shadow var(--transition), transform var(--transition);
}

.stat:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.stat__num {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat__lbl {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* =============================================
   10. SERVICES
============================================= */
.services__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    transition: box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* Featured card (Credit Risk) */
.service-card--featured {
    border-top: 4px solid var(--blue);
    position: relative;
    overflow: hidden;
}

.service-card--featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--accent));
}

.service-card__icon {
    width: 56px;
    height: 56px;
    background: var(--light);
    color: var(--blue);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background var(--transition), color var(--transition);
}

.service-card:hover .service-card__icon {
    background: var(--blue);
    color: var(--white);
}

.service-card h3 {
    color: var(--text);
    margin-bottom: 1rem;
}

.card-link {
    display: inline-block;
    margin-top: 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blue);
    transition: gap var(--transition), color var(--transition);
}

.card-link:hover {
    color: var(--blue-light);
    gap: 0.75rem;
}

/* =============================================
   11. FEATURES
============================================= */
.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.feature-card:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-card h4 {
    color: var(--text);
    margin-bottom: 0.6rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--body);
    line-height: 1.65;
    margin: 0;
}

/* =============================================
   12. WHY US
============================================= */
.whyus__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.why-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    transition: box-shadow var(--transition), transform var(--transition);
}

.why-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.why-card__num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--light);
    line-height: 1;
    margin-bottom: 1rem;
    display: block;
}

.why-card h4 {
    color: var(--text);
    margin-bottom: 0.6rem;
    font-size: 1rem;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--body);
    line-height: 1.65;
    margin: 0;
}

/* =============================================
   13. CONTACT
============================================= */
.contact {
    background: var(--white);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-xl);
    align-items: start;
}

.contact__info .label { margin-bottom: 0.75rem; }
.contact__info h2 { margin-bottom: 1.25rem; }
.contact__info > p { color: var(--body); margin-bottom: 2rem; }

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

.contact__item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.contact__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    background: var(--light);
    color: var(--blue);
    border-radius: 8px;
    margin-top: 1px;
}

.contact__item a,
.contact__item span {
    font-size: 0.93rem;
    color: var(--body);
    line-height: 1.5;
}

.contact__item a:hover { color: var(--blue); }

/* Form */
.contact__form-wrap {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

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

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.req { color: var(--blue); }

input, textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.93rem;
    color: var(--text);
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    -webkit-appearance: none;
}

input::placeholder, textarea::placeholder { color: var(--muted); }

input:focus, textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(21,88,168,0.12);
}

input.error, textarea.error {
    border-color: #E53E3E;
    box-shadow: 0 0 0 3px rgba(229,62,62,0.1);
}

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

.form-note {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 0.85rem;
    text-align: center;
    margin-bottom: 0;
}

.form-note a { color: var(--blue); }

.form-success {
    display: none;
    margin-top: 1rem;
    padding: 0.85rem 1.25rem;
    background: #EBF8F0;
    color: #276749;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

/* =============================================
   14. FOOTER
============================================= */
.footer {
    background: var(--navy);
    color: rgba(255,255,255,0.65);
    padding: var(--space-lg) 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.8fr 1fr;
    gap: var(--space-lg);
    padding-bottom: var(--space-lg);
}

.footer__legalnotice {
    padding: var(--space-sm) 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer__legalnotice p {
    font-size: 0.78rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

.footer__logo {
    height: 36px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer__logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    display: block;
    margin-bottom: 1rem;
}

.footer__brand p {
    font-size: 0.88rem;
    line-height: 1.6;
    max-width: 260px;
    color: rgba(255,255,255,0.5);
}

.footer__col h6 {
    color: rgba(255,255,255,0.5);
    margin-bottom: 1.25rem;
}

.footer__col ul {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer__col a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    transition: color var(--transition);
}

.footer__col a:hover { color: var(--white); }

.footer__bottom {
    padding: 1.25rem 0;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

.footer__bottom a {
    color: rgba(255,255,255,0.5);
}

.footer__bottom a:hover { color: var(--white); }

/* =============================================
   15. RESPONSIVE — TABLET (≤1024px)
============================================= */
@media (max-width: 1024px) {
    .whyus__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }

    .footer__brand {
        grid-column: 1 / -1;
    }
}

/* =============================================
   16. RESPONSIVE — MOBILE (≤768px)
============================================= */
@media (max-width: 768px) {
    :root {
        --space-xl: 4rem;
    }

    /* Nav */
    .nav__links { display: none; }
    .nav__burger { display: flex; }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 7rem 0 5rem;
        text-align: center;
    }

    .hero__title-line {
        white-space: normal;
    }

    .hero__content { max-width: 100%; }
    .hero__subtitle { margin-left: auto; margin-right: auto; }
    .hero__actions { justify-content: center; }

    /* About */
    .about__grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

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

    /* Services */
    .services__grid {
        grid-template-columns: 1fr;
    }

    /* Features */
    .features__grid {
        grid-template-columns: 1fr;
    }

    /* Why Us */
    .whyus__grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact__grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .contact__form-wrap {
        padding: 1.75rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

@media (max-width: 480px) {
    .about__stats {
        grid-template-columns: 1fr 1fr;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .btn { width: 100%; justify-content: center; }
    .btn--ghost { width: auto; }

    .section-head { text-align: left; }
}

/* =============================================
   17. VISION / MISSION / VALUES
============================================= */
.mission__values {
    margin-top: var(--space-lg);
}

/* =============================================
   18. PAGE BANNER (sub-pages)
============================================= */
.page-banner {
    background: linear-gradient(155deg, var(--navy) 0%, #0d3572 50%, #1558A8 100%);
    padding: 9rem 0 3.5rem;
    text-align: center;
}

.page-banner h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--white);
    margin-bottom: 0.75rem;
}

.page-banner p {
    color: rgba(255,255,255,0.72);
    font-size: 1.05rem;
    margin: 0;
}

.page-banner .hero__badge {
    margin-bottom: 1.25rem;
}

/* =============================================
   19. NARROW CONTENT WRAPPER (Careers / Legal pages)
============================================= */
.narrow {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.section-head--left {
    text-align: left;
    margin: 0 0 var(--space-lg);
    max-width: none;
}

/* =============================================
   20. LEGAL CONTENT (Privacy / Cookie / Terms)
============================================= */
.legal-content h2 {
    font-size: 1.4rem;
    margin-top: 2.25rem;
    margin-bottom: 0.75rem;
}

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

.legal-content p {
    color: var(--body);
}

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

.legal-content li {
    color: var(--body);
    margin-bottom: 0.4rem;
}

/* =============================================
   21. NOTICE BOX (Careers — vacancies)
============================================= */
.notice-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--blue);
    border-radius: var(--radius);
    padding: 1.75rem 2rem;
}

.notice-box p:last-child {
    margin-bottom: 0;
}

/* =============================================
   22. ACTIVE NAV LINK
============================================= */
.nav__link--active {
    color: var(--white);
    background: rgba(255,255,255,0.14);
}

.nav--scrolled .nav__link--active {
    color: var(--blue);
    background: var(--light);
}

/* =============================================
   23. CONTACT MAP
============================================= */
.contact__map {
    margin-top: var(--space-lg);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.contact__map iframe {
    display: block;
}

/* =============================================
   24. BLOG
============================================= */
.blog__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: box-shadow var(--transition), transform var(--transition);
}

.blog-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.blog-card__date {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.blog-card h3 {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.blog-card p {
    font-size: 0.93rem;
    color: var(--body);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.blog__more {
    text-align: center;
    margin-top: var(--space-lg);
    color: var(--muted);
    font-size: 0.95rem;
}

/* =============================================
   25. BADGE LIST (IT Consulting — Expertise / Technologies)
============================================= */
.badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.25rem;
}

.badge-list .badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--blue);
    background: var(--light);
    border: 1px solid var(--border);
    padding: 0.45rem 1rem;
    border-radius: var(--radius-pill);
}

.badge-list--tech .badge {
    color: var(--text);
    background: var(--off-white);
}

#why-choose .lead {
    margin-top: 1.5rem;
}

/* =============================================
   26. CTA SECTION
============================================= */
.cta-section {
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .page-banner {
        padding: 7.5rem 0 3rem;
    }

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