:root {
    --ink: #0f172a;
    --soft: #475569;
    --green: #0d9488;
    --dark: #134e4a;
    --mint: #ccfbf1;
    --cream: #f0fdf4;
    --gold: #f59e0b;
    --white: #fff;
    --line: rgba(13, 148, 136, 0.12);
    --shadow: 0 24px 70px rgba(13, 148, 136, 0.15);
    --radius: 28px;
    --container: 1180px;
}


/* =========================================
   RESET / GLOBAL
========================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

[hidden] {
    display: none !important;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin: auto;
}

.section {
    padding: 108px 0;
}


/* =========================================
   TYPOGRAPHY / COMMON SECTION ELEMENTS
========================================= */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--green);
    font-weight: 800;
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.eyebrow:before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--gold);
}

.eyebrow-light {
    color: var(--mint);
}

.section-title {
    max-width: 760px;
    font-size: clamp(2.35rem, 5vw, 4.4rem);
    line-height: .98;
    letter-spacing: -.055em;
    margin-bottom: 24px;
}

.section-copy {
    color: var(--soft);
    font-size: 1.05rem;
    max-width: 650px;
}


/* =========================================
   BUTTONS
========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 54px;
    padding: 0 24px;

    border-radius: 999px;
    border: 1px solid transparent;

    font-weight: 800;
    transition: .25s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: #d11717;
    color: #fff;
    box-shadow: 0 12px 30px rgba(11, 107, 88, .22);
}

.btn-primary:hover {
    background: var(--dark);
}

.btn-light {
    background: #fff;
    color: var(--dark);
}

.btn-outline {
    border-color: rgba(255, 255, 255, .46);
    color: #fff;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
}

/* Same CTA size for Medical, Hibah & About */
.section-cta-btn {
    width: 550px;
    max-width: 100%;
    min-height: 54px;
    justify-content: center;
}


/* =========================================
   HEADER / NAVIGATION
========================================= */

.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    color: #fff;
    transition: .3s;
}

.header.scrolled {
    background: rgba(255, 255, 255, .94);
    color: var(--ink);
    box-shadow: 0 8px 30px rgba(8, 42, 35, .08);
    backdrop-filter: blur(16px);
}

.nav {
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
}

.brand-mark {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 14px;

    background: var(--gold);
    color: var(--dark);

    font-family: Georgia, serif;
    font-size: 1.4rem;
}

.brand-logo {
    width: 180px;
    height: 50px;
    object-fit: contain;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;

    list-style: none;

    font-weight: 700;
    font-size: .92rem;
}

.menu-btn {
    display: none;
    border: 0;
    background: none;
    color: inherit;
    font-size: 1.7rem;
}


/* =========================================
   HEARTBEAT ANIMATION
========================================= */

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.05);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.05);
    }

    60% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}

.heartbeat-btn {
    animation: heartbeat 2s infinite ease-in-out;
}


/* =========================================
   HERO
========================================= */

.hero {
    position: relative;

    min-height: 94vh;

    display: flex;
    align-items: flex-end;

    color: #fff;

    background:
        linear-gradient(
            90deg,
            rgba(19, 78, 74, 0.94),
            rgba(2, 111, 102, 0.7) 48%,
            rgba(15, 118, 110, 0.753)
        ),
        url('https://res.cloudinary.com/tpc4rcog/image/upload/v1791815321/Golden-Hour_Family_Embrace_mzsuuh.webp?auto=format&fit=crop&w=2000&q=86')
        center / cover;

    padding: 170px 0 90px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

.hero-badge {
    display: inline-flex;

    padding: 9px 15px;

    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 999px;

    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(12px);

    font-size: .82rem;
    font-weight: 700;

    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(3.4rem, 8.6vw, 7.6rem);
    line-height: .87;
    letter-spacing: -.07em;
}

.hero h1 span {
    color: var(--gold);
}

.hero p {
    margin: 28px 0 34px;
    max-width: 660px;

    font-size: clamp(1rem, 2vw, 1.22rem);

    color: rgba(255, 255, 255, .82);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-note {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 20px;

    color: rgba(255, 255, 255, .72);

    font-size: .88rem;
    font-weight: 600;
}


/* =========================================
   MEDICAL / HIBAH / ABOUT SHARED GRID
========================================= */

.medical-grid,
.hibah-grid,
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
    align-items: center;
}

.medical-action,
.hibah-action,
.about-action {
    grid-column: 1 / -1;

    display: flex;
    justify-content: center;

    width: 100%;
}

/* Medical button spacing only */
.medical-action {
    margin-top: 40px;
}

/* Hibah spacing */
.hibah-grid {
    row-gap: 30px;
}


/* =========================================
   MEDICAL IMAGE
========================================= */

.image-card {
    position: relative;
    min-height: 610px;

    border-radius: var(--radius);
    overflow: hidden;

    box-shadow: var(--shadow);

    -webkit-mask-image:
        linear-gradient(
            to right,
            rgba(0, 0, 0, 1) 70%,
            rgba(0, 0, 0, 0) 100%
        );

    mask-image:
        linear-gradient(
            to right,
            rgba(0, 0, 0, 1) 70%,
            rgba(0, 0, 0, 0) 100%
        );
}

.image-card img,
.hibah-visual img {
    position: absolute;
    inset: 0;
    height: 100%;
}

.image-card:after,
.hibah-visual:after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            transparent 45%,
            rgba(5, 42, 35, .78)
        );
}

