* {
    box-sizing: border-box;
}

:root {
    --logo-blue: #0054a6;
    --logo-blue-dark: #003f7d;
    --logo-maroon: #8b0026;
    --logo-maroon-dark: #6f001e;
    --cream-bg: #f5f2ec;
    --text-dark: #1f2933;
    --soft-border: rgba(0,0,0,0.08);
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--text-dark);
    background: var(--cream-bg);
}

.container {
    width: 90%;
    max-width: 1120px;
    margin: auto;
}

.main-header {
    background: white;
    border-bottom: 1px solid var(--soft-border);
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 58px;
    width: auto;
    display: block;
}

.header-nav {
    display: flex;
    gap: 22px;
    align-items: center;
}

.header-nav a {
    color: var(--logo-blue);
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
}

.header-nav a:hover {
    color: var(--logo-maroon);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-phone {
    font-weight: 800;
    color: var(--logo-maroon);
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
    font-size: 16px;
}

.header-phone:hover {
    color: var(--logo-blue);
}

.header-button,
.button,
button {
    background: var(--logo-blue);
    color: white;
    padding: 10px 16px;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    font-weight: bold;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: 0.2s ease;
    white-space: nowrap;
}

.header-button:hover,
.button:hover,
button:hover {
    background: var(--logo-blue-dark);
}

.hero {
    background:
        linear-gradient(rgba(0, 84, 166, 0.88), rgba(0, 63, 125, 0.88)),
        url("/static/hero-placeholder.jpg");
    background-size: cover;
    background-position: center;
    color: white;
    padding: 90px 0;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 50px;
    align-items: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
    font-weight: bold;
    color: white;
    margin-bottom: 14px;
}

.eyebrow.dark {
    color: var(--logo-maroon);
}

.hero h1 {
    font-size: 56px;
    line-height: 1.05;
    letter-spacing: -0.5px;
    margin: 0 0 22px;
    max-width: 760px;
}

.subhead {
    font-size: 20px;
    line-height: 1.6;
    max-width: 680px;
    color: #eef5ff;
    margin-top: 6px;
}

.cta-row {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 32px;
}

.cta-row .button {
    background: var(--logo-maroon);
    padding: 15px 24px;
}

.cta-row .button:hover {
    background: var(--logo-maroon-dark);
}

.phone {
    color: white;
    font-weight: bold;
}

.hero-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 28px;
    border-radius: 14px;
    backdrop-filter: blur(6px);
}

.hero-card h3 {
    font-size: 24px;
    margin: 0 0 12px;
}

.hero-card p {
    line-height: 1.5;
    color: #eef5ff;
}

.trust {
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.trust-card {
    background: white;
    padding: 26px;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    border-top: 4px solid var(--logo-maroon);
}

.trust-card h3 {
    margin-top: 0;
    font-size: 20px;
    color: var(--logo-blue);
}

.trust-card p {
    color: #4b5563;
    line-height: 1.5;
}

.content {
    padding: 80px 0;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 55px;
    align-items: start;
}

.main-content h2 {
    font-size: 30px;
    margin: 0 0 16px;
    color: var(--logo-blue);
}

.lead {
    font-size: 18px;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 0;
}

.service-box,
.info-section {
    background: rgba(255,255,255,0.75);
    padding: 28px;
    border-radius: 12px;
    margin-top: 28px;
    border: 1px solid var(--soft-border);
}

.info-section h2 {
    margin-bottom: 10px;
}

.info-section + .info-section {
    margin-top: 18px;
}

.info-section p {
    line-height: 1.6;
    color: #374151;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.services-grid div {
    background: white;
    padding: 14px 16px;
    border-radius: 8px;
    border-left: 4px solid var(--logo-maroon);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    font-weight: 500;
}

.secondary-button {
    display: inline-block;
    background: transparent;
    color: var(--logo-blue);
    border: 2px solid var(--logo-blue);
    margin-top: 10px;
}

.secondary-button:hover {
    background: var(--logo-blue);
    color: white;
}

.final-cta {
    background: var(--logo-blue);
    color: white;
    text-align: center;
}

.final-cta h2 {
    color: white;
}

.final-cta p {
    color: #e6f0ff;
    margin-bottom: 18px;
}

.final-cta .button {
    background: var(--logo-maroon);
    padding: 15px 24px;
}

.final-cta .button:hover {
    background: var(--logo-maroon-dark);
}

.form-card {
    background: white;
    padding: 34px;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.13);
    border: 1px solid var(--soft-border);
    position: sticky;
    top: 30px;
}

.form-card h2 {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--logo-blue);
}

.form-intro {
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 22px;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-top: 14px;
    margin-bottom: 6px;
    font-weight: bold;
    font-size: 14px;
    color: var(--logo-blue);
}

