/* ==========================================================================
   Flying India Fincart — Landing Page Stylesheet
   1.  Design tokens
   2.  Reset & base
   3.  Layout helpers
   4.  Buttons
   5.  Header (topbar / navbar / dropdown / mobile)
   6.  Hero
   7.  Loan services
   8.  Why choose us
   9.  Process
   10. Stats
   11. Testimonials
   12. CTA
   13. Footer
   14. Floating WhatsApp
   15. Reveal animations
   16. Responsive
   17. Company page
   18. EMI calculator page
   19. Personal service card page
   20. Personal loan page
   21. Contact us page
   22. OTP verification page
   23. Customer details page
   ========================================================================== */


/* ==========================================================================
   1. DESIGN TOKENS
   Only two brand colors are used: dark green + primary green.
   Every lighter green is an alpha value of the primary green.
   ========================================================================== */
:root {
    /* Brand */
    --dark: #0A2215;
    --green: #25A14D;
    --green-rgb: 37, 161, 77;
    --dark-rgb: 10, 34, 21;

    /* Neutrals */
    --white: #FFFFFF;
    --bg: #F6F9F7;
    --text: #1D1D1D;
    --text-soft: #454B4E;
    --muted: #6C7278;
    --star: #FFB629;
    --border: rgba(var(--green-rgb), .14);

    /* Green tints (derived from the primary green only) */
    --tint-1: rgba(var(--green-rgb), .06);
    --tint-2: rgba(var(--green-rgb), .10);
    --tint-3: rgba(var(--green-rgb), .16);

    /* Typography */
    --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --lh-body: 1.7;
    --lh-head: 1.2;

    /* Layout */
    --container: 1400px;
    --gutter: 40px;

    /* Spacing system — 8px based, used everywhere */
    --sp-1: 8px;
    --sp-2: 16px;
    --sp-3: 24px;
    --sp-4: 32px;
    --sp-5: 40px;
    --section-y: 70px;
    --gap: 24px;
    --card-pad: 24px;
    --head-mb: 16px;
    --text-mb: 20px;
    --btn-gap: 16px;

    /* Radius */
    --r-card: 20px;
    --r-btn: 12px;
    --r-img: 20px;
    --r-glass: 16px;

    /* Shadows — almost invisible */
    --sh-xs: 0 1px 3px rgba(var(--dark-rgb), .03);
    --sh-sm: 0 4px 14px rgba(var(--dark-rgb), .05);
    --sh-md: 0 10px 26px rgba(var(--dark-rgb), .07);
    --sh-lg: 0 14px 34px rgba(var(--dark-rgb), .09);
    --sh-green: 0 6px 16px rgba(var(--green-rgb), .20);

    /* Motion */
    --t: 300ms cubic-bezier(.4, 0, .2, 1);
}


/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
    width: 100%;
}

body {
    font-family: var(--font);
    font-size: 15.5px;
    font-weight: 400;
    line-height: var(--lh-body);
    color: var(--text);
    background: var(--white);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

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

ul,
ol {
    list-style: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

h1,
h2,
h3 {
    color: var(--dark);
    font-weight: 700;
    line-height: var(--lh-head);
    letter-spacing: -.3px;
}

p {
    line-height: var(--lh-body);
}

:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
}


/* ==========================================================================
   3. LAYOUT HELPERS
   ========================================================================== */
.container {
    width: 100%;
    max-width: calc(var(--container) + (var(--gutter) * 2));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    padding-block: var(--section-y);
}

/* Keeps anchor targets clear of the sticky header */
section[id],
footer[id] {
    scroll-margin-top: 116px;
}

.section__head {
    max-width: 620px;
    margin: 0 auto var(--sp-5);
    text-align: center;
}

.section__title {
    font-size: clamp(23px, 2.5vw, 32px);
    font-weight: 700;
}

.section__title--left {
    text-align: left;
}

/* Small uppercase label above headings */
.eyebrow {
    margin-bottom: var(--sp-1);
    color: var(--green);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 1.4px;
    line-height: 1.5;
    text-transform: uppercase;
}

.text-green {
    color: var(--green);
}


/* ==========================================================================
   4. BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: var(--r-btn);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    cursor: pointer;
    transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
}

.btn i {
    font-size: 12px;
    transition: transform var(--t);
}

.btn--primary {
    background: var(--green);
    color: var(--white);
    box-shadow: var(--sh-green);
}

.btn--primary:hover {
    background: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--dark-rgb), .18);
}

.btn--primary:hover i {
    transform: translateX(3px);
}

.btn--outline {
    background: var(--white);
    color: var(--dark);
    border-color: var(--border);
    box-shadow: var(--sh-xs);
}

.btn--outline:hover {
    color: var(--green);
    border-color: var(--green);
    transform: translateY(-2px);
    box-shadow: var(--sh-sm);
}

.btn--sm {
    padding: 10px 18px;
    font-size: 13.5px;
}

.btn--lg {
    min-height: 54px;
    padding: 14px 26px;
    font-size: 15px;
}

.btn--block {
    display: flex;
    justify-content: center;
    width: 100%;
}


/* ==========================================================================
   5. HEADER
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    transition: box-shadow var(--t);
}

.site-header.is-stuck {
    box-shadow: 0 6px 24px rgba(var(--dark-rgb), .12);
}

/* Smooth collapse for dark topbar when scrolled sticky */
.site-header.is-stuck .topbar {
    max-height: 0 !important;
    opacity: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    pointer-events: none;
}

/* --- Top strip : dark green lifted with a green wash --- */
.topbar {
    background-color: var(--dark);
    background-image: linear-gradient(rgba(var(--green-rgb), .22), rgba(var(--green-rgb), .22));
    color: rgba(255, 255, 255, .88);
    font-size: 12.5px;
    max-height: 160px;
    opacity: 1;
    overflow: hidden;
    transition: max-height .3s cubic-bezier(.4, 0, .2, 1), opacity .25s ease, padding .3s ease;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-2);
    min-height: 36px;
}

.topbar__list {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}

.topbar__list li,
.topbar__list a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    line-height: 1.5;
}

.topbar__list i {
    color: rgba(255, 255, 255, .75);
    font-size: 11.5px;
}

.topbar__list a:hover {
    color: var(--white);
}

.topbar__divider {
    padding-left: var(--sp-3);
    border-left: 1px solid rgba(255, 255, 255, .22);
}

/* --- Navbar --- */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--t);
}

.navbar.is-stuck {
    box-shadow: 0 6px 20px rgba(var(--dark-rgb), .08);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    height: 72px;
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand__logo {
    height: 46px;
    width: auto;
    max-height: 46px;
    object-fit: contain;
}

.mainnav {
    display: flex;
    align-items: center;
    margin-inline: auto;
}

.mainnav__header {
    display: none;
}

/* Equal spacing between every nav item */
.mainnav__list {
    display: flex;
    align-items: center;
    gap: var(--gap);
}

.mainnav__list>li>a,
.dropdown__toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-block: 5px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--dark);
    transition: color var(--t);
}

.dropdown__toggle i {
    font-size: 9px;
    transition: transform var(--t);
}

.mainnav__list>li>a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
    transition: width var(--t);
}

.mainnav__list>li>a:hover::after,
.mainnav__list>li>a.is-active::after {
    width: 100%;
}

.mainnav__list>li>a:hover,
.mainnav__list>li>a.is-active,
.dropdown__toggle:hover,
.dropdown__toggle.is-active {
    color: var(--green);
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translate(-50%, 10px);
    min-width: 180px;
    padding: var(--sp-1);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--sh-md);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t), transform var(--t), visibility var(--t);
}

.has-dropdown:hover .dropdown,
.has-dropdown.is-open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.dropdown a {
    display: block;
    padding: 8px 12px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--dark);
    transition: background var(--t), color var(--t);
}

.dropdown a:hover,
.dropdown a.is-active {
    background: var(--tint-1);
    color: var(--green);
}

.navbar__actions {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    flex-shrink: 0;
}

.navbar__cta-mobile {
    display: none;
}

/* Hamburger */
.navtoggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--r-btn);
}

.navtoggle span {
    display: block;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: transform var(--t), opacity var(--t);
}

.navtoggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navtoggle.is-active span:nth-child(2) {
    opacity: 0;
}

.navtoggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(var(--dark-rgb), .5);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t), visibility var(--t);
}

.nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}


/* ==========================================================================
   6. HERO
   Content and image read as one composition: no background decoration.
   ========================================================================== */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 104px);
    padding-block: var(--sp-3) 0;
    background: var(--white);
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.55fr);
    align-items: center;
    gap: var(--sp-3);
}

.hero__title {
    margin-bottom: var(--head-mb);
    font-size: clamp(30px, 3.5vw, 44px);
    font-weight: 800;
    letter-spacing: -1px;
}

.hero__text {
    max-width: 520px;
    margin-bottom: var(--text-mb);
    color: var(--muted);
    font-size: 14.5px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--btn-gap);
}

.hero__visual {
    position: relative;
}

/* +20% over the previous size, still fully contained */
.hero__image {
    width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: contain;
    object-position: center;
}

/* --- Floating glass cards, straddling the image edge --- */
.floatcard {
    position: absolute;
    left: -14px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 196px;
    padding: 11px 14px;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: var(--r-glass);
    box-shadow: var(--sh-sm);
    transition: transform var(--t), box-shadow var(--t);
}

.floatcard:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
}

.floatcard--1 {
    top: 16%;
}

.floatcard--2 {
    top: 44%;
}

.floatcard--3 {
    top: 72%;
}

.floatcard__icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    background: var(--tint-2);
    border-radius: 10px;
    color: var(--green);
    font-size: 14px;
}

.floatcard strong {
    display: block;
    color: var(--dark);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.floatcard small {
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.5;
}


/* ==========================================================================
   7. LOAN SERVICES
   ========================================================================== */
.services {
    background: var(--white);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
}

.loancard {
    position: relative;
    min-height: 236px;
    padding: var(--card-pad);
    background-color: var(--white);
    background-image: linear-gradient(135deg, rgba(var(--green-rgb), .12) 0%, rgba(var(--green-rgb), .04) 55%, rgba(var(--green-rgb), 0) 100%);
    border: 1px solid var(--border);
    border-radius: var(--r-card);
    box-shadow: var(--sh-xs);
    transition: transform var(--t), box-shadow var(--t);
}

.loancard:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
}

.loancard__body {
    position: relative;
    z-index: 2;
    max-width: 54%;
}

.loancard__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: var(--sp-2);
    background: var(--green);
    border-radius: 14px;
    color: var(--white);
    font-size: 18px;
    box-shadow: var(--sh-green);
}

.loancard__title {
    margin-bottom: var(--sp-1);
    font-size: 20px;
}

.loancard__text {
    margin-bottom: var(--text-mb);
    color: var(--muted);
    font-size: 13.5px;
}

/* Decoration behind the model — matches the reference */
.loancard__ring {
    position: absolute;
    right: 62px;
    bottom: 26px;
    z-index: 0;
    width: 178px;
    height: 178px;
    border: 1.5px dashed rgba(var(--green-rgb), .35);
    border-radius: 50%;
}

.loancard__ring--solid {
    right: 34px;
    bottom: 0;
    width: 200px;
    height: 200px;
    background: rgba(var(--green-rgb), .12);
    border: 0;
    border-radius: 50% 50% 0 0;
}

/* Model image — larger, bottom aligned, slightly over the card edge */
.loancard__image {
    position: absolute;
    right: 22px;
    bottom: 0;
    z-index: 1;
    height: 252px;
    width: auto;
    max-width: 48%;
    object-fit: contain;
    object-position: bottom right;
}


/* ==========================================================================
   8. WHY CHOOSE US
   ========================================================================== */
