/* ==========================================================================
   RUPEE FUNDING — "Unlocking Opportunities."
   Brand design system: red-on-white with dark charcoal accents
   Fonts: Barlow (body/UI), Raleway (secondary), Barlow Semi Condensed (accents)
   ========================================================================== */

:root {
    /* ---- Brand palette (per spec) ---- */
    --brand-red: #B73235;          /* rgb(183, 50, 53) — primary brand red */
    --brand-red-dark: #96262A;     /* hover / pressed */
    --brand-red-soft: #FBEDED;     /* tint wash */
    --ink: #181818;                /* rgb(24,24,24) body text near-black */
    --ink-gray: #444444;           /* rgb(68,68,68) secondary heading gray */
    --dark-bg: #23282D;            /* rgb(35,40,45) dark section background */
    --white: #FFFFFF;
    --neutral-bg: #FAF9F5;         /* rgb(250,249,245) light neutral */
    --neutral-alt: #F9F9F9;        /* rgb(249,249,249) */
    --lavender-panel: #F0EFF4;     /* rgb(240,239,244) soft lavender-gray */

    --muted-text: #6E6E6E;
    --border: #E4E2DC;
    --success: #2E7D32;

    --shadow-sm: 0 1px 3px rgba(24, 24, 24, 0.07);
    --shadow-md: 0 6px 20px rgba(24, 24, 24, 0.09);
    --shadow-lg: 0 18px 45px rgba(24, 24, 24, 0.13);

    --radius: 4px;
    --radius-pill: 50px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* legacy aliases so inline styles from the source doc stay on-brand */
    --primary: var(--brand-red);
    --primary-hover: var(--brand-red-dark);
    --secondary-dark: var(--dark-bg);
    --background: var(--neutral-bg);
    --surface: var(--white);
    --accent-soft: var(--brand-red-soft);
    --radius-sm: 4px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Barlow', Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.75;
    font-size: 16px;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5 {
    font-family: 'Barlow', Arial, sans-serif;
    color: var(--ink-gray);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); }      /* ~52-56px */
h2 { font-size: clamp(1.6rem, 3.1vw, 2.375rem); }  /* ~38px */
h3 { font-size: clamp(1.25rem, 2.1vw, 1.5625rem); }/* ~25px */
h4 { font-size: 1.125rem; }

p { font-size: 1rem; }

a { color: var(--brand-red); }

/* Thin display line + bold line pairing, e.g. "From the / CEO'S desk" */
.display-heading {
    font-family: 'Barlow', Arial, sans-serif;
    line-height: 1.05;
    color: var(--ink-gray);
    margin-bottom: 22px;
}
.display-heading .thin {
    display: block;
    font-weight: 200;
    font-size: clamp(1.9rem, 3.6vw, 3.25rem);
}
.display-heading .bold {
    display: block;
    font-weight: 800;
    font-size: clamp(2rem, 3.9vw, 3.5rem);
    text-transform: uppercase;
    color: var(--brand-red);
}

/* Eyebrow / small label */
.label,
.eyebrow {
    display: inline-block;
    font-family: 'Barlow Semi Condensed', 'Barlow', Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brand-red);
    margin-bottom: 12px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section { padding: 84px 0; }

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px;
}

.section-header h2 { margin-bottom: 14px; }

.section-header h2 strong { color: var(--brand-red); font-weight: 800; }

.section-header p {
    color: var(--muted-text);
    font-size: 1.0625rem;
}

.section-header::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    background: var(--brand-red);
    margin: 22px auto 0;
}

/* ==================== BUTTONS (pill) ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: 'Barlow', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 16px 26px;
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    line-height: 1;
}

.btn-primary { background: var(--brand-red); color: var(--white); }
.btn-primary:hover { background: var(--brand-red-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-dark { background: var(--dark-bg); color: var(--white); }
.btn-dark:hover { background: #14181c; transform: translateY(-2px); }

.btn-white { background: var(--white); color: var(--brand-red); }
.btn-white:hover { background: var(--neutral-bg); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline {
    background: transparent;
    color: var(--brand-red);
    box-shadow: inset 0 0 0 2px var(--brand-red);
}
.btn-outline:hover { background: var(--brand-red); color: var(--white); }

.btn-sm { padding: 12px 22px; font-size: 13px; }

/* ==================== TOP BAR ==================== */
.top-bar {
    background: var(--dark-bg);
    color: rgba(255, 255, 255, 0.85);
    padding: 9px 0;
    font-size: 0.8125rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar a { color: rgba(255, 255, 255, 0.9); text-decoration: none; transition: var(--transition); }
.top-bar a:hover { color: var(--white); }
.top-bar-left, .top-bar-right { display: flex; gap: 22px; align-items: center; }
.top-bar i { margin-right: 7px; color: var(--brand-red); }
.top-bar .tagline {
    font-family: 'Raleway', sans-serif;
    font-style: italic;
    letter-spacing: 0.04em;
}

/* ==================== HEADER ==================== */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled { box-shadow: var(--shadow-md); }

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 20px;
}

