@import 'variables.css';

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection {
    background-color: var(--color-red);
    color: white;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-black); }
::-webkit-scrollbar-thumb { background: var(--color-dark-border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-muted); }

/* ===== GLOBAL FOCUS STYLES ===== */
*:focus-visible {
    outline: 2px solid var(--color-red);
    outline-offset: 2px;
}

input:focus-visible,
textarea:focus-visible {
    outline: none; /* handled by border-bottom change */
}

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

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

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.container {
    width: var(--container-width);
    margin: 0 auto;
}

.section {
    padding: var(--space-3xl) 0;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.35s var(--ease-out);
    border: 2px solid transparent;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

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

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

.btn-outline-light {
    background-color: transparent;
    border-color: rgba(255,255,255,0.3);
    color: var(--color-white);
}

.btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: var(--color-white);
}

.btn-outline-dark {
    background-color: transparent;
    border-color: var(--color-dark-border);
    color: var(--color-light-text);
}

.btn-outline-dark:hover {
    background-color: var(--color-light-text);
    border-color: var(--color-light-text);
    color: white;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: var(--text-lg);
}

.btn-block { width: 100%; }

/* ===== HEADER / NAVBAR ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: all 0.4s var(--ease-out);
    background-color: transparent;
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background-color: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--color-dark-border);
    height: 64px;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-white);
    position: relative;
}

/* Logo swap: text visible by default, image fades in on scroll */
.logo-img {
    height: 40px;
    width: auto;
    border-radius: var(--radius-sm);
    position: absolute;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.logo-text {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.site-header.scrolled .logo-img {
    opacity: 1;
    visibility: visible;
}

.site-header.scrolled .logo-text {
    opacity: 0;
    visibility: hidden;
}

.main-nav {
    display: flex;
}

.mobile-nav-cta {
    display: none;
}

.nav-list {
    display: flex;
    gap: var(--space-md);
}

.nav-link {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-silver);
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s var(--ease-out);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.header-cta {
    font-size: var(--text-sm) !important;
    padding: 0.625rem 1.25rem !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 1002;
}

.menu-toggle span {
    position: absolute;
    width: 22px;
    height: 2px;
    background-color: var(--color-white);
    left: 11px;
    transition: all 0.3s var(--ease-out);
}

.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 28px; }

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg); top: 21px; }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg); top: 21px; }

.scroll-progress {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-red), var(--color-blue));
    width: 0%;
    z-index: 1001;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--color-black);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.65;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(180deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.25) 35%, rgba(10,10,10,0.15) 55%, rgba(10,10,10,0.75) 100%),
        linear-gradient(90deg, rgba(10,10,10,0.6) 0%, transparent 60%);
}

/* Subtle radial glow behind center */
.hero-glow {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(30,144,255,0.06) 0%, rgba(196,18,48,0.05) 40%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: calc(var(--header-height) + var(--space-xl));
    padding-bottom: var(--space-2xl);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    background: linear-gradient(135deg, rgba(196,18,48,0.15) 0%, rgba(30,144,255,0.1) 100%);
    border: 1px solid rgba(196,18,48,0.3);
    color: var(--color-metal-light);
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
    border-radius: var(--radius-sm);
}

.hero-badge svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.hero-title {
    font-size: var(--text-6xl);
    color: var(--color-white);
    margin-bottom: var(--space-md);
    line-height: 1.05;
}

.hero-title .accent {
    color: var(--color-red);
}

/* Chrome metallic gradient text */
.hero-title .chrome {
    background: linear-gradient(180deg, #e8e8ec 0%, #9a9a9f 40%, #c4c4c9 60%, #e8e8ec 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Split text animation helper */
.split-line {
    display: block;
    overflow: hidden;
}

.split-line-inner {
    display: block;
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--color-silver);
    margin-bottom: var(--space-lg);
    max-width: 500px;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
}

.hero-trust {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-silver);
}

.hero-trust-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-red);
    flex-shrink: 0;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-large {
    width: 100%;
    max-width: 520px;
    height: auto;
    filter: drop-shadow(0 8px 40px rgba(0,0,0,0.5));
}