.why {
    background: var(--bg);
}

.why__inner {
    display: grid;
    grid-template-columns: 1fr 1.12fr;
    align-items: center;
    gap: var(--sp-5);
}

.why .section__title {
    margin-bottom: var(--sp-3);
}

.checklist {
    display: grid;
    gap: var(--sp-2);
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checklist__icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--green);
    font-size: 13px;
    box-shadow: var(--sh-xs);
    transition: transform var(--t), background var(--t), color var(--t);
}

.checklist li:hover .checklist__icon {
    background: var(--green);
    color: var(--white);
    transform: translateY(-2px);
}

.checklist strong {
    display: block;
    color: var(--dark);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.4;
}

.checklist small {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.55;
}

/* Single clean image, caption sits on the artwork itself */
.why__visual {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-img);
    box-shadow: var(--sh-sm);
}

.why__visual::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 62%;
    background: linear-gradient(180deg, rgba(var(--dark-rgb), .72) 0%, rgba(var(--dark-rgb), .35) 55%, rgba(var(--dark-rgb), 0) 100%);
    pointer-events: none;
}

.why__quote {
    position: absolute;
    top: var(--sp-3);
    left: var(--sp-4);
    right: var(--sp-4);
    z-index: 2;
    max-width: 330px;
    color: var(--white);
    font-size: clamp(15px, 1.4vw, 18px);
    font-weight: 600;
    line-height: 1.5;
}

.why__image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center;
    border-radius: var(--r-img);
}


/* ==========================================================================
   9. PROCESS
   ========================================================================== */
.process {
    background: var(--white);
}

.process__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
}

.step {
    position: relative;
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 12px;
    align-content: start;
}

/* Short connector between steps */
.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 23px;
    right: -20px;
    width: 16px;
    height: 1px;
    background: rgba(var(--green-rgb), .4);
}

.step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 20px;
    right: -20px;
    border: 3px solid transparent;
    border-left-color: rgba(var(--green-rgb), .55);
}

.step__icon {
    grid-row: 1 / span 3;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    background: var(--green);
    border-radius: 50%;
    color: var(--white);
    font-size: 17px;
    box-shadow: var(--sh-green);
    transition: transform var(--t), background var(--t);
}

.step:hover .step__icon {
    background: var(--dark);
    transform: translateY(-3px);
}

.step__title {
    color: var(--green);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .6px;
    line-height: 1.5;
    text-transform: uppercase;
}

.step__name {
    color: var(--dark);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.step__text {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.55;
}


/* ==========================================================================
   10. STATS
   ========================================================================== */
.stats {
    padding-block: 0 var(--section-y);
    background: var(--white);
}

.stats__strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
    padding: var(--sp-3) var(--sp-4);
    background-color: var(--dark);
    background-image: linear-gradient(100deg, rgba(var(--green-rgb), 0) 35%, rgba(var(--green-rgb), .38) 100%);
    border-radius: var(--r-card);
    box-shadow: var(--sh-sm);
}

.stat {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding-inline: var(--sp-1);
}

.stat+.stat {
    border-left: 1px solid rgba(255, 255, 255, .14);
}

.stat__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, .12);
    border-radius: 50%;
    color: var(--white);
    font-size: 16px;
}

.stat__value {
    display: block;
    color: var(--white);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.25;
}

.stat__label {
    color: rgba(255, 255, 255, .7);
    font-size: 12.5px;
    line-height: 1.5;
}


/* ==========================================================================
   11. TESTIMONIALS
   ========================================================================== */
.testimonials {
    padding-block: 0 var(--section-y);
    background: var(--white);
}

.slider {
    position: relative;
    padding-bottom: 44px;
}

.slider__viewport {
    overflow: hidden;
    width: 100%;
}

.slider__track {
    display: flex;
    gap: var(--gap);
    transition: transform 500ms cubic-bezier(.4, 0, .2, 1);
    list-style: none;
    margin: 0;
    padding: 0;
    will-change: transform;
}

/* Testimonial image slider — sized from viewport container (not wide track) */
#testimonialSlider .slider__viewport {
    overflow: hidden;
    width: 100%;
    min-height: 240px;
    container-type: inline-size;
    container-name: testimonial-slider;
}

#testimonialSlider .slider__track {
    display: flex;
    align-items: stretch;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#testimonialSlider .testimonial-slide {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

#testimonialSlider .testimonial-slide__img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 200px !important;
    max-height: 420px !important;
    object-fit: contain !important;
    object-position: center center !important;
    opacity: 1 !important;
    visibility: visible !important;
    border-radius: var(--r-card);
    background: var(--white);
}

@container testimonial-slider (max-width: 768px) {
    #testimonialSlider .slider__viewport {
        min-height: 200px;
    }

    #testimonialSlider .testimonial-slide__img {
        min-height: 160px !important;
        max-height: 300px !important;
    }
}

.testimonial-slide {
    flex: 0 0 auto;
    margin: 0;
    min-width: 0;
}

.testimonial-slide__img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: var(--r-card);
}

.quote {
    flex: 0 0 calc((100% - (var(--gap) * 2)) / 3);
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: var(--card-pad);
    background: var(--tint-1);
    border: 1px solid var(--border);
    border-radius: var(--r-card);
    box-shadow: var(--sh-xs);
    transition: transform var(--t), box-shadow var(--t);
}

.quote:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
}

.quote__mark {
    color: var(--green);
    font-size: 18px;
    opacity: .5;
    line-height: 1;
}

.quote__text {
    flex: 1;
    color: var(--text-soft);
    font-size: 13.5px;
    line-height: 1.7;
}

.quote__person {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: var(--green);
    border-radius: 50%;
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
}

.avatar--photo {
    background: var(--tint-2);
    overflow: hidden;
    padding: 0;
}

.avatar--photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.quote__person strong {
    display: block;
    color: var(--dark);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
}

.stars {
    display: inline-flex;
    gap: 2px;
    color: var(--star);
    font-size: 10.5px;
}

/* Arrows */
.slider__arrow {
    position: absolute;
    /* Centred on the cards, ignoring the dots strip below */
    top: calc(50% - 22px);
    margin-top: -18px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    background: var(--green);
    border-radius: 50%;
    color: var(--white);
    font-size: 12px;
    box-shadow: var(--sh-green);
    transition: background var(--t), transform var(--t);
}

.slider__arrow:hover {
    background: var(--dark);
    transform: scale(1.06);
}

.slider__arrow:disabled {
    opacity: .35;
    cursor: not-allowed;
    transform: none;
}

/* Parked in the page gutter so they never sit on the cards */
.slider__arrow--prev {
    left: calc((var(--gutter) - 4px) * -1);
}

.slider__arrow--next {
    right: calc((var(--gutter) - 4px) * -1);
}

/* Dots */
.slider__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: var(--sp-1);
    display: flex;
    justify-content: center;
    gap: 7px;
}

.slider__dot {
    width: 7px;
    height: 7px;
    background: rgba(var(--green-rgb), .25);
    border-radius: 50%;
    transition: width var(--t), background var(--t);
}

.slider__dot.is-active {
    width: 22px;
    background: var(--green);
    border-radius: 5px;
}


/* ==========================================================================
   12. CTA
   ========================================================================== */
.cta {
    padding-block: 0 var(--section-y);
    background: var(--white);
}

.cta__box {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    min-height: 132px;
    padding: var(--sp-3) var(--sp-4);
    background-color: var(--white);
    background-image: linear-gradient(120deg, rgba(var(--green-rgb), .12) 0%, rgba(var(--green-rgb), .04) 100%);
    border: 1px solid var(--border);
    border-radius: var(--r-card);
    box-shadow: var(--sh-xs);
}

.cta__content {
    flex: 1;
    min-width: 0;
}

.eyebrow--left {
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.cta__title {
    margin-bottom: 6px;
    font-size: clamp(20px, 2.2vw, 27px);
}

.cta__text {
    color: var(--muted);
    font-size: 13.5px;
}

.cta__image {
    align-self: flex-end;
    height: 150px;
    width: auto;
    margin-bottom: calc(var(--sp-3) * -1);
    object-fit: contain;
    object-position: bottom center;
}

.cta__btn {
    flex-shrink: 0;
}


/* ==========================================================================
   13. FOOTER
   ========================================================================== */
.footer {
    padding-top: 56px;
    background: var(--dark);
    color: rgba(255, 255, 255, .72);
    font-size: 13.5px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: var(--sp-4);
    padding-bottom: var(--sp-4);
}

.footer__logo {
    height: 44px;
    width: auto;
    margin-bottom: var(--sp-2);
    /* Renders the dark brand mark as white on the dark footer */
    filter: brightness(0) invert(1);
}

.footer__about {
    max-width: 290px;
    margin-bottom: var(--text-mb);
    font-size: 13px;
    line-height: 1.7;
}

.footer__title {
    margin-bottom: var(--head-mb);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
}

.footer__links {
    display: grid;
    gap: 10px;
}

.footer__links a {
    display: inline-block;
    font-size: 13px;
    line-height: 1.5;
    transition: color var(--t), transform var(--t);
}

.footer__links a:hover {
    color: var(--white);
    transform: translateX(3px);
}

.footer__contact {
    display: grid;
    gap: 12px;
}

.footer__contact li {
    display: flex;
    gap: 10px;
    font-size: 13px;
    line-height: 1.65;
}

.footer__contact i {
    margin-top: 5px;
    color: var(--green);
    font-size: 12.5px;
}

.footer__contact a:hover {
    color: var(--white);
}

.socials {
    display: flex;
    gap: var(--sp-1);
}

.socials a {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, .1);
    border-radius: 50%;
    color: var(--white);
    font-size: 12.5px;
    transition: background var(--t), transform var(--t);
}

.socials a:hover {
    background: var(--green);
    transform: translateY(-2px);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-2);
    padding-block: var(--sp-2);
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 12.5px;
}

.footer__legal {
    display: flex;
    gap: var(--sp-3);
    flex-wrap: wrap;
}

.footer__legal a:hover {
    color: var(--white);
}


/* ==========================================================================
   13b. POLICY / LEGAL PAGES
   ========================================================================== */
.policy-page {
    padding-block: clamp(3rem, 6vw, 5rem) clamp(4rem, 8vw, 6rem);
}

.policy-page__head {
    max-width: 720px;
    margin-bottom: var(--sp-4);
}

.policy-page__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
}

.policy-page__content {
    max-width: 960px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-muted);
}

.policy-page__content h1,
.policy-page__content h2,
.policy-page__content h3,
.policy-page__content h4 {
    color: var(--navy);
    margin-block: 1.5em .75em;
    line-height: 1.35;
}

.policy-page__content p,
.policy-page__content ul,
.policy-page__content ol {
    margin-bottom: 1em;
}

.policy-page__content ul,
.policy-page__content ol {
    padding-left: 1.25em;
}

.policy-page__content a {
    color: var(--green);
    text-decoration: underline;
}

@media (max-width: 767px) {
    .footer__legal {
        justify-content: flex-start;
    }
}


/* ==========================================================================
   14. FLOATING WHATSAPP
   ========================================================================== */
.whatsapp {
    position: fixed;
    right: var(--sp-3);
    bottom: var(--sp-3);
    z-index: 80;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    background: var(--green);
    border-radius: 50%;
    color: var(--white);
    font-size: 24px;
    box-shadow: 0 6px 18px rgba(var(--green-rgb), .35);
    transition: transform var(--t), box-shadow var(--t);
}

.whatsapp:hover {
    background: var(--dark);
    transform: scale(1.06);
}


