/* ==========================================================================
   The Grandeur Homes — main stylesheet (mobile-first)
   1. Tokens   2. Base   3. Layout & utilities   4. Buttons
   5. Header   6. Hero   7. Home sections   8. Inner pages / blog
   9. Footer   10. Modal, lightbox, mobile bar   11. Breakpoints
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
    --brown: #514a42;
    --brown-dark: #3d3731;
    --red: #ff4137;
    --red-dark: #e5322a;
    --navy: #1e2847;
    --ink: #111827;
    --text: #3e3e3e;
    --muted: #6b7280;
    --line: #e5e7eb;
    --bg: #fffffd;
    --soft: #f7f1ee;
    --white: #ffffff;

    --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

    --radius: 10px;
    --radius-sm: 6px;
    --shadow: 0 10px 30px rgba(17, 24, 39, .08);
    --shadow-lg: 0 20px 50px rgba(17, 24, 39, .15);
    --container: 1180px;
    --gutter: 16px;
    --section: 56px;
    --header-h: 68px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    padding-bottom: 56px; /* room for mobile CTA bar */
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-dark); }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(2rem, 7vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.skip-link {
    position: absolute; left: -999px; top: 8px; z-index: 200;
    background: var(--white); color: var(--ink); padding: 8px 14px; border-radius: var(--radius-sm);
}
.skip-link:focus { left: 8px; }

/* 3. Layout & utilities ---------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section-soft { background: var(--soft); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 32px; }
.section-head p { color: var(--muted); margin: 0; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--red); margin: 0 0 10px;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; }
.eyebrow.left::after { display: none; }
.eyebrow.light { color: var(--white); }
.eyebrow.light::before { background: var(--white); }
.eyebrow.light::after { background: var(--red); }

.icon { width: 1.1em; height: 1.1em; flex-shrink: 0; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* 4. Buttons --------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 10px 22px;
    font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
    border: 2px solid transparent; border-radius: var(--radius-sm);
    transition: background .2s, color .2s, border-color .2s, transform .2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); }
.btn-outline { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--ink); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline-dark:hover { background: var(--ink); color: var(--white); }
.btn-sm { min-height: 38px; padding: 8px 16px; }
.btn-block { width: 100%; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red);
}
button.link-arrow { background: none; border: 0; padding: 0; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* 5. Header ---------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--brown);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .15);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo img { width: auto; height: 46px; }

.nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px; background: transparent; border: 0;
}
.nav-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--brown-dark);
    padding: 8px var(--gutter) 20px;
    display: none;
}
.site-nav.is-open { display: block; animation: slideDown .25s ease; }
.site-nav ul { list-style: none; margin-bottom: 14px; }
.site-nav li a {
    display: block; padding: 12px 0; color: var(--white);
    font-size: .9rem; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.site-nav li a:hover { color: var(--red); }
.site-nav .btn { width: 100%; }

@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* 6. Hero ------------------------------------------------------------------ */
.hero {
    position: relative; color: var(--white);
    background: var(--ink) url("../../images/The-Grandeur-Homes-Banner.jpg") center / cover no-repeat;
    padding: 56px 0 48px;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(17, 24, 39, .85) 0%, rgba(17, 24, 39, .6) 55%, rgba(17, 24, 39, .3) 100%);
}
.hero .container { position: relative; }
.hero-content { max-width: 680px; }
@media (max-width: 599px) {
    .hero .eyebrow::before { display: none; }
}
.hero h1 { color: var(--white); margin: 0 0 16px; text-shadow: 0 4px 20px rgba(0, 0, 0, .3); }
.hero-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 28px; }

.trust { display: flex; align-items: center; gap: 12px; }
.avatars { display: flex; }
.avatars img, .avatars span {
    width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--white); object-fit: cover; background: var(--white);
}
.avatars > * + * { margin-left: -12px; }
.avatars span { display: grid; place-items: center; background: var(--white); color: var(--red); }
.trust p { margin: 0; font-size: .85rem; font-weight: 600; line-height: 1.35; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-quote { font-family: var(--font-head); font-style: italic; font-weight: 600; font-size: 1.05rem; line-height: 1.5; margin-bottom: 14px; }
.hero-text { margin: 0; opacity: .92; font-size: .92rem; max-width: 600px; }

/* 7. Home sections --------------------------------------------------------- */

/* Intro */
.intro-grid { display: grid; gap: 32px; }
.intro-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.intro-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 4.2; }
.intro h2 { font-size: clamp(1.45rem, 4vw, 2rem); }
.intro-lead { color: var(--muted); }

