/* ===================================================================
   RASP INTERNATIONAL - Homepage Styles
   =================================================================== */

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 24px 80px;
    position: relative;
    overflow: hidden;
    background: var(--rasp-white);
}
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.shape {
    position: absolute;
    border-radius: 50%;
}
.shape-1 {
    top: -20%;
    right: -15%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(65,89,161,.05) 0%, transparent 70%);
}
.shape-2 {
    bottom: -25%;
    left: -10%;
    width: 50%;
    height: 70%;
    background: radial-gradient(circle, rgba(4,12,128,.03) 0%, transparent 70%);
}
.shape-3 {
    top: 20%;
    left: 30%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(232,168,56,.02) 0%, transparent 60%);
}
.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
}
.hero-eyebrow {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rasp-brand);
    margin-bottom: 24px;
    display: inline-block;
    opacity: 0;
    animation: heroFade .6s .1s forwards;
}
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 700;
    line-height: 1.05;
    color: var(--rasp-deep);
    margin-bottom: 28px;
    letter-spacing: -1px;
    opacity: 0;
    animation: heroFade .6s .2s forwards;
}
.hero-title span {
    color: var(--rasp-brand);
}
[data-theme="dark"] .hero-title { color: white; }
[data-theme="dark"] .hero-title span { color: var(--rasp-light); }

.hero-sub {
    font-size: 18px;
    color: var(--rasp-text-mid);
    max-width: 560px;
    margin: 0 auto 48px;
    line-height: 1.8;
    font-weight: 300;
    opacity: 0;
    animation: heroFade .6s .35s forwards;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
    opacity: 0;
    animation: heroFade .6s .5s forwards;
}
.hero-metrics {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: heroFade .6s .65s forwards;
}
.metric { text-align: center; display: flex; flex-direction: column; align-items: center; }
.metric-val {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--rasp-deep);
    line-height: 1;
}
[data-theme="dark"] .metric-val { color: white; }
.metric-val-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}
.metric-suffix {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--rasp-brand);
}
.metric-label {
    font-size: 12px;
    color: var(--rasp-text-light);
    margin-top: 6px;
    letter-spacing: .5px;
    font-weight: 500;
}
.metric-divider {
    width: 1px;
    height: 48px;
    background: var(--rasp-surface-2);
}
@keyframes heroFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== PROBLEM ===== */
.hp-problem { background: var(--rasp-surface); }
.problem-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}
.pain-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
}
.pain-card {
    display: flex;
    gap: 20px;
    padding: 20px 24px;
    background: var(--rasp-white);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: all .3s;
}
.pain-card:hover {
    border-color: rgba(65,89,161,.1);
    box-shadow: var(--shadow-sm);
}
.pain-num {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--rasp-brand);
    flex-shrink: 0;
    margin-top: 2px;
}
.pain-card strong {
    font-size: 15px;
    font-weight: 600;
    color: var(--rasp-text);
    display: block;
    margin-bottom: 4px;
}
.pain-card div:last-child {
    font-size: 13px;
    color: var(--rasp-text-mid);
    line-height: 1.6;
}
.solution-box {
    background: #141e3c;
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    color: white;
    position: relative;
    overflow: hidden;
}
.solution-box::before {
    content: '';
    display: none;
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(65,89,161,.3), transparent 70%);
    border-radius: 50%;
}
.solution-tag {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    margin-bottom: 16px;
    position: relative;
}
.solution-box h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    position: relative;
}
.solution-box p {
    font-size: 15px;
    color: rgba(255,255,255,.6);
    line-height: 1.8;
    position: relative;
}

/* ===== SERVICES ===== */
.hp-services { background: var(--rasp-white); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 64px;
}
.s-card {
    background: var(--rasp-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--rasp-surface-2);
    transition: all .4s var(--ease);
    position: relative;
    overflow: hidden;
}
.s-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--rasp-brand), var(--rasp-light));
    transform: scaleX(0);
    transition: transform .4s;
    transform-origin: left;
}
.s-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.s-card:hover::after { transform: scaleX(1); }

.s-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(65,89,161,.08), rgba(4,12,128,.04));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.s-icon svg {
    width: 24px;
    height: 24px;
    color: var(--rasp-brand);
}
.s-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--rasp-deep);
    margin-bottom: 12px;
}
[data-theme="dark"] .s-card h3 { color: var(--rasp-dm-text); }
.s-card > p {
    font-size: 14px;
    color: var(--rasp-text-mid);
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 300;
}
.s-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.s-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--rasp-brand);
    transition: gap .3s;
}
.s-link:hover { gap: 12px; }

