/* ==========================================
   FAMILYTREESUPPORT
   Main Stylesheet
========================================== */

:root {

    --navy: #0b1f3a;
    --navy-2: #102b4e;
    --navy-3: #17385f;

    --gold: #d9a441;
    --gold-light: #f3d58b;

    --cream: #f8f5ed;
    --cream-2: #f2eee3;

    --white: #ffffff;

    --text: #1b2a3a;
    --muted: #657286;

    --border: #e5e9ef;

    --success: #2d9d78;

    --shadow-sm:
        0 8px 25px rgba(11, 31, 58, 0.07);

    --shadow:
        0 20px 60px rgba(11, 31, 58, 0.12);

    --radius: 18px;

    --container: 1180px;
}


/* ==========================================
   RESET
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {

    font-family: "DM Sans", sans-serif;

    color: var(--text);

    background: var(--white);

    line-height: 1.7;

    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
}

.container {

    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;
}


/* ==========================================
   HEADER
========================================== */

/*.site-header {*/

/*    position: sticky;*/

/*    top: 0;*/

/*    z-index: 1000;*/

/*    background:*/
/*        rgba(255, 255, 255, 0.95);*/

/*    backdrop-filter: blur(15px);*/

/*    border-bottom:*/
/*        1px solid rgba(229, 233, 239, 0.8);*/
/*}*/

/*.nav-container {*/

/*    min-height: 78px;*/

/*    display: flex;*/

/*    align-items: center;*/

/*    justify-content: space-between;*/

/*    gap: 30px;*/
/*}*/






















/* Brand */

/*.brand {*/

/*    display: flex;*/

/*    align-items: center;*/

/*    gap: 11px;*/

/*    flex-shrink: 0;*/
/*}*/

/*.brand-icon {*/

/*    width: 45px;*/
/*    height: 45px;*/

/*    display: grid;*/

/*    place-items: center;*/

/*    color: var(--white);*/

/*    background:*/
/*        linear-gradient(*/
/*            145deg,*/
/*            var(--navy),*/
/*            var(--navy-3)*/
/*        );*/

/*    border-radius: 12px;*/

/*    font-size: 21px;*/

/*    box-shadow:*/
/*        0 7px 18px rgba(11, 31, 58, 0.18);*/
/*}*/

/*.brand-text {*/

/*    display: flex;*/

/*    flex-wrap: wrap;*/

/*    align-items: center;*/

/*    line-height: 1;*/
/*}*/

/*.brand-text strong {*/

/*    color: var(--navy);*/

/*    font-size: 19px;*/

/*    font-weight: 800;*/
/*}*/

/*.brand-text > span {*/

/*    color: var(--gold);*/

/*    font-size: 19px;*/

/*    font-weight: 800;*/
/*}*/

/*.brand-text small {*/

/*    width: 100%;*/

/*    margin-top: 6px;*/

/*    color: var(--muted);*/

/*    font-size: 8px;*/

/*    letter-spacing: 1.2px;*/

/*    text-transform: uppercase;*/
/*}*/


/* Navigation */

/*.main-nav {*/

/*    display: flex;*/

/*    align-items: center;*/

/*    gap: 28px;*/
/*}*/

/*.main-nav > a {*/

/*    color: #405067;*/

/*    font-size: 14px;*/

/*    font-weight: 600;*/

/*    transition:*/
/*        color .2s ease;*/
/*}*/

/*.main-nav > a:hover {*/

/*    color: var(--navy);*/
/*}*/

/*.main-nav .nav-support {*/

/*    color: var(--white);*/

/*    background: var(--navy);*/

/*    padding: 12px 19px;*/

/*    border-radius: 9px;*/

/*    transition:*/
/*        transform .2s ease,*/
/*        background .2s ease;*/
/*}*/

/*.main-nav .nav-support:hover {*/

/*    color: var(--white);*/

/*    background: var(--navy-3);*/

/*    transform: translateY(-2px);*/
/*}*/


/* Mobile */

/*.mobile-menu-btn {*/

/*    display: none;*/

/*    width: 45px;*/
/*    height: 45px;*/

/*    border: 0;*/

/*    border-radius: 10px;*/

/*    color: var(--navy);*/

/*    background: var(--cream);*/

/*    font-size: 20px;*/
/*}*/








/* =========================================================
   FAMILYTREESUPPORT - HEADER & NAVIGATION
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: #06817c;
    border-bottom: 1px solid rgba(243, 213, 139, 0.18);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
}

/* ---------------------------------------------------------
   NAV CONTAINER
   --------------------------------------------------------- */

.site-header .nav-container {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* ---------------------------------------------------------
   ABOUT
   --------------------------------------------------------- */
   
   
.intro-section{background:#fff}
.section-heading h2{font-size:clamp(34px,4vw,48px);margin:13px 0 20px}
.intro-section p{color:var(--muted);font-size:17px;margin:13px 0}
.text-link{display:inline-flex;gap:8px;align-items:center;color:var(--green);font-weight:800;margin-top:12px; font-size:12px;}

/*.center{text-align:center;max-width:760px;margin:0 auto 45px}*/

.section-label{font-size:12px;font-weight:800;letter-spacing:.15em;color:var(--green);display:inline-flex;align-items:center;gap:8px}

/* ---------------------------------------------------------
   BRAND
   --------------------------------------------------------- */

.site-header .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    color: #ffffff;
    text-decoration: none;
}

.site-header .brand:hover {
    color: #ffffff;
}

.brand-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        #d9a441,
        #f3d58b
    );

    color: #0b1f3a;
    border-radius: 12px;
    font-size: 23px;

    box-shadow:
        0 5px 14px rgba(0, 0, 0, 0.18);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-text strong {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: #ffffff;
}

