/* =========================================================
   AMIR WEBSITE - CLEAN PRODUCTION STYLESHEET
========================================================= */
:root {
    --ink: #102d27;
    --soft: #435f58;
    --green: #086b58;
    --dark: #064c40;
    --mint: #ddf2ec;
    --cream: #f2f7f5;
    --gold: #c6a15b;
    --white: #fff;
    --line: rgba(8, 107, 88, .12);
    --shadow: 0 24px 70px rgba(16, 44, 39, .14);
    --radius: 28px;
    --container: 1200px;
    --header-height: 84px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

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-inline: auto;
}

.section {
    padding: 108px 0;
}

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

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

.section-title {
    max-width: 760px;
    margin-bottom: 24px;
}

.section-title h2,
h2.section-title {
    margin: 0;
    color: var(--ink);
    font-size: clamp(2.35rem, 5vw, 4.4rem);
    font-weight: 850;
    line-height: .98;
    letter-spacing: -.055em;
}

.section-title>p {
    font-size: .8rem;
    line-height: 1.5;
}

.section-title>span {
    display: block;
    font-size: 1.05rem;
    line-height: 1.7;
    letter-spacing: normal;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    transition: transform .25s, background .25s, color .25s, border-color .25s;
}

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

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

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

/* =========================================================
   NAVBAR QUOTATION BUTTON
   Top = White
   Scrolled = Green
========================================================= */

/* Before scroll */
.header:not(.scrolled) .btn-primary {
    background: #ffffff;
    color: var(--dark);

    border-color: rgba(255, 255, 255, 0.8);

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

    animation:
        navbarHeartbeat 2.4s ease-in-out infinite;
}


/* After scroll */
.header.scrolled .btn-primary {
    background: var(--green);
    color: #ffffff;

    border-color: var(--green);

    box-shadow:
        0 12px 30px rgba(11, 107, 88, 0.22);

    animation:
        navbarHeartbeat 2.4s ease-in-out infinite;
}


/* Hover */
.header:not(.scrolled) .btn-primary:hover {
    background: #ffffff;
    color: var(--green);

    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.18);
}

.header.scrolled .btn-primary:hover {
    background: var(--dark);
    color: #ffffff;
}


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

@keyframes navbarHeartbeat {

    0%,
    70%,
    100% {
        transform: scale(1);
    }

    76% {
        transform: scale(1.045);
    }

    82% {
        transform: scale(1);
    }

    88% {
        transform: scale(1.025);
    }

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

.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);
}

/* HEADER */
.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: var(--header-height);
    background: transparent;
    color: #fff;
    box-shadow: none;
    transition: background .3s, color .3s, box-shadow .3s, backdrop-filter .3s;
}

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

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

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

.brand-logo {
    width: 280px;
    height: auto;

    object-fit: contain;
    display: block;

    transition:
        filter 0.3s ease,
        width 0.3s ease;
}

/* =========================================================
   NAVBAR QUOTATION BUTTON
========================================================= */

/* BEFORE SCROLL - putih + text dark */
.header:not(.scrolled) .btn-primary {
    background: #ffffff;
    color: var(--dark);

    border-color: #ffffff;

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

    animation:
        navbarHeartbeat 2.4s ease-in-out infinite;
}

.header:not(.scrolled) .brand-logo {
    filter: brightness(0) invert(1);
}

.header.scrolled .brand-logo {
    filter: none;
}

/* AFTER SCROLL - hijau + text PUTIH */
.header.scrolled .btn-primary {
    background: var(--green) !important;
    color: #ffffff !important;

    border-color: var(--green) !important;

    box-shadow:
        0 12px 30px rgba(11, 107, 88, 0.22);

    animation:
        navbarHeartbeat 2.4s ease-in-out infinite;
}


/* Pastikan child dalam button pun putih */
.header.scrolled .btn-primary span,
.header.scrolled .btn-primary i {
    color: #ffffff !important;
}


/* Hover selepas scroll */
.header.scrolled .btn-primary:hover {
    background: var(--dark) !important;
    color: #ffffff !important;
}

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

    gap: 30px;

    list-style: none;

    font-size: 1rem;
    font-weight: 800;
}

/* =========================================================
   NAVBAR LINK COLORS
========================================================= */

.nav-menu a {
    color: var(--ink);

    font-size: inherit;
    font-weight: inherit;

    transition: color 0.25s ease;
}


/* Transparent header over hero */

.header:not(.scrolled) .nav-menu a {
    color: #102D27;

    text-shadow:
        0 1px 2px rgba(255, 255, 255, 0.35);
}


/* Hover */

.header:not(.scrolled) .nav-menu a:hover {
    color: var(--green);
}


/* White header after scroll */

.header.scrolled .nav-menu a {
    color: var(--ink);

    text-shadow: none;
}

.header.scrolled .nav-menu a:hover {
    color: var(--green);
}


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

/* HERO: same container alignment as header */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 48px) 0 64px;
    color: #fff;
    background: linear-gradient(90deg, rgba(16, 44, 39, .94) 0%, rgba(8, 107, 88, .70) 48%, rgba(8, 107, 88, .18) 100%),
        url('img/hero.webp?auto=format&fit=crop&w=2000&q=86') center/cover no-repeat;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 680px;
    margin: 0;
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 24px;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    backdrop-filter: blur(10px);
    font-size: .78rem;
    font-weight: 700;
}

.hero h1 {
    max-width: 980px;
    margin: 0 0 20px;
    font-size: clamp(5rem, 7vw, 6.2rem);
    line-height: 1.02;
    letter-spacing: -.045em;
}

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

.hero p {
    max-width: 560px;
    margin: 0 0 26px;
    color: rgba(255, 255, 255, .82);
    font-size: 1.05rem;
    line-height: 1.7;
}

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

.hero-note {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 18px;
    color: rgba(255, 255, 255, .75);
    font-size: .82rem;
}

.lead-counter {
    display: none;
    align-items: center;
    gap: 10px;
    width: max-content;
    max-width: 100%;
    margin-top: 20px;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    font-size: .84rem;
    font-weight: 750;
    backdrop-filter: blur(8px);
}

.lead-counter.show {
    display: flex;
}

.counter-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #75efb6;
    box-shadow: 0 0 0 6px rgba(117, 239, 182, .13);
}

/* TRUST BAR */
.trust-bar {
    width: 100%;
    padding: 30px 0;
    background: #f7f4ed;
    border-block: 1px solid rgba(20, 48, 40, .09);
}

