/* ============================================================
   TOKENS — deep forest / ochre / dusty mauve / warm ivory
============================================================ */
:root {
    --cream: #F5EFE8;
    --cream-2: #EBE2D8;
    --paper: #FCF9F5;
    --navy: #4a3f70;
    --navy-2: #373e86;
    --terracotta: #C47A3A;
    --terracotta-light: #D89A5A;
    --seafoam: #bc3f7d;
    --seafoam-2: #c53171;
    --ink: #1A1A12;
    --line: rgba(26, 26, 18, 0.12);
    --radius-lg: 26px;
    --radius-md: 16px;
    --shadow-1: 0 24px 55px -28px rgba(45, 58, 42, .4);
    --serif: "Spectral", serif;
    --sans: "DM Sans", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    background: var(--cream);
    color: var(--ink);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--terracotta);
    color: #fff;
}

h1,
h2,
h3,
h4,
.font-serif {
    font-family: var(--serif);
    font-weight: 600;
}

.eyebrow {
    font-family: var(--sans);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .72rem;
    font-weight: 700;
    color: var(--terracotta);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--seafoam-2);
}

.section-pad {
    padding: 6.5rem 0;
}

@media(max-width:767px) {
    .section-pad {
        padding: 4rem 0;
    }
}

.btn-terra {
    background: var(--terracotta);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: .85rem 1.9rem;
    font-weight: 700;
    font-size: .92rem;
    box-shadow: 0 14px 26px -12px rgba(196, 122, 58, .5);
    transition: .35s ease;
}

.btn-terra:hover {
    background: var(--navy);
    color: #fff;
    transform: translateY(-2px);
}

.btn-navy-line {
    border: 1.5px solid var(--navy);
    color: var(--navy);
    border-radius: 10px;
    padding: .8rem 1.8rem;
    font-weight: 700;
    font-size: .92rem;
    background: transparent;
    transition: .35s ease;
}

.btn-navy-line:hover {
    background: var(--navy);
    color: var(--cream);
}

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--terracotta);
    border-radius: 10px;
}

#scrollProgress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--terracotta), var(--seafoam));
    z-index: 2000;
    width: 0%;
}

/* ============================================================
   MINIMAL NAV + FULLSCREEN OVERLAY MENU
============================================================ */
.nav-minimal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 150;
    padding: 1.3rem 0;
    transition: .4s ease;
}

.nav-minimal.scrolled {
    background: rgba(245, 239, 232, .92);
    backdrop-filter: blur(14px);
    box-shadow: 0 4px 24px -12px rgba(45, 58, 42, .18);
    padding: .8rem 0;
}

.nav-minimal .row-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-min {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--navy);
    text-decoration: none;
}

.menu-trigger {
    display: flex;
    align-items: center;
    gap: .7rem;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-trigger .bars {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-trigger .bars span {
    width: 26px;
    height: 2px;
    background: var(--navy);
    display: block;
    transition: .3s ease;
}

.menu-trigger span.txt {
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--navy);
}

.overlay-menu {
    position: fixed;
    inset: 0;
    background: var(--navy);
    z-index: 2500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: .5s cubic-bezier(.4, 0, .2, 1);
}

.overlay-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.overlay-menu .close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--cream);
    font-size: 1.8rem;
    cursor: pointer;
}

.overlay-menu a {
    color: var(--cream);
    font-family: var(--serif);
    font-size: clamp(2rem, 5vw, 3.2rem);
    text-decoration: none;
    margin: .5rem 0;
    position: relative;
    transition: .3s ease;
}

.overlay-menu a:hover {
    color: var(--terracotta-light);
}

.overlay-menu .ov-cta {
    margin-top: 2rem;
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 700;
    background: var(--terracotta);
    color: #fff;
    padding: .9rem 2.2rem;
    border-radius: 10px;
}

/* ============================================================
   HERO — orbit visual
============================================================ */
.hero-v4 {
    position: relative;
    padding: 9rem 0 5rem;
    overflow: hidden;
    background: var(--cream);
}

