/* ==========================================================================
   Desikan Consulting - Main Stylesheet
   Bootstrap 5 base + brand layer. No third-party libraries.
   ========================================================================== */

:root {
    --brand-green: #a9cf45;
    --brand-green-dark: #8fb62f;
    --brand-blue: #4b4c8c;
    --brand-blue-dark: #34356a;
    --brand-blue-deep: #26274f;
    --brand-gray: #7e7f82;

    --ink: #26274f;
    --tint: #f5f6fb;
    --line: #e4e5ee;
    --white: #ffffff;

    --font-body: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-head: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;

    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 4px 14px rgba(38, 39, 79, .08);
    --shadow: 0 18px 45px rgba(38, 39, 79, .14);
    --ease: cubic-bezier(.22, .61, .36, 1);

    --bs-body-font-family: var(--font-body);
    --bs-body-color: #4a4b55;
    --bs-link-color: var(--brand-blue);
    --bs-link-hover-color: var(--brand-blue-dark);
}

body {
    font-family: var(--font-body);
    background: var(--white);
    color: #4a4b55;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--ink);
    font-weight: 700;
}

img { max-width: 100%; }

.ico {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

.skip-link {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2000;
    background: var(--brand-blue);
    color: #fff;
    padding: .5rem 1rem;
    border-radius: 8px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn { border-radius: 50px; font-weight: 600; padding: .6rem 1.5rem; }
.btn-lg { padding: .8rem 1.9rem; font-size: 1rem; }

.btn-brand {
    background: var(--brand-green);
    border: 2px solid var(--brand-green);
    color: var(--brand-blue-deep);
    box-shadow: 0 8px 20px rgba(169, 207, 69, .35);
    transition: transform .25s var(--ease), background .25s, box-shadow .25s;
}
.btn-brand:hover,
.btn-brand:focus-visible,
.btn-brand.active {
    background: var(--brand-green-dark);
    border-color: var(--brand-green-dark);
    color: var(--brand-blue-deep);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(143, 182, 47, .4);
}

.btn-outline-brand {
    border: 2px solid var(--brand-blue);
    color: var(--brand-blue);
    background: transparent;
}
.btn-outline-brand:hover,
.btn-outline-brand:focus-visible {
    background: var(--brand-blue);
    color: #fff;
}

/* --------------------------------------------------------------------------
   Topbar & Navigation
   -------------------------------------------------------------------------- */
.topbar {
    background: var(--brand-blue);
    color: #e6e7f5;
    font-size: .85rem;
    padding: .5rem 0;
}
.topbar a {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}
.topbar a:hover { color: var(--brand-green); }
.topbar-badge {
    background: rgba(255, 255, 255, .12);
    padding: .2rem .8rem;
    border-radius: 50px;
    font-weight: 600;
}

.site-nav {
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 18px rgba(38, 39, 79, .07);
    padding: .5rem 0;
}
.site-nav .navbar-brand img {
    height: 120px;
    width: auto;
}
.site-nav .nav-link {
    color: var(--brand-blue);
    font-weight: 600;
    padding: .5rem .85rem !important;
    position: relative;
}
.site-nav .nav-link:hover,
.site-nav .nav-link:focus-visible { color: var(--brand-green-dark); }
.site-nav .nav-link.active { color: var(--brand-blue-deep); }
.site-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: .85rem;
    right: .85rem;
    bottom: .15rem;
    height: 3px;
    border-radius: 3px;
    background: var(--brand-green);
}
.site-nav .dropdown-toggle.active::after { left: .85rem; right: 1.6rem; }

.site-nav .dropdown-menu {
    border: 0;
    border-top: 3px solid var(--brand-green);
    border-radius: 0 0 14px 14px;
    box-shadow: var(--shadow);
    padding: .5rem 0;
    min-width: 260px;
}
.site-nav .dropdown-item {
    color: var(--brand-blue);
    font-weight: 500;
    padding: .55rem 1.25rem;
    transition: padding .2s, background .2s;
}
.site-nav .dropdown-item:hover,
.site-nav .dropdown-item:focus-visible {
    background: var(--tint);
    color: var(--brand-blue-deep);
    padding-left: 1.5rem;
}
.site-nav .dropdown-item.active,
.site-nav .dropdown-item:active {
    background: var(--brand-green);
    color: var(--brand-blue-deep);
}

@media (min-width: 992px) {
    .site-nav .dropdown:hover > .dropdown-menu { display: block; }
    .site-nav .dropdown-menu { margin-top: 0; }
}

@media (max-width: 991.98px) {
    .site-nav .navbar-brand img { height: 52px; }
    .site-nav .navbar-collapse { padding: 1rem 0; }
    .site-nav .nav-link.active::after { display: none; }
    .site-nav .dropdown-menu { box-shadow: none; border-top: 0; background: var(--tint); }
}

/* --------------------------------------------------------------------------
   Shared typography
   -------------------------------------------------------------------------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brand-blue);
    margin-bottom: .9rem;
}
.eyebrow::before {
    content: "";
    width: 28px;
    height: 3px;
    border-radius: 3px;
    background: var(--brand-green);
}

.section-title {
    font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}
.section-title span,
.hero-title span,
.page-title span { color: var(--brand-blue); position: relative; z-index: 0; }

.lead-muted {
    color: var(--brand-gray);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 640px;
}

.section { padding: 90px 0; }
.section--tint { background: var(--tint); }
.section-head { margin-bottom: 3rem; }

/* --------------------------------------------------------------------------
   HERO (split layout, floating badges, layered geometry, numbered slides)
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    background: linear-gradient(135deg, #f7f8fc 0%, #eef0f8 55%, #f3f8e6 100%);
    overflow: hidden;
    padding: 70px 0 120px;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}
.hero-circle--blue {
    width: 520px;
    height: 520px;
    right: -140px;
    top: -160px;
    background: radial-gradient(circle, rgba(75, 76, 140, .22) 0%, rgba(75, 76, 140, 0) 70%);
    animation: drift 14s ease-in-out infinite;
}
.hero-circle--green {
    width: 380px;
    height: 380px;
    left: -120px;
    bottom: -120px;
    background: radial-gradient(circle, rgba(169, 207, 69, .35) 0%, rgba(169, 207, 69, 0) 70%);
    animation: drift 12s ease-in-out infinite reverse;
}

.hero-curve {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 140px;
}
.hero-curve path { fill: #fff; }

.hero .carousel { position: relative; z-index: 1; }
.hero-row { min-height: 540px; }

.hero-title {
    font-size: clamp(2rem, 1.3rem + 2.8vw, 3.3rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}
.hero-title span::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: .08em;
    height: .22em;
    background: rgba(169, 207, 69, .45);
    z-index: -1;
    border-radius: 4px;
}
.hero-text {
    font-size: 1.15rem;
    color: var(--brand-gray);
    max-width: 520px;
    margin-bottom: 2rem;
}

/* Visual block */
.hero-visual {
    position: relative;
    max-width: 540px;
    margin: 0 auto;
    padding: 30px;
}
.hero-image {
    position: relative;
    border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    box-shadow: var(--shadow);
    border: 8px solid #fff;
    animation: morph 12s ease-in-out infinite;
}
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 6s var(--ease);
}
.carousel-item.active .hero-image img { transform: scale(1); }

