/* ============================================================
   Quanto Website - Main Stylesheet
   Modern, clean ERP product site
   ============================================================ */

:root {
    /* Solid demo CTA orange sampled from the brand button */
    --quanto-orange: #f69c0a;
    --quanto-dark: #0f0f0f;
    --quanto-gray: #1a1a2e;
    --quanto-light: #f8f9fa;
    --quanto-accent: #f69c0a;
    --quanto-muted: #4b5563;
    --gradient-dark: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 100%);
    --gradient-orange: #f69c0a;
}

/* Brighter than Bootstrap's default muted grey (#6c757d) for all-age readability */
.text-muted {
    color: var(--quanto-muted) !important;
}

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

html {
    scroll-behavior: auto;
    overflow-anchor: none;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    overflow-x: hidden;
    overflow-anchor: none;
}

/* ─── Layout Width ──────────────────────────────────────── */
/* Bootstrap caps .container at 1320px, which wastes ~600px on a 1080p
   display. Widen past the xxl breakpoint and keep side padding so the
   content never runs edge-to-edge on mid-size laptops. */
@media (min-width: 1400px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        max-width: 1600px;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* ─── Logo ───────────────────────────────────────────────── */
.navbar-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Stepped rather than fluid: the nav carries 11 links plus a CTA, so the
   logo can only grow once there is room for it. */
@media (min-width: 1200px) {
    .navbar-logo {
        height: 48px;
    }
}

@media (min-width: 1600px) {
    .navbar-logo {
        height: 56px;
    }
}

.footer-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

@media (min-width: 1200px) {
    .footer-logo {
        height: 56px;
    }
}

.sidebar-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
}

/* ─── Navigation ─────────────────────────────────────────── */
.quanto-nav {
    background: rgba(15, 15, 15, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    z-index: 1050;
}

/* The bar carries eight links plus the CTA, so it expands at xl rather than lg;
   below 1200px the row cannot hold them on one line at a readable size and the
   labels used to wrap into two rows. nowrap keeps that from silently returning
   if a label is ever renamed to something longer. */
.quanto-nav .nav-link {
    /* Padding is a variable so the active underline can inset to match it and
       sit under the label rather than the whole hit area. */
    --nav-pad-x: 0.7rem;
    --nav-pad-y: 0.5rem;
    font-weight: 500;
    font-size: 1.02rem;
    padding: var(--nav-pad-y) var(--nav-pad-x) !important;
    white-space: nowrap;
    position: relative;
    transition: color 0.3s;
}

.quanto-nav .navbar-nav .btn {
    font-size: 1rem;
    white-space: nowrap;
}

/* Current page indicator. Bootstrap's .navbar-dark rule sets active links to
   white, so this selector has to match that chain. Colour alone is easy to miss
   against the dark bar, so it is paired with an underline. Font weight is left
   alone: the row is near its width limit at 1200px and bolder text would wrap. */
.quanto-nav.navbar-dark .navbar-nav .nav-link.active {
    color: var(--quanto-orange);
}

.quanto-nav.navbar-dark .navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: var(--nav-pad-x);
    right: var(--nav-pad-x);
    bottom: 0.1rem;
    height: 2px;
    border-radius: 2px;
    background: var(--quanto-orange);
}

/* Get Demo is already a yellow button, so colour cannot carry the "you are
   here" signal. A dark ring around it does the same job without fighting the CTA. */
.quanto-nav .navbar-nav .btn.active {
    box-shadow: 0 0 0 2px var(--quanto-dark), 0 0 0 4px var(--quanto-orange);
}

/* Bootstrap's default active item is blue, which clashes with the brand. */
.quanto-nav .dropdown-item.active,
.quanto-nav .dropdown-item:active {
    background: var(--quanto-orange);
    color: #000;
    border-radius: 8px;
}

/* Between the xl collapse point and the wider container at 1400px the row only
   has Bootstrap's 1140px to work with, which is just short of fitting at the
   default padding. */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .quanto-nav .nav-link {
        --nav-pad-x: 0.5rem;
    }
}

@media (min-width: 1600px) {
    .quanto-nav .nav-link {
        --nav-pad-x: 0.9rem;
        font-size: 1.1rem;
    }

    .quanto-nav .navbar-nav .btn {
        font-size: 1.05rem;
    }
}

/* Collapsed menu stacks vertically, so size for comfortable tap targets. */
@media (max-width: 1199.98px) {
    .quanto-nav .nav-link {
        --nav-pad-x: 0.5rem;
        --nav-pad-y: 0.6rem;
        font-size: 1.05rem;
    }
}

.quanto-nav .nav-link:hover {
    color: var(--quanto-orange) !important;
}

.quanto-nav .dropdown-menu {
    border: 1px solid rgba(255, 140, 0, 0.2);
    border-radius: 12px;
    padding: 0.5rem;
}

.quanto-nav .dropdown-item:hover {
    background: var(--quanto-orange);
    color: #000;
    border-radius: 8px;
}

.quanto-nav .dropdown-menu-products {
    min-width: 22rem;
}

.quanto-nav .dropdown-product {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.quanto-nav .dropdown-product .dropdown-item {
    flex: 1;
    min-width: 0;
}

.quanto-nav .dropdown-brochure {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    color: var(--quanto-orange);
    text-decoration: none;
    padding: 0.28rem 0.55rem;
    margin-right: 0.25rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 140, 0, 0.45);
}

.quanto-nav .dropdown-brochure:hover {
    background: var(--quanto-orange);
    color: #000;
    border-color: var(--quanto-orange);
}

/* ─── Hero Section ───────────────────────────────────────── */
.hero-section {
    background: #fff;
    display: flex;
    align-items: center;
    /* Clears the fixed navbar, which grows with the logo on wide screens. */
    padding-top: 6.35rem;
    padding-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}

/* Full-viewport landing banner — white field, dark type, orange accents */
.hero-section.hero-banner {
    min-height: 100vh;
    min-height: 100dvh;
    justify-content: center;
    padding-top: 5.25rem;
    padding-bottom: 2rem;
    text-align: left;
    background: #fff;
}

.hero-footprint-stats {
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
}