.image-caption {
    position: absolute;

    z-index: 2;

    left: 30px;
    right: 30px;
    bottom: 28px;

    color: #fff;
}

.image-caption strong {
    display: block;
    font-size: 1.35rem;
}


/* =========================================
   MEDICAL INFO POINTS
========================================= */

.info-points {
    display: grid;
    gap: 14px;
    margin: 34px 0;
}

.info-point {
    display: flex;
    gap: 14px;

    padding: 17px 18px;

    background: var(--cream);

    border: 1px solid var(--line);
    border-radius: 18px;
}

.check {
    flex: 0 0 26px;

    width: 26px;
    height: 26px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--mint);
    color: var(--green);

    font-weight: 900;
}


/* =========================================
   HIBAH
========================================= */

.hibah {
    background: var(--dark);
    color: #fff;
}

.hibah .eyebrow {
    color: #b9e7d9;
}

.hibah .section-copy {
    color: rgba(255, 255, 255, .72);
}

.hibah-visual {
    position: relative;
    min-height: 610px;

    border-radius: var(--radius);
    overflow: hidden;

    box-shadow: var(--shadow);

    -webkit-mask-image:
        linear-gradient(
            to left,
            rgba(0, 0, 0, 1) 70%,
            rgba(0, 0, 0, 0) 100%
        );

    mask-image:
        linear-gradient(
            to left,
            rgba(0, 0, 0, 1) 70%,
            rgba(0, 0, 0, 0) 100%
        );
}

.hibah-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 14px;
    margin: 34px 0;
}

.pillar {
    padding: 24px;

    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 22px;

    background: rgba(255, 255, 255, .06);
}

.pillar span {
    display: block;

    color: var(--gold);
    font-size: 1.5rem;
}

.pillar p {
    color: rgba(255, 255, 255, .62);
    font-size: .9rem;
}


/* =========================================
   FULL WIDTH PHOTO CTA
========================================= */

.photo-cta {
    padding: 0;
    background: none;
}

.cta-panel {
    width: 100%;
    min-height: 530px;

    display: flex;
    align-items: center;

    color: #fff;

    background:
        linear-gradient(90deg,
            rgba(39, 66, 69, 0.95),
            /* Tukar ke Deep Navy gelap */
            rgba(99, 104, 106, 0.75) 48%,
            /* Tukar ke Royal Blue lembut */
            rgba(15, 23, 42, 0.8)),
        url('https://res.cloudinary.com/tpc4rcog/image/upload/v1793352233/image_zk3int.png?auto=format&fit=crop&w=1800&q=85');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-radius: 0;
}

.cta-content {
    max-width: 650px;
    padding: 80px 0;
}

.cta-content h2 {
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: .98;
    letter-spacing: -.055em;

    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255, 255, 255, .78);
    margin-bottom: 28px;
}


/* =========================================
   ABOUT
========================================= */

.about {
    background: var(--cream);
}

.portrait {
    height: auto;

    border-radius: 220px 220px 28px 28px;
    overflow: hidden;
}

.portrait img {
    width: 100%;
    height: auto;

    object-fit: contain;
    object-position: center top;
}

.about-quote {
    border-left: 3px solid var(--gold);

    padding-left: 22px;
    margin: 30px 0;

    font-style: italic;

    color: var(--soft);
}


/* =========================================
   FAQ
========================================= */