/* ==========================================================================
   15. REVEAL ANIMATIONS (fade up)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms cubic-bezier(.22, .61, .36, 1),
        transform 600ms cubic-bezier(.22, .61, .36, 1);
}

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

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

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

    * {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}


/* ==========================================================================
   16. RESPONSIVE
   ========================================================================== */

/* --- Laptop : 1240 and below --- */
@media (max-width: 1240px) {
    :root {
        --gutter: 32px;
    }

    .mainnav__list {
        gap: 18px;
    }

    .floatcard {
        left: 8px;
        min-width: 182px;
        padding: 10px 12px;
    }

    .loancard__body {
        max-width: 56%;
    }
}

/* --- Small laptop : 1140 and below (nav collapses) --- */
@media (max-width: 1140px) {
    :root {
        --section-y: 60px;
    }

    .navtoggle {
        display: flex;
    }

    /* Off-canvas navigation */
    .mainnav {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 105;
        flex-direction: column;
        align-items: stretch;
        gap: var(--sp-2);
        width: min(330px, 84vw);
        height: 100vh;
        margin: 0;
        padding: var(--sp-3) var(--sp-3) var(--sp-4);
        background: var(--white);
        box-shadow: -8px 0 32px rgba(var(--dark-rgb), .12);
        transform: translateX(105%);
        transition: transform var(--t);
        overflow-y: auto;
    }

    .mainnav__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: var(--sp-2);
        margin-bottom: var(--sp-1);
        border-bottom: 1px solid var(--border);
    }

    .mainnav__header .brand__logo {
        height: 36px;
        width: auto;
    }

    .mainnav__close {
        display: grid;
        place-items: center;
        width: 36px;
        height: 36px;
        background: var(--tint-1);
        border: 1px solid var(--border);
        border-radius: 50%;
        color: var(--dark);
        font-size: 15px;
        transition: background var(--t), color var(--t);
    }

    .mainnav__close:hover {
        background: var(--green);
        color: var(--white);
    }

    .mainnav.is-open {
        transform: translateX(0);
    }

    .mainnav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .mainnav__list>li>a,
    .dropdown__toggle {
        justify-content: space-between;
        width: 100%;
        padding: 11px 4px;
        border-bottom: 1px solid var(--border);
        font-size: 15px;
        font-weight: 500;
    }

    .mainnav__list>li>a::after {
        display: none;
    }

    /* Dropdown becomes an accordion */
    .dropdown {
        position: static;
        transform: none;
        display: none;
        min-width: 0;
        margin-top: 6px;
        padding: 6px;
        border-radius: 12px;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
    }

    .has-dropdown.is-open .dropdown {
        display: block;
        transform: none;
    }

    .has-dropdown.is-open .dropdown__toggle i {
        transform: rotate(180deg);
    }

    .navbar__cta-mobile {
        display: inline-flex;
        justify-content: center;
    }

    .navbar__actions .btn {
        display: none;
    }
}

/* --- Tablet : 1024 and below --- */
@media (max-width: 1024px) {
    .hero {
        min-height: auto;
        padding-block: var(--sp-3) var(--sp-5);
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: var(--sp-4);
    }

    .hero__content {
        text-align: center;
    }

    .hero__text {
        max-width: 540px;
        margin-inline: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__image {
        margin-inline: auto;
        max-height: 430px;
    }

    /* Floating cards flow under the image on touch layouts */
    .hero__visual {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .floatcard {
        position: static;
        width: min(320px, 100%);
        top: auto;
        left: auto;
    }

    .why__inner {
        grid-template-columns: 1fr;
        gap: var(--sp-4);
    }

    .why__quote {
        max-width: 420px;
    }

    /* Process : 2 x 2 */
    .process__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--sp-3) var(--sp-5);
    }

    .step:nth-child(2)::after,
    .step:nth-child(2)::before {
        display: none;
    }

    .stats__strip {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--sp-3);
        padding: var(--sp-3);
    }

    .stat:nth-child(3) {
        border-left: 0;
    }

    /* Testimonials */
    #testimonialSlider .testimonial-slide__img {
        min-height: 180px !important;
    }

    .quote {
        flex: 0 0 calc((100% - var(--gap)) / 2);
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--sp-4);
    }
}

/* --- Tablet portrait / large phone : 768 and below --- */
@media (max-width: 768px) {
    :root {
        --gutter: 20px;
        --section-y: 52px;
    }

    .topbar {
        font-size: 12px;
        word-break: break-word;
    }

    .topbar__list li,
    .topbar__list a {
        max-width: 100%;
        word-break: break-word;
    }

    .topbar__inner {
        flex-direction: column;
        align-items: center;
        gap: 2px;
        padding-block: 7px;
        text-align: center;
    }

    .topbar__list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px var(--sp-2);
    }

    .topbar__divider {
        padding-left: var(--sp-2);
    }

    .brand__logo {
        height: 40px;
    }

    /* Loan cards : model beside a narrower text block */
    .services__grid {
        grid-template-columns: 1fr;
    }

    .loancard {
        min-height: 226px;
    }

    .loancard__body {
        max-width: 58%;
    }

    .loancard__image {
        height: 216px;
    }

    .loancard__ring {
        right: 54px;
        bottom: 20px;
        width: 150px;
        height: 150px;
    }

    .loancard__ring--solid {
        right: 28px;
        width: 168px;
        height: 168px;
    }

    .why__image {
        height: 320px;
    }

    /* Process : vertical */
    .process__grid {
        grid-template-columns: 1fr;
        gap: var(--sp-3);
    }

    .step:not(:last-child)::after,
    .step:not(:last-child)::before {
        display: none;
    }

    .stats__strip {
        grid-template-columns: 1fr;
        gap: var(--sp-2);
    }

    .stat+.stat {
        padding-top: var(--sp-2);
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .14);
    }

    .quote {
        flex: 0 0 100%;
    }

    /* Arrows move below the card so they never cover the text */
    .slider {
        padding-bottom: 66px;
    }

    .slider__arrow {
        top: auto;
        bottom: 0;
        margin-top: 0;
    }

    .slider__arrow--prev {
        left: calc(50% - 74px);
    }

    .slider__arrow--next {
        right: calc(50% - 74px);
    }

    .slider__dots {
        bottom: 14px;
    }

    /* CTA stacks */
    .cta__box {
        flex-direction: column;
        align-items: center;
        gap: var(--sp-3);
        padding: var(--sp-3);
        text-align: center;
    }

    .cta__image {
        align-self: center;
        order: 3;
        height: 140px;
        margin-bottom: calc(var(--sp-3) * -1);
    }

    .cta__btn {
        order: 2;
    }

    .footer {
        padding-top: 44px;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* --- Mobile : 480 and below --- */
@media (max-width: 480px) {
    :root {
        --section-y: 46px;
    }

    .hero__title {
        letter-spacing: -.6px;
    }

    .hero__actions {
        gap: 12px;
    }

    /* Model drops below the copy so nothing is cropped */
    .loancard {
        min-height: 0;
        padding-bottom: 190px;
    }

    .loancard__body {
        max-width: 100%;
    }

    .loancard__image {
        right: 8px;
        height: 188px;
        max-width: 68%;
    }

    .loancard__ring {
        right: 30px;
        bottom: 16px;
        width: 132px;
        height: 132px;
    }

    .loancard__ring--solid {
        right: 12px;
        width: 146px;
        height: 146px;
    }

    .why__quote {
        top: var(--sp-2);
        left: var(--sp-3);
        right: var(--sp-3);
    }

    .why__image {
        height: 260px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--sp-4);
    }

    .footer__about {
        max-width: none;
    }

    .whatsapp {
        right: var(--sp-2);
        bottom: var(--sp-2);
        width: 46px;
        height: 46px;
        font-size: 22px;
    }
}


/* ==========================================================================
   17. COMPANY PAGE (company.html)
   Page specific blocks only — tokens, buttons, checklist, stats strip,
   header and footer are all reused from the sections above.
   ========================================================================== */

/* --- 17.1 About hero --- */
.about-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 104px);
    padding-block: var(--sp-4);
    background: var(--white);
}

.about-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    align-items: center;
    gap: var(--sp-5);
}

.about-hero__title {
    margin-bottom: var(--head-mb);
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 700;
}

.about-hero__text {
    max-width: 470px;
    margin-bottom: var(--text-mb);
    color: var(--muted);
    font-size: 14px;
}

.about-hero__text strong {
    color: var(--green);
    font-weight: 600;
}

/* Three compact stat chips under the intro */
.minstats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
}

.minstat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--sh-xs);
    transition: transform var(--t), box-shadow var(--t);
}

.minstat:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-sm);
}

.minstat__icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: var(--tint-2);
    border-radius: 10px;
    color: var(--green);
    font-size: 13px;
}

.minstat strong {
    display: block;
    color: var(--dark);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
}

.minstat small {
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.5;
}

.about-hero__media {
    position: relative;
}

/* Light dotted decoration behind the photograph */
.about-hero__dots {
    position: absolute;
    top: -18px;
    left: -26px;
    z-index: 0;
    width: 140px;
    height: 112px;
    background-image: radial-gradient(rgba(var(--green-rgb), .45) 2px, transparent 2px);
    background-size: 16px 16px;
}

.about-hero__img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 580px;
    object-fit: cover;
    object-position: center;
    /* Leaf shaped framing from the reference */
    border-radius: 120px 45px 120px 45px;
    border: 2px solid rgba(var(--green-rgb), .3);
    box-shadow: var(--sh-sm);
}

/* --- 17.2 Alternating "why choose us" row --- */
.altrow {
    padding-block: var(--section-y);
    background: var(--white);
}

.altrow__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: var(--sp-5);
}

.altrow__media {
    position: relative;
}

.altrow__img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 30px;
    box-shadow: var(--sh-sm);
    transition: transform var(--t);
}

.altrow__media:hover .altrow__img {
    transform: translateY(-4px);
}

/* Circular badge overlapping the bottom of the photo */
.altrow__badge {
    position: absolute;
    left: -14px;
    bottom: -24px;
    z-index: 2;
    display: grid;
    place-items: center;
    gap: 2px;
    width: 112px;
    height: 112px;
    padding: 10px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--sh-sm);
    text-align: center;
}

.altrow__badge i {
    color: var(--green);
    font-size: 15px;
}

.altrow__badge span {
    color: var(--dark);
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.35;
}

.altrow__text {
    margin-bottom: var(--text-mb);
    color: var(--muted);
    font-size: 14px;
}

.altrow .section__title {
    margin-bottom: var(--head-mb);
}

/* --- 17.3 Service cards --- */
.cservices {
    padding-block: 0 var(--section-y);
    background: var(--white);
}

.scards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
}

.scard {
    padding: var(--card-pad);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-card);
    box-shadow: var(--sh-xs);
    text-align: center;
    transition: transform var(--t), box-shadow var(--t);
}

.scard:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
}

.scard__img {
    width: 100%;
    height: 260px;
    margin-bottom: var(--sp-2);
    object-fit: contain;
    transition: transform var(--t);
}

.scard:hover .scard__img {
    transform: scale(1.03);
}

.scard__title {
    margin-bottom: var(--sp-1);
    font-size: 18px;
}

.scard__text {
    max-width: 420px;
    margin: 0 auto var(--text-mb);
    color: var(--muted);
    font-size: 13.5px;
}

/* --- 17.4 Why partner with us --- */
.partner {
    padding-block: 0 var(--section-y);
    background: var(--white);
}

.partner__box {
    padding: var(--sp-4);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 30px;
    box-shadow: var(--sh-xs);
}

.partner__eyebrow {
    margin-bottom: var(--sp-3);
    text-align: center;
}

.partner__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
}

.pvalue {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.pvalue__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--green);
    font-size: 14px;
    transition: background var(--t), color var(--t), transform var(--t);
}

