/* ==========================================================================
   Design tokens
   Centralized colors, radii, and shadows used throughout the page.
   ========================================================================== */
:root {
    --ink: #17211c;
    --muted: #66716b;
    --paper: #f7f8f3;
    --white: #ffffff;
    --lime: #c8ff68;
    --lime-dark: #99d63a;
    --mint: #e4ffd0;
    --forest: #173c2c;
    --forest-light: #24543f;
    --lavender: #e8e0ff;
    --peach: #ffe4d2;
    --line: rgba(23, 33, 28, .12);
    --radius-lg: 32px;
    --radius-md: 22px;
    --shadow: 0 24px 70px rgba(25, 50, 39, .10);
}

/* ==========================================================================
   Base and reset
   ========================================================================== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 104px;
}

body {
    min-width: 0;
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "DM Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
.navbar-brand,
.display-font {
    font-family: "Manrope", sans-serif;
    letter-spacing: -.035em;
}

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

/* ==========================================================================
   Shared layout and typography utilities
   ========================================================================== */
.site-container {
    width: 1180px;
    max-width: calc(100% - 96px);
    margin-inline: auto;
}

.section-space {
    padding: 120px 0;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    color: var(--forest);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.section-kicker::before {
    width: 26px;
    height: 2px;
    content: "";
    background: var(--lime-dark);
}

.section-title {
    max-width: 760px;
    margin: 0;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.08;
}

.section-copy {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

/* Shared button system */
.btn {
    border-radius: 999px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-brand {
    border: 1px solid var(--lime);
    color: var(--ink);
    background: var(--lime);
    box-shadow: 0 10px 30px rgba(173, 226, 77, .22);
}

.btn-brand:hover {
    border-color: #d5ff89;
    color: var(--ink);
    background: #d5ff89;
    box-shadow: 0 14px 36px rgba(173, 226, 77, .35);
}

.btn-dark-brand {
    border: 1px solid var(--forest);
    color: var(--white);
    background: var(--forest);
}

.btn-dark-brand:hover {
    border-color: var(--forest-light);
    color: var(--white);
    background: var(--forest-light);
}

.icon-arrow {
    display: inline-block;
    margin-left: 8px;
    transition: transform .25s ease;
}

.btn:hover .icon-arrow,
.text-link:hover .icon-arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   Header and primary navigation
   ========================================================================== */
.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    padding: 20px 0;
    transition: padding .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
    padding: 12px 0;
    background: rgba(247, 248, 243, .92);
    box-shadow: 0 8px 30px rgba(23, 33, 28, .07);
    backdrop-filter: blur(18px);
}

.navbar {
    padding: 0;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin: 0;
    color: var(--ink);
    font-size: 21px;
    font-weight: 800;
}

.brand-mark {
    position: relative;
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--forest);
}

.brand-mark::before,
.brand-mark::after {
    position: absolute;
    top: 6px;
    width: 8px;
    height: 18px;
    content: "";
    border-radius: 8px 8px 4px 4px;
    background: var(--lime);
}

.brand-mark::before {
    left: 12px;
    transform: rotate(-10deg);
}

.brand-mark::after {
    right: 12px;
    transform: rotate(10deg);
}

.brand-face {
    position: relative;
    z-index: 1;
    width: 22px;
    height: 18px;
    margin-top: 8px;
    border-radius: 50% 50% 45% 45%;
    background: var(--lime);
}

.navbar-nav {
    gap: 7px;
}

.responsive-nav-cta {
    display: none;
}

/* Hidden on desktop; displayed as the navigation trigger below 992px. */
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--white);
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    border-radius: 2px;
    background: var(--ink);
    transition: transform .25s ease, opacity .25s ease;
}

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

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

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

.navbar .nav-link {
    position: relative;
    padding: 10px 14px !important;
    color: #4f5a54;
    font-size: 14px;
    font-weight: 600;
}

.navbar .nav-link::after {
    position: absolute;
    right: 14px;
    bottom: 5px;
    left: 14px;
    height: 2px;
    content: "";
    background: var(--lime-dark);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--ink);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    transform: scaleX(1);
}

/* ==========================================================================
   Section 01 — Hero
   ========================================================================== */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 820px;
    padding: 174px 0 92px;
}