.faq-layout,
.form-layout {
    display: grid;
    grid-template-columns: .72fr 1.28fr;

    gap: 80px;
    align-items: start;
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-question {
    width: 100%;

    padding: 25px 0;

    display: flex;
    justify-content: space-between;

    gap: 20px;

    text-align: left;

    background: none;
    border: 0;

    color: var(--ink);

    font-weight: 850;
}

.faq-symbol {
    color: var(--green);
    font-size: 1.35rem;

    transition: .25s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;

    color: var(--soft);

    transition: max-height .35s;
}

.faq-answer p {
    padding: 0 40px 24px 0;
}

.faq-item.active .faq-answer {
    max-height: 240px;
}

.faq-item.active .faq-symbol {
    transform: rotate(45deg);
}


/* =========================================
   FORM SECTION
========================================= */

.form-section {
    background: var(--dark);
    color: #fff;
}

.form-intro {
    position: sticky;
    top: 120px;
}

.form-intro .eyebrow {
    color: #b9e7d9;
}

.form-intro p {
    color: rgba(255, 255, 255, .7);
    margin-bottom: 28px;
}

.form-benefits {
    display: grid;
    gap: 12px;
}

.quote-form {
    background: #fff;
    color: var(--ink);

    padding: 38px;

    border-radius: 28px;

    box-shadow: 0 35px 90px rgba(0, 0, 0, .24);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field {
    display: grid;
    gap: 8px;
}

.field.full {
    grid-column: 1 / -1;
}

label {
    font-size: .86rem;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;

    border: 1px solid #d8e1de;
    border-radius: 13px;

    padding: 14px 16px;

    color: var(--ink);
    background: #fbfdfc;

    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--green);

    box-shadow:
        0 0 0 4px rgba(11, 107, 88, .1);
}

.consent {
    display: flex;
    align-items: flex-start;

    gap: 11px;
    margin: 24px 0 20px;

    color: var(--soft);
    font-size: .82rem;
}

.consent input {
    width: 18px;
    height: 18px;

    margin-top: 3px;

    accent-color: var(--green);
}

.submit-btn {
    width: 100%;
    border: 0;
}

.submit-btn i {
    display: inline-block;
    margin-left: 6px;
    font-size: .9em;
}

.form-error {
    display: none;

    margin-top: 14px;
    padding: 12px;

    border-radius: 12px;

    background: #fff0f0;
    color: #922;

    font-weight: 700;
    font-size: .84rem;
}


/* =========================================
   PLAN RADIO
========================================= */

.plan-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 14px 24px;
    margin-top: 8px;
}

.plan-radio {
    display: flex;
    align-items: center;
    gap: 12px;

    cursor: pointer;
    font-weight: 600;
}

/*
   Preserved from final effective rule.
   The later inset:3px rule was winning over inset:1px.
*/
.plan-radio input {
    appearance: none;

    width: 8px;
    height: 8px;

    transform: scale(.5);

    border: 1.5px solid var(--green);
    border-radius: 50%;

    position: relative;
    margin: 0;
}

.plan-radio input:checked::after {
    content: "";

    position: absolute;
    inset: 3px;

    border-radius: 50%;

    background: var(--green);
}


/* =========================================
   FOOTER
========================================= */

.footer {
    padding: 70px 0 28px;

    background: rgb(24, 24, 24);

    color: rgba(255, 255, 255, .72);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .7fr .9fr;

    gap: 50px;

    padding-bottom: 54px;
}

.footer .brand {
    color: #fff;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;

    display: grid;
    gap: 10px;
}

.footer .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 16px;

    text-align: center;

    width: 100%;

    border-top: 1px solid rgba(255, 255, 255, .15);

    padding-top: 40px;
}

.footer-copyright {
    font-weight: 700;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 12px;
}

.footer .footer-legal {
    justify-content: center;
}

.footer-legal a {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-legal a:hover {
    color: var(--gold);
}

.footer-legal a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

.footer-disclaimer {
    font-size: .78rem;
    line-height: 1.8;
}

.footer .footer-disclaimer {
    max-width: 960px;
    margin: 0 auto;
}

.footer-disclaimer strong {
    color: #fff;
}

.footer .brand-logo {
    width: 260px;
    max-width: 100%;
    height: auto;
}


/* =========================================
   REVEAL
========================================= */

.reveal {
    opacity: 0;
    transform: translateY(24px);

    transition: .7s;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}


/* =========================================
   SOCIAL PROOF POPUP
========================================= */

.social-proof {
    position: fixed;

    top: 98px;
    right: 22px;

    z-index: 11000;

    width: min(365px, calc(100vw - 32px));

    padding: 15px;

    border: 1px solid rgba(16, 42, 37, .1);
    border-radius: 18px;

    background: rgba(255, 255, 255, .97);

    box-shadow: 0 18px 55px rgba(6, 52, 43, .2);

    opacity: 0;
    visibility: hidden;

    transform: translateX(35px) scale(.97);

    transition: .45s;
}

.social-proof.show {
    opacity: 1;
    visibility: visible;

    transform: none;

    animation: pulse 1s ease;
}

.proof-row {
    position: relative;

    display: flex;
    gap: 12px;

    padding-right: 22px;
}

.proof-icon {
    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--mint);
    color: var(--green);

    font-weight: 900;
}

.social-proof strong {
    display: block;

    font-size: .9rem;
    line-height: 1.35;
}

.social-proof small {
    color: #6b7d78;
}

.proof-close {
    position: absolute;

    top: 6px;
    right: 6px;

    width: 20px;
    height: 20px;

    padding: 0;

    border: none;
    border-radius: 50%;

    background: transparent;
    color: #7b8b85;

    font-size: 16px;
    line-height: 20px;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: background .2s, color .2s;
}