/* ===== TRUST BAR ===== */
.trust-bar {
    background-color: var(--color-charcoal);
    border-top: 1px solid var(--color-dark-border);
    border-bottom: 1px solid var(--color-dark-border);
    padding: var(--space-lg) 0;
}

.trust-bar-inner {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.trust-bar-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-align: left;
}

.trust-bar-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(200,16,46,0.1);
    border: 1px solid rgba(200,16,46,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-red);
    flex-shrink: 0;
}

.trust-bar-icon svg {
    width: 22px;
    height: 22px;
}

.trust-bar-label {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-white);
}

.trust-bar-sub {
    font-size: var(--text-sm);
    color: var(--color-muted-accessible);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background-color: var(--color-light-bg);
    color: var(--color-light-text);
}

.about-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
}

.about-accent-bar {
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    width: 4px;
    background: linear-gradient(180deg, var(--color-red) 0%, transparent 100%);
    border-radius: 2px;
}

.experience-badge {
    position: absolute;
    bottom: -16px;
    right: 0;
    background-color: var(--color-red);
    color: white;
    padding: var(--space-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
}

.exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.exp-text {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-eyebrow {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-red);
    margin-bottom: var(--space-xs);
}

.section-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-sm);
    color: inherit;
}

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

.section-title-light {
    color: var(--color-light-text);
}

.lead-text {
    font-size: var(--text-xl);
    color: var(--color-light-muted-accessible);
    margin-bottom: var(--space-md);
    max-width: 60ch;
    line-height: 1.6;
}

.about-body {
    font-size: var(--text-base);
    color: var(--color-light-muted-accessible);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-light-border);
}

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

.about-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(200,16,46,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-red);
    flex-shrink: 0;
}

.about-feature-icon svg {
    width: 18px;
    height: 18px;
}

.about-feature-text {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-light-text);
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background-color: var(--color-charcoal);
    color: var(--color-white);
}

.section-header {
    margin-bottom: var(--space-xl);
    max-width: 600px;
}

.section-header .section-eyebrow {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-red);
    margin-bottom: var(--space-xs);
}

.section-desc {
    font-size: var(--text-lg);
    color: var(--color-silver);
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.service-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-lg);
    color: white;
    transition: box-shadow 0.4s var(--ease-out);
}

.service-card:hover {
    box-shadow: var(--shadow-xl);
}

.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s var(--ease-out);
}

.service-card:hover .service-card-bg {
    transform: scale(1.06);
}

.service-card-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.4) 50%, rgba(10,10,10,0.1) 100%);
}

.service-card.accent-card .service-card-bg {
    background: linear-gradient(135deg, var(--color-red) 0%, #8b0a1e 100%);
}

.service-card.accent-card .service-card-bg::after {
    background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 100%);
}

.service-card-content {
    position: relative;
    z-index: 1;
}

.service-card-content h3 {
    font-size: var(--text-2xl);
    margin-bottom: 0.5rem;
    color: white;
}

.service-card-content p {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
}

.service-card-large {
    grid-column: span 1;
    grid-row: span 2;
    min-height: 700px;
}

/* ===== WHY CHOOSE US ===== */
.why-section {
    background-color: var(--color-black);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at right, rgba(30,144,255,0.04) 0%, rgba(196,18,48,0.03) 40%, transparent 70%);
    pointer-events: none;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.why-card {
    padding: var(--space-lg);
    background-color: var(--color-charcoal);
    border: 1px solid var(--color-dark-border);
    border-radius: var(--radius-md);
    transition: all 0.35s var(--ease-out);
}

.why-card:hover {
    border-color: rgba(30,144,255,0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 20px rgba(30,144,255,0.08);
}

.why-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background-color: rgba(200,16,46,0.1);
    border: 1px solid rgba(200,16,46,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-red);
    margin-bottom: var(--space-md);
}

.why-card-icon svg {
    width: 26px;
    height: 26px;
}

.why-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-xs);
    color: var(--color-white);
}

.why-card p {
    font-size: var(--text-base);
    color: var(--color-silver);
    line-height: 1.6;
    text-transform: none;
}