.hero-section::before {
    position: absolute;
    z-index: -1;
    top: -260px;
    right: -170px;
    width: 720px;
    height: 720px;
    content: "";
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 255, 104, .35), rgba(200, 255, 104, 0) 68%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    padding: 8px 13px 8px 9px;
    border: 1px solid rgba(23, 60, 44, .11);
    border-radius: 999px;
    color: var(--forest);
    background: rgba(255, 255, 255, .70);
    font-size: 13px;
    font-weight: 700;
}

.hero-badge span {
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--lime);
    font-size: 10px;
    letter-spacing: .08em;
}

.hero-title {
    margin-bottom: 26px;
    font-size: 74px;
    font-weight: 700;
    line-height: .99;
}

.hero-title .accent {
    position: relative;
    display: inline-block;
    color: var(--forest);
}

.hero-title .accent::after {
    position: absolute;
    z-index: -1;
    right: -4px;
    bottom: 4px;
    left: -4px;
    height: 18px;
    content: "";
    border-radius: 5px;
    background: var(--lime);
    transform: rotate(-1deg);
}

.hero-copy {
    max-width: 585px;
    margin-bottom: 34px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.7;
}

/* Hero actions and customer proof */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.text-link {
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
}

.hero-proof {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 43px;
}

.avatar-stack {
    display: flex;
    padding-left: 10px;
}

.avatar {
    display: grid;
    width: 38px;
    height: 38px;
    margin-left: -10px;
    place-items: center;
    border: 3px solid var(--paper);
    border-radius: 50%;
    color: var(--white);
    font-size: 10px;
    font-weight: 800;
}

.avatar:nth-child(1) {
    background: #d78064;
}

.avatar:nth-child(2) {
    background: #5c7bb8;
}

.avatar:nth-child(3) {
    background: #8d6aa8;
}

.avatar:nth-child(4) {
    background: var(--forest);
}

.proof-copy {
    font-size: 13px;
    line-height: 1.45;
}

.proof-copy strong {
    display: block;
    color: var(--ink);
}

.proof-copy span {
    color: var(--muted);
}

/* Analytics dashboard composition */
.hero-visual {
    position: relative;
    width: 480px;
    height: 565px;
    margin-left: auto;
}

.dashboard-card {
    position: absolute;
    inset: 38px 0 0 42px;
    overflow: hidden;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 34px;
    color: var(--white);
    background: var(--forest);
    box-shadow: 0 34px 90px rgba(23, 60, 44, .27);
    transform: rotate(2deg);
}

.dashboard-card::after {
    position: absolute;
    right: -80px;
    bottom: -120px;
    width: 340px;
    height: 340px;
    content: "";
    border-radius: 50%;
    background: rgba(200, 255, 104, .08);
}

.dash-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dash-label {
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
}

.dash-menu {
    display: flex;
    gap: 4px;
}

.dash-menu i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
}

.dash-value {
    margin: 22px 0 3px;
    font-family: "Manrope", sans-serif;
    font-size: 49px;
    font-weight: 700;
    letter-spacing: -.05em;
}

.dash-growth {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--lime);
    background: rgba(200, 255, 104, .12);
    font-size: 11px;
    font-weight: 700;
}

/* Dashboard line chart */
.chart {
    position: relative;
    height: 190px;
    margin: 32px 0 26px;
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    background: repeating-linear-gradient(to bottom, transparent 0, transparent 47px, rgba(255, 255, 255, .07) 48px);
}

.chart svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.chart-line {
    fill: none;
    stroke: var(--lime);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 4;
}

.chart-fill {
    opacity: .12;
    fill: var(--lime);
}

.chart-dot {
    fill: var(--lime);
    stroke: var(--forest);
    stroke-width: 5;
}

.dash-stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
}

.dash-stat {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 17px;
    background: rgba(255, 255, 255, .06);
}

.dash-stat strong {
    display: block;
    margin-bottom: 2px;
    font-family: "Manrope", sans-serif;
    font-size: 20px;
}

.dash-stat span {
    color: rgba(255, 255, 255, .50);
    font-size: 11px;
}