.brand-text span {
    font-size: 22px;
    font-weight: 700;
    color: #fbb508;
}

.brand-text small {
    margin-top: 5px;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: 0.35px;
    color: #fff;
}


/* ---------------------------------------------------------
   MAIN NAVIGATION
   --------------------------------------------------------- */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin-left: auto;
}

.main-nav > a,
.main-nav > .nav-dropdown > summary {
    min-height: 44px;
    padding: 0 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    border-radius: 9px;

    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;
    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


/* Normal navigation hover */

.main-nav > a:hover,
.main-nav > .nav-dropdown > summary:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
}


/* ---------------------------------------------------------
   DROPDOWN
   --------------------------------------------------------- */

.nav-dropdown {
    position: relative;
}

.nav-dropdown summary {
    list-style: none;
}

.nav-dropdown summary::-webkit-details-marker {
    display: none;
}

.nav-dropdown summary::marker {
    display: none;
}

.nav-dropdown summary i {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.nav-dropdown[open] > summary {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
}

.nav-dropdown[open] > summary i {
    transform: rotate(180deg);
}


/* ---------------------------------------------------------
   DROPDOWN PANEL
   --------------------------------------------------------- */

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);

    width: 360px;

    padding: 10px;

    background: #ffffff;

    border: 1px solid #e5e9ef;
    border-radius: 14px;

    box-shadow:
        0 18px 45px rgba(11, 31, 58, 0.18);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.18s ease,
        transform 0.18s ease,
        visibility 0.18s ease;
}


/* Small invisible bridge between summary and dropdown */

.dropdown-menu::before {
    content: "";
    position: absolute;

    top: -13px;
    left: 0;
    right: 0;

    height: 13px;
}


/* Show dropdown */

.nav-dropdown[open] .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform:
        translateX(-50%)
        translateY(0);
}


/* ---------------------------------------------------------
   DROPDOWN LINKS
   --------------------------------------------------------- */

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 12px 13px;

    border-radius: 10px;

    color: #1b2a3a;
    text-decoration: none;

    transition:
        background 0.18s ease,
        transform 0.18s ease;
}

.dropdown-menu a:hover {
    background: #f8f5ed;
    transform: translateX(2px);
}


/* Dropdown icon */

.dropdown-menu a > i {
    width: 38px;
    height: 38px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #eef3f8;
    color: #17385f;

    font-size: 15px;
}


/* Dropdown text */

.dropdown-menu a span {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.dropdown-menu a strong {
    color: #102b4e;

    font-size: 13px;
    line-height: 1.25;
    font-weight: 700;
}

.dropdown-menu a small {
    color: #657286;

    font-size: 11px;
    line-height: 1.3;
}


/* ---------------------------------------------------------
   SUPPORT BUTTON
   --------------------------------------------------------- */

.main-nav .nav-support {
    margin-left: 7px;

    padding: 0 17px;

    background: #ffba39;
    color: #0b1f3a;

    border: 1px solid #ffba39;

    font-weight: 700;

    box-shadow:
        0 5px 12px rgba(0, 0, 0, 0.12);
}

.main-nav .nav-support:hover {
    background: #f3d58b;
    color: #0b1f3a;

    transform: translateY(-1px);
}

.nav-support i {
    font-size: 13px;
}


/* ---------------------------------------------------------
   MOBILE MENU BUTTON
   --------------------------------------------------------- */

.mobile-menu-btn {
    display: none;

    width: 46px;
    height: 46px;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.08);

    color: #ffffff;

    font-size: 20px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(243, 213, 139, 0.45);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .site-header .nav-container {
        gap: 15px;
    }

    .main-nav {
        gap: 1px;
    }

    .main-nav > a,
    .main-nav > .nav-dropdown > summary {
        padding: 0 10px;
        font-size: 13px;
    }

    .main-nav .nav-support {
        padding: 0 13px;
    }

    .brand-text strong,
    .brand-text span {
        font-size: 20px;
    }
}


/* =========================================================
   MOBILE / TABLET MENU
   ========================================================= */