input,
select,
textarea {
    padding: 13px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--logo-blue);
    box-shadow: 0 0 0 3px rgba(0, 84, 166, 0.18);
}

button {
    margin-top: 22px;
    font-size: 17px;
    padding: 16px;
}

.small-note {
    font-size: 14px;
    color: #4b5563;
    margin-top: 12px;
}

.projects-page {
    padding: 80px 0;
}

.projects-page h1 {
    font-size: 48px;
    margin: 0 0 18px;
    color: var(--logo-blue);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 34px;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 16px rgba(0,0,0,0.05);
    border: 1px solid var(--soft-border);
}

.project-image-placeholder {
    height: 180px;
    background: #dbe7f5;
    color: var(--logo-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.project-card h3 {
    margin: 18px 18px 8px;
    font-size: 20px;
    color: var(--logo-blue);
}

.project-card p {
    margin: 0 18px 22px;
    color: #4b5563;
    line-height: 1.5;
}

.project-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: 0.2s ease;
}

.project-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

.project-link span {
    display: block;
    margin: 0 18px 22px;
    color: var(--logo-maroon);
    font-weight: bold;
}

.project-detail-page {
    padding: 80px 0;
}

.project-detail-page h1 {
    font-size: 52px;
    margin: 0 0 18px;
    color: var(--logo-blue);
}

.project-detail-layout {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 40px;
    align-items: start;
    margin-top: 36px;
}

.project-hero-placeholder {
    height: 420px;
    background: #dbe7f5;
    color: var(--logo-blue);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    letter-spacing: 0.5px;
    border: 1px solid var(--soft-border);
}

.project-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 18px;
}

.project-small-photo {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    border: 1px solid var(--soft-border);
}

.detail-list {
    line-height: 1.8;
    color: #374151;
    padding-left: 20px;
}

.project-detail-sidebar {
    position: sticky;
    top: 30px;
}

.sidebar-card {
    background: white;
    padding: 26px;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
    border: 1px solid var(--soft-border);
    margin-bottom: 20px;
}

.sidebar-card h3 {
    margin-top: 0;
    font-size: 22px;
    color: var(--logo-blue);
}

.sidebar-card p {
    color: #4b5563;
    line-height: 1.6;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid #e5e7eb;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row span {
    color: #4b5563;
    text-align: right;
}

.full-width-button {
    display: block;
    text-align: center;
    margin-top: 18px;
    background: var(--logo-maroon);
}

.full-width-button:hover {
    background: var(--logo-maroon-dark);
}

footer {
    text-align: center;
    padding: 28px;
    background: var(--logo-maroon);
    color: white;
}

.project-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    background: #dbe7f5;
}

.gallery-image {
    cursor: pointer;
    transition: 0.2s ease;
}

.gallery-image:hover {
    transform: scale(1.03);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 5000;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    align-items: center;
    justify-content: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 34px;
    background: none;
    color: white;
    font-size: 44px;
    border: none;
    cursor: pointer;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    color: white;
    font-size: 58px;
    border: none;
    cursor: pointer;
    padding: 12px 20px;
    border-radius: 8px;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
}

#lightbox-caption {
    color: white;
    margin-top: 12px;
    font-size: 16px;
}

.project-hero-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
    border: 1px solid var(--soft-border);
}

.google-review-card {
    background: white;
    border: 1px solid var(--soft-border);
    border-radius: 14px;
    padding: 22px;
    margin-top: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.review-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--logo-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
}

.review-name {
    margin: 0;
    font-weight: 800;
    color: #111827;
}

.review-source {
    margin: 4px 0 0;
    font-size: 13px;
    color: #6b7280;
}

.review-stars {
    color: #f59e0b;
    font-size: 22px;
    letter-spacing: 2px;
    margin-top: 14px;
}

.review-text {
    color: #374151;
    line-height: 1.7;
    margin-bottom: 0;
}

.button .arrow {
    margin-left: 6px;
    transition: transform 0.2s ease;
}

.button:hover .arrow {
    transform: translateX(4px);
}

@media (max-width: 900px) {
    .hero-inner,
    .trust-grid,
    .two-col,
    .services-grid,
    .projects-grid,
    .project-detail-layout,
    .project-photo-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 65px 0;
    }

    .hero h1 {
        font-size: 40px;
    }

    .trust {
        margin-top: 0;
        padding-top: 25px;
    }

    .form-card,
    .project-detail-sidebar {
        position: static;
    }

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

    .header-inner {
        flex-direction: column;
        gap: 12px;
        padding: 12px 0;
    }

    .logo img {
        height: 72px;
    }

    .header-nav {
        gap: 14px;
    }

    .header-right {
        gap: 12px;
        flex-direction: column;
    }

    .project-detail-page h1 {
        font-size: 40px;
    }

    .project-hero-placeholder {
        height: 280px;
    }
}