/* Floating dashboard notification cards */
.floating-lead,
.floating-roi {
    position: absolute;
    z-index: 3;
    border: 1px solid rgba(23, 33, 28, .08);
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.floating-lead {
    top: 0;
    right: -21px;
    width: 218px;
    padding: 17px;
    border-radius: 20px;
    transform: rotate(-3deg);
}

.lead-head {
    display: flex;
    align-items: center;
    gap: 11px;
}

.lead-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    background: var(--mint);
    font-size: 18px;
}

.lead-head strong {
    display: block;
    font-size: 13px;
}

.lead-head span {
    color: var(--muted);
    font-size: 10px;
}

.lead-status {
    margin-top: 13px;
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--forest);
    background: #f1f8eb;
    font-size: 10px;
    font-weight: 700;
}

.floating-roi {
    bottom: 16px;
    left: 0;
    width: 170px;
    padding: 18px;
    border-radius: 20px;
    transform: rotate(-4deg);
}

.floating-roi span {
    color: var(--muted);
    font-size: 11px;
}

.floating-roi strong {
    display: block;
    margin-top: 4px;
    font-family: "Manrope", sans-serif;
    font-size: 28px;
}

.floating-roi small {
    color: #5f9d22;
    font-size: 10px;
    font-weight: 700;
}

/* ==========================================================================
   Section 02 — Client proof strip
   ========================================================================== */
.proof-section {
    padding: 44px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .55);
}

.client-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-intro {
    max-width: 160px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    text-transform: uppercase;
}

.client-logo {
    color: #79827d;
    font-family: "Manrope", sans-serif;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.04em;
}

.client-logo span {
    color: var(--lime-dark);
}

/* ==========================================================================
   Section 03 — Services
   ========================================================================== */
.services-section {
    background: var(--white);
}

.services-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 58px;
}

.services-heading .section-copy {
    max-width: 380px;
    margin: 0 0 3px;
}

/* Reusable service card */
.service-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 350px;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--paper);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.service-card:hover {
    z-index: 2;
    border-color: rgba(153, 214, 58, .7);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
}

.service-card.featured {
    color: var(--white);
    background: var(--forest);
}

.service-number {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.service-card.featured .service-number {
    color: rgba(255, 255, 255, .55);
}

.service-icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin: 48px 0 27px;
    place-items: center;
    border-radius: 16px;
    background: var(--mint);
}

.service-card.featured .service-icon {
    background: var(--lime);
}

.service-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--forest);
}

.service-card h3 {
    margin-bottom: 14px;
    font-size: 25px;
    font-weight: 700;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.service-card.featured p {
    color: rgba(255, 255, 255, .64);
}

/* ==========================================================================
   Section 04 — Growth process
   ========================================================================== */
.process-section {
    position: relative;
    overflow: hidden;
}

.process-panel {
    padding: 70px;
    border-radius: var(--radius-lg);
    color: var(--white);
    background: var(--forest);
}

.process-panel .section-kicker {
    color: var(--lime);
}

.process-panel .section-title {
    max-width: 590px;
}

.process-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 65px;
}

.process-intro p {
    max-width: 350px;
    margin: 0;
    color: rgba(255, 255, 255, .62);
    font-size: 16px;
    line-height: 1.7;
}

/* Connected four-step timeline */
.process-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.process-steps::before {
    position: absolute;
    top: 25px;
    right: 80px;
    left: 25px;
    height: 1px;
    content: "";
    background: rgba(255, 255, 255, .14);
}

.process-step {
    position: relative;
    z-index: 1;
}

.step-dot {
    display: grid;
    width: 50px;
    height: 50px;
    margin-bottom: 28px;
    place-items: center;
    border: 8px solid var(--forest);
    border-radius: 50%;
    color: var(--forest);
    background: var(--lime);
    font-size: 11px;
    font-weight: 800;
    outline: 1px solid rgba(255, 255, 255, .20);
}

.process-step h3 {
    margin-bottom: 13px;
    font-size: 20px;
    font-weight: 700;
}

.process-step p {
    margin: 0;
    color: rgba(255, 255, 255, .55);
    font-size: 13px;
    line-height: 1.65;
}

/* ==========================================================================
   Section 05 — Case studies
   ========================================================================== */
.work-heading {
    margin-bottom: 55px;
}