.hero-footprint-stats .glance-grid,
.hero-footprint-stats-grid {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: space-between;
    gap: 0.12rem;
    margin: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.hero-footprint-stats .stat-card {
    flex: 1 1 0;
    min-height: 0;
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0.05rem 0.28rem;
    background: linear-gradient(180deg, #e4eaf1 0%, #d8e0ea 100%);
    border: 1px solid #b8c4d4;
    border-radius: 0.45rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.hero-footprint-stats .glance-grid .stat-card .stat-number {
    font-size: clamp(1.15rem, 1.25vw, 1.45rem);
    line-height: 1.1;
    font-weight: 800;
    color: #475569;
}

.hero-footprint-stats .stat-label,
.hero-footprint-stats .stat-label.text-light {
    color: #475569 !important;
    opacity: 1;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.15;
    margin-top: 0.08rem;
}

.hero-banner-split {
    width: 100%;
    align-items: center;
}

.hero-banner-content {
    width: 100%;
    max-width: 40rem;
    margin: 0;
    padding: 0.5rem 0.25rem;
    text-align: center;
}

.hero-banner-actions {
    justify-content: center;
}

.hero-banner-footprint {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-footprint {
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 0;
}

.hero-footprint-visual {
    display: flex;
    align-items: stretch;
    gap: 0.45rem;
    width: 100%;
}

.hero-footprint-map-col {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.hero-footprint-stage {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 10 / 11;
    flex: 0 0 auto;
}

.hero-footprint-legend-heading {
    display: flex;
    flex-direction: column;
    margin: 0;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #1e293b;
    line-height: 1;
}

.hero-footprint-legend-heading-line {
    display: block;
    white-space: nowrap;
}

.hero-footprint-legend-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 1rem;
    flex: 0 0 auto;
    width: 100%;
    padding-top: 0.1rem;
}

.hero-footprint-legend-entry {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 400;
    color: #1e293b;
    line-height: 1;
    white-space: nowrap;
}

.hero-footprint-legend-label {
    font-weight: 400;
}

.hero-footprint-map,
.hero-footprint-markers {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.hero-footprint-map {
    object-fit: contain;
}

.hero-footprint-markers {
    pointer-events: none;
}

.hero-marker-pin-strong {
    fill: #14532d;
    stroke: #052e16;
    stroke-width: 0.8;
}

.hero-marker-pin-active {
    fill: #f97316;
    stroke: #c2410c;
    stroke-width: 0.8;
}

.hero-marker-pin-core {
    fill: #fff;
}

.hero-marker-store path,
.hero-marker-store rect {
    stroke-width: 0.7;
}

.hero-marker-store path {
    stroke-linejoin: round;
}

.hero-footprint-marker-strong .hero-marker-store path {
    fill: #166534;
    stroke: #052e16;
}

.hero-footprint-marker-strong .hero-marker-store rect {
    fill: #14532d;
    stroke: #052e16;
}

.hero-footprint-marker-active .hero-marker-store path {
    fill: #ea580c;
    stroke: #9a3412;
}

.hero-footprint-marker-active .hero-marker-store rect {
    fill: #f97316;
    stroke: #c2410c;
}

.hero-marker-halo-strong {
    fill: rgba(20, 83, 45, 0.22);
    stroke: rgba(20, 83, 45, 0.45);
    stroke-width: 2;
}

.hero-marker-halo-active {
    fill: rgba(249, 115, 22, 0.2);
    stroke: rgba(249, 115, 22, 0.45);
    stroke-width: 2;
}

.hero-marker-ring-strong {
    stroke: #14532d;
}

.hero-marker-pulse-active {
    stroke: #f97316;
}

.hero-marker-ring,
.hero-marker-pulse {
    transform-origin: center;
    transform-box: fill-box;
    animation: hero-marker-ring 2.8s ease-out infinite;
}

.hero-marker-ring-delay,
.hero-marker-pulse-delay {
    animation-delay: 1.4s;
}

@keyframes hero-marker-ring {
    0% {
        transform: scale(0.75);
        opacity: 0.9;
    }
    65% {
        transform: scale(1.55);
        opacity: 0.15;
    }
    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

.hero-footprint-key {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-footprint-key li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1.05rem;
    font-weight: 400;
    color: #1e293b;
    line-height: 1.2;
}

.hero-footprint-swatch {
    width: 0.92rem;
    height: 0.92rem;
    border-radius: 0.24rem;
    flex-shrink: 0;
}

.hero-footprint-swatch-stronghold {
    background: #14532d;
}

.hero-footprint-swatch-active {
    background: #f97316;
}

@media (min-width: 992px) {
    .hero-banner-split {
        flex-wrap: nowrap;
        align-items: stretch;
    }

    .hero-banner-content-col {
        flex: 0 0 55%;
        max-width: 55%;
    }

    .hero-banner-footprint-col {
        flex: 0 0 45%;
        max-width: 45%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .hero-banner-content {
        text-align: left;
        max-width: none;
        padding-right: 1.5rem;
    }

    .hero-banner-actions {
        justify-content: flex-start;
    }

    .hero-banner-footprint {
        display: flex;
        align-items: flex-start;
        justify-content: flex-end;
        width: 100%;
    }

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

    .hero-footprint-visual {
        --hero-map-height: clamp(30rem, 74vh, 49rem);
        --hero-map-content-inset-top: 0.048;
        --hero-map-content-inset-bottom: 0.048;
        height: var(--hero-map-height);
        align-items: flex-start;
    }

    .hero-footprint-stage {
        height: var(--hero-map-height);
        width: auto;
        max-width: 100%;
        aspect-ratio: 10 / 11;
    }

    .hero-footprint-stats {
        flex: 0 0 11.25rem;
        width: 11.25rem;
        height: calc(
            var(--hero-map-height) *
            (1 - var(--hero-map-content-inset-top) - var(--hero-map-content-inset-bottom))
        );
        margin-top: calc(var(--hero-map-height) * var(--hero-map-content-inset-top));
        align-self: flex-start;
        overflow: hidden;
    }

    .hero-footprint-legend-bar {
        justify-content: center;
        width: calc(100% - 11.75rem);
        max-width: calc(100% - 11.75rem);
        margin: 0;
        gap: 1.05rem;
    }

    .hero-footprint-legend-heading {
        font-size: 0.78rem;
    }

    .hero-footprint-legend-entry {
        font-size: 0.86rem;
    }

    .hero-footprint-swatch {
        width: 0.95rem;
        height: 0.95rem;
    }

    .hero-footprint-stats .stat-label {
        font-size: 0.8rem;
        line-height: 1.08;
        margin-top: 0.05rem;
    }

    .hero-footprint-stats .glance-grid .stat-card .stat-number {
        font-size: clamp(1.05rem, 1.1vw, 1.32rem);
        line-height: 1.05;
    }

    .hero-banner .hero-subtitle {
        max-width: none;
        white-space: nowrap;
    }
}

@media (max-width: 991.98px) {
    .hero-footprint {
        max-width: 22rem;
        margin: 0 auto;
        gap: 0.55rem;
    }

    .hero-footprint-visual {
        flex-direction: column;
        align-items: stretch;
        height: auto;
    }

    .hero-footprint-stage {
        width: 100%;
        height: auto;
        aspect-ratio: 10 / 11;
    }

    .hero-footprint-stats {
        width: 100%;
        max-width: 15.5rem;
        margin: 0 auto;
        height: auto;
    }

    .hero-footprint-stats .stat-card {
        flex: 0 0 auto;
        padding: 0.4rem 0.5rem;
    }

    .hero-footprint-stats .glance-grid .stat-card .stat-number {
        font-size: 1.25rem;
    }

    .hero-footprint-stats .stat-label {
        font-size: 0.9rem;
    }

    .hero-footprint-legend-bar {
        justify-content: center;
        max-width: none;
        gap: 0.95rem;
    }

    .hero-footprint-legend-heading {
        font-size: 0.74rem;
    }

    .hero-footprint-legend-entry {
        font-size: 0.8rem;
    }
}

.hero-banner-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 70% 55% at 50% 40%, rgba(245, 158, 11, 0.08) 0%, transparent 68%),
        #fff;
}

.hero-banner-scrim {
    display: none;
}

.hero-banner-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    flex: 1;
}

.hero-banner .hero-eyebrow {
    font-size: clamp(1.05rem, 2.1vw, 1.65rem);
    margin-bottom: 1.1rem !important;
    color: var(--quanto-orange) !important;
}

.hero-banner .hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4.75rem);
    line-height: 1.08;
    margin-bottom: 1.15rem !important;
    color: #111827;
}

.hero-banner .hero-title .text-warning {
    color: var(--quanto-orange) !important;
}

.hero-banner .hero-beyond {
    font-size: clamp(1.35rem, 3.1vw, 2.35rem);
    letter-spacing: 0.05em;
    margin-bottom: 1rem !important;
    color: #9a3412;
    font-style: italic;
}

.hero-banner .hero-subtitle {
    font-size: clamp(1.2rem, 2.4vw, 1.85rem);
    max-width: 34ch;
    margin-bottom: 1.75rem !important;
    color: #4b5563;
}

.hero-banner .btn-lg {
    padding: 0.85rem 1.55rem;
    font-size: clamp(1.15rem, 1.8vw, 1.55rem);
}

.hero-banner .btn-quanto {
    background: var(--quanto-orange);
    color: #000;
}

.hero-banner .btn-quanto:hover {
    color: #000;
    background: #e89009;
    box-shadow: 0 8px 25px rgba(246, 156, 10, 0.35);
}

.hero-banner .btn-quanto-outline {
    color: #111827;
    border-color: #111827;
}

.hero-banner .btn-quanto-outline:hover {
    background: #111827;
    color: #fff;
}

.hero-title {
    font-size: clamp(1.87rem, 3.74vw, 3.47rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
}

.hero-subtitle {
    font-size: clamp(1.16rem, 1.49vw, 1.65rem);
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
    max-width: 40ch;
}

.hero-beyond {
    font-size: clamp(1.16rem, 1.65vw, 1.49rem);
    font-weight: 600;
    font-style: italic;
    color: var(--quanto-orange);
    letter-spacing: 0.02em;
    margin-bottom: 0.85rem;
}

.hero-section .btn-lg {
    padding: 0.55rem 1.1rem;
    font-size: 1.375rem;
}

.hero-eyebrow {
    font-size: clamp(0.88rem, 1.05vw, 1.16rem);
}

.hero-visual {
    font-size: clamp(7rem, 15vw, 20rem);
}

@media (max-width: 575.98px) {
    .hero-section.hero-banner {
        min-height: 100svh;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    .hero-banner .hero-title {
        font-size: clamp(1.85rem, 8vw, 2.6rem);
    }

    .hero-banner .d-flex {
        justify-content: center;
    }
}

/* ─── Section Styles ─────────────────────────────────────── */
.section-dark {
    background: var(--gradient-dark);
    color: #fff;
    padding: 5rem 0;
}

.section-light {
    background: var(--quanto-light);
    padding: 5rem 0;
}

.section-white {
    background: #fff;
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.text-quanto-on-light {
    color: #b45309;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--quanto-muted);
    opacity: 1;
    max-width: 700px;
}

/* ─── Feature Cards ──────────────────────────────────────── */
.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--quanto-orange);
    box-shadow: 0 10px 40px rgba(245, 158, 11, 0.15);
}

.feature-card .icon-box {
    width: 48px;
    height: 48px;
    background: var(--gradient-orange);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #000;
    flex: 0 0 auto;
}

/* Icon sits beside the title instead of stacked above it, which removes roughly
   50px of dead height from every card and pulls each row further up the page. */
.card-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.card-head h5,
.card-head h6 {
    margin-bottom: 0;
}

.feature-card h5 {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card p {
    opacity: 0.75;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Light variant */
.feature-card-light {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card-light:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--quanto-orange);
}

.feature-card-light.feature-card-compact {
    padding: 1.35rem 1.25rem;
}

.feature-card.feature-card-compact {
    padding: 1.35rem 1.25rem;
}

.feature-card-light .card-head .bi {
    flex: 0 0 auto;
    line-height: 1;
}

.feature-card-compact .card-head {
    gap: 0.65rem;
    margin-bottom: 0.65rem;
}

.feature-card-compact .card-head h5,
.feature-card-compact .card-head h6 {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
}

.why-quanto-page.section-dark {
    padding-bottom: 4rem;
}

.why-quanto-page.section-white {
    padding: 4rem 0;
}

/* ─── Stat Cards ─────────────────────────────────────────── */
.stat-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.stat-card .stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--quanto-orange);
}

.stat-card .stat-label {
    font-size: 0.95rem;
    opacity: 0.7;
}

.glance-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.glance-grid .stat-card {
    flex: 1 1 10.5rem;
    max-width: 14.5rem;
    padding: 1.15rem 0.7rem;
}

.glance-grid .stat-number {
    font-size: 1.85rem;
    line-height: 1.15;
}

.glance-grid .stat-label {
    font-size: 0.95rem;
    margin-top: 0.25rem;
    opacity: 0.9;
    font-weight: 700;
}

.hero-footprint-stats .glance-grid {
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 0.12rem;
}

.hero-footprint-stats .glance-grid .stat-card {
    flex: 1 1 0;
    min-height: 0;
    max-width: none;
    padding: 0.05rem 0.28rem;
    border-radius: 0.45rem;
}

.hero-footprint-stats .glance-grid .stat-number {
    font-size: clamp(1.15rem, 1.25vw, 1.45rem);
    color: #475569;
}

.hero-footprint-stats .glance-grid .stat-label {
    font-size: 0.82rem;
    margin-top: 0.08rem;
    opacity: 1;
    font-weight: 700;
}

/* ─── Testimonial Cards (legacy helpers) ─────────────────── */
.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    border-left: 4px solid var(--quanto-orange);
}

.testimonial-card .quote {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--quanto-muted);
}

.testimonial-card .company {
    font-weight: 700;
    color: var(--quanto-orange);
}

/* ─── Testimonials page (modern) ─────────────────────────── */
.testimonials-hero p {
    max-width: 36rem;
}

.testimonials-kicker {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b45309;
    margin: 0;
}

.client-logo-marquee-quiet .client-logo-track {
    gap: 1.35rem;
}

.client-logo-marquee-ltr .client-logo-track {
    animation: marqueeScroll 150s linear infinite;
}

.client-logo-marquee-rtl .client-logo-track {
    animation: marqueeScrollReverse 165s linear infinite;
}

.client-logo-dual {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    min-height: 19.5rem;
    padding: 0.5rem 0 1rem;
}

.client-logo-dual:hover .client-logo-track {
    animation-play-state: paused;
}

.testimonials-logos {
    padding-top: 3.25rem !important;
    padding-bottom: 4rem !important;
}

.client-logo-marquee-quiet .client-logo-item {
    flex-shrink: 0;
    width: clamp(14rem, 18vw, 18rem);
    height: 8.5rem;
    padding: 0.5rem 0.7rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0.85rem;
    box-shadow: 0 3px 14px rgba(15, 23, 42, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo-marquee-quiet .client-logo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.1);
}

.client-logo-marquee-quiet .client-logo-item img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center;
    opacity: 1;
    filter: none;
}

.client-logo-marquee-quiet:hover .client-logo-item img {
    opacity: 1;
}

@media (max-width: 767.98px) {
    .client-logo-dual {
        min-height: 16.5rem;
        gap: 1rem;
    }

    .client-logo-marquee-quiet .client-logo-item {
        width: clamp(12rem, 58vw, 15rem);
        height: 7.25rem;
        padding: 0.45rem 0.6rem;
    }

    .testimonials-logos {
        padding-top: 2.75rem !important;
        padding-bottom: 3.25rem !important;
    }
}

.testimonials-featured-panel {
    position: relative;
    max-width: 52rem;
    margin: 0 auto;
    padding: 2.25rem 1.5rem 1.75rem;
    background:
        linear-gradient(180deg, #fff 0%, #fffaf3 100%);
    border: 1px solid #f3e7d3;
    border-radius: 8px;
    border-left: 4px solid var(--quanto-orange);
}

.testimonials-featured-story {
    display: none;
    animation: testimonialsFade 0.45s ease;
}

.testimonials-featured-story.is-active {
    display: block;
}

@keyframes testimonialsFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.testimonials-featured-highlight,
.testimonials-quote-highlight {
    display: inline-block;
    margin: 0 0 0.85rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.14);
    color: #92400e;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
}