.stats-row { display: grid; gap: 20px; margin: 24px 0; }
.stats { list-style: none; display: grid; gap: 4px; }
.stats li { display: flex; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.stats strong { font-family: var(--font-head); font-size: 1.6rem; color: var(--ink); min-width: 88px; }
.stats li:nth-child(2) strong { color: var(--red); }
.stats span { font-size: .85rem; color: var(--muted); }

.rating-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.rating-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.rating-badge {
    position: absolute; right: 12px; bottom: 12px;
    background: var(--white); border-radius: var(--radius-sm); padding: 8px 14px; text-align: center; box-shadow: var(--shadow);
}
.rating-badge strong { display: block; font-family: var(--font-head); font-size: 1.8rem; line-height: 1; color: var(--red); }
.rating-badge span { font-size: .7rem; color: var(--muted); line-height: 1.3; display: block; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sizes & layouts */
.plans { display: grid; gap: 24px; max-width: 900px; margin: 0 auto; }
.plan-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan-img { display: block; width: 100%; padding: 0; border: 0; background: #f3f4f6; cursor: zoom-in; }
.plan-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.plan-body { padding: 20px; }
.plan-body h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan-loc { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .85rem; margin-bottom: 14px; }
.plan-loc .icon { color: var(--red); }
.plan-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .82rem; }
.plan-meta li { display: flex; align-items: center; gap: 6px; }
.plan-meta .icon { color: var(--red); }
.plan-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; }
.price strong { font-family: var(--font-head); font-size: 1.4rem; color: var(--ink); }
.price span { font-size: .8rem; color: var(--muted); }

/* Amenities */
.amenities { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.amenity {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 18px 12px; text-align: center; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.amenity:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--red); }
.amenity-icon { width: 36px; height: 36px; margin: 0 auto 10px; }
.amenity h3 { font-size: .88rem; margin-bottom: 4px; }
.amenity p { font-size: .75rem; color: var(--muted); margin: 0; line-height: 1.4; }

/* Why choose (location) */
.why { background: var(--navy); color: rgba(255, 255, 255, .85); position: relative; overflow: hidden; }
.why::before {
    content: ""; position: absolute; inset: 0; opacity: .06;
    background-image: radial-gradient(var(--white) 1px, transparent 1px); background-size: 22px 22px;
}
.why .container { position: relative; }
.why h2 { color: var(--white); }
.why-grid { display: grid; gap: 18px; }
.why-card {
    display: flex; gap: 16px; align-items: flex-start;
    background: var(--white); color: var(--text); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-lg);
    transition: transform .3s;
}
.why-card:hover { transform: translateY(-4px); }
.why-icon {
    flex-shrink: 0; display: grid; place-items: center;
    width: 56px; height: 56px; border-radius: var(--radius-sm); background: var(--red); color: var(--white);
}
.why-icon .icon { width: 28px; height: 28px; }
.why-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.why-card p { font-size: .86rem; color: var(--muted); margin-bottom: 10px; }
.why-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-top: 36px; }
.why-or { font-weight: 600; color: var(--white); }
.consult { display: flex; align-items: center; gap: 12px; color: var(--white); }
.consult:hover { color: var(--white); }
.consult-icon {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .35); animation: pulse 2s infinite;
}
.consult small { display: block; font-size: .7rem; letter-spacing: .08em; opacity: .75; }
.consult strong { font-family: var(--font-head); font-size: 1.05rem; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 65, 55, .6); } 70% { box-shadow: 0 0 0 14px rgba(255, 65, 55, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 65, 55, 0); } }

/* About */
.about { text-align: center; max-width: 980px; margin: 0 auto; }
.about p { color: var(--muted); font-size: .92rem; }
.about strong { color: var(--ink); }

/* Gallery */
.gallery { list-style: none; display: grid; gap: 14px; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: none; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.06); }