@media (max-width: 850px) {

    .site-header .nav-container {
        min-height: 74px;
    }

    .mobile-menu-btn {
        display: flex;
        flex-shrink: 0;
    }

    .main-nav {
        position: absolute;

        top: calc(100% + 1px);
        left: 0;
        right: 0;

        width: 100%;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        padding: 12px;

        background: #0b1f3a;

        border-top: 1px solid rgba(243, 213, 139, 0.16);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);

        box-shadow:
            0 15px 30px rgba(0, 0, 0, 0.18);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(-8px);

        transition:
            opacity 0.2s ease,
            visibility 0.2s ease,
            transform 0.2s ease;
    }

    .main-nav.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }


    /* Mobile normal links */

    .main-nav > a,
    .main-nav > .nav-dropdown > summary {
        width: 100%;
        min-height: 48px;

        justify-content: flex-start;

        padding: 0 15px;

        border-radius: 8px;

        font-size: 15px;
    }


    /* Mobile dropdown */

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown > summary {
        width: 100%;
    }

    .nav-dropdown[open] > summary {
        background: rgba(255, 255, 255, 0.08);
    }

    .dropdown-menu {
        position: static;

        width: 100%;

        margin: 4px 0 7px;

        padding: 7px;

        transform: none !important;

        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        background: #102b4e;

        border: 1px solid rgba(255, 255, 255, 0.08);

        border-radius: 10px;

        box-shadow: none;
    }

    .dropdown-menu::before {
        display: none;
    }


    /* Mobile dropdown items */

    .dropdown-menu a {
        padding: 10px;

        color: #ffffff;
    }

    .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.08);
        transform: none;
    }

    .dropdown-menu a > i {
        width: 35px;
        height: 35px;

        background: rgba(243, 213, 139, 0.12);
        color: #f3d58b;
    }

    .dropdown-menu a strong {
        color: #ffffff;
        font-size: 13px;
    }

    .dropdown-menu a small {
        color: rgba(255, 255, 255, 0.62);
        font-size: 11px;
    }


    /* Mobile support button */

    .main-nav .nav-support {
        margin: 7px 0 2px;

        justify-content: center;

        min-height: 50px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .site-header .nav-container {
        min-height: 70px;
    }

    .brand-icon {
        width: 43px;
        height: 43px;
        font-size: 20px;
        border-radius: 10px;
    }

    .brand-text strong,
    .brand-text span {
        font-size: 18px;
    }

    .brand-text small {
        font-size: 9px;
        margin-top: 4px;
    }

    .mobile-menu-btn {
        width: 44px;
        height: 44px;
    }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .brand-text small {
        display: none;
    }

    .brand-text strong,
    .brand-text span {
        font-size: 17px;
    }

    .brand-icon {
        width: 40px;
        height: 40px;
    }

    .site-header .nav-container {
        gap: 10px;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.main-nav a:focus-visible,
.nav-dropdown summary:focus-visible,
.mobile-menu-btn:focus-visible {
    outline: 3px solid #f3d58b;
    outline-offset: 2px;
}


/* Respect reduced motion */

@media (prefers-reduced-motion: reduce) {

    .site-header *,
    .site-header *::before,
    .site-header *::after {
        transition: none !important;
    }
}







/* ==========================================
   HERO
========================================== */

.hero {

    position: relative;

    overflow: hidden;

    padding:
        95px 0
        90px;

    background:

        radial-gradient(
            circle at 85% 20%,
            rgba(217, 164, 65, 0.14),
            transparent 28%
        ),

        linear-gradient(
            135deg,
            #f8fafc 0%,
            #f5f1e7 100%
        );
}

.hero-pattern {

    position: absolute;

    inset: 0;

    pointer-events: none;

    opacity: .25;

    background-image:
        linear-gradient(
            rgba(11, 31, 58, .04) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(11, 31, 58, .04) 1px,
            transparent 1px
        );

    background-size: 50px 50px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent
        );
}

.hero-grid {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, .9fr);

    align-items: center;

    gap: 70px;
}

.hero-content {

    max-width: 650px;
}

.eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 8px 13px;

    margin-bottom: 23px;

    border:
        1px solid rgba(217, 164, 65, .3);

    border-radius: 50px;

    color: #8a671d;

    background:
        rgba(217, 164, 65, .09);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.4px;
}

.eyebrow-dot {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--gold);

    box-shadow:
        0 0 0 4px rgba(217, 164, 65, .12);
}

.hero h1 {

    margin-bottom: 23px;

    color: var(--navy);

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(48px, 5.5vw, 76px);

    line-height: 1.04;

    letter-spacing: -2.4px;
}

.hero h1 span {

    display: block;

    color: var(--gold);
}

.hero-description {

    max-width: 600px;

    margin-bottom: 30px;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.8;
}

.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 13px;

    margin-bottom: 30px;
}


/* Buttons */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 51px;

    padding: 0 22px;

    border-radius: 10px;

    border: 1px solid transparent;

    font-size: 14px;

    font-weight: 700;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.btn:hover {

    transform: translateY(-2px);
}

.btn-primary {

    color: var(--white);

    background: var(--navy);

    box-shadow:
        0 12px 25px rgba(11, 31, 58, .18);
}

.btn-primary:hover {

    background: var(--navy-3);
}

.btn-secondary {

    color: var(--navy);

    background: var(--white);

    border-color: var(--border);
}

.btn-secondary:hover {

    border-color: #cdd4de;

    box-shadow: var(--shadow-sm);
}

.btn-light {

    color: var(--navy);

    background: var(--white);
}

.btn-light:hover {

    background: var(--cream);
}


/* Trust */

.hero-trust {

    display: flex;

    flex-wrap: wrap;

    gap: 17px 23px;
}

