:root {
    --primary: #F3F4F6;
    --accent: #C41212;
    --accent-dark: #a00f0f;
    --accent-light: rgba(196,18,18,0.08);
    --text: #0A0A0A;
    --text-secondary: #374151;
    --white: #FFFFFF;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --gray-800: #1F2937;

    /* 8px spacing scale */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.5rem;    /* 24px */
    --space-6: 2rem;      /* 32px */
    --space-7: 3rem;      /* 48px */
    --space-8: 4rem;      /* 64px */
    --space-9: 5rem;      /* 80px */
    --space-10: 6rem;     /* 96px */
    --space-section: 6.5rem; /* section vertical padding */

    /* Typography scale */
    --text-xs: 0.8rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-md: 1.1rem;
    --text-lg: 1.15rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: clamp(2rem, 3.5vw, 2.5rem);
    --text-4xl: clamp(2.5rem, 4vw, 4rem);
    --text-5xl: clamp(2.5rem, 5vw, 4.5rem);

    /* Transition */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --duration: 0.3s;
}

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

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

body {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--primary);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Global focus-visible for keyboard accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
:focus:not(:focus-visible) {
    outline: none;
}

/* Touch optimizations */
a, button, input, select, textarea {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
    color: #000000;
    line-height: 1.15;
}
h1 { font-size: var(--text-5xl); font-weight: 900; letter-spacing: -0.03em; }
h2 { font-size: var(--text-4xl); font-weight: 900; letter-spacing: -0.03em; }
h3 { font-size: var(--text-2xl); font-weight: 800; }
h4 { font-size: var(--text-md); font-weight: 700; }
.highlight { color: var(--accent); }

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Scroll Reveal with stagger support */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
/* Stagger delay classes — applied via JS */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero-buttons .btn-primary {
        animation: none;
    }
    .step-number:hover,
    .service-card:hover,
    .feature-card:hover {
        transform: none;
    }
}

/* Safe area insets for notched/Dynamic Island phones */
@supports(padding: env(safe-area-inset-top)) {
    .navbar { 
        padding-top: calc(1rem + env(safe-area-inset-top)); 
        padding-left: calc(1rem + env(safe-area-inset-left));
        padding-right: calc(1rem + env(safe-area-inset-right));
    }
    .nav-container {
        padding-left: calc(2rem - env(safe-area-inset-left) + env(safe-area-inset-left));
        padding-right: calc(2rem - env(safe-area-inset-right) + env(safe-area-inset-right));
    }
    .scroll-top { 
        bottom: calc(2rem + env(safe-area-inset-bottom)); 
        right: calc(2rem + env(safe-area-inset-right));
    }
    .footer { 
        padding-bottom: calc(2rem + env(safe-area-inset-bottom)); 
        padding-left: calc(2rem + env(safe-area-inset-left));
        padding-right: calc(2rem + env(safe-area-inset-right));
    }
    .mobile-menu { 
        padding-top: env(safe-area-inset-top);
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
}

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(243, 244, 246, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 0;
    transition: all 0.3s ease;
}
.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo img {
    height: 40px;
    width: auto;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}
.nav-links a {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    transition: color var(--duration) var(--ease);
}
.nav-links a:hover {
    color: var(--text);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}
.nav-links a:hover::after {
    width: 100%;
}
.nav-cta {
    background: var(--accent) !important;
    color: var(--white) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 4px;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
}
.nav-cta:hover {
    background: #a00f0f !important;
    transform: translateY(-2px);
}
.nav-cta::after {
    display: none !important;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 5px;
}
.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--primary);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
.mobile-menu.active {
    display: flex;
}
.mobile-menu a {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
}

