/* ==========================================================================
   CallFirst marketing site — official brand spec
   Charcoal #2D2D2D, Electric Blue #0066FF, Dark Navy #1A2A4A,
   Light Gray #F7FAFC. Inter typeface.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
    /* ----- Official CallFirst brand tokens ---------------------------- */
    --cf-charcoal: #2D2D2D;
    --cf-electric-blue: #0066FF;
    --cf-electric-blue-accessible: #0052CC;
    --cf-dark-navy: #1A2A4A;
    --cf-light-gray: #F7FAFC;
    --cf-white: #FFFFFF;
    --cf-font-family: 'Inter', -apple-system, BlinkMacSystemFont,
                      'Segoe UI', sans-serif;
    --cf-weight-regular: 400;
    --cf-weight-semibold: 600;
    --cf-weight-bold: 700;

    /* ----- Legacy aliases — point old names at the new brand palette
       so every `var(--forest)` / `var(--rust)` already in this file
       picks up the correct color without needing edits. -------------- */
    --forest:      var(--cf-charcoal);
    --forest-dark: var(--cf-dark-navy);
    --forest-soft: #4F4F4F;
    --rust:        var(--cf-electric-blue);
    --rust-dark:   var(--cf-electric-blue-accessible);
    --rust-light:  #3385FF;
    --paper:       var(--cf-light-gray);
    --cream:       #ECF1F7;
    --line:        #E5EAF1;
    --ink:         var(--cf-charcoal);
    --muted:       #6B7280;

    --shadow-sm: 0 2px 8px rgba(45, 45, 45, 0.06);
    --shadow-md: 0 8px 28px rgba(26, 42, 74, 0.08);
    --shadow-lg: 0 24px 60px rgba(26, 42, 74, 0.12);
    --radius: 10px;
    --radius-lg: 16px;
    --max-w: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
    margin: 0;
    padding: 0;
    background: var(--cf-light-gray);
    color: var(--cf-charcoal);
    font-family: var(--cf-font-family);
    font-weight: var(--cf-weight-regular);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--cf-electric-blue-accessible); text-decoration: none; }
a:hover { color: var(--cf-electric-blue); }

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.75rem;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    transition: background 0.15s, border-color 0.15s, color 0.15s,
                transform 0.05s, box-shadow 0.15s;
    line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn-large { padding: 1.05rem 1.85rem; font-size: 1.05rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-primary {
    background: var(--cf-electric-blue);
    color: var(--cf-white);
    box-shadow: 0 6px 18px rgba(0, 102, 255, 0.28);
}
.btn-primary:hover {
    background: var(--cf-electric-blue-accessible);
    color: var(--cf-white);
    box-shadow: 0 10px 24px rgba(0, 102, 255, 0.34);
}
.btn-outline {
    background: transparent;
    color: var(--cf-dark-navy);
    border-color: var(--cf-dark-navy);
}
.btn-outline:hover {
    background: var(--cf-dark-navy);
    color: var(--cf-white);
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 247, 244, 0.92);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    transition: background 0.2s, box-shadow 0.2s, border-color 0.2s;
    border-bottom: 1px solid transparent;
}
.nav.scrolled {
    background: rgba(250, 247, 244, 0.97);
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--line);
}
.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 1rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
/* Two-tone CallFirst wordmark used in nav & footer. */
.logo {
    text-decoration: none;
    font-weight: var(--cf-weight-bold);
    font-size: 1.5rem;
    font-family: var(--cf-font-family);
    letter-spacing: -0.015em;
    line-height: 1;
    display: inline-flex;
    align-items: baseline;
}
.logo-call  { color: var(--cf-charcoal); }
.logo-first { color: var(--cf-electric-blue); }
/* On dark surfaces (footer, dark-nav state). */
.footer .logo .logo-call,
.nav.dark .logo .logo-call { color: var(--cf-white); }
.footer .logo .logo-first,
.nav.dark .logo .logo-first { color: var(--cf-electric-blue); }

/* --------------------------------------------------------------------------
   Urgency / credibility bar (very top of page)
   -------------------------------------------------------------------------- */
