:root {
    --color-primary: #F5B800;
    --color-dark: #1C1C1E;
    --color-bg: #F8F8F2;
    --color-muted: #7A7A84;
    --color-border: #E2E2E8;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.06);
    --max-width: 1120px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--color-bg);
    color: var(--color-dark);
    line-height: 1.6;
}


.metric-value {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;

    /* New: fade-in + zoom effect */
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Metrics Graph */

.metrics-graph {
    margin-top: 0.5rem;
    margin-bottom: 1.2rem;
    padding: 0.9rem 0.6rem 0.7rem;
    border-radius: 16px;
    background: #fafafc;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.metrics-graph-header {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-bottom: 0.7rem;
    padding: 0 0.2rem;
}

.metrics-graph-title {
    font-size: 0.84rem;
    font-weight: 600;
}

.metrics-graph-subtitle {
    font-size: 0.75rem;
    color: var(--color-muted);
}

/* IMPORTANT: give the graph body a fixed height */
.metrics-graph-body {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: flex-end;
    gap: 0.7rem;
    height: 150px;          /* fixed height so % on bars works */
    padding: 0.4rem 0.2rem 0.2rem;
}

.metrics-bar-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    gap: 0.4rem;
    height: 100%;           /* bars use % of this */
}

/*logo*/
/* Logo hover animation */
.brand-logo-wrapper {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-soft);

    /* Smooth animation */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover effects */
.brand-logo-wrapper:hover {
    transform: scale(1.02) rotate(3deg);
    box-shadow: 0 8px 18px rgba(245, 184, 0, 0.35); /* golden glow */
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (hover: none) {
    .brand-logo-wrapper:hover {
        transform: none;
        box-shadow: var(--shadow-soft);
    }
}


/* the bar itself */
.metrics-bar {
    width: 100%;
    border-radius: 999px 999px 6px 6px;
    background: linear-gradient(180deg, #ffe58a, var(--color-primary));
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);

    /* start collapsed */
    height: 0%;
    transform-origin: bottom;
    transition: height 0.7s ease-out, opacity 0.4s ease-out;
    opacity: 0.4;
}

.metrics-bar.metrics-bar-animate {
    opacity: 1;
}

.metrics-bar-label {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.metrics-bar-name {
    font-size: 0.78rem;
    font-weight: 600;
}

.metrics-bar-note {
    font-size: 0.72rem;
    color: var(--color-muted);
}

.metrics-graph-scale {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    padding: 0 0.2rem;
    font-size: 0.7rem;
    color: var(--color-muted);
}

/* Mobile tweaks */
@media (max-width: 640px) {
    .metrics-graph-body {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        height: 170px;
    }
}


img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header / Layout */

header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(248, 248, 242, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.nav-inner,
main > section {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, #FFE375, var(--color-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.brand-mark::before {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid rgba(0,0,0,0.12);
    border-top-color: rgba(0,0,0,0.28);
    position: absolute;
    inset: 0;
    margin: auto;
}

.brand-name {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 1.05rem;
    text-transform: uppercase;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
}

nav li a {
    color: var(--color-muted);
    font-weight: 500;
}

nav li a:hover {
    color: var(--color-dark);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.btn {
    border-radius: 999px;
    padding: 0.6rem 1.4rem;
    font-size: 0.92rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
    background: var(--color-dark);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
}

.btn-primary span.arrow {
    font-size: 1.1rem;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.26);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.14);
    color: var(--color-dark);
}

.btn-outline:hover {
    background: rgba(0, 0, 0, 0.04);
}

/* Hero */

.hero {
    padding-top: 4rem;
    padding-bottom: 3.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2.75rem;
    align-items: center;
}

.section-label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--color-muted);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero h1 {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: clamp(2.2rem, 3vw + 1.1rem, 3.1rem);
    line-height: 1.08;
    margin-bottom: 1rem;
}

.hero h1 span.highlight {
    background: linear-gradient(120deg, var(--color-primary), #ffe07c);
    padding: 0 0.25rem;
    box-decoration-break: clone;
}

.hero-subtitle {
    font-size: 0.97rem;
    color: var(--color-muted);
    max-width: 480px;
    margin-bottom: 1.4rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.4rem;
}

.badge {
    font-size: 0.76rem;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.07);
    padding: 0.25rem 0.7rem;
    background: #ffffff;
}

.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.hero-meta {
    font-size: 0.8rem;
    color: var(--color-muted);
}

.hero-right {
    position: relative;
}

.hero-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 1.6rem 1.4rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.hero-card-title {
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-muted);
    font-weight: 600;
}

.spark-pill {
    border-radius: 999px;
    background: #fff7d0;
    padding: 0.25rem 0.65rem;
    font-size: 0.76rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.spark-pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #43c465;
}