.trust-bar-inner {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    gap: 28px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.trust-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--green);
    font-size: 19px;
    box-shadow: 0 5px 18px rgba(16, 46, 39, .06);
    transition: background .2s, transform .2s;
}

.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 {
    color: #61716b;
    font-size: 13px;
    line-height: 1.6;
}

/* =========================================================
   PLANS - PREMIUM PRODUCT SHOWCASE
========================================================= */

#plans {
    position: relative;

    padding: 96px 0 105px;

    overflow: hidden;

    background:
        radial-gradient(circle at 12% 15%,
            rgba(8, 107, 88, 0.07),
            transparent 28%),
        linear-gradient(180deg,
            #f6faf8 0%,
            #eef6f3 100%);
}


/* =========================================================
   PLANS SECTION HEADING
   Match Protection Facts heading style
========================================================= */

#plans .section-title {
    max-width: 720px;

    margin: 0 auto 48px;

    text-align: center;
}


/* Eyebrow */

#plans .section-eyebrow {
    display: inline-flex;

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

    gap: 14px;

    margin: 0 0 16px;

    color: var(--green);

    font-size: 14px;
    font-weight: 850;
    line-height: 1.4;

    letter-spacing: 2px;
    text-transform: uppercase;
}


/* Gold line before eyebrow */

#plans .section-eyebrow::before {
    content: "";

    display: block;

    width: 44px;
    height: 2px;

    flex: 0 0 44px;

    background: var(--gold);
}


/* Main heading */

#plans .section-title h2 {
    max-width: 720px;

    margin: 0 auto 16px;

    color: var(--ink);

    font-size: clamp(30px,
            4vw,
            46px);

    font-weight: 850;

    line-height: 1.15;

    letter-spacing: -1.2px;
}


/* Description */

#plans .section-title>span {
    display: block;

    max-width: 650px;

    margin: 0 auto;

    color: var(--soft);

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================================
   PRODUCT GRID
========================================================= */

#plans .product-grid {
    display: grid;

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

    gap: 28px;

    align-items: stretch;

    /*
     * Extra space for offset image borders.
     */
    padding:
        5px 10px 12px 0;
}


/* =========================================================
   PRODUCT ITEM
   Deliberately no full white card/background.
========================================================= */

#plans .product-card {
    position: relative;

    min-width: 0;

    padding: 0;

    background: transparent;

    border: 0;

    box-shadow: none;

    transition:
        transform 0.35s ease;
}

#plans .product-card:hover {
    transform: translateY(-5px);
}


/* =========================================================
   IMAGE WRAPPER
========================================================= */

#plans .product-image {
    position: relative;

    width:
        calc(100% - 10px);

    height: 235px;

    margin:
        0 10px 26px 0;

    overflow: visible;

    border-radius: 22px;

    isolation: isolate;
}


/* =========================================================
   OFFSET GOLD FRAME
========================================================= */

#plans .product-image::before {
    content: "";

    position: absolute;

    top: 11px;
    left: 11px;

    width: 100%;
    height: 100%;

    border:
        1.5px solid rgba(198, 161, 91, 0.80);

    border-radius: 22px;

    background: transparent;

    z-index: -1;

    pointer-events: none;
}


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

#plans .product-image img {
    position: relative;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 22px;

    background: #e7efec;

    box-shadow:
        0 14px 32px rgba(16, 45, 39, 0.10);

    z-index: 1;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


/* Slight movement instead of zooming */

#plans .product-card:hover .product-image img {
    transform:
        translateY(-3px);

    box-shadow:
        0 19px 40px rgba(16, 45, 39, 0.15);
}


/* =========================================================
   SUBTLE IMAGE OVERLAY
========================================================= */

#plans .product-image::after {
    content: "";

    position: absolute;

    inset: 0;

    border-radius: 22px;

    background:
        linear-gradient(180deg,
            transparent 60%,
            rgba(6, 76, 64, 0.12) 100%);

    z-index: 2;

    pointer-events: none;
}


/* =========================================================
   FLOATING PRODUCT ICON
========================================================= */

#plans .product-icon {
    position: absolute;

    left: 18px;
    bottom: 16px;

    z-index: 3;

    display: grid;
    place-items: center;

    width: 38px;
    height: 38px;

    border:
        1px solid rgba(255, 255, 255, 0.60);

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.94);

    color: var(--green);

    font-size: 1rem;
    font-style: normal;
    font-weight: 850;

    box-shadow:
        0 8px 20px rgba(16, 45, 39, 0.13);

    backdrop-filter: blur(8px);
}


/* =========================================================
   PRODUCT CONTENT
========================================================= */

#plans .product-content {
    position: relative;

    padding:
        5px 5px 0;

    text-align: left;
}


/* Small premium gold accent */

#plans .product-content::before {
    content: "";

    display: block;

    width: 36px;
    height: 3px;

    margin-bottom: 13px;

    border-radius: 999px;

    background: var(--gold);
}


/* =========================================================
   PRODUCT TITLE
========================================================= */

#plans .product-content h3 {
    margin: 0 0 8px;

    color: var(--ink);

    font-size: 1.12rem;
    font-weight: 850;

    line-height: 1.3;
}


/* =========================================================
   PRODUCT DESCRIPTION
========================================================= */

#plans .product-content p {
    margin: 0;

    color: var(--soft);

    font-size: 0.82rem;

    line-height: 1.7;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    #plans {
        padding:
            78px 0 84px;
    }

    #plans .product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap:
            42px 28px;
    }

    #plans .product-image {
        height: 270px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 620px) {

    #plans {
        padding:
            60px 0 65px;
    }


    /* Heading */

    #plans .section-title {
        margin-bottom: 32px;
    }

    #plans .section-eyebrow {
        gap: 10px;

        margin-bottom: 12px;

        font-size: 11px;
        letter-spacing: 1.4px;
    }

    #plans .section-eyebrow::before {
        width: 30px;
        height: 2px;

        flex-basis: 30px;
    }

    #plans .section-title h2 {
        font-size: clamp(27px,
                7vw,
                34px);

        line-height: 1.2;

        letter-spacing: -0.7px;
    }

    #plans .section-title>span {
        max-width: 340px;

        font-size: 14px;

        line-height: 1.7;
    }


    /* One product per row */

    #plans .product-grid {
        grid-template-columns: 1fr;

        gap: 32px;

        padding:
            0 7px 8px 0;
    }


    /* Horizontal product item */

    #plans .product-card {
        display: grid;

        grid-template-columns:
            125px minmax(0, 1fr);

        gap: 18px;

        align-items: center;
    }


    /* Image */

    #plans .product-image {
        width:
            calc(100% - 6px);

        height: 180px;

        margin:
            0 6px 6px 0;

        border-radius:
            16px;
    }


    /* Smaller gold offset */

    #plans .product-image::before {
        top: 7px;
        left: 7px;

        border-width: 1px;

        border-radius:
            16px;
    }


    #plans .product-image img,
    #plans .product-image::after {
        border-radius:
            16px;
    }


    /* Icon */

    #plans .product-icon {
        left: 10px;
        bottom: 10px;

        width: 30px;
        height: 30px;

        font-size: 0.76rem;
    }


    /* Content */

    #plans .product-content {
        padding:
            0 2px;
    }

    #plans .product-content::before {
        width: 28px;

        margin-bottom:
            9px;
    }

    #plans .product-content h3 {
        margin-bottom:
            6px;

        font-size:
            1rem;
    }

    #plans .product-content p {
        font-size:
            0.72rem;

        line-height:
            1.55;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    #plans .product-card {
        grid-template-columns:
            108px minmax(0, 1fr);

        gap: 15px;
    }

    #plans .product-image {
        height: 165px;
    }

    #plans .product-content h3 {
        font-size: 0.92rem;
    }

    #plans .product-content p {
        font-size: 0.67rem;
    }

}


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


