/* Base layout */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f5f5f7;
    color: #222;
}

a {
    color: #0b63ce;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header & nav */

.main-header,
.sub-header {
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 20px;
}

.logo-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 48px;
    width: auto;
}

.main-header h1,
.sub-header h1 {
    margin: 0;
    font-size: 1.4rem;
}

.tagline {
    margin: 2px 0 0;
    font-size: 0.9rem;
    color: #666;
}

nav {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

nav a {
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.95rem;
    background: #f2f2f4;
}

nav a.active {
    background: #0b63ce;
    color: #fff;
}

/* Hero */

.hero {
    padding: 40px 20px;
    background: #e9f2ff;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.hero h2 {
    font-size: 1.9rem;
    margin-bottom: 10px;
}

.hero p {
    margin-top: 0;
}

.hero-sub {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #555;
}

.hero-cta {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Buttons */

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-primary {
    background: #0b63ce;
    color: #fff;
}

.btn-secondary {
    background: #ffffff;
    color: #0b63ce;
    border: 1px solid #0b63ce;
}

/* Sections */

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.page h2,
.gallery-page h2 {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
}

.intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 25px;
    color: #555;
}

/* Highlights on home */

.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.highlight {
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

/* Home panels */

.home-panels {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.panel {
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.text-link {
    display: inline-block;
    margin-top: 8px;
    font-weight: 600;
}

/* CTA strip */

.cta-strip {
    margin-top: 40px;
    padding: 30px 20px;
    text-align: center;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

/* Services */

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.service-card {
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.service-card ul {
    padding-left: 18px;
}

/* Pricing */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.price-card {
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.small-note {
    font-size: 0.85rem;
    color: #666;
}

.pricing-notes {
    margin-top: 25px;
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

/* Reviews */

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.review-card {
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.review-text {
    font-style: italic;
}

.review-name {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #555;
}

/* Gallery */

.gallery-page {
    padding: 20px;
}

.gallery-page h3 {
    margin-top: 30px;
    margin-bottom: 10px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.gallery-grid img,
.before-after-grid img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.before-after-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Footer */

footer {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

/* Responsive tweaks */

@media (max-width: 600px) {
    .hero-text {
        text-align: left;
    }

    nav {
        gap: 6px;
    }

    .pair {
        grid-template-columns: 1fr;
    }
}