/* ===================================
   OMAR BACANHIM - Main Stylesheet
   Vanilla CSS3 - No Frameworks
   WCAG AA Contrast Compliant
   =================================== */

/* --- Reset --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- Design Tokens --- */
:root {
    /* Dark backgrounds */
    --dark-bg: #031228;
    --dark-bg-alt: #102238;
    --dark-surface: #1D2D44;
    /* Light backgrounds */
    --light-bg: #FFFFFF;
    --light-bg-alt: #F8FAFC;
    --border-light: #E2E8F0;
    /* Brand */
    --brand-blue: #3D85D3;
    --brand-blue-hover: #2C6BB0;
    /* Text on DARK backgrounds */
    --on-dark: #FFFFFF;
    --on-dark-sub: #C5CBD4;
    --on-dark-muted: #948E8B;
    /* Text on LIGHT backgrounds */
    --on-light: #031228;
    --on-light-sub: #4A5568;
    --on-light-muted: #5A6A80;
    /* Utilities */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: all 0.3s ease;
    --container: 1200px;
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* --- Base --- */
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--on-light);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--light-bg);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* --- Accessibility --- */
.skip-link {
    position: absolute;
    top: -50px;
    left: 16px;
    background: var(--dark-bg);
    color: var(--on-dark);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    transition: top 0.3s;
}
.skip-link:focus { top: 10px; }

/* --- Container --- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================================
   HEADER / NAVBAR
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--light-bg);
    box-shadow: var(--shadow-sm);
    height: 90px;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--on-light);
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.logo img {
    height: 96px;
    width: auto;
    display: block;
}

.footer-logo {
    height: 80px;
    width: auto;
    display: block;
    margin-bottom: 0.75rem;
    filter: brightness(0) invert(1);
}

.nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--on-light);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.25rem 0;
    position: relative;
}

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

.nav-link:hover { color: var(--brand-blue); }
.nav-link:hover::after { width: 100%; }

.header-cta {
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 24px;
    position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--on-light);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.nav-toggle span { top: 50%; transform: translateY(-50%); }
.nav-toggle span::before { content: ''; top: -8px; }
.nav-toggle span::after { content: ''; top: 8px; }

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--brand-blue);
    color: var(--on-dark);
}
.btn-primary:hover {
    background: var(--brand-blue-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary-dark {
    background: var(--dark-bg);
    color: var(--on-dark);
}
.btn-primary-dark:hover {
    background: var(--dark-bg-alt);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--on-dark);
    border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

.btn-outline-dark {
    background: transparent;
    color: var(--on-light);
    border: 1.5px solid var(--border-light);
}
.btn-outline-dark:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.1rem;
}

.btn-full { width: 100%; }

/* ===================================
   SECTION UTILITIES
   =================================== */
.section { padding: 6rem 0; }
.section--dark { background: var(--dark-bg); }
.section--dark-alt { background: var(--dark-bg-alt); }
.section--light { background: var(--light-bg); }
.section--light-alt { background: var(--light-bg-alt); }

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

/* On LIGHT backgrounds */
.section--light .section-tag,
.section--light-alt .section-tag {
    color: var(--brand-blue);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.section--light .section-title,
.section--light-alt .section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--on-light);
    margin-bottom: 1rem;
}

.section--light .section-subtitle,
.section--light-alt .section-subtitle {
    font-size: 1.15rem;
    color: var(--on-light-muted);
    max-width: 640px;
    margin: 0 auto;
}

/* On DARK backgrounds */
.section--dark .section-tag,
.section--dark-alt .section-tag {
    color: var(--brand-blue);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.section--dark .section-title,
.section--dark-alt .section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--on-dark);
    margin-bottom: 1rem;
}

.section--dark .section-subtitle,
.section--dark-alt .section-subtitle {
    font-size: 1.15rem;
    color: var(--on-dark-sub);
    max-width: 640px;
    margin: 0 auto;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    min-height: 120vh;
    display: flex;
    align-items: center;
    padding-top: 84px;
    background: var(--dark-bg);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero--home .hero-bg {
    background-image: url("assets/Gemini_Generated_Image_7t5au47t5au47t5a.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.hero--home .hero-overlay {
    background: linear-gradient(90deg, rgba(3,18,40,0.92) 0%, rgba(3,18,40,0.75) 50%, rgba(3,18,40,0.55) 100%);
}

.hero:not(.hero--home) .hero-overlay {
    background: rgba(3,18,40,0.82);
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: center;
}

.hero-content { max-width: 620px; }

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-title .white { color: var(--on-dark); display: block; }
.hero-title .blue { color: var(--brand-blue); display: block; }

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--on-dark-sub);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-metrics {
    display: flex;
    gap: 3rem;
}

.hero-metric-num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--on-dark);
    display: block;
}