/* =========================================================
   ABOUT GRID
   Full portrait balanced against title, copy and quote
========================================================= */

.about-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.82fr) minmax(0, 1.18fr);

    gap: 72px;

    align-items: center;
}

.image-card,
.hibah-visual {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

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

.image-card::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;
}

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

.info-point {
    display: flex;
    gap: 14px;
    padding: 17px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--cream);
}

.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 {
    background: var(--dark);
    color: #fff;
}

.hibah .eyebrow {
    color: #b9e7d9;
}

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

.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;
}

/* =========================================================
   CTA PANEL
========================================================= */

.photo-cta {
    padding: 64px 0;
    background: #ffffff;
}

.cta-panel {
    position: relative;

    min-height: 460px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border-radius: 34px;

    color: #ffffff;

    background:
        linear-gradient(90deg,
            rgba(10, 42, 36, 0.96) 0%,
            rgba(8, 76, 64, 0.88) 38%,
            rgba(8, 107, 88, 0.52) 68%,
            rgba(8, 107, 88, 0.12) 100%),
        url('img/cta.webp?auto=format&fit=crop&w=1800&q=85') center / cover no-repeat;

    box-shadow:
        0 26px 70px rgba(16, 44, 39, 0.18);
}

.cta-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 720px;

    padding: 70px;
}


/* Eyebrow */

.cta-panel .eyebrow {
    margin-bottom: 20px;

    color: #ffffff !important;

    font-size: 0.78rem;
    font-weight: 850;

    letter-spacing: 0.15em;
    text-transform: uppercase;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.18);
}

.cta-panel .eyebrow::before {
    background: var(--gold);
}


/* Heading */

.cta-content h2 {
    max-width: 620px;

    margin: 0 0 18px;

    color: #ffffff;

    font-size:
        clamp(2.7rem, 4.5vw, 4.25rem);

    font-weight: 850;
    line-height: 1.02;

    letter-spacing: -0.05em;

    text-shadow:
        0 4px 20px rgba(0, 0, 0, 0.12);
}


/* Description */

.cta-content p {
    max-width: 580px;

    margin: 0 0 28px;

    color:
        rgba(255, 255, 255, 0.88);

    font-size: 1rem;
    line-height: 1.7;
}


/* CTA button */

.cta-panel .btn-light {
    min-height: 56px;

    padding: 0 30px;

    border:
        1px solid rgba(255, 255, 255, 0.65);

    border-radius: 999px;

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

    font-size: 0.95rem;
    font-weight: 850;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.18);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.cta-panel .btn-light:hover {
    transform: translateY(-3px);

    background: #f4fffb;

    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.23);
}


/* Reassurance text, if added in HTML */

.cta-reassurance {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 8px 18px;

    margin-top: 18px;

    color:
        rgba(255, 255, 255, 0.78);

    font-size: 0.76rem;
    font-weight: 650;
}


/* Mobile CTA */

@media (max-width: 620px) {

    .cta-panel {
        min-height: 500px;

        align-items: flex-end;

        border-radius: 24px;

        background:
            linear-gradient(180deg,
                rgba(8, 76, 64, 0.15) 0%,
                rgba(8, 76, 64, 0.48) 40%,
                rgba(10, 42, 36, 0.96) 100%),
            url('img/cta.webp?auto=format&fit=crop&w=1800&q=85') 60% center / cover no-repeat;
    }

    .cta-content {
        max-width: 100%;

        padding: 38px 24px;
    }

    .cta-panel .eyebrow {
        font-size: 0.66rem;
    }

    .cta-content h2 {
        max-width: 100%;

        font-size:
            clamp(2.1rem, 10vw, 3rem);

        line-height: 1.05;
    }

    .cta-content p {
        font-size: 0.9rem;
    }

    .cta-panel .btn-light {
        width: 100%;
    }

    .cta-reassurance {
        justify-content: center;

        gap: 6px 12px;

        font-size: 0.68rem;
        text-align: center;
    }

}

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

/* =========================================================
   ABOUT PORTRAIT - BALANCED FULL PORTRAIT
========================================================= */

.portrait {
    position: relative;

    width: 100%;
    max-width: 480px;

    height: auto;
    min-height: 0;

    justify-self: center;
    align-self: center;

    overflow: hidden;

    border-radius:
        240px 240px 26px 26px;

    background: #e8efec;

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

.portrait img {
    display: block;

    width: 100%;
    height: auto;
    min-height: 0;

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

    margin: 0;
}

.about-quote {
    margin: 30px 0;
    padding-left: 22px;
    border-left: 3px solid var(--gold);
    color: var(--soft);
    font-style: italic;
}

/* =========================================================
   ABOUT ME CTA - CENTER
========================================================= */

.about .about-actions {
    display: flex;
    justify-content: center;

    width: 100%;

    margin-top: 26px;
}

/* 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;
    border: 0;
    background: none;
    color: var(--ink);
    text-align: left;
    font-weight: 850;
}

.faq-symbol {
    color: var(--green);
    font-size: 1.35rem;
    transition: transform .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 */
.form-section {
    background: var(--dark);
    color: #fff;
}

.form-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 0.92fr) minmax(0, 1.08fr);

    gap: 48px;

    align-items: start;
}