/* Blog cards */
.post-grid { display: grid; gap: 24px; }
.home-posts { max-width: 760px; margin: 0 auto; }
.post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s; }
.post-card:hover { transform: translateY(-4px); }
.post-thumb { display: block; overflow: hidden; }
.post-thumb img { width: 100%; aspect-ratio: 49 / 29; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-body { padding: 18px 20px 22px; }
.post-cat { display: inline-block; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.post-body h3 { font-size: 1.02rem; margin-bottom: 8px; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--red); }
.post-meta { font-size: .78rem; color: var(--muted); margin: 0; }

/* Schedule a visit band */
.visit-band {
    background: var(--brown); color: var(--white); text-align: center;
    border-radius: var(--radius); padding: 44px 20px; position: relative; overflow: hidden;
}
.visit-band::after {
    content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
    right: -80px; top: -120px; background: rgba(255, 255, 255, .06);
}
.visit-band h2 { color: var(--white); font-size: clamp(1.7rem, 6vw, 2.6rem); margin-bottom: 18px; }
.visit-band .eyebrow { color: var(--white); }

/* FAQ */
.faq { max-width: 880px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); margin-bottom: 10px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 16px 18px; cursor: pointer; list-style: none;
    font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .25s; color: var(--red); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > div { padding: 0 18px 16px; color: var(--muted); font-size: .9rem; }
.faq details > div p { margin: 0; }

/* 8. Inner pages / blog ---------------------------------------------------- */
.page-hero {
    position: relative; color: var(--white); text-align: center; padding: 64px 0 56px;
    background: var(--ink) url("../../images/The-Grandeur-Homes-Banner.jpg") center 40% / cover no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(17, 24, 39, .72); }
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); font-size: clamp(1.7rem, 5.5vw, 2.8rem); margin-bottom: 10px; }
.page-hero-meta { font-size: .85rem; opacity: .9; margin-bottom: 8px; }
.page-hero-meta a { color: var(--white); text-decoration: underline; }
.breadcrumb { font-size: .8rem; opacity: .85; }
.breadcrumb a { color: var(--white); }
.breadcrumb span[aria-hidden] { margin: 0 6px; }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }

.prose { max-width: 820px; }
.prose p {font-weight: 500;}
.prose h2 { font-size: clamp(1.3rem, 3.5vw, 35px); margin-top: 1.6em; }
.prose h3 { font-size: 28px; color: var(--brown); margin-top: 1.6em; }
.prose ul { padding-left: 1.3em; margin:30px 0 0 30px; }
.prose li { margin-bottom: 15px; font-weight: 500; }
.prose li::marker { color: var(--red); }
.prose strong { color: var(--ink); }
.prose a { text-decoration: none; font-weight: 600; }
.prose a:hover { text-decoration: underline; }
.prose u { text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose em { color: var(--ink); }
.prose ol { padding-left: 1.4em; margin:30px 0 0 30px; }

.post-updated { font-size: .85rem; color: var(--muted); border-left: 3px solid var(--red); padding-left: 10px; }

.callout { background: var(--soft); border-left: 4px solid var(--red); border-radius: var(--radius-sm); padding: 18px 20px; margin: 24px 0; }
.prose .callout-title { font-size: 1.15rem; margin: 0 0 10px; }
.callout ul { margin: 0; }

.toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 24px 0; background: var(--white); }
.toc-title { font-family: var(--font-head); font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.toc ol { margin: 0; columns: 1; }
.toc li { margin-bottom: 4px; font-size: .9rem; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .86rem; background: var(--white); }
.prose th, .prose td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 500; }
/* Blog posts: every link stays brand red, in all states */
.post-content a,
.post-content a:visited,
.post-content a:hover,
.post-content a:focus,
.post-content a:active { color: #ff4137; }
.prose th { background: var(--brown); color: var(--white); font-family: var(--font-head); font-weight: 500; white-space: nowrap; }
.prose tbody tr:nth-child(even) { background: #faf7f5; }
.prose tbody tr:last-child td { border-bottom: 0; }
.table-note { font-size: .8rem; color: var(--muted); }

.steps li { margin-bottom: .7em; }
.checklist { list-style: none; padding-left: 0 !important; }
.checklist li { position: relative; padding-left: 28px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--red); color: var(--white); font-size: .7rem; display: grid; place-items: center; margin-top: 3px; }

.faq-inline { max-width: none; margin: 16px 0 24px; }
.sources { margin-top: 32px; padding: 18px 20px; background: #f9fafb; border-radius: var(--radius-sm); font-size: .88rem; }
.prose .sources h2 { font-size: 1.05rem; margin: 0 0 8px; }

@media (min-width: 768px) {
    .toc ol { columns: 2; column-gap: 32px; }
}
.legal { margin: 0 auto; }

.article-img { border-radius: var(--radius); margin-bottom: 28px; box-shadow: var(--shadow); width: 100%; }
.author-box { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; }
.author-avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--brown); color: var(--white); font-family: var(--font-head); font-weight: 600; }
.author-box p { margin: 0; font-weight: 600; color: var(--ink); }

