@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  --blue: #0062B9;
  --blue-dark: #004E94;
  --gold: #9C8364;
  --gold-light: #B09778;
  --bg: #D6D3CD;
  --white: #FFFFFF;
  --light: #F3EFE7;
  --dark: #1A1A1A;
  --mid: #5C5C5C;
  --border: #D4CEC2;
  --nav-h: 80px;
  --max-w: 1280px;
  --pad: 100px;
  --gap: 24px;
  --ease: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: #0D1D33;
  height: var(--nav-h);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 40px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
  position: relative;
}
.nav-logo img { height: 54px; width: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-link {
  color: rgba(255,255,255,0.88); font-size: 14px; font-weight: 500;
  letter-spacing: 0.01em; transition: color var(--ease);
}
.nav-link:hover { color: #fff; }
.nav-cta {
  background: var(--gold); color: #fff;
  padding: 10px 24px; border-radius: 6px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  transition: background var(--ease);
}
.nav-cta:hover { background: var(--gold-light); }
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-burger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 6px; transition: all 0.28s; }
.nav-burger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── HOME HERO ── */
.home-hero {
  min-height: 75vh;
  background-image: url('assets/Edinburgh.jpg');
  background-size: cover;
  background-position: center top;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--nav-h) 40px 0;
}
.home-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0.5) 55%, rgba(0,0,0,0.68) 100%);
}
.home-hero-content { position: relative; z-index: 1; max-width: 860px; }
.eyebrow {
  display: block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 20px;
}
.home-hero .eyebrow { color: rgba(255,255,255,0.7); }
.home-hero h1 { font-size: clamp(36px, 5.5vw, 68px); color: #fff; margin-bottom: 28px; font-weight: 700; }
.hero-sub {
  font-size: 18px; max-width: 700px; margin: 0 auto 0;
  line-height: 1.75; font-weight: 300;
}
.home-hero .hero-sub { color: rgba(255,255,255,0.82); }
.hero-ornament { position: relative; z-index: 1; margin-top: 56px; }
.hero-ornament span { display: block; width: 48px; height: 2px; background: var(--gold); margin: 0 auto; }

/* scroll cue */
.scroll-cue {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.55); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
}
.scroll-cue::after {
  content: '';
  display: block; width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

/* ── BUTTONS ── */
.btn-blue {
  display: inline-block; background: var(--blue); color: #fff;
  padding: 14px 32px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; border-radius: 6px;
  transition: background var(--ease); font-family: inherit;
}
.btn-blue:hover { background: var(--blue-dark); }
.btn-gold {
  display: inline-block; background: var(--gold); color: #fff;
  padding: 14px 32px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; border-radius: 6px;
  transition: background var(--ease); font-family: inherit;
}
.btn-gold:hover { background: var(--gold-light); }
.btn-outline {
  display: inline-block; border: 1.5px solid rgba(255,255,255,0.6); color: #fff;
  padding: 12px 28px; font-size: 13px; font-weight: 500;
  letter-spacing: 0.03em; text-transform: uppercase; border-radius: 6px;
  transition: all var(--ease);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* ── HOME INTRO BAR ── */
.home-intro-bar {
  background: var(--blue);
  padding: 22px 40px;
  text-align: center;
}
.home-intro-bar p {
  color: #fff; font-size: 18px; font-weight: 700;
  letter-spacing: 0.01em; margin: 0;
}

/* ── HOME PROPERTIES ── */
.props-section { background: var(--white); }
.prop-block {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 80vh;
  border-bottom: 1px solid var(--border);
}
.prop-block:last-child { border-bottom: none; }
.prop-block.reverse { direction: rtl; }
.prop-block.reverse > * { direction: ltr; }
.prop-img { overflow: hidden; position: relative; }
.prop-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94); }
.prop-block:hover .prop-img img { transform: scale(1.04); }
.prop-content {
  padding: 80px 72px;
  display: flex; flex-direction: column; justify-content: center;
}
.prop-badge {
  display: inline-block;
  background: var(--gold); color: #fff;
  padding: 7px 16px; border-radius: 20px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 24px; width: fit-content;
}
.prop-img-badge {
  display: none;
}
.prop-content h2 {
  font-size: clamp(28px, 3vw, 44px); color: var(--dark);
  margin-bottom: 20px; font-weight: 600;
}
.prop-content p { color: var(--mid); line-height: 1.8; margin-bottom: 36px; font-size: 16px; font-weight: 300; }