/* ============ HERO ============ */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding: calc(8rem + 33px - 130px) 2rem 4rem;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: linear-gradient(135deg, transparent 0%, rgba(0,0,0,0.03) 50%, transparent 100%);
    transform: rotate(-15deg);
    pointer-events: none;
}
.hero-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
    padding-top: 15vh;
}
    .hero-content {
        transform: translateY(-150px) !important;
    }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.5rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    margin-bottom: 2rem;
    margin-top: 120px;
}
.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.hero-badge span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
}
.hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    margin-top: -10px;
}
.hero h1 .highlight {
    color: var(--accent);
    position: relative;
}
.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 0.02em;
    left: -4px;
    width: calc(100% + 8px);
    height: 0.1em;
    background: rgba(10,10,10,0.2);
    z-index: -1;
    transform: rotate(-1.2deg);
    clip-path: polygon(0 0%, 100% -80%, 100% 180%, 0 100%);
}
.hero-description {
    font-family: 'DM Sans', sans-serif;
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 540px;
    line-height: 1.75;
    margin-bottom: 2.5rem;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--duration) var(--ease);
    cursor: pointer;
    border: none;
}
.btn-text-mobile {
    display: none;
}
.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(196,18,18,0.25);
}
.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(196,18,18,0.35);
}
/* Subtle glow pulse on hero CTA */
.hero-buttons .btn-primary {
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
    animation: cta-glow 3s ease-in-out infinite;
}
@keyframes cta-glow {
    0%, 100% { box-shadow: 0 4px 14px rgba(196,18,18,0.25); }
    50% { box-shadow: 0 4px 24px rgba(196,18,18,0.4); }
}
.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--gray-300);
}
.btn-secondary:hover {
    background: var(--text);
    color: var(--white);
    border-color: var(--text);
}
.hero-visual {
    position: relative;
    transform: translateY(-25px);
}
.hero-card {
    width: 115%;
    max-width: 700px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border: 1px solid var(--gray-200);
    transform: translateX(-60px);
}

/* ============ HERO SOCIAL PROOF ============ */
.hero-proof {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    margin-top: var(--space-7);
    padding-top: var(--space-7);
    border-top: 1px solid var(--gray-200);
}
.proof-item {
    display: flex;
    flex-direction: column;
}
.proof-number {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -0.02em;
}
.proof-label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 0.15rem;
}
.proof-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-300);
}

/* ============ MARQUEE ============ */
.marquee-section {
    background: var(--text);
    padding: 1.5rem 0;
    overflow: hidden;
}
.marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
    width: max-content;
}
.marquee-item {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.marquee-item .sep {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============ ABOUT ============ */
.about {
    padding: var(--space-section) 2rem;
}
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}
.section-tag::before,
.section-tag::after {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--accent);
}
.about-heading-mobile {
    display: none;
}
.about h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 3rem;
}
.about-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.about-text p {
    font-size: var(--text-lg);
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}
.about-text strong {
    color: var(--text);
}
.feature-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}
.feature-card:hover {
    border-color: var(--accent);
    transform: translateX(8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(196,18,18,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2;
}
.feature-card h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.feature-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* ============ SERVICES ============ */
.services {
    padding: var(--space-section) 2rem;
    background: var(--white);
}
.services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}
.services h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
}
.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.service-card {
    padding: 2.5rem;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--primary);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-number {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: var(--gray-300);
    margin-bottom: 1.5rem;
}
.service-icon {
    width: 56px;
    height: 56px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.service-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2;
}
.service-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.service-card > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.service-features {
    list-style: none;
}
.service-features li {
    font-size: 0.9rem;
    color: var(--gray-600);
    padding: 0.35rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.service-features li::before {
    content: '→';
    color: var(--accent);
    font-weight: 700;
}

/* Service card CTA link */
.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--accent);
    margin-top: var(--space-5);
    padding-top: var(--space-5);
    border-top: 1px solid var(--gray-200);
    transition: gap var(--duration) var(--ease), color var(--duration) var(--ease);
}
.service-cta:hover {
    color: var(--accent-dark);
    gap: 0.75rem;
}
.service-cta span {
    transition: transform var(--duration) var(--ease);
}
.service-cta:hover span {
    transform: translateX(3px);
}

