/* =========================================================
   DD Homes Group — main stylesheet
   Change the colours below to re-theme the whole site.
   ========================================================= */
:root {
  --ink: #1d2721;
  --forest: #2c4436;
  --forest-2: #3b5a48;
  --sand: #f3ece1;
  --cream: #fbf8f3;
  --clay: #b8694a;
  --clay-dark: #9a5539;
  --muted: #66706a;
  --line: #e4dccf;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(29, 39, 33, .08);
  --max: 1180px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream);
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--forest); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 760px; }
.eyebrow { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--clay); margin-bottom: .8em; display: block; }
.lead { font-size: 1.15rem; color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-inline: auto; max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* Placeholder text you still need to edit (remove this rule once done) */
.edit { background: #fff3b0; border-radius: 4px; padding: 0 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px;
  font-weight: 700; font-size: .95rem; text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease; font-family: var(--sans);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--clay); color: #fff; }
.btn-primary:hover { background: var(--clay-dark); }
.btn-dark { background: var(--forest); color: #fff; }
.btn-dark:hover { background: var(--ink); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-light { background: #fff; color: var(--forest); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 243, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--forest); color: var(--sand); display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
.logo-text { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; line-height: 1; }
.logo-text small { display: block; font-family: var(--sans); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu a { display: block; padding: 8px 12px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .93rem; border-radius: 8px; }
.menu a:hover, .menu a.active { color: var(--clay); }
.menu .btn { color: #fff; padding: .7em 1.3em; margin-left: 8px; }
.menu .btn:hover { color: #fff; }
.has-sub > a::after { content: "▾"; font-size: .7em; margin-left: 5px; }
.sub { position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

@media (max-width: 1020px) {
  .menu-toggle { display: block; }
  .menu { position: absolute; top: 76px; left: 0; right: 0; background: var(--cream); flex-direction: column; align-items: stretch; padding: 12px 20px 24px; border-bottom: 1px solid var(--line); display: none; }
  .menu.open { display: flex; }
  .menu a { padding: 12px 6px; font-size: 1.05rem; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; background: transparent; }
  .has-sub > a::after { content: ""; }
  .menu .btn { margin: 10px 0 0; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; padding: 120px 0 110px; overflow: hidden;
  background: linear-gradient(110deg, rgba(29,39,33,.88) 0%, rgba(44,68,54,.72) 55%, rgba(44,68,54,.35) 100%), url("../images/hero.jpg") center/cover no-repeat, var(--forest);
}
.hero::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(184,105,74,.45), transparent 70%); }
.hero .container { position: relative; z-index: 1; }
.hero h1 { max-width: 760px; }
.hero .lead { color: rgba(255,255,255,.85); max-width: 600px; }
.hero .eyebrow { color: #e9b79f; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; font-size: .9rem; color: rgba(255,255,255,.85); }
.hero-badges span::before { content: "✓"; color: #e9b79f; margin-right: 8px; font-weight: 700; }

.page-hero { background: var(--forest); color: #fff; padding: 80px 0 70px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -100px; top: -140px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(184,105,74,.4), transparent 70%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .lead { color: rgba(255,255,255,.82); max-width: 640px; }
.page-hero .eyebrow { color: #e9b79f; }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-sand { background: var(--sand); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .lead, .section-dark .muted { color: rgba(255,255,255,.75); }
.section-head { margin-bottom: 48px; }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } section { padding: 64px 0; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }
.card-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--sand); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 18px; }
.card ul, .ticks { padding: 0; list-style: none; margin: 0 0 1.2em; }
.ticks li, .card ul li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.ticks li::before, .card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--clay); font-weight: 800; }
.tag { display: inline-block; background: var(--sand); color: var(--forest); font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.tag-clay { background: #f6e1d6; color: var(--clay-dark); }

/* Property cards */
.prop-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s; }
.prop-card:hover { transform: translateY(-4px); }
.prop-card .ph { border-radius: 0; aspect-ratio: 4/3; }
.prop-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.prop-body h3 { margin: 8px 0 4px; }
.prop-meta { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.prop-price { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 16px; }
.prop-price strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; }
.prop-price span { color: var(--clay); font-weight: 700; font-size: .92rem; }

/* Photo placeholders: drop an image at the path shown and it appears automatically */
.ph { position: relative; margin: 0; background: repeating-linear-gradient(45deg, #ece4d6, #ece4d6 12px, #e6dccb 12px, #e6dccb 24px); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 12px; color: var(--muted); font-weight: 600; font-size: .9rem; }
.ph-label small { font-weight: 500; font-size: .74rem; opacity: .8; margin-top: 4px; word-break: break-all; }

.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: 470px; }
.gallery .ph { aspect-ratio: auto; height: 100%; border-radius: 10px; }
.gallery .ph:first-child { grid-row: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; } .gallery .ph { aspect-ratio: 4/3; } .gallery .ph:first-child { grid-column: span 2; grid-row: auto; } }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); }
.step { counter-increment: step; position: relative; padding-top: 58px; }
.step::before { content: counter(step); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--clay); color: #fff; display: grid; place-items: center; font-weight: 800; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Comparison of the two landlord options */
.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--forest); color: #fff; font-family: var(--serif); font-weight: 500; font-size: 1.1rem; }
.compare tbody th { font-weight: 700; width: 30%; }
.table-wrap { overflow-x: auto; }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust-item { display: flex; gap: 16px; align-items: flex-start; }
.trust-item .card-icon { flex-shrink: 0; margin: 0; background: rgba(255,255,255,.1); }
.trust-item h4 { font-family: var(--sans); font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.trust-item p { font-size: .92rem; margin: 0; }
@media (max-width: 800px) { .trust { grid-template-columns: 1fr; } }

/* Split layout */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.split-top { align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* Property page layout */
.prop-layout { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
.prop-layout > div > section, .prop-section { padding: 44px 0; border-bottom: 1px solid var(--line); }
.prop-section:last-child { border-bottom: 0; }
.booking-card { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.booking-card .price { font-family: var(--serif); font-size: 2.2rem; }
.booking-card .price small { font-family: var(--sans); font-size: 1rem; color: var(--muted); }
.booking-card .btn { width: 100%; justify-content: center; margin-top: 8px; }
.price-lines { list-style: none; padding: 0; margin: 16px 0; font-size: .93rem; }
.price-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.price-lines li span:last-child { font-weight: 700; text-align: right; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.facts li { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: 7px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600; }
.prop-hero { padding: 64px 0 56px; }
@media (max-width: 980px) { .prop-layout { grid-template-columns: 1fr; gap: 0; } .booking-card { position: static; margin-top: 36px; } .prop-aside { order: -1; } }

.amenities { columns: 3; column-gap: 32px; }
.amenities h4 { font-family: var(--sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--clay); margin: 0 0 8px; break-after: avoid; }
.amenities ul { list-style: none; padding: 0; margin: 0 0 22px; break-inside: avoid; }
.amenities li { padding: 4px 0 4px 24px; position: relative; font-size: .95rem; }
.amenities li::before { content: "•"; position: absolute; left: 6px; color: var(--clay); font-weight: 900; }
@media (max-width: 760px) { .amenities { columns: 2; } }
@media (max-width: 480px) { .amenities { columns: 1; } }

.floorplan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.floorplan img { width: 100%; height: auto; border-radius: 8px; }

.map { width: 100%; height: 360px; border: 0; border-radius: var(--radius); }
.travel { list-style: none; padding: 0; margin: 0; }
.travel li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.travel li span:last-child { font-weight: 700; color: var(--forest); white-space: nowrap; }

.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.info-box { background: var(--sand); border-radius: 12px; padding: 20px 22px; }
.info-box .lbl { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--clay); margin-bottom: 4px; }
@media (max-width: 560px) { .info-grid { grid-template-columns: 1fr; } }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reviews .ph { aspect-ratio: 4/3; background: #fff; border: 1px dashed var(--line); }
.reviews .ph img { object-fit: contain; }
@media (max-width: 800px) { .reviews { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; padding: 18px 28px 18px 0; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--clay); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* Discount banner */
.discount { display: flex; flex-wrap: wrap; gap: 16px; }
.discount div { flex: 1 1 200px; background: #fff; border-radius: 12px; padding: 20px; border: 1px solid var(--line); text-align: center; }
.discount strong { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 500; color: var(--clay); line-height: 1.1; }

/* Forms */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form { padding: 24px; } }
label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--cream); color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--forest-2); background: #fff; }
textarea { min-height: 130px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .9rem; }
.check input { width: auto; margin-top: 5px; }
.hidden { display: none; }

/* Booking widget area */
.widget-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; min-height: 160px; }

/* Coming soon */
.coming { min-height: 62vh; display: grid; place-items: center; text-align: center; background: var(--sand); }
.coming .card-icon { margin: 0 auto 20px; width: 72px; height: 72px; font-size: 2rem; background: #fff; }

/* Fees / legal pages */
.legal h2 { margin-top: 1.6em; font-size: 1.7rem; }
.legal h2:first-child { margin-top: 0; }
.fee-table { width: 100%; border-collapse: collapse; margin: 10px 0 24px; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.fee-table th, .fee-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.fee-table th { background: var(--sand); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.notice { background: var(--sand); border-left: 4px solid var(--clay); padding: 18px 22px; border-radius: 8px; margin: 20px 0; }

/* CTA band */
.cta-band { background: var(--clay); color: #fff; border-radius: 22px; padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; opacity: .9; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 72px 0 30px; font-size: .93rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { font-family: var(--sans); color: #fff; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .logo { color: #fff; margin-bottom: 16px; }
.site-footer .logo-mark { background: var(--clay); color: #fff; }
.site-footer .logo-text small { color: rgba(255,255,255,.6); }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 24px; font-size: .82rem; color: rgba(255,255,255,.55); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .cta-band { padding: 36px 28px; } }

/* Mobile sticky book bar */
.mobile-book { display: none; }
@media (max-width: 980px) {
  .mobile-book { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); padding: 12px 20px; align-items: center; justify-content: space-between; box-shadow: 0 -6px 20px rgba(0,0,0,.06); }
  .mobile-book strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
  body.has-mobile-book { padding-bottom: 76px; }
}

/* Review cards */
.review-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.review-card .stars { color: var(--clay); letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 12px; }
.review-card blockquote { margin: 0 0 22px; font-family: var(--serif); font-size: 1.15rem; line-height: 1.5; flex: 1; }
.review-card figcaption { display: flex; gap: 12px; align-items: center; }
.review-card figcaption > span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.review-card .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--forest); color: var(--sand); display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
