/* Home page — premium hospital theme (clean white + soft blue) */

/* ========== HERO ========== */
.hero {
    position: relative;
    padding: 96px 0 120px;
    background: var(--white);
    overflow: hidden;
    border-bottom: 1px solid var(--line-soft);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(
            900px 500px at 88% 10%,
            rgba(12, 138, 168, 0.06),
            transparent 60%
        ),
        radial-gradient(
            800px 600px at 5% 85%,
            rgba(0, 55, 122, 0.05),
            transparent 55%
        );
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.35;
    background-image: linear-gradient(
        to right,
        rgba(0, 55, 122, 0.04) 1px,
        transparent 1px
    );
    background-size: 80px 80px;
    mask-image: linear-gradient(
        to bottom,
        transparent,
        black 20%,
        black 80%,
        transparent
    );
}
.hero-bg,
.mesh-bg {
    display: none;
}
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 72px;
    align-items: center;
}
.hero-text .pill {
    background: white;
    border: 1px solid var(--primary-soft);
    color: var(--primary) !important;
    font-weight: 500;
    padding: 9px 18px;
}
.hero-text .pill-yellow {
    background: white;
    color: var(--primary) !important;
    border-color: var(--primary-soft);
}
.hero-text h1 {
    margin: 28px 0 28px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.6px;
}
.hero-text h1 .hl {
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
    background: none;
    font-weight: 600;
    position: relative;
    display: inline-block;
}
.hero-text h1 .hl::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    animation: ulSlide 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.4s forwards;
}
@keyframes ulSlide {
    to {
        transform: scaleX(1);
    }
}
.hero-text .lead {
    font-size: 19px;
    line-height: 1.85;
    color: var(--ink-2);
    font-weight: 300;
}
.hero-text .lead strong {
    color: var(--ink);
    font-weight: 500;
}
.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 40px;
}
.hero-trust {
    display: flex;
    gap: 56px;
    margin-top: 60px;
    padding-top: 36px;
    border-top: 1px solid var(--line);
}
.hero-trust > div {
    display: flex;
    flex-direction: column;
}
.hero-trust strong {
    font-size: 36px;
    color: var(--primary);
    font-weight: 500;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.8px;
    font-family: "Prompt", sans-serif;
}
.hero-trust span {
    font-size: 13px;
    color: var(--ink-3);
    letter-spacing: 0.3px;
    font-weight: 400;
}

.hero-visual {
    position: relative;
}
.hv-main {
    width: 100%;
    aspect-ratio: 4/4.5;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: var(--shadow-image);
    border: 1px solid rgba(255, 255, 255, 0.6);
}
.hero-visual::before {
    content: "";
    position: absolute;
    inset: -20px -20px 40px 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 24px;
    z-index: -1;
    opacity: 0.08;
}
.hero-visual::after {
    content: "";
    position: absolute;
    top: 30px;
    left: -30px;
    right: 30px;
    bottom: -30px;
    border: 1px solid var(--primary-soft);
    border-radius: 22px;
    z-index: -1;
}
.hv-badge {
    position: absolute;
    top: 28px;
    left: -24px;
    background: white;
    padding: 14px 20px;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line-soft);
    backdrop-filter: blur(20px);
}
.hv-badge-icon {
    font-size: 22px;
    background: var(--primary-tint);
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--primary);
}
.hv-badge-title {
    font-weight: 600;
    color: var(--ink);
    font-size: 14px;
}
.hv-badge-sub {
    font-size: 12px;
    color: var(--ink-3);
}
.hv-card {
    position: absolute;
    bottom: 28px;
    right: -20px;
    background: white;
    padding: 22px 24px;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    width: 280px;
    border: 1px solid var(--line-soft);
}
.hv-card-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px 0;
    font-size: 14px;
    color: var(--ink-2);
}
.hv-card-row .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hv-card,
    .hv-badge {
        position: static;
        margin-top: 14px;
        width: auto;
    }
}
@media (max-width: 700px) {
    .hero {
        padding: 56px 0 64px;
    }
    .hero-grid {
        gap: 40px;
    }
    .hero-text h1 {
        margin: 18px 0 18px;
        line-height: 1.15;
    }
    .hero-text .lead {
        font-size: 16px;
        line-height: 1.7;
    }
    .hero-cta {
        gap: 10px;
        margin-top: 28px;
    }
    .hero-cta .btn {
        flex: 1 1 100%;
        justify-content: center;
    }
    .hero-trust {
        gap: 24px;
        margin-top: 36px;
        padding-top: 28px;
        flex-wrap: wrap;
    }
    .hero-trust strong {
        font-size: 26px;
    }
    .hero-trust span {
        font-size: 11px;
    }
    .hv-badge {
        top: 14px;
        left: 12px;
        padding: 10px 14px;
    }
    .hv-badge-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    .hv-badge-title {
        font-size: 13px;
    }
    .hv-badge-sub {
        font-size: 11px;
    }
    .hv-card {
        width: calc(100% - 28px);
        right: 14px;
        bottom: 14px;
        padding: 16px 18px;
    }
    .hv-card-row {
        font-size: 13px;
        padding: 5px 0;
    }
}