/* ============ HOW IT WORKS ============ */
.how-it-works {
    padding: var(--space-section) 2rem;
}
.steps-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}
.how-it-works h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
}
.steps-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}
.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: var(--gray-200);
    z-index: 0;
}
.step {
    text-align: center;
    position: relative;
    z-index: 1;
}
.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    transition: all 0.3s ease;
}
.step-number:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    transform: scale(1.1);
}
.step h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============ TESTIMONIALS ============ */
.testimonials {
    padding: var(--space-section) 2rem;
    background: var(--text);
    color: var(--white);
}
.testimonials-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}
.testimonials h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #FFFFFF;
}
.testimonials-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.testimonial-card {
    background: var(--primary);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    position: relative;
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 6rem;
    color: var(--accent);
    opacity: 0.2;
    line-height: 1;
}
.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}
.testimonial-stars svg {
    width: 18px;
    height: 18px;
    fill: var(--accent);
}
.testimonial-text {
    font-size: var(--text-md);
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
}
.author-info h5 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text);
}
.author-info p {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* ============ CTA ============ */
.cta {
    padding: var(--space-section) 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--primary);
}
.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196,18,18,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.cta-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.cta h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}
.cta h2 .highlight {
    color: var(--accent);
}
.cta p {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============ CONTACT FORM ============ */
.contact {
    padding: var(--space-section) 2rem;
    background: var(--white);
}
.contact-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}
.contact-info h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}
.contact-info > p {
    font-size: var(--text-md);
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 2.5rem;
}
.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.contact-detail-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(196,18,18,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-detail-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2;
}
.contact-detail h5 {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--gray-600);
    font-weight: 500;
    margin-bottom: 0.15rem;
}
.contact-detail p, .contact-detail a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}
.contact-detail a:hover {
    color: var(--accent);
}
.contact-form-card {
    background: var(--primary);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 2.5rem;
}
.contact-form-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.contact-form-card > p {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(196,18,18,0.1);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.form-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}
.form-submit:hover {
    background: #a00f0f;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(196,18,18,0.3);
}
.form-success {
    display: none;
    text-align: center;
    padding: 2rem;
}
.form-success.show {
    display: block;
}
.form-success svg {
    width: 64px;
    height: 64px;
    stroke: #22c55e;
    fill: none;
    stroke-width: 2;
    margin-bottom: 1rem;
}
.form-success h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.form-success p {
    color: var(--gray-600);
}

/* ============ MID-PAGE CTA STRIP ============ */
.mid-cta {
    background: var(--accent);
    padding: var(--space-7) var(--space-6);
}
.mid-cta .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-7);
    flex-wrap: wrap;
}
.mid-cta-text {
    font-family: 'Inter', sans-serif;
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--white);
    margin: 0;
}
.mid-cta-text strong {
    color: var(--white);
    font-weight: 800;
}
.mid-cta .btn-primary {
    background: var(--white);
    color: var(--accent);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    animation: none;
}
.mid-cta .btn-primary:hover {
    background: var(--primary);
    color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ============ FORM TRUST SIGNALS ============ */
.form-trust {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-top: var(--space-5);
    padding-top: var(--space-5);
    border-top: 1px solid var(--gray-200);
}
.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}
.trust-item svg {
    stroke: var(--accent);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--text);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}
.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand img {
    height: 40px;
    margin-bottom: 1rem;
    background: transparent;
}
.footer-logo-white {
    display: none;
}
.footer-brand img.footer-logo-default {
    filter: brightness(0) invert(1);
}
.footer-brand p {
    color: var(--gray-300);
    font-size: 0.9rem;
    max-width: 300px;
    line-height: 1.6;
}
.footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}
.footer-col ul {
    list-style: none;
}
.footer-col li {
    margin-bottom: 0.75rem;
}
.footer-col a {
    color: var(--gray-300);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}
.footer-col a:hover {
    color: var(--white);
}
.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    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: 1rem;
}
.footer-bottom p {
    font-size: 0.85rem;
    color: var(--gray-300);
}
.footer-social {
    display: flex;
    gap: 0.75rem;
}
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}
.footer-social svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
}