.work-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--white);
    transition: transform .3s ease, box-shadow .3s ease;
}

.work-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}

/* Case-study visual mockups */
.work-visual {
    position: relative;
    height: 335px;
    padding: 35px;
}

.work-visual.lavender {
    background: var(--lavender);
}

.work-visual.peach {
    background: var(--peach);
}

.mock-window {
    position: absolute;
    inset: 34px 40px 0;
    overflow: hidden;
    padding: 18px;
    border-radius: 18px 18px 0 0;
    background: var(--white);
    box-shadow: 0 18px 50px rgba(37, 37, 42, .14);
}

.mock-bar {
    display: flex;
    gap: 5px;
    margin-bottom: 22px;
}

.mock-bar i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d6d6d6;
}

.mock-content {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 16px;
}

.mock-sidebar {
    height: 210px;
    padding: 14px;
    border-radius: 12px;
    background: #222637;
}

.mock-sidebar span {
    display: block;
    width: 70%;
    height: 5px;
    margin-bottom: 12px;
    border-radius: 5px;
    background: rgba(255, 255, 255, .20);
}

.mock-sidebar span:first-child {
    width: 43%;
    height: 9px;
    margin-bottom: 28px;
    background: var(--lime);
}

.mock-main {
    padding-top: 5px;
}

.mock-main .mock-title {
    width: 60%;
    height: 10px;
    margin-bottom: 12px;
    border-radius: 10px;
    background: #2d3040;
}

.mock-main .mock-line {
    width: 90%;
    height: 5px;
    margin-bottom: 7px;
    border-radius: 10px;
    background: #dedfe6;
}

.mock-graph {
    position: relative;
    height: 110px;
    margin-top: 23px;
    border-radius: 10px;
    background: #f4f4f7;
}

