/* ========================================
   Fast Fix Property CO — Dark Flow Design
   ======================================== */

:root {
    --brand: #FF6B35;
    --brand-dim: #FF8C5A;

    --color-blue: #3B82F6;
    --color-green: #10B981;
    --color-purple: #8B5CF6;
    --color-amber: #F59E0B;
    --color-cyan: #06B6D4;

    /* Dark surfaces — progressive lightening */
    --surf-0: #050508;       /* deepest */
    --surf-1: #0A0A10;
    --surf-2: #0F0F16;
    --surf-3: #14141C;
    --surf-4: #1A1A24;
    --surf-5: #21212E;
    --surf-6: #2A2A38;
    --surf-7: #353545;

    --text-primary: rgba(255,255,255,0.92);
    --text-secondary: rgba(255,255,255,0.55);
    --text-tertiary: rgba(255,255,255,0.30);

    --border-subtle: rgba(255,255,255,0.05);
    --border-medium: rgba(255,255,255,0.08);
    --border-strong: rgba(255,255,255,0.12);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --content-max: 1200px;
    --header-h: 72px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);

    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
    -webkit-text-size-adjust: 100%;
    font-feature-settings: 'cv02','cv03','cv04','cv11';
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-primary);
    background: var(--surf-0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection { background: var(--brand); color: white; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

.container {
    width: 100%; max-width: var(--content-max);
    margin: 0 auto; padding: 0 40px;
    position: relative; z-index: 2;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 34px; font-weight: 600; font-size: 15px;
    border-radius: var(--radius-full);
    transition: all 0.25s var(--ease-out);
    border: none; white-space: nowrap; cursor: pointer;
    letter-spacing: -0.01em; position: relative;
}
.btn-primary {
    background: var(--brand); color: white;
    box-shadow: 0 4px 20px rgba(255,107,53,0.30);
}
.btn-primary:hover {
    background: var(--brand-dim); transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255,107,53,0.45);
}
.btn-outline {
    background: rgba(255,255,255,0.04); color: white;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.30);
    transform: translateY(-2px);
}
.btn-nav {
    background: var(--brand); color: white !important;
    padding: 10px 24px; border-radius: var(--radius-full);
    font-size: 14px; font-weight: 600;
    box-shadow: 0 4px 20px rgba(255,107,53,0.25);
}
.btn-nav:hover { background: #FF7A4A; transform: translateY(-1px); }
.btn-large { padding: 20px 44px; font-size: 16px; }

/* ============================================
   SECTION SHARED
   ============================================ */
section { position: relative; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 72px; }

.section-tag {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 18px;
    background: rgba(255,107,53,0.08);
    color: var(--brand);
    border-radius: var(--radius-full);
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.6px; text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(255,107,53,0.10);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 750; color: white;
    line-height: 1.12; letter-spacing: -0.03em; margin-bottom: 16px;
}

.section-desc {
    font-size: 18px; color: var(--text-secondary);
    line-height: 1.7; max-width: 560px; margin: 0 auto;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--header-h);
    background: rgba(5,5,8,0.88);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    transition: background 0.3s var(--ease-out);
}
.header.scrolled {
    background: rgba(5,5,8,0.96);
    border-bottom-color: var(--border-medium);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 10px; color: white; transition: opacity 0.2s var(--ease-out); }
