/* Two City Homes: shared styles for every page */
:root {
  --ink: #0E1A24;
  --slate: #1C2E3A;
  --gold: #C49A3C;
  --gold-lt: #F0DFA8;
  --cream: #FAF7F2;
  --warm: #F2EDE4;
  --mist: #E8EFF3;
  --white: #FFFFFF;
  --text: #2C3E4A;
  --muted: #6B8090;
  --border: #D5DDE2;
  --radius: 14px;
  --max: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', Arial, sans-serif; color: var(--text); background: var(--cream); line-height: 1.65; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; color: var(--ink); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 0.6em; }
h3 { font-size: 1.3rem; margin-bottom: 0.4em; }
p + p { margin-top: 0.9em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; }
.alt { background: var(--warm); }
.dark { background: var(--slate); color: var(--mist); }
.dark h2, .dark h3 { color: var(--white); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; font-weight: 500; color: var(--gold); margin-bottom: 12px; display: block; }
.lead { font-size: 1.15rem; max-width: 720px; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 242, 0.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { font-family: 'Playfair Display', Georgia, serif; font-size: 1.35rem; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.logo span { color: var(--gold); }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { height: 48px; width: 48px; border-radius: 50%; object-fit: cover; }
.nav-links { display: flex; gap: 26px; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; font-size: 0.92rem; font-weight: 500; color: var(--slate); }
.nav-links a:hover { color: var(--gold); }
.menu-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; font: inherit; cursor: pointer; }

/* Buttons */
.btn { display: inline-block; padding: 14px 28px; border-radius: 40px; font-weight: 500; text-decoration: none; font-size: 0.95rem; letter-spacing: 0.02em; border: 2px solid transparent; cursor: pointer; font-family: inherit; }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #AE8730; }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* Hero */
.hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; color: var(--white); padding: 0; background: var(--slate); }
.hero > img, .hero > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,26,36,0.15) 0%, rgba(14,26,36,0.78) 100%); }
.hero .wrap { position: relative; z-index: 2; padding-top: 140px; padding-bottom: 70px; }
.hero h1 { color: var(--white); max-width: 820px; }
.hero p { max-width: 640px; font-size: 1.15rem; margin-top: 16px; color: var(--mist); }
.hero .eyebrow { color: var(--gold-lt); }
.hero.short { min-height: 62vh; }

/* Trust strip */
.strip { background: var(--ink); color: var(--gold-lt); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.strip ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding: 18px 20px; }

/* Picture placeholders: replace each with an <img> once the photo is ready */
.ph { width: 100%; aspect-ratio: 4 / 3; background: repeating-linear-gradient(45deg, var(--mist), var(--mist) 14px, #DFE7EC 14px, #DFE7EC 28px); border: 2px dashed var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); font-size: 0.9rem; font-weight: 500; padding: 16px; }
.ph::before { content: "Photo to add: "; font-weight: 400; margin-right: 4px; }

/* Grids and cards */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); display: flex; flex-direction: column; }
.card img, .card .ph { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; border-width: 0 0 2px 0; }
.card-body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body .btn { align-self: flex-start; margin-top: auto; }
.meta { color: var(--muted); font-size: 0.92rem; }
.score { display: inline-block; background: var(--slate); color: var(--white); border-radius: 8px; padding: 2px 9px; font-weight: 500; font-size: 0.85rem; margin-right: 6px; }
.rounded { border-radius: var(--radius); }
.photo-tall { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

.feature { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.feature .icon { font-size: 1.6rem; margin-bottom: 10px; display: block; }

.ticks { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 700; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery img, .gallery .ph { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; width: 100%; }
.gallery .wide { grid-column: span 2; }

/* Price panel */
.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 26px; }
.price { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); }
.price .amount { font-family: 'Playfair Display', Georgia, serif; font-size: 2.2rem; color: var(--ink); }
.price .per { color: var(--muted); font-size: 0.92rem; }
.note { font-size: 0.92rem; color: var(--muted); margin-top: 18px; }
.dark .price { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15); }
.dark .price .amount { color: var(--white); }
.dark .price .per, .dark .note { color: var(--gold-lt); }

/* Facts list */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.facts dt { color: var(--muted); }
.facts dd { font-weight: 500; text-align: right; }

/* Booking and map slots */
.slot { border: 2px dashed var(--gold); border-radius: var(--radius); padding: 40px 24px; text-align: center; color: var(--muted); background: var(--white); }

/* Maps */
.map { display: grid; gap: 14px; justify-items: start; }
.map iframe { width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--border); border-radius: var(--radius); background: var(--mist); }

/* Reviews */
.review { background: var(--white); border-radius: var(--radius); padding: 28px; border-left: 4px solid var(--gold); }
.review p { font-family: Georgia, serif; font-style: italic; color: var(--slate); }
.review .who { margin-top: 14px; font-size: 0.88rem; color: var(--muted); font-style: normal; font-family: 'DM Sans', Arial, sans-serif; }

/* Form */
form.enquiry { background: var(--white); border-radius: var(--radius); padding: 32px; border: 1px solid var(--border); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; color: var(--text); }
form.enquiry label { display: flex; flex-direction: column; gap: 6px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; color: var(--muted); }
form.enquiry input, form.enquiry select, form.enquiry textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--cream); color: var(--text); text-transform: none; letter-spacing: 0; }
form.enquiry .full { grid-column: 1 / -1; }
form.enquiry .consent { flex-direction: row; align-items: flex-start; gap: 10px; text-transform: none; letter-spacing: 0; font-size: 0.9rem; font-weight: 400; }
form.enquiry .consent input { margin-top: 4px; }
.hidden { display: none; }

/* Details still to fill in: highlighted so they are easy to spot, and removed once filled */
.fill { background: var(--gold-lt); color: var(--ink); padding: 1px 6px; border-radius: 4px; font-weight: 500; }

.contact-list { list-style: none; display: grid; gap: 14px; margin-top: 20px; font-size: 1.05rem; }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--gold); }

/* Footer */
footer { background: var(--ink); color: var(--muted); padding: 50px 0 36px; font-size: 0.9rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
footer a { color: var(--gold-lt); text-decoration: none; }
footer .logo { color: var(--white); }
footer ul { list-style: none; display: grid; gap: 6px; }

/* Phones and tablets */
@media (max-width: 900px) {
  .grid-3, .gallery { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding: 56px 0; }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: var(--cream); padding: 20px; gap: 16px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .grid-3, .gallery, .prices, .facts { grid-template-columns: 1fr; }
  .gallery .wide { grid-column: auto; }
  form.enquiry { grid-template-columns: 1fr; padding: 22px; }
  .hero { min-height: 70vh; }
}