.mock-graph::after {
    position: absolute;
    right: 18px;
    bottom: 16px;
    left: 18px;
    height: 65px;
    content: "";
    background: linear-gradient(135deg, transparent 0 8%, #7c5cff 9% 11%, transparent 12% 28%, #7c5cff 29% 31%, transparent 32% 48%, #7c5cff 49% 51%, transparent 52% 68%, #7c5cff 69% 71%, transparent 72%);
    clip-path: polygon(0 76%, 22% 50%, 45% 62%, 67% 20%, 100% 0, 100% 100%, 0 100%);
    opacity: .7;
}

.work-visual.peach .mock-sidebar {
    background: #fff7f1;
}

.work-visual.peach .mock-sidebar span {
    background: #f1d7c7;
}

.work-visual.peach .mock-sidebar span:first-child {
    background: #ff7e51;
}

.work-visual.peach .mock-graph::after {
    background: linear-gradient(135deg, transparent 0 8%, #ff7e51 9% 11%, transparent 12% 28%, #ff7e51 29% 31%, transparent 32% 48%, #ff7e51 49% 51%, transparent 52%);
}

/* Case-study copy and performance results */
.work-content {
    padding: 30px 34px 34px;
}

.work-tag {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.work-content h3 {
    margin: 12px 0 12px;
    font-size: 28px;
    font-weight: 700;
}

.work-content p {
    min-height: 50px;
    margin-bottom: 25px;
    color: var(--muted);
    line-height: 1.65;
}

.result-row {
    display: flex;
    gap: 35px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.result-item strong {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: 23px;
}

.result-item span {
    color: var(--muted);
    font-size: 11px;
}

/* ==========================================================================
   Section 06 — Testimonials
   ========================================================================== */
.testimonial-section {
    background: var(--white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.testimonial-stage {
    position: relative;
    min-height: 375px;
}

/* Testimonial slides are layered and toggled with .active */
.quote-card {
    position: absolute;
    inset: 0;
    display: flex;
    padding: 46px;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    transform: translateX(20px);
    transition: opacity .4s ease, transform .4s ease;
}

.quote-card.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.quote-mark {
    color: var(--lime-dark);
    font-family: Georgia, serif;
    font-size: 70px;
    line-height: .6;
}

.quote-text {
    margin: 24px 0 34px;
    font-family: "Manrope", sans-serif;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -.025em;
}

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

.author-avatar {
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--forest);
    font-size: 12px;
    font-weight: 800;
}

.quote-author strong {
    display: block;
    font-size: 14px;
}

.quote-author span {
    color: var(--muted);
    font-size: 12px;
}

/* Previous and next controls */
.slider-controls {
    display: flex;
    gap: 9px;
    margin-top: 32px;
}

.slider-btn {
    display: grid;
    width: 47px;
    height: 47px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    background: transparent;
    transition: background-color .2s ease, color .2s ease;
}

.slider-btn:hover {
    color: var(--white);
    background: var(--forest);
}

/* ==========================================================================
   Section 07 — Final call to action
   ========================================================================== */
.cta-section {
    padding: 40px 0 100px;
    background: var(--white);
}

.cta-panel {
    position: relative;
    overflow: hidden;
    padding: 80px;
    border-radius: var(--radius-lg);
    background: var(--lime);
}

.cta-panel::before,
.cta-panel::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(23, 60, 44, .13);
    border-radius: 50%;
}

.cta-panel::before {
    top: -220px;
    right: -80px;
    width: 520px;
    height: 520px;
}

.cta-panel::after {
    top: -135px;
    right: 5px;
    width: 350px;
    height: 350px;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.cta-title {
    margin-bottom: 20px;
    font-size: 55px;
    font-weight: 700;
    line-height: 1.08;
}

.cta-copy {
    max-width: 600px;
    margin-bottom: 32px;
    color: rgba(23, 33, 28, .70);
    font-size: 17px;
    line-height: 1.7;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    padding: 72px 0 30px;
    color: var(--white);
    background: #10271d;
}

.footer-intro {
    max-width: 330px;
}

.site-footer .navbar-brand {
    color: var(--white);
}

.footer-intro p {
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .50);
    font-size: 14px;
    line-height: 1.7;
}

.footer-title {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, .45);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    gap: 13px;
}

.footer-links a {
    color: rgba(255, 255, 255, .76);
    font-size: 14px;
    transition: color .2s ease;
}

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

/* Footer legal row */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 62px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, .09);
    color: rgba(255, 255, 255, .38);
    font-size: 12px;
}

/* ==========================================================================
   Scroll reveal animation states
   JavaScript adds .is-visible when an element enters the viewport.
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive layout — Tablet
   ========================================================================== */
@media (max-width: 991.98px) {
    html {
        scroll-padding-top: 86px;
    }

    .site-container {
        width: calc(100% - 64px);
        max-width: none;
        margin-inline: auto;
    }

    .section-space {
        padding: 88px 0;
    }

    .section-title {
        font-size: 43px;
    }

    /* Compact navigation */
    .site-header {
        padding: 14px 0;
    }

    .site-header .site-container {
        position: relative;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .site-header .header-cta {
        display: none;
    }

    .navbar-nav {
        position: absolute;
        top: calc(100% + 14px);
        right: 0;
        left: 0;
        display: none;
        padding: 14px;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 2px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: rgba(255, 255, 255, .98);
        box-shadow: var(--shadow);
    }

    .navbar-nav.is-open {
        display: flex;
    }

    .navbar .nav-link {
        padding: 12px 14px !important;
        border-radius: 10px;
    }

    .navbar .nav-link::after {
        display: none;
    }

    .navbar .nav-link:hover,
    .navbar .nav-link.active {
        background: var(--mint);
    }

    .responsive-nav-cta {
        display: block;
        margin-top: 8px;
        padding-top: 12px;
        border-top: 1px solid var(--line);
    }

    .responsive-nav-cta .btn {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
        color: var(--white);
        background: var(--forest);
    }

    /* Hero */
    .hero-section {
        min-height: 0;
        padding: 145px 0 80px;
    }

    .hero-section .row {
        gap: 65px;
    }

    .hero-section .col-7,
    .hero-section .col-5 {
        width: 100%;
    }

    .hero-title {
        max-width: 720px;
        font-size: 66px;
    }

    .hero-copy {
        max-width: 680px;
    }

    .hero-visual {
        margin-inline: auto;
    }

    /* Proof strip */
    .client-logos {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 28px 44px;
    }

    .logo-intro {
        width: 100%;
        max-width: none;
    }

    /* Services */
    .services-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
    }

    .services-heading .section-copy {
        max-width: 650px;
    }

    .services-section .col-4 {
        width: 50%;
    }

    .services-section .col-4:last-child {
        width: 100%;
    }

    .service-card {
        min-height: 330px;
    }

    /* Process */
    .process-panel {
        padding: 54px;
    }

    .process-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
    }

    .process-intro p {
        max-width: 620px;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 42px;
    }

    .process-steps::before {
        display: none;
    }

    /* Case studies */
    .work-section .col-6 {
        width: 100%;
    }

    /* Testimonials */
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .testimonial-stage {
        min-height: 350px;
    }

    /* Footer */
    .site-footer .col-4,
    .site-footer .col-2,
    .site-footer .col-3 {
        width: 50%;
        margin-bottom: 42px;
    }

    .footer-bottom {
        margin-top: 12px;
    }
}

