﻿/* ================================
   Self-hosted Inter (variable, latin subset) no external Google Fonts
   ================================ */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/assets/fonts/inter-variable.woff2') format('woff2');
}

/* ================================
   Global Styles & Variables
   ================================ */
:root {
    --primary-color: #1B2B44;
    --secondary-color: #4A5F7F;
    --dark-color: #0F1A2B;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================
   Typography
   ================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* ================================
   Buttons
   ================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border: 2px solid rgba(255, 255, 255, 0.95);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.125rem;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-lang {
    background: var(--primary-color);
    color: #ffffff;
    border: 1.5px solid var(--primary-color);
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    margin-left: 8px;
    letter-spacing: 0.02em;
}

.btn-lang:hover {
    background: var(--dark-color);
    color: #ffffff;
    border-color: var(--dark-color);
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
}

/* ================================
   Navigation
   ================================ */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Persistent "Free Consultation" CTA button in the nav */
.nav-cta {
    padding: 9px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
}
.nav-cta::after { display: none; }

/* ================================
   Case Assessment Wizard
   ================================ */
.wizard { margin-bottom: 8px; }
.wiz-progress { height: 6px; background: #e2e8f0; border-radius: 999px; overflow: hidden; margin-bottom: 10px; }
.wiz-progress-fill { display: block; height: 100%; width: 0; background: var(--primary-color); border-radius: 999px; transition: width 0.3s ease; }
.wiz-count { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--primary-color); margin-bottom: 12px; }
.wiz-question { font-size: 1.2rem; font-weight: 700; line-height: 1.35; margin-bottom: 18px; color: var(--dark-color, #0f172a); }
.wiz-options { display: grid; gap: 10px; }
.wiz-option {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    width: 100%; text-align: left; background: #fff; border: 1.5px solid #e2e8f0;
    border-radius: 10px; padding: 15px 16px; font-size: 0.98rem; font-weight: 600;
    color: var(--dark-color, #0f172a); cursor: pointer; font-family: inherit;
    transition: border-color 0.15s, background 0.15s, transform 0.08s;
}
.wiz-option::after { content: '→'; color: var(--primary-color); opacity: 0.45; font-weight: 700; }
.wiz-option:hover { border-color: var(--primary-color); background: #f5f8ff; }
.wiz-option:active { transform: scale(0.99); }
.wiz-option.selected { border-color: var(--primary-color); background: #eef4ff; }
.wiz-back {
    margin-top: 18px; background: none; border: none; color: var(--muted, #64748b);
    font-weight: 600; cursor: pointer; font-family: inherit; font-size: 0.9rem; padding: 4px 0;
}
.wiz-back:hover { color: var(--dark-color, #0f172a); }

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ================================
   Hero Section
   ================================ */
.hero {
    /* Mobile-first: a rich gradient with NO image, so phones (most ad traffic)
       never download the 2.4MB team photo. Desktop layers it back below. */
    background: linear-gradient(135deg, #12283f 0%, #0b1a2e 55%, #103057 100%);
    padding: 80px 0 64px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
@media (min-width: 921px) {
    .hero {
        background: linear-gradient(135deg, rgba(27, 43, 68, 0.55) 0%, rgba(15, 26, 43, 0.62) 100%),
                    url('assets/images/team-hero.webp') center center/cover no-repeat;
        padding: 96px 0 76px;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    opacity: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.hero-trust {
    list-style: none;
    margin: 0 0 3.5rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.75rem;
}

.hero-trust li {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
    font-weight: 600;
}

.hero-trust svg {
    width: 16px;
    height: 16px;
    color: #4ade80;
    margin-right: 6px;
    flex-shrink: 0;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Hero sits on a dark image, force the stats to light so the labels
   (Action Experts, Tracing Specialists, ...) aren't invisible. */
.hero .stat-number { color: #ffffff; }
.hero .stat-label { color: rgba(255, 255, 255, 0.85); opacity: 1; }

/* Two-column hero: copy + trust on the left, lead form on the right. The
   form lives above the fold so paid traffic can convert without scrolling. */
.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(1.75rem, 4vw, 3.25rem);
    align-items: center;
    max-width: 1160px;
    margin: 0 auto;
}
.hero-grid .hero-content { max-width: none; margin: 0; text-align: left; }
.hero-grid .hero-title { font-size: clamp(2rem, 3.8vw, 3rem); margin-bottom: 1rem; }
.hero-grid .hero-subtitle { font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.6; margin-bottom: 1.5rem; }
.hero-grid .hero-badge { margin-bottom: 1.25rem; }
.hero-grid .hero-trust { justify-content: flex-start; margin: 0; }

.hero-form-card {
    background: #ffffff;
    color: var(--dark-color);
    border-radius: 16px;
    padding: clamp(18px, 2.5vw, 26px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.30);
}
.hero-form-title { font-size: 1.35rem; font-weight: 800; margin: 0 0 0.25rem; color: var(--dark-color); }
.hero-form-sub { font-size: 0.9rem; color: #475569; margin: 0 0 1rem; line-height: 1.4; }
.hero-form .form-group { margin-bottom: 0.7rem; }
.hero-form label { color: var(--dark-color); font-size: 0.9rem; }
.hero-phone-row { display: flex; gap: 0.5rem; }
.hero-phone-row select { flex: 0 0 92px; }
.hero-phone-row input { flex: 1 1 auto; min-width: 0; }
.hero-form .btn-full { margin-top: 0.35rem; }

.hero-or {
    text-align: center;
    color: #94a3b8;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.hero-or::before, .hero-or::after { content: ''; flex: 1; height: 1px; background: #e2e8f0; }

.btn-whatsapp {
    background: #25D366;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: none;
}
.btn-whatsapp:hover { background: #1ebe57; color: #ffffff; }
.hero-form-trust { text-align: center; font-size: 0.8rem; color: #64748b; margin: 0.85rem 0 0; }
.hero-urgency {
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    padding: 8px 11px;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 0.9rem;
}
.hero-reassure { text-align: center; font-size: 0.82rem; color: #0f766e; font-weight: 600; margin: 0.45rem 0 0; }

/* "What happens after you get in touch" reassurance steps */
.nextsteps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    max-width: 1000px;
    margin: 0 auto;
}
.nextstep {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 26px 24px;
}
.nextstep-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.nextstep h3 { font-size: 1.08rem; margin-bottom: 8px; color: var(--dark-color); }
.nextstep p { color: #475569; font-size: 0.95rem; line-height: 1.55; margin: 0; }

/* Client reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1080px;
    margin: 0 auto;
}
.review-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
}
.review-stars { color: #f59e0b; font-size: 1.05rem; letter-spacing: 2px; margin-bottom: 10px; }
.review-text { color: #334155; font-size: 0.96rem; line-height: 1.6; margin: 0 0 18px; flex: 1; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}
.review-name { font-weight: 700; color: var(--dark-color); font-size: 0.95rem; }
.review-tag { font-size: 0.82rem; color: #64748b; }

/* Regulated firm vs fake recovery agents */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 960px; margin: 0 auto; }
.compare-col { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 24px; }
.compare-good { border-top: 4px solid #16a34a; }
.compare-bad { border-top: 4px solid #dc2626; }
.compare-col h3 { display: flex; align-items: center; gap: 9px; font-size: 1.12rem; margin: 0 0 16px; color: var(--dark-color); }
.compare-col h3 svg { width: 22px; height: 22px; flex: 0 0 auto; }
.compare-good h3 svg { color: #16a34a; }
.compare-bad h3 svg { color: #dc2626; }
.compare-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.compare-col li { position: relative; padding-left: 27px; font-size: 0.93rem; line-height: 1.5; color: #334155; }
.compare-col li::before { position: absolute; left: 0; top: -1px; font-weight: 800; font-size: 1rem; }
.compare-good li::before { content: '\2713'; color: #16a34a; }
.compare-bad li::before { content: '\2715'; color: #dc2626; }
.compare-verify { text-align: center; max-width: 760px; margin: 26px auto 0; font-size: 0.9rem; color: #475569; line-height: 1.55; }
.compare-verify a { color: var(--primary-color); font-weight: 600; }
@media (max-width: 720px) { .compare-grid { grid-template-columns: 1fr; } }

@media (max-width: 920px) {
    .hero-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .hero-grid .hero-content { text-align: center; }
    /* Hide the 4-item trust list on mobile: the form card already carries a
       trust line, so this keeps the form high on the screen. */
    .hero-grid .hero-content .hero-trust { display: none; }
    .hero-grid .hero-badge { margin-bottom: 0.85rem; }
    .hero-grid .hero-subtitle { margin-bottom: 0.75rem; }
}

/* ================================
   Trust Section
   ================================ */
/* ================================
   Situation recognition (ad-intent)
   ================================ */
.situation-section {
    background: var(--bg-light);
    padding: 4.5rem 0;
}

.situation-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2.5rem;
}

.situation-head h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.situation-head p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
}

.situation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    max-width: 960px;
    margin: 0 auto;
}

.situation-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    border-radius: 10px;
    padding: 18px 20px;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-color);
    box-shadow: var(--shadow);
}

.situation-item svg {
    width: 22px;
    height: 22px;
    color: #16a34a;
    flex-shrink: 0;
    margin-top: 1px;
}

.situation-item strong { color: var(--dark-color); }

.situation-cta {
    text-align: center;
    margin-top: 2.75rem;
}

.situation-note {
    display: block;
    margin-top: 0.9rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.trust-section {
    background: var(--white);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.trust-badges {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-icon {
    font-size: 2rem;
}

.badge-text {
    font-weight: 600;
    color: var(--text-color);
}

/* ================================
   Services Section
   ================================ */
.services-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* ================================
   Technology Section
   ================================ */
.technology-section {
    padding: 100px 0;
    background: var(--dark-color);
    color: var(--white);
}

.technology-section .section-title {
    color: var(--white);
}

.tech-intro {
    font-size: 1.125rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.8;
}

.tech-features {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

.tech-feature {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.tech-feature-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.tech-feature-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.tech-feature-content p {
    opacity: 0.85;
    line-height: 1.7;
}

.tech-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.tech-stat {
    text-align: center;
}

.tech-stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.tech-stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* ================================
   Process Section
   ================================ */
.process-section {
    padding: 100px 0;
    background: var(--white);
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1rem;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.step-content p {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.6;
}

.process-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

/* ================================
   About Section
   ================================ */
.about-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    gap: 1.5rem;
    margin: 3rem 0;
}

.about-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.about-feature p {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.certifications {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.certifications h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cert-badge {
    padding: 8px 16px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.stats-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: grid;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
}

.stat-item:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ================================
   Testimonials Section
   ================================ */
.testimonials-section {
    padding: 100px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    color: #FFB400;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* ================================
   Professional inline SVG icons (replace emoji)
   ================================ */
.badge-icon svg,
.trust-icon svg,
.method-icon svg,
.tech-feature-icon svg,
.team-name svg,
.testimonial-rating svg,
.feature-icon svg {
    display: inline-block;
    vertical-align: middle;
    color: var(--primary-color);
}
.badge-icon svg         { width: 34px; height: 34px; }
.trust-icon svg         { width: 26px; height: 26px; }
.method-icon svg        { width: 30px; height: 30px; }
.tech-feature-icon svg  { width: 34px; height: 34px; }
.team-name svg          { width: 30px; height: 30px; }
.testimonial-rating svg { width: 30px; height: 30px; }
.feature-icon svg       { width: 20px; height: 20px; color: currentColor; } /* white circle */

.testimonial-text {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.author-name {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.author-location {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.recovery-amount {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1rem;
}

/* ================================
   FAQ Section
   ================================ */
.faq-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-size: 1.125rem;
    color: var(--dark-color);
    margin: 0;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ================================
   Contact Section
   ================================ */
.contact-section {
    padding: 100px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-intro {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-methods {
    display: grid;
    gap: 2rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.method-icon {
    font-size: 2rem;
}

.method-content h4 {
    font-size: 1.125rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.method-content p {
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.method-content span {
    color: var(--text-light);
    font-size: 0.875rem;
}

.method-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.method-content a:hover {
    text-decoration: underline;
}

.emergency-contact {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #FFF3CD;
    border-left: 4px solid #FFB400;
    border-radius: 8px;
}

.emergency-contact h4 {
    color: #856404;
    margin-bottom: 0.5rem;
}

.emergency-contact p {
    color: #856404;
    line-height: 1.6;
}

.contact-form-container {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 1.75rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Multi-step form: progress indicator */
.form-progress {
    margin-bottom: 1.75rem;
}

.form-progress-bar {
    height: 6px;
    background: var(--border-color);
    border-radius: 999px;
    overflow: hidden;
}

.form-progress-fill {
    display: block;
    height: 100%;
    width: 50%;
    background: var(--primary-color);
    border-radius: 999px;
    transition: width 0.35s ease;
}

.form-step-indicator {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-color);
}

/* Secondary "Back" button (text-style) */
.btn-text {
    background: none;
    border: none;
    color: var(--secondary-color);
    font-weight: 600;
    cursor: pointer;
    padding: 0.75rem;
    margin-top: 0.5rem;
    width: 100%;
    transition: var(--transition);
}

.btn-text:hover {
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Phone field flag image + country code select + number input */
/* The .phone-group is the single bordered box; the code segment and the
   number input sit inside it, borderless, split by one thin divider. */
.phone-group {
    display: flex;
    align-items: stretch;
    gap: 0;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--white, #fff);
    overflow: hidden;
    transition: var(--transition);
}

.phone-group:focus-within {
    border-color: var(--primary-color);
}

.phone-code-box {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px 0 14px;
    border: none;
    border-right: 1px solid var(--border-color);
    background: #f8fafc;
    flex-shrink: 0;
    cursor: pointer;
}

.phone-flag-img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
    flex-shrink: 0;
}

/* Higher specificity than `.form-group select` so the code selector
   doesn't get its own border/box inside the .phone-code-box. */
.phone-group select.phone-code-select {
    border: none;
    border-radius: 0;
    width: auto;
    height: auto;
    margin: 0;
    background-color: transparent;
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    color: inherit;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    padding: 0 18px 0 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2364748b'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2px center;
}

.phone-group input[type="tel"] {
    flex: 1;
    min-width: 0;
    border: none;
    border-radius: 0;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    background: transparent;
    color: inherit;
    outline: none;
}

.checkbox-group {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

.checkbox-group label {
    font-weight: 400;
    font-size: 0.875rem;
    margin: 0;
}

.form-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* ================================
   Form Success State
   ================================ */
.form-success {
    background: var(--white);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 8px 40px rgba(0,0,0,0.10);
    animation: successFadeIn 0.5s ease;
}

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

.form-success-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 20px rgba(34,197,94,0.35);
}

.form-success h3 {
    font-size: 1.75rem;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.form-success > p {
    color: var(--text-light);
    font-size: 1rem;
    max-width: 380px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.success-steps {
    list-style: none;
    padding: 0;
    margin: 0 auto 1.75rem;
    max-width: 380px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.success-steps li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.95rem;
    color: var(--text-color);
}

.success-steps li span {
    min-width: 28px;
    height: 28px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.success-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}


.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-desc {
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-certifications {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cert {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.footer-col h4 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 1rem;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-legal {
    flex: 1;
}

.footer-legal p {
    opacity: 0.7;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.8125rem !important;
    margin-top: 1rem !important;
}

.reg-notice {
    font-size: 0.72rem !important;
    opacity: 0.5 !important;
    margin-top: 0.75rem !important;
    line-height: 1.5;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.social-link:hover {
    opacity: 1;
    color: var(--primary-color);
}

/* ================================
   Floating Action Button
   ================================ */
.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: var(--white);
    padding: 16px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    z-index: 999;
    transition: transform 0.2s ease, background 0.2s ease;
    animation: fabPulse 2.6s infinite;
}

.fab svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

@keyframes fabPulse {
    0%   { box-shadow: 0 10px 30px rgba(0,0,0,0.25), 0 0 0 0 rgba(27, 79, 216, 0.5); }
    70%  { box-shadow: 0 10px 30px rgba(0,0,0,0.25), 0 0 0 16px rgba(27, 79, 216, 0); }
    100% { box-shadow: 0 10px 30px rgba(0,0,0,0.25), 0 0 0 0 rgba(27, 79, 216, 0); }
}

.fab:hover {
    background: #0052cc;
    transform: translateY(-4px) scale(1.03);
    animation: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

@media (prefers-reduced-motion: reduce) {
    .fab { animation: none; }
}

/* ================================
   About Image
   ================================ */
.about-img-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow-lg);
}

.about-office-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.about-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.72));
    padding: 32px 20px 16px;
    display: flex;
    gap: 24px;
}

.overlay-stat { display: flex; flex-direction: column; color: white; }
.ov-num { font-size: 1.15rem; font-weight: 700; }
.ov-lbl { font-size: 0.72rem; opacity: 0.85; }

/* ================================
   Team Section
   ================================ */
.team-section {
    padding: 100px 0;
    background: #f8faff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 50px;
}

.team-card {
    background: var(--white);
    border-radius: 16px;
    padding: 28px 22px 22px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.team-photo-wrap {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 3px solid #e8eef8;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0 0 4px;
}

.team-role {
    font-size: 0.78rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.team-bio {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.55;
    margin-bottom: 14px;
}

.team-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.team-tags span {
    background: #eef2ff;
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

/* ================================
   Media / Press Section
   ================================ */
.media-section {
    padding: 48px 0;
    background: var(--white);
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.media-label {
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.media-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 32px 52px;
}

.media-logo {
    font-size: 1.1rem;
    font-weight: 800;
    color: #c0c8d4;
    font-style: italic;
    transition: color 0.2s;
    cursor: default;
    user-select: none;
}

.media-logo:hover { color: #8090aa; }

/* ================================
   Trust & Compliance Bar (E-E-A-T)
   ================================ */
.trust-compliance-section {
    padding: 40px 0;
    background: #f0f4ff;
    border-top: 1px solid #dce6ff;
    border-bottom: 1px solid #dce6ff;
}

.trust-compliance-label {
    text-align: center;
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

.trust-compliance-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 32px;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--white);
    border: 1px solid #dce6ff;
    border-radius: 10px;
    padding: 14px 18px;
    min-width: 200px;
    max-width: 230px;
    flex: 1 1 180px;
}

.trust-icon { font-size: 1.4rem; flex-shrink: 0; }
.trust-text { font-size: 0.82rem; line-height: 1.4; color: var(--text-secondary); }
.trust-text strong { color: var(--text-primary); font-size: 0.88rem; display: block; margin-bottom: 2px; }

/* Team credential badge */
.team-tags .tag-cert {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

/* Team section last-reviewed note */
.section-reviewed {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: 4px;
}

@media (max-width: 640px) {
    .trust-compliance-bar { flex-direction: column; align-items: center; }
    .trust-item { max-width: 100%; width: 100%; }
}

/* ================================
   Rating / Review Widget
   ================================ */
.rating-section {
    padding: 80px 0;
    background: #f8faff;
}

.rating-widget {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: 200px 1fr 1fr;
    overflow: hidden;
}

.rating-left {
    background: linear-gradient(135deg, var(--primary-color) 0%, #004cc4 100%);
    color: white;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.rating-platform {
    font-size: 0.78rem;
    font-weight: 600;
    opacity: 0.8;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.rating-score {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
}

.rating-score span { font-size: 1.1rem; font-weight: 400; opacity: 0.65; }
.rating-stars { color: #ffd700; font-size: 1.15rem; letter-spacing: 1px; margin-bottom: 8px; }
.rating-count { font-size: 0.75rem; opacity: 0.72; }

.rating-bars {
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.star-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #777;
    width: 28px;
    flex-shrink: 0;
}

.bar-wrap {
    flex: 1;
    height: 8px;
    background: #eef0f5;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffb300);
    border-radius: 4px;
}

.bar-pct {
    font-size: 0.78rem;
    color: #999;
    width: 32px;
    text-align: right;
    flex-shrink: 0;
}

.rating-highlights {
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    border-left: 1px solid #f0f2f7;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.hi-icon { font-size: 1.5rem; line-height: 1; flex-shrink: 0; }

.hi-text { font-size: 0.87rem; color: #666; line-height: 1.5; }
.hi-text strong { display: block; color: #222; font-weight: 700; margin-bottom: 2px; }

/* ================================
   Testimonial Avatars
   ================================ */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eef2ff;
    flex-shrink: 0;
}

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

    .hero-title {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

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

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

    .rating-widget {
        grid-template-columns: 1fr;
    }

    .rating-highlights {
        border-left: none;
        border-top: 1px solid #f0f2f7;
    }
}

@media (max-width: 768px) {
    /* Only the full nav (with a hamburger, id=navMenu) collapses off-screen.
       Landing pages use a class-only .nav-menu with no hamburger, so it must
       stay visible. */
    #navMenu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        max-height: calc(100dvh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        padding: 1.75rem 2rem 3rem;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }

    #navMenu.active {
        left: 0;
    }

    /* Freeze the page behind the open menu so only the menu scrolls */
    body.menu-open { overflow: hidden; }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-cta {
        flex-direction: column;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .tech-stats {
        grid-template-columns: 1fr;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .contact-form-container {
        padding: 2rem;
    }

    .fab {
        bottom: 20px;
        right: 20px;
        padding: 12px 24px;
        font-size: 0.875rem;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .media-logos {
        gap: 24px 36px;
    }

    .about-img-overlay {
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.75rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .btn-large {
        padding: 14px 30px;
        font-size: 1rem;
    }

    .trust-badges {
        flex-direction: column;
    }
}

/* ================================
   Mobile refinements, easy to surf
   ================================ */
@media (max-width: 768px) {
    /* Consistent, comfortable vertical rhythm */
    .services-section, .technology-section, .process-section,
    .about-section, .trust-section, .trust-compliance-section,
    .testimonials-section, .faq-section, .blog-grid-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }
    .section-header { margin-bottom: 26px; }

    /* Hero breathing room */
    .hero { padding: 44px 0 32px; }
    .hero-trust { gap: 10px 16px; }
    .hero-stats { gap: 1rem; margin-top: 2.25rem; }

    /* Landing-page nav (no hamburger) stays visible + tidy */
    .navbar .nav-menu:not(#navMenu) { gap: 12px; }

    /* Forms: use the width; font-size:16px stops iOS zooming on focus */
    .contact-form-container { padding: 1.5rem; }
    .form-group input, .form-group select, .form-group textarea,
    .phone-group input, #phone { font-size: 16px; }

    /* Wizard: bigger, thumb-friendly targets */
    .wiz-option { padding: 16px; font-size: 1rem; }
    .wiz-question { font-size: 1.12rem; }
}

@media (max-width: 600px) {
    /* Landing nav: keep logo + tap-to-call; the CTA lives in the sticky bar */
    .navbar .nav-menu:not(#navMenu) .btn-primary { display: none; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .logo-text { display: none; }        /* save width; logo image stays */
    .hero-title { font-size: 1.6rem; line-height: 1.25; }
    .hero-subtitle { font-size: 0.98rem; }
    .stat-number { font-size: 1.5rem; }
    .stat-label { font-size: 0.72rem; }
    .section-title { font-size: 1.6rem; }
    .contact-form-container { padding: 1.25rem; }
}

/* ================================
   Animations
   ================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.testimonial-card,
.tech-feature,
.process-step {
    animation: fadeInUp 0.6s ease-out;
}

/* ================================
   Utility Classes
   ================================ */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ================================
   Accessibility
   ================================ */
:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* ================================
   Blog Pages
   ================================ */
.blog-hero {
    background: linear-gradient(135deg, var(--primary-color), #0052cc);
    color: var(--white);
    padding: 6rem 0 4rem;
    text-align: center;
    margin-top: 80px;
}

.blog-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.blog-hero p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

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

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.blog-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.blog-category {
    background: #e8f0fe;
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 20px;
}

.blog-read-time {
    font-size: 0.8rem;
    color: var(--text-light);
}

.blog-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1.25rem;
}

.blog-card-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    color: var(--text-light);
}

.blog-card-author strong {
    color: var(--text-color);
}

.blog-read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 0.75rem;
}

.blog-read-more:hover { text-decoration: underline; }

/* Article page */
.article-hero {
    background: linear-gradient(135deg, var(--primary-color), #0052cc);
    color: var(--white);
    padding: 5rem 0 3rem;
    margin-top: 80px;
}

.article-hero .container {
    max-width: 860px;
}

.article-category-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.article-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.88;
}

.article-meta span { display: flex; align-items: center; gap: 6px; }

.article-body-section {
    padding: 4rem 0 5rem;
    background: var(--white);
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-content {
    max-width: 720px;
}

.article-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 2.5rem 0 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.article-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.article-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 1.75rem 0 0.75rem;
}

.article-content p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-color);
    margin-bottom: 1.25rem;
}

.article-content ul, .article-content ol {
    padding-left: 1.75rem;
    margin-bottom: 1.5rem;
}

.article-content li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 0.4rem;
}

.article-content strong { color: var(--dark-color); }

.article-callout {
    background: #e8f0fe;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
}

.article-callout p {
    margin: 0;
    font-size: 1rem;
    color: var(--dark-color);
    font-weight: 500;
}

.article-warning {
    background: #fff8e1;
    border-left: 4px solid #f59e0b;
    border-radius: 0 8px 8px 0;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
}

.article-warning p { margin: 0; font-size: 1rem; color: #78350f; }

.article-sidebar {
    align-self: start;
    position: sticky;
    top: 100px;
}

.sidebar-cta {
    background: var(--primary-color);
    color: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.sidebar-cta h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.sidebar-cta p {
    color: var(--white);
    font-size: 0.9rem;
    opacity: 0.88;
    margin-bottom: 1.25rem;
}

.sidebar-cta .btn {
    background: var(--white);
    color: var(--primary-color);
    font-size: 0.9rem;
    padding: 10px 20px;
    display: block;
    width: 100%;
}

.sidebar-cta .btn:hover { background: #f0f4ff; }

.sidebar-related {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem;
}

.sidebar-related h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

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

.sidebar-related ul li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-related ul li:last-child { border-bottom: none; }

.sidebar-related ul li a {
    font-size: 0.9rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    line-height: 1.4;
}

.sidebar-related ul li a:hover { text-decoration: underline; }

.article-cta-banner {
    background: linear-gradient(135deg, var(--primary-color), #0052cc);
    color: var(--white);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    margin-top: 3rem;
}

.article-cta-banner h2 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    border: none !important;
    padding: 0 !important;
    margin-top: 0 !important;
}

.article-cta-banner p {
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.article-cta-banner .btn {
    background: var(--white);
    color: var(--primary-color);
    font-weight: 700;
}

@media (max-width: 900px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
    .article-hero h1 { font-size: 2rem; }
}

@media (max-width: 600px) {
    .blog-grid { grid-template-columns: 1fr; }
    .blog-hero h1 { font-size: 2rem; }
    .article-hero h1 { font-size: 1.6rem; }
}

/* ================================
   Legal Pages (Privacy & Terms)
   ================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), #0052cc);
    color: var(--white);
    padding: 6rem 0 4rem;
    text-align: center;
    margin-top: 80px;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.page-header p {
    font-size: 1.125rem;
    opacity: 0.9;
}

.legal-content {
    padding: 4rem 0;
    background: var(--white);
}

.legal-document {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.legal-document h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.legal-document h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-document h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-document h4 {
    font-size: 1.25rem;
    color: var(--dark-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-document p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: var(--text-color);
}

.legal-document ul,
.legal-document ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-document li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
    color: var(--text-color);
}

.legal-document strong {
    color: var(--dark-color);
    font-weight: 600;
}

.legal-document a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.legal-document a:hover {
    text-decoration: underline;
}

.contact-box {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-color);
}

.contact-box p {
    margin-bottom: 0.75rem;
}

.contact-box p:last-child {
    margin-bottom: 0;
}

/* Responsive Legal Pages */
@media (max-width: 768px) {
    .page-header {
        padding: 4rem 0 2rem;
    }

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

    .legal-document {
        padding: 1.5rem;
    }

    .legal-document h2 {
        font-size: 1.5rem;
    }

    .legal-document h3 {
        font-size: 1.25rem;
    }
}