.proof-close:hover {
    background: #edf4f1;
    color: #174f42;
}

@keyframes pulse {
    50% {
        box-shadow:
            0 18px 65px rgba(11, 107, 88, .44);
    }
}


/* =========================================
   FLOATING WHATSAPP
========================================= */

.wa-float {
    position: fixed;

    right: 16px;
    bottom: 16px;

    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    width: 62px;
    height: 62px;

    padding: 0 13px;

    background: #20d366;
    color: #075e36;

    border-radius: 999px;

    text-decoration: none;
    white-space: nowrap;

    overflow: hidden;

    box-shadow:
        0 10px 28px rgba(0, 0, 0, .14);

    transition:
        width .3s ease,
        box-shadow .3s ease,
        transform .2s ease;
}

.wa-icon {
    display: block;

    width: 36px;
    height: 36px;

    flex: 0 0 36px;

    margin: 0;
}

.wa-label {
    max-width: 0;

    opacity: 0;
    overflow: hidden;

    font-weight: 800;

    transition:
        max-width .3s ease,
        opacity .2s ease;
}

@media (min-width: 621px) {
    .wa-float:hover,
    .wa-float:focus-visible {
        width: 260px;

        padding: 0 18px;

        justify-content: flex-start;

        box-shadow:
            0 14px 34px rgba(0, 0, 0, .18);
    }

    .wa-float:hover .wa-label,
    .wa-float:focus-visible .wa-label {
        max-width: 200px;
        opacity: 1;
    }
}


/* =========================================
   POPUP / MODAL
========================================= */

.popup-overlay {
    position: fixed;
    inset: 0;

    z-index: 12000;

    display: grid;
    place-items: center;

    padding: 18px;

    background: rgba(2, 27, 23, .72);

    backdrop-filter: blur(12px);

    opacity: 0;
    visibility: hidden;

    transition: .28s;
}

.popup-overlay.open {
    opacity: 1;
    visibility: visible;
}

.popup {
    position: relative;

    width: min(930px, 100%);

    max-height: 90vh;

    overflow: auto;

    border-radius: 28px;

    background: #fff;

    box-shadow:
        0 35px 100px rgba(0, 0, 0, .34);

    transform: translateY(18px) scale(.98);

    transition: .3s;
}

.open .popup {
    transform: none;
}

.popup-grid {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
}

.popup-copy {
    padding: 38px;

    background:
        linear-gradient(
            145deg,
            var(--dark),
            var(--green)
        );

    color: #fff;
}

.popup-copy h2 {
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1;
    letter-spacing: -.05em;

    margin: 15px 0;
}

.popup-copy p {
    color: rgba(255, 255, 255, .76);
}

.popup-points {
    display: grid;
    gap: 10px;

    margin-top: 26px;
}

.popup-form {
    padding: 38px;
}

.popup-close {
    position: absolute;

    right: 15px;
    top: 15px;

    z-index: 2;

    width: 40px;
    height: 40px;

    border: 0;
    border-radius: 50%;

    background: #edf5f2;
    color: var(--dark);

    font-size: 1.5rem;
}


/* =========================================
   SUCCESS / CONFIRMATION PAGE
========================================= */

.success-screen {
    position: fixed;
    inset: 0;

    z-index: 20000;

    display: grid;
    place-items: center;

    padding: 20px;

    background:
        linear-gradient(
            145deg,
            #042d26,
            var(--green)
        );

    color: #fff;

    text-align: center;
}

.success-card {
    width: min(680px, 100%);

    padding: 54px 32px;

    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 30px;

    background: rgba(255, 255, 255, .08);

    backdrop-filter: blur(16px);
}

.success-icon {
    width: 74px;
    height: 74px;

    display: grid;
    place-items: center;

    margin: 0 auto 22px;

    border-radius: 50%;

    background: #fff;
    color: var(--green);

    font-size: 2rem;
    font-weight: 900;
}

.success-card h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    line-height: 1;

    margin-bottom: 18px;
}

.success-card p {
    color: rgba(255, 255, 255, .78);
    margin-bottom: 26px;
}

.success-card .btn {
    background: #25d366;
    color: #073c24;
}

.countdown {
    margin-top: 14px;

    font-size: .82rem;

    color: rgba(255, 255, 255, .68);
}

.success-page {
    min-height: 100vh;
    background: var(--dark);
}

.success-wrapper {
    width: min(680px, 100%);
    margin: auto;
}

.success-page .success-screen {
    position: relative;

    min-height: 100vh;

    padding: 48px 20px;

    background:
        radial-gradient(
            ellipse at top right,
            rgba(203, 168, 102, .18),
            transparent 60%
        ),
        linear-gradient(
            145deg,
            #042d26,
            var(--green)
        );
}

