@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

/* ==============================
   GENERAL
================================= */

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

body {
    font-family: 'DM Sans', Arial, sans-serif;
    background:
        linear-gradient(180deg, rgba(248, 243, 238, 0.88), rgba(242, 239, 233, 0.92)),
        url('images/4-bedroom-bungalow-main.jpg') center/cover no-repeat fixed;
    color: #1e2a2f;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}


/* ==============================
   NAVIGATION / BRANDING
================================= */

.navbar {
    width: min(1200px, calc(100% - 32px));
    margin: 18px auto 10px;
    padding: 16px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(125, 35, 53, 0.08);
    border-radius: 22px;
    box-shadow: 0 18px 35px rgba(18, 39, 44, 0.08);
    backdrop-filter: blur(10px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-logo {
    width: 56px;
    height: 56px;
    display: block;
    filter: drop-shadow(0 8px 15px rgba(125, 35, 53, 0.2));
}

.roof-shape {
    fill: #f6d57a;
    stroke: #7d2335;
    stroke-width: 2.5;
}

.roof-line {
    fill: none;
    stroke: #7d2335;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.brand-letter {
    font-size: 26px;
    font-weight: 800;
    font-family: 'DM Sans', Arial, sans-serif;
    fill: #7d2335;
}

.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name span {
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    color: #7d2335;
}

.brand-name small {
    font-size: 0.72rem;
    letter-spacing: 0.26rem;
    color: #4d6d73;
    margin-top: 4px;
}

.navbar nav {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.navbar nav a {
    color: #24373a;
    font-weight: 700;
    font-size: 0.98rem;
    transition: color 0.2s ease;
}

.navbar nav a:hover {
    color: #7d2335;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line, #d7e3df);
    background: transparent;
    color: var(--ink, #172b35);
    padding: 9px 13px;
    font: inherit;
    font-weight: 700;
}


/* ==============================
   HERO
================================= */

.hero {
    text-align: center;
    padding: 74px 20px 88px;
    background:
        linear-gradient(135deg, rgba(18, 54, 61, 0.86) 0%, rgba(27, 82, 90, 0.8) 32%, rgba(35, 124, 117, 0.72) 100%),
        url('images/4-bedroom-bungalow-main.jpg') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 29, 31, 0.18), rgba(255, 255, 255, 0.06));
}

.hero > * {
    position: relative;
    z-index: 1;
}

.small-heading {
    display: inline-block;
    padding: 9px 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: #f7f1e8;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.hero h1 {
    margin-top: 30px;
    font-size: clamp(2.6rem, 5vw, 4.3rem);
    color: #fff;
    letter-spacing: -0.05em;
}

.hero-text {
    margin-top: 16px;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-family: 'Playfair Display', Georgia, serif;
    color: #f6d57a;
}


/* ==============================
   BUTTONS
================================= */

.hero-buttons {
    margin-top: 30px;

    display: flex;
    justify-content: center;

    gap: 15px;
}

.button {
    display: inline-block;
    padding: 15px 28px;
    background: linear-gradient(135deg, #7d2335 0%, #9d2d45 100%);
    color: white;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 14px 24px rgba(125, 35, 53, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 28px rgba(125, 35, 53, 0.28);
}

.button.secondary {
    background: linear-gradient(135deg, #f6d57a 0%, #e8bf41 100%);
    color: #1d343a;
    box-shadow: 0 14px 24px rgba(230, 191, 69, 0.25);
}


/* ==============================
   CATEGORIES
================================= */

.categories {
    text-align: center;

    padding: 60px 20px;
}

.categories h2 {
    font-size: 32px;

    margin-bottom: 25px;
}

.category-buttons {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 15px;
}

.category-buttons a {
    padding: 12px 25px;

    background: #4dd4dd;

    color: #7d2335;

    border-radius: 8px;

    font-weight: bold;
}


/* ==============================
   FEATURED PLANS
================================= */

.featured {
    padding: 72px 5% 80px;
    text-align: center;
    background: rgba(255, 250, 245, 0.92);
    backdrop-filter: blur(2px);
}

.featured h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 12px;
    color: #1d2d31;
}

.plans-container {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    margin-top: 40px;
}

.plan-card {
    background: #ffffff;
    padding: 18px;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(16, 31, 35, 0.08);
    text-align: left;
    border: 1px solid rgba(125, 35, 53, 0.06);
}

.plan-image {
    height: 220px;
    background: linear-gradient(135deg, #e9f3f3 0%, #e8e0d8 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 14px;
    margin-bottom: 18px;
    overflow: hidden;
}

.plan-card h3 {
    margin-bottom: 10px;

    color: #7d2335;
}

.price {
    font-weight: bold;

    font-size: 20px;

    margin: 15px 0;
}

.view-plan {
    display: inline-block;
    padding: 10px 18px;
    background: linear-gradient(135deg, #4dd4dd 0%, #38b9c0 100%);
    color: #15343b;
    border-radius: 999px;
    font-weight: 700;

    font-weight: bold;
}


/* ==============================
   CUSTOM DESIGN
================================= */

.custom-design {
    text-align: center;

    padding: 80px 20px;

    background: #d8d5d2;
}

.custom-design h2 {
    font-size: 35px;

    margin-bottom: 15px;
}

.custom-design p {
    margin-bottom: 25px;
}


/* ==============================
   FOOTER
================================= */

footer {
    text-align: center;

    padding: 40px 20px;

    background: #7d2335;

    color: white;
}

footer h3 {
    margin-bottom: 10px;
}

footer p {
    margin-top: 8px;
}


/* ==============================
   MOBILE
================================= */

@media (max-width: 800px) {

    .navbar {
        flex-direction: column;

        gap: 15px;
    }

    .navbar nav {
        gap: 20px;
    }

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

    .hero-text {
        font-size: 28px;
    }

    .plans-container {
        grid-template-columns: 1fr;
    }

    .plan-tools {
        align-items: stretch;
        flex-direction: column;
        margin-left: 20px;
        margin-right: 20px;
    }

    .plan-tools input,
    .plan-tools select {
        width: 100%;
    }

    .trust-strip {
        grid-template-columns: 1fr;
    }

}/* ==============================
   HOUSE PLANS PAGE
================================= */

.plans-header {
    text-align: center;

    padding: 70px 20px 30px;

    background: #d8d5d2;
}

.plans-header h1 {
    font-size: 50px;

    color: #7d2335;

    margin-bottom: 15px;
}

.plans-header p {
    font-size: 18px;
}

.plan-tools {
    max-width: 900px;
    margin: 30px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.plan-tools label {
    font-weight: bold;
    color: #7d2335;
}

.plan-tools input,
.plan-tools select {
    padding: 11px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: white;
    font: inherit;
}

.plan-tools input {
    min-width: 240px;
}


/* PLAN FILTERS */

.plan-categories {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

    padding: 30px 20px;
}

.plan-categories button {
    border: none;

    padding: 11px 20px;

    border-radius: 8px;

    background: #4dd4dd;

    color: #7d2335;

    font-weight: bold;

    cursor: pointer;

    transition: all 0.3s ease;
}

.plan-categories button.active {
    background: #7d2335;

    color: white;
}


/* PLANS AREA */

.plans-page {
    padding: 30px 5% 80px;

    background: white;
}

.plans-page .plans-container {
    max-width: 1200px;

    margin: auto;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 20px;
    color: #666;
}


/* HOVER EFFECT */

.plan-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.plan-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;
}

.buy-button,
.custom-button,
.manual-payment-button {
    flex: 1;

    padding: 15px 25px;

    font-size: 16px;

    font-weight: bold;

    border: none;

    border-radius: 8px;

    cursor: pointer;

    transition: all 0.3s ease;
}

.buy-button {
    background: #7d2335;

    color: white;
}

.buy-button:hover:not(:disabled) {
    background: #5d1a27;
}

.buy-button:disabled {
    opacity: 0.6;

    cursor: not-allowed;
}

.custom-button {
    background: #4dd4dd;

    color: #7d2335;
}/* ==============================
   PRODUCT PAGE
================================= */

.product-page {
    max-width: 1200px;
    margin: auto;

    padding: 70px 5%;

    display: grid;

    grid-template-columns: 1.1fr 1fr;

    gap: 60px;
}


/* PRODUCT GALLERY */

.product-gallery {
    width: 100%;
}

.main-product-image {
    width: 100%;
    height: 500px;

    background: #d5d5d5;

    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
    color: #666;
    
    overflow: hidden;
}

.main-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-container {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 12px;

    margin-top: 15px;
}

.thumbnail {
    height: 100px;

    background: #e2e2e2;

    border-radius: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
    
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    font-weight: bold;
    color: #7d2335;
}

.thumbnail:hover {
    opacity: 0.9;
    background: #d5d5d5;
    transform: scale(1.05);
}

.thumbnail.unavailable {
    background: #eef1ed;
    color: var(--muted);
    cursor: not-allowed;
    opacity: 0.7;
}

.thumbnail.unavailable:hover {
    transform: none;
    opacity: 0.85;
}

.image-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.image-modal.is-open {
    display: flex;
}

.image-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
}

.image-modal-content {
    position: relative;
    z-index: 1;
    width: min(92vw, 1200px);
    max-height: 90vh;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.image-modal-content img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    background: #fff;
}

.image-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #7d2335;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}


/* PRODUCT INFORMATION */

.product-category {
    color: #7d2335;

    font-weight: bold;

    margin-bottom: 10px;
}

.product-info h1 {
    font-size: 42px;

    line-height: 1.15;

    margin-bottom: 20px;
}

.product-description {
    line-height: 1.7;

    color: #555;
}


/* PRICE */

.product-price {
    font-size: 32px;

    font-weight: bold;

    color: #7d2335;

    margin: 25px 0;
}


/* FEATURES */

.features {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 10px;

    margin-bottom: 30px;
}

.features div {
    background: #f3f3f3;

    padding: 15px 8px;

    border-radius: 8px;

    text-align: center;
}

.features strong {
    display: block;

    font-size: 22px;

    color: #7d2335;
}

.features span {
    font-size: 13px;

    color: #555;
}


/* PURCHASE BUTTONS */

.purchase-section {
    display: flex;

    gap: 12px;

    flex-wrap: wrap;

    margin-bottom: 35px;
}

.buy-button,
.custom-button {
    border: none;

    padding: 15px 25px;

    border-radius: 7px;

    font-size: 16px;

    font-weight: bold;

    cursor: pointer;
}

.buy-button {
    background: #7d2335;

    color: white;
}

.custom-button {
    background: #4dd4dd;

    color: #7d2335;
}

.manual-payment-button {
    background: #f6d57a;
    color: #24373a;
}

.manual-payment-button:hover {
    background: #e8bf41;
}


/* INCLUDED */

.included {
    border-top: 1px solid #ddd;

    padding-top: 25px;
}

.included h2 {
    margin-bottom: 15px;
}

.included ul {
    padding-left: 20px;
}

.included li {
    margin-bottom: 10px;
}


/* DESCRIPTION */

.product-description-section {
    max-width: 1000px;

    margin: auto;

    padding: 60px 5%;

    border-top: 1px solid #ddd;
}

.product-description-section h2 {
    margin-bottom: 15px;
}

.product-description-section p {
    line-height: 1.8;

    color: #555;
}


/* NOTE */

.product-note {
    max-width: 1000px;

    margin: auto;

    padding: 30px 5% 70px;
}

.product-note h3 {
    margin-bottom: 10px;

    color: #7d2335;
}

.product-note p {
    line-height: 1.7;

    color: #666;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 35px 5%;
    background: white;
    text-align: center;
}

.about-section {
    max-width: 900px;
    margin: auto;
    padding: 70px 5%;
    background: #f4f4f4;
    text-align: center;
}

.about-section h2 {
    margin: 18px 0 15px;
    color: #7d2335;
    font-size: 32px;
}

.about-section p:not(.small-heading) {
    margin-top: 15px;
    line-height: 1.8;
    color: #555;
}

.contact-details a,
.about-section a {
    color: #7d2335;
    font-weight: bold;
}

.trust-strip div {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.trust-strip strong {
    color: #7d2335;
    font-size: 18px;
}

.trust-strip span,
.contact-details {
    color: #666;
}

.buyer-confidence,
.reviews-section {
    padding: 85px 5%;
    background: #fffdf8;
}

.reviews-section {
    background: #e4f4ef;
}

.section-intro {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}

.section-intro h2 {
    margin: 15px 0 10px;
    color: var(--ink);
    font-size: clamp(30px, 4vw, 42px);
}

.section-intro > p:last-child {
    color: var(--muted);
}

.confidence-grid,
.reviews-grid {
    max-width: 1180px;
    margin: 45px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.confidence-grid article,
.review-card {
    padding: 28px;
    background: #f4f8f4;
    border: 1px solid var(--line);
    border-radius: 3px;
}

.confidence-grid article:nth-child(2) {
    background: #fff0df;
}

.confidence-grid article:nth-child(3) {
    background: #fffdf8;
}

.step-number {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 1px;
}

.confidence-grid h3 {
    margin: 22px 0 9px;
    color: var(--ink);
    font-size: 22px;
}

.confidence-grid p,
.review-card p {
    color: var(--muted);
    line-height: 1.7;
}

.review-card {
    background: #fffdf8;
    border-top: 4px solid var(--gold);
}

.review-card:nth-child(2) {
    border-top-color: var(--teal);
}

.review-card:nth-child(3) {
    border-top-color: var(--accent);
}

.review-stars {
    margin-bottom: 18px;
    color: #c18b00;
    letter-spacing: 2px;
}

.review-card strong,
.review-card span {
    display: block;
}

.review-card strong {
    margin-top: 20px;
    color: var(--ink);
    font-size: 14px;
}

.review-card span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 13px;
}

.review-request {
    background: rgba(255, 253, 248, .65);
}

.review-request a {
    display: inline-block;
    margin-top: 20px;
    color: var(--accent-dark);
    font-weight: 700;
}

.reviews-empty {
    grid-column: 1 / -1;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: 42px 34px;
}

.reviews-empty strong {
    font-size: 20px;
}

.faq-section {
    padding: 85px 5%;
    background: #fffdf8;
    border-top: 1px solid var(--line);
}

.faq-grid {
    max-width: 920px;
    margin: 42px auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.faq-grid details {
    background: #f4f8f4;
    border: 1px solid var(--line);
    padding: 18px 20px;
}

.faq-grid summary {
    color: var(--ink);
    cursor: pointer;
    font-weight: 700;
    padding-right: 20px;
}

.faq-grid details p {
    color: var(--muted);
    line-height: 1.65;
    margin-top: 13px;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 16px;
    background: #168c63;
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(14, 73, 53, 0.28);
    font-size: 0.9rem;
}

.whatsapp-float span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 800;
}

.whatsapp-float:hover {
    background: #0e704e;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 82px;
    z-index: 899;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 1.35rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--teal);
}


/* MOBILE */

@media (max-width: 800px) {

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

    .whatsapp-float {
        right: 14px;
        bottom: 14px;
    }

    .back-to-top {
        right: 14px;
        bottom: 72px;
    }

    .product-page {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .main-product-image {
        height: 350px;
    }

    .product-info h1 {
        font-size: 34px;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* ==============================
   MODAL STYLES
================================= */

.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: none;
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-modal:hover,
.close-modal:focus {
    color: #000;
}

.modal-content h2 {
    margin-bottom: 10px;
    color: #7d2335;
}

.modal-content > p {
    color: #666;
    margin-bottom: 20px;
}

.payment-info {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.payment-info p {
    margin: 8px 0;
    color: #333;
}

.modal-content form {
    display: grid;
    gap: 8px;
}

.modal-content form label {
    color: #24373a;
    font-weight: 700;
    margin-top: 6px;
}

.modal-content form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccd6d3;
    border-radius: 6px;
    font: inherit;
}


/* ==============================
   BARNO STUDIO VISUAL SYSTEM
================================= */

:root {
    --ink: #202321;
    --muted: #68706a;
    --paper: #f5f3ee;
    --surface: #fffdf8;
    --line: #dedbd2;
    --accent: #b65d3f;
    --accent-dark: #873e2a;
    --sage: #9eaa98;
    --shadow: 0 18px 45px rgba(32, 35, 33, 0.10);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
}

h1,
h2,
h3,
.logo {
    font-family: 'Playfair Display', serif;
    letter-spacing: 0;
}

a {
    color: inherit;
}

.navbar {
    width: min(1180px, calc(100% - 40px));
    margin: 22px auto;
    padding: 17px 28px;
    background: rgba(255, 253, 248, 0.94);
    border: 1px solid var(--line);
    border-radius: 4px;
    box-shadow: 0 7px 22px rgba(32, 35, 33, 0.05);
    position: relative;
    z-index: 2;
}

.logo {
    font-size: 30px;
    color: var(--ink);
    font-weight: 700;
}

.logo::after {
    content: ' / HOUSE PLANS';
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-left: 8px;
    vertical-align: middle;
}

.navbar nav {
    gap: 27px;
}

.navbar nav a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;
    transition: color .2s ease;
}

.navbar nav a:hover,
.contact-details a:hover {
    color: var(--accent);
}

.hero {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(80px, 13vw, 150px) 30px;
    text-align: left;
    background:
        linear-gradient(90deg, rgba(32, 35, 33, .9), rgba(32, 35, 33, .28)),
        url('images/4-bedroom-bungalow-main.jpg') center / cover no-repeat;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: 'B';
    position: absolute;
    right: 5%;
    bottom: -28%;
    font: 700 380px/1 'Playfair Display', serif;
    color: rgba(255,255,255,.10);
}

.hero > * {
    position: relative;
    z-index: 1;
}

.small-heading {
    padding: 0;
    background: transparent;
    border-radius: 0;
    color: #e9b49e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 650px;
    margin-top: 18px;
    font-size: clamp(46px, 7vw, 82px);
    line-height: 1.03;
    color: #fffdf8;
}

.hero-text {
    max-width: 440px;
    margin-top: 22px;
    font: 400 20px/1.6 'DM Sans', sans-serif;
    color: #f0eee7;
}

.hero-buttons {
    justify-content: flex-start;
    margin-top: 34px;
}

.button,
.view-plan {
    border-radius: 3px;
    font-size: 13px;
    letter-spacing: .4px;
    transition: background .2s ease, transform .2s ease;
}

.button {
    padding: 14px 22px;
    background: var(--accent);
}

.button:hover,
.view-plan:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.button.secondary {
    background: transparent;
    color: #fffdf8;
    border: 1px solid rgba(255,255,255,.55);
}

.button.secondary:hover {
    background: rgba(255,255,255,.14);
}

.categories,
.featured,
.custom-design,
.plans-page {
    background: var(--surface);
}

.categories {
    padding: 72px 20px 60px;
}

.categories h2,
.featured h2,
.custom-design h2 {
    color: var(--ink);
    font-size: clamp(28px, 4vw, 40px);
}

.category-buttons a,
.plan-categories button {
    padding: 10px 17px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 3px;
    color: var(--ink);
    font-size: 13px;
    transition: all .2s ease;
}

.category-buttons a:hover,
.plan-categories button:hover,
.plan-categories button.active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fffdf8;
}

.featured {
    padding: 75px 5%;
}

.featured > p,
.plans-header p {
    color: var(--muted);
}

.plans-container {
    gap: 28px;
    margin-top: 42px;
}

.plan-card {
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 3px;
    box-shadow: none;
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.plan-image {
    height: 245px;
    margin-bottom: 20px;
    border-radius: 2px;
    background: #dedbd2;
}

.plan-card h3 {
    margin-bottom: 7px;
    color: var(--ink);
    font-size: 22px;
}

.plan-card p:not(.price) {
    color: var(--muted);
    font-size: 13px;
}

.price,
.product-price {
    color: var(--accent);
}

.price {
    font-size: 19px;
}

.view-plan {
    padding: 10px 15px;
    background: var(--ink);
    color: #fffdf8;
}

.custom-design {
    padding: 85px 20px;
    border-top: 1px solid var(--line);
}

.custom-design p,
.contact-details {
    color: var(--muted);
}

.custom-design .button {
    margin-top: 8px;
}

.contact-details a {
    color: var(--accent-dark);
    font-weight: 700;
}

footer {
    background: var(--ink);
    color: #f5f3ee;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.legal-links a {
    color: #d6e8e2;
    font-size: 13px;
}

.legal-links a:hover {
    color: #ffe28a;
}

.legal-page {
    width: min(860px, calc(100% - 40px));
    margin: 0 auto 70px;
    padding: 78px clamp(20px, 5vw, 65px);
    background: var(--surface);
    border-top: 5px solid var(--teal);
}

.legal-page h1 {
    margin: 12px 0 8px;
    color: var(--ink);
    font-size: clamp(40px, 6vw, 62px);
    line-height: 1.1;
}

.legal-page h2 {
    margin: 34px 0 9px;
    color: var(--ink);
    font-size: 25px;
}

.legal-page p {
    color: var(--muted);
    line-height: 1.8;
}

.legal-page a {
    color: var(--accent-dark);
    font-weight: 700;
}

.legal-updated {
    font-size: 13px;
    color: var(--muted);
}

.plans-header {
    padding: 85px 20px 42px;
    background: var(--paper);
}

.plans-header h1 {
    color: var(--ink);
    font-size: clamp(42px, 6vw, 64px);
}

.plans-header > p {
    max-width: 640px;
    margin: 12px auto 0;
    color: var(--muted);
    line-height: 1.7;
}

.catalog-summary {
    width: min(620px, 100%);
    margin: 30px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.catalog-summary div {
    padding: 16px 10px;
    background: rgba(255, 255, 255, 0.78);
}

.catalog-summary strong,
.catalog-summary span {
    display: block;
}

.catalog-summary strong {
    color: var(--accent);
    font-size: 1.3rem;
}

.catalog-summary span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.plan-categories {
    padding: 25px 20px;
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.plan-tools input,
.plan-tools select {
    border: 1px solid var(--line);
    border-radius: 3px;
    color: var(--ink);
}

.product-page {
    max-width: 1180px;
    padding-top: 75px;
}

.main-product-image {
    border-radius: 3px;
    background: #dedbd2;
    box-shadow: var(--shadow);
}

.thumbnail {
    border-radius: 3px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
}

.product-category {
    color: var(--accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 12px;
}

.product-info h1 {
    color: var(--ink);
    font-size: clamp(36px, 5vw, 54px);
}

.product-description,
.product-note p {
    color: var(--muted);
}

.features div {
    background: var(--paper);
    border-radius: 3px;
}

.features strong {
    color: var(--accent);
}

.buy-button {
    background: var(--accent);
    border-radius: 3px;
}

.custom-button {
    background: transparent;
    border: 1px solid var(--ink);
    border-radius: 3px;
    color: var(--ink);
}

.about-section {
    background: var(--paper);
}


/* ==============================
   BARNO COLOR ACCENTS
================================= */

:root {
    --ink: #172b35;
    --muted: #5d6d70;
    --paper: #f4f8f4;
    --surface: #ffffff;
    --line: #d7e3df;
    --accent: #e36b45;
    --accent-dark: #b84b2e;
    --teal: #16a9aa;
    --gold: #f5c84b;
}

body {
    background: var(--paper);
}

.navbar {
    background: #ffffff;
    border-top: 4px solid var(--teal);
}

.logo {
    color: var(--ink);
}

.logo::after {
    color: var(--accent);
}

.navbar nav a:hover {
    color: var(--teal);
}

.hero {
    background:
        linear-gradient(90deg, rgba(11, 57, 66, .88), rgba(22, 169, 170, .28)),
        url('images/4-bedroom-bungalow-main.jpg') center / cover no-repeat;
    border-bottom: 7px solid var(--gold);
}

.hero::after {
    color: rgba(255, 255, 255, .16);
}

.small-heading {
    color: #ffe28a;
}

.button {
    background: var(--accent);
}

.button.secondary {
    border-color: #ffe28a;
    color: #fffdf8;
}

.categories {
    background: linear-gradient(135deg, #e2f3ee 0%, #fffdf8 65%);
}

.category-buttons a:hover,
.plan-categories button:hover,
.plan-categories button.active {
    background: var(--teal);
    border-color: var(--teal);
}

.featured {
    background: #fffdf8;
}

.plan-card {
    border-top: 4px solid var(--gold);
}

.plan-card:nth-child(2) {
    border-top-color: var(--teal);
}

.plan-card:nth-child(3) {
    border-top-color: var(--accent);
}

.plan-card h3 {
    color: var(--ink);
}

.plan-category {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--accent-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.view-plan {
    background: var(--teal);
}

.view-plan:hover {
    background: #087f82;
}

.custom-design {
    background: linear-gradient(135deg, #fff0df 0%, #ffe48a 100%);
}

.about-section {
    background: #e4f4ef;
}

.trust-strip {
    background: #ffffff;
}

.trust-strip div:nth-child(1) strong {
    color: var(--teal);
}

.trust-strip div:nth-child(2) strong {
    color: var(--accent);
}

.trust-strip div:nth-child(3) strong {
    color: #c18b00;
}

.plans-header {
    background: linear-gradient(135deg, #e4f4ef 0%, #fff0df 100%);
}

.plan-categories {
    background: #fffdf8;
}

.product-price,
.price {
    color: var(--accent);
}

.features div {
    border-bottom: 3px solid var(--teal);
}

.features div:nth-child(2) {
    border-bottom-color: var(--gold);
}

.features div:nth-child(3) {
    border-bottom-color: var(--accent);
}

/* Keep the catalog focused on the plans rather than a tall page heading. */
.plans-header {
    padding: 22px 20px 12px;
}

.plans-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 6px;
}

.plans-header > p {
    display: none;
}

.plans-header .plan-tools {
    margin-top: 12px;
}

.plan-tools {
    margin-top: 12px;
}

.plan-categories {
    padding: 10px 20px;
}

.plans-page {
    padding-top: 10px;
}

.features div:nth-child(4) {
    border-bottom-color: #8fbb74;
}

.custom-button {
    border-color: var(--teal);
    color: #087f82;
}

.admin-page {
    min-height: 100vh;
    padding: 40px 20px;
    background: var(--paper);
}

.admin-shell {
    width: min(1120px, 100%);
    margin: auto;
}

.admin-login,
.admin-dashboard {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: clamp(24px, 5vw, 54px);
    box-shadow: var(--shadow);
}

.admin-login {
    width: min(480px, 100%);
    margin: 8vh auto 0;
}

.admin-login h1,
.admin-header h1 {
    margin: 14px 0 8px;
    color: var(--ink);
}

.admin-login > p:not(.small-heading) {
    color: var(--muted);
}

#admin-login-form {
    display: grid;
    gap: 8px;
    margin-top: 28px;
}

#admin-login-form label {
    color: var(--ink);
    font-weight: 700;
    margin-top: 8px;
}

#admin-login-form input {
    padding: 12px;
    border: 1px solid var(--line);
    font: inherit;
}

.admin-message {
    min-height: 20px;
    color: var(--accent-dark);
}

.admin-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 34px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 40px;
}

.admin-stats div {
    padding: 18px;
    background: #e4f4ef;
    border: 1px solid var(--line);
}

.admin-stats strong,
.admin-stats span {
    display: block;
}

.admin-stats strong {
    color: var(--accent);
    font-size: 1.7rem;
}

.admin-stats span {
    color: var(--muted);
    margin-top: 4px;
}

.admin-add-plan {
    margin: 24px 0 38px;
    padding: 18px;
    border: 1px solid var(--line);
    background: #f4f8f4;
}

.admin-add-plan summary {
    color: var(--ink);
    cursor: pointer;
    font-weight: 800;
}

#admin-add-plan-form {
    display: grid;
    gap: 8px;
    margin-top: 20px;
}

#admin-add-plan-form label {
    color: var(--ink);
    font-weight: 700;
    margin-top: 8px;
}

#admin-add-plan-form input,
#admin-add-plan-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--line);
    background: white;
    font: inherit;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.admin-form-grid div {
    display: grid;
    gap: 8px;
}

.admin-dashboard h2 {
    color: var(--ink);
    margin: 28px 0 12px;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
}

.admin-table th,
.admin-table td {
    padding: 12px;
    border: 1px solid var(--line);
    text-align: left;
}

.admin-table th {
    color: var(--ink);
    background: #f4f8f4;
}

@media (max-width: 650px) {
    .admin-header {
        display: block;
    }

    .admin-header .button {
        margin-top: 18px;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }

    .admin-form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    .navbar {
        align-items: flex-start;
    }

    .navbar nav {
        justify-content: flex-end;
        gap: 12px 18px;
    }

    .catalog-summary {
        grid-template-columns: 1fr;
    }
}

.compare-control {
    display: block;
    margin: 12px 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.compare-control input {
    accent-color: var(--teal);
}

.comparison-toolbar {
    max-width: 1200px;
    margin: 0 auto 24px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #e4f4ef;
    border: 1px solid var(--line);
}

.comparison-toolbar div {
    display: grid;
    gap: 3px;
    margin-right: auto;
}

.comparison-toolbar span {
    color: var(--muted);
    font-size: 0.82rem;
}

.comparison-toolbar button {
    border: 0;
    padding: 10px 14px;
    background: var(--teal);
    color: white;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.comparison-toolbar .text-button {
    background: transparent;
    color: var(--accent-dark);
}

.comparison-panel {
    padding: 70px 5%;
    background: #e4f4ef;
}

.comparison-table {
    width: min(100%, 1100px);
    margin: 35px auto 0;
    border-collapse: collapse;
    background: white;
    box-shadow: var(--shadow);
}

.comparison-table th,
.comparison-table td {
    padding: 14px 16px;
    border: 1px solid var(--line);
    text-align: left;
}

.comparison-table th {
    color: var(--ink);
}

@media (max-width: 800px) {
    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .navbar nav {
        display: none;
        width: 100%;
        padding-top: 14px;
    }

    .navbar nav.is-open {
        display: grid;
        gap: 12px;
    }

    .navbar {
        flex-wrap: wrap;
    }

    .comparison-toolbar {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .comparison-toolbar div {
        flex-basis: 100%;
    }

    .comparison-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

.contact-form {
    width: min(620px, 100%);
    margin: 30px auto;
    display: grid;
    gap: 8px;
    text-align: left;
}

.contact-form label {
    color: var(--ink);
    font-weight: 700;
    margin-top: 8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    padding: 12px;
    font: inherit;
    background: #fffdf8;
}

.contact-form textarea {
    resize: vertical;
}

.admin-price-input {
    width: 110px;
    padding: 8px;
    border: 1px solid var(--line);
    font: inherit;
}

.admin-save-price {
    border: 0;
    padding: 8px 12px;
    background: var(--teal);
    color: white;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}