.urgency-bar {
    background: var(--cf-dark-navy);
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    padding: 0.55rem 1rem;
    font-weight: var(--cf-weight-regular);
}
.urgency-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.6rem;
}
.urgency-sep { color: var(--cf-electric-blue); opacity: 0.95; }
.nav-links {
    display: flex;
    gap: 1.6rem;
    margin-left: auto;
}
.nav-links a {
    color: var(--ink);
    font-weight: 500;
    font-size: 0.96rem;
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}
.nav-links a:hover {
    color: var(--forest);
    border-bottom-color: var(--rust);
}
.nav-cta { padding: 0.65rem 1.15rem; font-size: 0.95rem; }
.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 36px;
    height: 36px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    cursor: pointer;
    padding: 0;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--forest);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    padding: 6rem 0 5.5rem;
    text-align: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 80% 20%,
            rgba(0, 102, 255, 0.10) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 15% 80%,
            rgba(26, 42, 74, 0.08) 0%, transparent 60%);
    z-index: 0;
}
.hero-inner { position: relative; z-index: 1; }
.brand-eyebrow {
    color: var(--rust);
    font-weight: 800;
    letter-spacing: 0.32em;
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}
.hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--forest);
    margin: 0 auto 1.4rem;
    max-width: 18ch;
    font-weight: 800;
}
.hero-sub {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    color: var(--muted);
    max-width: 44rem;
    margin: 0 auto 2.4rem;
}
.hero-ctas {
    display: flex;
    gap: 0.85rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.2rem;
}

/* Hero stat trio */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 42rem;
    margin: 0 auto 2.2rem;
}
.stat-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.2rem 0.9rem 1rem;
    box-shadow: var(--shadow-sm);
}
.stat-num {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: var(--cf-weight-bold);
    color: var(--cf-electric-blue);
    letter-spacing: -0.02em;
    line-height: 1;
}
.stat-label {
    color: var(--muted);
    font-size: 0.82rem;
    margin-top: 0.45rem;
    line-height: 1.35;
}

/* Hero testimonial — single quote with stars */
.hero-testimonial {
    margin: 0 auto;
    max-width: 34rem;
    text-align: center;
}
.hero-testimonial .stars {
    display: block;
    color: var(--rust);
    letter-spacing: 0.12em;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}
.hero-testimonial blockquote {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
    font-style: italic;
    color: var(--ink);
    line-height: 1.5;
}
.hero-testimonial figcaption {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* (Industry strip removed — section deleted from layout.) */

/* --------------------------------------------------------------------------
   Section scaffolding
   -------------------------------------------------------------------------- */
.section { padding: 5.5rem 0; }
.section + .section { padding-top: 4.5rem; }
/* Stripe pattern — every other section is white. The :not() exclusion
   keeps the dark-navy "Industries We Serve" section from being painted
   white by this rule (specificity would otherwise win over .section-who). */
.section:nth-of-type(even):not(.section-who) { background: #fff; }
.section-head { margin-bottom: 3rem; }
.section-head-center { text-align: center; }
.section-head .kicker {
    display: inline-block;
    color: var(--rust);
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 0.78rem;
    margin-bottom: 0.85rem;
}
.section-head h2 {
    font-size: clamp(1.85rem, 3.2vw, 2.6rem);
    line-height: 1.15;
    color: var(--forest);
    margin: 0 0 0.85rem;
    letter-spacing: -0.015em;
    max-width: 28ch;
    margin-left: auto;
    margin-right: auto;
    font-weight: 700;
}
.section-head p {
    color: var(--muted);
    max-width: 42rem;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   Video
   -------------------------------------------------------------------------- */
.section-video { background: #fff; }
.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background:
        radial-gradient(ellipse at center, var(--cf-dark-navy) 0%, #0a1226 80%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 960px;
    margin: 0 auto;
}
.video-play {
    background: transparent;
    border: 0;
    cursor: pointer;
    width: 100px;
    height: 100px;
    color: #fff;
    transition: transform 0.2s;
}
.video-play:hover { transform: scale(1.07); }
.video-caption {
    position: absolute;
    bottom: 1rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   How It Works
   -------------------------------------------------------------------------- */
.how-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.how-card {
    position: relative;
    background: var(--cf-white);
    border: 1px solid var(--line);
    border-top: 4px solid var(--cf-electric-blue);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.85rem 2rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s, box-shadow 0.2s;
}
.how-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.how-num {
    display: block;
    font-family: var(--cf-font-family);
    font-size: 5rem;
    font-weight: var(--cf-weight-bold);
    color: var(--cf-electric-blue);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 1.1rem;
}
.how-card h3 {
    color: var(--cf-charcoal);
    font-size: 1.5rem;
    font-weight: var(--cf-weight-bold);
    margin: 0 0 0.75rem;
    line-height: 1.25;
}
.how-card p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.55;
    margin: 0;
}

/* Arrow connectors between cards on desktop. Uses Unicode RIGHTWARDS
   ARROW (U+2192) — a text glyph, not an emoji — sized in electric blue. */
.how-card:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: -1.65rem;
    transform: translateY(-55%);
    color: var(--cf-electric-blue);
    font-size: 2rem;
    font-weight: var(--cf-weight-bold);
    line-height: 1;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   Industries We Serve
   -------------------------------------------------------------------------- */
.industry-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.industry-card {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem 1.25rem;
    color: var(--cf-charcoal);
    font-weight: var(--cf-weight-semibold);
    font-size: 0.96rem;
    line-height: 1.3;
    transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s, background 0.18s, color 0.18s;
}
.industry-card::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cf-electric-blue);
    flex-shrink: 0;
    transition: transform 0.18s, background 0.18s;
}
.industry-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--cf-electric-blue);
    background: var(--cf-white);
}
.industry-card:hover::before {
    transform: scale(1.4);
}