.success-page .success-card {
    width: 100%;

    padding: 44px 40px;

    background: var(--cream);
    color: var(--ink);

    border: 1px solid rgba(203, 168, 102, .45);

    box-shadow:
        0 30px 80px rgba(2, 27, 23, .25);
}

.success-page .success-icon {
    background: var(--mint);

    border:
        1px solid rgba(11, 107, 88, .15);
}

.success-brand {
    justify-content: center;

    margin-bottom: 30px;

    color: #fff;
}

.success-badge {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--green);

    font-size: .74rem;
    font-weight: 800;

    letter-spacing: .12em;
    text-transform: uppercase;
}

.success-page .success-card h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -.045em;

    overflow-wrap: anywhere;
}

.success-page .success-card p {
    color: var(--soft);

    margin-bottom: 24px;

    overflow-wrap: anywhere;
}

.success-consultant {
    display: grid;
    gap: 4px;

    padding: 22px 18px;
    margin: 26px 0;

    border: 1px solid var(--line);
    border-radius: 18px;

    background: #fff;
}

.success-consultant .eyebrow {
    justify-content: center;
    margin-bottom: 6px;
}

.success-consultant strong {
    font-size: 1.16rem;
    overflow-wrap: anywhere;
}

.success-consultant > span:last-child {
    color: var(--soft);
    font-size: .84rem;
}

.success-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 14px;
}

.success-page .success-actions {
    display: grid;
    gap: 12px;
}

.success-card .success-back {
    background: transparent;

    color: #fff;

    border-color:
        rgba(255, 255, 255, .46);
}

.success-page .success-back {
    color: var(--green);

    border-color:
        rgba(11, 107, 88, .25);

    background: transparent;
}

.success-page .countdown {
    color: var(--soft);
}

.success-card:focus {
    outline: none;
}

.success-cancel {
    border: 0;

    padding: 8px;
    margin-top: 6px;

    background: transparent;

    color: var(--green);

    font-size: .82rem;

    text-decoration: underline;
}

.success-page a:focus-visible,
.success-cancel:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

.success-footnote {
    margin-top: 24px;

    color: rgba(255, 255, 255, .7);

    font-size: .78rem;
}

.success-noscript {
    margin-top: 20px;
}


/* =========================================
   TRUST BAR
========================================= */

.trust-bar {
    width: 100%;

    background: #f7f4ed;

    border-top:
        1px solid rgba(20, 48, 40, .08);

    border-bottom:
        1px solid rgba(20, 48, 40, .10);

    padding: 30px 0;
}

.trust-bar-inner {
    width: min(calc(100% - 64px), 1440px);
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    align-items: center;
    justify-items: center;

    gap: 28px;
}

.trust-intro h3 {
    margin: 0;

    color: #102e27;

    font-size: 18px;
    font-weight: 800;
    line-height: 1.55;
}

.trust-item {
    display: flex;
    align-items: center;

    gap: 14px;

    width: 100%;
    max-width: 300px;
    min-width: 0;
}

.trust-icon {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff;
    color: #00625a;

    font-size: 19px;

    box-shadow:
        0 5px 18px rgba(16, 46, 39, .06);

    transition:
        background .2s ease,
        transform .2s ease;
}

.trust-item:hover .trust-icon {
    background: #e1f1e9;
    transform: translateY(-2px);
}

.trust-content h4 {
    margin: 0 0 5px;

    color: #244a40;

    font-size: 15px;
    font-weight: 750;
    line-height: 1.45;
}

.trust-content p {
    margin: 0;

    color: #61716b;

    font-size: 13px;
    line-height: 1.6;
}


/* =========================================
   PROTECTION FACTS
========================================= */

.protection-facts {
    --facts-green: #0d9488;
    --facts-dark: #134e4a;
    --facts-cream: #f8fafc;
    --facts-red: #d92d27;
    --facts-muted: #475569;

    padding: 88px 24px;

    background: #f1f5f9;

    color: var(--facts-dark);
}

.facts-container {
    width: min(100%, 1240px);
    margin: 0 auto;
}

.facts-heading {
    max-width: 720px;

    margin: 0 auto 44px;

    text-align: center;
}

.facts-eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 14px;

    margin: 0 0 16px;
    padding: 0;

    border-radius: 0;

    background: transparent;
    color: var(--facts-green);

    font-size: 14px;
    font-weight: 850;

    letter-spacing: 2px;
    line-height: 1.4;
    text-transform: uppercase;
}

.facts-eyebrow::before {
    content: "";

    display: block;

    width: 44px;
    height: 2px;

    flex: 0 0 44px;

    background: var(--gold);
}

.facts-heading h2 {
    margin: 0 0 16px;
    color: var(--facts-dark);
    font-size: clamp(2.35rem, 5vw, 4.4rem);
    font-weight: 850;
    line-height: .98;
    letter-spacing: -.055em;
}

