:root {
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --white: #ffffff;
    --light-gray: #f3f4f6;
    --mid-gray: #d1d5db;
    --text: #0f172a;
    --text-soft: #475569;
    --shadow: 0 18px 45px rgba(37, 99, 235, 0.12);
    --radius: 24px;
    --transition: 0.25s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

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

iframe {
    width: 100%;
    border: 0;
    border-radius: 20px;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    background: transparent;
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
}

.site-header.is-scrolled {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.header-row,
.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
}

.brand {
    display: inline-block;
    font-family: "Outfit", sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    height: 56px;
    width: auto;
    display: block;
}

.eyebrow {
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.phone-pill,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 700;
    transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.phone-pill {
    padding: 14px 20px;
    background: var(--blue);
    color: var(--white);
    box-shadow: var(--shadow);
    gap: 10px;
}

.phone-pill-icon {
    width: 18px;
    height: 18px;
    margin-right: 4px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.btn {
    padding: 14px 24px;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn:hover,
.phone-pill:hover {
    transform: translateY(-1px);
}

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

.btn-primary:hover,
.phone-pill:hover {
    background: var(--blue-dark);
}

.btn-secondary {
    background: var(--white);
    color: var(--text);
    border-color: var(--mid-gray);
}

.btn-secondary:hover {
    background: var(--light-gray);
}

.btn-full {
    width: 100%;
}

.hero,
.section {
    padding: 88px 0;
}

.hero {
    min-height: 900px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 150px;
    padding-bottom: 120px;
    background:
        linear-gradient(rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0.44)),
        url("mobile-detiling.webp") center center / cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.14) 50%, rgba(0, 0, 0, 0.24) 100%);
    pointer-events: none;
}

.hero-grid,
.two-column,
.form-shell {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: start;
}

.hero-grid {
    position: relative;
    z-index: 1;
}

.hero-copy h1,
.section-heading h2,
.two-column h2,
.form-shell h2,
.site-footer h3,
.quote-card h2 {
    font-family: "Outfit", sans-serif;
    line-height: 1.05;
}

.hero-copy h1 {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    margin-bottom: 18px;
    max-width: 12ch;
    color: var(--white);
}

.hero-copy h1 span {
    color: #bfdbfe;
}

.hero-text,
.section-copy,
.section-heading p,
.stack-text p,
.quote-card p,
.site-footer p,
.footer-contact p,
.faq-list p {
    color: var(--text-soft);
}

.hero .hero-text,
.hero .check-list li,
.hero .status-card,
.hero .check-list li::before {
    color: var(--white);
}

.hero .status-card {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.hero .dot {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.25);
}

.check-list {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 28px 0;
}

.check-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.check-list li::before {
    content: "✓";
    color: var(--blue);
    font-weight: 800;
}

.check-list.dark li::before {
    color: var(--blue-dark);
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
}

.hero-location {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 600;
}

.hero-location-icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.status-card,
.quote-card,
.feature-card,
.placeholder-card,
.review-placeholder,
.form-shell,
.map-frame,
.faq-list details {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.status-card {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.15);
}

.quote-card,
.form-shell {
    padding: 28px;
}

.hero .quote-card {
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(16px);
    scroll-margin-top: 100px;
}

.quote-form {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.quote-form.large {
    background: var(--light-gray);
    border-radius: var(--radius);
    padding: 24px;
}

label {
    font-weight: 700;
    font-size: 0.95rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--mid-gray);
    background: var(--white);
    color: var(--text);
    font: inherit;
}

textarea {
    resize: vertical;
}

.light-section {
    background: var(--light-gray);
}

.accent-section {
    background: linear-gradient(180deg, #dbeafe 0%, #eff6ff 100%);
}

.section-heading {
    margin-bottom: 30px;
}

.section-kicker {
    color: var(--blue);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-heading.center {
    text-align: center;
}

.packages-heading {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 42px;
}

.packages-heading .section-kicker {
    margin-bottom: 18px;
}

.showcase-heading {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 42px;
}

.showcase-heading h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    line-height: 1.08;
    margin-bottom: 18px;
}

.showcase-heading p:last-child {
    font-size: 1.08rem;
    margin-bottom: 24px;
}

.packages-heading h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    line-height: 1.08;
    margin-bottom: 18px;
}

.packages-heading p {
    font-size: 1.08rem;
    margin-bottom: 24px;
}

.section-quote-btn {
    margin-top: 6px;
}

.placeholder-grid,
.review-placeholder-grid,
.feature-grid,
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.packages-grid {
    align-items: start;
}

.package-card {
    position: relative;
    background: var(--white);
    border: 1px solid #dbe4f0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    height: fit-content;
}

.featured-package {
    border: 2px solid var(--blue);
    transform: translateY(-4px);
}

.package-badge {
    position: absolute;
    top: -14px;
    left: 24px;
    background: var(--blue);
    color: var(--white);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.package-card h3 {
    font-family: "Outfit", sans-serif;
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.package-subtitle {
    color: var(--text-soft);
    margin-bottom: 18px;
}

.package-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--light-gray);
    font-weight: 700;
}

.package-price {
    color: var(--blue);
    font-size: 1.9rem;
    font-family: "Outfit", sans-serif;
    line-height: 1;
}

.package-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.package-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text);
}