.testimonials-featured-quote {
    margin: 0 0 1.5rem;
    padding: 0;
    border: 0;
    font-size: clamp(1.15rem, 2.1vw, 1.45rem);
    font-weight: 500;
    font-style: normal;
    line-height: 1.55;
    color: #111827;
}

.testimonials-featured-who,
.testimonials-quote-footer {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.testimonials-logo {
    width: 88px;
    height: 88px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonials-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.testimonials-logo-sm {
    width: 104px;
    height: 104px;
    border-radius: 16px;
}

.testimonials-logo-sm img {
    padding: 4px;
}

.testimonials-company {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
}

.testimonials-meta {
    margin: 0.2rem 0 0;
    color: #374151;
    font-size: 0.92rem;
    font-weight: 500;
}

.testimonials-meta i {
    color: #b45309;
    margin-right: 0.28rem;
}

.testimonials-meta span {
    margin-left: 0.55rem;
}

.testimonials-meta span i {
    margin-left: 0.1rem;
}

.testimonials-featured-nav {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 1.5rem;
}

.testimonials-dot {
    width: 0.55rem;
    height: 0.55rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d6d3d1;
    transition: width 0.25s ease, background 0.25s ease;
}

.testimonials-dot.is-active {
    width: 1.45rem;
    background: var(--quanto-orange);
}

.testimonials-quote-wall {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem 1.35rem;
}

.testimonials-quote {
    padding: 1.35rem 1.25rem 1.25rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e7e5e4;
    border-top: 3px solid var(--quanto-orange);
}

.testimonials-quote-text {
    margin: 0 0 1.15rem;
    font-size: 0.98rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.6;
    color: #1f2937;
}

@media (max-width: 767.98px) {
    .testimonials-featured-panel {
        padding: 1.5rem 1.1rem 1.35rem;
    }

    .testimonials-quote-wall {
        grid-template-columns: 1fr;
    }

    .testimonials-logo {
        width: 72px;
        height: 72px;
    }

    .testimonials-logo-sm {
        width: 92px;
        height: 92px;
    }
}

/* Keep older carousel helpers available if referenced elsewhere */
.testimonial-featured-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.testimonial-featured-text {
    font-size: 1.05rem;
    font-style: normal;
    line-height: 1.65;
    color: #1f2937;
}

.testimonial-logo-circle {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--quanto-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    flex-shrink: 0;
}

.testimonial-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.testimonial-featured-meta {
    color: #374151 !important;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.45;
}

.testimonial-featured-meta i {
    color: #b45309;
    margin-right: 0.3rem;
    font-size: 0.95em;
    vertical-align: -0.05em;
}

.carousel-control-icon-custom {
    width: 40px;
    height: 40px;
    background: var(--quanto-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.1rem;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
}

.carousel-control-icon-custom:hover {
    transform: scale(1.1);
}

/* ─── Testimonial Card V2 ───────────────────────────────── */
.testimonial-card-v2 {
    background: #fff;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    height: 100%;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.testimonial-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(245, 158, 11, 0.12);
    border-color: var(--quanto-orange);
}

.testimonial-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f3f4f6;
    background: #fafafa;
}

.testimonial-card-logo {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid var(--quanto-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    flex-shrink: 0;
}

.testimonial-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
}

.testimonial-card-body {
    padding: 1.25rem 1.5rem;
    flex: 1;
}

.testimonial-card-body p {
    font-size: 0.92rem;
    font-style: normal;
    line-height: 1.7;
    color: var(--quanto-muted);
}

.testimonial-card-rating {
    padding: 0.75rem 1.5rem;
    border-top: 1px solid #f3f4f6;
    color: var(--quanto-orange);
    font-size: 0.85rem;
    letter-spacing: 2px;
}

/* ─── Client Logo Marquee ───────────────────────────────── */
.client-logo-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.client-logo-marquee::before,
.client-logo-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.client-logo-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--quanto-light), transparent);
}

.client-logo-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--quanto-light), transparent);
}

.client-logo-track {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    animation: marqueeScroll 75s linear infinite;
    width: max-content;
}

.client-logo-marquee:hover .client-logo-track {
    animation-play-state: paused;
}