/* ===== PROCESS ===== */
.hp-process { background: var(--rasp-surface); }
.process-track {
    display: flex;
    gap: 0;
    margin-top: 80px;
    position: relative;
}
.process-line {
    position: absolute;
    top: 32px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--rasp-brand), transparent);
    opacity: .2;
}
.p-step {
    flex: 1;
    text-align: center;
    position: relative;
}
.p-num {
    width: 64px;
    height: 64px;
    background: var(--rasp-white);
    border: 2px solid var(--rasp-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--rasp-brand);
    margin: 0 auto 24px;
    position: relative;
    z-index: 2;
    transition: all .3s;
}
.p-step:hover .p-num {
    background: var(--rasp-brand);
    color: white;
}
.p-step h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--rasp-deep);
    margin-bottom: 8px;
}
.p-step p {
    font-size: 13px;
    color: var(--rasp-text-light);
    line-height: 1.6;
    max-width: 180px;
    margin: 0 auto;
}

/* ===== WHY RASP ===== */
.hp-why {
    background: var(--rasp-deep);
    position: relative;
    overflow: hidden;
}
.hp-why::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(65,89,161,.3), transparent 70%);
    border-radius: 50%;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 64px;
}
.w-card {
    padding: 40px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    transition: all .3s;
}
.w-card:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.12);
}
.w-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: rgba(255,255,255,.06);
    margin-bottom: 16px;
    line-height: 1;
}
.w-card h4 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
}
.w-card p {
    font-size: 14px;
    color: rgba(255,255,255,.5);
    line-height: 1.7;
    font-weight: 300;
}

/* ===== CLIENTS ===== */
.hp-clients { background: var(--rasp-surface); }
.clients-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1px;
    margin-top: 48px;
    background: rgba(65,89,161,.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.client-cell {
    background: var(--rasp-white);
    padding: 24px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
}
.client-cell:hover { background: rgba(65,89,161,.03); }
.client-cell span {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    color: var(--rasp-text-light);
    letter-spacing: .5px;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.3;
}

/* ===== INDUSTRIES ===== */
.hp-industries { background: var(--rasp-white); }
.industries-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 48px;
    justify-content: center;
}
.ind-pill {
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 500;
    color: var(--rasp-brand);
    border: 1px solid rgba(65,89,161,.15);
    transition: all .3s;
    background: transparent;
}
.ind-pill:hover {
    background: var(--rasp-brand);
    color: white;
    border-color: var(--rasp-brand);
}

/* ===== TESTIMONIALS ===== */
.hp-testimonials { background: var(--rasp-white); }
.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 48px;
}
.t-card {
    padding: 40px;
    background: var(--rasp-surface);
    border-radius: var(--radius-lg);
    transition: all .3s;
    position: relative;
}
.t-card:hover { background: var(--rasp-surface-2); }
.t-quote {
    font-family: var(--font-heading);
    font-size: 64px;
    color: rgba(65,89,161,.1);
    line-height: 1;
    margin-bottom: -20px;
}
.t-card p {
    font-size: 15px;
    color: var(--rasp-text-mid);
    line-height: 1.8;
    margin-bottom: 24px;
    font-weight: 300;
    font-style: italic;
}
.t-author {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--rasp-deep);
}
.t-role {
    font-size: 12px;
    color: var(--rasp-text-light);
    margin-top: 2px;
}

/* ===== TOOLS ===== */
.hp-tools { background: var(--rasp-surface); }
.tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
}
.tool-card {
    background: var(--rasp-white);
    border-radius: var(--radius-lg);
    padding: 48px;
    border: 1px solid var(--rasp-surface-2);
    transition: all .4s;
    text-align: center;
}
.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.tool-icon {
    font-size: 40px;
    margin-bottom: 20px;
}
.tool-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--rasp-deep);
    margin-bottom: 12px;
}
.tool-card p {
    font-size: 14px;
    color: var(--rasp-text-mid);
    line-height: 1.7;
    margin-bottom: 24px;
    font-weight: 300;
}

/* ===== BLOG PREVIEW ===== */
.hp-blog { background: var(--rasp-white); }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.blog-card {
    background: var(--rasp-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all .4s;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.blog-card-img {
    display: block;
    height: 200px;
    overflow: hidden;
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 24px; }
.blog-card-meta {
    font-size: 12px;
    color: var(--rasp-text-light);
    margin-bottom: 8px;
}
.blog-card-body h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--rasp-deep);
    margin-bottom: 8px;
    line-height: 1.3;
}
.blog-card-body h3 a { color: inherit; }
.blog-card-body h3 a:hover { color: var(--rasp-brand); }
.blog-card-body p {
    font-size: 13px;
    color: var(--rasp-text-mid);
    line-height: 1.6;
    font-weight: 300;
}