.hero-ring {
    position: absolute;
    inset: 0;
    border: 2px dashed rgba(75, 76, 140, .3);
    border-radius: 50%;
    animation: spin 40s linear infinite;
}
.hero-ring::before,
.hero-ring::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}
.hero-ring::before {
    width: 18px;
    height: 18px;
    top: 12%;
    left: 8%;
    background: var(--brand-green);
}
.hero-ring::after {
    width: 12px;
    height: 12px;
    bottom: 10%;
    right: 12%;
    background: var(--brand-blue);
}

/* Floating badges */
.float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .75rem;
    background: #fff;
    border-radius: 16px;
    padding: .8rem 1.1rem;
    box-shadow: var(--shadow);
    z-index: 2;
    animation: floatY 5s ease-in-out infinite;
}
.float-badge small {
    display: block;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--brand-gray);
}
.float-badge strong {
    display: block;
    color: var(--brand-blue-deep);
    font-size: .98rem;
    white-space: nowrap;
}
.float-badge--top { top: 12%; left: -6%; }
.float-badge--bottom { bottom: 10%; right: -6%; animation-delay: -2.5s; }
.float-badge--corner { bottom: -22px; left: 24px; }

.float-badge-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--brand-blue);
    flex-shrink: 0;
}
.float-badge-icon--green { background: var(--brand-green); }
.float-badge-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.float-badge-icon--green svg { stroke: var(--brand-blue-deep); }