.pvalue:hover .pvalue__icon {
    background: var(--green);
    color: var(--white);
    transform: translateY(-2px);
}

.pvalue strong {
    display: block;
    margin-bottom: 2px;
    color: var(--dark);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.4;
}

.pvalue p {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.55;
}

/* --- 17.5 Company page responsive --- */
@media (max-width: 1240px) {
    .about-hero__img {
        height: 470px;
    }

    .altrow__img {
        height: 370px;
    }
}

@media (max-width: 1024px) {

    .about-hero {
        min-height: auto;
    }

    /* Single column, image first on both rows */
    .about-hero__inner,
    .altrow__inner {
        grid-template-columns: 1fr;
        gap: var(--sp-4);
    }

    .about-hero__media {
        order: -1;
    }

    .about-hero__text {
        max-width: none;
    }

    .about-hero__img {
        height: 420px;
        border-radius: 90px 40px 90px 40px;
    }

    .altrow__img {
        height: 360px;
    }

    .altrow__badge {
        left: var(--sp-3);
        bottom: -22px;
    }

    /* Values become 2 x 2 */
    .partner__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--sp-3);
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding-block: var(--sp-4) var(--section-y);
    }

    .about-hero__img {
        height: 340px;
        border-radius: 70px 32px 70px 32px;
    }

    .about-hero__dots {
        width: 96px;
        height: 76px;
        background-size: 14px 14px;
    }

    .minstat {
        flex: 1 1 auto;
    }

    .altrow__img {
        height: 300px;
    }

    .altrow__badge {
        width: 96px;
        height: 96px;
    }

    .altrow__badge span {
        font-size: 10px;
    }

    /* Service cards stack */
    .scards {
        grid-template-columns: 1fr;
    }

    .scard__img {
        height: 220px;
    }

    .partner__box {
        padding: var(--sp-3);
    }
}

@media (max-width: 480px) {
    .about-hero__img {
        height: 270px;
        border-radius: 50px 24px 50px 24px;
    }

    .minstats {
        gap: 10px;
    }

    .minstat {
        width: 100%;
    }

    .altrow__img {
        height: 240px;
    }

    .altrow__badge {
        left: var(--sp-2);
        bottom: -20px;
        width: 88px;
        height: 88px;
    }

    .scard__img {
        height: 190px;
    }

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


/* ==========================================================================
   18. EMI CALCULATOR PAGE (emi-calculator.html)
   ========================================================================== */

/* --- 18.1 Layout --- */
.emi-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 104px);
    padding-block: var(--sp-4);
    background: var(--bg);
}

.emi-layout {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
    gap: var(--gap);
    width: 100%;
    min-width: 0;
}

.emi-layout > * {
    min-width: 0;
}

/* --- 18.3 Cards --- */
.emi-card {
    height: 100%;
    padding: var(--card-pad);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--sh-sm);
    min-width: 0;
    overflow: hidden;
}

.emi-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: var(--sp-3);
}

.emi-card__icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: var(--tint-2);
    border-radius: 50%;
    color: var(--green);
    font-size: 19px;
}

.emi-card__title {
    margin-bottom: 2px;
    font-size: 19px;
}

.emi-card__sub {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.55;
}

/* --- 18.4 Form controls --- */
.field {
    margin-bottom: var(--sp-2);
}

.field__label {
    display: block;
    margin-bottom: var(--sp-1);
    color: var(--dark);
    font-size: 13.5px;
    font-weight: 600;
}

.field__label--split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-1);
}

.field__label small {
    color: var(--muted);
    font-weight: 400;
}

.field__input,
.field__select,
.inputgroup__input {
    width: 100%;
    padding: 11px 14px;
    font-family: var(--font);
    font-size: 13.5px;
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-btn);
    transition: border-color var(--t), box-shadow var(--t);
}

.field__input:focus,
.field__select:focus,
.inputgroup__input:focus {
    outline: 0;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(var(--green-rgb), .12);
}

.field__select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 34px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2325A14D'%3E%3Cpath d='M8 11.4 2.6 6l1.1-1.1L8 9.2l4.3-4.3L13.4 6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 13px;
    cursor: pointer;
}

/* Amount field with ₹ prefix and quick-set button */
.inputgroup {
    display: flex;
}

.inputgroup__prefix {
    display: grid;
    place-items: center;
    padding-inline: 14px;
    background: var(--tint-1);
    border: 1px solid var(--border);
    border-right: 0;
    border-radius: var(--r-btn) 0 0 var(--r-btn);
    color: var(--green);
    font-size: 14px;
    font-weight: 600;
}

.inputgroup__input {
    border-radius: 0;
    min-width: 0;
}

.inputgroup__btn {
    flex-shrink: 0;
    padding-inline: 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 0;
    border-radius: 0 var(--r-btn) var(--r-btn) 0;
    color: var(--green);
    font-size: 13px;
    font-weight: 600;
    transition: background var(--t), color var(--t);
}

.inputgroup__btn:hover {
    background: var(--green);
    color: var(--white);
}

/* Slider control — shared by the EMI page and the loan amount card */
.emi-range,
.range {
    --range-fill: 28%;
    width: 100%;
    height: 6px;
    margin-top: 6px;
    appearance: none;
    -webkit-appearance: none;
    background: linear-gradient(to right,
            var(--green) var(--range-fill),
            rgba(var(--green-rgb), .16) var(--range-fill));
    border-radius: 999px;
    outline: 0;
    cursor: pointer;
}

.emi-range::-webkit-slider-thumb,
.range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--green);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: var(--sh-green);
    cursor: pointer;
}

.emi-range::-moz-range-thumb,
.range::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--green);
    border: 3px solid var(--white);
    border-radius: 50%;
    cursor: pointer;
}

.emi-rate-badge {
    padding: 3px 10px;
    background: var(--tint-2);
    border-radius: 8px;
    color: var(--green);
    font-size: 12.5px;
    font-weight: 600;
}

.emi-hint {
    margin-top: 6px;
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.55;
}

.emi-hint--inline {
    margin-top: 0;
    font-weight: 500;
}

.emi-hint--center {
    margin-top: var(--sp-2);
    text-align: center;
}

.tenure {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: var(--sp-1);
}

.emi-actions {
    display: grid;
    gap: 10px;
    margin-top: var(--sp-3);
}

.emi-actions .btn {
    justify-content: center;
}

.emi-divider {
    height: 1px;
    margin-block: var(--sp-3);
    background: var(--border);
    border: 0;
}

/* --- 18.5 Results --- */
.emi-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 18px;
    text-align: center;
}

.emi-results > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px 10px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--sh-xs);
    transition: transform var(--t), border-color var(--t);
}

.emi-results > div:first-child {
    background: linear-gradient(135deg, rgba(var(--green-rgb), .12) 0%, rgba(var(--green-rgb), .03) 100%);
    border-color: rgba(var(--green-rgb), .3);
}

.emi-results__label {
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.4;
}

.emi-results__value {
    margin-top: 3px;
    color: var(--dark);
    font-size: clamp(15px, 1.4vw, 19px);
    font-weight: 700;
    line-height: 1.3;
}

.emi-results > div:first-child .emi-results__value {
    color: var(--green);
}

.quick-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.quick-amounts .chip {
    padding: 4px 10px;
    font-size: 11.5px;
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--white);
    transition: background var(--t), color var(--t), border-color var(--t);
}

.quick-amounts .chip:hover,
.quick-amounts .chip.is-active {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}

/* --- 18.6 Charts --- */
.emi-chart-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-2);
    margin-bottom: var(--sp-2);
}

.emi-chart-card__head h3 {
    font-size: 16px;
    font-weight: 600;
}

.btn-emi-save {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    background: transparent;
    border: 1.5px solid var(--green);
    border-radius: var(--r-btn);
    color: var(--green);
    font-size: 12.5px;
    font-weight: 600;
    transition: background var(--t), color var(--t);
}

.btn-emi-save:hover {
    background: var(--green);
    color: var(--white);
}

.emi-charts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
    min-width: 0;
}

.emi-chart-wrap {
    position: relative;
    height: 240px;
    width: 100%;
    min-width: 0;
}

.emi-chart-wrap canvas {
    max-width: 100% !important;
}

/* --- 18.7 Amortization schedule --- */
.emi-table-wrap {
    max-height: 280px;
    margin-top: var(--sp-3);
    overflow-x: auto;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 14px;
    -webkit-overflow-scrolling: touch;
}

.emi-table {
    width: 100%;
    min-width: 440px;
    border-collapse: collapse;
    font-size: 12.5px;
}

.emi-table th,
.emi-table td {
    padding: 9px 14px;
    text-align: left;
    white-space: nowrap;
}

.emi-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-weight: 600;
}

.emi-table tbody td {
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.emi-table tbody tr:last-child td {
    border-bottom: 0;
}

.emi-table tbody tr:hover {
    background: var(--tint-1);
}

/* --- 18.8 EMI page responsive --- */
@media (max-width: 1140px) {
    .emi-section {
        min-height: auto;
        padding-block: var(--sp-4);
    }

    .emi-layout {
        grid-template-columns: 1fr;
    }

    .emi-card {
        height: auto;
    }
}

@media (max-width: 860px) {
    .emi-charts {
        grid-template-columns: 1fr;
    }

    .emi-chart-wrap {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .emi-card {
        padding: 16px;
        border-radius: 18px;
    }

    .emi-results {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 8px;
        border-radius: 14px;
    }

    .emi-results > div:first-child {
        grid-column: 1 / -1;
        padding: 12px 10px;
        background: linear-gradient(135deg, rgba(var(--green-rgb), .14) 0%, rgba(var(--green-rgb), .04) 100%);
        border-color: rgba(var(--green-rgb), .35);
        box-shadow: var(--sh-sm);
    }

    .emi-results > div:first-child .emi-results__label {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: .8px;
        color: var(--green);
        font-weight: 700;
    }

    .emi-results > div:first-child .emi-results__value {
        font-size: 22px;
        margin-top: 2px;
    }

    .emi-results > div {
        padding: 10px 6px;
        border-radius: 10px;
    }

    .emi-results__label {
        font-size: 10.5px;
        color: var(--muted);
    }

    .emi-results__value {
        font-size: 13.5px;
        margin-top: 2px;
    }

    .emi-chart-card__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .emi-table th,
    .emi-table td {
        padding: 8px 10px;
    }
}


/* ==========================================================================
   19. PERSONAL SERVICE CARD PAGE (personal-service-card.html)
   Page specific blocks only — header, footer, buttons, section heads and
   the CTA component are all reused from the sections above.
   ========================================================================== */

/* --- 19.1 Card hero --- */
.pcard-hero {
    padding-block: var(--sp-5) var(--section-y);
    background: var(--white);
}

.pcard-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--sp-5);
}

.pcard-hero__media {
    position: relative;
}

/* Soft green decoration floating behind the card artwork */
.pcard-hero__glow {
    position: absolute;
    right: -20px;
    bottom: -24px;
    z-index: 0;
    width: 62%;
    height: 66%;
    background: linear-gradient(140deg, rgba(var(--green-rgb), .22), rgba(var(--green-rgb), .04));
    border-radius: 32px;
}

.pcard-hero__dots {
    position: absolute;
    top: -16px;
    left: -24px;
    z-index: 0;
    width: 130px;
    height: 104px;
    background-image: radial-gradient(rgba(var(--green-rgb), .4) 2px, transparent 2px);
    background-size: 16px 16px;
}

.pcard-hero__frame {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    padding: var(--sp-3);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 32px;
    box-shadow: var(--sh-sm);
    transition: transform var(--t), box-shadow var(--t);
}

.pcard-hero__media:hover .pcard-hero__frame {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
}