/* ── PROPERTY PAGE HERO ── */
.pg-hero {
  height: 72vh; position: relative; overflow: hidden;
  margin-top: var(--nav-h);
}
.pg-hero img { width: 100%; height: 100%; object-fit: cover; }
.pg-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,60,140,0.12) 0%, rgba(0,0,0,0.42) 100%);
}
.pg-hero-content {
  position: absolute; bottom: 56px; left: 0; right: 0;
  text-align: center; z-index: 1; color: #fff; padding: 0 40px;
}
.pg-hero-content .eyebrow { color: rgba(255,255,255,0.72); }
.hero-badge {
  display: inline-block;
  background: #fff; border: 3px solid var(--gold); color: var(--gold);
  padding: 7px 18px; border-radius: 20px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 20px;
}
.pg-hero-content h1 { font-size: clamp(30px, 4.5vw, 54px); color: #fff; }

/* Overview bar */
.overview-bar { background: var(--blue); padding: 26px 40px; }
.overview-bar-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.ov-stat { text-align: center; color: #fff; }
.ov-num { display: block; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.ov-lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; opacity: 0.75; font-weight: 500; }
.ov-div { width: 1px; height: 36px; background: rgba(255,255,255,0.22); }
.overview-enquire {
  background: var(--gold); color: #fff;
  padding: 12px 28px; border-radius: 6px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  transition: background var(--ease);
}
.overview-enquire:hover { background: var(--gold-light); }

/* Page content sections */
.pg-section { max-width: var(--max-w); margin: 0 auto; padding: var(--pad) 40px; }
.pg-section + .pg-section { padding-top: 0; }
.pg-section h2 { font-size: clamp(24px, 2.8vw, 36px); color: var(--dark); margin-bottom: 24px; }
.pg-section p { color: var(--mid); line-height: 1.8; max-width: 760px; margin-bottom: 18px; font-size: 15px; font-weight: 300; }
.pg-divider { height: 1px; background: var(--border); max-width: calc(var(--max-w) - 80px); margin: 0 auto; }
.pg-section-bg { background: var(--light); }
.pg-section-bg .pg-section { padding-top: var(--pad); padding-bottom: var(--pad); max-width: var(--max-w); margin: 0 auto; }

.sec-eyebrow {
  display: block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}

/* Amenities grid */
.amenities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin-top: 32px; }
.amenity {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 20px; background: var(--white); border-left: 2px solid var(--border);
  transition: border-color var(--ease);
}
.amenity:hover { border-color: var(--gold); }
.amenity-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.amenity-text strong { display: block; font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 2px; }
.amenity-text span { font-size: 13px; color: var(--mid); font-weight: 300; }

/* Kosher cards */
.kosher-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin-top: 32px; }
.kosher-card { background: var(--white); padding: 28px; border-top: 3px solid var(--gold); }
.kosher-card h4 { font-size: 17px; color: var(--dark); margin-bottom: 14px; letter-spacing: -0.01em; }
.kosher-card p, .kosher-card li { font-size: 14px; color: var(--mid); line-height: 1.72; font-weight: 300; }
.kosher-card ul { list-style: none; padding: 0; }
.kosher-card li { padding: 5px 0; border-bottom: 1px solid var(--border); display: flex; align-items: baseline; gap: 8px; }
.kosher-card li:last-child { border-bottom: none; }
.kosher-card li::before { content: '—'; color: var(--gold); font-weight: 700; flex-shrink: 0; font-size: 12px; }

