
/* BUILD COST UK - MAIN DESIGN */

:root {
    --navy: #14283f;
    --navy-light: #203c59;
    --orange: #f28c28;
    --white: #ffffff;
    --light: #f4f6f8;
    --text: #263445;
    --muted: #667587;
}

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

html {
    scroll-behavior: smooth;
}

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

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

.site-header {
    min-height: 82px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    background: var(--white);
    border-bottom: 1px solid #e8edf1;
}

.logo {
    font-size: 25px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -1px;
}

.logo span {
    color: var(--orange);
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
}

nav a:hover {
    color: var(--orange);
}

.header-button {
    background: var(--orange);
    color: var(--white);
    padding: 11px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
}

.hero {
    min-height: 590px;
    display: flex;
    align-items: center;
    padding: 80px 10%;
    background:
        linear-gradient(90deg, rgba(14, 32, 52, 0.97), rgba(14, 32, 52, 0.76)),
        linear-gradient(135deg, #304a60, #14283f);
    color: var(--white);
}

.hero-content {
    max-width: 720px;
}

.eyebrow {
    color: var(--orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 70px);
    line-height: 1.08;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--orange);
}

.hero-description {
    max-width: 560px;
    color: #d6e0e9;
    font-size: 18px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.button {
    display: inline-block;
    padding: 15px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

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

.secondary {
    border: 1px solid #ffffff80;
    color: var(--white);
}

.primary:hover,
.header-button:hover {
    background: #d97617;
}

.secondary:hover {
    background: #ffffff18;
}

.intro,
.trades-section,
.materials-section,
.about-section {
    padding: 90px 10%;
}

.intro h2,
.trades-section h2,
.materials-section h2,
.about-section h2,
.calculator-section h2 {
    max-width: 750px;
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -1px;
    color: var(--navy);
    margin-bottom: 18px;
}

.intro > p:not(.eyebrow),
.trades-section > p:not(.eyebrow),
.materials-section > p:not(.eyebrow),
.about-section > p,
.calculator-section > p:not(.eyebrow) {
    max-width: 700px;
    color: var(--muted);
    font-size: 17px;
}

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

.feature-card {
    background: var(--white);
    padding: 30px;
    border: 1px solid #e6ebef;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(20, 40, 63, 0.04);
}

.feature-card h3 {
    color: var(--navy);
    font-size: 19px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--muted);
    font-size: 15px;
}

.card-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--orange);
    font-size: 14px;
    font-weight: 700;
}

.card-link:hover {
    color: var(--navy);
}

.coming-soon {
    margin-top: 16px;
    font-size: 13px !important;
    font-weight: 700;
    color: var(--orange) !important;
}

/* PATIO CALCULATOR */

.calculator-section {
    padding: 90px 10%;
    background: var(--light);
}

.calculator-section > h2,
.calculator-section > p {
    margin-bottom: 20px;
}

.calculator-panel {
    max-width: 850px;
    margin-top: 35px;
    padding: 40px;
    background: var(--white);
    border: 1px solid #e6ebef;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(20, 40, 63, 0.06);
}

.calculator-panel h3 {
    color: var(--navy);
    margin-bottom: 20px;
}

.calculator-panel h3:not(:first-child) {
    margin-top: 35px;
}

.calculator-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 25px;
}

.calculator-fields label {
    display: block;
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
}

.calculator-fields input,
.calculator-fields select {
    width: 100%;
    min-height: 48px;
    padding: 12px;
    border: 1px solid #ccd5dd;
    border-radius: 6px;
    background: var(--white);
    color: var(--text);
    font: inherit;
}

.calculator-fields input:focus,
.calculator-fields select:focus {
    outline: 2px solid var(--orange);
    border-color: var(--orange);
}

.calculator-panel > .button {
    margin-top: 10px;
}

.calculator-results {
    margin-top: 35px;
    padding: 25px;
    background: var(--light);
    border-radius: 8px;
}

.calculator-results h3 {
    margin-bottom: 15px;
}

.calculator-results h4 {
    color: var(--navy);
    margin: 22px 0 10px;
}

.calculator-results p {
    margin-bottom: 8px;
    color: var(--muted);
}

.result-highlight {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px;
    margin: 20px 0;
    background: var(--navy);
    color: var(--white);
    border-radius: 8px;
}

.result-highlight strong {
    color: var(--orange);
    font-size: 26px;
}

.calculator-results hr {
    margin: 22px 0;
    border: none;
    border-top: 1px solid #d9e0e6;
}

.estimate-note {
    margin: 20px 0;
    font-size: 13px;
    line-height: 1.6;
}

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

.materials-section {
    background: var(--white);
}

.about-section {
    background: #edf2f6;
}

footer {
    background: var(--navy);
    color: #d6e0e9;
    padding: 45px 10%;
    text-align: center;
}

footer .logo {
    display: inline-block;
    color: var(--white);
    margin-bottom: 12px;
}

footer p {
    font-size: 13px;
    margin-top: 8px;
    color: #bdcbd8;
}

@media print {
    .site-header,
    .hero,
    .intro,
    .trades-section,
    .materials-section,
    .about-section,
    footer,
    .calculator-panel > h3,
    .calculator-fields,
    #calculate-patio {
        display: none !important;
    }

    .calculator-section {
        padding: 0;
        background: white;
    }

    .calculator-panel {
        border: none;
        box-shadow: none;
        padding: 0;
    }

    .calculator-results {
        background: white;
    }
}

@media (max-width: 850px) {
    .site-header {
        padding: 20px 6%;
        flex-wrap: wrap;
    }

    nav {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
        gap: 16px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 520px;
        padding: 70px 7%;
    }

    .intro,
    .trades-section,
    .materials-section,
    .about-section,
    .calculator-section {
        padding: 65px 7%;
    }
}

@media (max-width: 480px) {
    .header-button {
        padding: 9px 13px;
    }

    nav {
        gap: 12px;
    }

    nav a {
        font-size: 12px;
    }

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

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        text-align: center;
    }

    .calculator-panel {
        padding: 22px;
    }

    .calculator-fields {
        grid-template-columns: 1fr;
    }

    .result-highlight {
        align-items: flex-start;
        flex-direction: column;
    }
}