.trust-item {

    display: flex;

    align-items: center;

    gap: 7px;

    color: #607087;

    font-size: 12px;

    font-weight: 600;
}

.trust-item i {

    color: var(--success);

    font-size: 13px;
}


/* ==========================================
   HERO FAMILY TREE
========================================== */

.hero-visual {

    position: relative;

    min-height: 530px;

    display: grid;

    place-items: center;
}

.tree-card {

    position: relative;

    width: min(100%, 490px);

    padding: 27px;

    background: var(--white);

    border:
        1px solid rgba(229, 233, 239, .9);

    border-radius: 24px;

    box-shadow: var(--shadow);

    z-index: 2;
}

.tree-card-header {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    padding-bottom: 20px;

    border-bottom:
        1px solid var(--border);
}

.mini-label {

    display: block;

    margin-bottom: 3px;

    color: var(--gold);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.3px;
}

.tree-card-header h3 {

    color: var(--navy);

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 25px;
}

.tree-status {

    display: flex;

    align-items: center;

    gap: 6px;

    padding: 6px 9px;

    border-radius: 30px;

    color: #278163;

    background: #eef8f4;

    font-size: 10px;

    font-weight: 700;
}

.tree-status span {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #35ae84;
}


/* Tree */

.family-tree {

    position: relative;

    height: 350px;

    margin-top: 15px;
}

.person {

    position: absolute;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    z-index: 5;
}

.person strong {

    margin-top: 7px;

    color: var(--navy);

    font-size: 11px;
}

.person small {

    color: var(--muted);

    font-size: 9px;
}

.avatar {

    width: 49px;
    height: 49px;

    display: grid;

    place-items: center;

    border:
        3px solid var(--white);

    border-radius: 50%;

    color: var(--white);

    background:
        linear-gradient(
            145deg,
            #2c557e,
            var(--navy)
        );

    box-shadow:
        0 5px 15px rgba(11, 31, 58, .2);
}

.main-avatar {

    width: 61px;
    height: 61px;

    background:
        linear-gradient(
            145deg,
            var(--gold),
            #b98527
        );
}

.child-avatar {

    width: 55px;
    height: 55px;

    background:
        linear-gradient(
            145deg,
            #3e806f,
            #286253
        );
}

.small-avatar {

    width: 43px;
    height: 43px;

    background:
        linear-gradient(
            145deg,
            #745f84,
            #554465
        );
}

.person-grandparent.left {

    top: 18px;
    left: 16%;
}

.person-grandparent.right {

    top: 18px;
    right: 16%;
}

.person-parent {

    top: 145px;

    left: 50%;

    transform: translateX(-50%);
}

.person-child {

    top: 250px;

    left: 50%;

    transform: translateX(-50%);
}

.person-young {

    top: 327px;

    left: 50%;

    transform: translateX(-50%);
}

.tree-line {

    position: absolute;

    background: #d9c69b;

    z-index: 1;
}

.vertical-one {

    top: 72px;

    left: 50%;

    width: 1px;

    height: 73px;
}

.horizontal-one {

    top: 72px;

    left: 25%;

    width: 50%;

    height: 1px;
}

.vertical-two {

    top: 199px;

    left: 50%;

    width: 1px;

    height: 51px;
}

.vertical-three {

    top: 304px;

    left: 50%;

    width: 1px;

    height: 23px;
}


/* Tree footer */

.tree-card-footer {

    display: flex;

    justify-content: space-between;

    gap: 10px;

    padding-top: 16px;

    border-top:
        1px solid var(--border);

    color: var(--muted);

    font-size: 9px;
}

.tree-card-footer span {

    display: flex;

    align-items: center;

    gap: 5px;
}

.tree-card-footer i {

    color: var(--gold);
}


/* Floating cards */

.floating-card {

    position: absolute;

    z-index: 5;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 12px 15px;

    border-radius: 12px;

    background: var(--white);

    box-shadow:
        0 15px 35px rgba(11, 31, 58, .14);

    border:
        1px solid var(--border);
}

.floating-card strong {

    display: block;

    color: var(--navy);

    font-size: 11px;
}

.floating-card span {

    display: block;

    color: var(--muted);

    font-size: 9px;
}

.floating-icon {

    width: 32px;
    height: 32px;

    display: grid;

    place-items: center;

    border-radius: 9px;

    color: var(--white);

    background: var(--navy);
}

.floating-help {

    top: 17%;

    right: -10px;
}

.floating-sync {

    bottom: 8%;

    left: -25px;
}

.floating-sync > i {

    width: 32px;
    height: 32px;

    display: grid;

    place-items: center;

    border-radius: 9px;

    color: var(--gold);

    background: rgba(217, 164, 65, .13);
}


/* ==========================================
   SUPPORT STRIP
========================================== */

.support-strip {

    background: var(--navy);

    color: var(--white);
}

.support-strip-grid {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    min-height: 105px;
}

.support-strip strong {

    display: block;

    margin-bottom: 2px;

    font-size: 16px;
}

.support-strip span {

    color: #aebdce;

    font-size: 12px;
}

.strip-button {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 12px 17px;

    color: var(--navy);

    background: var(--gold-light);

    border-radius: 9px;

    font-size: 12px;

    font-weight: 800;

    white-space: nowrap;
}