/* =========================================================
   QUOTATION INTRO - COMPACT DESKTOP
========================================================= */

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

    height: 540px;
    min-height: 540px;

    display: flex;
    align-items: stretch;

    overflow: hidden;

    border-radius: 30px;

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

    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.20);

    isolation: isolate;
}


/* Image overlay */

.form-intro::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -1;

    background:
        linear-gradient(180deg,
            rgba(2, 28, 23, 0.48) 0%,
            rgba(2, 30, 25, 0.44) 25%,
            rgba(2, 29, 24, 0.58) 48%,
            rgba(2, 25, 21, 0.78) 72%,
            rgba(1, 18, 15, 0.96) 100%);
}


/* Content */

.form-intro-content {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding:
        34px 34px 32px;
}

.form-intro .eyebrow {
    margin-bottom: 12px;

    color: #00310e;

    font-size: 0.67rem;
    font-weight: 850;

    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.form-intro .eyebrow::before {
    width: 30px;

    background: var(--gold);
}

.form-intro .section-title {
    max-width: 500px;

    margin: 0 0 12px;

    color: #ffffff;

    font-size: clamp(2.25rem,
            3.5vw,
            3.35rem);

    font-weight: 850;

    line-height: 1.02;

    letter-spacing: -0.04em;
}

@media (max-width: 900px) {

    .form-intro {
        position: relative;
        top: auto;

        height: auto;
        min-height: 450px;
    }

}

@media (max-width: 620px) {

    .form-intro-content {
        min-height: 450px;

        justify-content: flex-end;

        padding: 30px 22px;
    }

    .form-intro .eyebrow {
        margin-bottom: 14px;
    }

    .form-intro .section-title {
        margin-bottom: 16px;
    }

    .form-intro .quotation-description {
        margin-bottom: 20px;
    }

    .quotation-benefits {
        gap: 10px;
    }

}

/* =========================================================
   QUOTATION BENEFITS
========================================================= */

.quotation-benefits {
    display: grid;

    gap: 12px;

    max-width: 600px;
}


.quotation-benefit {
    display: flex;

    align-items: center;

    gap: 12px;
}


.quotation-benefit__icon {
    display: grid;
    place-items: center;

    flex: 0 0 28px;

    width: 28px;
    height: 28px;

    border-radius: 50%;

    background: var(--green);

    color: #ffffff;

    font-size: 0.75rem;
    font-weight: 900;

    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.18);
}


.quotation-benefit__text {
    color: #ffffff;

    font-size: 0.84rem;
    font-weight: 700;

    line-height: 1.5;
}


/* Subtle inner border */

.form-intro::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 3;

    border:
        1px solid rgba(255, 255, 255, 0.12);

    border-radius: inherit;

    pointer-events: none;
}


/* =========================================================
   QUOTATION INTRO CONTENT
========================================================= */

.form-intro-content {
    position: relative;
    z-index: 2;

    width: 100%;

    padding:
        46px 42px 42px;
}

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

.quote-form {
    padding: 38px;
    border-radius: 28px;
    background: #fff;
    color: var(--ink);
    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%;
    padding: 14px 16px;
    border: 1px solid #d8e1de;
    border-radius: 13px;
    background: #fbfdfc;
    color: var(--ink);
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(11, 107, 88, .1);
}

.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;
}

.plan-radio input {
    position: relative;
    appearance: none;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin: 0;
    padding: 0;
    border: 2px solid var(--green);
    border-radius: 50%;
    background: #fff;
}

.plan-radio input::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--green);
    opacity: 0;
    transform: scale(.5);
    transition: opacity .2s, transform .2s;
}

.plan-radio input:checked::after {
    opacity: 1;
    transform: scale(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;
}

.form-error {
    display: none;
    margin-top: 14px;
    padding: 12px;
    border-radius: 12px;
    background: #fff0f0;
    color: #922;
    font-size: .84rem;
    font-weight: 700;
}

/* FOOTER */
.footer {
    padding: 70px 0 28px;
    background: #102c27;
    color: rgba(255, 255, 255, .72);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr .75fr .95fr;
    gap: 60px;
    align-items: start;

    padding-bottom: 32px;
}


/* Push Hubungi block towards right edge */

.footer-contact {
    justify-self: start;

    width: fit-content;

    margin-left: 35px;

    text-align: left;
}

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

.footer-links {
    display: grid;
    gap: 10px;
    list-style: none;
}

/* =========================================================
   FOOTER BOTTOM - FINAL
========================================================= */

.footer .footer-bottom {
    display: block;
    width: 100%;

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

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

    text-align: left;
}


/* =========================================================
   DISCLAIMER
========================================================= */

.footer .footer-disclaimer {
    width: 100%;
    max-width: none;

    margin: 0 0 28px;

    color:
        rgba(255, 255, 255, 0.70);

    font-size: 0.74rem;
    line-height: 1.8;

    text-align: left;
}

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


/* =========================================================
   COPYRIGHT + LEGAL
========================================================= */

.footer .footer-bottom-row {
    display: flex;

    width: 100%;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin: 0;
}


/* Copyright - LEFT */

.footer .footer-copyright {
    flex: 0 1 auto;

    margin: 0;

    color:
        rgba(255, 255, 255, 0.82);

    font-size: 0.82rem;
    line-height: 1.5;

    text-align: left;

    white-space: nowrap;
}


/* Legal links - RIGHT */

.footer .footer-legal {
    display: flex;

    flex: 0 0 auto;

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

    gap: 12px;

    margin: 0;

    margin-left: auto;

    text-align: right;

    white-space: nowrap;
}

.footer .footer-legal a {
    color:
        rgba(255, 255, 255, 0.82);

    font-size: 0.82rem;

    text-decoration: underline;
    text-underline-offset: 4px;

    transition:
        color 0.2s ease;
}

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

.footer .footer-legal>span {
    color:
        rgba(255, 255, 255, 0.40);
}

.footer .brand-logo {
    width: 350px;
    max-width: 100%;
    height: auto;
    display: block;
    filter: brightness(0) invert(1);

}

/* EFFECTS / FLOATING */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s, transform .7s;
}

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

.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;
}

.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;
}

.proof-close {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #7b8b85;
    transition: background .2s, color .2s;
}

/* =========================================================
   FLOATING WHATSAPP
   Simple round button + pulse
========================================================= */

.wa-float {
    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: 2000;

    display: grid;
    place-items: center;

    width: 60px;
    height: 60px;

    padding: 0;

    overflow: visible;

    border-radius: 50%;

    background: #25D366;
    color: #ffffff;

    text-decoration: none;

    box-shadow:
        0 12px 30px rgba(37, 211, 102, 0.35);

    animation:
        waPulse 2.6s infinite;

    transition:
        transform 0.25s ease;
}