.hero-metric-label {
    font-size: 0.85rem;
    color: var(--on-dark-muted);
}

/* Hero Profile Card */
.hero-card {
    background: var(--dark-bg-alt);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-card-avatar {
    width: 56px;
    height: 56px;
    background: var(--brand-blue);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--on-dark);
}

.hero-card-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--on-dark);
}

.hero-card-role {
    font-size: 0.85rem;
    color: var(--on-dark-sub);
}

.hero-card-badges {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--dark-surface);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--on-dark-sub);
}

.badge svg { color: var(--brand-blue); flex-shrink: 0; }

.floating-stat {
    position: absolute;
    bottom: -16px;
    right: -16px;
    background: var(--dark-surface);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.floating-stat-icon {
    width: 36px;
    height: 36px;
    background: rgba(61,133,211,0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
}

.floating-stat-label {
    font-size: 0.75rem;
    color: var(--on-dark-muted);
}

.floating-stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--on-dark);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===================================
   SERVICES GRID (Home summary)
   =================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--light-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

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

.service-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(61,133,211,0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
    margin-bottom: 1.25rem;
}

.service-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--on-light);
    margin-bottom: 0.75rem;
}

.service-card-text {
    font-size: 0.95rem;
    color: var(--on-light-sub);
    line-height: 1.6;
}

/* Services on DARK background */
.section--dark .service-card {
    background: var(--dark-surface);
    border-color: rgba(255,255,255,0.05);
}

.section--dark .service-card-title { color: var(--on-dark); }
.section--dark .service-card-text { color: var(--on-dark-sub); }

/* ===================================
   PROCESS SECTION (Home brief)
   =================================== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    counter-reset: step;
}

.process-step {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.process-step-num {
    width: 56px;
    height: 56px;
    background: var(--brand-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--on-dark);
    margin: 0 auto 1.25rem;
}

.process-step-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--on-light);
    margin-bottom: 0.5rem;
}

.process-step-text {
    font-size: 0.95rem;
    color: var(--on-light-sub);
}

/* ===================================
   METRICS (Home/Results)
   =================================== */
.metrics-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}

.metric-box {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
}

.metric-box-value {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 0.25rem;
}

.metric-box-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--on-dark);
}

.metric-box-desc {
    font-size: 0.85rem;
    color: var(--on-dark-sub);
    margin-top: 0.25rem;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-hover));
    padding: 5rem 0;
    text-align: center;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--on-dark);
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   CONTACT / FORM
   =================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--on-light);
    margin-bottom: 2rem;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.benefit-icon {
    width: 44px;
    height: 44px;
    background: rgba(61,133,211,0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
    flex-shrink: 0;
}

.benefit-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--on-light);
    margin-bottom: 0.25rem;
}

.benefit-item p {
    font-size: 0.9rem;
    color: var(--on-light-sub);
}

.form-card {
    background: var(--light-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.form-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--on-light);
    text-align: center;
    margin-bottom: 0.5rem;
}

.form-card-sub {
    font-size: 0.95rem;
    color: var(--on-light-muted);
    text-align: center;
    margin-bottom: 2rem;
}

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

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--on-light);
    margin-bottom: 0.4rem;
}

.form-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    background: var(--light-bg);
    color: var(--on-light);
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(61,133,211,0.12);
}

.form-input::placeholder { color: #9CA3AF; }

textarea.form-input { resize: vertical; min-height: 120px; }

.form-disclaimer {
    font-size: 0.8rem;
    color: #9CA3AF;
    text-align: center;
    margin-top: 1rem;
}

.form-success {
    text-align: center;
    padding: 3rem 1rem;
    display: none;
}

.form-success.active { display: block; }

.form-success-icon {
    width: 72px;
    height: 72px;
    background: rgba(16,185,129,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10B981;
    margin: 0 auto 1.25rem;
}

.form-success h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--on-light);
    margin-bottom: 0.5rem;
}

.form-success p {
    font-size: 1.05rem;
    color: var(--on-light-sub);
}

/* ===================================
   SERVICE DETAIL PAGES
   =================================== */
.service-detail {
    background: var(--light-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 3rem;
    margin-bottom: 2.5rem;
    transition: var(--transition);
}

.service-detail:hover { box-shadow: var(--shadow-md); }

.service-detail.featured {
    border-color: var(--brand-blue);
    background: linear-gradient(135deg, rgba(61,133,211,0.02), rgba(61,133,211,0.06));
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.service-detail-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-hover));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--on-dark);
    flex-shrink: 0;
}

.service-detail-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--on-light);
}

.featured-tag {
    background: var(--brand-blue);
    color: var(--on-dark);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: auto;
}