/* ==========================================================================
   Responsive layout — Mobile
   ========================================================================== */
@media (max-width: 575.98px) {
    .site-container {
        width: calc(100% - 40px);
        margin-inline: auto;
    }

    .section-space {
        padding: 68px 0;
    }

    .section-title {
        font-size: 35px;
    }

    .section-copy {
        font-size: 16px;
    }

    .btn {
        padding: 13px 19px;
    }

    /* Mobile header */
    .navbar-brand {
        gap: 8px;
        font-size: 18px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .menu-toggle {
        margin-left: auto;
    }

    /* Mobile hero */
    .hero-section {
        padding: 120px 0 62px;
    }

    .hero-section .row {
        gap: 48px;
    }

    .hero-badge {
        font-size: 11px;
    }

    .hero-title {
        font-size: 46px;
        line-height: 1.04;
    }

    .hero-title .accent::after {
        height: 12px;
    }

    .hero-copy {
        font-size: 17px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-proof {
        align-items: flex-start;
    }

    .hero-visual {
        width: 100%;
        height: 480px;
    }

    .dashboard-card {
        inset: 28px 0 0 12px;
        padding: 22px;
        border-radius: 26px;
    }

    .dash-value {
        font-size: 40px;
    }

    .chart {
        height: 150px;
        margin: 25px 0 20px;
    }

    .floating-lead {
        right: -4px;
        width: 195px;
        padding: 14px;
    }

    .floating-roi {
        bottom: 0;
        width: 150px;
        padding: 15px;
    }

    /* Mobile proof and cards */
    .proof-section {
        padding: 36px 0;
    }

    .client-logos {
        gap: 22px 30px;
    }

    .client-logo {
        font-size: 17px;
    }

    .services-section .col-4 {
        width: 100%;
    }

    .service-card {
        min-height: 0;
        padding: 26px;
    }

    .service-icon {
        margin: 34px 0 23px;
    }

    /* Mobile process */
    .process-panel {
        padding: 38px 26px;
        border-radius: 24px;
    }

    .process-panel .section-title {
        font-size: 34px;
    }

    .process-intro {
        margin-bottom: 45px;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .step-dot {
        margin-bottom: 17px;
    }

    /* Mobile case studies */
    .work-visual {
        height: 250px;
        padding: 20px;
    }

    .mock-window {
        inset: 24px 20px 0;
    }

    .mock-content {
        grid-template-columns: .65fr 1.35fr;
    }

    .mock-sidebar {
        height: 175px;
    }

    .work-content {
        padding: 25px;
    }

    .work-content h3 {
        font-size: 24px;
    }

    .result-row {
        flex-wrap: wrap;
        gap: 20px 28px;
    }

    /* Mobile testimonials */
    .testimonial-stage {
        min-height: 470px;
    }

    .quote-card {
        padding: 32px 25px;
    }

    .quote-text {
        font-size: 20px;
    }

    /* Mobile CTA */
    .cta-section {
        padding: 20px 0 68px;
    }

    .cta-panel {
        padding: 48px 25px;
        border-radius: 24px;
    }

    .cta-title {
        font-size: 37px;
    }

    .cta-copy {
        font-size: 16px;
    }

    /* Mobile footer */
    .site-footer {
        padding-top: 56px;
    }

    .site-footer .col-4,
    .site-footer .col-2,
    .site-footer .col-3 {
        width: 100%;
        margin-bottom: 36px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}