/* ==========================================
   COMMON SECTION
========================================== */

.section {

    padding:
        60px 0;
}

.section-heading {

    max-width: 700px;

    margin-bottom: 55px;
}

.section-heading.center {

    margin-inline: auto;

    text-align: center;
}

.section-label {

    display: inline-block;

    margin-bottom: 12px;

    color: var(--gold);

    font-size: 19px;

    font-weight: 800;

    letter-spacing: 1.6px;
}

.section-heading h2,
.why-content h2,
.faq-intro h2,
.contact-content h2 {

    color: var(--navy);

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(34px, 4vw, 48px);

    line-height: 1.15;

    letter-spacing: -1px;
}

.section-heading h2 span,
.why-content h2 span,
.faq-intro h2 span,
.contact-content h2 span {

    color: var(--gold);
}

.section-heading p {

    max-width: 910px;

    margin: 14px auto 0;

    color: var(--muted);

    font-size: 15px;
}


/* ==========================================
   SERVICES
========================================== */

.services-section {

    background: #ebf8fb;
}

.services-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.service-card {

    padding: 29px;

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    background: var(--white);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.service-card:hover {

    transform: translateY(-5px);

    border-color:
        rgba(217, 164, 65, .45);

    box-shadow: var(--shadow);
}

.featured-service {

    background:
        linear-gradient(
            145deg,
            #fbf7ed,
            #fff
        );
}

.service-icon {

    width: 52px;
    height: 52px;

    display: grid;

    place-items: center;

    margin-bottom: 21px;

    border-radius: 14px;

    color: var(--gold);

    background:
        rgba(217, 164, 65, .11);

    font-size: 20px;
}

.service-card h3 {

    margin-bottom: 9px;

    color: var(--navy);

    font-size: 17px;
}

.service-card p {

    min-height: 78px;

    margin-bottom: 19px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}

.service-card a {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: var(--navy);

    font-size: 12px;

    font-weight: 800;
}

.service-card a i {

    color: var(--gold);

    transition: transform .2s ease;
}

.service-card:hover a i {

    transform: translateX(4px);
}


/* ==========================================
   SOFTWARE
========================================== */

.software-section,
.problems-section,
.contact-section {

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--navy),
            #102e52
        );
}

.software-section {

    padding: 100px 0;
}

.software-grid {

    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    gap: 80px;

    align-items: center;
}

.light-label {

    color: var(--gold-light);
}

.software-content h2 {

    margin-bottom: 20px;

    color: var(--white);

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(35px, 4vw, 50px);

    line-height: 1.15;
}

.software-content h2 span {

    color: var(--gold-light);
}

.software-content p {

    max-width: 570px;

    margin-bottom: 29px;

    color: #b7c5d6;

    font-size: 14px;
}

.software-list {

    display: grid;

    gap: 11px;
}

.software-item {

    display: grid;

    grid-template-columns: 45px 1fr 20px;

    align-items: center;

    gap: 14px;

    padding: 17px 19px;

    border:
        1px solid rgba(255, 255, 255, .1);

    border-radius: 12px;

    background:
        rgba(255, 255, 255, .045);

    transition:
        background .2s ease,
        border-color .2s ease;
}

.software-item:hover {

    background:
        rgba(255, 255, 255, .08);

    border-color:
        rgba(217, 164, 65, .35);
}

.software-number {

    color: var(--gold-light);

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 15px;
}

.software-item strong {

    display: block;

    color: var(--white);

    font-size: 13px;
}

.software-item small {

    display: block;

    color: #9eafc3;

    font-size: 10px;
}

.software-item > i {

    color: #8194aa;

    font-size: 11px;
}


/* ==========================================
   PROCESS
========================================== */

.process-section {

    background: var(--cream);
}

.process-grid {

    display: grid;

    grid-template-columns:
        1fr 60px 1fr 60px 1fr;

    align-items: center;
}

.process-step {

    text-align: center;

    position: relative;
}

.step-number {

    margin-bottom: 7px;

    color: #c7b990;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 15px;

    font-weight: 700;
}

.step-icon {

    width: 66px;
    height: 66px;

    display: grid;

    place-items: center;

    margin:
        0 auto 17px;

    border-radius: 50%;

    color: var(--gold);

    background: var(--white);

    box-shadow:
        0 10px 25px rgba(11, 31, 58, .08);

    font-size: 21px;
}

.process-step h3 {

    margin-bottom: 7px;

    color: var(--navy);

    font-size: 16px;
}

.process-step p {

    max-width: 240px;

    margin-inline: auto;

    color: var(--muted);

    font-size: 12px;
}

.process-connector {

    color: #cbbd9d;

    text-align: center;
}


/* ==========================================
   WHY
========================================== */

.why-grid {

    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    gap: 90px;

    align-items: center;
}

.why-content > p {

    max-width: 620px;

    margin:
        18px 0 30px;

    color: var(--muted);

    font-size: 14px;
}

.history-card {

    position: relative;

    max-width: 440px;

    margin-inline: auto;

    padding: 34px;

    border-radius: 25px;

    background:

        linear-gradient(
            145deg,
            #f7f2e7,
            #fff
        );

    box-shadow: var(--shadow);

    overflow: hidden;
}