.service-detail-desc {
    font-size: 1.1rem;
    color: var(--on-light-sub);
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.service-detail-benefits {
    background: var(--light-bg-alt);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.75rem;
}

.service-detail-benefits h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--on-light);
    margin-bottom: 1rem;
}

.service-detail-benefits li {
    padding: 0.5rem 0 0.5rem 1.75rem;
    position: relative;
    color: var(--on-light-sub);
}

.service-detail-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-blue);
    font-weight: 700;
}

/* ===================================
   PROCESS DETAIL PAGE
   =================================== */
.process-card {
    background: var(--light-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    align-items: start;
}

.process-card-num {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-hover));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--on-dark);
}

.process-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--on-light);
    margin-bottom: 0.75rem;
}

.process-card-desc {
    font-size: 1.05rem;
    color: var(--on-light-sub);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.process-card-list {
    background: var(--light-bg-alt);
    padding: 1.25rem 1.75rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.process-card-list h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--on-light);
    margin-bottom: 0.75rem;
}

.process-card-list li {
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    color: var(--on-light-sub);
    font-size: 0.95rem;
}

.process-card-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--brand-blue);
    font-weight: 700;
}

.process-card-outcome {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(61,133,211,0.08);
    border-left: 4px solid var(--brand-blue);
    border-radius: var(--radius-sm);
}

.process-card-outcome strong {
    color: var(--brand-blue);
    font-weight: 600;
}

.process-card-outcome span {
    color: var(--on-light-sub);
}

/* ===================================
   RESULTS / CASE STUDIES
   =================================== */
.case-card {
    background: var(--light-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
}

.case-card-tag {
    display: inline-block;
    background: var(--brand-blue);
    color: var(--on-dark);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.case-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--on-light);
    margin-bottom: 1.5rem;
}

.case-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.case-metric {
    text-align: center;
    padding: 1.25rem;
    background: var(--light-bg-alt);
    border-radius: var(--radius-sm);
}

.case-metric-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brand-blue);
    display: block;
}

.case-metric-label {
    font-size: 0.85rem;
    color: var(--on-light-muted);
    font-weight: 500;
}

.case-card-desc {
    font-size: 1.05rem;
    color: var(--on-light-sub);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.case-quote {
    background: var(--light-bg-alt);
    padding: 1.25rem 1.75rem;
    border-left: 4px solid var(--brand-blue);
    border-radius: var(--radius-sm);
}

.case-quote p {
    font-style: italic;
    color: var(--on-light-sub);
    margin-bottom: 0.75rem;
}

.case-quote-author {
    font-weight: 600;
    color: var(--on-light);
    font-size: 0.9rem;
}

.case-quote-role {
    color: var(--on-light-muted);
    font-size: 0.85rem;
}

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

.testimonial-card {
    background: var(--light-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

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

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

.testimonial-text {
    font-style: italic;
    font-size: 1rem;
    color: var(--on-light-sub);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-name {
    font-weight: 700;
    color: var(--on-light);
    margin-bottom: 0.2rem;
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--on-light-muted);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--dark-bg);
    padding: 4rem 0 2rem;
}

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

.footer-brand h4 {
    font-size: 1.25rem;
    color: var(--on-dark);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--on-dark-sub);
    font-size: 0.9rem;
}

.footer-links h5 {
    font-size: 1rem;
    color: var(--on-dark);
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    color: var(--on-dark-sub);
    font-size: 0.9rem;
    padding: 0.3rem 0;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--on-dark-sub);
}

/* ===================================
   MODAL
   =================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3,18,40,0.7);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--light-bg);
    border-radius: var(--radius-lg);
    padding: 3rem;
    max-width: 520px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--on-light-muted);
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover { color: var(--on-light); }

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-card { max-width: 400px; }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .logo img { height: 48px; }
    .footer-logo { height: 44px; }

    .nav { display: none; }
    .nav.active {
        display: flex;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        transform: none;
        background: var(--light-bg);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 3rem;
        padding-bottom: 2rem;
        overflow-y: auto;
        z-index: 999;
    }
    .nav.active .nav-list {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        text-align: center;
    }
    .nav-link {
        font-size: 1.25rem;
        padding: 0.75rem 0;
    }
    .nav-toggle { display: block; }
    .header-cta { display: none; }

    .hero-grid { grid-template-columns: 1fr; }
    .hero-card { display: none; }
    .hero-metrics { gap: 2rem; flex-wrap: wrap; }

    .process-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .process-card-num { margin: 0 auto; }

    .case-metrics { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }

    .section { padding: 4rem 0; }
}

@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .service-detail, .process-card, .case-card { padding: 1.5rem; }
}