/* ============ SCROLL TO TOP ============ */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--accent);
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    line-height: 0;
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top:hover {
    background: #a00f0f;
    transform: translateY(-3px);
}
.scroll-top svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px;
    min-height: 20px;
    stroke: #FFFFFF !important;
    fill: none !important;
    stroke-width: 2.5 !important;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block !important;
    visibility: visible !important;
    overflow: visible;
}
.scroll-top svg polyline {
    stroke: #FFFFFF !important;
    fill: none !important;
    stroke-width: 2.5 !important;
    display: block !important;
    visibility: visible !important;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    html, body {
        overflow-x: hidden;
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-visual {
        order: -1;
        transform: translateY(0) !important;
        overflow: visible;
    }
    .hero-card {
        width: 100% !important;
        max-width: 100% !important;
        transform: translateX(0) translateY(10px);
        border-radius: 12px !important;
        overflow: hidden;
    }
    .hero-card img {
        border-radius: 12px;
        width: 100%;
        height: auto;
        display: block;
    }
    .hero-content {
        transform: translateY(-125px) !important;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid::before {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .footer-col:first-of-type {
        grid-column: 1 / -1;
    }
    .footer-col:first-of-type p {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .hero {
        padding: 5rem 1.5rem 3rem;
        margin-top: 0;
        overflow-x: hidden;
    }
    .hero-visual {
        transform: translateY(0) !important;
        overflow: visible;
    }
    .hero-card {
        width: 100% !important;
        max-width: 100% !important;
        transform: translateX(0) translateY(10px);
        border-radius: 12px !important;
        overflow: hidden;
    }
    .hero-card img {
        border-radius: 12px;
        width: 100%;
        height: auto;
        display: block;
    }
    .hero-content {
        transform: translateY(-40px) !important;
    }
    .hero-badge {
        margin-top: 1.5rem;
    }
    .hero-grid {
        padding-top: 8vh;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-col:first-of-type,
    .footer-col:nth-of-type(2) {
        display: block;
    }
    .footer-col:nth-of-type(3),
    .footer-col:nth-of-type(4) {
        display: none;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .about, .services, .how-it-works, .testimonials, .cta, .contact {
        padding: 4rem 1.5rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-form-card {
        padding: 1.5rem;
        max-width: 100%;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .service-card {
        padding: 1.5rem;
        text-align: center;
    }
    .service-icon {
        margin-left: auto;
        margin-right: auto;
    }
    .service-card > p {
        text-align: center;
    }
    .service-features {
        text-align: center;
    }
    .service-features li {
        justify-content: center;
    }
    .service-cta {
        justify-content: center;
    }
    .about-section-tag {
        justify-content: center;
        display: flex;
    }
    .about h2 {
        text-align: center;
    }
    .about-heading-full {
        display: none;
    }
    .about-heading-mobile {
        display: inline;
    }
    .contact-section-tag {
        justify-content: center;
        display: flex;
    }
    .contact-heading {
        text-align: center;
    }
    .contact-info > p {
        text-align: center;
    }
    .form-card-heading,
    .form-card-sub {
        text-align: center;
    }
    .testimonial-card {
        padding: 1.5rem;
    }
    .contact {
        overflow-x: hidden;
    }
    .cta {
        overflow: hidden;
    }
    .footer {
        overflow-x: hidden;
    }
    /* New elements responsive */
    .hero-proof {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: var(--space-4);
    }
    .proof-divider {
        width: 40px;
        height: 1px;
    }
    .btn-text-desktop {
        display: none;
    }
    .btn-text-mobile {
        display: inline;
    }
    .container {
        padding: 0 1.5rem;
    }
    .mid-cta .container {
        flex-direction: column;
        text-align: center;
        gap: var(--space-5);
    }
    .mid-cta-text {
        font-size: var(--text-md);
    }
    .form-trust {
        gap: var(--space-2);
    }
    .service-cta {
        font-size: var(--text-sm);
    }
}

@media (max-width: 480px) {
    /* Prevent any horizontal overflow globally */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    .hero-description {
        font-size: 1.15rem;
        line-height: normal;
    }
    h2 {
        font-size: 1.75rem;
    }
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }
    .hero-proof {
        margin-top: var(--space-5);
        padding-top: var(--space-5);
    }
    .proof-number {
        font-size: 1.25rem;
    }
    .mid-cta {
        padding: var(--space-6) var(--space-5);
    }
}

/* iPhone XR / Plus / Max (414px and wider portrait phones) */
@media only screen and (max-width: 430px) and (orientation: portrait) {
    .hero-content {
        transform: translateY(-55px) !important;
    }
}

/* Samsung Galaxy S20 Ultra / standard Android (412px) */
@media only screen and (max-width: 415px) and (orientation: portrait) {
    .hero-content {
        transform: translateY(-50px) !important;
    }
}

/* iPhone 12 Pro / 13 Pro / 14 (390px standard) */
@media only screen and (max-width: 393px) and (orientation: portrait) {
    .hero-content {
        transform: translateY(-50px) !important;
    }
    .hero-card {
        transform: translateX(0) translateY(-10px) !important;
    }
}

/* iPhone SE / small phones (375px and below) */
@media only screen and (max-width: 380px) and (orientation: portrait) {
    .hero-content {
        transform: translateY(-60px) !important;
    }
    .hero-visual {
        transform: translateY(30px) !important;
    }
}