/* ========== MARQUEE — refined ========== */
.marquee {
    background: var(--white);
    color: var(--ink-3);
    padding: 24px 0;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    overflow: hidden;
}
.marquee-track {
    display: flex;
    gap: 64px;
    width: max-content;
    animation: marquee 36s linear infinite;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
    color: var(--ink-3);
    text-transform: uppercase;
}
.marquee-track .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
}
@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ========== MINI QUIZ ========== */
.mini-quiz {
    padding: 0 0 0;
    margin-top: -60px;
    position: relative;
    z-index: 5;
}
.mq-card {
    background: white;
    border-radius: 22px;
    padding: 56px;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
    border: 1px solid var(--line-soft);
}
.mq-left h2 {
    margin: 16px 0;
}
.mq-right {
    background: var(--primary-tint);
    border-radius: 16px;
    padding: 32px;
    min-height: 280px;
}
.mq-q {
    font-size: 16px;
    color: var(--ink);
    font-weight: 600;
    margin-bottom: 18px;
    line-height: 1.5;
}
.mq-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
}
.mq-options button {
    padding: 13px;
    border-radius: 10px;
    border: 1.5px solid var(--line);
    background: white;
    color: var(--ink-2);
    font-weight: 500;
    transition: 0.2s;
    font-family: inherit;
    cursor: pointer;
}
.mq-options button:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.mq-options button.sel {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.mq-progress {
    height: 4px;
    background: var(--line);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 18px;
}
.mq-progress > div {
    height: 100%;
    background: var(--primary);
    transition: 0.3s;
}
.mq-result {
    text-align: center;
}
.mq-result h3 {
    color: var(--ink);
    margin-bottom: 8px;
}
.mq-result .level {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 99px;
    font-weight: 600;
    margin: 12px 0;
    font-size: 13px;
}
.mq-result .level.low {
    background: #d6efe4;
    color: #1a6b4d;
}
.mq-result .level.mid {
    background: var(--accent-soft);
    color: #006d8e;
}
.mq-result .level.high {
    background: #fde2e2;
    color: #a83232;
}
.mq-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 18px;
    flex-wrap: wrap;
}
@media (max-width: 900px) {
    .mq-card {
        grid-template-columns: 1fr;
        padding: 32px;
    }
}
@media (max-width: 700px) {
    .mini-quiz {
        margin-top: -32px;
    }
    .mq-card {
        padding: 28px 22px;
        gap: 28px;
        border-radius: 18px;
    }
    .mq-right {
        padding: 22px;
    }
    .mq-options {
        grid-template-columns: 1fr;
    }
    .mq-q {
        font-size: 15px;
    }
}

/* ========== CONDITIONS ========== */
.conditions {
    background: var(--white);
}
.cond-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.cond-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4/3.4;
    box-shadow: var(--shadow-md);
    transition: 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
    display: block;
    border: 1px solid var(--line);
}
.cond-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-soft);
}
.cond-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cond-card:hover img {
    transform: scale(1.06);
}
.cond-overlay {
    position: absolute;
    inset: 0;
    padding: 28px 28px 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    background: linear-gradient(
        180deg,
        rgba(10, 22, 40, 0) 25%,
        rgba(10, 22, 40, 0.45) 55%,
        rgba(10, 22, 40, 0.95) 100%
    );
}
.cond-tag {
    background: white;
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 600;
    align-self: flex-start;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}