/* ==================== LOGO ====================
   Official "RUPEE FUNDING / Unlocking Opportunities." lockup.
   The supplied artwork has an opaque off-white (#F8F8F8) background, so on light
   surfaces it sits flush, and on dark surfaces it gets an explicit light plate
   rather than a stray pale rectangle. */
.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}

.logo-img {
    display: block;
    height: 46px;
    width: auto;
    max-width: 100%;
    /* Blend the off-white artwork background into a white header seamlessly */
    mix-blend-mode: multiply;
}

/* Dark surfaces (footer): give the logo a deliberate rounded light plate */
.logo--on-dark {
    background: #F8F8F8;
    border-radius: var(--radius);
    padding: 12px 16px;
    line-height: 0;
}
.logo--on-dark .logo-img { mix-blend-mode: normal; height: 42px; }

/* Screen-reader-only helper */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

.nav a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
    position: relative;
}

.nav a:not(.btn):hover { color: var(--brand-red); }

.nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-red);
    transition: var(--transition);
}
.nav a:not(.btn):hover::after,
.nav a.active-link:not(.btn)::after { width: 100%; }
.nav a.active-link:not(.btn) { color: var(--brand-red); }

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--ink);
    cursor: pointer;
}

/* ==================== PAGE ROUTING ==================== */
.page-section { display: none; }
.page-section.active { display: block; animation: pageFade 0.4s ease; }

@keyframes pageFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

/* ==================== HERO ==================== */
.hero {
    background: var(--dark-bg);
    color: var(--white);
    padding: 104px 0 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '₹';
    position: absolute;
    right: 4%;
    top: -40px;
    font-size: 26rem;
    font-weight: 800;
    color: rgba(183, 50, 53, 0.16);
    line-height: 1;
    pointer-events: none;
}

.hero-content { position: relative; max-width: 760px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--white);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.hero-badge i { color: var(--brand-red); }

.hero h1 {
    color: var(--white);
    font-weight: 200;
    margin-bottom: 20px;
}
.hero h1 strong { font-weight: 800; color: var(--white); }

.hero p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.0625rem;
    max-width: 640px;
    margin-bottom: 34px;
}

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

.hero-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 72px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    position: relative;
}

.hero-strip-item {
    flex: 1 1 auto;
    min-width: 170px;
    padding: 22px 18px;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}
.hero-strip-item:last-child { border-right: none; }
.hero-strip-item i { color: var(--brand-red); }
.hero-strip-item:hover { background: rgba(255, 255, 255, 0.05); }

/* ==================== TRUST / USP ==================== */
.trust-section { background: var(--neutral-bg); }

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    gap: 24px;
}

.trust-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    border-top: 3px solid transparent;
    transition: var(--transition);
}
.trust-card:hover { border-top-color: var(--brand-red); box-shadow: var(--shadow-md); transform: translateY(-4px); }

.trust-card .icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--brand-red-soft);
    color: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 18px;
}

.trust-card h4 { color: var(--ink); margin-bottom: 9px; font-weight: 800; }
.trust-card p { color: var(--muted-text); font-size: 0.9375rem; }

/* ==================== EXPERTISE ==================== */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 26px;
}

.expertise-card {
    background: var(--lavender-panel);
    padding: 38px 28px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}
.expertise-card:hover { background: var(--dark-bg); }
.expertise-card:hover h3, .expertise-card:hover p { color: var(--white); }

.expertise-card .icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--white);
    color: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: var(--shadow-sm);
}

.expertise-card h3 { margin-bottom: 10px; transition: var(--transition); }
.expertise-card p { color: var(--muted-text); font-size: 0.9375rem; transition: var(--transition); }