/* Height keeps the frame proportional — the artwork itself is never cropped */
.pcard-hero__img {
    width: 100%;
    height: 420px;
    object-fit: contain;
}

.pcard-hero__title {
    margin-bottom: var(--head-mb);
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 700;
}

.pcard-hero__text {
    margin-bottom: var(--text-mb);
    color: var(--muted);
    font-size: 14px;
}

/* Benefit chips */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: var(--text-mb);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--tint-1);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--dark);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.4;
    transition: background var(--t), color var(--t), transform var(--t);
}

.chip i {
    color: var(--green);
    font-size: 11px;
    transition: color var(--t);
}

.chip:hover {
    background: var(--green);
    color: var(--white);
    transform: translateY(-2px);
}

.chip:hover i {
    color: var(--white);
}

/* Pricing card */
.pricebox {
    margin-bottom: var(--sp-2);
    padding: var(--card-pad);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-card);
    box-shadow: var(--sh-sm);
}

.pricebox__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--sp-2);
    margin-bottom: 12px;
}

.pricebox__label {
    color: var(--dark);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.4;
}

.pricebox__note {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

.pricebox__badge {
    flex-shrink: 0;
    padding: 6px 12px;
    background: var(--tint-2);
    border-radius: 999px;
    color: var(--green);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .4px;
    line-height: 1.4;
}

.pricebox__amount {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.pricebox__amount strong {
    color: var(--dark);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.1;
}

.pricebox__amount s {
    color: var(--muted);
    font-size: 16px;
}

.pricebox__gst {
    color: var(--muted);
    font-size: 12px;
}

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

.pricebox__list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.55;
}

.pricebox__list i {
    margin-top: 5px;
    color: var(--green);
    font-size: 10.5px;
}

/* --- 19.2 Membership benefits --- */
.benefits {
    padding-block: var(--section-y);
    background: var(--white);
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.bcard {
    padding: var(--card-pad);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-card);
    box-shadow: var(--sh-xs);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.bcard:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--green-rgb), .3);
    box-shadow: var(--sh-md);
}

.bcard__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: var(--sp-2);
    background: var(--tint-2);
    border-radius: 14px;
    color: var(--green);
    font-size: 17px;
    transition: background var(--t), color var(--t);
}

.bcard:hover .bcard__icon {
    background: var(--green);
    color: var(--white);
}

/* Icon beside the text instead of above it */
.bcard--row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.bcard--row .bcard__icon {
    margin-bottom: 0;
}

.bcard__title {
    margin-bottom: var(--sp-1);
    font-size: 16.5px;
}

.bcard__text {
    color: var(--muted);
    font-size: 13px;
}

/* --- 19.3 Application process timeline --- */
.flow {
    padding-block: 0 var(--section-y);
    background: var(--white);
}

.flow__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--sp-2);
}

.fstep {
    position: relative;
    padding-inline: 4px;
    text-align: center;
}

/* Dashed connector running between the circles */
.fstep:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 26px;
    left: calc(50% + 38px);
    width: calc(100% - 76px);
    height: 2px;
    background: repeating-linear-gradient(90deg,
            rgba(var(--green-rgb), .45) 0 6px,
            transparent 6px 12px);
}

.fstep__icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: 0 auto var(--sp-1);
    background: var(--green);
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    box-shadow: var(--sh-green);
    transition: transform var(--t), background var(--t);
}

.fstep:hover .fstep__icon {
    background: var(--dark);
    transform: translateY(-3px);
}

.fstep__num {
    display: block;
    color: var(--green);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .8px;
    line-height: 1.5;
    text-transform: uppercase;
}

.fstep__name {
    color: var(--dark);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

/* --- 19.4 FAQ --- */
.faq {
    padding-block: 0 var(--section-y);
    background: var(--white);
}

.faq__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: center;
    gap: var(--sp-5);
}

.acc {
    display: grid;
    gap: 12px;
}

.acc__item {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--sh-xs);
    transition: border-color var(--t), box-shadow var(--t);
}

.acc__item.is-open {
    border-color: rgba(var(--green-rgb), .32);
    box-shadow: var(--sh-sm);
}

.acc__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-2);
    width: 100%;
    padding: 15px 20px;
    color: var(--dark);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    transition: color var(--t);
}

.acc__btn:hover,
.acc__item.is-open .acc__btn {
    color: var(--green);
}

.acc__icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background: var(--tint-2);
    border-radius: 50%;
    color: var(--green);
    font-size: 11px;
    transition: transform var(--t), background var(--t), color var(--t);
}

.acc__item.is-open .acc__icon {
    background: var(--green);
    color: var(--white);
    transform: rotate(180deg);
}

.acc__panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t);
}

.acc__panel p {
    padding: 0 20px 17px;
    color: var(--muted);
    font-size: 13px;
}

.faq__media {
    position: relative;
    display: grid;
    place-items: center;
}

/* Light green halo behind the model */
.faq__blob {
    position: absolute;
    z-index: 0;
    width: 330px;
    height: 330px;
    background: radial-gradient(circle, rgba(var(--green-rgb), .14) 0%, rgba(var(--green-rgb), 0) 70%);
    border-radius: 50%;
}

.faq__img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 420px;
    object-fit: contain;
    transition: transform var(--t);
}

.faq__media:hover .faq__img {
    transform: translateY(-4px);
}

/* --- 19.5 Bottom CTA variant (no illustration) --- */
.cta__box--plain {
    min-height: 0;
    padding: var(--sp-4);
    background-image: linear-gradient(120deg, rgba(var(--green-rgb), .14) 0%, rgba(var(--green-rgb), .05) 100%);
    border-radius: 28px;
}

.cta__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: var(--green);
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    box-shadow: var(--sh-green);
}

.cta__box--plain .cta__title {
    margin-bottom: 8px;
}

.cta__box--plain .cta__text {
    max-width: 520px;
}

/* --- 19.6 Page responsive --- */
@media (max-width: 1240px) {
    .pcard-hero__img {
        height: 380px;
    }

    .flow__grid {
        gap: 12px;
    }

    .fstep__name {
        font-size: 13.5px;
    }
}

@media (max-width: 1024px) {

    /* Card visual first, then the offer */
    .pcard-hero__inner,
    .faq__inner {
        grid-template-columns: 1fr;
        gap: var(--sp-4);
    }

    .pcard-hero {
        padding-block: var(--sp-4) var(--section-y);
    }

    .pcard-hero__img {
        height: 400px;
    }

    .benefits__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Timeline : 3 x 2 */
    .flow__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--sp-4) var(--sp-2);
    }

    .fstep:nth-child(3n)::after {
        display: none;
    }

    .faq__media {
        order: 1;
    }

    .faq__img {
        height: 380px;
    }
}

@media (max-width: 768px) {
    .pcard-hero__frame {
        padding: var(--sp-2);
    }

    .pcard-hero__img {
        height: 340px;
    }

    .pcard-hero__dots {
        width: 96px;
        height: 76px;
        background-size: 14px 14px;
    }

    .faq__img {
        height: 330px;
    }

    .faq__blob {
        width: 260px;
        height: 260px;
    }

    /* CTA stacks with a full width button */
    .cta__box--plain {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--sp-3);
        padding: var(--sp-3);
    }

    .cta__box--plain .cta__btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .benefits__grid {
        grid-template-columns: 1fr;
    }

    /* Timeline becomes vertical */
    .flow__grid {
        grid-template-columns: 1fr;
        gap: var(--sp-3);
    }

    .fstep {
        display: grid;
        grid-template-columns: 54px 1fr;
        align-items: center;
        column-gap: 14px;
        padding-inline: 0;
        text-align: left;
    }

    .fstep__icon {
        grid-row: 1 / span 2;
        margin: 0;
    }

    .fstep:not(:last-child)::after {
        top: 58px;
        bottom: -26px;
        left: 26px;
        width: 2px;
        height: auto;
        background: repeating-linear-gradient(180deg,
                rgba(var(--green-rgb), .45) 0 6px,
                transparent 6px 12px);
    }
}

@media (max-width: 480px) {
    .pcard-hero__img {
        height: 250px;
    }

    .pricebox__amount strong {
        font-size: 29px;
    }

    .faq__img {
        height: 270px;
    }

    .acc__btn {
        padding: 14px 16px;
        font-size: 13.5px;
    }

    .acc__panel p {
        padding: 0 16px 15px;
    }
}


/* ==========================================================================
   20. PERSONAL LOAN PAGE (personal-loan.html)
   Page specific blocks only — header, footer, buttons, chips, form controls,
   benefit cards, stats and the CTA component are reused from above.
   ========================================================================== */

/* --- 20.1 Hero card --- */
.lhero {
    padding-block: var(--sp-4) var(--section-y);
    background: var(--white);
}

.lhero__box {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--sp-4);
    padding: var(--sp-5);
    background-color: var(--white);
    background-image: radial-gradient(120% 130% at 6% 0%, rgba(var(--green-rgb), .14) 0%, rgba(var(--green-rgb), 0) 55%),
        linear-gradient(180deg, rgba(var(--green-rgb), .07) 0%, rgba(var(--green-rgb), .02) 100%);
    border: 1px solid var(--border);
    border-radius: 32px;
    box-shadow: var(--sh-xs);
}

.lhero__content {
    position: relative;
    z-index: 2;
}

.lhero__title {
    margin-bottom: var(--head-mb);
    font-size: clamp(27px, 3.2vw, 40px);
    font-weight: 700;
    letter-spacing: -.6px;
}

/* Dot separated feature line */
.lhero__points {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-bottom: var(--sp-2);
    color: var(--text-soft);
    font-size: 13.5px;
    font-weight: 500;
}

.lhero__points li {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
}

.lhero__points li:not(:last-child)::after {
    content: "";
    width: 4px;
    height: 4px;
    flex-shrink: 0;
    background: var(--green);
    border-radius: 50%;
}

/* Eligibility form */
.lform {
    max-width: 420px;
    margin-top: var(--sp-3);
    padding: var(--card-pad);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--sh-sm);
    text-align: center;
}

.lform__eyebrow {
    margin-bottom: 6px;
}

.lform__title {
    margin-bottom: 4px;
    font-size: 19px;
}

.lform__sub {
    margin-bottom: var(--sp-2);
    color: var(--muted);
    font-size: 12.5px;
}

.lform .ajax-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
}

.lform .ajax-alert i {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 16px;
}

.lform .ajax-alert--error {
    background: #fff5f5;
    color: #b42318;
    border: 1px solid #fecdca;
}

.lform .form-error {
    display: none;
}

.lform .field__input.is-invalid,
.lform .field__select.is-invalid {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.12) !important;
}

.lform__row {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 12px;
    text-align: left;
}

.lform__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 12px;
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.5;
}

.lform__note i {
    color: var(--green);
    font-size: 10.5px;
}

/* --- 20.2 Hero visual --- */
.lhero__visual {
    position: relative;
    align-self: end;
}

.lhero__blob {
    position: absolute;
    right: 8%;
    bottom: 6%;
    z-index: 0;
    width: 300px;
    height: 300px;
    background: var(--green);
    border-radius: 50%;
}

.lhero__blob--soft {
    right: 26%;
    bottom: 18%;
    width: 370px;
    height: 370px;
    background: rgba(var(--green-rgb), .12);
}

/* The negative margin lets the model stand on the bottom edge of the card
   without any part of the artwork being clipped */
.lhero__img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 560px;
    margin-bottom: calc(var(--sp-5) * -1);
    object-fit: contain;
    object-position: bottom center;
}

/* Glass cards sit on the green circle, on the right of the model */
.lhero .floatcard {
    left: auto;
    right: -10px;
    z-index: 2;
    animation: floaty 4.5s ease-in-out infinite;
}