/* WhatsApp SVG */

.wa-float .wa-icon {
    display: block;

    width: 30px;
    height: 30px;

    margin: 0;

    color: #ffffff;

    transform: none;
}


/* Hide old expandable label */

.wa-float .wa-label {
    display: none;
}


/* Hover */

.wa-float:hover,
.wa-float:focus-visible {
    width: 60px;

    transform: scale(1.08);

    background: #25D366;
}


/* =========================================================
   PULSE ANIMATION
========================================================= */

@keyframes waPulse {

    0% {
        box-shadow:
            0 0 0 0 rgba(37, 211, 102, 0.45);
    }

    70% {
        box-shadow:
            0 0 0 16px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(37, 211, 102, 0);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 620px) {

    .wa-float {
        right: 16px;
        bottom: 16px;

        width: 54px;
        height: 54px;
    }

    .wa-float:hover,
    .wa-float:focus-visible {
        width: 54px;
    }

    .wa-float .wa-icon {
        width: 27px;
        height: 27px;
    }

}


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

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

    .wa-float {
        animation: none;
    }

}

/* LEGAL / SUCCESS */
.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);
}

.privacy-page__content,
.terms-page__content {
    width: min(100%, 850px);
    margin: 0 auto;
    padding: clamp(28px, 5vw, 56px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.privacy-page__content h1,
.terms-page__content h1 {
    margin-bottom: 18px;
    color: var(--dark);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.08;
}

.privacy-page__content section,
.terms-page__content section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--line);
}

.privacy-page__content p,
.terms-page__content p {
    color: var(--soft);
    line-height: 1.85;
}

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

.success-screen {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 48px 20px;
    background: radial-gradient(ellipse at top right, rgba(203, 168, 102, .18), transparent 60%), linear-gradient(145deg, #042d26, var(--green));
    text-align: center;
}

.success-card {
    width: min(680px, 100%);
    padding: 44px 40px;
    border: 1px solid rgba(203, 168, 102, .45);
    border-radius: 30px;
    background: var(--cream);
    color: var(--ink);
    box-shadow: 0 30px 80px rgba(2, 27, 23, .25);
}

.success-icon {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: var(--mint);
    color: var(--green);
    font-size: 2rem;
    font-weight: 900;
}

/* TABLET */
@media (max-width: 1050px) {
    #plans .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #plans .plan-image {
        height: 230px;
    }
}

@media (max-width: 900px) {
    .section {
        padding: 82px 0;
    }

    .menu-btn {
        display: block;
    }

    .nav-menu {
        position: fixed;
        inset: var(--header-height) 20px auto;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border-radius: 20px;
        background: #fff;
        color: var(--ink);
        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;
    }


    /* About portrait must retain the full image */

    .portrait {
        width: min(100%, 430px);

        height: auto;
        min-height: 0;

        margin-inline: auto;

        border-radius:
            215px 215px 24px 24px;
    }

    .portrait img {
        width: 100%;
        height: auto;
        min-height: 0;

        object-fit: contain;
    }

    .form-intro {
        position: static;
    }

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

/* MOBILE */
@media (max-width: 620px) {
    :root {
        --header-height: 76px;
    }

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

    .brand-logo {
        width: 180px;
        height: 52px;
    }

    .hero {
        min-height: 100vh;
        min-height: 100svh;
        align-items: flex-end;
        padding: calc(var(--header-height) + 32px) 0 48px;
        background-image: linear-gradient(180deg, rgba(16, 44, 39, .30) 0%, rgba(16, 44, 39, .38) 35%, rgba(16, 44, 39, .90) 100%), url('img/hero.webp?auto=format&fit=crop&w=2000&q=86');
        background-position: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        max-width: 100%;
        font-size: clamp(2.65rem, 13vw, 4rem);
        line-height: .96;
    }

    .hero p {
        max-width: 100%;
        font-size: .95rem;
    }

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

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

    .trust-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    #plans {
        padding: 58px 0;
    }

    #plans .section-title {
        margin-bottom: 30px;
    }

    #plans .section-title h2 {
        font-size: clamp(1.9rem, 9vw, 2.45rem);
        line-height: 1.1;
    }

    #plans .section-title>span {
        font-size: .86rem;
        line-height: 1.65;
    }

    #plans .product-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    #plans .plan-card {
        display: grid;
        grid-template-columns: 118px minmax(0, 1fr);
        border-radius: 16px;
    }

    #plans .plan-image {
        height: 100%;
        min-height: 190px;
    }

    #plans .plan-content {
        padding: 16px 15px;
    }

    #plans .plan-content h3 {
        font-size: 1rem;
    }

    #plans .plan-content p {
        margin-bottom: 12px;
        font-size: .72rem;
        line-height: 1.55;
    }

    #plans .plan-link {
        min-height: 38px;
        padding: 8px 10px;
        font-size: .67rem;
    }

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

    .cta-content {
        padding: 38px 25px;
    }

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

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

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

    .wa-float {
        width: 56px;
        height: 56px;
        padding: 0;
    }

    .wa-label {
        display: none;
    }

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

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

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

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

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


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

.protection-facts {
    --facts-green: #086b58;
    --facts-dark: #102d27;
    --facts-red: #d92d27;
    --facts-muted: #435f58;

    padding: 88px 24px;

    background:
        #faf7f5;

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

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

    margin:
        0 auto;
}


/* HEADING */

.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;

    color:
        var(--facts-green);

    font-size:
        14px;

    font-weight:
        850;

    letter-spacing:
        2px;

    text-transform:
        uppercase;
}

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

    width: 44px;
    height: 2px;

    background:
        var(--gold);
}

.facts-heading h2 {
    margin:
        0 0 16px;

    color:
        var(--facts-dark);

    font-size:
        clamp(30px,
            4vw,
            46px);

    font-weight:
        850;

    line-height:
        1.15;

    letter-spacing:
        -1.2px;
}

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

    margin:
        0 auto;

    color:
        var(--facts-muted);

    font-size:
        16px;

    line-height:
        1.8;
}


/* PANEL */

.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, 0.07);

    border-radius:
        24px;

    background:
        #fff;

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

.facts-panel-heading {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom:
        30px;
}