/* Staggered slide-in content */
.carousel-item.active .stagger {
    animation: fadeUp .9s var(--ease) both;
    animation-delay: calc(var(--d, 0) * .15s + .1s);
}

/* Numbered indicators 01 / 02 / 03 */
.hero-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -70px;
}
.hero .hero-indicators {
    position: static;
    justify-content: flex-start;
    margin: 0;
    gap: 1.25rem;
}
.hero .hero-indicators [data-bs-target] {
    width: auto;
    height: auto;
    text-indent: 0;
    background: none;
    border: 0;
    margin: 0;
    padding: 0 0 .35rem;
    opacity: 1;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--brand-gray);
    position: relative;
    transition: color .3s;
}
.hero .hero-indicators [data-bs-target]::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    border-radius: 3px;
    background: var(--brand-green);
    transition: width .5s var(--ease);
}
.hero .hero-indicators .active { color: var(--brand-blue); font-size: 1.4rem; }
.hero .hero-indicators .active::after { width: 100%; }

@media (max-width: 991.98px) {
    .hero { padding: 40px 0 110px; }
    .hero-row { min-height: 0; }
    .hero-copy { text-align: center; }
    .hero-copy .eyebrow::before { display: none; }
    .hero-copy .d-flex { justify-content: center; }
    .hero-text { margin-left: auto; margin-right: auto; }
    .hero-visual { max-width: 420px; }
    .hero .hero-indicators { justify-content: center; }
}
@media (max-width: 575.98px) {
    .float-badge { padding: .6rem .8rem; }
    .float-badge strong { font-size: .85rem; }
    .float-badge--top { left: 0; }
    .float-badge--bottom { right: 0; }
    .float-badge-icon { width: 34px; height: 34px; }
}

/* --------------------------------------------------------------------------
   Highlights strip
   -------------------------------------------------------------------------- */
.highlights { position: relative; z-index: 2; padding: 20px 0 0; }
.highlight-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border-bottom: 4px solid var(--brand-green);
    padding: 1.5rem 1rem;
    text-align: center;
    height: 100%;
}
.highlight-card strong {
    display: block;
    font-family: var(--font-head);
    font-size: 2rem;
    color: var(--brand-blue);
    line-height: 1.1;
}
.highlight-card span { color: var(--brand-gray); font-weight: 600; font-size: .92rem; }

/* --------------------------------------------------------------------------
   Framed image + checklist
   -------------------------------------------------------------------------- */
.framed-image {
    position: relative;
    padding: 0 0 22px 22px;
}
.framed-image::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70%;
    height: 75%;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--brand-green), var(--brand-blue));
    opacity: .9;
}
.framed-image img {
    position: relative;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    width: 100%;
    height: auto;
    display: block;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}
.check-list li {
    position: relative;
    padding-left: 2.1rem;
    margin-bottom: .85rem;
    color: #4a4b55;
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .15rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326274f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* --------------------------------------------------------------------------
   Service cards
   -------------------------------------------------------------------------- */
.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem 1.6rem;
    border: 1px solid var(--line);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 4px;
    width: 0;
    background: var(--brand-green);
    transition: width .45s var(--ease);
}
.service-card:hover,
.service-card:focus-visible {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.service-card:hover::before,
.service-card:focus-visible::before { width: 100%; }
.service-card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.service-card p { color: var(--brand-gray); font-size: .95rem; flex-grow: 1; }

.service-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: rgba(75, 76, 140, .1);
    margin-bottom: 1.25rem;
    transition: background .35s, transform .35s var(--ease);
}
.service-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: var(--brand-blue);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke .35s;
}
.service-card:hover .service-icon { background: var(--brand-blue); transform: rotate(-6deg); }
.service-card:hover .service-icon svg { stroke: #fff; }

.service-link {
    font-weight: 700;
    font-size: .9rem;
    color: var(--brand-blue);
}
.service-link span { display: inline-block; transition: transform .3s; }
.service-card:hover .service-link span { transform: translateX(5px); }

.service-card--static:hover { transform: none; box-shadow: var(--shadow-sm); }

/* --------------------------------------------------------------------------
   "We help you with" - blob-masked images with floating illustrations
   -------------------------------------------------------------------------- */
.help-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
    text-decoration: none;
    color: inherit;
}
.help-card h3 {
    font-size: 1.2rem;
    margin: 1.25rem 0 .5rem;
    transition: color .3s;
}
.help-card p {
    color: var(--brand-gray);
    font-size: .95rem;
    flex-grow: 1;
    margin-bottom: .75rem;
}
.help-card:hover h3,
.help-card:focus-visible h3 { color: var(--brand-blue); }
.help-card:hover .service-link span { transform: translateX(5px); }