.logo:hover { opacity: 0.8; }
.logo-icon { font-size: 20px; color: var(--brand); }
.logo-text { font-size: 17px; font-weight: 650; letter-spacing: -0.02em; }
.logo-text strong { font-weight: 650; color: var(--brand); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: rgba(255,255,255,0.65); font-weight: 450; font-size: 14px; transition: color 0.2s var(--ease-out); }
.nav-links a:not(.btn-nav):hover { color: white; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 101; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: all 0.3s var(--ease-out); }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO — Deepest dark (#050508) + particles
   ============================================ */
#particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero {
    display: flex; align-items: center; justify-content: center;
    min-height: 100vh; min-height: 100dvh;
    background: var(--surf-0);
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
    z-index: 0;
}
.hero::after {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 20% 60%, rgba(255,107,53,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 500px 500px at 80% 30%, rgba(99,102,241,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 400px 350px at 50% 80%, rgba(6,182,212,0.05) 0%, transparent 60%);
    pointer-events: none; z-index: 0;
}
.hero-content { position: relative; z-index: 3; text-align: center; padding: 120px 20px 80px; max-width: 760px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px; background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.8); border-radius: var(--radius-full);
    font-size: 13px; font-weight: 500; letter-spacing: 0.2px;
    margin-bottom: 32px; border: 1px solid rgba(255,255,255,0.08);
}
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 8px var(--brand); }
.hero-title { font-size: clamp(3rem, 6vw, 5rem); font-weight: 800; color: white; line-height: 1.04; letter-spacing: -0.03em; margin-bottom: 24px; }
.hero-title .text-accent {
    background: linear-gradient(135deg, var(--brand) 0%, #f97316 60%, #fb923c 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle { font-size: 18px; color: var(--text-secondary); max-width: 480px; margin: 0 auto 44px; line-height: 1.75; font-weight: 420; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ============================================
   TRUST STRIP — Dark (#0A0A10)
   ============================================ */
.trust-strip {
    background: var(--surf-1); padding: 56px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    position: relative; overflow: hidden;
}
.trust-strip::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,107,53,0.10), transparent);
}
.trust-strip-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; position: relative; z-index: 1; }
.trust-badges {
    display: flex; align-items: stretch; gap: 0;
    flex-wrap: wrap; justify-content: center;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg); overflow: hidden;
}
.trust-badge { display: flex; align-items: center; gap: 14px; padding: 24px 36px; transition: background 0.25s var(--ease-out); }
.trust-badge:hover { background: rgba(255,255,255,0.03); }
.trust-badge-icon { font-size: 24px; flex-shrink: 0; opacity: 0.85; }
.trust-badge-text { display: flex; flex-direction: column; gap: 3px; }
.trust-badge-text strong { color: white; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.trust-badge-text span { color: var(--text-tertiary); font-size: 13px; font-weight: 400; }
.trust-badge-divider { width: 1px; background: var(--border-medium); flex-shrink: 0; }
.trust-tagline { color: var(--text-tertiary); font-size: 14px; font-weight: 450; text-align: center; line-height: 1.7; max-width: 600px; }
.trust-tagline strong { color: rgba(255,255,255,0.6); font-weight: 600; }

/* ============================================
   SERVICES — #0F0F16 dark background
   ============================================ */
.services {
    background: var(--surf-2); padding: 160px 0; position: relative;
}
.services::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse at 50% 50%, black 15%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 15%, transparent 80%);
    pointer-events: none; z-index: 0;
}
.services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    max-width: var(--content-max); margin: 0 auto;
    position: relative; z-index: 2;
}

.service-card {
    background: var(--surf-3); border-radius: var(--radius-lg);
    padding: 42px 32px;
    transition: all 0.35s var(--ease-out);
    display: flex; flex-direction: column; align-items: flex-start;
    position: relative; cursor: default;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-subtle);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-strong);
}

.service-card:nth-child(1) { border-top: 3px solid var(--brand); }
.service-card:nth-child(2) { border-top: 3px solid var(--color-blue); }
.service-card:nth-child(3) { border-top: 3px solid var(--color-green); }
.service-card:nth-child(4) { border-top: 3px solid var(--color-purple); }
.service-card:nth-child(5) { border-top: 3px solid var(--color-amber); }
.service-card:nth-child(6) { border-top: 3px solid var(--color-cyan); }

.service-icon {
    width: 48px; height: 48px; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; margin-bottom: 20px; flex-shrink: 0;
    transition: all 0.3s var(--ease-out);
}
.service-card:nth-child(1) .service-icon { background: rgba(255,107,53,0.12); }
.service-card:nth-child(2) .service-icon { background: rgba(59,130,246,0.12); }
.service-card:nth-child(3) .service-icon { background: rgba(16,185,129,0.12); }
.service-card:nth-child(4) .service-icon { background: rgba(139,92,246,0.12); }
.service-card:nth-child(5) .service-icon { background: rgba(245,158,11,0.12); }
.service-card:nth-child(6) .service-icon { background: rgba(6,182,212,0.12); }
.service-card:hover .service-icon { transform: scale(1.08); }