.client-logo-item {
    flex-shrink: 0;
    height: 76px;
    width: auto;
    padding: 0.12rem 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-logo-item:hover {
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.client-logo-item img {
    height: 68px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    display: block;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes marqueeScrollReverse {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* ─── Pricing ────────────────────────────────────────────── */
.pricing-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.pricing-card:hover,
.pricing-card.popular {
    border-color: var(--quanto-orange);
    transform: translateY(-5px);
}

.pricing-card.popular {
    background: var(--gradient-dark);
    color: #fff;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 900;
}

/* ─── Blog Cards ─────────────────────────────────────────── */
.blog-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    background: #fff;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.blog-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.blog-card .card-body {
    padding: 1.5rem;
}

.blog-card .tag {
    display: inline-block;
    background: var(--quanto-orange);
    color: #000;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ─── Tutorial Cards ─────────────────────────────────────── */
.tutorial-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.tutorial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.tutorial-card .play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -80%);
    width: 60px;
    height: 60px;
    background: var(--quanto-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.5rem;
    opacity: 0.9;
}

.tutorial-card .thumbnail {
    height: 200px;
    background: var(--quanto-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--quanto-orange);
    font-size: 3rem;
}

/* ─── Page Headers ───────────────────────────────────────── */
.page-header {
    background: var(--gradient-dark);
    padding: 8rem 0 4rem;
    text-align: center;
    color: #fff;
}

/* For pages that open straight into a content section rather than a banner:
   picks up the navbar clearance that .page-header would otherwise provide. */
.section-first {
    padding-top: 8rem;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 900;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.92;
    color: #f3f4f6;
    max-width: 700px;
    margin: 1rem auto 0;
}

.about-header,
.page-header-tight {
    padding: 7.5rem 0 2.25rem;
}

.page-header.blog-header {
    padding: 6.4rem 0 1.35rem;
}

.page-header.blog-header h1,
.page-header.blog-header h1.display-5 {
    font-size: 2rem;
    margin-bottom: 0;
}

.page-header.blog-header p {
    font-size: 0.95rem;
    margin-top: 0.35rem;
}

.blog-header-nav {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 0.85rem;
    text-align: left;
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.35rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.blog-back-link:hover {
    color: var(--quanto-orange);
    border-color: var(--quanto-orange);
    background: rgba(245, 158, 11, 0.12);
}

.blog-back-link-light {
    color: var(--quanto-orange);
    border-color: rgba(245, 158, 11, 0.45);
}

.about-tight,
.section-tight {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
}

.legal-copy {
    max-width: 46rem;
}

.legal-copy h2 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111827;
    margin: 1.5rem 0 0.5rem;
}

.legal-copy h2:first-of-type {
    margin-top: 0;
}

.legal-copy p,
.legal-copy li {
    color: #1f2937;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.55;
}

.legal-copy ul {
    padding-left: 1.15rem;
    margin-bottom: 1rem;
}

.legal-copy a {
    color: #b45309;
    font-weight: 600;
}

/* ─── Get Demo Page ──────────────────────────────────────── */
.demo-section {
    --demo-nav-height: 72px;
    background: #f7f5f2;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding-top: calc(var(--demo-nav-height) + 1.1rem);
    padding-bottom: 1.5rem;
}

@media (min-width: 992px) {
    .demo-section > .container {
        max-width: min(1320px, 92vw);
    }
}

@media (min-width: 1200px) {
    .demo-section {
        --demo-nav-height: 80px;
    }
}

@media (min-width: 1600px) {
    .demo-section {
        --demo-nav-height: 88px;
    }
}

.demo-heading {
    max-width: 40rem;
    margin-bottom: 1.15rem;
    margin-left: auto;
    margin-right: auto;
}

.demo-heading h1 {
    font-size: clamp(1.65rem, 2.6vw, 2.05rem);
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.3rem;
    letter-spacing: -0.02em;
}

.demo-heading .text-warning {
    color: #ff9f0a !important;
}

.demo-heading p {
    font-size: 0.95rem;
    color: #57534e;
    line-height: 1.45;
    margin: 0;
}

.demo-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    height: auto;
    box-shadow: none;
}

.demo-form-head {
    display: none;
}

.demo-fieldset {
    border: 0;
    border-radius: 0;
    padding: 0 0 0.85rem;
    margin: 0 0 0.85rem;
    background: transparent;
    border-bottom: 1px solid #e7e5e4;
}

.demo-fieldset:last-of-type {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.demo-fieldset legend {
    float: none;
    width: auto;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    color: #111827;
    padding: 0;
    margin-bottom: 0.55rem;
}

.demo-grid-3,
.demo-grid-2 {
    display: grid;
    gap: 0.55rem 1.15rem;
    margin-bottom: 0.55rem;
}

.demo-grid-3 {
    grid-template-columns: 1fr;
}

.demo-grid-2 {
    grid-template-columns: 1fr;
}

.demo-remarks {
    margin-bottom: 0.55rem;
}

.demo-remarks textarea.form-control {
    min-height: 5.5rem;
    width: 100%;
}

@media (min-width: 768px) {
    .demo-grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

.demo-card .row {
    --bs-gutter-y: 0.55rem;
}

.demo-card .form-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #44403c;
    margin-bottom: 0.15rem;
}

.demo-card .form-control,
.demo-card .form-select,
.demo-multiselect-toggle {
    padding: 0.2rem 0 0.32rem;
    font-size: 0.92rem;
    min-height: 2.05rem;
    color: #1c1917;
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid #d6d3d1;
    border-radius: 0;
    box-shadow: none;
}

.demo-card .form-select {
    background-position: right 0 center;
    padding-right: 1.5rem;
}

.demo-card .form-control:focus,
.demo-card .form-select:focus,
.demo-multiselect-toggle:focus {
    background-color: transparent;
    border-color: var(--quanto-orange);
    box-shadow: none;
}

.demo-card .form-control::placeholder {
    color: #a8a29e;
}

.demo-card .input-group {
    border-bottom: 1px solid #d6d3d1;
    flex-wrap: nowrap;
}

.demo-card .input-group:focus-within {
    border-bottom-color: var(--quanto-orange);
}

.demo-card .input-group .form-control,
.demo-card .input-group .input-group-text {
    border: 0;
    background: transparent;
    min-height: 2.05rem;
    padding-top: 0.2rem;
    padding-bottom: 0.32rem;
}

.demo-card textarea.form-control {
    resize: vertical;
    min-height: 3.1rem;
    padding-top: 0.35rem;
}

.demo-submit {
    padding: 0.45rem 1.15rem;
    font-size: 0.92rem;
    font-weight: 700;
}

.req {
    color: var(--quanto-accent);
    font-weight: 700;
}

.demo-optional {
    color: #a8a29e;
    font-weight: 500;
    text-transform: none;
}

.demo-multiselect {
    position: relative;
}

.demo-multiselect-toggle {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.demo-multiselect-toggle.is-placeholder {
    color: #a8a29e;
}

.demo-multiselect-menu {
    display: none;
    position: absolute;
    z-index: 20;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    max-height: 16rem;
    overflow-y: auto;
    padding: 0.35rem 0;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.demo-multiselect.open .demo-multiselect-menu {
    display: block;
}

.demo-multiselect-option {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    padding: 0.4rem 0.85rem;
    font-size: 0.92em;
    font-weight: 500;
    color: #1f2937;
    cursor: pointer;
}

.demo-multiselect-option:hover {
    background: #fff7ed;
}

.demo-multiselect-option input {
    accent-color: var(--quanto-orange);
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.demo-compact-row {
    display: grid;
    gap: 0.4rem;
    grid-template-columns: 1fr;
}

.demo-compact-row .form-label {
    white-space: nowrap;
}

.demo-field-num input[type="number"] {
    -moz-appearance: textfield;
}

.demo-field-num input[type="number"]::-webkit-outer-spin-button,
.demo-field-num input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.demo-isd-prefix {
    min-width: 3.2rem;
    justify-content: center;
    font-weight: 700;
    white-space: nowrap;
    color: #57534e;
}

.captcha-question {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 1rem !important;
    letter-spacing: 1px;
    background: transparent;
    color: #1c1917;
    user-select: none;
    padding-left: 0;
}

@media (min-width: 768px) {
    .demo-compact-row {
        grid-template-columns: minmax(13rem, 1.45fr) minmax(7.75rem, 0.85fr) 6rem 7.25rem;
        gap: 0.4rem;
        align-items: start;
    }
}

.demo-invalid {
    display: none;
    color: #d6293e;
    font-size: clamp(0.62rem, 1.2vh, 0.72rem);
    line-height: 1.15;
    margin-top: 0.12rem;
}

.demo-invalid.field-validation-error {
    display: block;
}

/* ─── Get Demo: contact aside ────────────────────────────── */
.demo-aside {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-top: 0.15rem;
}

@media (min-width: 992px) {
    .demo-aside {
        padding-left: 1.75rem;
        border-left: 1px solid #e7e5e4;
    }
}

.demo-section .demo-aside-title {
    color: #111827;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 0 0.55rem;
}

.demo-section .demo-contact-row {
    color: #44403c;
    font-size: 1rem;
    padding: 0.28rem 0;
}

.demo-section .demo-contact-row:hover {
    color: var(--quanto-orange);
}

.demo-section .demo-office {
    background: transparent;
    border: 1px solid #e7e5e4;
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
}

.demo-section .demo-office p {
    color: #78716c;
}

.demo-section .demo-note {
    color: #a8a29e;
}

.demo-contact-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: clamp(0.14rem, 0.6vh, 0.32rem) 0;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: clamp(0.9rem, 1.85vh, 1.12rem);
    transition: color 0.2s;
}

.demo-contact-row i {
    color: var(--quanto-orange);
    font-size: 1.05em;
}

.demo-contact-row:hover {
    color: var(--quanto-orange);
}

.demo-contact-row-tight {
    padding: 0.1rem 0 0;
}

.demo-number-group {
    display: flex;
    flex-direction: column;
}

.demo-note {
    color: rgba(255, 255, 255, 0.45);
    font-size: clamp(0.75rem, 1.45vh, 0.88rem);
    font-style: italic;
    margin: 0 0 clamp(0.25rem, 0.9vh, 0.55rem);
}

.demo-office-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(0.3rem, 0.9vh, 0.55rem);
}

.home-cta {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
}

.home-cta h2 {
    font-size: clamp(1.45rem, 2.2vw, 1.85rem);
}

.home-stats {
    padding-top: 2rem !important;
    padding-bottom: 2.5rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-stats-top {
    border-top: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.home-stats .glance-grid {
    margin-bottom: 0;
}

/* ─── Home: Solutions spoke / doughnut ───────────────────── */
.home-solutions {
    position: relative;
    overflow: hidden;
    min-height: clamp(38rem, 82vh, 54rem);
    display: flex;
    align-items: center;
    padding: clamp(4.5rem, 9vw, 7.5rem) 0;
    background:
        linear-gradient(180deg, #111827 0%, #1a2332 55%, #111827 100%);
    color: #fff;
}

.home-solutions > .container {
    width: 100%;
}

.home-solutions-glow {
    position: absolute;
    width: min(75vw, 760px);
    height: min(75vw, 760px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(246, 156, 10, 0.2) 0%, transparent 68%);
    pointer-events: none;
}

.home-solutions-orbit {
    --orbit-r: clamp(11.5rem, 34vw, 18rem);
    position: relative;
    width: min(100%, 58rem);
    margin: 0 auto;
    aspect-ratio: 1;
    max-height: min(82vh, 54rem);
}

.home-solutions-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(var(--orbit-r) * 2.05);
    height: calc(var(--orbit-r) * 2.05);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(246, 156, 10, 0.28);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 0 48px rgba(246, 156, 10, 0.06);
    z-index: 0;
}

.home-solutions-ring::before {
    content: '';
    position: absolute;
    inset: 14%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.home-solutions-ring::after {
    content: '';
    position: absolute;
    inset: 32%;
    border-radius: 50%;
    background: radial-gradient(circle, #1a2332 0%, #151d2b 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.35);
}

.home-solutions-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    width: min(46%, 15rem);
    padding: 0.5rem 0.75rem;
    text-align: center;
    transform: translate(-50%, -50%);
}

.home-solutions-kicker {
    margin: 0 0 0.55rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--quanto-orange);
}

.home-solutions-title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.5rem, 2.6vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #fff;
}

.home-solutions-title span {
    color: var(--quanto-orange);
}

.home-solutions-lead {
    margin: 0;
    font-size: clamp(0.88rem, 1.2vw, 1rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
}

.home-solutions-spokes {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.home-spoke {
    --angle: calc(-90deg + (var(--i) * 45deg));
    --spoke-accent-rgb: 245, 158, 11;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: var(--orbit-r);
    transform-origin: center top;
    transform: translate(-50%, 0) rotate(var(--angle));
    text-decoration: none;
    color: inherit;
}

.home-spoke::before {
    content: '';
    position: absolute;
    top: 0;
    left: -1px;
    width: 2px;
    height: calc(100% - 2.75rem);
    background: linear-gradient(
        180deg,
        rgba(var(--spoke-accent-rgb), 0.7) 0%,
        rgba(var(--spoke-accent-rgb), 0.28) 75%,
        transparent 100%
    );
    pointer-events: none;
}

.home-spoke::after {
    content: '';
    position: absolute;
    bottom: 2.65rem;
    left: 50%;
    width: 0.45rem;
    height: 0.45rem;
    margin-left: -0.22rem;
    border-radius: 50%;
    background: rgb(var(--spoke-accent-rgb));
    box-shadow: 0 0 12px rgba(var(--spoke-accent-rgb), 0.75);
    pointer-events: none;
}

.home-spoke-card {
    position: absolute;
    bottom: 0;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: clamp(9rem, 15vw, 12.5rem);
    padding: 0.75rem 0.65rem;
    text-align: center;
    background: linear-gradient(
        165deg,
        rgba(var(--spoke-accent-rgb), 0.16) 0%,
        rgba(var(--spoke-accent-rgb), 0.06) 100%
    );
    border: 1px solid rgba(var(--spoke-accent-rgb), 0.38);
    border-radius: 12px;
    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    transform: translateX(-50%) rotate(calc(-1 * var(--angle)));
    transform-origin: center bottom;
    transition:
        transform 0.28s ease,
        background 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.home-spoke:hover .home-spoke-card,
.home-spoke:focus-visible .home-spoke-card {
    background: linear-gradient(
        165deg,
        rgba(var(--spoke-accent-rgb), 0.28) 0%,
        rgba(var(--spoke-accent-rgb), 0.12) 100%
    );
    border-color: rgba(var(--spoke-accent-rgb), 0.72);
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.3),
        0 0 24px rgba(var(--spoke-accent-rgb), 0.22);
    transform: translateX(-50%) rotate(calc(-1 * var(--angle))) translateY(-4px);
    outline: none;
}

.home-spoke-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 9px;
    background: rgba(var(--spoke-accent-rgb), 0.22);
    color: rgb(var(--spoke-accent-rgb));
    font-size: 1.15rem;
    box-shadow: 0 0 16px rgba(var(--spoke-accent-rgb), 0.2);
    transition: transform 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.home-spoke:hover .home-spoke-icon {
    transform: scale(1.08);
    background: rgba(var(--spoke-accent-rgb), 0.34);
    box-shadow: 0 0 20px rgba(var(--spoke-accent-rgb), 0.38);
}

.home-spoke-name {
    font-size: clamp(0.88rem, 1.15vw, 1.02rem);
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

@media (max-width: 991.98px) {
    .home-solutions {
        min-height: 0;
        display: block;
        padding: clamp(3.5rem, 8vw, 5rem) 0;
    }

    .home-solutions-orbit {
        --orbit-r: 0;
        aspect-ratio: auto;
        max-height: none;
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }

    .home-solutions-ring {
        display: none;
    }

    .home-solutions-hub {
        position: static;
        width: 100%;
        max-width: 28rem;
        margin: 0 auto;
        transform: none;
    }

    .home-solutions-spokes {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .home-spoke {
        position: static;
        width: auto;
        height: auto;
        transform: none !important;
    }

    .home-spoke::before,
    .home-spoke::after {
        display: none;
    }

    .home-spoke-card {
        position: static;
        width: 100%;
        flex-direction: row;
        align-items: center;
        gap: 0.65rem;
        padding: 0.85rem 0.9rem;
        text-align: left;
        transform: none !important;
    }

    .home-spoke:hover .home-spoke-card,
    .home-spoke:focus-visible .home-spoke-card {
        transform: translateY(-2px) !important;
    }

    .home-spoke-name {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .home-solutions-spokes {
        grid-template-columns: 1fr;
    }
}

.demo-office {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: clamp(0.5rem, 1.3vh, 0.9rem);
}

.demo-office h6 {
    color: var(--quanto-orange);
    font-weight: 700;
    font-size: clamp(0.95rem, 2vh, 1.2rem);
    margin: 0 0 0.15rem;
}

.demo-office p {
    color: rgba(255, 255, 255, 0.6);
    font-size: clamp(0.8rem, 1.65vh, 0.98rem);
    margin: 0;
}

.demo-office-wide {
    margin-top: clamp(0.4rem, 1.2vh, 0.75rem);
    border-color: rgba(245, 158, 11, 0.35);
}

/* Extra room only when the viewport is tall enough that the extra country
   row still fits without scrolling. */
@media (min-width: 992px) and (min-height: 980px) {
    .demo-heading {
        margin-bottom: 1rem;
    }

    .demo-heading h1 {
        font-size: 2.05rem;
    }

    .demo-heading p {
        font-size: 0.95rem;
    }

    .captcha-question {
        font-size: 1.05rem !important;
    }

    .demo-aside {
        gap: 0.55rem;
    }

    .demo-aside-title {
        font-size: 1.45rem;
        margin-bottom: 0.4rem;
    }

    .demo-contact-row {
        font-size: 1.12rem;
        padding: 0.28rem 0;
    }

    .demo-note {
        font-size: 0.9rem;
        margin-bottom: 0.55rem;
    }

    .demo-office {
        padding: 0.85rem;
    }

    .demo-office h6 {
        font-size: 1.15rem;
    }

    .demo-office p {
        font-size: 0.95rem;
    }

    .demo-office-grid {
        gap: 0.55rem;
    }

    .demo-office-wide {
        margin-top: 0.55rem;
    }
}

@media (min-width: 992px) and (min-height: 1280px) {
    .demo-heading {
        margin-bottom: 1.15rem;
    }

    .demo-heading h1 {
        font-size: 2.05rem;
    }

    .demo-heading p {
        font-size: 0.95rem;
    }

    .captcha-question {
        font-size: 1.15rem !important;
    }

    .demo-aside {
        gap: 0.65rem;
    }

    .demo-aside-title {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }

    .demo-contact-row {
        font-size: 1.2rem;
        padding: 0.35rem 0;
    }

    .demo-note {
        font-size: 0.95rem;
        margin-bottom: 0.7rem;
    }

    .demo-office {
        padding: 1.05rem;
    }

    .demo-office h6 {
        font-size: 1.25rem;
    }

    .demo-office p {
        font-size: 1.02rem;
    }

    .demo-office-grid {
        gap: 0.7rem;
    }

    .demo-office-wide {
        margin-top: 0.7rem;
    }

    .demo-invalid {
        font-size: 0.78rem;
    }
}

/* Below the lg breakpoint the form stacks, so a single viewport is no longer
   achievable and the page is allowed to scroll normally. */
@media (max-width: 991.98px) {
    .demo-section {
        min-height: 0;
        padding-top: 96px;
        padding-bottom: 3rem;
    }
}

/* ─── Accordion ──────────────────────────────────────────── */
.quanto-accordion .accordion-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.quanto-accordion .accordion-button {
    background: transparent;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: none;
}

.quanto-accordion .accordion-button:not(.collapsed) {
    background: rgba(245, 158, 11, 0.15);
    color: var(--quanto-orange);
}

.quanto-accordion .accordion-body {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

/* ─── Footer ─────────────────────────────────────────────── */
.quanto-footer {
    background: #0a0a0a;
    padding: 3rem 0 1rem;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--quanto-orange);
}

.footer-offices .demo-office-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.footer-offices .demo-office {
    padding: 0.7rem 0.75rem;
}

.footer-offices .demo-office h6 {
    font-size: 0.92rem;
}

.footer-offices .demo-office p {
    font-size: 0.75rem;
}

.footer-offices .demo-contact-row {
    font-size: 0.82rem;
    padding: 0.12rem 0 0;
    color: rgba(255, 255, 255, 0.85);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.footer-social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
    color: #fff;
    transform: translateY(-2px);
}

.footer-social-link.facebook {
    background: #fff;
    color: #1877F2;
    overflow: hidden;
}

.footer-social-link.facebook svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}

.footer-social-link.facebook:hover,
.footer-social-link.facebook:focus-visible {
    color: #1877F2;
    box-shadow: 0 6px 16px rgba(24, 119, 242, 0.45);
}

.footer-social-link.linkedin {
    background: #0A66C2;
}

.footer-social-link.linkedin:hover,
.footer-social-link.linkedin:focus-visible {
    box-shadow: 0 6px 16px rgba(10, 102, 194, 0.45);
}

.footer-social-link.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.footer-social-link.instagram:hover,
.footer-social-link.instagram:focus-visible {
    box-shadow: 0 6px 16px rgba(214, 36, 159, 0.45);
}

.footer-social-link.youtube {
    background: #FF0000;
}

.footer-social-link.youtube:hover,
.footer-social-link.youtube:focus-visible {
    box-shadow: 0 6px 16px rgba(255, 0, 0, 0.4);
}

/* ─── WhatsApp Float ─────────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn-quanto {
    background: var(--quanto-orange);
    color: #000;
    font-weight: 700;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-quanto:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(246, 156, 10, 0.35);
    color: #000;
    background: #e89009;
}

.btn-quanto-outline {
    background: transparent;
    color: var(--quanto-orange);
    font-weight: 700;
    border: 2px solid var(--quanto-orange);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-quanto-outline:hover {
    background: var(--quanto-orange);
    color: #000;
}

/* ─── Product Page ───────────────────────────────────────── */
.product-hero {
    background: var(--gradient-dark);
    padding: 8rem 0 2.5rem;
    color: #fff;
}

.product-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
}

.product-hero-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.product-hero-copy {
    min-width: 0;
    flex: 1;
}

.product-hero-titleline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem 1rem;
    margin-bottom: 0.85rem;
}

.product-hero-titleline .badge {
    font-size: 0.85rem;
    font-weight: 700;
}

.product-hero-titleline h1 {
    margin-bottom: 0;
}

.product-hero-mark {
    font-size: 2.35rem;
    color: var(--quanto-orange);
    line-height: 1;
    flex-shrink: 0;
}

.product-hero-lead {
    max-width: 46rem;
    margin-bottom: 0;
    font-size: 1.15rem;
    line-height: 1.55;
    opacity: 0.92;
    color: #f3f4f6;
}

.product-hero-cta {
    flex-shrink: 0;
}

.product-hero-actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
}

@media (max-width: 767.98px) {
    .product-hero-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
}

.prod-tabs {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
}

.product-feature-list .list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.product-feature-list .list-item .check-icon {
    color: var(--quanto-orange);
    font-size: 1.25rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ─── Key Feature Chips ──────────────────────────────────── */
.key-feature-chip {
    display: inline-flex;
    align-items: center;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin: 0.4rem;
    transition: all 0.3s ease;
}

.key-feature-chip:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: var(--quanto-orange);
}

.key-feature-chip i {
    color: var(--quanto-orange);
    margin-right: 0.75rem;
}

/* ─── Admin Styles ───────────────────────────────────────── */
.admin-body {
    background: #f0f2f5;
    min-height: 100vh;
}

/* Admin layout wrapper */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

/* ─── Sidebar ────────────────────────────────────────────── */
.admin-sidebar {
    width: 250px;
    min-width: 250px;
    background: var(--quanto-dark);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1040;
    transition: width 0.25s ease, min-width 0.25s ease;
    overflow: hidden;
}

/* Sidebar brand */
.sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem 1rem 1.15rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    min-height: 60px;
}

.sidebar-brand a {
    overflow: hidden;
    white-space: nowrap;
}

.sidebar-brand-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

/* Toggle between full logo and icon logo */
.sidebar-logo-icon {
    display: none;
}

.sidebar-expand-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.2rem;
    border-radius: 8px;
    transition: all 0.2s;
}

.sidebar-expand-btn:hover {
    background: rgba(255,255,255,0.08);
}

.sidebar-expand-btn .sidebar-brand-logo {
    height: 28px;
}

.sidebar-brand-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-left: 0.65rem;
    transition: opacity 0.2s ease;
}

.sidebar-toggle-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 1.1rem;
    padding: 0.3rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.sidebar-toggle-btn:hover {
    color: var(--quanto-orange);
    background: rgba(255,255,255,0.08);
}

/* Sidebar nav */
.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.75rem 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-menu-item {
    padding: 0 0.6rem;
    margin-bottom: 2px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    color: rgba(255,255,255,0.65);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
}

.sidebar-link i {
    font-size: 1.15rem;
    min-width: 1.15rem;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-link-text {
    transition: opacity 0.2s ease;
}

.sidebar-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.sidebar-link.active {
    color: var(--quanto-orange);
    background: rgba(245,158,11,0.12);
    font-weight: 600;
}

/* Sidebar footer */
.sidebar-footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 0.75rem 0.6rem;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 0.75rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
}

.sidebar-user i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.sidebar-footer-actions {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 0.35rem;
}

.sidebar-action-link {
    font-size: 0.82rem !important;
    padding: 0.45rem 0.75rem !important;
}

.sidebar-logout {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: rgba(255,255,255,0.55) !important;
}

.sidebar-logout:hover {
    color: #f87171 !important;
    background: rgba(248,113,113,0.12) !important;
}

/* ─── Sidebar Collapsed State ────────────────────────────── */
.sidebar-collapsed .admin-sidebar {
    width: 68px;
    min-width: 68px;
}

.sidebar-collapsed .sidebar-brand {
    justify-content: center;
    padding: 1rem 0.5rem;
}

.sidebar-collapsed .sidebar-brand-text,
.sidebar-collapsed .sidebar-link-text {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

/* Collapsed: hide full logo & collapse button, show icon logo */
.sidebar-collapsed .sidebar-logo-full {
    display: none !important;
}

.sidebar-collapsed .sidebar-logo-icon {
    display: flex;
    justify-content: center;
    width: 100%;
}

.sidebar-collapsed .sidebar-collapse-btn {
    display: none;
}

.sidebar-collapsed .sidebar-link {
    justify-content: center;
    padding: 0.65rem;
}

.sidebar-collapsed .sidebar-user {
    justify-content: center;
}

.sidebar-collapsed .sidebar-action-link,
.sidebar-collapsed .sidebar-logout {
    justify-content: center !important;
    padding: 0.5rem !important;
}

.sidebar-collapsed .sidebar-toggle-btn i::before {
    content: "\F4F6"; /* bi-layout-sidebar */
}

.sidebar-collapsed .admin-main {
    margin-left: 68px;
}

/* Tooltip on collapsed items */
.sidebar-collapsed .sidebar-link {
    position: relative;
}

.sidebar-collapsed .sidebar-link:hover::after {
    content: attr(title);
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--quanto-dark);
    color: #fff;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    pointer-events: none;
}

/* ─── Main Content ───────────────────────────────────────── */
.admin-main {
    flex: 1;
    margin-left: 250px;
    transition: margin-left 0.25s ease;
    min-height: 100vh;
}

.admin-content-inner {
    padding: 1.5rem 2rem;
    max-width: 100%;
}

/* ─── Mobile Top Bar ─────────────────────────────────────── */
.admin-mobile-topbar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: var(--quanto-dark);
    z-index: 1030;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.sidebar-mobile-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1035;
}

/* ─── Admin Stat Card ────────────────────────────────────── */
.admin-stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.admin-stat-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.admin-stat-card .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* ─── Responsive: Sidebar ────────────────────────────────── */
@media (max-width: 991.98px) {
    .admin-sidebar {
        transform: translateX(-100%);
        width: 260px;
        min-width: 260px;
    }

    .sidebar-mobile-open .admin-sidebar {
        transform: translateX(0);
    }

    .sidebar-mobile-open .sidebar-overlay {
        display: block;
    }

    .admin-main {
        margin-left: 0;
    }

    .sidebar-collapsed .admin-main {
        margin-left: 0;
    }

    .admin-mobile-topbar {
        display: flex;
    }

    .admin-content-inner {
        padding: 1rem;
        margin-top: 56px;
    }

    /* Hide desktop toggle on mobile */
    .sidebar-toggle-btn {
        display: none;
    }

    /* Always show full sidebar text on mobile (never collapsed) */
    .sidebar-collapsed .admin-sidebar {
        width: 260px;
        min-width: 260px;
    }

    .sidebar-collapsed .sidebar-brand-text,
    .sidebar-collapsed .sidebar-link-text {
        opacity: 1;
        width: auto;
    }

    .sidebar-collapsed .sidebar-brand {
        justify-content: space-between;
        padding: 1rem 1rem 1rem 1.15rem;
    }

    .sidebar-collapsed .sidebar-link {
        justify-content: flex-start;
        padding: 0.6rem 0.75rem;
    }

    .sidebar-collapsed .sidebar-user {
        justify-content: flex-start;
    }

    .sidebar-collapsed .sidebar-action-link,
    .sidebar-collapsed .sidebar-logout {
        justify-content: flex-start !important;
        padding: 0.45rem 0.75rem !important;
    }
}

/* ─── Form Styles ────────────────────────────────────────── */
.form-control:focus,
.form-select:focus {
    border-color: var(--quanto-orange);
    box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.15);
}

/* ─── Animations ─────────────────────────────────────────── */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .page-header h1,
    .demo-heading h1 {
        font-size: 2rem;
    }

    .demo-heading p {
        font-size: 1rem;
    }

    .page-header {
        padding: 6rem 0 3rem;
    }

    .section-first {
        padding-top: 6rem;
    }

}