.sidebar { display: grid; gap: 20px; align-content: start; }
.widget { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.widget h3 { font-size: 1rem; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 2px solid var(--red); display: inline-block; }
.widget ul { list-style: none; }
.widget li { padding: 6px 0; font-size: .88rem; }
.widget li a { color: var(--text); }
.widget li a:hover { color: var(--red); }
.recent-posts li { border-bottom: 1px solid var(--line); padding: 10px 0; }
.recent-posts li:last-child { border-bottom: 0; }
.recent-posts a { display: block; font-weight: 600; line-height: 1.4; }
.recent-posts time { font-size: .75rem; color: var(--muted); }
.widget-cta { background: var(--brown); border: 0; color: rgba(255, 255, 255, .9); }
.widget-cta h3 { color: var(--white); }
.widget-cta p { font-size: .88rem; }
.widget-cta .btn + .btn { margin-top: 10px; }
.widget-cta .btn-outline-dark { border-color: var(--white); color: var(--white); }
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.social li { padding: 0; }
.social a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; }

/* Contact page */
.contact-grid { display: grid; gap: 28px; }
.contact-info { list-style: none; display: grid; gap: 14px; }
.contact-info li { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.contact-info .why-icon { width: 46px; height: 46px; }
.contact-info .why-icon .icon { width: 22px; height: 22px; }
.contact-info h2 { font-size: 1rem; margin-bottom: 2px; }
.contact-info p { margin: 0; font-size: .9rem; }
.form-card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.map { border: 0; width: 100%; height: 320px; border-radius: var(--radius); margin-top: 28px; }

/* Forms */
.enquiry-form { display: grid; gap: 14px; }
.field label { display: block; font-size: .8rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
    width: 100%; min-height: 44px; padding: 10px 12px;
    border: 1px solid #d1d5db; border-radius: var(--radius-sm); background: var(--white);
    font-size: 16px; /* avoids iOS zoom */ transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(255, 65, 55, .15); }
.field.has-error input { border-color: var(--red-dark); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .78rem; color: var(--muted); line-height: 1.5; }
.consent input { margin-top: 3px; accent-color: var(--red); width: 16px; height: 16px; flex-shrink: 0; }
.form-status { margin: 0; font-size: .85rem; min-height: 1.2em; }
.form-status.error { color: var(--red-dark); }
.form-status.success { color: #15803d; }

/* 9. Footer ---------------------------------------------------------------- */
.site-footer { background: var(--brown); color: rgba(255, 255, 253, .85); padding: 48px 0 0; font-size: .88rem; }
.site-footer a { color: rgba(255, 255, 253, .85); }
.site-footer a:hover { color: var(--red); }
.footer-grid { display: grid; gap: 28px; padding-bottom: 32px; }
.footer-brand .logo img { height: 70px; margin-bottom: 14px; }
.footer-brand p { max-width: 340px; }
.footer-title { color: var(--white); font-size: 1rem; margin-bottom: 12px; }
.footer-col ul { list-style: none; }
.footer-col li { padding: 4px 0; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact .icon { color: var(--red); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 20px; padding-bottom: 24px; text-align: center; }
.footer-disclaimer { font-size: .75rem; opacity: .8; max-width: 980px; margin: 0 auto 12px; }
.footer-disclaimer a { text-decoration: underline; }
.copyright { font-size: .78rem; margin: 0; opacity: .8; }

/* 10. Modal, lightbox, mobile bar ------------------------------------------ */
.modal, .lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: var(--gutter); }
.modal[hidden], .lightbox[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(17, 24, 39, .7); }
.modal-box {
    position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto;
    background: var(--white); border-radius: var(--radius); padding: 28px 20px 22px; box-shadow: var(--shadow-lg);
    animation: pop .25s ease;
}
.modal-title { font-size: 1.5rem; margin-bottom: 6px; }
.modal-sub { font-size: .85rem; color: var(--muted); }
.modal-close {
    position: absolute; top: 10px; right: 10px; width: 40px; height: 40px;
    display: grid; place-items: center; border: 0; border-radius: 50%; background: #f3f4f6; color: var(--ink);
}
.modal-close:hover { background: var(--red); color: var(--white); }
@keyframes pop { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: none; } }
body.no-scroll { overflow: hidden; }

.lightbox { background: rgba(10, 12, 20, .92); }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: var(--radius-sm); animation: pop .25s ease; }
.lightbox-close, .lightbox-nav {
    position: absolute; display: grid; place-items: center; width: 44px; height: 44px;
    border: 0; border-radius: 50%; background: rgba(255, 255, 255, .15); color: var(--white);
}
.lightbox-close:hover, .lightbox-nav:hover { background: var(--red); }
.lightbox-close { top: 14px; right: 14px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-nav.prev { left: 10px; }
.lightbox-nav.next { right: 10px; }

.mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: var(--brown); box-shadow: 0 -4px 16px rgba(0, 0, 0, .2);
}
.mobile-cta a, .mobile-cta button {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 56px; border: 0; background: none; color: var(--white);
    font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
}
.mobile-cta > * + * { border-left: 1px solid rgba(255, 255, 255, .15); }
.mobile-cta button { background: var(--red); }