.hero-blob {
    position: absolute;
    width: 640px;
    height: 640px;
    border-radius: 44% 56% 60% 40% / 50% 45% 55% 50%;
    background: linear-gradient(150deg, var(--seafoam), var(--navy-2));
    opacity: .16;
    top: -160px;
    right: -160px;
}

.hero-title4 {
    font-size: clamp(2.5rem, 5.2vw, 4.4rem);
    line-height: 1.06;
    color: var(--navy);
}

.hero-title4 em {
    font-style: italic;
    color: var(--terracotta);
}

.orbit-wrap {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1/1;
    margin: 0 auto;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(150deg, var(--navy), var(--navy-2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    text-align: center;
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: var(--shadow-1);
    z-index: 3;
    padding: 1rem;
}

.orbit-ring {
    position: absolute;
    inset: 0;
    border: 1.5px dashed rgba(45, 58, 42, .25);
    border-radius: 50%;
}

.orbit-node {
    position: absolute;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--shadow-1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: .68rem;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    z-index: 2;
    animation: pulseNode 4s ease-in-out infinite;
}

.orbit-node i {
    font-size: 1.2rem;
    color: var(--terracotta);
    margin-bottom: .2rem;
}

@keyframes pulseNode {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.on-1 {
    top: 0;
    left: 50%;
    margin-left: -44px;
}

.on-2 {
    top: 22%;
    right: -6%;
}

.on-3 {
    bottom: 22%;
    right: -6%;
}

.on-4 {
    bottom: 0;
    left: 50%;
    margin-left: -44px;
}

.on-5 {
    bottom: 22%;
    left: -6%;
}

.on-6 {
    top: 22%;
    left: -6%;
}

/* ============================================================
   ABOUT — expandable stack
============================================================ */
.expand-stack .exp-item {
    border-bottom: 1px solid var(--line);
    padding: 1.6rem 0;
    cursor: pointer;
}

.expand-stack .exp-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.expand-stack .exp-head h4 {
    font-size: 1.4rem;
    margin: 0;
    transition: .3s ease;
}

.expand-stack .exp-item.active .exp-head h4 {
    color: var(--terracotta);
}

.expand-stack .exp-num {
    font-family: var(--serif);
    color: var(--seafoam-2);
    font-size: 1.1rem;
    font-weight: 700;
    margin-right: .8rem;
}

.expand-stack .exp-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s ease;
}

.expand-stack .exp-item.active .exp-icon {
    background: var(--terracotta);
    border-color: var(--terracotta);
    color: #fff;
}

.expand-stack .exp-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
}

.expand-stack .exp-item.active .exp-body {
    max-height: 200px;
}

.expand-stack .exp-body p {
    color: #4a4a42;
    padding-top: 1rem;
    margin-bottom: 0;
    max-width: 560px;
}

/* ============================================================
   WHY CHOOSE — orbit / mind-map
============================================================ */
.mindmap {
    position: relative;
    padding: 3rem 0;
}

.mindmap-center {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 2.5rem;
    box-shadow: var(--shadow-1);
}

.mm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(390px, 1fr));
    gap: 1.2rem;
}

.mm-node {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: .35s ease;
}

.mm-node:hover {
    border-color: var(--terracotta);
    transform: translateY(-6px);
    box-shadow: var(--shadow-1);
}

.mm-node i {
    font-size: 1.5rem;
    color: var(--seafoam-2);
    margin-bottom: .6rem;
    display: block;
}

.mm-node h6 {
    font-family: var(--serif);
    font-weight: 700;
    margin-bottom: .4rem;
}

.mm-node p {
    font-size: .85rem;
    color: #4a4a42;
    margin: 0;
}

/* ============================================================
   SERVICES — masonry columns
============================================================ */
.masonry {
    column-count: 4;
    column-gap: 1.2rem;
}

@media(max-width:1199px) {
    .masonry {
        column-count: 3;
    }
}

@media(max-width:767px) {
    .masonry {
        column-count: 2;
    }
}