.grid-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 1.2rem;
}

.metric-card {
    border-radius: 14px;
    border: 1px solid var(--color-border);
    padding: 0.65rem 0.75rem;
    background: #fcfcff;
}

.metric-label {
    font-size: 0.74rem;
    color: var(--color-muted);
    margin-bottom: 0.2rem;
}

.metric-value {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
}

.metric-tag {
    font-size: 0.72rem;
    margin-top: 0.1rem;
    color: var(--color-muted);
}

.channels-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.72rem;
}

.channel-pill {
    border-radius: 999px;
    background: #f5f5fa;
    padding: 0.25rem 0.6rem;
}

/* Generic section */

section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

section h2 {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.section-intro {
    max-width: 520px;
    font-size: 0.95rem;
    color: var(--color-muted);
    margin-bottom: 1.8rem;
}

/* Services */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

/* UPDATED: clickable card style */

.service-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.1rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
    display: block;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary);
}

.service-title {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.service-description {
    font-size: 0.86rem;
    color: var(--color-muted);
}

/* reused list style for about box etc */
.service-list {
    list-style: none;
    font-size: 0.86rem;
    color: var(--color-muted);
}

.service-list li {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: 0.2rem;
}

.service-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-primary);
}

/* Why Us */

.why-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2.2rem;
    align-items: center;
}

.why-points {
    list-style: none;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.why-points li {
    margin-bottom: 0.7rem;
    position: relative;
    padding-left: 1.4rem;
}

.why-points li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--color-primary);
    position: absolute;
    left: 0;
    top: 0.4rem;
}

.why-card {
    background: #1C1C1E;
    color: #ffffff;
    border-radius: var(--radius-xl);
    padding: 1.4rem 1.3rem;
    box-shadow: var(--shadow-soft);
}

.why-card h3 {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.why-mini {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
}

/* Case Studies */

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
    font-size: 0.86rem;
}

.case-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.case-tag {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-muted);
    margin-bottom: 0.3rem;
}

.case-metric {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.case-note {
    color: var(--color-muted);
}

/* Testimonials */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    font-size: 0.86rem;
}

.testimonial-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.testimonial-quote {
    margin-bottom: 0.8rem;
    color: var(--color-muted);
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--color-muted);
}

/* About */

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}

.about-box {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.2rem 1.1rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.about-meta {
    font-size: 0.86rem;
    color: var(--color-muted);
}

/* Process */

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    font-size: 0.86rem;
}

.process-step {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.step-index {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: #fff2b0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.step-title {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 0.96rem;
    margin-bottom: 0.3rem;
}

/* FAQ */

.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2rem;
}

details {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
    margin-bottom: 0.6rem;
    font-size: 0.86rem;
}

summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";
    float: right;
    font-weight: 700;
}

details[open] summary::after {
    content: "–";
}

details p {
    margin-top: 0.5rem;
    color: var(--color-muted);
}

/* CTA */

.cta-section {
    text-align: center;
    padding-bottom: 3.5rem;
}

.cta-inner {
    background: linear-gradient(135deg, var(--color-dark), #000000);
    border-radius: 26px;
    padding: 2rem 1.3rem;
    color: #ffffff;
    box-shadow: var(--shadow-soft);
}

.cta-inner h2 {
    font-size: 1.7rem;
    margin-bottom: 0.4rem;
}

.cta-inner p {
    color: rgba(255,255,255,0.78);
    max-width: 450px;
    margin: 0 auto 1.5rem;
    font-size: 0.9rem;
}

.cta-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-items: center;
    justify-content: center;
}

.cta-inline .small-note {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
}

/* Service card header with icon + title */
.service-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.45rem;
}

.service-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #FFF7D0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.service-icon i {
    line-height: 1;
}

.service-title {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 1rem;
    margin: 0; /* we moved spacing to .service-header */
}


/* Footer */

footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1rem 0;
    font-size: 0.8rem;
    color: var(--color-muted);
    margin-top: auto;
}

footer .footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive */

@media (max-width: 960px) {
    nav ul {
        display: none; /* simple mobile nav for now */
    }

    .hero {
        grid-template-columns: minmax(0, 1fr);
        padding-top: 3rem;
    }

    .hero-right {
        order: -1;
    }

    .services-grid,
    .case-grid,
    .testimonials-grid,
    .process-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-grid,
    .about-grid,
    .faq-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .services-grid,
    .case-grid,
    .testimonials-grid,
    .process-steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding-bottom: 2.6rem;
    }

    section {
        padding-top: 2.4rem;
        padding-bottom: 2.4rem;
    }
}