.help-visual {
    position: relative;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
}

.help-blob {
    position: absolute;
    inset: 6%;
    -webkit-mask: var(--blob) center / 100% 100% no-repeat;
            mask: var(--blob) center / 100% 100% no-repeat;
    animation: blobFloat 7s ease-in-out infinite;
}
.help-blob img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform .8s var(--ease);
}
.help-card:hover .help-blob img,
.help-card:focus-visible .help-blob img { transform: scale(1.1); }

/* Three organic outlines, cycled across the grid */
.help-visual--1 {
    --blob: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M100 14C150 8 190 40 190 92c0 44-20 78-60 86-26 6-40-10-66-4-26 6-50-8-54-40C6 104 18 66 40 42 56 24 76 16 100 14z'/%3E%3C/svg%3E");
}
.help-visual--2 {
    --blob: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M44 22c34-20 96-18 126 6 24 20 26 60 18 94-6 26-22 40-42 32-18-8-30-26-52-22-24 4-36 30-60 28C12 158 6 128 8 98 10 64 18 38 44 22z'/%3E%3C/svg%3E");
}
.help-visual--3 {
    --blob: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M84 8c44-6 92 14 104 56 10 36-4 58-2 84 2 26-26 46-60 44-26-2-38 8-66-2C28 180 10 156 12 124c2-26 16-36 10-62C16 32 44 14 84 8z'/%3E%3C/svg%3E");
}
.help-visual--2 .help-blob { animation-delay: -2.3s; }
.help-visual--3 .help-blob { animation-delay: -4.6s; }

/* Floating illustration anchored to the image */
.help-accent {
    position: absolute;
    right: 2%;
    bottom: 4%;
    width: 30%;
    height: auto;
    z-index: 2;
    filter: drop-shadow(0 10px 14px rgba(38, 39, 79, .22));
    animation: floatY 4.5s ease-in-out infinite;
    transition: transform .4s var(--ease);
}
.help-visual--2 .help-accent { right: auto; left: 60%; bottom: -2%; animation-delay: -1.5s; }
.help-visual--3 .help-accent { bottom: 8%; right: -2%; animation-delay: -3s; }

/* Small decorative dots around each image */
.help-dot {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    animation: dotPulse 3.5s ease-in-out infinite;
}
.help-dot--a {
    width: 10px;
    height: 10px;
    border: 2.5px solid var(--brand-blue);
    top: 6%;
    right: 12%;
}
.help-dot--b {
    width: 7px;
    height: 7px;
    border: 2px solid var(--brand-blue);
    top: 20%;
    left: 0;
    animation-delay: -1.2s;
}
.help-dot--c {
    width: 9px;
    height: 9px;
    background: var(--brand-green);
    bottom: 16%;
    left: 2%;
    animation-delay: -2.4s;
}
.help-visual--2 .help-dot--a { top: 2%; right: auto; left: 30%; }
.help-visual--2 .help-dot--c { bottom: 40%; left: auto; right: 0; }
.help-visual--3 .help-dot--b { top: auto; bottom: 30%; left: -2%; }
.help-visual--3 .help-dot--c { bottom: auto; top: 4%; left: 18%; }

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */
.step-card {
    position: relative;
    height: 100%;
    padding: 2.2rem 1.8rem;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
}
.step-card h3 { font-size: 1.25rem; }
.step-card p { color: var(--brand-gray); margin-bottom: 0; }
.step-num {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--brand-blue);
    margin-bottom: 1rem;
}
.step-card:hover .step-num { color: var(--brand-green); -webkit-text-stroke-color: var(--brand-green); }

@media (min-width: 768px) {
    .steps > div:not(:last-child) .step-card::after {
        content: "";
        position: absolute;
        top: 50%;
        right: -1.6rem;
        width: 1.2rem;
        border-top: 2px dashed var(--brand-green);
    }
}