.history-card::before {

    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    border-radius: 50%;

    top: -110px;
    right: -90px;

    background:
        rgba(217, 164, 65, .13);
}

.history-top {

    display: flex;

    justify-content: space-between;

    align-items: center;

    color: var(--gold);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;
}

.history-top i {

    font-size: 20px;
}

.history-line {

    height: 1px;

    margin:
        20px 0;

    background: #e4dac4;
}

.history-quote {

    max-width: 340px;

    margin-bottom: 35px;

    color: var(--navy);

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 28px;

    line-height: 1.25;
}

.history-family {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;
}

.history-family > div:not(.history-connector) {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 5px;

    color: var(--navy);

    font-size: 10px;

    font-weight: 700;
}

.history-family i {

    width: 45px;
    height: 45px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    color: var(--gold);

    background: var(--white);

    box-shadow:
        0 5px 14px rgba(11, 31, 58, .08);

    font-size: 16px;
}

.history-connector {

    width: 35px;
    height: 1px;

    background: #d6c59f;
}

.benefit-list {

    display: grid;

    gap: 20px;
}

.benefit {

    display: flex;

    gap: 15px;
}

.benefit-icon {

    flex: 0 0 43px;

    width: 43px;
    height: 43px;

    display: grid;

    place-items: center;

    border-radius: 11px;

    color: var(--gold);

    background:
        rgba(217, 164, 65, .1);
}

.benefit h3 {

    margin-bottom: 3px;

    color: var(--navy);

    font-size: 14px;
}

.benefit p {

    color: var(--muted);

    font-size: 12px;
}


/* ==========================================
   PROBLEMS
========================================== */

.problems-section {

    padding: 100px 0;
}

.problems-section .section-heading h2 {

    color: var(--white);
}

.problems-section .section-heading p {

    color: #b6c4d4;
}

.problem-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 10px;

    max-width: 950px;

    margin-inline: auto;
}

.problem-item {

    display: grid;

    grid-template-columns:
        25px 1fr 20px;

    align-items: center;

    gap: 12px;

    padding: 18px 20px;

    border:
        1px solid rgba(255,255,255,.1);

    border-radius: 10px;

    color: #d7e0ea;

    background:
        rgba(255,255,255,.035);

    font-size: 14px;

    transition:
        background .2s ease,
        transform .2s ease;
}

.problem-item:hover {

    background:
        rgba(255,255,255,.08);

    transform: translateY(-2px);
}

.problem-item > i:first-child {

    color: var(--gold-light);
}

.problem-item > i:last-child {

    color: #8195aa;

    font-size: 10px;
}


/* ==========================================
   FAQ
========================================== */

.faq-section {

    background: var(--white);
}

.faq-grid {

    display: grid;

    grid-template-columns:
        .7fr 1.3fr;

    gap: 80px;

    align-items: start;
}

.faq-intro > p {

    margin:
        18px 0 23px;

    color: var(--muted);

    font-size: 14px;
}

.text-link {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--navy);

    font-size: 12px;

    font-weight: 800;
}

.text-link i {

    color: var(--gold);
}

.faq-list {

    border-top:
        1px solid var(--border);
}

.faq-item {

    border-bottom:
        1px solid var(--border);
}

.faq-question {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 20px 0;

    border: 0;

    background: transparent;

    color: var(--navy);

    text-align: left;

    font-size: 14px;

    font-weight: 700;
}

.faq-question i {

    flex-shrink: 0;

    color: var(--gold);

    transition:
        transform .25s ease;
}

.faq-answer {

    display: grid;

    grid-template-rows: 0fr;

    transition:
        grid-template-rows .3s ease;
}

.faq-answer p {

    overflow: hidden;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.8;
}

.faq-item.active .faq-answer {

    grid-template-rows: 1fr;
}

.faq-item.active .faq-question i {

    transform: rotate(45deg);
}

.faq-item.active .faq-question {

    color: var(--gold);
}

.faq-item.active .faq-answer p {

    padding-bottom: 20px;
}


/* ==========================================
   CONTACT
========================================== */

.contact-section {

    padding: 105px 0;
}

.contact-grid {

    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    gap: 80px;

    align-items: center;
}

.contact-content h2 {

    color: var(--white);
}

.contact-content > p {

    max-width: 570px;

    margin:
        18px 0 30px;

    color: #b5c4d5;

    font-size: 14px;
}

.contact-details {

    display: grid;

    gap: 13px;
}

.contact-details a {

    display: flex;

    align-items: center;

    gap: 13px;
}

.contact-details > a > i {

    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    color: var(--gold-light);

    background:
        rgba(255,255,255,.08);
}