/* ===== REVIEWS / TESTIMONIALS ===== */
.reviews-section {
    background-color: var(--color-light-bg);
    color: var(--color-light-text);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.review-card {
    background-color: var(--color-light-surface);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-light-border);
    box-shadow: var(--shadow-sm);
    transition: all 0.35s var(--ease-out);
}

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

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: var(--space-sm);
    color: #f59e0b;
}

.review-stars svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.review-text {
    font-size: var(--text-base);
    color: var(--color-light-muted-accessible);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    font-style: italic;
}

.review-author {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-light-text);
}

.review-source {
    font-size: var(--text-xs);
    color: var(--color-light-muted-accessible);
}

/* ===== SERVICE AREA ===== */
.area-section {
    background-color: var(--color-charcoal);
    color: var(--color-white);
}

.area-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.area-content .section-title {
    margin-bottom: var(--space-sm);
}

.area-desc {
    font-size: var(--text-lg);
    color: var(--color-silver);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.area-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.area-tag {
    padding: 0.5rem 1.25rem;
    background-color: var(--color-dark-surface);
    border: 1px solid var(--color-dark-border);
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-silver);
    transition: all 0.3s ease;
}

.area-tag:hover {
    border-color: var(--color-red);
    color: var(--color-white);
}

/* ===== CTA BANNER ===== */
.cta-banner {
    background: linear-gradient(135deg, var(--color-red) 0%, #8b0a1e 60%, #1a1a2e 100%);
    color: white;
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner-inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-sm);
}

.cta-banner p {
    font-size: var(--text-xl);
    opacity: 0.9;
    margin-bottom: var(--space-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-banner .btn-white:hover {
    background-color: transparent;
    color: white;
    border-color: white;
}

.cta-phone {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    margin-top: var(--space-md);
    letter-spacing: 0.04em;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background-color: var(--color-light-bg);
    color: var(--color-light-text);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.contact-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background-color: var(--color-light-surface);
    border: 1px solid var(--color-light-border);
    border-radius: var(--radius-md);
    transition: all 0.35s var(--ease-out);
}

.contact-card:hover {
    border-color: var(--color-red);
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

.icon-wrapper {
    width: 52px;
    height: 52px;
    background-color: rgba(200,16,46,0.08);
    border: 1px solid rgba(200,16,46,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-red);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: var(--text-xs);
    color: var(--color-light-muted-accessible);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}

.contact-value {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--color-light-text);
}

.hours-block {
    background-color: var(--color-light-surface);
    padding: var(--space-lg);
    border-left: 4px solid var(--color-red);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.hours-block h3 {
    margin-bottom: var(--space-sm);
    font-size: var(--text-lg);
    color: var(--color-light-text);
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-light-border);
    font-size: var(--text-base);
    color: var(--color-light-muted-accessible);
}

.hours-list li:last-child {
    border-bottom: none;
}

.closed-day {
    color: var(--color-red) !important;
    font-weight: 600;
}

.custom-form {
    background-color: var(--color-light-surface);
    padding: var(--space-xl);
    border: 1px solid var(--color-light-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.form-header {
    margin-bottom: var(--space-lg);
}

.form-header h3 {
    font-size: var(--text-2xl);
    color: var(--color-light-text);
}

.accent-line {
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--color-red), transparent);
    margin-top: 0.5rem;
    transition: width 1s var(--ease-out);
}

.custom-form.in-view .accent-line {
    width: 80px;
}

.form-group {
    position: relative;
    margin-bottom: var(--space-lg);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 0 0.5rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--color-light-border);
    color: var(--color-light-text);
    font-family: var(--font-body);
    font-size: var(--text-base);
    transition: border-color 0.3s ease;
    border-radius: 0;
    -webkit-appearance: none;
}

/* Fix Chrome autofill background */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--color-light-text);
    -webkit-box-shadow: 0 0 0px 1000px var(--color-light-surface) inset;
    transition: background-color 5000s ease-in-out 0s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--color-red);
    border-bottom-width: 3px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    color: var(--color-light-muted-accessible);
    font-size: var(--text-base);
    transition: all 0.3s var(--ease-out);
    pointer-events: none;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -0.5rem;
    font-size: var(--text-xs);
    color: var(--color-red);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