/* --------------------------------------------------------------------------
   Partner marquee
   -------------------------------------------------------------------------- */
.partners { overflow: hidden; }
.marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.partner-logo {
    flex: 0 0 auto;
    width: 190px;
    height: 96px;
    display: grid;
    place-items: center;
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--line);
    padding: .75rem 1rem;
}
.partner-logo img {
    max-height: 64px;
    width: auto;
    filter: grayscale(100%);
    opacity: .75;
    transition: filter .3s, opacity .3s;
}
.partner-logo:hover img { filter: none; opacity: 1; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band { padding: 0 0 90px; }
.section--tint + .cta-band { background: linear-gradient(var(--tint) 50%, #fff 50%); }
.cta-inner {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: linear-gradient(120deg, var(--brand-blue-deep), var(--brand-blue));
    border-radius: var(--radius-lg);
    padding: 3rem;
    color: #d7d8ee;
}
.cta-inner::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(169, 207, 69, .45), rgba(169, 207, 69, 0) 70%);
}
.cta-inner > * { position: relative; }
.cta-inner h2 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem); }

@media (max-width: 575.98px) {
    .cta-inner { padding: 2rem 1.5rem; }
}

/* --------------------------------------------------------------------------
   Inner page banner
   -------------------------------------------------------------------------- */
.page-banner {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background: var(--banner) center / cover no-repeat, var(--tint);
}
.page-banner .hero-circle--green { left: auto; right: -100px; top: -140px; bottom: auto; }
.page-banner .container { position: relative; }
.page-title {
    font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
    margin-bottom: .75rem;
}
.page-banner .breadcrumb a { color: var(--brand-blue); text-decoration: none; }
.page-banner .breadcrumb a:hover { color: var(--brand-green-dark); }
.page-banner .breadcrumb-item.active { color: var(--brand-gray); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: var(--brand-green-dark); }

/* --------------------------------------------------------------------------
   Mission / Vision
   -------------------------------------------------------------------------- */