/* ─── Video Player ───────────────────────────────────────── */
.video-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

.video-container video {
    width: 100%;
    display: block;
}

/* ─── Scroll to top ──────────────────────────────────────── */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--quanto-orange);
    color: #000;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 9998;
    cursor: pointer;
    transition: all 0.3s;
}

.scroll-top:hover {
    transform: translateY(-3px);
}

/* ─── Rich Text Content ──────────────────────────────────── */
.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-content h2, .blog-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.blog-content p {
    margin-bottom: 1.25rem;
}

.blog-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.blog-content blockquote {
    border-left: 4px solid var(--quanto-orange);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(245, 158, 11, 0.05);
    border-radius: 0 8px 8px 0;
}

/* ─── Tables ─────────────────────────────────────────────── */
.table-quanto {
    border-collapse: separate;
    border-spacing: 0;
}

.table-quanto thead th {
    background: var(--quanto-dark);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem;
    border: none;
}

.table-quanto thead th:first-child {
    border-radius: 12px 0 0 0;
}

.table-quanto thead th:last-child {
    border-radius: 0 12px 0 0;
}

.table-quanto tbody td {
    padding: 0.85rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}

/* ─── SEO Preview ───────────────────────────────────────── */
.seo-preview .seo-title {
    color: #1a0dab;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.seo-preview .seo-url {
    color: #006621;
    font-size: 0.8rem;
    margin: 2px 0;
}

