:root {
    /* Brand palette — set per prospect via intake.yaml */
    --primary: #1B4E9B;   /* CTAs + accents */
    --primary-hover: #16407D;
    --secondary: #152B4A;   /* sections + cards */
    --secondary-light: #1E3A63;
    --accent: #0D1626;   /* page + logo bg */
    --dark: #0D1626;
    --light: #F2F5FA;   /* light content bg */
    --white: #FFFFFF;
    --gray: #666666;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Roboto', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* { box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--dark);
    margin: 0;
    background-color: var(--light);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin: 0;
}

a { color: inherit; }

/* ---------- Navigation ---------- */
nav {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo img { height: 40px; width: auto; }
.logo span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.08em;
    color: var(--dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.15s;
}

.nav-links a:hover { color: var(--primary); }

.nav-phone {
    color: var(--secondary) !important;
    font-weight: 600;
}

.btn-primary-nav {
    background: var(--primary);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}

.btn-primary-nav:hover { background: var(--primary-hover); }

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 600px;
    padding: 8rem 2rem 4rem;
    background:
        linear-gradient(rgba(11, 11, 11, 0.62), rgba(11, 11, 11, 0.62)),
        var(--secondary);
    color: white;
    margin-top: 70px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: white;
}

.hero p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto 2rem;
    max-width: 640px;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.15s;
    border: 0;
    cursor: pointer;
    font-family: var(--font-body);
}

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

.btn-primary:hover { background: var(--primary-hover); }

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--dark);
}

.trust-badges {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.trust-badges span { display: inline-flex; align-items: center; gap: 0.4rem; }
.trust-badges i { color: var(--primary); }

/* ---------- About ---------- */
.about-section {
    padding: 5rem 2rem;
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.about-text h2 {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    color: var(--secondary);
}

.about-text p {
    font-size: 1.0625rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.about-photo img {
    width: 100%;
    border-radius: var(--radius-md);
    object-fit: cover;
    box-shadow: var(--shadow-md);
    display: block;
}

/* ---------- Section header (shared) ---------- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    color: var(--secondary);
}

.section-header p {
    color: var(--gray);
    font-size: 1.05rem;
}

/* ---------- Services ---------- */
.services-section {
    padding: 5rem 2rem;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--light);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: left;
}

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

.icon-box {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: var(--secondary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.text-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.text-link:hover { color: var(--primary-hover); }

/* ---------- Gallery ---------- */
.gallery-section {
    padding: 5rem 2rem;
    background: var(--light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    height: 260px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item span {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ---------- Reviews ---------- */
.reviews-section {
    padding: 5rem 2rem;
    background: var(--white);
    text-align: center;
}

.stars-large {
    color: var(--primary);
    font-size: 1.75rem;
    margin: 0.5rem 0;
}

.reviews-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.review-card {
    background: var(--light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: left;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
}

.reviewer-info h4 {
    margin: 0 0 0.15rem;
    font-size: 1rem;
    color: var(--secondary);
}

.review-card .stars { color: var(--primary); font-size: 0.95rem; }
.review-card p { color: var(--dark); font-size: 0.95rem; margin: 0.5rem 0; }
.review-date { color: var(--gray); font-size: 0.8rem; }

/* ---------- Footer ---------- */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 4rem 2rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-col h3 {
    color: white;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.15s;
}

.footer-col a:hover { color: var(--primary); }
.footer-col p { margin: 0 0 0.5rem; }
.footer-col p a { display: inline; }

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0;
    transition: background 0.15s;
}

.social-links a:hover { background: var(--primary); }

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .footer-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-photo { max-width: 280px; margin: 0 auto; }
    .hero { padding: 6rem 1.5rem 3rem; min-height: 480px; }
    .cta-group { flex-direction: column; align-items: stretch; }
    .btn-primary, .btn-secondary { justify-content: center; }
    .trust-badges { gap: 0.75rem; font-size: 0.85rem; }
}
