:root {
    --bg-dark: #0d0d0d;
    --bg-section: #111111;
    --bg-light: #f7f7f7;
    --accent: #fefa52;
    --accent-dark: #e6e048;
    --text-main: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #666666;
    --border: #e5e5e5;
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--text-main);
    background: #ffffff;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--accent-dark);
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Top bar */
.top-bar {
    background: var(--bg-dark);
    color: var(--accent);
    font-size: 0.85rem;
    padding: 0.5rem 0;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.top-phone {
    color: var(--accent);
    font-weight: 600;
}

.top-cta {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.top-social a {
    color: var(--accent);
    margin-left: 1rem;
    font-size: 0.8rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 13, 13, 0.92);
    backdrop-filter: blur(8px);
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
}

.logo:hover {
    color: var(--text-light);
}

.logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #d4af37);
    color: #111;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-main {
    font-weight: 700;
    letter-spacing: 0.06em;
    font-size: 1rem;
}

.logo-sub {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    color: #bbb;
}

.nav {
    display: flex;
    gap: 1.75rem;
}

.nav a {
    color: #eee;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

.nav a:hover {
    color: var(--accent);
}

.btn-book {
    background: var(--accent);
    color: #111 !important;
    padding: 0.55rem 1.25rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.btn-book:hover {
    background: var(--accent-dark);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.6rem;
    background: var(--accent);
    color: #111;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: var(--accent-dark);
    color: #111;
    text-decoration: none;
}

.btn-primary.full {
    width: 100%;
    text-align: center;
}

.btn-outline {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    border: 2px solid var(--accent);
    color: var(--text-main);
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}

.btn-outline:hover {
    background: var(--accent);
    color: #111;
}

/* Hero */
.hero {
    position: relative;
    min-height: 78vh;
    background: #1a1a1a;
    background-image:
        linear-gradient(105deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 55%, rgba(0,0,0,0.55) 100%),
        url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=80");
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    padding: 5rem 0 6rem;
    max-width: 720px;
    z-index: 1;
}

.hero-kicker {
    color: var(--accent);
    font-size: 1.15rem;
    margin: 0 0 0.5rem;
    font-weight: 500;
}

.hero h1 {
    font-size: clamp(1.9rem, 4vw, 2.85rem);
    line-height: 1.25;
    margin: 0 0 1.5rem;
    font-weight: 700;
}

.hero h1 .highlight {
    background: rgba(255, 255, 255, 0.12);
    padding: 0.1em 0.25em;
    border-radius: 2px;
}

.hero-sub {
    margin: 0 0 1rem;
    color: #ddd;
    font-size: 1rem;
}

/* Inspection strip */
.inspection-strip {
    background: #fff;
    margin-top: -3rem;
    position: relative;
    z-index: 5;
}

.inspection-inner {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.inspection-text .kicker {
    margin: 0 0 0.25rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.inspection-text h2 {
    margin: 0;
    font-size: 1.5rem;
}

.inspection-form {
    display: flex;
    gap: 0.75rem;
    flex: 1;
    min-width: 260px;
    max-width: 420px;
}

.inspection-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.95rem;
}

/* Sections */
.section {
    padding: 4.5rem 0;
}

.section-alt {
    background: var(--bg-light);
}

.kicker {
    color: var(--accent-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.kicker.center,
.center {
    text-align: center;
}

.section h2 {
    font-size: 1.9rem;
    margin: 0 0 1.5rem;
    line-height: 1.3;
}

/* About */
.about-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.certified {
    font-weight: 600;
    color: var(--text-main) !important;
    margin-top: 1.5rem !important;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.stat {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #111;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
    display: block;
}

/* Services */
.services-grid {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    justify-items: stretch;
}

.services-grid .card:nth-child(4) {
    grid-column: 1 / 2;
    justify-self: stretch;
}

.services-grid .card:nth-child(5) {
    grid-column: 2 / 3;
    justify-self: stretch;
}

@media (min-width: 901px) {
    .services-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    .services-grid .card:nth-child(1) { grid-column: 1 / 3; }
    .services-grid .card:nth-child(2) { grid-column: 3 / 5; }
    .services-grid .card:nth-child(3) { grid-column: 5 / 7; }
    .services-grid .card:nth-child(4) { grid-column: 2 / 4; }
    .services-grid .card:nth-child(5) { grid-column: 4 / 6; }
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: box-shadow 0.2s, transform 0.2s;
    min-width: 0;
}

.card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.card-icon {
    font-size: 1.75rem;
    line-height: 1;
}

.card h3 {
    margin: 0;
    font-size: 1.15rem;
}

.card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    flex: 1;
}

.card-link {
    color: var(--accent-dark);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.card-link:hover {
    color: #111;
}

/* Objectives */
.objectives {
    background: var(--bg-dark);
    color: var(--text-light);
}

.objectives .kicker {
    color: var(--accent);
}

.objectives h2 {
    color: var(--text-light);
}

.objectives-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    max-width: 640px;
}

.objectives-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.85rem;
    color: #ccc;
}

.objectives-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* Reasons */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.reason {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    border: 1px solid var(--border);
}

.reason-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-dark);
    margin-bottom: 0.5rem;
}

.reason h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

/* Contact */
.contact-section {
    background: var(--bg-light);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 0.5rem;
}

.contact-info .lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin: 1.75rem 0 0;
}

.contact-details li {
    margin-bottom: 0.65rem;
}

.contact-details a {
    color: var(--accent-dark);
    font-weight: 600;
}

.contact-form-wrap {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
}

.contact-form-wrap h3 {
    margin: 0 0 1.25rem;
    font-size: 1.35rem;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.quote-form input,
.quote-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: inherit;
}

.quote-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.site-footer {
    background: var(--bg-dark);
    color: #ccc;
    padding: 3rem 0 2rem;
    font-size: 0.9rem;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
}

.footer-brand .logo-main {
    color: var(--text-light);
    letter-spacing: 0.08em;
}

.footer-brand p {
    margin: 0.35rem 0 0;
    color: #888;
}

.footer-address,
.footer-phone {
    margin: 0.25rem 0 0 !important;
    font-size: 0.85rem;
    color: #aaa !important;
}

.footer-phone a {
    color: var(--accent);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #aaa;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-social {
    display: flex;
    gap: 1.25rem;
}

.footer-social a {
    color: var(--accent);
    font-size: 0.85rem;
}

.footer-social a:hover {
    color: #fff;
}

.copyright {
    margin: 0.5rem 0 0;
    color: #666;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 900px) {
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .nav {
        display: none;
    }

    .header-inner {
        gap: 1rem;
        padding: 1rem;
    }

    .inspection-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .inspection-form {
        max-width: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .services-grid .card:nth-child(n) {
        grid-column: auto !important;
    }
}

@media (max-width: 600px) {
    .top-bar-inner {
        flex-direction: column;
        gap: 0.35rem;
        text-align: center;
    }

    .top-social {
        margin-top: 0.25rem;
    }

    .hero {
        min-height: 70vh;
        padding: 1rem;
    }

    .hero-content {
        padding: 3.5rem 0 5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr !important;
    }
}