/* House layout */
.layout-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--border); margin-top: 32px; }
.layout-room { background: var(--white); padding: 28px 24px; }
.layout-room h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue); margin-bottom: 10px; }
.layout-room p { font-size: 14px; color: var(--mid); line-height: 1.65; font-weight: 300; }

/* ── GALLERY ── */
.gallery-wrap { background: var(--bg); padding: var(--pad) 40px; }
.gallery-inner { max-width: var(--max-w); margin: 0 auto; }
.gallery-inner h2 { font-size: clamp(24px, 2.8vw, 36px); color: var(--dark); margin-bottom: 32px; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px; gap: 8px; grid-auto-flow: dense;
}
.gal-item { overflow: hidden; cursor: pointer; background: var(--border); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.gal-item:hover img { transform: scale(1.07); }
.gal-item.featured { grid-column: span 2; grid-row: span 2; }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.93); z-index: 3000;
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lb-img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
.lb-close {
  position: absolute; top: 18px; right: 28px;
  font-size: 36px; color: #fff; cursor: pointer;
  background: none; border: none; line-height: 1; opacity: 0.8; transition: opacity 0.2s;
}
.lb-close:hover { opacity: 1; }
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.12); border: none; color: #fff;
  font-size: 22px; width: 52px; height: 52px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.22); }

/* ── LOCATION ── */
.location-wrap { background: var(--white); padding: var(--pad) 40px; }
.location-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.location-content h2 { font-size: clamp(24px, 2.8vw, 36px); color: var(--dark); margin-bottom: 16px; }
.location-content > p { color: var(--mid); line-height: 1.78; font-size: 15px; font-weight: 300; margin-bottom: 0; }
.location-list { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.loc-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; background: var(--light); border-left: 3px solid var(--gold);
}
.loc-icon { font-size: 20px; flex-shrink: 0; }
.loc-name { flex: 1; font-size: 14px; font-weight: 500; color: var(--dark); }
.loc-dist { font-size: 15px; font-weight: 700; color: var(--blue); white-space: nowrap; }
.location-img { border-radius: 4px; overflow: hidden; }
.location-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 768px) {
  .location-inner { grid-template-columns: 1fr; gap: 36px; }
  .location-img { order: 1; }
  .location-wrap { padding-left: 24px; padding-right: 24px; }
}

/* ── REVIEWS ── */
.reviews-wrap { background: var(--light); padding: var(--pad) 40px; overflow: hidden; }
.reviews-hdr {
  max-width: var(--max-w); margin: 0 auto 48px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.reviews-hdr h2 { font-size: clamp(26px, 3vw, 38px); }
.rating-badge { display: flex; align-items: center; gap: 12px; }
.badge-stars { color: var(--gold); font-size: 20px; letter-spacing: 3px; }
.badge-text { font-size: 14px; color: var(--mid); font-weight: 400; }
.reviews-viewport { max-width: var(--max-w); margin: 0 auto; overflow: hidden; }
.reviews-track {
  display: flex; gap: var(--gap);
  transition: transform 0.42s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}
.review-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--white); padding: 32px 28px;
  border-bottom: 3px solid var(--gold);
  display: flex; flex-direction: column;
}
.rc-stars { color: var(--gold); font-size: 14px; letter-spacing: 3px; margin-bottom: 14px; }
.rc-text {
  font-size: 15px; line-height: 1.75; color: var(--mid);
  font-style: italic; margin-bottom: 20px; flex: 1; font-weight: 300;
}
.rc-author strong { display: block; font-size: 14px; font-weight: 600; color: var(--dark); }
.rc-author span { font-size: 12px; color: var(--gold); font-weight: 500; }
.carousel-nav {
  max-width: var(--max-w); margin: 32px auto 0;
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.c-btn {
  background: var(--blue); border: none; color: #fff;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  font-size: 18px; display: flex; align-items: center; justify-content: center;
  transition: background var(--ease);
}
.c-btn:hover { background: var(--blue-dark); }
.c-dots { display: flex; gap: 8px; align-items: center; }
.c-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; transition: all 0.2s; }
.c-dot.active { background: var(--gold); width: 20px; border-radius: 4px; }