.seo-preview .seo-desc {
    color: #545454;
    font-size: 0.8rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ─── Founder Cards ─────────────────────────────────────── */
.founder-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.25rem 1.35rem 1.1rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.founder-card:hover {
    transform: translateY(-3px);
    border-color: var(--quanto-orange);
    box-shadow: 0 10px 40px rgba(245, 158, 11, 0.12);
}

.founder-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--quanto-orange);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.18);
    margin-bottom: 0.65rem;
    background: #fff;
}

.about-founders .founder-kicker {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2937;
}

.about-founders .founder-photo {
    width: 176px;
    height: 220px;
    border-radius: 22px;
    border-width: 3px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.founder-duo {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.25rem 1.35rem;
    align-items: start;
}

.founder-duo-photos {
    display: flex;
    gap: 0.85rem;
}

.founder-profile-copy {
    min-width: 0;
    text-align: left;
}

.founder-profile-copy h5 {
    font-size: 1.15rem;
}

.founder-name-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin-bottom: 0.15rem;
}

.founder-name-row-end {
    justify-content: flex-end;
}

.profile-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 0.35rem;
    color: #0a66c2;
    background: rgba(10, 102, 194, 0.1);
    text-decoration: none;
    line-height: 1;
    flex-shrink: 0;
}

.profile-linkedin:hover {
    color: #fff;
    background: #0a66c2;
}

.profile-linkedin i {
    font-size: 0.95rem;
}

.founder-profile-copy-end {
    text-align: right;
}

.founder-profile-copy-end .founder-details li {
    padding-left: 0;
    padding-right: 0.95rem;
}

.founder-profile-copy-end .founder-details li::before {
    left: auto;
    right: 0;
}

@media (max-width: 991.98px) {
    .founder-duo {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .founder-duo-photos {
        order: -1;
    }

    .founder-profile-copy,
    .founder-profile-copy-end {
        text-align: left;
        width: 100%;
        max-width: 36rem;
    }

    .founder-name-row-end {
        justify-content: flex-start;
    }

    .founder-profile-copy-end .founder-details li {
        padding-left: 0.95rem;
        padding-right: 0;
    }

    .founder-profile-copy-end .founder-details li::before {
        left: 0;
        right: auto;
    }
}

.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
}

.founder-photo img.team-photo-lower {
    object-position: center 42%;
}

.founder-photo img.team-photo-headroom {
    object-fit: cover;
    object-position: center 22%;
}

.founder-photo img.team-photo-prasanna {
    /* Zoom past any residual bottom grey strip in the source photo */
    object-fit: cover;
    object-position: center 32%;
    transform: scale(1.28);
}

.founder-details {
    margin: 0;
}

.founder-details li {
    position: relative;
    padding: 0.28rem 0 0.28rem 0.95rem;
    line-height: 1.4;
    font-size: 0.88rem;
    font-weight: 500;
    color: #1f2937;
    border-bottom: 1px solid #f3f4f6;
}

.founder-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--quanto-orange);
}

.founder-details li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.team-header p {
    max-width: 40rem;
}

#meet-the-team,
#shareholders,
#early-team,
#current-team,
#alumni {
    scroll-margin-top: 5.5rem;
}

#meet-the-team.about-tight {
    padding-bottom: 0.35rem !important;
}

#early-team.about-tight {
    padding-top: 0.85rem !important;
}

.team-block + .team-block::before {
    content: "";
    display: block;
    width: min(38rem, 70%);
    height: 2px;
    margin: 0 auto 1.6rem;
    background: linear-gradient(
        90deg,
        transparent,
        #e7e5e4 12%,
        var(--quanto-orange) 50%,
        #e7e5e4 88%,
        transparent
    );
    border-radius: 2px;
}

.team-jump {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 0.85rem;
}

.team-jump a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.3rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50px;
}

.team-jump a:hover {
    color: var(--quanto-orange);
    border-color: var(--quanto-orange);
}

.team-jump-on-light a {
    color: #334155;
    border-color: #cbd5e1;
}

.team-jump-on-light a:hover {
    color: var(--quanto-orange);
    border-color: var(--quanto-orange);
}

.team-card-grid {
    display: grid;
    gap: 1rem;
}

.team-card-grid-core,
.team-card-grid-current {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.team-card-grid-core .founder-photo,
.team-card-grid-current .founder-photo {
    width: min(168px, 88%);
    height: auto;
    aspect-ratio: 168 / 210;
    border-radius: 22px;
}

.team-card-grid-core .founder-card,
.team-card-grid-current .founder-card {
    padding: 1rem 0.55rem 0.85rem;
}

.team-card-grid-core .founder-photo img,
.team-card-grid-current .founder-photo img {
    object-position: center 12%;
}

.team-card-grid-core h5,
.team-card-grid-current h5 {
    font-size: 0.92rem;
}

.team-card-grid-core .text-quanto-on-light,
.team-card-grid-current .text-quanto-on-light {
    font-size: 0.75rem;
    margin-bottom: 0 !important;
}

@media (min-width: 992px) {
    .team-card-grid-core,
    .team-card-grid-current {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .team-card-grid-core > *,
    .team-card-grid-current > * {
        flex: 0 0 calc((100% - 4rem) / 5);
        width: calc((100% - 4rem) / 5);
        max-width: calc((100% - 4rem) / 5);
        min-width: 0;
    }
}

.team-person-card-compact {
    padding: 1rem 0.85rem 0.95rem;
}

.team-person-card-compact .team-photo {
    width: 120px;
    height: 120px;
}

.team-person-card-compact h5 {
    font-size: 1rem;
}

.team-person-card-compact .text-quanto-on-light {
    font-size: 0.82rem;
    margin-bottom: 0 !important;
}

.team-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #f3f2fd;
    color: #b45309;
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: 0.04em;
}

.team-person-card-compact .team-initials {
    font-size: 1.45rem;
}

.team-awaiting {
    text-align: center;
    color: #6b7280;
    font-size: 0.95rem;
    margin: 0;
}

.alumni-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
}

.alumni-list li {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.9rem;
}

.alumni-name {
    font-weight: 600;
    color: #1f2937;
}

.alumni-role {
    color: #6b7280;
    margin-left: 0.35rem;
}

@media (max-width: 991.98px) {
    .team-card-grid-core,
    .team-card-grid-current {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .team-card-grid-core,
    .team-card-grid-current {
        grid-template-columns: 1fr;
    }

    .about-founders .founder-photo {
        width: 168px;
        height: 210px;
    }
}

/* ─── Quanto Journey Timeline ───────────────────────────── */
.journey-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.15rem 0.7rem;
}

.journey-item {
    --journey-color: var(--quanto-orange);
    position: relative;
    text-align: center;
    min-width: 0;
}

.journey-year {
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--journey-color);
    margin-bottom: 0.4rem;
}

.journey-dot {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--journey-color);
    color: #fff;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.55rem;
    box-shadow: 0 6px 18px color-mix(in srgb, var(--journey-color) 42%, transparent);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.journey-item:hover .journey-dot {
    transform: scale(1.12);
}

.journey-label {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0.5rem 0.45rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.35;
}

.journey-item:hover .journey-label {
    border-color: var(--journey-color);
    background: color-mix(in srgb, var(--journey-color) 16%, transparent);
}

.journey-item-last .journey-label i {
    color: var(--quanto-orange);
}

/* ─── Client Milestones (scroll timeline) ───────────────── */
.client-milestones-section {
    overflow: hidden;
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 42%, #f8fafc 100%);
}