@media(max-width:480px) {
    .masonry {
        column-count: 1;
    }
}

.mas-card {
    break-inside: avoid;
    margin-bottom: 1.2rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: .35s ease;
}

.mas-card:hover {
    border-color: var(--terracotta);
    box-shadow: var(--shadow-1);
    transform: translateY(-4px);
}

.mas-card .mc-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--cream-2);
    color: var(--terracotta);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: .8rem;
}

.mas-card h6 {
    font-family: var(--serif);
    font-weight: 700;
}

.mas-card p {
    font-size: .85rem;
    color: #4a4a42;
}

.mas-card button,
.mas-card .mc-link {
    border: none;
    background: none;
    color: var(--navy);
    font-weight: 700;
    font-size: .8rem;
    padding: 0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    transition: .3s ease;
}

.mas-card .mc-link:hover {
    color: var(--terracotta);
    gap: .55rem;
}

/* ============================================================
   PROCESS — horizontal stepper with fill
============================================================ */
.stepper {
    position: relative;
    display: flex;
    justify-content: space-between;
}

.stepper-line-bg {
    position: absolute;
    top: 26px;
    left: 5%;
    right: 5%;
    height: 3px;
    background: var(--line);
    z-index: 0;
}

.stepper-line-fill {
    position: absolute;
    top: 26px;
    left: 5%;
    height: 3px;
    background: var(--terracotta);
    z-index: 1;
    width: 0%;
    transition: width 1.6s ease;
}

.step-node {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.step-node .sn-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-weight: 700;
    margin: 0 auto .9rem;
    transition: .4s ease;
}

.step-node.done .sn-circle {
    border-color: var(--terracotta);
    color: var(--terracotta);
}

@media(max-width:767px) {
    .stepper {
        flex-direction: column;
        gap: 2rem;
    }

    .stepper-line-bg,
    .stepper-line-fill {
        display: none;
    }
}

/* ============================================================
   STATS
============================================================ */
.dash-row {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    color: var(--cream);
}

.dash-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dash-item i {
    font-size: 1.8rem;
    color: var(--terracotta-light);
}

.dash-item .counter {
    font-family: var(--serif);
    font-size: 2.1rem;
    font-weight: 700;
}

.dash-item .lbl4 {
    font-size: .76rem;
    color: #b9c2d6;
}

/* ============================================================
   REVIEWS — flip cards
============================================================ */
.flip-card {
    background: transparent;
    perspective: 1000px;
    height: 200px;
}

.flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform .6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-inner {
    transform: rotateY(180deg);
}

.flip-front,
.flip-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: var(--radius-md);
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flip-front {
    background: #fff;
    border: 1px solid var(--line);
    text-align: center;
}

.flip-back {
    background: var(--navy);
    color: var(--cream);
    transform: rotateY(180deg);
    font-size: .85rem;
    text-align: center;
}

.flip-front .fname {
    font-family: var(--serif);
    font-weight: 700;
}

/* ============================================================
   FAQ — chat bubbles
============================================================ */
.chat-wrap {
    max-width: 760px;
    margin: 0 auto;
}

.bubble-row {
    display: flex;
    margin-bottom: 1.1rem;
}

.bubble-row.left {
    justify-content: flex-start;
}

.bubble-row.right {
    justify-content: flex-end;
}

.bubble {
    max-width: 78%;
    padding: 1rem 1.3rem;
    border-radius: 18px;
    font-size: .92rem;
    line-height: 1.6;
}

.bubble.q {
    background: var(--cream-2);
    color: var(--ink);
    border-bottom-left-radius: 4px;
    font-weight: 700;
}

.bubble.a {
    background: var(--navy);
    color: var(--cream);
    border-bottom-right-radius: 4px;
}

/* ============================================================
   SUBSCRIBE — overlap card
============================================================ */
.sub-section4 {
    position: relative;
    padding: 5rem 0;
}

.sub-half-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--seafoam-2) 50%, var(--navy) 50%);
}