/* ===== CTA SECTION ===== */
.hp-cta {
    background: #141e3c;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.hp-cta::before {
    content: '';
    display: none;
}
.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(30px, 3.5vw, 48px);
    font-weight: 700;
    color: white;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -.5px;
}
.cta-desc {
    font-size: 16px;
    color: rgba(255,255,255,.55);
    line-height: 1.8;
    margin-bottom: 32px;
    font-weight: 300;
}
.cta-checks {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cta-checks li {
    color: rgba(255,255,255,.6);
    font-size: 14px;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 400;
}
.cta-checks li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--rasp-light);
    border-radius: 50%;
    flex-shrink: 0;
}
.form-box {
    background: var(--rasp-white);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: 0 40px 100px rgba(0,0,0,.2);
}
.form-box h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--rasp-deep);
    margin-bottom: 4px;
}
.form-sub {
    font-size: 13px;
    color: var(--rasp-text-light);
    margin-bottom: 28px;
}
.form-message {
    text-align: center;
    padding: 12px;
    border-radius: var(--radius-sm);
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
}
.form-message.success {
    background: rgba(34,197,94,.1);
    color: #16a34a;
}
.form-message.error {
    background: rgba(239,68,68,.1);
    color: #dc2626;
}
.form-note {
    font-size: 11px;
    color: var(--rasp-text-light);
    margin-top: 12px;
    text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .problem-grid { grid-template-columns: 1fr; gap: 40px; }
    .process-track { flex-wrap: wrap; }
    .process-line { display: none; }
    .p-step { min-width: 45%; margin-bottom: 24px; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-grid { grid-template-columns: 1fr; gap: 48px; }
    .tools-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero { padding: 120px 20px 60px; min-height: auto; }
    .hero-title { font-size: clamp(32px, 8vw, 48px); }
    .hero-metrics { gap: 20px; }
    .metric-val { font-size: 32px; }
    .metric-divider { height: 36px; }
    .hero-actions { margin-bottom: 48px; }
    
    .services-grid { grid-template-columns: 1fr; }
    .s-card { padding: 28px; }
    
    .process-track { flex-direction: column; gap: 24px; }
    .p-step { min-width: 100%; }
    
    .why-grid { grid-template-columns: 1fr; }
    .w-card { padding: 28px; }
    
    .clients-wall { grid-template-columns: repeat(3, 1fr); }
    .client-cell { padding: 16px 10px; }
    .client-cell span { font-size: 9px; }
    
    .test-grid { grid-template-columns: 1fr; }
    
    .hp-cta { padding: 80px 0; }
    .form-box { padding: 28px; }
    
    .blog-grid { grid-template-columns: 1fr; }
}


/* ================================================================
   SERVICES PYRAMID GRID (3+2) - April 2026
   ================================================================ */
.services-grid-row {
    display: grid;
    gap: 24px;
    margin-top: 0;
}
.services-row-3 {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 64px;
}
.services-row-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 780px;
    margin: 24px auto 0;
}

@media (max-width: 1024px) {
    .services-row-3 { grid-template-columns: repeat(2, 1fr); }
    .services-row-2 { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
}
@media (max-width: 640px) {
    .services-row-3,
    .services-row-2 { grid-template-columns: 1fr; max-width: 100%; }
}

/* ================================================================
   INDUSTRY ICONS - April 2026
   ================================================================ */
.ind-icon {
    font-size: 18px;
    margin-right: 8px;
    display: inline-block;
}
.ind-pill {
    display: inline-flex;
    align-items: center;
}

/* ================================================================
   FOOTER BRAND NAME - ONE LINE, FULL WIDTH, WHITE OUTLINE
   ================================================================ */
.footer-brand-big {
    padding: 48px 0 32px;
    border-top: 1px solid rgba(255,255,255,.06);
    overflow: hidden;
}
.footer-big-name {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 800;
    letter-spacing: -.02em;
    color: #ffffff;
    -webkit-text-stroke: none;
    text-stroke: none;
    white-space: nowrap;
    line-height: 1;
    text-align: center;
}

/* ================================================================
   SERVICES CARD HOVER ANIMATION - April 2026
   ================================================================ */
.s-card {
    transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.s-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(65,89,161,.15);
    border-color: var(--rasp-brand);
}
.s-link span {
    display: inline-block;
    transition: transform .2s ease;
}
.s-card:hover .s-link span {
    transform: translateX(4px);
}

/* ================================================================
   W-CARD (WHY SECTION) HOVER ANIMATION
   ================================================================ */
.w-card {
    transition: transform .3s ease, background .3s ease;
}
.w-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,.08);
}