.facts-heading p {
    max-width: 650px;

    margin: 0 auto;

    color: var(--facts-muted);

    font-size: 16px;
    line-height: 1.8;
}

.facts-grid {
    display: grid;
    grid-template-columns: minmax(0, 900px);

    justify-content: center;

    width: 100%;

    margin: 0 auto;
}

.facts-panel {
    min-width: 0;

    padding: 32px;

    border: 1px solid rgba(18, 51, 43, .07);
    border-radius: 24px;

    background: #fff;

    box-shadow:
        0 14px 40px rgba(18, 51, 43, .06);
}

.facts-panel-heading {
    display: flex;
    align-items: center;

    gap: 15px;

    margin-bottom: 30px;
}

.facts-heading-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 52px;

    width: 52px;
    height: 52px;

    border-radius: 16px;

    background: #e0eee8;
    color: var(--facts-green);

    font-size: 21px;
}

.facts-kicker {
    display: block;

    margin-bottom: 5px;

    color: var(--facts-green);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.3px;
}

.facts-panel-heading h3 {
    margin: 0 0 5px;

    color: var(--facts-dark);

    font-size: 24px;
    font-weight: 800;
}

.facts-panel-heading p {
    margin: 0;

    color: var(--facts-muted);

    font-size: 13px;
    line-height: 1.6;
}


/* Medical costs */

.medical-cost-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 28px;

    width: 100%;
}

.medical-cost-item {
    min-width: 0;
}

.medical-cost-item p {
    margin: 10px 0 0;

    color: var(--facts-muted);

    font-size: 14px;
    line-height: 1.7;
}

.cost-label {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-bottom: 7px;

    color: #455c54;

    font-size: 14px;
    font-weight: 700;
}

.cost-label i {
    color: var(--facts-green);
}

.cost-number {
    margin-bottom: 12px;

    color: var(--facts-red);

    font-size: clamp(27px, 2.5vw, 37px);
    font-weight: 850;
    line-height: 1.2;

    font-variant-numeric: tabular-nums;

    letter-spacing: -.8px;
}

.cost-track {
    width: 100%;
    height: 7px;

    overflow: hidden;

    border-radius: 99px;

    background: #edf0ed;
}

.cost-track span {
    display: block;

    width: 0;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #861f41,
            #bd6682
        );
}

.facts-disclaimer {
    margin: 26px 0 0;
    padding-top: 18px;

    border-top: 1px solid #edf0ed;

    color: #7b8782;

    font-size: 11px;
    line-height: 1.7;
}


/* Hibah meters */

.hibah-meter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 28px 18px;
}

.hibah-meter-item {
    display: flex;
    flex-direction: column;
    align-items: center;

    min-width: 0;

    text-align: center;
}

.hibah-meter {
    --meter-progress: 0deg;

    display: grid;
    place-items: center;

    width: clamp(105px, 11vw, 140px);

    aspect-ratio: 1;

    padding: 8px;

    border-radius: 50%;

    background:
        conic-gradient(
            from -90deg,
            var(--facts-green) 0deg,
            #36b28d var(--meter-progress),
            #e9eeeb var(--meter-progress),
            #e9eeeb 360deg
        );

    transform: rotate(-12deg);

    transition: background .1s linear;
}

.hibah-meter-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    border-radius: 50%;

    background: #fff;

    transform: rotate(12deg);
}

.hibah-meter-inner strong {
    color: var(--facts-dark);

    font-size: clamp(20px, 2.1vw, 29px);
    font-weight: 850;
    line-height: 1.2;

    font-variant-numeric: tabular-nums;
}

.hibah-meter-inner small {
    margin-top: 4px;

    color: var(--facts-muted);

    font-size: 10px;
    font-weight: 600;
}

