/* ================================================================
   FAMM — Global Stylesheet
   Clean Corporate + Premium
   ================================================================ */

/* --- GOOGLE FONT --- */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* --- VARIABLES --- */
:root {
    --primary: #2E3D88;
    --primary-dark: #1C2761;
    --primary-light: #3E52A8;
    --primary-faint: rgba(46,61,136,0.06);

    --white: #FFFFFF;
    --off-white: #F9F9F9;
    --warm-gray: #F3F3F5;
    --border: #E5E7EB;
    --border-light: #EFEFEF;

    --dark: #0C0F1D;
    --dark-card: #111530;

    --text: #1C1F2E;
    --text-2: #5A5E6E;
    --text-3: #8B8FA0;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.05);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.06);
    --shadow-nav: 0 1px 16px rgba(0,0,0,0.04);

    --ease: cubic-bezier(0.25,1,0.5,1);
    --ease-bounce: cubic-bezier(0.34,1.56,0.64,1);

    --radius: 0px; /* sharp corporate edges */

    --nav-h: 72px;
    --topbar-h: 38px;
}

/* --- RESET --- */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width:100%; display:block; }
a { text-decoration:none; color:inherit; }
ul, ol { list-style:none; }

/* --- CONTAINER --- */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 48px;
}

.container--sm { max-width: 960px; }
.container--md { max-width: 1100px; }

/* --- TYPOGRAPHY --- */
h1,h2,h3,h4,h5,h6 {
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.12;
    color: var(--text);
}

.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.section-label .ln {
    width: 24px;
    height: 1.5px;
    background: currentColor;
    opacity: 0.3;
}

.section-title {
    font-size: clamp(30px, 3.5vw, 48px);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-2);
    max-width: 540px;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    padding: 15px 32px;
    transition: all 0.35s var(--ease);
    letter-spacing: 0.005em;
}

.btn .arrow {
    transition: transform 0.25s var(--ease);
}

.btn:hover .arrow {
    transform: translateX(3px);
}

/* White solid */
.btn--white {
    background: var(--white);
    color: var(--primary);
}

.btn--white:hover {
    box-shadow: 0 10px 32px rgba(46,61,136,0.2);
    transform: translateY(-2px);
}

/* Navy solid */
.btn--primary {
    background: var(--primary);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 8px 28px rgba(46,61,136,0.22);
    transform: translateY(-2px);
}

/* Outline on dark */
.btn--outline-light {
    background: transparent;
    color: rgba(255,255,255,0.75);
    border: 1.5px solid rgba(255,255,255,0.15);
}

.btn--outline-light:hover {
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
}

/* Outline on light */
.btn--outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}

.btn--outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Arrow SVG */
.btn-arrow {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* --- SCROLL REVEAL --- */
[data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }

[data-reveal].revealed {
    opacity: 1;
    transform: none;
}

.delay-1 { transition-delay: 0.06s; }
.delay-2 { transition-delay: 0.12s; }
.delay-3 { transition-delay: 0.18s; }
.delay-4 { transition-delay: 0.24s; }
.delay-5 { transition-delay: 0.30s; }
.delay-6 { transition-delay: 0.36s; }

/* ================================================================
   TOPBAR
   ================================================================ */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 200;
    background: var(--off-white);
    border-bottom: 1px solid var(--border-light);
    height: var(--topbar-h);
    display: flex;
    align-items: center;
    transition: transform 0.45s var(--ease);
}

.topbar.hide { transform: translateY(-100%); }

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-3);
}

.topbar__item a {
    color: var(--text-3);
    transition: color 0.25s;
}

.topbar__item a:hover { color: var(--primary); }

.topbar__item svg {
    width: 13px;
    height: 13px;
    color: var(--text-3);
    opacity: 0.6;
    flex-shrink: 0;
}

.topbar__sep {
    width: 1px;
    height: 12px;
    background: var(--border);
}

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
    position: fixed;
    top: var(--topbar-h);
    left: 0;
    width: 100%;
    z-index: 150;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    height: var(--nav-h);
    display: flex;
    align-items: center;
    transition: all 0.45s var(--ease);
}

.navbar.pinned {
    top: 0;
    box-shadow: var(--shadow-nav);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.navbar__logo img {
    height: 46px;
    display: block;
}

.navbar__menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.navbar__menu a {
    font-size: 15.5px;
    font-weight: 500;
    color: var(--text-2);
    transition: color 0.25s;
    position: relative;
    padding: 4px 0;
}

.navbar__menu a:hover,
.navbar__menu a.active { color: var(--primary); }

/* Dropdown */
.navbar__dropdown {
    position: relative;
}

.navbar__dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.navbar__dropdown > a .chevron {
    width: 12px;
    height: 12px;
    transition: transform 0.25s;
    opacity: 0.5;
}

.navbar__dropdown:hover > a .chevron {
    transform: rotate(180deg);
}

.navbar__dropdown-menu {
    position: absolute;
    top: 100%;
    left: -16px;
    padding-top: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s var(--ease);
    z-index: 50;
}

.navbar__dropdown:hover .navbar__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.navbar__dropdown-list {
    background: var(--white);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    padding: 10px 0;
}

.navbar__dropdown-list a {
    display: block;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
    transition: all 0.2s;
}

.navbar__dropdown-list a:hover {
    background: var(--off-white);
    color: var(--primary);
}

.navbar__cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 26px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.02em;
    transition: all 0.3s var(--ease);
}

.navbar__cta:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 16px rgba(46,61,136,0.18);
}

/* Burger */
.navbar__burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
}

.navbar__burger span {
    width: 22px;
    height: 1.5px;
    background: var(--text);
    display: block;
    transition: all 0.3s;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.38);
    padding: 72px 0 36px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    gap: 52px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer__brand img {
    height: 36px;
    filter: brightness(0) invert(1);
    opacity: 0.5;
}

.footer__brand p {
    font-size: 13px;
    line-height: 1.8;
    margin-top: 16px;
    max-width: 280px;
}

.footer__col h4 {
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer__col li { margin-bottom: 12px; }

.footer__col a {
    font-size: 13px;
    color: rgba(255,255,255,0.28);
    transition: color 0.25s;
}

.footer__col a:hover { color: #fff; }

.footer__bottom {
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255,255,255,0.2);
}

/* ================================================================
   PAGE HERO (for inner pages)
   ================================================================ */
.page-hero {
    padding: 160px 0 80px;
    background: var(--dark);
    text-align: center;
}

.page-hero .section-label { color: rgba(255,255,255,0.35); }
.page-hero .section-label .ln { background: rgba(255,255,255,0.15); }

.page-hero h1 {
    font-size: clamp(34px, 4vw, 52px);
    color: var(--white);
    margin-bottom: 14px;
}

.page-hero p {
    font-size: 17px;
    color: rgba(255,255,255,0.45);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
    .container { padding: 0 32px; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }

    .topbar { display: none; }
    .navbar { top: 0; }

    .navbar__burger { display: flex; }

    .navbar__menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-top: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }

    .navbar__menu.open { display: flex; }

    .navbar__menu > li,
    .navbar__menu > a,
    .navbar__menu > .navbar__dropdown {
        padding: 14px 0;
        border-bottom: 1px solid var(--border-light);
        width: 100%;
    }

    .navbar__dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-top: 8px;
    }

    .navbar__dropdown-list {
        border: none;
        box-shadow: none;
        padding: 0 0 0 16px;
    }

    .footer__grid { grid-template-columns: 1fr; gap: 28px; }
    .footer__bottom { flex-direction: column; gap: 6px; text-align: center; }
}