/* ==================== SERVICES ==================== */
.services-section { background: var(--neutral-alt); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 26px;
}

.service-category {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: var(--transition);
}
.service-category:hover { box-shadow: var(--shadow-md); }

.service-category h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink-gray);
    padding-bottom: 16px;
    margin-bottom: 8px;
    border-bottom: 2px solid var(--brand-red);
    font-size: 1.3rem;
}
.service-category h3 i { color: var(--brand-red); font-size: 1.1rem; }

.service-list { list-style: none; }
.service-list li { border-bottom: 1px solid var(--border); }
.service-list li:last-child { border-bottom: none; }

.service-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 2px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition);
}
.service-list a:hover { color: var(--brand-red); padding-left: 8px; }
.service-list a i { color: var(--brand-red); font-size: 0.75rem; opacity: 0.6; }

/* ==================== PROCESS ==================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 24px;
}

.process-step {
    text-align: center;
    padding: 28px 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    transition: var(--transition);
}
.process-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.process-step .number {
    width: 46px;
    height: 46px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--brand-red);
    color: var(--white);
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-step h4 { color: var(--ink); margin-bottom: 7px; }
.process-step p { color: var(--muted-text); font-size: 0.875rem; }

/* ==================== FOUNDER / CEO DESK ==================== */
.founder-section { background: var(--neutral-bg); }

.founder-content {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    align-items: center;
}

.founder-image { position: relative; isolation: isolate; }

.founder-image .img-placeholder {
    position: relative;
    z-index: 2;
    aspect-ratio: 4 / 5;
    background: var(--lavender-panel);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: var(--brand-red);
    opacity: 0.9;
    box-shadow: var(--shadow-md);
}
.founder-image::after {
    content: '';
    position: absolute;
    inset: 18px -18px -18px 18px;
    border: 3px solid var(--brand-red);
    border-radius: var(--radius);
    z-index: 1;
}

.founder-info h3 { font-size: 1.9rem; color: var(--ink); margin-bottom: 4px; }
.founder-info .title {
    color: var(--brand-red);
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.founder-info blockquote {
    font-family: 'Raleway', sans-serif;
    font-size: 1.0625rem;
    font-style: italic;
    line-height: 1.85;
    color: var(--ink);
    border-left: 4px solid var(--brand-red);
    padding: 4px 0 4px 22px;
    margin-bottom: 22px;
}

.partner-tags { display: flex; flex-wrap: wrap; gap: 10px; }

.partner-tag {
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--ink-gray);
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 600;
}

/* ==================== PROOF / METRICS ==================== */
.proof-section { background: var(--dark-bg); padding: 64px 0; }

.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    text-align: center;
}

.proof-item { border-right: 1px solid rgba(255, 255, 255, 0.12); padding: 0 12px; }
.proof-item:last-child { border-right: none; }

.proof-item .number {
    font-family: 'Barlow', sans-serif;
    font-size: clamp(2.1rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
}
.proof-item .label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials-section { background: var(--neutral-alt); }

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(295px, 1fr));
    gap: 26px;
}

.testimonial-card {
    background: var(--white);
    padding: 34px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    position: relative;
    transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.testimonial-card .stars { color: #E8A33D; margin-bottom: 14px; font-size: 0.875rem; }
.testimonial-card > p {
    font-family: 'Raleway', sans-serif;
    color: var(--ink);
    font-size: 0.9688rem;
    line-height: 1.85;
    margin-bottom: 22px;
}

.testimonial-author { display: flex; align-items: center; gap: 13px; }

.testimonial-author .avatar {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 50%;
    background: var(--brand-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.875rem;
}
.testimonial-author .name { font-weight: 700; color: var(--ink); line-height: 1.3; }
.testimonial-author .role { font-size: 0.8125rem; color: var(--muted-text); line-height: 1.3; }

/* ==================== FAQ ==================== */
.faq-list { max-width: 860px; margin: 0 auto; }

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}
.faq-item.active { border-color: var(--brand-red); box-shadow: var(--shadow-sm); }

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--ink-gray);
    cursor: pointer;
    transition: var(--transition);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: 'Barlow', Arial, sans-serif;
}
.faq-question:hover { color: var(--brand-red); }
.faq-question i { color: var(--brand-red); font-size: 0.8125rem; transition: var(--transition); flex: 0 0 auto; }
.faq-item.active .faq-question { color: var(--brand-red); }
.faq-item.active .faq-question i { transform: rotate(180deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer-inner {
    padding: 0 24px 22px;
    color: var(--muted-text);
    font-size: 0.9375rem;
    line-height: 1.85;
}

/* ==================== CTA + FORMS ==================== */
.cta-section { background: var(--neutral-bg); }

.cta-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px;
    box-shadow: var(--shadow-md);
}

.cta-info h2 { margin-bottom: 14px; }
.cta-info p { color: var(--muted-text); margin-bottom: 22px; }

.cta-features { list-style: none; }
.cta-features li {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 7px 0;
    color: var(--ink);
    font-size: 0.9375rem;
    font-weight: 500;
}
.cta-features i { color: var(--brand-red); }

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

.form-group { margin-bottom: 16px; }

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-gray);
    margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Barlow', Arial, sans-serif;
    font-size: 0.9375rem;
    color: var(--ink);
    background: var(--white);
    transition: var(--transition);
}