/* --------- Industries We Serve: dark navy section override ------------- */
.section-who {
    background: var(--cf-dark-navy);
    color: var(--cf-white);
}
.section-who .section-head h2 { color: var(--cf-white); }
.section-who .section-head p  { color: rgba(255, 255, 255, 0.75); }
.section-who .kicker { color: var(--cf-electric-blue); }
.who-statement {
    text-align: center;
    color: var(--cf-white);
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-style: italic;
    font-weight: var(--cf-weight-semibold);
    line-height: 1.3;
    max-width: 38rem;
    /* 1.5rem gap to the grid below; 0 above (header sets the gap above). */
    margin: 0 auto 1.5rem;
}
/* Aggressive vertical compression for the Industries section so the
   kicker/headline/statement/grid read as one tight block. Overrides
   the global `.section { padding: 5.5rem 0 }` and `.section-head
   { margin-bottom: 3rem }` defaults. */
.section-who               { padding-top: 3rem; padding-bottom: 4rem; }
.section-who .section-head { margin-bottom: 0.75rem; }
.section-who .kicker       { margin-bottom: 0.4rem; }
.section-who .section-head h2 { margin-bottom: 0; }
.section-who .industry-card {
    background: #243558;
    color: var(--cf-white);
    border-color: rgba(255, 255, 255, 0.10);
}
.section-who .industry-card:hover {
    background: #2C4068;
    border-color: var(--cf-electric-blue);
    color: var(--cf-white);
}

/* --------------------------------------------------------------------------
   Sample Report
   -------------------------------------------------------------------------- */