.cond-overlay h3 {
    color: white;
    margin-bottom: 8px;
    font-size: 22px;
}
.cond-overlay p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    margin: 0 0 12px;
}
.cond-arrow {
    font-size: 13px;
    font-weight: 600;
    color: white;
    opacity: 0.9;
    transition: 0.2s;
}
.cond-card:hover .cond-arrow {
    transform: translateX(4px);
}
@media (max-width: 900px) {
    .cond-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== TMS EXPLAINER ========== */
.tms-explain {
    background: var(--bg-2);
    position: relative;
    overflow: hidden;
}
.tms-explain::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.5;
    background: radial-gradient(
        600px 400px at 80% 30%,
        rgba(12, 138, 168, 0.07),
        transparent 60%
    );
}
.tms-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}
.tms-visual {
    aspect-ratio: 1;
    max-width: 460px;
    margin: 0 auto;
    position: relative;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-xl);
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
}
.tms-visual::before {
    content: "";
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 1px dashed var(--primary-soft);
    opacity: 0.7;
}
.tms-visual::after {
    content: "";
    position: absolute;
    inset: -40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    opacity: 0.5;
}
.brain-anim {
    width: 88%;
    height: 88%;
}
.brain-anim .p1 {
    animation: pulse 3s ease-out infinite;
}
.brain-anim .p2 {
    animation: pulse 3s ease-out infinite 0.8s;
}
.brain-anim .p3 {
    animation: pulse 3s ease-out infinite 1.6s;
}
@keyframes pulse {
    0% {
        r: 60;
        opacity: 0.6;
    }
    100% {
        r: 180;
        opacity: 0;
    }
}
.tms-text h2 {
    margin: 18px 0 20px;
}
.tms-mech {
    margin: 36px 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.mech-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.mech-num {
    background: white;
    color: var(--primary);
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-weight: 700;
    flex-shrink: 0;
    border: 1px solid var(--line);
    font-size: 14px;
    box-shadow: var(--shadow-xs);
    position: relative;
}
.mech-num::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    border: 1px solid var(--accent);
    opacity: 0.15;
    transform: translate(3px, 3px);
}
.mech-item strong {
    color: var(--ink);
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
}
.mech-item p {
    margin: 0;
    font-size: 14px;
}
@media (max-width: 900px) {
    .tms-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* ========== WHY US ========== */
.why-us {
    background: var(--white);
}
.why-grid .why-card {
    text-align: left;
    padding: 40px 32px 36px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    transition: 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.why-grid .why-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-soft);
}
.why-card:hover::before {
    transform: scaleX(1);
}
.why-card .why-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: linear-gradient(
        135deg,
        var(--primary-tint),
        var(--accent-soft)
    );
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border: 1px solid var(--line-soft);
    box-shadow: var(--shadow-xs);
}
.why-card img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    opacity: 0.95;
    margin: 0;
}
.why-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--ink);
}
.why-card p {
    font-size: 14px;
    color: var(--ink-2);
    line-height: 1.7;
}

/* ========== PLAN ========== */
.plan-section {
    background: var(--bg-2);
    position: relative;
}
.plan-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
}
.plan-track::before {
    content: "";
    position: absolute;
    top: 56px;
    left: 6%;
    right: 6%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0.15;
    z-index: 0;
}
.plan-step {
    background: white;
    padding: 28px 24px;
    border-radius: 12px;
    border: 1px solid var(--line);
    position: relative;
    z-index: 1;
    transition: 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
    box-shadow: var(--shadow-xs);
}
.plan-step:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-soft);
    transform: translateY(-3px);
}
.ps-num {
    background: white;
    color: var(--primary);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    margin-bottom: 18px;
    border: 1px solid var(--line);
    font-size: 14px;
    letter-spacing: 0.5px;
}
.plan-step:nth-child(odd) .ps-num {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.plan-step h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--ink);
}
.plan-step p {
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
    color: var(--ink-2);
}
@media (max-width: 1100px) {
    .plan-track {
        grid-template-columns: repeat(2, 1fr);
    }
    .plan-track::before {
        display: none;
    }
}
@media (max-width: 600px) {
    .plan-track {
        grid-template-columns: 1fr;
    }
}

/* ========== REVIEWS ========== */
.reviews-preview {
    background: var(--white);
}
.rev-grid {
    margin-bottom: 64px;
}
.rev-card {
    background: white;
    border-radius: 14px;
    padding: 36px 32px;
    border: 1px solid var(--line);
    transition: 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
    box-shadow: var(--shadow-xs);
    position: relative;
}
.rev-card::before {
    content: '"';
    position: absolute;
    top: 18px;
    right: 28px;
    font-family: Georgia, serif;
    font-size: 80px;
    line-height: 1;
    color: var(--primary-soft);
    opacity: 0.6;
    pointer-events: none;
}
.rev-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary-soft);
}
.rev-card.rev-feature {
    background: var(--primary);
    color: white;
    border: none;
}
.rev-card.rev-feature p,
.rev-card.rev-feature strong {
    color: white;
}
.rev-card.rev-feature .rev-meta span {
    color: rgba(255, 255, 255, 0.7);
}
.rev-stars {
    color: var(--accent);
    font-size: 16px;
    margin-bottom: 16px;
    letter-spacing: 3px;
}
.rev-card.rev-feature .rev-stars {
    color: white;
    opacity: 0.9;
}
.rev-card p {
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 28px;
    color: var(--ink);
    font-weight: 400;
}
.rev-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
}
.rev-card.rev-feature .rev-meta {
    border-color: rgba(255, 255, 255, 0.2);
}
.rev-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 600;
    color: var(--primary);
    font-size: 16px;
}
.rev-card.rev-feature .rev-avatar {
    color: var(--primary);
}
.rev-meta strong {
    display: block;
    font-size: 14px;
    color: var(--ink);
}
.rev-card.rev-feature .rev-meta strong {
    color: white;
}
.rev-meta span {
    font-size: 12px;
    color: var(--ink-3);
}