.form-group textarea { min-height: 104px; resize: vertical; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-red);
    box-shadow: 0 0 0 3px rgba(183, 50, 53, 0.12);
}

.form-submit { width: 100%; margin-top: 6px; }

.form-microcopy {
    font-size: 0.8125rem;
    color: var(--muted-text);
    text-align: center;
    margin-top: 12px;
}
.form-microcopy i { color: var(--brand-red); margin-right: 5px; }

/* ==================== INNER PAGE HEROES ==================== */
.about-hero,
.service-hero {
    background: var(--dark-bg);
    color: var(--white);
    padding: 84px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::after,
.service-hero::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: var(--brand-red);
}

.about-hero h1,
.service-hero h1 { color: var(--white); font-weight: 800; margin-bottom: 14px; }

.about-hero p,
.service-hero p {
    color: rgba(255, 255, 255, 0.78);
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.0625rem;
}

/* ==================== ABOUT VALUES ==================== */
.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 26px;
}

.about-value-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px 26px;
    text-align: center;
    transition: var(--transition);
}
.about-value-card:hover { border-color: var(--brand-red); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.about-value-card > i { font-size: 2rem; color: var(--brand-red); margin-bottom: 16px; display: block; }
.about-value-card h3 { color: var(--ink); margin-bottom: 10px; font-size: 1.25rem; }
.about-value-card p { color: var(--muted-text); font-size: 0.9375rem; }

/* ==================== CONTENT PROSE (service pages) ==================== */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { margin-bottom: 16px; }
.prose h2:not(:first-child) { margin-top: 40px; }
.prose p { color: var(--muted-text); line-height: 1.9; margin-bottom: 20px; }
.prose ul { color: var(--muted-text); line-height: 2; padding-left: 20px; margin-bottom: 28px; }
.prose ul li::marker { color: var(--brand-red); }
.prose strong { color: var(--ink); }
.prose .note { font-size: 0.8125rem; margin-top: 12px; }

/* ==================== COMPARISON TABLE ==================== */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border: 1px solid var(--border);
    font-size: 0.9375rem;
}

.comparison-table th {
    background: var(--dark-bg);
    color: var(--white);
    text-align: left;
    padding: 14px 16px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.comparison-table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--ink);
}

.comparison-table tbody tr:nth-child(even) { background: var(--neutral-alt); }
.comparison-table tbody tr:last-child td { border-bottom: none; background: var(--brand-red-soft); }
.comparison-table td.highlight { color: var(--brand-red); font-weight: 800; }

/* ==================== EMI CALCULATOR ==================== */
.emi-section { background: var(--neutral-bg); }

.emi-calculator {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 44px;
    box-shadow: var(--shadow-md);
}

.emi-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 22px;
    margin-bottom: 34px;
}

.emi-input-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-gray);
    margin-bottom: 8px;
}

.emi-input-group input {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Barlow', Arial, sans-serif;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--ink);
}
.emi-input-group input:focus {
    outline: none;
    border-color: var(--brand-red);
    box-shadow: 0 0 0 3px rgba(183, 50, 53, 0.12);
}

.emi-input-group .range { width: 100%; margin-top: 12px; accent-color: var(--brand-red); }

.emi-result {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 2px;
    background: var(--dark-bg);
    border-radius: var(--radius);
    overflow: hidden;
}

.emi-result-item { padding: 28px 18px; text-align: center; }
.emi-result-item:first-child { background: var(--brand-red); }