.lhero .floatcard--1 {
    top: 14%;
}

.lhero .floatcard--2 {
    top: 40%;
    animation-delay: .6s;
}

.lhero .floatcard--3 {
    top: 66%;
    animation-delay: 1.2s;
}

@keyframes floaty {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

/* --- 20.3 Loan benefits + statistics --- */
.lbenefits {
    padding-block: 0 var(--section-y);
    background: var(--white);
}

.lbenefits__box {
    padding: var(--sp-5);
    background-color: var(--dark);
    background-image: linear-gradient(100deg, rgba(var(--green-rgb), 0) 35%, rgba(var(--green-rgb), .38) 100%);
    border-radius: 32px;
    box-shadow: var(--sh-sm);
}

.lbenefits__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--sp-5);
}

.lbenefits__title {
    margin-bottom: var(--head-mb);
    color: var(--white);
    font-size: clamp(21px, 2.4vw, 28px);
}

.lbenefits__list {
    display: grid;
    gap: 10px;
}

.lbenefits__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, .82);
    font-size: 13.5px;
    line-height: 1.6;
}

.lbenefits__list i {
    margin-top: 4px;
    color: var(--green);
    font-size: 12.5px;
}

/* Loan amount card */
.amountcard {
    padding: var(--card-pad);
    background: var(--white);
    border-radius: var(--r-card);
    box-shadow: var(--sh-sm);
    text-align: center;
}

.amountcard__label {
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 1.2px;
    line-height: 1.5;
    text-transform: uppercase;
}

.amountcard__value {
    margin: 4px 0 var(--sp-3);
    color: var(--dark);
    font-size: clamp(27px, 3.2vw, 36px);
    font-weight: 700;
    line-height: 1.2;
}

.amountcard__scale {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.5;
}

/* Statistics row inside the dark card */
.lbenefits__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
    margin-top: var(--sp-5);
    padding-top: var(--sp-4);
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.lbenefits__stats .stat+.stat {
    border-left: 0;
}

/* --- 20.4 Page responsive --- */
@media (max-width: 1240px) {
    .lhero__img {
        height: 500px;
    }

    .lhero__blob {
        width: 260px;
        height: 260px;
    }

    .lhero__blob--soft {
        width: 320px;
        height: 320px;
    }
}

@media (max-width: 1024px) {

    /* Hero becomes vertical, image below the content */
    .lhero__box,
    .lbenefits__row {
        grid-template-columns: 1fr;
        gap: var(--sp-4);
    }

    .lform {
        max-width: none;
    }

    .lhero__visual {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .lhero__img {
        height: 430px;
        margin-bottom: 0;
        order: -1;
    }

    /* Cards flow under the image on touch layouts */
    .lhero .floatcard {
        position: static;
        right: auto;
        width: min(320px, 100%);
        animation: none;
    }

    /* Decoration stays behind the model, clear of the stacked cards */
    .lhero__blob {
        top: 14%;
        right: 16%;
        bottom: auto;
        width: 210px;
        height: 210px;
    }

    .lhero__blob--soft {
        top: 5%;
        right: 34%;
        width: 250px;
        height: 250px;
    }

    .lbenefits__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--sp-3);
    }
}

@media (max-width: 768px) {

    .lhero__box,
    .lbenefits__box {
        padding: var(--sp-3);
    }

    .lbenefits__box {
        border-radius: 28px;
    }

    .lhero__img {
        height: 360px;
    }

    .lhero__blob {
        width: 170px;
        height: 170px;
    }

    .lhero__blob--soft {
        width: 200px;
        height: 200px;
    }

    .lbenefits__stats {
        margin-top: var(--sp-4);
        padding-top: var(--sp-3);
    }
}

@media (max-width: 480px) {
    .lhero__points {
        gap: 6px 10px;
        font-size: 12.5px;
    }

    .lhero__points li {
        gap: 10px;
    }

    .chips {
        gap: 6px;
    }

    .chip {
        padding: 6px 10px;
        font-size: 11.5px;
    }

    .lhero__img {
        height: 300px;
    }

    .lform {
        padding: var(--sp-2);
    }

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

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

/* --- 20.5 Personal loan hero (scoped to #apply) --- */
section.lhero#apply {
    padding-block: var(--sp-4) var(--section-y);
    background: var(--white);
}

section.lhero#apply .lhero__box {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--sp-4);
    padding: var(--sp-5);
    background-color: var(--white);
    background-image: radial-gradient(120% 130% at 6% 0%, rgba(var(--green-rgb), .14) 0%, rgba(var(--green-rgb), 0) 55%),
        linear-gradient(180deg, rgba(var(--green-rgb), .07) 0%, rgba(var(--green-rgb), .02) 100%);
    border: 1px solid var(--border);
    border-radius: 32px;
    box-shadow: var(--sh-xs);
}

section.lhero#apply .lhero__content {
    position: relative;
    z-index: 2;
}

section.lhero#apply .lhero__visual {
    position: relative;
    align-self: end;
}

section.lhero#apply .lhero__img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 560px;
    margin-bottom: calc(var(--sp-5) * -1);
    object-fit: contain;
    object-position: bottom center;
}

section.lhero#apply .lhero__blob {
    position: absolute;
    right: 8%;
    bottom: 6%;
    z-index: 0;
    width: 300px;
    height: 300px;
    background: var(--green);
    border-radius: 50%;
}

section.lhero#apply .lhero__blob--soft {
    right: 26%;
    bottom: 18%;
    width: 370px;
    height: 370px;
    background: rgba(var(--green-rgb), .12);
}

section.lhero#apply .lform {
    max-width: 420px;
    margin-top: var(--sp-3);
    padding: var(--card-pad);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--sh-sm);
    text-align: center;
}

section.lhero#apply .lform__row {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 12px;
    text-align: left;
}

section.lhero#apply .floatcard {
    left: auto;
    right: -10px;
    z-index: 2;
}

section.lhero#apply .floatcard--1 {
    top: 14%;
}

section.lhero#apply .floatcard--2 {
    top: 40%;
}

section.lhero#apply .floatcard--3 {
    top: 66%;
}

@media (max-width: 1024px) {
    section.lhero#apply .lhero__box {
        grid-template-columns: 1fr;
        gap: var(--sp-4);
    }

    section.lhero#apply .lhero__visual {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    section.lhero#apply .lhero__img {
        height: 430px;
        margin-bottom: 0;
        order: -1;
    }

    section.lhero#apply .floatcard {
        position: static;
        right: auto;
        width: min(320px, 100%);
    }

    section.lhero#apply .lform {
        max-width: none;
    }
}

@media (max-width: 768px) {
    section.lhero#apply .lhero__box {
        padding: var(--sp-3);
    }

    section.lhero#apply .lhero__img {
        height: 360px;
    }
}


/* ==========================================================================
   21. CONTACT US PAGE (contact-us.html)
   Page specific blocks only — header, footer, buttons, field labels and
   the shared form tokens are reused from the sections above.
   ========================================================================== */

.contact {
    padding-block: 80px;
    background: var(--bg);
}

.contact__head {
    max-width: 640px;
    margin: 0 auto var(--sp-5);
    text-align: center;
}

.contact__title {
    margin-bottom: 18px;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 700;
}

.contact__text {
    color: var(--muted);
    font-size: 14.5px;
}

.contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    align-items: start;
    gap: var(--sp-4);
}

/* --- 21.1 Contact form card --- */
.cform {
    padding: var(--sp-4);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--sh-sm);
}

.cform__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: var(--sp-3);
}

.cform__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    background: var(--tint-2);
    border-radius: 14px;
    color: var(--green);
    font-size: 17px;
}

.cform__title {
    margin-bottom: 4px;
    font-size: 20px;
}

.cform__sub {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.cform__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.cfield {
    margin-bottom: 20px;
}

.cfield__wrap {
    position: relative;
}

.cfield__icon {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 1;
    color: var(--green);
    font-size: 14px;
    pointer-events: none;
    transform: translateY(-50%);
}

.cfield__wrap--area .cfield__icon {
    top: 18px;
    transform: none;
}

.cfield__input {
    width: 100%;
    min-height: 56px;
    padding: 0 16px 0 44px;
    font-family: var(--font);
    font-size: 13.5px;
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-btn);
    box-shadow: inset 0 1px 2px rgba(var(--dark-rgb), .03);
    transition: border-color var(--t), box-shadow var(--t);
}

.cfield__input::placeholder {
    color: var(--muted);
}

.cfield__input:focus {
    outline: 0;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(var(--green-rgb), .12);
}

.cfield__input--area {
    min-height: 180px;
    padding-top: 14px;
    padding-bottom: 14px;
    resize: vertical;
}

.btn--contact {
    min-height: 56px;
    padding-inline: 24px;
    font-size: 15px;
}

/* --- 21.2 Contact information card --- */
.cinfo {
    padding: var(--sp-4);
    background-color: var(--dark);
    background-image: linear-gradient(160deg, rgba(var(--green-rgb), 0) 20%, rgba(var(--green-rgb), .28) 100%);
    border-radius: 24px;
    box-shadow: var(--sh-sm);
    color: rgba(255, 255, 255, .78);
}

.cinfo__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: var(--sp-3);
}

.cinfo__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    background: rgba(var(--green-rgb), .18);
    border-radius: 14px;
    color: var(--green);
    font-size: 18px;
}

.cinfo__title {
    margin-bottom: 4px;
    color: var(--white);
    font-size: 20px;
}

.cinfo__sub {
    color: rgba(255, 255, 255, .68);
    font-size: 13px;
    line-height: 1.6;
}

.cinfo__list {
    display: grid;
    gap: 18px;
    margin-bottom: var(--sp-3);
}

.cinfo__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.cinfo__badge {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: var(--green);
    border-radius: 50%;
    color: var(--white);
    font-size: 15px;
    box-shadow: var(--sh-green);
}

.cinfo__item strong {
    display: block;
    margin-bottom: 2px;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.cinfo__item a,
.cinfo__item span {
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    line-height: 1.65;
    transition: color var(--t);
}

.cinfo__item a:hover {
    color: var(--white);
}

.cinfo__img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center 28%;
    border-radius: 18px;
}

/* --- 21.3 Page responsive --- */
@media (max-width: 1024px) {
    .contact__grid {
        grid-template-columns: 1fr;
        gap: var(--sp-3);
    }

    .cinfo {
        order: 2;
    }
}

@media (max-width: 768px) {
    .contact {
        padding-block: var(--section-y);
    }

    .cform,
    .cinfo {
        padding: var(--sp-3);
    }

    .cform__row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .cinfo__img {
        height: 260px;
    }
}

@media (max-width: 480px) {
    .contact__head {
        margin-bottom: var(--sp-4);
    }

    .cfield__input {
        min-height: 52px;
    }

    .btn--contact {
        min-height: 52px;
    }

    .cinfo__img {
        height: 220px;
    }
}


/* ==========================================================================
   22. OTP VERIFICATION PAGE (otp.html)
   Minimal header, single OTP card, trust bar — no site navbar/footer.
   ========================================================================== */

.otp-page {
    background: #F8FCF9;
}

/* --- 22.1 Minimal header --- */
.otp-header {
    height: 90px;
    background: var(--white);
    border-bottom: 1px solid #E8EFEA;
}

.otp-header__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    max-width: calc(var(--container) + (var(--gutter) * 2));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.otp-header__logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* --- 22.2 Page shell & decorative background --- */
.otp-wrap {
    position: relative;
    padding-block: 80px;
    overflow: hidden;
}

.otp-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.otp-bg__circle {
    position: absolute;
    border-radius: 50%;
}