.vid-title {
    text-align: center;
    margin: 72px 0 32px;
}
.vid-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    transition: 0.3s;
}
.vid-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.vid-frame {
    aspect-ratio: 16/9;
    background: black;
}
.vid-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.vid-card h4 {
    padding: 22px 26px;
    font-size: 16px;
    color: var(--ink);
}

/* ========== DOCTORS PREVIEW ========== */
.docs-preview {
    background: var(--bg-2) !important;
}
.doc-card {
    text-align: center;
    padding: 12px;
}
.doc-card .doc-img-wrap {
    width: 200px;
    aspect-ratio: 1;
    margin: 0 auto 24px;
    position: relative;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: var(--shadow-md);
    transition: 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.doc-card:hover .doc-img-wrap {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.doc-card .doc-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid white;
    aspect-ratio: 1;
    max-width: none;
    margin: 0;
}
.doc-card img {
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    max-width: 200px;
    margin: 0 auto 22px;
    box-shadow: var(--shadow-md);
    transition: 0.4s;
    border: 4px solid white;
}
.doc-card:hover img {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}
.doc-card h3 {
    font-size: 17px;
    margin-bottom: 6px;
    color: var(--ink);
}
.doc-spec {
    color: var(--accent);
    font-size: 13px;
    font-weight: 500;
}

/* ========== SELFCARE ========== */
.selfcare {
    background: var(--bg-2);
}
.sc-card {
    padding: 48px 44px;
    border-radius: 16px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transition: 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: white;
}
.sc-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}
.sc-card .sc-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    font-size: 26px;
    color: white;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.25) inset,
        0 8px 20px rgba(0, 55, 122, 0.18);
}
.sc-mood .sc-icon {
    background: linear-gradient(135deg, #0a5dba 0%, #00377a 100%);
}
.sc-sleep .sc-icon {
    background: linear-gradient(135deg, #14a3c4 0%, #0c8aa8 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.25) inset,
        0 8px 20px rgba(12, 138, 168, 0.22);
}
.sc-card h3 {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.2px;
}
.sc-card .sc-sub {
    font-size: 13px;
    color: var(--ink-3);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 28px;
}
.sc-mood .sc-sub {
    color: var(--primary);
}
.sc-sleep .sc-sub {
    color: var(--accent);
}
.sc-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}
.sc-sleep::before {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.sc-card h3 {
    margin: 16px 0 22px;
    font-size: 22px;
}
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.check-list li {
    padding: 14px 0 14px 38px;
    position: relative;
    font-size: 15px;
    color: var(--ink-2);
    line-height: 1.6;
    border-bottom: 1px solid var(--line-soft);
}
.check-list li:last-child {
    border-bottom: 0;
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, var(--primary), #0a5dba);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 55, 122, 0.25);
}
.sc-sleep .check-list li::before {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 2px 6px rgba(12, 138, 168, 0.28);
}
.check-list li::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 23px;
    width: 10px;
    height: 5px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(-45deg);
}

/* ========== COMPARE TABLE ========== */
.compare {
    background: var(--white);
}
.compare-table {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
    position: relative;
}
.ct-row {
    display: grid;
    grid-template-columns: 1.4fr 1.5fr 1.3fr 1.3fr;
    border-bottom: 1px solid var(--line-soft);
    align-items: stretch;
}
.ct-row:last-child {
    border-bottom: 0;
}
.ct-row > div {
    padding: 22px 26px;
    font-size: 14.5px;
    color: var(--ink-2);
    display: flex;
    align-items: center;
}
.ct-row > div:not(:last-child) {
    border-right: 1px solid var(--line-soft);
}
.ct-head {
    background: linear-gradient(135deg, #0a5dba 0%, #00377a 100%);
    color: white;
}
.ct-head > div {
    color: white;
    font-weight: 600;
    padding: 24px 26px;
    border-color: rgba(255, 255, 255, 0.14) !important;
    font-size: 15px;
    letter-spacing: 0.3px;
}
.ct-head .ct-tms {
    background: linear-gradient(135deg, #14a3c4 0%, #0c8aa8 100%);
    color: white;
    position: relative;
    font-weight: 700;
}
.ct-head .ct-tms::after {
    content: "★ แนะนำ";
    position: absolute;
    top: 6px;
    right: 10px;
    font-size: 10px;
    background: white;
    color: var(--accent);
    padding: 2px 8px;
    border-radius: 99px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.ct-label {
    font-weight: 600;
    color: var(--ink) !important;
    background: var(--bg-2);
    font-size: 14px;
}
.ct-tms {
    background: linear-gradient(180deg, #f0f9fb 0%, #e1f0f4 100%) !important;
    color: var(--ink) !important;
    font-weight: 600;
    position: relative;
}
.ct-tms::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 2px 4px rgba(12, 138, 168, 0.3);
}
.ct-head .ct-tms::before {
    display: none;
}
.ct-note {
    text-align: center;
    color: var(--ink-3);
    margin-top: 24px;
    font-size: 13px;
}
@media (max-width: 800px) {
    .ct-row {
        grid-template-columns: 1fr 1fr;
    }
    .ct-head .ct-label,
    .ct-row .ct-label {
        grid-column: 1 / -1;
        background: var(--primary);
        color: white !important;
    }
}

/* ========== FAQ ========== */
.faq {
    background: var(--bg-2);
}
.faq-list {
    max-width: 920px;
    margin: 0 auto;
    counter-reset: faq;
}
.faq-list details {
    background: white;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 14px;
    border: 1px solid var(--line);
    overflow: hidden;
    transition: 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
    box-shadow: var(--shadow-xs);
    counter-increment: faq;
}
.faq-list details:hover {
    border-color: var(--primary-soft);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.faq-list details[open] {
    border-color: var(--primary-soft);
    box-shadow: var(--shadow-md);
    background: linear-gradient(180deg, white 0%, #fafcff 100%);
}
.faq-list summary {
    padding: 22px 28px 22px 70px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    position: relative;
}
.faq-list summary::-webkit-details-marker {
    display: none;
}
.faq-list summary::before {
    content: counter(faq, decimal-leading-zero);
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Prompt", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 1px;
    width: 32px;
    text-align: left;
}
.faq-list summary::after {
    content: "";
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a5dba 0%, #00377a 100%);
    position: relative;
    flex-shrink: 0;
    margin-left: 16px;
    background-image:
        linear-gradient(white, white), linear-gradient(white, white),
        linear-gradient(135deg, #0a5dba 0%, #00377a 100%);
    background-size:
        12px 2px,
        2px 12px,
        100% 100%;
    background-position: center, center, center;
    background-repeat: no-repeat, no-repeat, no-repeat;
    transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 55, 122, 0.2);
}
.faq-list details[open] summary {
    color: var(--primary);
}
.faq-list details[open] summary::after {
    transform: rotate(135deg);
    background-image:
        linear-gradient(white, white), linear-gradient(white, white),
        linear-gradient(135deg, #14a3c4 0%, #0c8aa8 100%);
}
.faq-list details p {
    padding: 0 28px 26px 70px;
    color: var(--ink-2);
    margin: 0;
    line-height: 1.85;
    font-size: 15px;
    border-top: 1px solid var(--line-soft);
    padding-top: 18px;
    margin-top: -4px;
}

/* ========== BOOKING ========== */
.booking {
    background: var(--bg-2);
    position: relative;
}
.booking::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
        800px 500px at 50% 0%,
        rgba(0, 55, 122, 0.04),
        transparent 60%
    );
}
.booking-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--line);
    position: relative;
}
.booking-left {
    padding: 64px 56px;
    color: white;
    background:
        radial-gradient(
            600px 400px at 100% 100%,
            rgba(12, 138, 168, 0.4),
            transparent 60%
        ),
        linear-gradient(160deg, var(--primary) 0%, #001f4a 100%);
    position: relative;
    overflow: hidden;
}
.booking-left::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.08;
    background-image:
        linear-gradient(
            to right,
            rgba(255, 255, 255, 0.5) 1px,
            transparent 1px
        ),
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.5) 1px,
            transparent 1px
        );
    background-size: 40px 40px;
}
.booking-left h2 {
    color: white;
    margin: 18px 0 22px;
}
.booking-left .pill {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border-color: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}
.booking-left p {
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    z-index: 1;
}
.booking-info {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    position: relative;
    z-index: 1;
}
.booking-info > div {
    display: flex;
    align-items: center;
    gap: 14px;
}
.booking-info strong {
    color: white;
    font-weight: 600;
}
.booking-info a {
    color: white;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.booking-right {
    padding: 64px;
}
.bk-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 28px;
    background: var(--primary-tint);
    padding: 5px;
    border-radius: 12px;
}
.bk-tab {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: 0;
    background: transparent;
    font-weight: 600;
    color: var(--ink-3);
    font-size: 13px;
}
.bk-tab.active {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-xs);
}
.bk-pane {
    display: none;
}
.bk-pane.active {
    display: block;
}
.bk-pane-form label {
    display: block;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--ink-2);
    font-weight: 500;
}
.bk-pane-form input,
.bk-pane-form textarea {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 13px 16px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    transition: 0.2s;
    background: var(--bg-2);
}
.bk-pane-form input:focus,
.bk-pane-form textarea:focus {
    border-color: var(--primary);
    outline: none;
    background: white;
}
.line-card {
    text-align: center;
    padding: 24px;
}
.line-qr {
    font-size: 56px;
    background: #06c755;
    color: white;
    width: 110px;
    height: 110px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
}
@media (max-width: 900px) {
    .booking-card {
        grid-template-columns: 1fr;
    }
    .booking-left,
    .booking-right {
        padding: 40px;
    }
}
@media (max-width: 700px) {
    .booking-left,
    .booking-right {
        padding: 32px 24px;
    }
    .booking-left h2 {
        font-size: 24px;
    }
    .bk-tab {
        font-size: 12px;
        padding: 10px 6px;
    }
    .ct-row > div {
        padding: 14px 16px;
        font-size: 13px;
    }
    .compare-table {
        border-radius: 12px;
    }
    .sc-card {
        padding: 28px 22px;
    }
    .faq-list summary {
        padding: 18px 20px;
        font-size: 15px;
    }
    .faq-list details p {
        padding: 0 20px 20px;
        font-size: 14px;
    }
    .rev-card {
        padding: 24px 22px;
    }
    .rev-card p {
        font-size: 15px;
    }
    .doc-card img {
        max-width: 160px;
    }
    .why-grid .why-card {
        padding: 28px 24px;
    }
}