.facts-heading-icon {
    display: flex;

    flex: 0 0 52px;

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

    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 {
    color:
        var(--facts-muted);

    font-size:
        13px;

    line-height:
        1.6;
}


/* MEDICAL COUNTERS */

.medical-cost-list {
    display: grid;

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

    gap: 28px;
}

.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:
        -0.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,
            var(--green),
            #bd6682);
}

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

    color:
        var(--facts-muted);

    font-size:
        14px;

    line-height:
        1.7;
}

.facts-disclaimer {
    margin:
        26px 0 0;

    padding-top:
        18px;

    border-top:
        1px solid #edf0ed;

    color:
        #7b8782;

    font-size:
        11px;

    line-height:
        1.7;
}


/* 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 p {
    color:
        #52645d;

    font-size:
        12px;

    line-height:
        1.8;
}


/* MOBILE */

@media (max-width: 600px) {

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

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

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

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

    .facts-panel {
        padding:
            24px 20px;

        border-radius:
            20px;
    }

    .medical-cost-list {
        grid-template-columns:
            1fr;

        gap: 26px;
    }

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

}

@media (max-width: 620px) {

    .footer .footer-bottom {
        padding-top: 26px;

        text-align: center;
    }

    .footer .footer-disclaimer {
        margin-bottom: 22px;

        font-size: 0.68rem;
        line-height: 1.7;

        text-align: center;
    }

    .footer .footer-bottom-row {
        flex-direction: column;

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

        gap: 10px;
    }

    .footer .footer-copyright {
        font-size: 0.72rem;

        text-align: center;

        white-space: normal;
    }

    .footer .footer-legal {
        margin-left: 0;

        justify-content: center;

        white-space: normal;
    }

    .footer .footer-legal a {
        font-size: 0.72rem;
    }

}

@media (max-width: 620px) {

    .footer-contact {
        justify-self: center;

        width: 100%;

        text-align: center;
    }

    .footer-contact .footer-links {
        justify-items: center;
    }

}


/* =========================================================
   ABOUT PORTRAIT - MOBILE
========================================================= */

@media (max-width: 620px) {

    .about-grid {
        gap: 36px;
    }

    .portrait {
        width: min(100%, 330px);

        height: auto;
        min-height: 0;

        margin-inline: auto;

        border-radius:
            165px 165px 20px 20px;
    }

    .portrait img {
        width: 100%;
        height: auto;
        min-height: 0;

        object-fit: contain;
    }

}

/* =========================================================
   SECTION BACKGROUND RHYTHM
   Clear visual separation between sections
========================================================= */


/* =========================================================
   TRUST BAR
   Warm cream transition from hero
========================================================= */

.trust-bar {
    background: #f7f4ed;

    border-top:
        1px solid rgba(16, 45, 39, 0.06);

    border-bottom:
        1px solid rgba(16, 45, 39, 0.10);
}


/* =========================================================
   PLANS
   Very soft green
========================================================= */

#plans {
    background:
        radial-gradient(circle at 12% 15%,
            rgba(8, 107, 88, 0.07),
            transparent 28%),
        linear-gradient(180deg,
            #f3faf7 0%,
            #eaf5f1 100%);
}


/* =========================================================
   FACTS
   Warm off-white to separate from Plans
========================================================= */