.otp-bg__circle--1 {
    top: -120px;
    right: -80px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(var(--green-rgb), .14) 0%, rgba(var(--green-rgb), 0) 70%);
}

.otp-bg__circle--2 {
    bottom: 40px;
    left: -140px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(var(--green-rgb), .10) 0%, rgba(var(--green-rgb), 0) 72%);
}

.otp-bg__circle--3 {
    top: 28%;
    left: 8%;
    width: 180px;
    height: 180px;
    background: rgba(var(--green-rgb), .06);
}

.otp-bg__dots {
    position: absolute;
    top: 18%;
    left: 4%;
    width: 110px;
    height: 110px;
    background-image: radial-gradient(rgba(var(--green-rgb), .22) 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    opacity: .55;
}

.otp-wrap>.container {
    position: relative;
    z-index: 1;
}

/* --- 22.3 Main OTP card --- */
.otp-card {
    max-width: var(--container);
    margin-inline: auto;
    /* padding: 50px; */
    background: var(--white);
    border: 1px solid #E8EFEA;
    border-radius: 32px;
    box-shadow: var(--sh-sm);
}

.otp-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 40px;
}

/* --- 22.4 Left column : form --- */
.otp-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
    padding: 48px 40px;
    text-align: center;
}

.otp-shield {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-inline: auto;
    margin-bottom: 20px;
    background: var(--tint-2);
    border-radius: 50%;
    color: var(--green);
    font-size: 22px;
}

.otp-title {
    margin-bottom: 12px;
    color: #0C2344;
    font-size: clamp(26px, 2.8vw, 34px);
    font-weight: 700;
    line-height: 1.25;
}

.otp-desc {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 14.5px;
}

.otp-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

.otp-phone__num {
    color: #0C2344;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .3px;
}

.otp-phone__edit {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: var(--green);
    background: var(--tint-2);
    border-radius: 8px;
    font-size: 11px;
    transition: background var(--t), color var(--t);
}

.otp-phone__edit:hover {
    background: var(--green);
    color: var(--white);
}

.otp-form {
    width: 100%;
    max-width: 380px;
    margin-bottom: 16px;
}

.otp-field {
    width: 100%;
    margin-bottom: 22px;
}

.otp-field__label {
    display: block;
    margin-bottom: 12px;
    color: #0C2344;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.otp-input-wrap {
    width: 100%;
}

.otp-input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 72px;
    padding: 0 28px;
    font-family: var(--font);
    font-size: 32px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 18px;
    text-align: center;
    text-indent: 9px;
    color: #0C2344;
    background: #F4FAF6;
    border: 2px solid #D8E8DE;
    border-radius: 16px;
    box-shadow: inset 0 2px 4px rgba(var(--dark-rgb), .04);
    transition: border-color var(--t), box-shadow var(--t), background var(--t);
    -moz-appearance: textfield;
}

.otp-input::-webkit-outer-spin-button,
.otp-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.otp-input::placeholder {
    color: #B8C9BE;
    letter-spacing: 10px;
    font-weight: 600;
    text-indent: 5px;
}

.otp-input:focus {
    outline: 0;
    background: var(--white);
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(var(--green-rgb), .16);
}

.otp-digits {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.otp-digit {
    width: 64px;
    height: 64px;
    padding: 0;
    font-family: var(--font);
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    color: #0C2344;
    background: var(--white);
    border: 1.5px solid #E8EFEA;
    border-radius: 14px;
    box-shadow: inset 0 1px 3px rgba(var(--dark-rgb), .04);
    transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}

.otp-digit:focus {
    outline: 0;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(var(--green-rgb), .14);
    transform: translateY(-1px);
}

.btn--otp {
    width: 100%;
    min-height: 58px;
    border-radius: 14px;
    font-size: 15.5px;
    font-weight: 600;
}

.otp-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 380px;
}

.otp-resend {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.6;
}

.otp-resend strong,
.otp-resend__timer strong {
    color: var(--green);
    font-weight: 600;
}

.otp-resend__link {
    padding: 0;
    color: var(--green);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--t);
}

.otp-resend__link:hover {
    color: var(--dark);
}

.otp-divider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.otp-divider::before {
    content: '';
    position: absolute;
    inset-inline: 0;
    top: 50%;
    height: 1px;
    background: #E8EFEA;
    transform: translateY(-50%);
}

.otp-divider span {
    position: relative;
    z-index: 1;
    padding-inline: 16px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: var(--white);
}

.otp-change {
    display: inline-block;
    color: var(--green);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--t);
}

.otp-change:hover {
    color: var(--dark);
}

/* --- 22.5 Right column : visual --- */
.otp-visual {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 580px;
    padding: 24px 16px 0;
    overflow: visible;
}

.otp-visual__circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.otp-visual__circle--lg {
    width: min(420px, 92%);
    height: min(420px, 92%);
    background: radial-gradient(circle, rgba(var(--green-rgb), .22) 0%, rgba(var(--green-rgb), .08) 55%, rgba(var(--green-rgb), 0) 72%);
}

.otp-visual__circle--sm {
    top: 12%;
    right: 6%;
    width: 120px;
    height: 120px;
    background: rgba(var(--green-rgb), .10);
}

.otp-visual__img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    height: auto;
    min-height: 520px;
    max-height: min(680px, 78vh);
    object-fit: contain;
    object-position: center bottom;
    margin-top: 0;
}

/* Floating glass cards */
.otp-float {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 188px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .92);
    border-radius: 18px;
    box-shadow: var(--sh-sm);
    transition: transform var(--t), box-shadow var(--t);
}

.otp-float:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
}

.otp-float--1 {
    top: 14%;
    left: 0;
}

.otp-float--2 {
    right: 0;
    bottom: 16%;
}

.otp-float__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    background: var(--tint-2);
    border-radius: 12px;
    color: var(--green);
    font-size: 15px;
}

.otp-float strong {
    display: block;
    color: #0C2344;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
}

.otp-float small {
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.5;
}

/* --- 22.6 Trust bar --- */
.otp-trust {
    background: var(--white);
    border-top: 1px solid #E8EFEA;
}

.otp-trust__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    padding-block: 36px;
}

.otp-trust__item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.otp-trust__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: var(--tint-2);
    border-radius: 50%;
    color: var(--green);
    font-size: 17px;
}

.otp-trust__item strong {
    display: block;
    margin-bottom: 2px;
    color: #0C2344;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.otp-trust__item span {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.5;
}

/* --- 22.7 Responsive --- */
@media (max-width: 1024px) {
    .otp-card {
        /* padding: 40px; */
    }

    .otp-grid {
        gap: 40px;
    }

    .otp-visual {
        min-height: 500px;
    }

    .otp-visual__img {
        min-height: 460px;
        max-height: min(620px, 72vh);
    }
}

@media (max-width: 900px) {
    .otp-grid {
        grid-template-columns: 1fr;
    }

    .otp-content {
        max-width: none;
        padding: 40px 24px 32px;
    }

    .otp-visual {
        order: 2;
        min-height: 420px;
        padding-bottom: 16px;
    }

    .otp-visual__img {
        min-height: 380px;
        max-height: 420px;
        height: auto;
    }

    .otp-visual__circle,
    .otp-float {
        display: none;
    }
}

@media (max-width: 768px) {
    .otp-wrap {
        padding-block: 48px;
    }

    .otp-card {
        border-radius: 24px;
    }

    .otp-visual {
        min-height: 340px;
    }

    .otp-visual__img {
        min-height: 300px;
        max-height: 340px;
    }
}

@media (max-width: 480px) {
    .otp-header {
        height: 76px;
    }

    .otp-header__logo {
        height: 48px;
    }

    .otp-wrap {
        padding-block: 32px;
    }

    .otp-content {
        padding: 24px 16px 28px;
    }

    .otp-digits {
        justify-content: center;
        gap: 8px;
    }

    .otp-input {
        min-height: 68px;
        font-size: 28px;
        letter-spacing: 16px;
        text-indent: 8px;
    }

    .otp-digit {
        width: 44px;
        height: 44px;
        font-size: 18px;
        border-radius: 12px;
    }

    .otp-visual {
        min-height: 320px;
    }

    .otp-visual__img {
        min-height: 280px;
        max-height: 320px;
        height: auto;
    }
}


/* ==========================================================================
   23. CUSTOMER DETAILS PAGE (details.html)
   Same minimal header shell as OTP — form card + model visual.
   ========================================================================== */

/* --- Desktop Single Screen Layout for OTP & Details Pages --- */
@media (min-width: 1025px) {
    html:has(.otp-page),
    body.otp-page {
        height: 100vh !important;
        max-height: 100vh !important;
        overflow: hidden !important;
    }

    body.otp-page {
        display: flex;
        flex-direction: column;
    }

    .otp-header {
        height: 72px;
        flex-shrink: 0;
    }

    .otp-header__logo {
        height: 52px;
        width: auto;
    }

    .otp-wrap {
        flex: 1;
        display: flex;
        align-items: center;
        padding-block: 0;
        overflow: hidden;
    }

    /* Details page desktop fit */
    .details-card {
        padding: 16px 32px;
        border-radius: 20px;
    }

    .details-grid {
        gap: 28px;
        align-items: center;
    }

    .details-icon {
        display: none;
    }

    .details-title {
        margin-bottom: 2px;
        font-size: clamp(20px, 2vw, 24px);
    }

    .details-desc {
        margin-bottom: 10px;
        font-size: 12px;
        line-height: 1.35;
    }

    .drow {
        gap: 14px;
        margin-bottom: 8px;
    }

    .dfield__label {
        margin-bottom: 2px;
        font-size: 11.5px;
    }

    .dfield__wrap {
        position: relative;
    }

    .dfield__icon {
        left: 12px;
        font-size: 12px;
    }

    .dfield__input {
        min-height: 38px;
        height: 38px;
        padding-left: 36px;
        font-size: 12.5px;
        border-radius: 8px;
    }

    .details-emp {
        margin-bottom: 10px;
    }

    .details-emp__label {
        margin-bottom: 4px;
        font-size: 11.5px;
    }

    .details-emp__grid {
        gap: 12px;
    }

    .emp-card {
        min-height: 46px;
        padding: 6px 10px;
        border-radius: 10px;
        gap: 8px;
    }

    .emp-card__icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
        border-radius: 6px;
    }

    .emp-card__text strong {
        font-size: 12px;
        line-height: 1.2;
    }

    .emp-card__text small {
        font-size: 10px;
        line-height: 1.2;
    }

    .btn--details {
        min-height: 40px;
        font-size: 13.5px;
        border-radius: 8px;
    }

    .details-secure {
        margin-top: 6px;
        font-size: 11px;
    }

    .details-visual {
        min-height: 360px;
        padding-bottom: 20px;
    }

    .details-visual__img {
        max-height: 340px;
        width: auto;
        object-fit: contain;
    }

    .details-benefits {
        gap: 10px;
        padding: 8px 12px;
        bottom: 0;
    }

    .details-benefits__item {
        gap: 8px;
        font-size: 11px;
    }

    .details-benefits__icon {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }

    /* OTP page desktop fit */
    .otp-card {
        padding: 24px 36px;
        border-radius: 24px;
    }

    .otp-grid {
        gap: 36px;
        align-items: center;
    }

    .otp-shield {
        width: 44px;
        height: 44px;
        margin-bottom: 12px;
        font-size: 18px;
    }

    .otp-title {
        margin-bottom: 4px;
        font-size: clamp(22px, 2.2vw, 28px);
    }

    .otp-desc {
        margin-bottom: 12px;
        font-size: 13px;
    }

    .otp-phone {
        margin-bottom: 16px;
    }

    .otp-digits {
        margin-bottom: 16px;
        gap: 10px;
    }

    .otp-input {
        min-height: 72px;
        font-size: 32px;
        letter-spacing: 18px;
        text-indent: 9px;
    }

    .otp-digit {
        width: 52px;
        height: 52px;
        font-size: 20px;
        border-radius: 12px;
    }

    .btn--otp {
        min-height: 44px;
        font-size: 14.5px;
        border-radius: 10px;
    }

    .otp-resend {
        margin-top: 0;
        font-size: 12.5px;
    }

    .otp-change {
        font-size: 13.3px;
    }

    .otp-visual {
        min-height: 480px;
        padding-top: 12px;
    }

    .otp-visual__img {
        max-width: 460px;
        min-height: 440px;
        max-height: min(600px, 70vh);
        height: auto;
        object-fit: contain;
    }
}