.package-list li::before {
    content: "✓";
    color: var(--blue);
    font-weight: 800;
    flex-shrink: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.gallery-card {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--white);
    min-height: 300px;
}

.gallery-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: block;
    object-fit: cover;
}

.placeholder-card,
.review-placeholder {
    min-height: 180px;
    display: grid;
    place-items: center;
    padding: 24px;
    text-align: center;
    color: var(--text-soft);
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.03)),
        repeating-linear-gradient(45deg, #ffffff, #ffffff 12px, #f8fafc 12px, #f8fafc 24px);
}

.review-card {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--white);
}

.review-image {
    width: 100%;
    display: block;
    height: auto;
}

.feature-card {
    padding: 28px;
}

.feature-card h3 {
    font-family: "Outfit", sans-serif;
    font-size: 1.45rem;
    margin-bottom: 10px;
}

.two-column {
    align-items: center;
}

.stack-text {
    display: grid;
    gap: 16px;
}

.narrow {
    max-width: 860px;
}

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-list details {
    padding: 22px 24px;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list p {
    padding-top: 12px;
}

.service-area-heading .eyebrow {
    margin-bottom: 14px;
}

.service-area-heading h2 {
    margin-bottom: 10px;
}

.map-frame {
    padding: 14px;
}

.site-footer {
    background: #0f172a;
    color: var(--white);
    padding: 56px 0 110px;
}

.site-footer .eyebrow,
.site-footer p {
    color: #cbd5e1;
}

.footer-contact {
    display: grid;
    gap: 12px;
    justify-items: end;
}

.footer-phone-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 22px;
    margin-top: 8px;
    text-align: center;
    color: #cbd5e1;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    z-index: 40;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    position: relative;
    width: min(480px, 100%);
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.close-modal {
    position: absolute;
    top: 12px;
    right: 16px;
    border: 0;
    background: transparent;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-soft);
}

.modal-body {
    text-align: center;
    display: grid;
    gap: 16px;
    padding-top: 10px;
}

.success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #dbeafe;
    color: var(--blue);
    font-size: 2rem;
    font-weight: 800;
}

.mobile-cta {
    display: none;
}

.mobile-call-btn {
    gap: 0;
    animation: mobile-call-float 4s ease-in-out infinite;
}

.mobile-call-btn .phone-pill-icon {
    margin-right: 12px;
    flex-shrink: 0;
    animation: phone-wiggle 3.2s ease-in-out infinite;
}

.mobile-call-label {
    display: inline-block;
}

@keyframes phone-wiggle {
    0%, 82%, 100% {
        transform: rotate(0deg);
    }
    86% {
        transform: rotate(14deg);
    }
    90% {
        transform: rotate(-12deg);
    }
    94% {
        transform: rotate(10deg);
    }
    98% {
        transform: rotate(-8deg);
    }
}

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

@media (max-width: 900px) {
    .hero-grid,
    .two-column,
    .form-shell,
    .packages-grid,
    .gallery-grid,
    .placeholder-grid,
    .review-placeholder-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .footer-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-contact {
        justify-items: start;
    }
}

@media (max-width: 768px) {
    .hero,
    .section {
        padding: 72px 0;
    }

    .hero {
        min-height: auto;
        padding-top: 122px;
        padding-bottom: 88px;
    }

    .container {
        width: min(100% - 28px, 1120px);
    }

    .brand {
        font-size: 1.5rem;
    }

    .brand-logo {
        height: 44px;
    }

    .hero-copy h1 {
        font-size: 2.6rem;
    }

    .header-row {
        gap: 12px;
        align-items: center;
        flex-wrap: nowrap;
    }

    .phone-pill {
        padding: 9px 12px;
        font-size: 0.82rem;
        white-space: nowrap;
        flex-shrink: 1;
        min-width: 0;
    }

    .phone-pill span {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .cta-row {
        justify-content: center;
    }

    .hero-location {
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    .mobile-cta {
        display: block;
        position: fixed;
        left: 50%;
        bottom: 14px;
        transform: translateX(-50%);
        padding: 0;
        background: transparent;
        border-top: 0;
        text-align: center;
        z-index: 30;
    }

    .mobile-cta .btn {
        width: auto;
        min-width: 0;
        box-shadow: 0 16px 35px rgba(37, 99, 235, 0.34);
    }

    .site-footer {
        padding-bottom: 140px;
    }
}