.service-name {
    font-size: 17px; font-weight: 650; color: white;
    margin-bottom: 10px; letter-spacing: -0.01em;
}
.service-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.75; }

/* ============================================
   WORK — #14141C
   ============================================ */
.work {
    background: var(--surf-3); padding: 160px 0;
    position: relative; overflow: hidden;
}
.work::before {
    content: ''; position: absolute;
    top: -120px; right: -120px;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,107,53,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.work::after {
    content: ''; position: absolute;
    bottom: -80px; left: -80px;
    width: 300px; height: 300px; border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,0.04) 0%, transparent 70%);
    pointer-events: none;
}
.work-gallery {
    max-width: 900px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 20px;
    position: relative; z-index: 2;
}
.work-card {
    position: relative; border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.35s var(--ease-out);
    background: var(--surf-4);
    border: 1px solid var(--border-subtle);
}
.work-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.work-card img { width: 100%; height: auto; display: block; }

/* ============================================
   ABOUT — #1A1A24
   ============================================ */
.about {
    background: var(--surf-4); padding: 160px 0; position: relative;
}
.about::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 200px;
    background: linear-gradient(to bottom, rgba(139,92,246,0.03), transparent);
    pointer-events: none;
}
.about-grid {
    display: grid; grid-template-columns: 1fr 360px;
    gap: 80px; align-items: start; position: relative; z-index: 2;
}
.about-content p {
    font-size: 17px; color: var(--text-secondary);
    line-height: 1.8; margin-bottom: 22px;
}
.about-coverage {
    background: linear-gradient(135deg, rgba(255,107,53,0.06), rgba(139,92,246,0.06));
    border: 1px solid rgba(255,107,53,0.10);
    border-radius: var(--radius-lg); padding: 28px;
    display: flex; align-items: flex-start; gap: 16px;
    margin-top: 16px; transition: all 0.3s var(--ease-out);
}
.about-coverage:hover {
    border-color: rgba(255,107,53,0.20);
    box-shadow: var(--shadow-md);
}
.coverage-icon { font-size: 24px; flex-shrink: 0; margin-top: 1px; }
.coverage-text { font-size: 15px; color: var(--text-secondary); line-height: 1.75; }

.about-cta { position: sticky; top: calc(var(--header-h) + 40px); }
.cta-card {
    background: linear-gradient(135deg, var(--surf-5) 0%, #1a1a30 100%);
    color: white; padding: 48px 40px;
    border-radius: var(--radius-xl); text-align: center;
    border: 1px solid var(--border-medium);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    position: relative; overflow: hidden;
}
.cta-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 140px;
    background: radial-gradient(ellipse at 50% 0%, rgba(255,107,53,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.cta-card h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; position: relative; }
.cta-card p {
    color: var(--text-secondary); font-size: 15px;
    margin-bottom: 32px; line-height: 1.6; position: relative;
}
.cta-card .btn { margin-bottom: 18px; position: relative; }
.cta-note { display: block; font-size: 11px; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 1.2px; position: relative; }

/* ============================================
   CONTACT — #21212E
   ============================================ */
.contact {
    background: var(--surf-5); text-align: center; padding: 160px 0;
    position: relative; overflow: hidden;
}
.contact::before {
    content: ''; position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 700px; height: 700px; border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,0.05) 0%, rgba(255,107,53,0.04) 50%, transparent 70%);
    pointer-events: none;
}
.contact-content { max-width: 560px; margin: 0 auto; position: relative; z-index: 2; }
.contact-content .section-desc { margin-bottom: 40px; }
.contact-content .btn-large { margin-bottom: 28px; }
.contact-detail { font-size: 14px; color: var(--text-tertiary); margin-bottom: 4px; }
.contact-detail:last-child { margin-bottom: 0; }