/* Required field indicator */
.form-group.required label::after {
    content: ' *';
    color: var(--color-red);
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: var(--color-black);
    color: var(--color-white);
    border-top: 1px solid var(--color-dark-border);
    padding-top: var(--space-2xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.footer-logo {
    height: 50px;
    width: auto;
    border-radius: var(--radius-sm);
}

.footer-brand strong {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.25rem;
}

.footer-brand p {
    font-size: var(--text-sm);
    color: var(--color-muted-accessible);
}

.footer-col h4 {
    font-size: var(--text-base);
    margin-bottom: var(--space-md);
    color: var(--color-white);
}

.footer-col a {
    display: block;
    font-size: var(--text-sm);
    color: var(--color-silver);
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--color-red);
}

/* Non-link footer items (hours) */
.footer-col .footer-info {
    display: block;
    font-size: var(--text-sm);
    color: var(--color-muted-accessible);
    padding: 0.25rem 0;
}

.footer-bottom {
    border-top: 1px solid var(--color-dark-border);
    padding: var(--space-md) 0;
    text-align: center;
    color: var(--color-muted-accessible);
    font-size: var(--text-sm);
}

/* ===== MOBILE STICKY CTA ===== */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--space-sm);
    background-color: var(--color-charcoal);
    border-top: 1px solid var(--color-dark-border);
    z-index: 999;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 var(--color-red-glow); }
    70% { box-shadow: 0 0 0 12px rgba(200,16,46,0); }
    100% { box-shadow: 0 0 0 0 rgba(200,16,46,0); }
}

/* ===== GSAP ANIMATION INITIAL STATES ===== */
/* GSAP handles all reveal animations - these are just initial hidden states */
.reveal-element,
.reveal-left,
.reveal-right,
.reveal-up,
.reveal-scale {
    visibility: hidden;
}

/* Hero water drip decoration */
.hero-drip {
    position: absolute;
    bottom: 0;
    left: 15%;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, transparent, var(--color-blue));
    border-radius: 0 0 3px 3px;
    z-index: 3;
    pointer-events: none;
}

.hero-drip::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(-45deg);
    width: 8px;
    height: 8px;
    background: var(--color-blue);
    border-radius: 50% 50% 50% 0;
    box-shadow: 0 0 12px var(--color-blue-glow);
}

/* Floating pipe particles (decorative) */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-blue);
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 6px var(--color-blue-glow);
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal-element,
    .reveal-left,
    .reveal-right,
    .reveal-up,
    .reveal-scale {
        visibility: visible;
        opacity: 1;
        transform: none;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    /* -- Mobile nav kicks in here -- */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-cta {
        display: none;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background-color: rgba(10,10,10,0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 1001;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }

    .main-nav.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        text-align: center;
        padding: 0 var(--space-lg);
        width: 100%;
        max-width: 320px;
    }

    .nav-list li {
        border-bottom: 1px solid var(--color-dark-border);
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        font-size: var(--text-2xl);
        color: var(--color-white);
        padding: 1rem 0;
    }

    .nav-link:hover,
    .nav-link:active {
        color: var(--color-red);
    }

    .nav-link::after {
        display: none;
    }

    .mobile-nav-cta {
        display: block;
        margin-top: var(--space-lg);
        text-align: center;
    }

    .mobile-nav-cta .btn {
        width: 100%;
        max-width: 320px;
    }

    /* -- Content layout -- */
    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-logo-large {
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

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

    .about-image-wrapper {
        max-width: 450px;
        margin: 0 auto;
    }

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

    .service-card-large {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 340px;
    }

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

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: var(--text-5xl);
    }

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

    .trust-bar-inner {
        gap: var(--space-md);
    }

    .mobile-sticky-cta {
        display: block;
    }

    body {
        padding-bottom: 80px;
    }
}

@media (max-width: 480px) {
    .hero-logo-large {
        max-width: 240px;
    }

    .hero-title {
        font-size: var(--text-4xl);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-trust {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }
}