.mv-card {
    height: 100%;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    background: var(--brand-blue);
    color: #d7d8ee;
    position: relative;
    overflow: hidden;
}
.mv-card::after {
    content: "";
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 24px solid rgba(255, 255, 255, .06);
}
.mv-card h3 { color: #fff; font-size: 1.6rem; }
.mv-label {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: var(--brand-green);
    color: var(--brand-blue-deep);
    padding: .3rem .8rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}
.mv-card--green { background: #fff; color: #4a4b55; border: 2px solid var(--brand-green); }
.mv-card--green h3 { color: var(--ink); }
.mv-card--green .mv-label { background: var(--brand-blue); color: #fff; }
.mv-card--green::after { border-color: rgba(169, 207, 69, .15); }

/* --------------------------------------------------------------------------
   Founder
   -------------------------------------------------------------------------- */
.founder-photo {
    position: relative;
    padding: 22px;
    max-width: 360px;
    margin: 0 auto;
}
.founder-photo img {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
    border: 5px solid var(--brand-green);
    box-shadow: var(--shadow);
}
.founder-role {
    color: var(--brand-green-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .85rem;
    margin-bottom: 1.25rem;
}
.founder-quote {
    font-family: var(--font-head);
    font-style: italic;
    font-size: 1.3rem;
    color: var(--brand-blue);
    border-left: 4px solid var(--brand-green);
    padding: .25rem 0 .25rem 1.25rem;
    margin: 1.5rem 0 2rem;
}

/* --------------------------------------------------------------------------
   Service pages - split hero (reuses hero visual, ring and floating badges)
   -------------------------------------------------------------------------- */
.service-hero {
    position: relative;
    overflow: hidden;
    padding: 50px 0 130px;
    background: linear-gradient(135deg, #f7f8fc 0%, #eef0f8 55%, #f3f8e6 100%);
}
.service-hero .container { position: relative; z-index: 1; }
.service-hero .hero-image img { transform: none; object-position: var(--pos, center); }
.service-hero .stagger {
    animation: fadeUp .9s var(--ease) both;
    animation-delay: calc(var(--d, 0) * .15s + .1s);
}
.service-hero .breadcrumb,
.page-banner .breadcrumb { margin-bottom: 1rem; font-weight: 600; font-size: .9rem; }
.service-hero .breadcrumb a { color: var(--brand-blue); text-decoration: none; }
.service-hero .breadcrumb a:hover { color: var(--brand-green-dark); }
.service-hero .breadcrumb-item.active { color: var(--brand-gray); }
.service-hero .breadcrumb-item + .breadcrumb-item::before { color: var(--brand-green-dark); }

@media (max-width: 991.98px) {
    .service-hero { padding: 40px 0 110px; }
    .service-hero .hero-copy { text-align: center; }
    .service-hero .breadcrumb { justify-content: center; }
    .service-hero .hero-visual { max-width: 420px; }
}

/* Feature cards: icon grid inside service pages */
.feature-card .service-icon { background: rgba(169, 207, 69, .2); }
.feature-card .service-icon svg { stroke: var(--brand-blue-deep); }
.feature-card:hover .service-icon { background: var(--brand-blue); }

/* Who it is for: pill list */
.audience-list {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}
.audience-list li {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    border-radius: 50px;
    padding: .55rem 1.1rem;
    font-weight: 600;
    font-size: .92rem;
}
.audience-list li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-green);
    flex-shrink: 0;
}

/* Benefits panel */
.benefit-panel {
    height: 100%;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 2px solid var(--brand-green);
}
.benefit-panel h3 { font-size: 1.5rem; }
.benefit-panel .check-list { margin-bottom: 0; }

/* FAQ accordion */
.faq .accordion-item {
    border: 1px solid var(--line);
    border-radius: 14px !important;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}
.faq .accordion-button {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.08rem;
    color: var(--ink);
    padding: 1.2rem 1.4rem;
    box-shadow: none;
}
.faq .accordion-button:not(.collapsed) { background: var(--tint); color: var(--brand-blue); }
.faq .accordion-button:focus-visible { box-shadow: 0 0 0 .2rem rgba(169, 207, 69, .5); }
.faq .accordion-body { color: var(--brand-gray); padding: 0 1.4rem 1.3rem; background: var(--tint); }

/* Compliance / information note */
.note-box {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 2.5rem;
    padding: 1.1rem 1.4rem;
    border-radius: 14px;
    background: var(--tint);
    border-left: 4px solid var(--brand-blue);
    color: var(--brand-gray);
    font-size: .9rem;
}
.note-box svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    fill: none;
    stroke: var(--brand-blue);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Offerings comparison table */
.compare-table {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.compare-table table { min-width: 760px; }
.compare-table thead th {
    background: var(--brand-blue);
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 1rem 1.25rem;
    border: 0;
}
.compare-table td,
.compare-table tbody th { padding: 1rem 1.25rem; color: var(--brand-gray); border-color: var(--line); }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table tbody tr:hover > * { background: var(--tint); }
.compare-table tbody th a {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
}
.compare-table tbody th a:hover { color: var(--brand-blue); }

/* Contact page */
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-list li {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--line);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list .service-icon { width: 52px; height: 52px; margin: 0; flex-shrink: 0; }
.contact-list h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.contact-list a { color: var(--brand-blue); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--brand-green-dark); }
.contact-list p { color: var(--brand-gray); }

.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-top: 4px solid var(--brand-green);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2.5rem;
}
.form-card .form-label { font-weight: 600; color: var(--ink); font-size: .92rem; }
.form-card .form-control,
.form-card .form-select { border-radius: 12px; padding: .7rem 1rem; border-color: var(--line); }
.form-card .form-control:focus,
.form-card .form-select:focus,
.form-card .form-check-input:focus {
    border-color: var(--brand-green);
    box-shadow: 0 0 0 .2rem rgba(169, 207, 69, .3);
}
.form-card .form-check-input:checked { background-color: var(--brand-blue); border-color: var(--brand-blue); }
.form-card .input-group-text { border-radius: 12px 0 0 12px; }
.form-card .input-group .form-control { border-radius: 0 12px 12px 0; }
.captcha-question {
    background: var(--tint);
    border-color: var(--line);
    color: var(--brand-blue);
    font-weight: 700;
    white-space: nowrap;
}
.req { color: #c0392b; }
.text-muted-brand { color: var(--brand-gray); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 575.98px) {
    .form-card { padding: 1.5rem; }
}

/* --------------------------------------------------------------------------
   Calculators
   -------------------------------------------------------------------------- */
:root { --chart-blue: #4b4c8c; --chart-green: #6e9a1e; }

.calc-section { padding: 70px 0 90px; }
.calc-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    height: 100%;
}
.calc-card--inputs { border-top: 4px solid var(--brand-green); }
.calc-card h2 { font-family: var(--font-head); }

.calc-field + .calc-field { margin-top: 1.9rem; }
.calc-field-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .9rem; }
.calc-field-head label { font-weight: 600; color: var(--ink); }
.calc-value {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    background: rgba(169, 207, 69, .16);
    border: 1px solid transparent;
    border-radius: 10px;
    padding: .35rem .75rem;
    color: var(--brand-blue-deep);
    font-weight: 700;
    transition: border-color .2s, background .2s;
}
.calc-value:focus-within { border-color: var(--brand-green-dark); background: #fff; }
.calc-value input {
    width: 7.5ch;
    border: 0;
    background: transparent;
    text-align: right;
    font-weight: 700;
    color: inherit;
    outline: none;
    padding: 0;
}

.calc-range {
    --fill: 50%;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--brand-green) var(--fill), #e4e5ee var(--fill));
    outline: none;
    cursor: pointer;
}
.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 5px solid var(--brand-blue);
    box-shadow: 0 2px 8px rgba(38, 39, 79, .25);
    transition: transform .15s;
}
.calc-range::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 5px solid var(--brand-blue);
    box-shadow: 0 2px 8px rgba(38, 39, 79, .25);
}
.calc-range:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc-range:focus-visible { box-shadow: 0 0 0 4px rgba(169, 207, 69, .35); }
.calc-range-scale { display: flex; justify-content: space-between; font-size: .78rem; color: var(--brand-gray); margin-top: .45rem; }
.text-brand-ink { color: var(--ink); }
.calc-hint { font-size: .82rem; color: var(--brand-gray); margin: .4rem 0 0; }