.emi-result-item .value {
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}
.emi-result-item .label {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8125rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0;
}

.emi-chart-wrap { height: 300px; margin-top: 34px; }

/* ==================== BLOG ==================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }

.blog-card-img {
    height: 160px;
    background: var(--lavender-panel);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    color: var(--brand-red);
}

.blog-card-content { padding: 26px 24px; display: flex; flex-direction: column; flex: 1; }

.blog-card .tag {
    display: inline-block;
    align-self: flex-start;
    background: var(--brand-red-soft);
    color: var(--brand-red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 14px;
}

.blog-card h3 { font-size: 1.1875rem; color: var(--ink); margin-bottom: 10px; line-height: 1.35; }
.blog-card p { color: var(--muted-text); font-size: 0.9375rem; margin-bottom: 18px; flex: 1; }
.blog-card a {
    color: var(--brand-red);
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    letter-spacing: 0.04em;
}
.blog-card a:hover { text-decoration: underline; }

/* ==================== CONTACT ==================== */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; }

.contact-info-cards { display: flex; flex-direction: column; gap: 14px; }

.contact-info-card {
    display: flex;
    gap: 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 3px solid var(--brand-red);
    border-radius: var(--radius);
    padding: 20px 22px;
    transition: var(--transition);
}
.contact-info-card:hover { box-shadow: var(--shadow-sm); }
.contact-info-card > i { color: var(--brand-red); font-size: 1.15rem; margin-top: 5px; }
.contact-info-card h4 { color: var(--ink); font-size: 1rem; margin-bottom: 3px; }
.contact-info-card p { color: var(--muted-text); font-size: 0.9375rem; margin: 0; }
.contact-info-card a { color: var(--brand-red); text-decoration: none; }

.map-placeholder {
    height: 190px;
    background: var(--lavender-panel);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-gray);
    font-weight: 600;
    font-size: 0.9375rem;
}
.map-placeholder i { color: var(--brand-red); font-size: 1.3rem; }

/* ==================== FOOTER ==================== */
.footer { background: var(--dark-bg); color: rgba(255, 255, 255, 0.72); padding: 72px 0 0; position: relative; }

.footer::before {
    content: '';
    display: block;
    height: 4px;
    background: var(--brand-red);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer h4 {
    color: var(--white);
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--brand-red);
    display: inline-block;
}

.footer-brand p { font-size: 0.9375rem; margin-bottom: 20px; }
.footer-brand .logo--on-dark { display: inline-flex; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--brand-red); transform: translateY(-3px); }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--brand-red); padding-left: 5px; }

.footer-contact-item { display: flex; gap: 12px; margin-bottom: 14px; font-size: 0.9375rem; }
.footer-contact-item i { color: var(--brand-red); margin-top: 5px; flex: 0 0 16px; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.875rem;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.footer-bottom a:hover { color: var(--brand-red); }
.footer-bottom p { font-size: 0.875rem; margin: 0; }

/* ==================== MODALS ==================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(24, 24, 24, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    overflow-y: auto;
}
.modal-overlay.active { display: flex; }

.modal {
    background: var(--white);
    border-radius: var(--radius);
    padding: 38px 34px;
    max-width: 460px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modalSlide 0.3s ease;
    border-top: 4px solid var(--brand-red);
    max-height: 92vh;
    overflow-y: auto;
}

@keyframes modalSlide {
    from { opacity: 0; transform: translateY(-24px); }
    to { opacity: 1; transform: none; }
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.7rem;
    line-height: 1;
    color: var(--muted-text);
    cursor: pointer;
    transition: var(--transition);
}
.modal-close:hover { color: var(--brand-red); }

.modal h3 { margin-bottom: 8px; color: var(--ink-gray); }
.modal p { color: var(--muted-text); font-size: 0.9375rem; margin-bottom: 22px; }

/* ==================== FLOATING ACTIONS ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    z-index: 1500;
    transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); }

.back-to-top {
    position: fixed;
    bottom: 92px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--dark-bg);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    z-index: 1500;
    transition: var(--transition);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--brand-red); }

/* ==================== ANIMATION ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ==================== ACCESSIBILITY ==================== */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--brand-red);
    color: var(--white);
    padding: 12px 20px;
    z-index: 3000;
}
.skip-link:focus { left: 8px; top: 8px; }

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