.contact-details small {

    display: block;

    color: #8499b0;

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.contact-details strong {

    color: var(--white);

    font-size: 12px;
}


/* Form */

.support-form {

    padding: 34px;

    border-radius: 20px;

    background: var(--white);

    box-shadow:
        0 25px 60px rgba(0,0,0,.22);
}

.form-header {

    margin-bottom: 22px;
}

.form-header > span {

    color: var(--gold);

    font-size: 19px;

    font-weight: 800;

    letter-spacing: 1.5px;
}

.form-header h3 {

    margin-top: 4px;

    color: var(--navy);

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 25px;
}

.form-row {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 13px;
}

.form-group {

    margin-bottom: 15px;
}

.form-group label {

    display: block;

    margin-bottom: 6px;

    color: #44556b;

    font-size: 14px;

    font-weight: 800;
}

.form-group input,
.form-group select,
.form-group textarea {

    width: 100%;

    padding:
        12px 13px;

    border:
        1px solid var(--border);

    border-radius: 9px;

    outline: none;

    color: var(--navy);

    background: #fbfcfd;

    font-size: 14px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {

    border-color: var(--gold);

    box-shadow:
        0 0 0 3px rgba(217,164,65,.1);
}

.form-group textarea {

    resize: vertical;

    min-height: 110px;
}

.form-button {

    width: 100%;

    border: 0;

    color: var(--white);

    background: var(--navy);
}

.form-button:hover {

    background: var(--navy-3);
}

.form-note {

    margin-top: 11px;

    color: #8792a1;

    font-size: 9px;

    line-height: 1.5;

    text-align: center;
}

.form-message {

    display: none;

    margin-top: 12px;

    padding: 10px;

    border-radius: 8px;

    color: #27765d;

    background: #edf8f4;

    font-size: 11px;

    text-align: center;
}

.form-message.show {

    display: block;
}


/* ==========================================
   FOOTER
========================================== */

.footer {

    color: #a9b7c7;

    background:
        #f5f5f5;
}

.footer-main {

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr 1.2fr;

    gap: 50px;

    padding:
        70px 0 55px;
}

.footer-logo .brand-icon {

    background: rgba(255,255,255,.1);
}

.footer-logo .brand-text strong {

    color: #102b4e;
}

.footer-brand > p {

    max-width: 310px;

    margin-top: 17px;

    color: #0b1f3a;

    font-size: 11px;
}

.footer-column {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
}

.footer-column h4 {

    margin-bottom: 5px;

    color: #17385f;

    font-size: 16px;
}

.footer-column a,
.footer-column span {

    color: #17385f;

    font-size: 14px;

    transition: color .2s ease;
}

.footer-column a:hover {

    color: #c98300;
}

.footer-bottom {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding:
        20px 0;

    border-top:
        1px solid rgba(255,255,255,.08);

    color: #6f8297;

    font-size: 9px;
}

.footer-bottom > div {

    display: flex;

    gap: 20px;
}

.footer-bottom a:hover {

    color: var(--gold-light);
}


/* ==========================================
   BACK TO TOP
========================================== */

.back-to-top {

    position: fixed;

    right: 22px;

    bottom: 22px;

    z-index: 900;

    width: 43px;
    height: 43px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    color: var(--white);

    background: var(--navy);

    box-shadow:
        0 8px 25px rgba(0,0,0,.15);

    opacity: 0;

    visibility: hidden;

    transform: translateY(10px);

    transition:
        opacity .2s ease,
        visibility .2s ease,
        transform .2s ease;
}

.back-to-top.show {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 1050px) {

    .hero-grid {

        gap: 35px;
    }

    .hero h1 {

        font-size: 58px;
    }

    .floating-help {

        right: -5px;
    }

    .floating-sync {

        left: -5px;
    }

    .software-grid,
    .why-grid,
    .contact-grid {

        gap: 50px;
    }

    .footer-main {

        grid-template-columns:
            1.3fr 1fr 1fr;
    }

    .footer-column:last-child {

        grid-column: 2;
    }
}


@media (max-width: 850px) {

    .main-nav {

        position: absolute;

        top: 78px;

        left: 20px;
        right: 20px;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 10px;

        border:
            1px solid var(--border);

        border-radius: 14px;

        background: var(--white);

        box-shadow: var(--shadow);
    }

    .main-nav.open {

        display: flex;
    }

    .main-nav > a {

        padding: 13px;

        border-radius: 8px;
    }

    .main-nav > a:hover {

        background: var(--cream);
    }

    .main-nav .nav-support {

        margin-top: 5px;

        text-align: center;
    }

    .mobile-menu-btn {

        display: grid;

        place-items: center;
    }

    .hero {

        padding-top: 70px;
    }

    .hero-grid,
    .software-grid,
    .why-grid,
    .contact-grid,
    .faq-grid {

        grid-template-columns: 1fr;
    }

    .hero-content {

        max-width: 750px;

        text-align: center;

        margin-inline: auto;
    }

    .hero-description {

        margin-inline: auto;
    }

    .eyebrow {

        justify-content: center;
    }

    .hero-buttons,
    .hero-trust {

        justify-content: center;
    }

    .hero-visual {

        max-width: 600px;

        width: 100%;

        margin-inline: auto;
    }

    .services-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

    .software-content,
    .why-content,
    .contact-content {

        max-width: 700px;

        margin-inline: auto;
    }

    .history-card {

        max-width: 550px;
    }

    .faq-intro {

        max-width: 650px;
    }

    .contact-content {

        text-align: center;
    }

    .contact-content > p {

        margin-inline: auto;
    }

    .contact-details {

        justify-items: center;
    }

    .process-grid {

        grid-template-columns:
            1fr;

        gap: 35px;
    }

    .process-connector {

        transform: rotate(90deg);
    }
}


@media (max-width: 600px) {

    .container {

        width:
            min(
                calc(100% - 28px),
                var(--container)
            );
    }

    .nav-container {

        min-height: 70px;
    }

    .main-nav {

        top: 70px;

        left: 14px;
        right: 14px;
    }

    .hero {

        padding:
            60px 0
            65px;
    }

    .hero h1 {

        font-size: 46px;

        letter-spacing: -1.5px;
    }

    .hero-description {

        font-size: 15px;
    }

    .hero-buttons {

        flex-direction: column;

        align-items: stretch;
    }

    .hero-buttons .btn {

        width: 100%;
    }

    .hero-trust {

        flex-direction: column;

        align-items: center;

        gap: 9px;
    }

    .hero-visual {

        min-height: 470px;
    }

    .tree-card {

        padding: 19px;

        border-radius: 18px;
    }

    .tree-card-header h3 {

        font-size: 21px;
    }

    .tree-card-footer {

        flex-direction: column;
    }

    .floating-card {

        display: none;
    }

    .support-strip-grid {

        flex-direction: column;

        align-items: flex-start;

        justify-content: center;

        padding:
            24px 0;
    }

    .strip-button {

        width: 100%;

        justify-content: center;
    }

    .section,
    .software-section,
    .problems-section,
    .contact-section {

        padding:
            75px 0;
    }

    .services-grid {

        grid-template-columns: 1fr;
    }

    .service-card p {

        min-height: auto;
    }

    .software-grid {

        gap: 40px;
    }

    .software-content h2,
    .section-heading h2,
    .why-content h2,
    .faq-intro h2,
    .contact-content h2 {

        font-size: 36px;
    }

    .problem-grid {

        grid-template-columns: 1fr;
    }

    .history-card {

        padding: 25px;
    }

    .history-quote {

        font-size: 24px;
    }

    .history-family {

        gap: 7px;
    }

    .history-connector {

        width: 18px;
    }

    .form-row {

        grid-template-columns: 1fr;
    }

    .support-form {

        padding: 23px 18px;
    }

    .footer-main {

        grid-template-columns:
            1fr 1fr;

        gap: 35px 25px;
    }

    .footer-brand {

        grid-column:
            1 / -1;
    }

    .footer-column:last-child {

        grid-column: auto;
    }

    .footer-bottom {

        flex-direction: column;
    }

    .footer-bottom > div {

        flex-wrap: wrap;

        gap: 10px 18px;
    }

    .brand-text small {

        font-size: 7px;

        letter-spacing: .9px;
    }
}


@media (max-width: 380px) {

    .hero h1 {

        font-size: 40px;
    }

    .family-tree {

        transform:
            scale(.9);

        transform-origin:
            top center;
    }

    .hero-visual {

        min-height: 435px;
    }
}


/* ==========================================
   ACCESSIBILITY
========================================== */

:focus-visible {

    outline:
        3px solid rgba(217, 164, 65, .55);

    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {

        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;
    }
}









/* =========================================================
   MOBILE MENU - HIGH CONTRAST FIX
   ========================================================= */

@media (max-width: 850px) {

    /* Mobile menu panel */
    .main-nav {
        background: #ffffff !important;

        border: 1px solid #dfe5ec;
        border-top: 0;

        box-shadow:
            0 18px 40px rgba(11, 31, 58, 0.18);
    }

    /* Normal mobile links */
    .main-nav > a,
    .main-nav > .nav-dropdown > summary {
        color: #102b4e !important;
        background: transparent;
    }

    /* Hover / touch state */
    .main-nav > a:hover,
    .main-nav > .nav-dropdown > summary:hover {
        color: #0b1f3a !important;
        background: #f3f6f9 !important;
    }

    /* Currently opened dropdown */
    .main-nav > .nav-dropdown[open] > summary {
        color: #0b1f3a !important;
        background: #f3f6f9 !important;
    }

    /* Arrow */
    .main-nav > .nav-dropdown > summary i {
        color: #d9a441;
    }

    /* Dropdown panel */
    .main-nav .dropdown-menu {
        background: #f8fafc !important;
        border: 1px solid #e1e7ee;
    }

    /* Dropdown links */
    .main-nav .dropdown-menu a {
        color: #102b4e !important;
        background: transparent;
    }

    .main-nav .dropdown-menu a:hover {
        color: #0b1f3a !important;
        background: #ffffff !important;
    }

    /* Dropdown headings */
    .main-nav .dropdown-menu a strong {
        color: #102b4e !important;
    }

    /* Dropdown descriptions */
    .main-nav .dropdown-menu a small {
        color: #657286 !important;
    }

    /* Dropdown icons */
    .main-nav .dropdown-menu a > i {
        color: #17385f;
        background: #eef3f8;
    }

    /* Get Support button */
    .main-nav .nav-support {
        color: #0b1f3a !important;
        background: #fdc253 !important;
        border-color: #d9a441;
    }

    .main-nav .nav-support:hover {
        color: #0b1f3a !important;
        background: #f3d58b !important;
    }
}



