.section-report { background: #fff; }
.report-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-md);
}
.report-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    border-bottom: 3px solid var(--forest);
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
}
.report-eyebrow {
    color: var(--rust);
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 0.78rem;
    margin-bottom: 0.35rem;
}
.report-card-head h3 { color: var(--forest); margin: 0 0 0.3rem; font-size: 1.6rem; }
.report-meta { color: var(--muted); margin: 0; }
.report-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.65rem;
    border-radius: 99px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.badge-verified { background: #DBE7FF; color: var(--cf-dark-navy); border: 1px solid var(--cf-electric-blue-accessible); }
.badge-ai       { background: #ECF1F7; color: var(--cf-electric-blue-accessible); border: 1px solid var(--cf-electric-blue); }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.sample-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}
.sample-table th, .sample-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}
.sample-table th {
    background: var(--forest);
    color: var(--cream);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.sample-table tr:last-child td { border-bottom: 0; }
.sample-table tr.row-5 { background: #DBE7FF; }
.sample-table tr.row-4 { background: #ECF2FF; }
.sample-table tr.row-3 { background: #FFF4D6; }
.sample-table tr.row-2,
.sample-table tr.row-1 { background: #F1F3F6; color: var(--muted); }
.stars { color: var(--cf-electric-blue); letter-spacing: 0.06em; font-size: 1rem; }
.stars .dim { color: rgba(0, 0, 0, 0.18); }

.tier { display: inline-block; padding: 0.18rem 0.55rem; border-radius: 99px; color: #fff; font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }
.tier-hot    { background: var(--rust); }
.tier-strong { background: var(--rust-dark); }
.tier-maybe  { background: var(--forest-soft); }
.tier-weak   { background: var(--forest); }
.tier-cold   { background: var(--forest-dark); }

.report-note {
    color: var(--muted);
    margin: 1.5rem 0 0;
    text-align: center;
    font-size: 0.95rem;
}
.report-cta { text-align: center; margin-top: 1.4rem; }

/* --------------------------------------------------------------------------
   Why CallFirst
   -------------------------------------------------------------------------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.why-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-icon {
    width: 56px; height: 56px;
    border-radius: 12px;
    background: rgba(0, 102, 255, 0.12);
    color: var(--cf-electric-blue);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 1.1rem;
}
.why-icon svg { width: 28px; height: 28px; }
.why-card h3 { color: var(--forest); margin: 0 0 0.5rem; font-size: 1.2rem; }
.why-card p  { color: var(--muted); margin: 0; }

/* --------------------------------------------------------------------------
   Testimonials section (between Why CallFirst and Demo)
   -------------------------------------------------------------------------- */
.section-testimonials { background: var(--paper); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.testimonial-card {
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--forest);
    border-radius: var(--radius-lg);
    padding: 1.85rem 1.6rem 1.6rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    transition: transform 0.18s, box-shadow 0.18s, border-left-color 0.18s;
}
.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--rust);
}
.testimonial-card .stars {
    color: var(--rust);
    letter-spacing: 0.1em;
    font-size: 1rem;
    line-height: 1;
}
.testimonial-card blockquote {
    margin: 0;
    color: var(--ink);
    font-size: 0.97rem;
    line-height: 1.55;
    font-style: italic;
}
.testimonial-card cite {
    color: var(--muted);
    font-style: normal;
    font-size: 0.86rem;
    font-weight: 600;
    margin-top: auto;
    letter-spacing: 0.005em;
}

/* --------------------------------------------------------------------------
   Demo Request
   -------------------------------------------------------------------------- */
.section-demo { background: var(--paper); }
.demo-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 2.5rem;
    align-items: start;
    position: relative;
}
.demo-form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.demo-form label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--forest-dark);
    font-size: 0.92rem;
}
.demo-form input,
.demo-form select,
.demo-form textarea {
    font: inherit;
    color: var(--ink);
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    appearance: none;
    -webkit-appearance: none;
}
.demo-form select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='%232C3E2D' d='M5 8l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 16px;
    padding-right: 2.4rem;
}
.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
    outline: 2px solid var(--rust);
    border-color: var(--rust);
    background: #fff;
}
.form-row.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}
.form-note {
    text-align: center;
    color: var(--muted);
    font-size: 0.88rem;
    margin: 0.4rem 0 0;
}
.demo-side {
    background: var(--cf-dark-navy);
    color: var(--cf-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}
.demo-side h3 { color: var(--cf-white); margin: 0 0 0.4rem; }
.demo-side > p { color: rgba(255, 255, 255, 0.72); margin: 0 0 1.4rem; font-size: 0.95rem; }
.contact-tile {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0.95rem 1rem;
    margin-bottom: 0.7rem;
    color: var(--cf-white);
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.contact-tile:hover {
    background: rgba(0, 102, 255, 0.18);
    border-color: var(--cf-electric-blue);
    color: var(--cf-white);
    transform: translateX(2px);
}
.contact-icon {
    width: 38px; height: 38px;
    border-radius: 8px;
    background: rgba(0, 102, 255, 0.22);
    color: var(--cf-electric-blue);
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-tile strong { display: block; color: var(--cf-white); font-size: 0.95rem; }
.contact-tile small { color: rgba(255, 255, 255, 0.65); font-size: 0.8rem; }

.form-success {
    grid-column: 1 / -1;
    background: var(--cf-white);
    border: 1px solid var(--cf-electric-blue);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
}
.success-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: #DBE7FF;
    color: var(--cf-electric-blue);
    display: inline-flex;
    align-items: center; justify-content: center;
    margin-bottom: 1rem;
}
.success-icon svg { width: 36px; height: 36px; }
.form-success h3 { color: var(--forest); margin: 0 0 0.4rem; }
.form-success p  { color: var(--muted); margin: 0.25rem 0; }
.success-meta { font-size: 0.9rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    background: var(--cf-dark-navy);
    color: var(--cf-white);
    padding: 3rem 0 2rem;
    margin-top: 2rem;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
}
.footer-brand p { color: rgba(255, 255, 255, 0.7); margin: 0.6rem 0 0; max-width: 28rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a { color: rgba(255, 255, 255, 0.78); }
.footer-links a:hover { color: var(--cf-electric-blue); }
.footer-meta { display: flex; flex-direction: column; gap: 0.4rem; text-align: right; color: rgba(255, 255, 255, 0.55); }
.footer-tag { color: rgba(255, 255, 255, 0.7); font-style: italic; }

/* --------------------------------------------------------------------------
   Reveal-on-scroll
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    will-change: opacity, transform;
}
.reveal.in-view {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
    .industry-grid { grid-template-columns: repeat(3, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .demo-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-meta { text-align: left; grid-column: 1 / -1; }
}
@media (max-width: 720px) {
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .nav-toggle { display: flex; margin-left: auto; }
    .nav.open .nav-links {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        flex-direction: column;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        padding: 1rem 1.75rem 1.4rem;
        gap: 0.5rem;
        box-shadow: var(--shadow-md);
    }
    .nav.open .nav-cta { display: inline-flex; margin-top: 0.6rem; }

    .hero { padding: 4rem 0 4rem; }
    .section { padding: 4rem 0; }
    .how-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .how-card:not(:last-child)::after { display: none; }
    .industry-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: 1fr; max-width: 22rem; }
    .form-row.two { grid-template-columns: 1fr; }
    .report-card { padding: 1.5rem; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-meta { text-align: left; }
    .urgency-bar { font-size: 0.72rem; }
    .urgency-sep { display: none; }
    .urgency-inner { flex-direction: column; gap: 0.15rem; }
}