/* ================================================================
   MARQUEE - PAUSE ON HOVER
   ================================================================ */
.clients-marquee:hover .marquee-track { animation-play-state: paused; }

/* ================================================================
   GLOBAL REVEAL - FADE UP ANIMATION
   ================================================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible,
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.p-step-new.visible,
.p-step-new.revealed {
    opacity: 1;
    transform: translateY(0);
}


/* ================================================================
   ANIMATION FIX - Marquee + Ticker (added directly to ensure loading)
   ================================================================ */
@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes rasp-ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

.marquee-track {
    display: flex !important;
    gap: 20px !important;
    animation: marquee-scroll 40s linear infinite !important;
    width: max-content !important;
}

.clients-marquee.reverse .marquee-track {
    animation-direction: reverse !important;
    animation-duration: 45s !important;
}

.clients-marquee:hover .marquee-track {
    animation-play-state: paused !important;
}

.rasp-ticker-inner {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    white-space: nowrap !important;
    animation: rasp-ticker-scroll 55s linear infinite !important;
    will-change: transform !important;
}

.rasp-ticker-inner:hover {
    animation-play-state: paused !important;
}


/* ================================================================
   HERITAGE BAND - Styled Section
   ================================================================ */
.heritage-band {
    padding: 48px 0;
    background: var(--rasp-surface);
    border-top: 1px solid rgba(65,89,161,0.15);
    border-bottom: 1px solid rgba(65,89,161,0.15);
}
.heritage-inner {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}
.heritage-text {
    flex: 1;
    min-width: 280px;
}
.heritage-heading {
    font-family: var(--font-heading);
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    color: var(--rasp-deep);
    margin-bottom: 12px;
    line-height: 1.3;
}
[data-theme="dark"] .heritage-heading { color: var(--rasp-dm-text); }
.heritage-desc {
    font-size: 15px;
    color: var(--rasp-text-mid);
    line-height: 1.75;
    max-width: 520px;
}
.heritage-timeline {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.heritage-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--rasp-white);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--rasp-brand);
    transition: all .3s;
}
.heritage-item:hover {
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}
.heritage-icon {
    width: 36px;
    height: 36px;
    background: rgba(65,89,161,.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--rasp-brand);
}
[data-theme="dark"] .heritage-icon {
    background: rgba(92,117,192,.15);
}
.heritage-year {
    font-size: 13px;
    font-weight: 600;
    color: var(--rasp-brand);
    min-width: 55px;
}
.heritage-milestone {
    font-size: 13px;
    color: var(--rasp-text-mid);
}

@media (max-width: 768px) {
    .heritage-inner { flex-direction: column; gap: 32px; }
    .heritage-timeline { width: 100%; }
}

/* ================================================================
   DARK MODE CONTRAST FIXES
   ================================================================ */
/* Blog cards in dark mode */
[data-theme="dark"] .blog-card {
    background: var(--rasp-dm-surface-2);
    border: 1px solid rgba(255,255,255,.06);
}
[data-theme="dark"] .blog-card-body h3,
[data-theme="dark"] .blog-card-body h3 a {
    color: var(--rasp-dm-text);
}
[data-theme="dark"] .blog-card-body p {
    color: var(--rasp-dm-text-mid);
}
[data-theme="dark"] .blog-card-meta {
    color: rgba(255,255,255,.4);
}

/* Testimonials in dark mode */
[data-theme="dark"] .t-card {
    background: var(--rasp-dm-surface-2);
    border: 1px solid rgba(255,255,255,.06);
}
[data-theme="dark"] .t-card p {
    color: var(--rasp-dm-text-mid);
}
[data-theme="dark"] .t-author {
    color: var(--rasp-dm-text);
}
[data-theme="dark"] .t-role {
    color: rgba(255,255,255,.4);
}
[data-theme="dark"] .t-quote {
    color: rgba(92,117,192,.25);
}

/* Tool cards in dark mode */
[data-theme="dark"] .tool-card {
    background: var(--rasp-dm-surface-2);
    border-color: rgba(255,255,255,.06);
}
[data-theme="dark"] .tool-card h3 {
    color: var(--rasp-dm-text);
}
[data-theme="dark"] .tool-card p {
    color: var(--rasp-dm-text-mid);
}
[data-theme="dark"] .tool-icon svg {
    color: var(--rasp-light);
}