.client-milestones-stage {
    display: grid;
    grid-template-columns: minmax(16rem, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(1.75rem, 4vw, 3rem);
    align-items: start;
}

.client-milestones-intro {
    position: sticky;
    top: 6.25rem;
    z-index: 2;
    align-self: start;
}

.client-milestones-kicker {
    font-weight: 700;
    color: #374151;
}

.client-milestones-lead {
    color: #6b7280;
    line-height: 1.55;
    max-width: 22rem;
}

.client-milestones-progress {
    margin-top: 1.35rem;
    height: 4px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.client-milestones-progress-fill {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #f97316, #ea580c, #8b5cf6, #1d4ed8, #6366f1);
    transition: width 0.2s ease;
}

.client-milestones-section.is-complete .client-milestones-progress-fill {
    width: 100% !important;
}

.client-milestones-section.is-complete .client-milestones-kicker::after {
    content: " · Journey complete";
    color: var(--quanto-orange);
}

.client-scroll-journey {
    position: relative;
    max-height: min(70vh, 38rem);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    padding: 0.5rem 0.65rem 0.5rem 0;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
}

.client-scroll-journey::-webkit-scrollbar {
    width: 6px;
}

.client-scroll-journey::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 999px;
}

.client-scroll-journey::before {
    content: "";
    position: absolute;
    left: 1.28rem;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(
        180deg,
        #f97316,
        #ea580c,
        #ef4444,
        #ec4899,
        #8b5cf6,
        #1d4ed8,
        #0d9488,
        #ca8a04,
        #f59e0b,
        #b91c1c,
        #6366f1
    );
    opacity: 0.35;
}

.client-scroll-journey::after {
    content: "";
    position: absolute;
    left: 1.28rem;
    top: 0;
    width: 3px;
    height: var(--cj-progress, 0%);
    border-radius: 999px;
    background: linear-gradient(
        180deg,
        #f97316,
        #ea580c,
        #ef4444,
        #ec4899,
        #8b5cf6,
        #1d4ed8,
        #0d9488,
        #ca8a04,
        #f59e0b,
        #b91c1c,
        #6366f1
    );
    transition: height 0.2s ease;
}

.client-scroll-item {
    --cj-color: var(--quanto-orange);
    display: grid;
    grid-template-columns: 2.6rem minmax(0, 1fr);
    gap: 0 1rem;
    min-height: auto;
    padding: 0.35rem 0 1.15rem;
    align-items: center;
    opacity: 0.34;
    transform: translate3d(0, 0.75rem, 0) scale(0.99);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.client-scroll-item:last-child {
    padding-bottom: 0.35rem;
}

.client-scroll-item.is-visible {
    opacity: 0.82;
    transform: translate3d(0, 0.35rem, 0) scale(0.99);
}

.client-scroll-item.is-active {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.client-scroll-marker {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    align-self: start;
    padding-top: 1.35rem;
}

.client-scroll-year {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--cj-color);
    line-height: 1;
    text-align: center;
    transition: transform 0.35s ease, color 0.35s ease;
}

.client-scroll-item.is-active .client-scroll-year {
    transform: scale(1.08);
}

.client-scroll-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--cj-color);
    box-shadow: 0 0 0 2px #fff;
    flex-shrink: 0;
    transition: transform 0.35s ease, background-color 0.35s ease;
}

.client-scroll-item.is-active .client-scroll-dot {
    background: var(--cj-color);
    transform: scale(1.18);
}

.client-scroll-body {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 0.9rem 1rem;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.client-scroll-item.is-active .client-scroll-body {
    border-color: color-mix(in srgb, var(--cj-color) 55%, #e5e7eb);
    box-shadow: 0 14px 34px color-mix(in srgb, var(--cj-color) 16%, transparent);
    transform: translateX(4px);
}

.client-scroll-copy {
    min-width: 0;
    text-align: left;
}

.client-journey-logo {
    position: relative;
    width: 112px;
    height: 96px;
    border-radius: 10px;
    background-color: #fff;
    border: 2px solid var(--cj-color);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--cj-color) 22%, transparent);
    overflow: hidden;
    box-sizing: border-box;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.client-journey-logo img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(var(--cj-logo-scale, 1));
    display: block;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    max-width: calc(100% - 8px);
    max-height: calc(100% - 8px);
    object-fit: contain;
    object-position: center center;
}

.client-journey-item:hover .client-journey-logo,
.client-scroll-item.is-active .client-scroll-body:hover .client-journey-logo {
    transform: scale(1.04);
}

.client-journey-item:hover .client-journey-logo img,
.client-scroll-item.is-active .client-scroll-body:hover .client-journey-logo img {
    transform: translate(-50%, -50%) scale(var(--cj-logo-scale, 1));
}

.client-journey-card {
    width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.5rem 0.4rem 0.55rem;
}

.client-journey-item:hover .client-journey-card {
    border-color: var(--cj-color);
}

.client-scroll-copy .client-journey-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.25;
    margin-bottom: 0.2rem;
}

.client-scroll-copy .client-journey-place {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 0.15rem;
}

.client-scroll-copy .client-journey-place i {
    color: var(--cj-color);
    font-size: 0.85rem;
}

.client-scroll-copy .client-journey-locations {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 0.15rem;
}

.client-scroll-copy .client-journey-locations i {
    color: var(--cj-color);
    font-size: 0.85rem;
}

.client-scroll-copy .client-journey-format {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--cj-color);
    line-height: 1.3;
}

.client-journey-place {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 0.15rem;
}

.client-journey-place i {
    color: var(--cj-color);
    font-size: 0.75rem;
}

.client-journey-locations {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 0.15rem;
}

.client-journey-locations i {
    color: var(--cj-color);
    font-size: 0.75rem;
}

.client-journey-format {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--cj-color);
    line-height: 1.3;
}

/* ─── Product Feature Cards ─────────────────────────────── */
.prod-feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    height: 100%;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.prod-feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--card-accent, var(--quanto-orange));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.prod-feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--gradient-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.card-head .prod-feature-icon {
    margin-bottom: 0;
}

.prod-feature-card .prod-feature-points {
    padding: 0;
}

.prod-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
}

.prod-card-grid .prod-feature-card {
    height: 100%;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .prod-card-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575.98px) {
    .prod-card-grid {
        grid-template-columns: 1fr;
    }
}

.prod-fb-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0.85rem;
    align-items: stretch;
}

.prod-fb-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.prod-fb-benefits {
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    gap: 0.85rem;
}

.prod-fb-grid .prod-feature-card {
    height: 100%;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .prod-fb-grid {
        grid-template-columns: 1fr;
    }

    .prod-fb-features {
        grid-template-rows: none;
    }

    .prod-fb-benefits {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
    }
}

@media (max-width: 575.98px) {
    .prod-fb-features,
    .prod-fb-benefits {
        grid-template-columns: 1fr;
    }
}

.b2b-fb-grid {
    grid-template-columns: 1fr 1fr;
}

.b2b-fb-grid .prod-fb-features,
.b2b-fb-grid .prod-fb-benefits {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

@media (max-width: 991.98px) {
    .b2b-fb-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .b2b-fb-grid .prod-fb-features,
    .b2b-fb-grid .prod-fb-benefits {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }
}

.prod-feature-pack {
    column-count: 2;
    column-gap: 1rem;
}

.prod-feature-pack .prod-feature-card {
    break-inside: avoid;
    height: auto;
    margin-bottom: 1rem;
}

.prod-feature-card-compact {
    padding: 0.95rem 1.1rem 0.75rem;
    border-radius: 12px;
}

.prod-feature-card-compact:hover {
    transform: none;
}

.prod-feature-card-compact .card-head {
    margin-bottom: 0.35rem;
    gap: 0.65rem;
}

.prod-feature-card-compact .prod-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 1rem;
}

.prod-feature-card-compact .card-head h6 {
    color: #111;
}

.prod-card-copy {
    color: #1f2937;
    font-size: 0.95rem;
    line-height: 1.55;
    font-weight: 500;
}

.prod-feature-card p.small {
    font-size: 0.925rem;
    line-height: 1.55;
}

/* Soft white body copy on dark bands — less washed-out than Bootstrap opacity-75 */
.section-dark .text-light.opacity-75,
.section-dark .prod-cta-lead,
.section-dark p.text-light,
.page-header .text-light.opacity-75 {
    opacity: 0.92 !important;
    color: #f3f4f6 !important;
}

.prod-title-badge {
    display: inline-block;
    background: #22c55e;
    color: #fff;
    font-weight: 700;
    font-size: 0.95em;
    line-height: 1.3;
    padding: 0.22em 0.55em;
    border-radius: 8px;
    vertical-align: middle;
}

.section-title .prod-title-badge {
    font-size: 0.72em;
    padding: 0.18em 0.5em;
    position: relative;
    top: -0.12em;
}

.card-head .prod-title-badge {
    font-size: 0.92rem;
    align-self: center;
}

.prod-feature-card-compact .prod-detail-list li {
    padding: 0.22rem 0 0.22rem 1.35rem;
    font-size: 0.88rem;
    line-height: 1.45;
    border-bottom: none;
}

.prod-feature-card-compact .prod-detail-list li::before {
    top: 0.22rem;
    font-size: 0.8rem;
}

@media (max-width: 767.98px) {
    .prod-feature-pack {
        column-count: 1;
    }
}

/* ─── Product Accordion Cards (B2B-style) ───────────────── */
.prod-accordion-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.prod-accordion-card:hover {
    border-color: var(--quanto-orange);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.1);
}

.prod-accordion-header {
    background: var(--quanto-dark);
    color: #fff;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.prod-accordion-header i {
    font-size: 1.5rem;
    color: var(--quanto-orange);
}

.prod-accordion-header h5 {
    font-weight: 700;
}

.prod-detail-list {
    list-style: none;
    padding: 1.25rem 1.5rem;
    margin: 0;
}

.prod-detail-list li {
    position: relative;
    padding: 0.6rem 0 0.6rem 1.75rem;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #555;
}

.prod-detail-list li:last-child {
    border-bottom: none;
}

.prod-detail-list li::before {
    content: '\F26A';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    top: 0.6rem;
    color: var(--quanto-orange);
    font-size: 0.9rem;
}

/* ─── Product Feature Card Dark (for dark sections) ─────── */
.prod-feature-card-dark {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.75rem;
    height: 100%;
    transition: all 0.3s ease;
}

.prod-feature-card-dark:hover {
    transform: translateY(-5px);
    border-color: var(--quanto-orange);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.12);
}

.prod-feature-card-dark .prod-feature-icon {
    background: var(--gradient-orange);
    color: #000;
}

/* ─── Quanto Fazhar product page ─────────────────────────── */
.fazhar-hero .fazhar-kicker {
    color: var(--quanto-orange);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.78rem;
    margin-bottom: 0.75rem;
}

.fazhar-tagline {
    color: var(--quanto-orange);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.fazhar-hero-sub {
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.fazhar-pipeline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.15rem;
}

.fazhar-pipeline li {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: var(--quanto-orange);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
}

.fazhar-hero-mark {
    height: 2.5rem;
    width: auto;
    border-radius: 6px;
    flex-shrink: 0;
}

.product-hero.fazhar-hero {
    padding: 8.5rem 0 3.75rem;
}

.fazhar-hero .product-hero-row {
    align-items: stretch;
    gap: 2.5rem;
}

.fazhar-hero .product-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fazhar-hero-cta {
    margin-top: 1.25rem;
}

.fazhar-slideshow {
    position: relative;
    flex: 1 1 52%;
    min-width: 0;
    max-width: 40rem;
    height: min(34rem, 64vh);
    min-height: 24rem;
    border-radius: 1.25rem;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.fazhar-slideshow-frame {
    position: absolute;
    top: 0.85rem;
    right: 3.5rem;
    bottom: 2.4rem;
    left: 3.5rem;
}

.fazhar-slideshow-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 0.75rem;
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    pointer-events: none;
}

.fazhar-slideshow-frame img.is-active {
    opacity: 1;
    transform: scale(1);
}

.fazhar-slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(15, 15, 15, 0.72);
    color: #fff;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
}