.details-card {
    max-width: var(--container);
    margin-inline: auto;
    padding: 40px;
    background: var(--white);
    border: 1px solid #E8EFEA;
    border-radius: 32px;
    box-shadow: var(--sh-sm);
}

.details-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: start;
    gap: 50px;
}

.details-grid--full {
    grid-template-columns: 1fr;
    gap: 0;
}

.details-form-wrap {
    width: 100%;
    max-width: 100%;
}

/* --- 23.1 Form column --- */
.details-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    background: var(--tint-2);
    border-radius: 50%;
    color: var(--green);
    font-size: 20px;
}

.details-title {
    margin-bottom: 10px;
    color: #0C2344;
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 700;
    line-height: 1.25;
}

.details-title span {
    color: var(--green);
}

.details-desc {
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.drow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.dfield__label {
    display: block;
    margin-bottom: 8px;
    color: #0C2344;
    font-size: 13px;
    font-weight: 600;
}

.dfield__wrap {
    position: relative;
}

.dfield__icon {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 1;
    color: var(--green);
    font-size: 14px;
    pointer-events: none;
    transform: translateY(-50%);
}

.dfield__input {
    width: 100%;
    min-height: 56px;
    padding: 0 16px 0 44px;
    font-family: var(--font);
    font-size: 13.5px;
    color: var(--text);
    background: var(--white);
    border: 1px solid #E8EFEA;
    border-radius: 14px;
    box-shadow: inset 0 1px 2px rgba(var(--dark-rgb), .03);
    transition: border-color var(--t), box-shadow var(--t);
}

.dfield__input::placeholder {
    color: var(--muted);
}

.dfield__input:focus {
    outline: 0;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(var(--green-rgb), .12);
}

.dfield__select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2325A14D'%3E%3Cpath d='M8 11.4 2.6 6l1.1-1.1L8 9.2l4.3-4.3L13.4 6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 13px;
    cursor: pointer;
}

.dfield__select:invalid {
    color: var(--muted);
}

/* --- 23.2 Employment type cards --- */
.details-emp {
    margin-bottom: 30px;
}

.details-emp__label {
    margin-bottom: 12px;
    color: #0C2344;
    font-size: 13px;
    font-weight: 600;
}

.details-emp__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.emp-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 84px;
    padding: 14px 16px;
    background: var(--white);
    border: 1.5px solid #E8EFEA;
    border-radius: 16px;
    cursor: pointer;
    transition: border-color var(--t), background var(--t), box-shadow var(--t);
}

.emp-card:hover {
    border-color: var(--green);
}

.emp-card.is-selected {
    background: var(--tint-1);
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(var(--green-rgb), .08);
}

.emp-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.emp-card__radio {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border: 2px solid #E8EFEA;
    border-radius: 50%;
    transition: border-color var(--t), box-shadow var(--t);
}

.emp-card.is-selected .emp-card__radio {
    border-color: var(--green);
    box-shadow: inset 0 0 0 4px var(--white), inset 0 0 0 10px var(--green);
}

.emp-card__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: var(--tint-2);
    border-radius: 12px;
    color: var(--green);
    font-size: 16px;
}

.emp-card__text strong {
    display: block;
    color: #0C2344;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.emp-card__text small {
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.5;
}

.btn--details {
    min-height: 60px;
    border-radius: 14px;
    font-size: 15.5px;
    font-weight: 600;
}

.details-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.details-secure i {
    color: var(--green);
    font-size: 11px;
}

/* --- 23.3 Visual column --- */
.details-visual {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 640px;
    padding-bottom: 88px;
}

.details-visual__circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.details-visual__circle--lg {
    top: 8%;
    left: 50%;
    width: min(400px, 90%);
    height: min(400px, 90%);
    background: radial-gradient(circle, rgba(var(--green-rgb), .24) 0%, rgba(var(--green-rgb), .08) 55%, rgba(var(--green-rgb), 0) 72%);
    transform: translateX(-50%);
}

.details-visual__circle--sm {
    top: 6%;
    right: 8%;
    width: 110px;
    height: 110px;
    background: rgba(var(--green-rgb), .10);
}

.details-visual__blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.details-visual__blob--1 {
    right: 4%;
    bottom: 18%;
    width: 220px;
    height: 220px;
    background: rgba(var(--green-rgb), .14);
    filter: blur(2px);
}

.details-visual__blob--2 {
    left: 0;
    bottom: 10%;
    width: 180px;
    height: 180px;
    background: rgba(var(--green-rgb), .08);
}

.details-visual__dots {
    position: absolute;
    top: 4%;
    right: 2%;
    width: 90px;
    height: 90px;
    background-image: radial-gradient(rgba(var(--green-rgb), .22) 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    opacity: .5;
    pointer-events: none;
}

.details-visual__img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    height: 640px;
    object-fit: contain;
    object-position: center bottom;
}

.details-visual__placeholder {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 400px;
    height: 640px;
    padding: 24px;
    text-align: center;
    background: linear-gradient(145deg, #f8fcf9 0%, #eef6f1 100%);
    border: 2px dashed rgba(var(--green-rgb), .45);
    border-radius: 24px;
    color: var(--muted);
}

.details-visual__placeholder-icon {
    font-size: 42px;
    color: rgba(var(--green-rgb), .55);
    margin-bottom: 4px;
}

.details-visual__placeholder-title {
    margin: 0;
    color: #0C2344;
    font-size: 16px;
    font-weight: 600;
}

.details-visual__placeholder-size {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.details-visual__placeholder-size strong {
    display: block;
    margin-top: 4px;
    color: var(--green);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .02em;
}

.details-visual__placeholder-note {
    margin: 0;
    font-size: 12px;
    opacity: .85;
}

/* Bottom benefit bar */
.details-benefits {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 16px 18px;
    background: var(--white);
    border: 1px solid #E8EFEA;
    border-radius: 22px;
    box-shadow: var(--sh-sm);
}

.details-benefits__item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.details-benefits__icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: var(--tint-2);
    border-radius: 10px;
    color: var(--green);
    font-size: 14px;
}

.details-benefits__item strong {
    display: block;
    color: #0C2344;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.details-benefits__item span {
    color: var(--muted);
    font-size: 10.5px;
    line-height: 1.45;
}

/* --- 23.4 Responsive --- */
@media (max-width: 1100px) {
    .details-benefits__item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

@media (max-width: 1024px) {
    .details-card {
        padding: 32px;
    }

    .details-grid {
        gap: 40px;
    }

    .details-visual {
        min-height: 560px;
        padding-bottom: 96px;
    }

    .details-visual__img,
    .details-visual__placeholder {
        height: 560px;
    }
}

@media (max-width: 900px) {
    .details-grid {
        grid-template-columns: 1fr;
    }

    .details-visual {
        order: 2;
        min-height: 480px;
        padding-bottom: 0;
    }

    .details-visual__img,
    .details-visual__placeholder {
        height: 420px;
    }

    .details-visual__circle,
    .details-visual__blob,
    .details-visual__dots {
        display: none;
    }

    .details-benefits {
        position: static;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .otp-wrap {
        padding-block: 48px;
    }

    .details-card {
        padding: 28px 24px;
        border-radius: 24px;
    }

    .drow {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }

    .dfield {
        margin-bottom: 20px;
    }

    .details-emp__grid {
        grid-template-columns: 1fr;
    }

    .details-visual {
        min-height: 380px;
    }

    .details-visual__img,
    .details-visual__placeholder {
        height: 360px;
    }

    .details-benefits {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .details-benefits__item {
        flex-direction: row;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .details-visual__img,
    .details-visual__placeholder {
        height: 300px;
    }

    .btn--details {
        min-height: 56px;
    }
}

/* Section 24 (card.html) — see assets/css/card-page.css */


/* ==========================================================================
   25. THANK YOU PAGE (thankyou.html)
   Centered confirmation card with bilingual message and office hours.
   ========================================================================== */

.thank-page .otp-header {
    box-shadow: 0 2px 12px rgba(var(--dark-rgb), .04);
}

.ty-wrap {
    position: relative;
    padding-block: 72px 96px;
    overflow: hidden;
}

.ty-wrap__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: calc(640px + (var(--gutter) * 2));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.ty-card {
    padding: 44px 40px 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--sh-md);
    text-align: center;
    overflow: hidden;
}

.ty-card__icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    border: 3px solid var(--green);
    border-radius: 50%;
    color: var(--green);
    font-size: 30px;
}

.ty-card__title {
    margin-bottom: 24px;
    color: var(--dark);
    font-size: clamp(22px, 3.2vw, 28px);
    font-weight: 700;
    letter-spacing: -.3px;
    line-height: 1.35;
}

.ty-card__rule {
    margin: 0;
    border: 0;
    border-top: 1px solid var(--border);
}

.ty-card__msg {
    padding: 22px 8px;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.7;
}

.ty-card__msg--hi {
    padding-top: 0;
    font-size: 14.5px;
}

.ty-hours {
    padding: 22px 12px 30px;
}

.ty-hours__label {
    margin-bottom: 18px;
    color: var(--dark);
    font-size: 14px;
    font-weight: 600;
}

.ty-hours__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 28px;
}

.ty-hours__list li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-soft);
    font-size: 13.5px;
    font-weight: 500;
}

.ty-hours__list li:last-child span {
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.ty-hours__list i {
    color: var(--green);
    font-size: 15px;
}

/* Green accent bar at card bottom */
.ty-card::after {
    content: '';
    display: block;
    height: 6px;
    margin-top: 8px;
    background: var(--green);
}

@media (max-width: 768px) {
    .ty-wrap {
        padding-block: 48px 72px;
    }

    .ty-card {
        padding: 32px 22px 0;
        border-radius: 18px;
    }

    .ty-card__icon {
        width: 64px;
        height: 64px;
        font-size: 26px;
    }

    .ty-card__msg {
        padding-inline: 0;
        font-size: 14px;
    }

    .ty-hours__list {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .ty-card {
        padding-inline: 18px;
    }
}


/* ==========================================================================
   26. PAYMENT FAILED PAGE (failed.html)
   Reuses thank-you layout with error styling and retry action.
   ========================================================================== */

.failed-page {
    --fail: #D92D20;
    --fail-rgb: 217, 45, 32;
}

.failed-page .ty-card__icon--failed {
    border-color: var(--fail);
    color: var(--fail);
}

.failed-page .ty-card::after {
    background: var(--fail);
}

.failed-page .ty-hours__list i {
    color: var(--fail);
}

.ty-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    margin: 8px 0 22px;
    padding: 0 28px;
    background: linear-gradient(135deg, #E53935, #B71C1C);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(var(--fail-rgb), .28);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    transition: transform var(--t), box-shadow var(--t);
}

.ty-card__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(var(--fail-rgb), .34);
}

.ty-card__btn:focus-visible {
    outline: 2px solid var(--dark);
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .ty-card__btn {
        width: 100%;
        max-width: 280px;
    }
}