.sub-card4 {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.6rem;
    box-shadow: var(--shadow-1);
}

.sub-card4 .form-control {
    border-radius: 10px;
}

/* ============================================================
   CONTACT — sunken card
============================================================ */
.sunken-card {
    background: var(--cream-2);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, .05);
}

.form-control4,
.form-select4 {
    border-radius: 10px;
    border: 1px solid var(--line);
    padding: .85rem 1rem;
    background: #fff;
}

.form-control4:focus,
.form-select4:focus {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 4px rgba(196, 122, 58, .12);
}

.contact-line {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.3rem;
}

.contact-line i {
    font-size: 1.2rem;
    color: var(--terracotta);
    margin-top: .2rem;
}

/* ============================================================
   FOOTER
============================================================ */
footer.v4 {
    background: var(--navy);
    color: #b9c2d6;
    padding: 4.2rem 0 1.5rem;
}

footer.v4 h6 {
    font-family: var(--serif);
    color: var(--cream);
    margin-bottom: 1rem;
}

footer.v4 a {
    color: #b9c2d6;
    text-decoration: none;
    transition: .3s;
}

footer.v4 a:hover {
    color: var(--terracotta-light);
}

.social-sq4 {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(245, 239, 232, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    transition: .3s ease;
}

.social-sq4:hover {
    background: var(--terracotta);
    border-color: var(--terracotta);
}

#backToTop4 {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--terracotta);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .35s ease;
    z-index: 1400;
    border: none;
}

#backToTop4.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.modal-content {
    border-radius: var(--radius-lg);
    border: none;
}

.modal-title {
    font-family: var(--serif);
    font-weight: 700;
}

.policy-heading4 {
    font-family: var(--serif);
    font-weight: 700;
    color: var(--terracotta);
    margin-top: 1.1rem;
}

.success-icon4 {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--cream-2);
    color: var(--terracotta);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    margin: 0 auto 1rem;
    animation: popIn4 .5s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes popIn4 {
    0% {
        transform: scale(0);
    }

    80% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@media(prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* ============================================================
   INNER PAGES — page banner, legal/prose layout
============================================================ */
.page-banner {
    position: relative;
    padding: 9rem 0 4rem;
    background: var(--cream-2);
    overflow: hidden;
}

.page-banner::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 44% 56% 60% 40% / 50% 45% 55% 50%;
    background: linear-gradient(150deg, var(--seafoam), var(--navy-2));
    opacity: .14;
    top: -120px;
    right: -120px;
}

.page-banner h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--navy);
    margin: .6rem 0 1rem;
}

.page-banner p {
    color: #4a4a42;
    max-width: 640px;
    font-size: 1.02rem;
}

.breadcrumb-mini {
    font-size: .82rem;
    color: #7a7a70;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 700;
}

.breadcrumb-mini a {
    color: var(--terracotta);
    text-decoration: none;
}

.breadcrumb-mini a:hover {
    text-decoration: underline;
}

.legal-body {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-1);
    line-height: 1.8;
    color: #4a4a42;
}

.legal-body p {
    margin-bottom: 1rem;
}

.legal-body h2 {
    font-family: var(--serif);
    font-weight: 700;
    color: var(--terracotta);
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: .6rem;
}

.legal-body h2:first-child {
    margin-top: 0;
}

@media(max-width:767px) {
    .legal-body {
        padding: 1.75rem 1.4rem;
    }
}

/* Centered standalone form card used on newsletter / unsubscribe pages */
.standalone-form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-1);
    max-width: 720px;
    margin: 0 auto;
}

@media(max-width:767px) {
    .standalone-form-card {
        padding: 1.75rem 1.4rem;
    }
}

.standalone-form-card h2 {
    font-family: var(--serif);
    color: var(--navy);
    margin-bottom: .4rem;
}

.standalone-form-card .lead {
    color: #4a4a42;
    margin-bottom: 2rem;
}

/* Active overlay-menu link highlight */
.overlay-menu a.is-active {
    color: var(--terracotta-light);
}