/* Section headings in dark mode */
[data-theme="dark"] .hp-blog .section-heading,
[data-theme="dark"] .hp-testimonials .section-heading,
[data-theme="dark"] .hp-tools .section-heading,
[data-theme="dark"] .hp-clients .section-heading,
[data-theme="dark"] .hp-industries .section-heading,
[data-theme="dark"] .hp-services .section-heading {
    color: var(--rasp-dm-text);
}
[data-theme="dark"] .hp-blog .section-heading {
    color: var(--rasp-dm-text);
}

/* Heritage in dark mode */
[data-theme="dark"] .heritage-band {
    background: var(--rasp-dm-surface);
    border-color: rgba(255,255,255,.06);
}
[data-theme="dark"] .heritage-item {
    background: var(--rasp-dm-surface-2);
    border-left-color: var(--rasp-light);
}

/* ================================================================
   T&C CHECKBOX STYLES
   ================================================================ */
.form-checkbox {
    margin-bottom: 18px;
}
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: var(--rasp-text-light) !important;
    line-height: 1.5 !important;
}
.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    accent-color: var(--rasp-brand);
    cursor: pointer;
}
.checkbox-text {
    font-size: 11px;
    color: var(--rasp-text-light);
    line-height: 1.5;
}
.checkbox-text a {
    color: var(--rasp-brand);
    text-decoration: underline;
}
.checkbox-text a:hover {
    color: var(--rasp-light);
}

/* ================================================================
   NAV LOGO - DUAL MODE (LIGHT/DARK)
   ================================================================ */
.nav-logo a {
    display: flex;
    align-items: center;
}
.nav-logo-light,
.nav-logo-dark {
    height: 32px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}
.nav-logo-dark { display: none; }
[data-theme="dark"] .nav-logo-light { display: none; }
[data-theme="dark"] .nav-logo-dark { display: block; }

@media (max-width: 768px) {
    .nav-logo-light,
    .nav-logo-dark {
        height: 26px;
        max-width: 180px;
    }
}

/* Metric val SVG for Google Partner */
.metric-val svg {
    color: var(--rasp-brand);
}
[data-theme="dark"] .metric-val svg {
    color: var(--rasp-light);
}
/* Google Partner logo in hero metrics */
.metric-google-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
}

/* Dark mode: challenge section text */
[data-theme="dark"] .hp-problem .section-heading { color: var(--rasp-dm-text); }
[data-theme="dark"] .hp-problem .section-desc { color: var(--rasp-dm-text-mid); }
/* Google Reviews */
.google-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--rasp-surface);
    border-radius: var(--radius-lg);
    padding: 14px 24px;
    margin-bottom: 32px;
}
.google-g-icon { flex-shrink: 0; }
.google-rating-number {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--rasp-text);
    margin-right: 6px;
}
.google-rating-stars { display: flex; align-items: center; gap: 2px; }
.google-stars { display: flex; gap: 1px; }
.google-rating-count {
    font-size: 13px;
    color: var(--rasp-text-light);
    margin-top: 2px;
}
.google-review-card { position: relative; }
.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.reviewer-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.reviewer-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rasp-primary);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
}
.reviewer-meta { min-width: 0; }
.review-time {
    font-size: 12px;
    color: var(--rasp-text-light);
    margin-top: 1px;
}
.review-stars {
    display: flex;
    gap: 1px;
    margin-bottom: 10px;
}
.review-text {
    font-size: 14px;
    color: var(--rasp-text-mid);
    line-height: 1.7;
    margin: 0;
}
.google-attribution {
    text-align: center;
    margin-top: 28px;
}
.google-attribution a {
    font-size: 14px;
    color: var(--rasp-primary);
    text-decoration: none;
    font-weight: 500;
    transition: opacity .2s;
}
.google-attribution a:hover { opacity: .7; }

/* Dark mode Google reviews */
[data-theme="dark"] .google-rating-badge {
    background: var(--rasp-dm-surface-2);
}
[data-theme="dark"] .google-rating-number {
    color: var(--rasp-dm-text);
}
[data-theme="dark"] .google-rating-count {
    color: rgba(255,255,255,.4);
}
[data-theme="dark"] .google-review-card {
    background: var(--rasp-dm-surface-2);
    border: 1px solid rgba(255,255,255,.06);
}
[data-theme="dark"] .review-text {
    color: var(--rasp-dm-text-mid);
}
[data-theme="dark"] .review-time {
    color: rgba(255,255,255,.35);
}
[data-theme="dark"] .google-attribution a {
    color: var(--rasp-dm-accent);
}