/* View all reviews */
.reviews-cta { max-width: var(--max-w); margin: 36px auto 0; text-align: center; }
.btn-view-all {
  display: inline-block;
  border: 1.5px solid var(--blue); color: #fff;
  background: var(--blue); padding: 12px 32px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  border-radius: 6px; cursor: pointer; font-family: inherit;
  transition: all var(--ease);
}
.btn-view-all:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

.all-reviews { max-width: var(--max-w); margin: 48px auto 0; }
.all-reviews[hidden] { display: none; }
.all-reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.review-card-sm {
  background: var(--white); padding: 24px 22px;
  border-bottom: 2px solid var(--gold);
  display: flex; flex-direction: column;
}
.review-card-sm .rc-stars { font-size: 13px; margin-bottom: 12px; }
.review-card-sm .rc-text { font-size: 14px; margin-bottom: 16px; }
.review-card-sm .rc-author strong { font-size: 13px; }
.review-card-sm .rc-author span { font-size: 11px; }

/* ── ENQUIRY ── */
.enquiry-wrap { background: var(--blue); padding: var(--pad) 40px; }
.enquiry-inner { max-width: 820px; margin: 0 auto; }
.enquiry-hdr { text-align: center; margin-bottom: 48px; }
.enquiry-hdr h2 { font-size: clamp(26px, 3vw, 40px); color: #fff; margin-bottom: 12px; }
.enquiry-hdr p { color: rgba(255,255,255,0.8); font-size: 16px; font-weight: 300; }
.e-form { display: flex; flex-direction: column; gap: 22px; }
.e-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.e-group { display: flex; flex-direction: column; gap: 8px; }
.e-group.full { grid-column: 1 / -1; }
.e-group label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: rgba(255,255,255,0.82);
}
.e-group input, .e-group select, .e-group textarea {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22);
  color: #fff; padding: 12px 16px; font-size: 15px; border-radius: 6px;
  font-family: inherit; transition: border-color 0.2s, background 0.2s; font-weight: 300;
}
.e-group input::placeholder, .e-group textarea::placeholder { color: rgba(255,255,255,0.4); }
.e-group input:focus, .e-group select:focus, .e-group textarea:focus {
  outline: none; border-color: var(--gold); background: rgba(255,255,255,0.14);
}
.e-group select option { color: var(--dark); background: #fff; }
.phone-row { display: flex; }
.phone-row select { width: 130px; flex-shrink: 0; border-radius: 2px 0 0 2px; border-right: none; }
.phone-row input { flex: 1; border-radius: 0 2px 2px 0; }

/* Radio buttons */
.radio-group { display: flex; gap: 20px; flex-wrap: wrap; padding-top: 4px; }
.radio-lbl { display: flex; align-items: center; gap: 10px; cursor: pointer; color: rgba(255,255,255,0.9); font-size: 15px; }
.radio-lbl input[type="radio"] { width: 17px; height: 17px; accent-color: var(--gold); cursor: pointer; flex-shrink: 0; }

.e-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  background: var(--gold); color: #fff; border: none;
  padding: 16px 52px; font-size: 14px; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  cursor: pointer; border-radius: 6px; align-self: center;
  transition: background var(--ease); font-family: inherit;
}
.btn-submit:hover { background: var(--gold-light); }
.form-thanks { display: none; text-align: center; color: #fff; padding: 48px 0; }
.thanks-icon {
  width: 64px; height: 64px; background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin: 0 auto 24px;
}
.form-thanks h3 { font-size: 24px; margin-bottom: 12px; }
.form-thanks p { opacity: 0.82; font-size: 16px; font-weight: 300; }

/* ── FOOTER ── */
.footer { background: #0D1D33; color: #fff; padding: 52px 40px 32px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-logo { margin-bottom: 28px; }
.footer-logo img { height: 48px; }
.footer-links {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-links a { font-size: 14px; color: #fff; transition: color 0.2s; font-weight: 400; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 13px; color: #fff; font-weight: 300; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  :root { --pad: 72px; }
  .prop-content { padding: 60px 44px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .review-card { flex: 0 0 calc(50% - 12px); }
  .all-reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --pad: 56px; --nav-h: 68px; }
  .home-hero { min-height: 48vh; }
  .nav-logo img { height: 53px; }
  .nav-burger { display: flex; }
  .nav-links {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--blue); flex-direction: column; padding: 28px 32px;
    gap: 22px; box-shadow: 0 10px 28px rgba(0,0,0,0.2);
  }
  .nav-links.open { display: flex; }
  .prop-block, .prop-block.reverse { grid-template-columns: 1fr; direction: ltr; min-height: auto; }
  .prop-block.reverse > * { direction: ltr; }
  .prop-img { height: 56vw; min-height: 280px; position: relative; }
  .prop-content { padding: 48px 32px; }
  .prop-img-badge {
    display: block;
    position: absolute; top: 16px; left: 16px; z-index: 2;
    background: #fff; border: 3px solid var(--gold); color: var(--gold);
    padding: 6px 14px; border-radius: 20px;
    font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  }
  .prop-badge { display: none; }
  .e-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gal-item.featured { grid-column: span 2; grid-row: span 1; }
  .review-card { flex: 0 0 100%; }
  .all-reviews-grid { grid-template-columns: 1fr; }
  .overview-bar-inner { gap: 28px; }
  .ov-div { display: none; }
  .reviews-hdr { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links { gap: 20px; }
}

@media (max-width: 480px) {
  .nav-inner { padding: 0 20px; }
  .home-hero { padding-left: 24px; padding-right: 24px; }
  .prop-content { padding: 40px 24px; }
  .pg-section { padding-left: 24px; padding-right: 24px; }
  .gallery-wrap { padding-left: 24px; padding-right: 24px; }
  .reviews-wrap { padding-left: 24px; padding-right: 24px; }
  .enquiry-wrap { padding-left: 24px; padding-right: 24px; }
  .footer { padding: 40px 24px 28px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
}

/* ── SECTION BACKGROUND UTILITIES ── */
.sec-white { background: var(--white); }
.sec-light { background: var(--light); }
.sec-mid   { background: var(--bg); }

/* Scroll offset for sticky nav + quicklinks bar */
#about, #gallery, #amenities, #kosher, #layout, #location, #reviews {
  scroll-margin-top: calc(var(--nav-h) + 54px);
}

/* ── PAGE QUICKLINKS ── */
.page-quicklinks {
  background: var(--white);
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  position: sticky; top: var(--nav-h); z-index: 100;
  padding: 0 40px;
}
.page-quicklinks-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: center;
}
.pq-link {
  display: flex; align-items: center; gap: 7px;
  padding: 14px 30px; font-size: 13px; font-weight: 500;
  color: var(--mid); white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.pq-link:hover { color: var(--blue); border-bottom-color: var(--blue); }
.pq-icon { font-size: 15px; line-height: 1; }

/* ── EXPLORE EDINBURGH ── */
.explore-wrap { padding: var(--pad) 40px; }
.explore-inner { max-width: var(--max-w); margin: 0 auto; }
.explore-inner h2 { font-size: clamp(24px, 2.8vw, 36px); color: var(--dark); margin-bottom: 16px; }
.explore-sub { color: var(--mid); line-height: 1.78; font-size: 15px; font-weight: 300; max-width: 680px; margin-bottom: 40px; }
.explore-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.explore-card {
  position: relative; overflow: hidden; border-radius: 4px;
  aspect-ratio: 4/3; background: var(--border);
}
.explore-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.explore-card:hover img { transform: scale(1.05); }
.explore-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72), transparent);
  color: #fff; padding: 36px 20px 16px;
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  .page-quicklinks { padding: 0; }
  .pq-link { padding: 10px 4px; font-size: 12px; gap: 5px; flex: 0 0 33.333%; justify-content: center; }
  .explore-grid { grid-template-columns: 1fr; }
  .explore-wrap { padding-left: 24px; padding-right: 24px; }
}