/* ============================================
   MOBILE OPTIMIZATIONS — phones (≤700px)
   ============================================ */
@media (max-width: 700px) {
    .hero {
        padding: 48px 0 56px;
    }
    .hero::after {
        display: none;
    }
    .hero-grid {
        gap: 36px;
        grid-template-columns: 1fr;
    }
    .hero-text {
        text-align: center;
    }
    .hero-text .pill {
        font-size: 11px;
        padding: 7px 14px;
    }
    .hero-text h1 {
        margin: 16px 0;
        font-size: 32px;
        line-height: 1.18;
        letter-spacing: -0.3px;
    }
    .hero-text .lead {
        font-size: 15px;
        line-height: 1.7;
        text-align: left;
    }
    .hero-cta {
        flex-direction: column;
        gap: 10px;
        margin-top: 24px;
    }
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 15px;
    }
    .hero-trust {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
        margin-top: 32px;
        padding-top: 24px;
        text-align: center;
    }
    .hero-trust > div {
        align-items: center;
    }
    .hero-trust strong {
        font-size: 22px;
        margin-bottom: 4px;
    }
    .hero-trust span {
        font-size: 10px;
        line-height: 1.3;
    }
    .hero-visual {
        max-width: 360px;
        margin: 0 auto;
    }
    .hv-main {
        aspect-ratio: 4/3.6;
        border-radius: 14px;
    }
    .hero-visual::before,
    .hero-visual::after {
        display: none;
    }
    .hv-badge {
        position: absolute;
        top: 10px;
        left: 10px;
        right: auto;
        padding: 8px 12px;
        border-radius: 10px;
        gap: 8px;
    }
    .hv-badge-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
        border-radius: 8px;
    }
    .hv-badge-title {
        font-size: 12px;
    }
    .hv-badge-sub {
        font-size: 10px;
    }
    .hv-card {
        position: absolute;
        bottom: 10px;
        right: 10px;
        left: 10px;
        width: auto;
        padding: 12px 14px;
        border-radius: 10px;
    }
    .hv-card-row {
        font-size: 12px;
        padding: 3px 0;
        gap: 8px;
    }
    .marquee {
        padding: 14px 0;
    }
    .marquee-track {
        gap: 28px;
        font-size: 11px;
    }
    .marquee-track span {
        gap: 8px;
    }
    .mini-quiz {
        margin-top: -24px;
    }
    .mq-card {
        padding: 24px 20px;
        gap: 24px;
        border-radius: 16px;
        grid-template-columns: 1fr;
    }
    .mq-left h2 {
        font-size: 22px;
        line-height: 1.3;
        margin: 12px 0;
    }
    .mq-left p {
        font-size: 14px;
    }
    .mq-right {
        padding: 18px;
        min-height: auto;
        border-radius: 12px;
    }
    .mq-q {
        font-size: 14px;
        margin-bottom: 14px;
    }
    .mq-options {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .mq-options button {
        padding: 11px 14px;
        font-size: 14px;
    }
    .cond-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .cond-card {
        aspect-ratio: 1/1.05;
        border-radius: 12px;
    }
    .cond-overlay {
        padding: 14px 14px 14px;
    }
    .cond-overlay h3 {
        font-size: 14px;
        line-height: 1.25;
        margin-bottom: 4px;
    }
    .cond-overlay p {
        font-size: 11px;
        line-height: 1.4;
        margin: 0 0 6px;
    }
    .cond-tag {
        font-size: 9px;
        padding: 2px 8px;
        margin-bottom: 8px;
        letter-spacing: 0.3px;
    }
    .cond-arrow {
        font-size: 11px;
    }
    .tms-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .tms-visual {
        max-width: 280px;
    }
    .tms-visual::before,
    .tms-visual::after {
        display: none;
    }
    .tms-text h2 {
        font-size: 24px;
        margin: 12px 0 16px;
        line-height: 1.3;
    }
    .tms-text .lead {
        font-size: 15px;
    }
    .tms-mech {
        margin: 24px 0;
        gap: 16px;
    }
    .mech-item {
        gap: 14px;
    }
    .mech-num {
        width: 40px;
        height: 40px;
        font-size: 12px;
        border-radius: 8px;
    }
    .mech-item strong {
        font-size: 14px;
    }
    .mech-item p {
        font-size: 13px;
    }
    .why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .why-grid .why-card {
        padding: 20px 16px;
        border-radius: 12px;
    }
    .why-card .why-icon-wrap {
        width: 44px;
        height: 44px;
        margin-bottom: 12px;
        border-radius: 10px;
    }
    .why-card img {
        width: 24px;
        height: 24px;
        margin: 0;
    }
    .why-card h3 {
        font-size: 13px;
        margin-bottom: 6px;
        line-height: 1.3;
    }
    .why-card p {
        font-size: 11.5px;
        line-height: 1.5;
    }
    .plan-track {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .plan-track::before {
        display: none;
    }
    .plan-step {
        padding: 20px 22px 20px 76px;
        border-radius: 12px;
        position: relative;
        min-height: 84px;
    }
    .ps-num {
        position: absolute;
        left: 18px;
        top: 18px;
        margin-bottom: 0;
        width: 44px;
        height: 44px;
        font-size: 12px;
    }
    .plan-step h4 {
        font-size: 15px;
        margin-bottom: 4px;
    }
    .plan-step p {
        font-size: 13px;
        line-height: 1.5;
    }
    .rev-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 40px;
    }
    .rev-card {
        padding: 24px 22px;
        border-radius: 12px;
    }
    .rev-card::before {
        font-size: 56px;
        top: 12px;
        right: 18px;
    }
    .rev-card p {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 20px;
    }
    .rev-meta {
        gap: 12px;
        padding-top: 14px;
    }
    .rev-avatar {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    .rev-meta strong {
        font-size: 13px;
    }
    .rev-meta span {
        font-size: 11px;
    }
    .vid-title {
        margin: 48px 0 20px;
        font-size: 20px;
    }
    .vid-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .vid-card {
        border-radius: 12px;
    }
    .vid-card h4 {
        padding: 16px 18px;
        font-size: 14px;
        line-height: 1.4;
    }
    .docs-preview .grid-3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .doc-card {
        padding: 4px;
    }
    .doc-card .doc-img-wrap {
        width: 92px;
        padding: 3px;
        margin-bottom: 10px;
    }
    .doc-card .doc-img-wrap img {
        border-width: 2px;
    }
    .doc-card img {
        max-width: 92px;
        border-width: 2px;
        margin-bottom: 10px;
    }
    .doc-card h3 {
        font-size: 12px;
        margin-bottom: 2px;
        line-height: 1.25;
    }
    .doc-spec {
        font-size: 10px;
    }
    .selfcare .grid-2 {
        gap: 14px;
    }
    .sc-card {
        padding: 28px 22px;
        border-radius: 14px;
    }
    .sc-card .sc-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
        border-radius: 10px;
        margin-bottom: 16px;
    }
    .sc-card h3 {
        font-size: 19px;
        margin: 0 0 4px;
    }
    .sc-card .sc-sub {
        font-size: 11px;
        margin-bottom: 18px;
        letter-spacing: 1.2px;
    }
    .check-list li {
        padding: 11px 0 11px 32px;
        font-size: 14px;
        line-height: 1.5;
    }
    .check-list li::before {
        width: 18px;
        height: 18px;
        top: 13px;
    }
    .check-list li::after {
        left: 5px;
        top: 19px;
        width: 8px;
        height: 4px;
    }
    .compare-table {
        border-radius: 14px;
        box-shadow: var(--shadow-md);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    .ct-row {
        grid-template-columns: 110px 150px 140px 140px;
        min-width: 540px;
    }
    .ct-row > div {
        padding: 14px 12px;
        font-size: 12.5px;
        line-height: 1.45;
    }
    .ct-head > div {
        padding: 16px 12px;
        font-size: 13px;
    }
    .ct-head .ct-tms::after {
        font-size: 9px;
        padding: 2px 7px;
        top: 5px;
        right: 6px;
    }
    .ct-label {
        font-size: 12px;
        padding: 14px 12px !important;
    }
    .ct-tms::before {
        width: 16px;
        height: 16px;
        font-size: 9px;
        margin-right: 8px;
    }
    .ct-note {
        font-size: 12px;
        margin-top: 14px;
        padding: 0 8px;
    }
    .compare::after {
        content: "→ เลื่อนดูตาราง";
        display: block;
        text-align: center;
        font-size: 11px;
        color: var(--ink-3);
        margin-top: 8px;
    }
    .faq-list details {
        border-radius: 10px;
        margin-bottom: 10px;
    }
    .faq-list summary {
        padding: 16px 16px 16px 52px;
        font-size: 14px;
        line-height: 1.4;
    }
    .faq-list summary::before {
        left: 14px;
        font-size: 11px;
        width: 26px;
    }
    .faq-list summary::after {
        width: 22px;
        height: 22px;
        margin-left: 10px;
        background-size:
            9px 1.5px,
            1.5px 9px,
            100% 100%;
    }
    .faq-list details p {
        padding: 14px 16px 18px 52px;
        font-size: 13.5px;
        line-height: 1.7;
    }
    .booking-card {
        grid-template-columns: 1fr;
        border-radius: 14px;
    }
    .booking-left {
        padding: 32px 24px 28px;
    }
    .booking-left h2 {
        font-size: 22px;
        margin: 12px 0 14px;
        line-height: 1.25;
    }
    .booking-left h2 br {
        display: none;
    }
    .booking-left p {
        font-size: 14px;
    }
    .booking-info {
        margin-top: 24px;
        padding-top: 20px;
        gap: 12px;
        font-size: 13px;
    }
    .booking-info > div {
        gap: 12px;
    }
    /*.booking-info > div::before { width: 30px; height: 30px; border-radius: 8px; }*/
    .booking-right {
        padding: 28px 22px 32px;
    }
    .bk-tabs {
        padding: 4px;
        margin-bottom: 20px;
    }
    .bk-tab {
        padding: 10px 6px;
        font-size: 12px;
    }
    .bk-pane-form label {
        font-size: 12px;
        margin-bottom: 12px;
    }
    .bk-pane-form input,
    .bk-pane-form textarea {
        padding: 11px 14px;
        font-size: 14px;
    }
    .line-card {
        padding: 14px;
    }
    .line-qr {
        width: 88px;
        height: 88px;
        font-size: 44px;
        border-radius: 18px;
    }
    .section-head {
        margin-bottom: 32px;
        text-align: center;
    }
    .section-head h2 {
        font-size: 24px;
        line-height: 1.25;
        margin-bottom: 12px;
    }
    .section-head h2 br {
        display: none;
    }
    .section-head .lead {
        font-size: 14px;
        line-height: 1.65;
    }
    .eyebrow {
        font-size: 11px;
        letter-spacing: 2px;
        padding-left: 28px;
        margin-bottom: 14px;
    }
    .eyebrow::before {
        width: 16px;
    }
}

@media (max-width: 380px) {
    .hero-trust strong {
        font-size: 18px;
    }
    .hero-trust span {
        font-size: 9px;
    }
    .doc-card .doc-img-wrap {
        width: 78px;
    }
    .doc-card img {
        max-width: 78px;
    }
    .doc-card h3 {
        font-size: 11px;
    }
    .doc-spec {
        font-size: 9px;
    }
    .cond-overlay h3 {
        font-size: 13px;
    }
    .cond-overlay p {
        font-size: 10.5px;
    }
    .why-card h3 {
        font-size: 12.5px;
    }
    .why-card p {
        font-size: 11px;
    }
}