/* 11. Breakpoints ---------------------------------------------------------- */
@media (min-width: 480px) {
    .amenities { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .post-grid { grid-template-columns: repeat(2, 1fr); }
    .enquiry-form { grid-template-columns: 1fr 1fr; }
    .field-full { grid-column: 1 / -1; }
}

@media (min-width: 768px) {
    :root { --section: 80px; --gutter: 24px; }
    .stats-row { grid-template-columns: 1.1fr 1fr; align-items: center; }
    .plans { grid-template-columns: repeat(2, 1fr); }
    .amenities { grid-template-columns: repeat(3, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .gallery { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { text-align: center; }
    .contact-grid { grid-template-columns: 1fr 1.3fr; align-items: start; }
    .modal-box { padding: 36px 32px 28px; }
    .visit-band { padding: 60px 32px; }
}

@media (min-width: 1024px) {
    body { padding-bottom: 0; font-size: 15.5px; }
    :root { --header-h: 80px; }
    .mobile-cta { display: none; }
    .logo img { height: 54px; }

    .nav-toggle { display: none; }
    .site-nav {
        position: static; display: flex !important; align-items: center; gap: 28px;
        background: none; padding: 0; animation: none;
    }
    .site-nav ul { display: flex; gap: 26px; margin: 0; }
    .site-nav li a { padding: 6px 0; border: 0; font-size: .85rem; position: relative; }
    .site-nav li a::after {
        content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--red); transition: width .25s;
    }
    .site-nav li a:hover::after { width: 100%; }
    .site-nav li a:hover { color: var(--white); }
    .site-nav .btn { width: auto; }

    .hero { padding: 90px 0 80px; min-height: 620px; display: flex; align-items: center; }
    .hero h1 { font-size: 4rem; }
    .hero-quote { font-size: 1.2rem; }

    .intro-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
    .intro-media img { aspect-ratio: 4 / 5; }
    .amenities { grid-template-columns: repeat(4, 1fr); }
    .amenity { padding: 24px 16px; }
    .why-card { padding: 26px; }
    .why-icon { width: 64px; height: 64px; }

    .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
    .footer-brand { grid-column: auto; }

    .content-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
    .content-layout .post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

@media print {
    .site-header, .mobile-cta, .site-footer, .modal, .lightbox, .sidebar { display: none !important; }
    body { padding: 0; }
}