.calc-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.calc-stat {
    background: var(--tint);
    border-radius: 16px;
    padding: 1rem 1.1rem;
}
.calc-stat-label { display: flex; align-items: center; gap: .45rem; font-size: .82rem; color: var(--brand-gray); font-weight: 600; }
.calc-stat strong { display: block; font-size: 1.3rem; color: var(--ink); margin-top: .2rem; font-variant-numeric: tabular-nums; }
.calc-stat--hero { grid-column: 1 / -1; background: linear-gradient(120deg, var(--brand-blue-deep), var(--brand-blue)); }
.calc-stat--hero .calc-stat-label { color: #cfd0ea; }
.calc-stat--hero strong { color: #fff; font-size: 2rem; font-family: var(--font-head); }

.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }
.swatch--blue { background: var(--chart-blue); }
.swatch--green { background: var(--chart-green); }

.donut-box { display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.donut-box .chart-wrap { width: 220px; }
.donut-arc { cursor: pointer; transition: opacity .2s; outline: none; }
.donut-arc:hover, .donut-arc:focus { opacity: .85; }

.calc-status {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    border-radius: 14px;
    padding: .9rem 1.1rem;
    margin-top: 1.25rem;
    font-size: .92rem;
    border-left: 4px solid;
}
.calc-status::before { font-weight: 700; flex-shrink: 0; }
.calc-status--ok { background: rgba(110, 154, 30, .1); border-color: var(--chart-green); color: #3f5a10; }
.calc-status--ok::before { content: "\2713"; }
.calc-status--warn { background: #fff5e6; border-color: #d98a00; color: #7a4a00; }
.calc-status--warn::before { content: "!"; }

/* Chart / table card */
.calc-breakdown { margin-top: 1.5rem; height: auto; }
.calc-breakdown-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.calc-toggle { display: inline-flex; background: var(--tint); border-radius: 50px; padding: 4px; }
.calc-toggle button {
    border: 0;
    background: transparent;
    border-radius: 50px;
    padding: .4rem 1.1rem;
    font-weight: 600;
    font-size: .88rem;
    color: var(--brand-gray);
}
.calc-toggle button.active { background: #fff; color: var(--brand-blue); box-shadow: var(--shadow-sm); }

.chart-legend { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; padding: 0; margin: 0 0 .75rem; font-size: .88rem; color: var(--ink); font-weight: 600; }
.chart-legend li { display: inline-flex; align-items: center; gap: .45rem; }
.chart-wrap { position: relative; width: 100%; }
.chart-wrap svg { display: block; max-width: 100%; height: auto; font-family: var(--font-body); overflow: visible; }
.chart-tip {
    position: absolute;
    z-index: 3;
    pointer-events: none;
    min-width: 190px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: .65rem .8rem;
    font-size: .82rem;
}
.chart-tip-title { font-weight: 700; color: var(--ink); margin-bottom: .3rem; }
.chart-tip-row { display: flex; align-items: center; gap: .45rem; color: var(--brand-gray); }
.chart-tip-row + .chart-tip-row { margin-top: .2rem; }
.chart-tip-row b { margin-left: auto; color: var(--ink); font-variant-numeric: tabular-nums; }

.calc-table { max-height: 420px; overflow: auto; border: 1px solid var(--line); border-radius: 14px; }
.calc-table table { font-size: .9rem; font-variant-numeric: tabular-nums; }
.calc-table thead th { position: sticky; top: 0; background: var(--brand-blue); color: #fff; font-weight: 600; white-space: nowrap; border: 0; }
.calc-table td { color: var(--brand-gray); white-space: nowrap; }
.calc-table td b { color: var(--ink); }
.calc-table tbody tr:nth-child(even) td { background: var(--tint); }

.formula-box {
    background: var(--brand-blue-deep);
    color: #fff;
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem;
    font-family: var(--font-head);
    font-size: 1.25rem;
    text-align: center;
    letter-spacing: .02em;
}
.formula-box small { display: block; font-family: var(--font-body); font-size: .85rem; color: #cfd0ea; margin-top: .6rem; letter-spacing: 0; }

@media (max-width: 575.98px) {
    .calc-card { padding: 1.4rem; }
    .calc-stat--hero strong { font-size: 1.6rem; }
    .calc-stat strong { font-size: 1.1rem; }
}

/* Services overview rows */
.service-row + .service-row { margin-top: 90px; }
.service-row h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); }
.service-row .service-icon { margin-bottom: 1rem; }
.service-row .framed-image img { aspect-ratio: 4 / 3; object-fit: cover; }
.service-row--flip .framed-image { padding: 0 22px 22px 0; }
.service-row--flip .framed-image::before { left: auto; right: 0; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--brand-blue-deep);
    color: #b9bad6;
    padding-top: 80px;
    font-size: .95rem;
}
.footer-logo {
    display: inline-block;
    background: #fff;
    border-radius: 14px;
    padding: .75rem 1rem;
}
.footer-logo img { height: 70px; width: auto; }
.amfi-logo { height: 44px; width: auto; background: #fff; border-radius: 8px; padding: 4px 8px; }
.site-footer strong { color: #fff; }

.footer-title {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 1.25rem;
    padding-bottom: .6rem;
    position: relative;
}
.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    border-radius: 3px;
    background: var(--brand-green);
}
.footer-links,
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.site-footer a { color: #d7d8ee; text-decoration: none; transition: color .2s, padding .2s; }
.footer-links a:hover,
.footer-links a:focus-visible { color: var(--brand-green); padding-left: 4px; }
.footer-contact li { display: flex; gap: .75rem; margin-bottom: 1rem; }
.footer-contact .ico { color: var(--brand-green); margin-top: .2rem; }
.footer-contact a:hover { color: var(--brand-green); }
.footer-contact a { word-break: break-word; }

.footer-disclaimer {
    margin-top: 60px;
    background: rgba(255, 255, 255, .05);
    padding: 1rem 0;
    font-size: .85rem;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 1.1rem 0;
    font-size: .85rem;
}

/* --------------------------------------------------------------------------
   Scroll reveal (only when JS is available)
   -------------------------------------------------------------------------- */
.js .reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: calc(var(--d, 0) * .12s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Keyframes
   -------------------------------------------------------------------------- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: none; }
}
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}
@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(-30px, 25px) scale(1.06); }
}
@keyframes morph {
    0%, 100% { border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; }
    50%      { border-radius: 56% 44% 55% 45% / 42% 56% 44% 58%; }
}
@keyframes blobFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-8px) rotate(1.5deg); }
}
@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.5); opacity: .5; }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes marquee {
    to { transform: translateX(calc(-50% - .75rem)); }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .js .reveal { opacity: 1; transform: none; }
    .marquee-track { flex-wrap: wrap; justify-content: center; width: auto; }
}