/* ============================================
   FOOTER — Deepest dark
   ============================================ */
.footer {
    background: var(--surf-0); color: var(--text-tertiary);
    padding: 64px 0 0; position: relative;
}
.footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139,92,246,0.12), transparent);
}
.footer-inner {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 28px; padding-bottom: 40px;
    border-bottom: 1px solid var(--border-subtle);
}
.footer-brand { color: white; font-size: 17px; font-weight: 650; }
.footer-brand strong { font-weight: 650; color: var(--brand); }
.footer-links { display: flex; gap: 36px; }
.footer-links a { font-size: 14px; color: var(--text-tertiary); transition: color 0.2s var(--ease-out); }
.footer-links a:hover { color: white; }
.footer-phone { font-size: 17px; font-weight: 600; color: var(--brand); transition: color 0.2s var(--ease-out); }
.footer-phone:hover { color: var(--brand-dim); }
.footer-bottom { padding: 32px 0; text-align: center; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.15); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-cta { position: static; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .container { padding: 0 24px; }
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed; top: 0; right: -100%;
        width: 100%; height: 100vh; height: 100dvh;
        background: var(--surf-0);
        flex-direction: column; align-items: center; justify-content: center;
        padding: 48px 32px; gap: 28px;
        transition: right 0.4s var(--ease-out); z-index: 99;
    }
    .nav-links.open { right: 0; }
    .nav-links a { font-size: 20px; }
    .services-grid { grid-template-columns: 1fr; }
    .services { padding: 120px 0; }
    .trust-badges { flex-direction: column; border-radius: var(--radius-md); }
    .trust-badge { padding: 20px 32px; }
    .trust-badge-divider { width: 100%; height: 1px; }
    .about-cta { display: none; }
    .work { padding: 120px 0; }
    .about { padding: 120px 0; }
    .contact { padding: 120px 0; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
    .section-header { margin-bottom: 56px; }
}

@media (max-width: 480px) {
    .container { padding: 0 20px; }
    :root { --header-h: 60px; }
    .section-header { margin-bottom: 48px; }
    .section-title { font-size: 1.8rem; }
    .section-desc { font-size: 16px; }

    /* Disable heavy GPU effects on mobile */
    .hero::before { display: none; }
    .hero::after { opacity: 0.5; }
    .header {
        background: rgba(5,5,8,0.96);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .hero-content { padding: 96px 0 56px; }
    .hero-title { font-size: 2.4rem; letter-spacing: -0.02em; }
    .hero-subtitle { font-size: 15px; max-width: 280px; margin-bottom: 36px; }
    .hero-actions { flex-direction: column; gap: 10px; }
    .hero-actions .btn { padding: 16px 24px; font-size: 15px; width: 100%; }

    .trust-strip { padding: 32px 0; }
    .trust-strip-inner { gap: 18px; }
    .trust-badges {
        display: flex; flex-wrap: nowrap; flex-direction: row;
        align-items: center; justify-content: center;
        gap: 0; width: 100%; padding: 0 2px;
        border: none; border-radius: 0; background: none;
    }
    .trust-badge { flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 0 8px; flex: 1 1 0; min-width: 0; }
    .trust-badge-text strong { font-size: 11px; white-space: nowrap; }
    .trust-badge-text span { display: none; }
    .trust-badge-icon { font-size: 20px; }
    .trust-badge-divider { width: 1px; height: 40px; flex-shrink: 0; }
    .trust-tagline { font-size: 11px; padding: 0 8px; }

    .services { padding: 100px 0; }
    .service-card { padding: 28px 22px; }
    .service-name { font-size: 16px; }

    .work { padding: 100px 0; }
    .about { padding: 100px 0; }
    .about-cta { display: none; }
    .contact { padding: 100px 0; }
    .contact-detail { font-size: 13px; }

    .footer { padding: 40px 0 0; }
    .footer-inner { gap: 16px; padding-bottom: 24px; }
    .footer-brand { font-size: 16px; }
    .footer-links { gap: 20px; }
    .footer-phone { font-size: 16px; }
    .footer-coverage { display: none; }
}