.protection-facts {
    background:
        linear-gradient(180deg,
            #fffaf7 0%,
            #fbf7f3 100%);

    border-top:
        1px solid rgba(198, 161, 91, 0.10);

    border-bottom:
        1px solid rgba(198, 161, 91, 0.12);
}


/* =========================================================
   CTA PANEL OUTER SECTION
   Clean neutral background
========================================================= */

.photo-cta {
    padding: 64px 0;

    background: #ffffff;
}


/* =========================================================
   QUOTATION FORM
   Strong dark conversion section
========================================================= */

.form-section {
    position: relative;

    background:
        radial-gradient(circle at 8% 15%,
            rgba(221, 242, 236, 0.08),
            transparent 30%),
        linear-gradient(145deg,
            #064c40 0%,
            #043c33 55%,
            #032f28 100%);

    color: #ffffff;
}


/* Optional subtle divider above quotation section */

.form-section::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: min(calc(100% - 40px),
            var(--container));

    height: 1px;

    background:
        rgba(255, 255, 255, 0.10);

    transform:
        translateX(-50%);
}


/* =========================================================
   ABOUT ME
   Clean white section after dark quotation
========================================================= */

.about {
    background:
        linear-gradient(180deg,
            #ffffff 0%,
            #fbfdfc 100%);
}


/* =========================================================
   FAQ
   Soft green to distinguish from About
========================================================= */

.faq {
    background:
        linear-gradient(180deg,
            #f2f7f5 0%,
            #eaf3f0 100%);

    border-top:
        1px solid rgba(8, 107, 88, 0.08);
}


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

.footer {
    background:
        #102c27;
}

/* =========================================================
   HERO MOBILE - FINAL OVERRIDE
   Paste PALING BAWAH styles.css
========================================================= */

@media (max-width: 620px) {

    .hero {
        min-height: 100svh;

        display: flex;
        align-items: flex-start;

        padding:
            calc(var(--header-height) + 38px) 0 42px;

        background-image:
            linear-gradient(180deg,
                rgba(16, 44, 39, 0.20) 0%,
                rgba(16, 44, 39, 0.30) 28%,
                rgba(16, 44, 39, 0.62) 62%,
                rgba(10, 35, 30, 0.92) 100%),
            url('img/hero.webp');

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


    .hero>.container {
        width: calc(100% - 24px);

        margin-inline: auto;
    }


    .hero-content {
        width: 100%;
        max-width: 100%;

        margin: 0;

        text-align: left;
    }


    /* Badge */

    .hero-badge {
        margin-bottom: 20px;

        padding: 8px 14px;

        font-size: 0.72rem;
    }


    /* Heading */

    .hero h1 {
        max-width: 100%;

        margin-bottom: 18px;

        font-size:
            clamp(2.65rem,
                11vw,
                3.55rem);

        line-height: 0.98;

        letter-spacing: -0.045em;
    }


    /* Description */

    .hero p {
        max-width: 96%;

        margin-bottom: 20px;

        font-size: 0.93rem;
        line-height: 1.65;
    }


    /* Protection points */

    .hero-note {
        display: grid;

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

        gap: 8px 12px;

        width: 100%;

        margin-top: 14px;

        font-size: 0.73rem;
        line-height: 1.35;
    }


    /* CTA */

    .hero-actions {
        width: 100%;

        margin-top: 24px;
    }

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

        min-height: 54px;

        padding-inline: 18px;

        font-size: 0.88rem;
    }

}

/* =========================================================
   HERO MOBILE - VISUAL POLISH OVERRIDE
   Paste PALING BAWAH styles.css
========================================================= */

@media (max-width: 620px) {

    /* =====================================================
       HERO BACKGROUND + DARKER OVERLAY
    ===================================================== */

    .hero {
        min-height: 100svh;

        background-image:
            linear-gradient(180deg,
                rgba(8, 35, 30, 0.38) 0%,
                rgba(8, 40, 34, 0.42) 24%,
                rgba(8, 45, 38, 0.55) 48%,
                rgba(7, 39, 33, 0.72) 70%,
                rgba(5, 30, 26, 0.92) 100%),
            url('img/hero.webp');

        background-size: cover;

        /* Adjust 55%-62% kalau focal point nak digerakkan */
        background-position: 58% center;

        background-repeat: no-repeat;
    }


    /* =====================================================
       LOGO - BIGGER
    ===================================================== */

    .brand-logo {
        width: 205px;
        height: auto;

        object-fit: contain;
    }


    /* Logo putih sebelum scroll */

    .header:not(.scrolled) .brand-logo {
        filter: brightness(0) invert(1);
    }


    /* Original logo selepas scroll */

    .header.scrolled .brand-logo {
        filter: none;
    }


    /* =====================================================
       BADGE
    ===================================================== */

    .hero-badge {
        margin-bottom: 22px;

        padding: 9px 15px;

        border-color:
            rgba(255, 255, 255, 0.36);

        background:
            rgba(8, 45, 38, 0.22);

        color: #ffffff;

        font-size: 0.74rem;
        font-weight: 750;

        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);

        text-shadow:
            0 2px 6px rgba(0, 0, 0, 0.25);
    }


    /* =====================================================
       HERO TITLE - SLIGHTLY BIGGER
    ===================================================== */

    .hero h1 {
        max-width: 100%;

        margin-bottom: 20px;

        font-size:
            clamp(2.9rem,
                12vw,
                3.8rem);

        line-height: 0.97;

        letter-spacing: -0.05em;

        text-shadow:
            0 4px 16px rgba(0, 0, 0, 0.24);
    }


    /* Gold Takaful text */

    .hero h1 span {
        color: #d4ab5c;

        text-shadow:
            0 3px 14px rgba(0, 0, 0, 0.24);
    }


    /* =====================================================
       DESCRIPTION - BIGGER + CLEARER
    ===================================================== */

    .hero p {
        max-width: 98%;

        margin-bottom: 22px;

        color:
            rgba(255, 255, 255, 0.96);

        font-size: 1rem;

        line-height: 1.7;

        text-shadow:
            0 2px 8px rgba(0, 0, 0, 0.32);
    }


    /* =====================================================
       PROTECTION POINTS
    ===================================================== */

    .hero-note {
        display: grid;

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

        gap:
            9px 12px;

        width: 100%;

        margin-top: 16px;

        color:
            rgba(255, 255, 255, 0.96);

        font-size: 0.76rem;

        line-height: 1.4;

        text-shadow:
            0 2px 7px rgba(0, 0, 0, 0.32);
    }

}

/* =========================================================
   HERO MOBILE - BIGGER TITLE
========================================================= */

@media (max-width: 620px) {

    .hero h1 {
        width: 100%;
        max-width: 100%;

        margin-bottom: 22px;

        font-size:
            clamp(
                3.1rem,
                13.2vw,
                4.1rem
            );

        line-height: 0.94;

        letter-spacing: -0.055em;

        text-shadow:
            0 4px 18px rgba(0, 0, 0, 0.30);
    }

    .hero h1 span {
        color: #d4ab5c;
    }

}

/* =========================================================
   TRUST BAR - MOBILE CLEAN 2x2
   Paste paling bawah styles.css
========================================================= */

@media (max-width: 620px) {

    .trust-bar {
        padding: 22px 0;

        background: #f7f4ed;
    }


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

        display: grid;

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

        gap: 12px;
    }


    /* Individual trust item */

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

        min-width: 0;
        min-height: 138px;

        gap: 8px;

        padding: 15px 13px;

        border:
            1px solid rgba(8, 107, 88, 0.08);

        border-radius: 16px;

        background:
            rgba(255, 255, 255, 0.64);
    }


    /* Icon smaller + consistent */

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

        flex: 0 0 36px;

        display: grid;
        place-items: center;

        margin-bottom: 2px;

        border-radius: 50%;

        background: #ffffff;

        color: var(--green);

        font-size: 14px;

        box-shadow:
            0 5px 14px rgba(16, 46, 39, 0.07);
    }


    /* Text wrapper */

    .trust-content {
        min-width: 0;
    }


    /* Title */

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

        color: var(--ink);

        font-size: 0.82rem;
        font-weight: 800;

        line-height: 1.35;
    }


    /* Description */

    .trust-content p {
        margin: 0;

        color: #66756f;

        font-size: 0.70rem;

        line-height: 1.45;
    }

}

/* =========================================================
   PLANS MOBILE - FULL IMAGE / NO AGGRESSIVE CROP
   Paste paling bawah styles.css
========================================================= */

@media (max-width: 620px) {

    /* Product row */
    #plans .product-card {
        display: grid;

        grid-template-columns:
            135px minmax(0, 1fr);

        gap: 22px;

        align-items: center;
    }


    /* Image frame */
    #plans .product-image {
        position: relative;

        width: 135px;
        height: auto;
        min-height: 0;

        margin:
            0 8px 8px 0;

        border-radius: 16px;

        overflow: visible;
    }


    /* Actual image */
    #plans .product-image img {
        display: block;

        width: 100%;
        height: auto;

        aspect-ratio: auto;

        object-fit: contain;

        border-radius: 16px;

        background: #e9f1ee;
    }


    /* Gold offset frame */
    #plans .product-image::before {
        top: 7px;
        left: 7px;

        width: 100%;
        height: 100%;

        border:
            1px solid rgba(198, 161, 91, 0.65);

        border-radius: 16px;
    }


    /* Overlay ikut image frame */
    #plans .product-image::after {
        inset: 0;

        border-radius: 16px;

        background:
            linear-gradient(180deg,
                transparent 72%,
                rgba(6, 76, 64, 0.12) 100%);
    }


    /* Floating icon */
    #plans .product-icon {
        left: 10px;
        bottom: 10px;

        width: 30px;
        height: 30px;

        font-size: 0.75rem;
    }


    /* Content */
    #plans .product-content {
        padding: 0;
    }

}

/* =========================================================
   CTA PANEL - MOBILE CONTENT POSITION
========================================================= */