.hibah-meter-item h4 {
    max-width: 170px;

    margin: 13px 0 0;

    color: #455c54;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}


/* Facts bottom note */

.facts-bottom-note {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    max-width: 900px;

    margin: 28px auto 0;
    padding: 18px 22px;

    border: 1px solid #e0e9e4;
    border-radius: 14px;

    background: #fff;

    color: var(--facts-green);

    text-align: center;
}

.facts-bottom-note i {
    flex-shrink: 0;
}

.facts-bottom-note p {
    margin: 0;

    color: #52645d;

    font-size: 12px;
    line-height: 1.8;
}


/* =========================================
   PRIVACY / TERMS
========================================= */

.privacy-page,
.terms-page {
    min-height: 100vh;

    padding: 125px 20px 80px;

    background:
        radial-gradient(
            ellipse at top right,
            rgba(203, 168, 102, .12),
            transparent 45%
        ),
        var(--cream);

    color: var(--ink);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        sans-serif;
}

.privacy-page__content,
.terms-page__content {
    width: min(100%, 850px);

    margin: 0 auto;

    padding: clamp(28px, 5vw, 56px);

    background: var(--white);

    border: 1px solid var(--line);
    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.privacy-page__content h1,
.terms-page__content h1 {
    margin: 0 0 18px;

    color: var(--dark);

    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 850;
    line-height: 1.08;

    letter-spacing: -.055em;
}

.privacy-page__content > p,
.terms-page__content > p {
    margin-bottom: 32px;

    color: var(--soft);

    font-size: 1.02rem;
    line-height: 1.8;
}

.privacy-page__content section,
.terms-page__content section {
    margin-top: 30px;
    padding-top: 25px;

    border-top: 1px solid var(--line);
}

.privacy-page__content h2,
.terms-page__content h2 {
    margin: 0 0 12px;

    color: var(--green);

    font-size: clamp(1.15rem, 2.5vw, 1.4rem);
    font-weight: 800;
    line-height: 1.4;

    letter-spacing: -.02em;
}

.privacy-page__content p,
.terms-page__content p {
    color: var(--soft);

    font-size: .96rem;
    line-height: 1.85;

    overflow-wrap: anywhere;
}

.privacy-page__content ul,
.terms-page__content ul,
.privacy-page__content ol,
.terms-page__content ol {
    margin: 12px 0 0;
    padding-left: 24px;

    color: var(--soft);
}

.privacy-page__content li,
.terms-page__content li {
    margin-bottom: 9px;
    padding-left: 4px;

    line-height: 1.8;
}

.privacy-page__content a,
.terms-page__content a {
    color: var(--green);

    font-weight: 700;

    text-decoration: underline;
    text-underline-offset: 3px;
}

.privacy-page__content a:hover,
.terms-page__content a:hover {
    color: var(--dark);
}

.privacy-page__content .last-updated,
.terms-page__content .last-updated {
    display: block;

    margin-top: 32px;
    padding-top: 20px;

    border-top: 1px solid var(--line);

    color: var(--soft);

    font-size: .82rem;
}


/* =========================================
   RESPONSIVE - 1100px
========================================= */

@media (max-width: 1100px) {

    .trust-bar-inner {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        justify-items: stretch;

        gap: 28px 32px;
    }

    .trust-item {
        max-width: none;
    }

    .trust-intro h3 {
        font-size: 17px;
    }
}


/* =========================================
   RESPONSIVE - 1000px
========================================= */

@media (max-width: 1000px) {

    .protection-facts {
        padding: 68px 22px;
    }

    .facts-panel {
        padding: 24px;
    }

    .facts-panel-heading h3 {
        font-size: 21px;
    }

    .hibah-meter-grid {
        gap: 24px 10px;
    }
}


/* =========================================
   RESPONSIVE - 900px
========================================= */

@media (max-width: 900px) {

    .section {
        padding: 82px 0;
    }

    .menu-btn {
        display: block;
    }

    .nav-menu {
        position: fixed;

        inset: 84px 20px auto;

        flex-direction: column;
        align-items: stretch;

        padding: 18px;

        background: #fff;
        color: var(--ink);

        border-radius: 20px;

        box-shadow: var(--shadow);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-12px);

        transition: .25s;
    }

    .nav-menu.open {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .medical-grid,
    .hibah-grid,
    .about-grid,
    .faq-layout,
    .form-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .image-card,
    .hibah-visual {
        min-height: 520px;
        height: 520px;
    }

    .portrait {
        height: auto;
        min-height: initial;
    }

    .form-intro {
        position: static;
    }

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

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

    .popup-copy {
        display: none;
    }

    .protection-facts {
        padding: 64px 24px;
    }

    .medical-cost-list {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 28px 22px;
    }
}


/* =========================================
   RESPONSIVE - 700px
========================================= */

@media (max-width: 700px) {

    .protection-facts {
        padding: 54px 16px;
    }

    .facts-heading {
        margin-bottom: 30px;
    }

    .facts-heading h2 {
        font-size: 32px;
        letter-spacing: -.7px;
    }

    .facts-heading p {
        font-size: 14px;
    }

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

    .facts-panel {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .facts-panel-heading {
        margin-bottom: 26px;
    }

    .cost-number {
        font-size: 32px;
    }

    .hibah-meter {
        width: clamp(112px, 34vw, 140px);
    }

    .hibah-meter-inner strong {
        font-size: 25px;
    }

    .hibah-meter-item h4 {
        font-size: 12px;
    }
}


/* =========================================
   RESPONSIVE - 620px
========================================= */

@media (max-width: 620px) {

    .container {
        width:
            min(
                calc(100% - 28px),
                var(--container)
            );
    }


    /* Header */

    .brand-logo {
        width: 150px;
        height: auto;
    }


    /* Hero */

    .hero {
        min-height: 100svh;
        height: auto;

        padding: 145px 0 70px;

        background-image:
            linear-gradient(
                180deg,
                rgba(63, 16, 31, .72) 0%,
                rgba(63, 16, 31, .55) 42%,
                rgba(63, 16, 31, .86) 100%
            ),
            url('https://res.cloudinary.com/tpc4rcog/image/upload/v1792745608/Joyful_Family_Embrace_in_a_Sunlit_Living_Room_n7tnhj.webp?auto=format&fit=crop&w=2000&q=86');

        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .hero h1 {
        font-size:
            clamp(3.2rem, 17vw, 5rem);
    }

    .hero-actions .btn {
        width: 100%;
    }


    /* Standard section button */

    .section-cta-btn {
        width: 100%;
        max-width: 100%;
    }


    /* Grids */

    .hibah-pillars,
    .form-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .field.full {
        grid-column: auto;
    }


    /* CTA */

    .cta-panel {
        min-height: 500px;
        background-position: center;
    }

    .cta-content {
        max-width: 100%;
        padding: 60px 0;
    }


    /* Forms */

    .quote-form,
    .popup-form {
        padding: 25px 18px;
    }


    /* Footer */

    .footer .brand-logo {
        width: 220px;
    }


    /* Social proof */

    .social-proof {
        top: 78px;
        right: 16px;
    }


    /* WhatsApp */

    .wa-float {
        width: 56px;
        height: 56px;

        right: 16px;
        bottom: 16px;

        padding: 0;
    }

    .wa-icon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .wa-label {
        display: none;
    }


    /* Trust Bar */

    .trust-bar {
        padding: 26px 0;
    }

    .trust-bar-inner {
        width: calc(100% - 36px);

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 24px 16px;
    }

    .trust-intro {
        grid-column: 1 / -1;

        padding-bottom: 16px;

        border-bottom:
            1px solid rgba(20, 48, 40, .12);
    }

    .trust-intro h3 {
        font-size: 19px;
        max-width: 320px;
    }

    .trust-item {
        align-items: flex-start;
        flex-direction: column;

        gap: 10px;
    }

    .trust-icon {
        width: 42px;
        height: 42px;

        flex-basis: 42px;

        font-size: 17px;
    }

    .trust-content h4 {
        font-size: 13px;
    }

    .trust-content p {
        font-size: 12px;
        line-height: 1.5;
    }


    /* Plan radio */

    .plan-list {
        grid-template-columns: 1fr;
    }


    /* Privacy */

    .privacy-page,
    .terms-page {
        padding: 100px 14px 45px;
    }

    .privacy-page__content,
    .terms-page__content {
        padding: 26px 20px;
        border-radius: 20px;
    }

    .privacy-page__content section,
    .terms-page__content section {
        margin-top: 24px;
        padding-top: 20px;
    }

    .privacy-page__content p,
    .terms-page__content p {
        font-size: .92rem;
        line-height: 1.8;
    }


    /* Success */

    .success-page .success-screen {
        padding: 30px 16px;
    }

    .success-page .success-card {
        padding: 32px 22px;
    }

    .success-brand {
        font-size: .8rem;
        margin-bottom: 22px;
    }
}


/* =========================================
   RESPONSIVE - 600px
========================================= */

@media (max-width: 600px) {

    .protection-facts {
        padding: 48px 18px;
    }

    .facts-container {
        width: 100%;
    }

    .facts-heading {
        margin-bottom: 32px;
    }

    .facts-heading h2 {
        font-size:
            clamp(27px, 7vw, 34px);

        line-height: 1.2;
        letter-spacing: -.7px;
    }

    .facts-heading p {
        font-size: 14px;
        line-height: 1.7;
    }

    .facts-grid {
        grid-template-columns:
            minmax(0, 1fr);
    }

    .medical-cost-list {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 26px;
    }

    .medical-cost-item {
        width: 100%;
    }

    .cost-number {
        font-size:
            clamp(28px, 8vw, 36px);
    }

    .cost-track {
        width: 100%;
    }

    .medical-cost-item p {
        font-size: 14px;
        line-height: 1.7;
    }

    .facts-bottom-note {
        align-items: flex-start;

        gap: 10px;

        margin-top: 28px;

        padding: 16px;

        border:
            1px solid #dce8e1;

        border-radius: 14px;

        background: #fff;
    }

    .facts-bottom-note i {
        flex-shrink: 0;

        margin-top: 3px;

        color: var(--facts-green);
    }

    .facts-bottom-note p {
        font-size: 11px;
        line-height: 1.7;
    }
}


/* =========================================
   RESPONSIVE - 360px
========================================= */

@media (max-width: 360px) {

    .trust-bar-inner {
        width: calc(100% - 28px);
        gap: 22px 12px;
    }

    .trust-content h4 {
        font-size: 12px;
    }

    .trust-content p {
        font-size: 11px;
    }
}


/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hibah-meter,
    .cost-track span {
        transition: none !important;
    }
}