.fazhar-slideshow-nav:hover {
    background: rgba(15, 15, 15, 0.9);
}

.fazhar-slideshow-nav.prev {
    left: 0.45rem;
}

.fazhar-slideshow-nav.next {
    right: 0.45rem;
}

.fazhar-slideshow-meta {
    position: absolute;
    right: 3.5rem;
    bottom: 0.55rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
    z-index: 3;
}

.fazhar-slideshow-label {
    display: none;
}

.fazhar-hero-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.fazhar-hero-logo {
    height: 7.5rem;
    width: auto;
    border-radius: 12px;
}

.fazhar-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
}

.fazhar-content.section-white,
.fazhar-content.prod-tabs {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
}

#fazhar-challenges.fazhar-content {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

.fazhar-content-heading {
    margin-bottom: 1.1rem;
}

.fazhar-content .section-title {
    color: #111827;
    font-size: clamp(1.55rem, 2.4vw, 2.05rem);
}

.fazhar-content .section-title .prod-title-badge {
    background: var(--quanto-orange);
    color: #111;
}

.fazhar-content .text-quanto-on-light {
    color: var(--quanto-orange);
}

.fazhar-content .section-subtitle {
    color: #334155;
    opacity: 1;
    font-size: 1.05rem;
}

.fazhar-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
}

.fazhar-pillar {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1rem 0.9rem;
    text-align: center;
}

.fazhar-pillar h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0.45rem 0 0.15rem;
}

.fazhar-pillar p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.fazhar-pillar .prod-feature-icon {
    margin-left: auto;
    margin-right: auto;
}

.fazhar-challenges {
    display: grid;
    gap: 0.7rem;
}

.fazhar-challenge {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    align-items: stretch;
}

.fazhar-challenge-col {
    border-radius: 14px;
    padding: 1rem 1.15rem;
    height: 100%;
}

.fazhar-challenge-col.problem {
    background: #fff7f7;
    border: 1px solid #fecaca;
}

.fazhar-challenge-col.solution {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.fazhar-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    margin-bottom: 0.65rem;
}

.fazhar-badge.problem {
    background: #fecaca;
    color: #991b1b;
}

.fazhar-badge.solution {
    background: #bbf7d0;
    color: #166534;
}

.fazhar-challenge-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.2rem;
}

.fazhar-challenge-col h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: #111827;
}

.fazhar-challenge-col p:last-child {
    margin-bottom: 0;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.55;
}

@media (max-width: 991.98px) {
    .fazhar-hero .product-hero-row {
        flex-direction: column;
        align-items: stretch;
    }

    .fazhar-slideshow {
        width: 100%;
        max-width: none;
        height: 24rem;
        min-height: 20rem;
    }

    .fazhar-slideshow-frame {
        left: 3rem;
        right: 3rem;
    }

    .fazhar-slideshow-meta {
        right: 3rem;
    }

    .fazhar-pillars {
        grid-template-columns: 1fr 1fr;
    }

    .fazhar-challenge {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .fazhar-pillars {
        grid-template-columns: 1fr;
    }

    .fazhar-slideshow {
        height: 18rem;
        min-height: 16rem;
    }

    .fazhar-slideshow-frame {
        left: 2.75rem;
        right: 2.75rem;
        bottom: 2.1rem;
    }

    .fazhar-slideshow-nav {
        width: 2.15rem;
        height: 2.15rem;
    }

    .fazhar-slideshow-meta {
        right: 2.75rem;
    }

    .fazhar-hero-actions,
    .fazhar-hero-brand,
    .fazhar-slideshow {
        width: 100%;
    }
}

/* ─── Saas Grid Cards ───────────────────────────────────── */
.saas-grid-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.saas-grid-card:hover {
    transform: translateY(-3px);
    border-color: var(--quanto-orange);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.1);
}

.saas-grid-card h6 {
    color: var(--quanto-orange);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.saas-grid-card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* ─── Coming Soon ───────────────────────────────────────── */
.coming-soon-section {
    background: var(--gradient-dark);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.coming-soon-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    top: -150px;
    right: -150px;
    border-radius: 50%;
}

.coming-soon-icon {
    font-size: 6rem;
    color: var(--quanto-orange);
    opacity: 0.3;
    display: block;
    margin-bottom: 2rem;
}

/* ─── Unlock Profit page ─────────────────────────────────── */
/* This page's banner already carries the intro copy, so the default 4rem under
   the subtitle plus 5rem above the tabs stacked into a large empty band. */
.up-header {
    padding-bottom: 2rem;
}

.up-header p {
    max-width: none;
}

.up-header-lines {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 1.25rem auto 0;
    font-size: clamp(0.92rem, 1.05vw, 1.1rem);
    line-height: 1.4;
    font-weight: 400;
}

.up-header-lines span {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.up-header-lines span:not(:last-child)::after {
    content: "|";
    margin: 0 1rem;
    color: var(--quanto-orange);
    opacity: 1;
    font-weight: 700;
    font-size: 1.15em;
}

@media (max-width: 767.98px) {
    .up-header-lines {
        flex-direction: column;
        gap: 0.35rem;
        font-size: 1rem;
    }

    .up-header-lines span {
        white-space: normal;
    }

    .up-header-lines span:not(:last-child)::after {
        display: none;
    }
}

.up-tabs {
    padding-top: 1.75rem;
    padding-bottom: 3.5rem;
}
.up-tab-nav-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.up-tab-nav-wrapper::-webkit-scrollbar {
    display: none;
}

.up-tab-nav {
    gap: 0.5rem;
    white-space: nowrap;
}

.up-tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px !important;
    font-weight: 600;
    font-size: 0.95rem;
    color: #555;
    background: #fff;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.up-tab-btn:hover {
    color: var(--quanto-orange);
    border-color: var(--quanto-orange);
    background: #fff;
}

.nav-pills .up-tab-btn.active,
.nav-pills .up-tab-btn.active:hover {
    color: #000;
    background: var(--quanto-orange);
    border-color: var(--quanto-orange);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.up-tab-btn i {
    font-size: 1.1rem;
}

/* ─── Unlock Profit: Bento Card ─────────────────────────── */
.up-bento-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.up-bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--card-accent, var(--quanto-orange));
}

.up-bento-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.up-bento-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.75rem;
    transition: transform 0.4s ease;
}

.up-bento-card:hover .up-bento-img img {
    transform: scale(1.05);
}

.up-bento-text {
    padding: 1.25rem 1.5rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    flex: 1;
}

.up-bento-number {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: var(--card-accent, var(--quanto-orange));
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.up-bento-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--quanto-muted);
    font-weight: 500;
    margin: 0;
}

/* ─── Unlock Profit: Pillar cards as the tab strip ──────── */
.up-tabs .nav {
    --bs-nav-link-color: inherit;
    --bs-nav-link-hover-color: inherit;
    padding-left: 0;
}

.up-pillar-tab {
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 1.15rem 0.7rem 1.05rem;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    color: #222;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.up-pillar-tab:hover {
    transform: translateY(-3px);
    border-color: var(--pillar-color, var(--quanto-orange));
    color: #222;
}

.up-pillar-tab.active {
    border-color: var(--pillar-color, var(--quanto-orange));
    border-width: 2px;
    padding: calc(1.15rem - 1px) calc(0.7rem - 1px) calc(1.05rem - 1px);
    background: color-mix(in srgb, var(--pillar-color, var(--quanto-orange)) 12%, #fff);
    box-shadow: 0 8px 22px color-mix(in srgb, var(--pillar-color, var(--quanto-orange)) 28%, transparent);
    color: #222;
}

.up-pillar-tab:focus-visible {
    outline: 2px solid var(--pillar-color, var(--quanto-orange));
    outline-offset: 3px;
}

.up-pillar-tab .up-pillar-icon {
    margin-bottom: 0.55rem;
}

.up-pillar-tab .up-pillar-number {
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
    opacity: 0.45;
}

.up-pillar-label {
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.25;
    color: #111;
}

/* ─── Unlock Profit: Pillar Cards (shared icon / number) ─── */
.up-pillar-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.up-pillar-card:hover {
    transform: translateY(-5px);
    border-color: var(--pillar-color, var(--quanto-orange));
    box-shadow: 0 10px 40px rgba(245, 158, 11, 0.12);
}

.up-pillar-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    background: var(--pillar-color, var(--quanto-orange));
    color: #fff;
}

.up-pillar-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--pillar-color, var(--quanto-orange));
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* ─── Responsive: Unlock Profit ────────────────────────── */
@media (max-width: 768px) {
    .up-tab-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .up-tab-btn span {
        display: none;
    }

    .up-tab-btn i {
        margin: 0;
        font-size: 1.2rem;
    }

    .up-bento-img {
        height: 180px;
    }

    .up-bento-text {
        padding: 1rem;
    }

    .up-pillar-tab {
        padding: 1rem 0.6rem 0.9rem;
    }

    .up-pillar-tab.active {
        padding: calc(1rem - 1px) calc(0.6rem - 1px) calc(0.9rem - 1px);
    }

    .up-pillar-card {
        padding: 1.5rem 1rem;
    }
}

/* ─── Responsive: Timelines ─────────────────────────────── */
@media (max-width: 992px) {
    .journey-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.9rem 0.75rem;
    }
}

@media (max-width: 768px) {
    .journey-grid {
        grid-template-columns: 1fr;
        max-width: 260px;
        margin: 0 auto;
        gap: 0.85rem;
    }

    .client-milestones-stage {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .client-milestones-intro {
        position: static;
        text-align: center;
    }

    .client-milestones-lead {
        max-width: none;
        margin: 0 auto;
    }

    .client-scroll-journey {
        max-height: min(62vh, 32rem);
        padding-left: 0.15rem;
        padding-right: 0.25rem;
    }

    .client-scroll-journey::before,
    .client-scroll-journey::after {
        left: 1.05rem;
    }

    .client-scroll-item {
        grid-template-columns: 2.2rem minmax(0, 1fr);
        gap: 0 0.75rem;
        min-height: auto;
        padding-bottom: 1rem;
    }

    .client-scroll-marker {
        padding-top: 0.85rem;
    }

    .client-scroll-body {
        padding: 0.75rem 0.8rem;
        gap: 0.75rem;
    }

    .client-scroll-item.is-active .client-scroll-body {
        transform: none;
    }

    .client-journey-logo {
        width: 92px;
        height: 78px;
    }

    .client-journey-card {
        flex: 1;
    }

    .journey-dot {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .founder-photo {
        width: 150px;
        height: 150px;
    }
}

/* ─── Contract & Client Detail Styles ─────────────────────── */
.contract-type-badge {
    font-size: 0.85rem;
    padding: 0.4em 0.8em;
}

.border-3 {
    border-width: 3px !important;
}

.card .card-header {
    font-size: 0.95rem;
}

.table-quanto td small {
    line-height: 1.4;
}

/* Contract cards on client detail */
.contract-summary-card {
    border-radius: 12px;
    transition: all 0.2s ease;
}

.contract-summary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