@media (max-width: 620px) {

    .cta-panel {
        background:
            linear-gradient(180deg,
                rgba(5, 31, 26, 0.35) 0%,
                rgba(5, 36, 30, 0.45) 25%,
                rgba(5, 42, 35, 0.62) 48%,
                rgba(4, 35, 30, 0.82) 72%,
                rgba(3, 27, 23, 0.96) 100%),
            url('img/cta.webp') 60% center / cover no-repeat;
    }

    .cta-panel .eyebrow {
        color: #ffffff !important;

        text-shadow:
            0 2px 8px rgba(0, 0, 0, 0.35);
    }

    .cta-panel .eyebrow::before {
        background: var(--gold);
    }

    .cta-content {
        width: 100%;
        max-width: 100%;

        padding:
            32px 34px;

        /* Naik sikit daripada exact center */
        transform: translateY(-24px);
    }


    /* Eyebrow */

    .cta-panel .eyebrow {
        margin-bottom: 18px;
    }


    /* Heading */

    .cta-content h2 {
        max-width: 100%;

        margin-bottom: 22px;

        font-size:
            clamp(2.45rem,
                10.5vw,
                3.15rem);

        line-height: 1.04;
    }


    /* Description */

    .cta-content p {
        max-width: 100%;

        margin-bottom: 28px;

        font-size: 0.92rem;
        line-height: 1.7;
    }


    /* CTA Button */

    .cta-panel .btn-light {
        width: 100%;

        min-height: 58px;
    }

}

/* =========================================================
   QUOTATION FORM - MOBILE FIX
   Keep section dark, form solid white
========================================================= */

@media (max-width: 620px) {

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

    .quote-form {
        position: relative;
        z-index: 2;

        width: 100%;

        padding: 26px 20px;

        background: #ffffff !important;
        background-image: none !important;

        color: var(--ink);

        opacity: 1;

        border-radius: 24px;

        box-shadow:
            0 18px 45px rgba(0, 0, 0, 0.18);

        filter: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    /* Make sure no overlay is sitting on top of the form */

    .quote-form::before,
    .quote-form::after {
        display: none !important;
        content: none !important;
    }

    /* Inputs solid white/light */

    .quote-form input,
    .quote-form select,
    .quote-form textarea {
        background: #ffffff;

        color: var(--ink);

        border-color: #d8e1de;

        opacity: 1;
    }

    .quote-form label {
        color: var(--ink);
    }

}


/* =========================================================
   FOOTER MOBILE - COMPACT & CENTERED
   Paste paling bawah styles.css
========================================================= */

@media (max-width: 620px) {

    /* Footer overall */
    .footer {
        padding:
            38px 0
            24px;

        text-align: center;
    }


    /* =====================================================
       TOP FOOTER GRID
    ===================================================== */

    .footer-grid {
        display: grid;

        grid-template-columns: 1fr;

        gap: 24px;

        padding-bottom: 28px;

        text-align: center;
    }


    /* =====================================================
       LOGO / BRAND
    ===================================================== */

    .footer .brand {
        display: flex;

        justify-content: center;

        width: 100%;

        margin:
            0 auto 4px;
    }

    .footer .brand-logo {
        width: 280px;
        max-width: 100%;

        height: auto;

        margin: 0 auto;
    }


    /*
     * Kalau ada description bawah logo
     */
    .footer-grid > div:first-child > p {
        max-width: 320px;

        margin:
            4px auto 0;

        font-size: 0.78rem;
        line-height: 1.55;

        text-align: center;
    }


    /* =====================================================
       PAUTAN PANTAS
    ===================================================== */

    .footer-grid > div:nth-child(2) {
        width: 100%;

        text-align: center;
    }

    .footer-grid > div:nth-child(2) h3 {
        margin-bottom: 10px;

        text-align: center;
    }

    .footer-grid > div:nth-child(2) .footer-links {
        width: fit-content;

        margin-inline: auto;

        justify-items: center;

        gap: 7px;
    }

    .footer-grid > div:nth-child(2) .footer-links li {
        text-align: center;
    }


    /* =====================================================
       HUBUNGI
    ===================================================== */

    .footer-contact {
        justify-self: center;

        width: 100%;

        margin-left: 0;

        text-align: center;
    }

    .footer-contact h3 {
        margin-bottom: 10px;

        text-align: center;
    }

    .footer-contact .footer-links {
        width: fit-content;

        margin-inline: auto;

        justify-items: center;

        gap: 7px;
    }

    .footer-contact .footer-links li {
        text-align: center;
    }


    /* =====================================================
       LINKS / TEXT SIZE
    ===================================================== */

    .footer h3 {
        font-size: 1rem;
        line-height: 1.3;
    }

    .footer-links {
        font-size: 0.84rem;
        line-height: 1.55;
    }


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

    .footer .footer-bottom {
        padding-top: 24px;

        text-align: center;
    }

}

/* =========================================================
   MOBILE NAV DROPDOWN - QUOTATION CTA
========================================================= */

@media (max-width: 900px) {

    .nav-menu .btn-primary {
        width: 100%;

        margin-top: 10px;

        min-height: 54px;

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

        border: 1px solid #086b58 !important;
        border-radius: 999px;

        background: #086b58 !important;

        color: #ffffff !important;

        font-size: 0.95rem;
        font-weight: 800;

        text-align: center;
        text-shadow: none !important;

        box-shadow:
            0 10px 24px rgba(8, 107, 88, 0.24);

        /* Navbar heartbeat tak perlu dalam dropdown */
        animation: none !important;

        transition:
            background 0.25s ease,
            transform 0.25s ease,
            box-shadow 0.25s ease;
    }


    .nav-menu .btn-primary:hover,
    .nav-menu .btn-primary:focus-visible {
        background: #064c40 !important;
        border-color: #064c40 !important;

        color: #ffffff !important;

        transform: translateY(-1px);

        box-shadow:
            0 12px 28px rgba(8, 107, 88, 0.30);
    }

}

/* =========================================================
   MOBILE - EXTRA BOLD HERO TITLE
========================================================= */

@media (max-width: 620px) {

    .hero h1 {
        font-weight: 900;

        font-size:
            clamp(
                3.2rem,
                13.5vw,
                4.2rem
            );

        line-height: 0.90;

        letter-spacing: -0.065em;

        text-shadow:
            0 4px 18px rgba(0, 0, 0, 0.28);
    }

}

@media (max-width: 620px) {

    .section-title h2,
    h2.section-title,
    #plans .section-title h2,
    .facts-heading h2 {
        font-weight: 900;

        letter-spacing: -0.045em;
    }

}