/* ===================================================================
   APEX LIVING REALTY — Stylesheet
   Design tokens
   =================================================================== */

:root {
  /* Colour */
  --navy-deep: #0A2530;
  --navy: #123B4C;
  --teal: #1C5770;
  --teal-light: #3D7690;
  --gold-light: #E8C784;
  --gold: #C9A05C;
  --gold-deep: #7A5430;   /* gold for text on light surfaces (>=5:1 on cream and stone) */
  --bronze: #8B6239;
  --cream: #FAF7F2;
  --stone: #F0EBE1;
  --stone-line: #DED4C2;
  --ink: #23211D;
  --ink-soft: #55534C;
  --white: #FFFFFF;
  --error: #B3261E;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --max: 1240px;
  --radius: 2px;
  --gap: 1.5rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.section-navy :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .page-hero :focus-visible { outline-color: var(--gold-light); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .property-card:hover, .whatsapp-float:hover { transform: none; }
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy-deep);
  margin: 0 0 0.5em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 4.5vw, 4rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 400; }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

/* Signature typographic device: spaced-letter eyebrow labels,
   echoing the brochure's own "I N T E R I O R S" section markers */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.9em;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: currentColor;
  margin-right: 12px;
  vertical-align: middle;
}
.section-navy .eyebrow { color: var(--gold); }

.section { padding: 96px 0; }
.section-alt { background: var(--stone); }
.section-navy { background: var(--navy-deep); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.72); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  min-height: 48px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.btn-primary { background: var(--navy-deep); color: var(--white); }
.btn-primary:hover { background: var(--teal); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { border-color: var(--navy-deep); color: var(--navy-deep); }
.btn-outline:hover { background: var(--navy-deep); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--navy-deep); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--stone-line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
  position: relative;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 56px; width: auto; }
.nav-links {
  display: flex;
  gap: 36px;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a { position: relative; padding: 10px 2px; display: inline-block; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 6px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone { font-size: 0.88rem; font-weight: 600; color: var(--teal); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  flex-shrink: 0;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy-deep);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,37,48,0.35) 0%, rgba(10,37,48,0.55) 55%, rgba(10,37,48,0.92) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-bottom: 64px; }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { color: var(--white); max-width: 780px; }
.hero-sub { max-width: 560px; color: rgba(255,255,255,0.85); font-size: 1.08rem; }

.search-bar {
  margin-top: 40px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 16px;
  box-shadow: 0 24px 48px rgba(10,37,48,0.28);
}
.search-field { display: flex; flex-direction: column; gap: 6px; }
.search-field label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.search-field select, .search-field input {
  border: none;
  border-bottom: 1px solid var(--stone-line);
  padding: 8px 2px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  min-height: 40px;
}
.search-field select:focus-visible, .search-field input:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-color: var(--teal); }
.search-bar .btn { align-self: end; }

/* ---------- Value strip ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.value-item { border-top: 2px solid var(--gold); padding-top: 20px; }
.value-item h4 { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; margin-bottom: 8px; }
.value-item p { font-size: 0.92rem; margin: 0; }

/* ---------- Upcoming project / feature spotlight ---------- */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.spotlight-media { position: relative; }
.spotlight-media img { border-radius: var(--radius); width: 100%; height: 560px; object-fit: cover; }
.spotlight-tag {
  position: absolute;
  top: 24px; left: 24px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
}
.spotlight-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
  margin: 28px 0 32px;
  padding: 28px 0;
  border-top: 1px solid var(--stone-line);
  border-bottom: 1px solid var(--stone-line);
}
.fact dt { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: 4px; }
.fact dd { margin: 0; font-size: 1rem; font-weight: 500; color: var(--navy-deep); }
.price-row { display: flex; gap: 40px; margin-bottom: 28px; }
.price-note { font-size: 0.85rem; line-height: 1.5; color: var(--ink-soft); max-width: 44ch; margin: 0 0 28px; }
.detail-header .price-note { margin: 10px 0 0; max-width: 32ch; }
.price-item .price-label { font-size: 0.78rem; color: var(--ink-soft); }
.price-item .price-value { font-family: var(--font-display); font-size: 1.9rem; color: var(--navy-deep); }

/* ---------- Property cards / grid ---------- */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.property-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(10,37,48,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.property-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(10,37,48,0.14); }
.property-card .card-media { position: relative; height: 260px; overflow: hidden; }
.property-card .card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-status {
  position: absolute; top: 16px; left: 16px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--radius);
  background: var(--white); color: var(--navy-deep);
  max-width: calc(100% - 32px); line-height: 1.4;
}
.card-status.finished { background: var(--teal); color: var(--white); }
.card-status.offplan { background: var(--gold); color: var(--navy-deep); }
.card-body { padding: 24px; }
.card-price { font-family: var(--font-display); font-size: 1.4rem; color: var(--navy-deep); margin-bottom: 4px; }
.card-title { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.card-loc { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 16px; display: flex; align-items: center; gap: 6px; }
.card-specs { display: flex; gap: 16px; padding-top: 16px; border-top: 1px solid var(--stone-line); font-size: 0.82rem; color: var(--ink-soft); }
.card-specs span { display: flex; align-items: center; gap: 6px; }

/* ---------- Ready-to-buy homes ---------- */
.property-grid.ready-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.property-grid.ready-grid .card-media { height: auto; aspect-ratio: 1; }
.property-card[data-location="lashibi"] .card-media img { object-position: center 30%; }
.property-card[data-location="lashibi"] .card-price { line-height: 1.3; }
.card-price-note { line-height: 1.3; font-family: var(--font-body); font-size: 0.85rem; color: var(--ink-soft); display: inline-block; }
.section-flush-top { padding-top: 0; }
@media (max-width: 600px) {
  .property-grid.ready-grid { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.75); padding: 72px 0 28px; }
.site-footer p { color: rgba(255,255,255,0.75); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 56px; }
.footer-grid h4 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 20px; }
.footer-grid ul li { margin-bottom: 12px; font-size: 0.92rem; }
.footer-grid ul li a:hover { color: var(--gold-light); }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img { height: 44px; }
.site-footer .footer-tagline { font-family: var(--font-display); font-style: italic; color: var(--gold-light); font-size: 1.05rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex; justify-content: space-between; font-size: 0.82rem;
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--navy-deep);
  color: var(--white);
  padding: 160px 0 64px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(10,37,48,0.72); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero h1 { color: var(--white); margin-bottom: 0.2em; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: var(--gold-light); }

/* ---------- Properties listing layout ---------- */
.listing-layout { display: grid; grid-template-columns: 300px 1fr; gap: 48px; }
.filter-panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  height: fit-content;
  box-shadow: 0 8px 24px rgba(10,37,48,0.06);
}
.filter-panel h3 { font-size: 1rem; margin-bottom: 20px; }
.filter-group { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--stone-line); }
.filter-group:last-of-type { border-bottom: none; }
.filter-group label {
  display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px;
}
.filter-group select, .filter-group input[type="text"] {
  width: 100%; padding: 12px; border: 1px solid var(--stone-line);
  border-radius: var(--radius); font-family: var(--font-body); font-size: 1rem; background: var(--cream);
  min-height: 44px;
}
.checkbox-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 0.9rem; }
.range-row { display: flex; gap: 10px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.results-count { font-size: 0.92rem; color: var(--ink-soft); }
.no-results { display: none; text-align: center; padding: 60px 0; color: var(--ink-soft); }

/* ---------- Property detail ---------- */
.breadcrumb-light { color: var(--ink-soft); }
.breadcrumb-light a:hover { color: var(--teal); }
.property-grid.floor-plans { grid-template-columns: 1fr 1fr; margin-bottom: 24px; }
@media (max-width: 600px) { .property-grid.floor-plans { grid-template-columns: 1fr; } }
.finishing-note { background: var(--stone); border: 1px solid var(--stone-line); border-radius: var(--radius); padding: 14px 18px; color: var(--ink); font-size: 0.95rem; }
.gallery-main { border-radius: var(--radius); overflow: hidden; height: 520px; margin-bottom: 12px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main.is-fit { height: 640px; background: var(--stone); }
.gallery-main.is-fit img { object-fit: contain; }
.gallery-main.is-fit + .gallery-thumbs img { width: 100%; opacity: 1; border-width: 3px; }
.gallery-main.is-fit + .gallery-thumbs img.active { border-color: var(--teal); }
.gallery-main.is-fit { scroll-margin-top: 104px; }
.gallery-main.is-loading img { opacity: 0.5; }
.gallery-thumbs button { display: block; min-width: 0; min-height: 44px; padding: 0; border: 0; background: none; border-radius: var(--radius); cursor: pointer; }
.gallery-thumbs button:hover img, .gallery-thumbs button:focus-visible img { opacity: 1; }
.gallery-thumbs button[hidden], .gallery-more[hidden] { display: none; }
.gallery-more { display: flex; margin: 20px auto 0; background: none; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.gallery-thumbs img {
  height: 84px; object-fit: cover; border-radius: var(--radius); cursor: pointer;
  opacity: 0.65; transition: opacity 0.2s ease; border: 2px solid transparent;
}
.gallery-thumbs img:hover, .gallery-thumbs img.active { opacity: 1; border-color: var(--gold); }

.detail-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; margin-top: 48px; }
.detail-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
.detail-price { font-family: var(--font-display); font-size: 2.2rem; color: var(--navy-deep); }
.detail-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 28px 0; border-top: 1px solid var(--stone-line); border-bottom: 1px solid var(--stone-line); margin: 28px 0; }
.detail-specs .spec-value { font-family: var(--font-display); font-size: 1.6rem; color: var(--navy-deep); }
.detail-specs .spec-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }

.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 24px 0; }
.feature-list li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--ink); }
.feature-list li::before { content: ""; width: 6px; height: 6px; background: var(--gold); flex-shrink: 0; transform: rotate(45deg); }

.sidebar-card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  box-shadow: 0 8px 24px rgba(10,37,48,0.06); margin-bottom: 24px;
}
.sidebar-card h3 { font-size: 1.05rem; margin-bottom: 18px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 0.78rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-soft); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 12px 13px; border: 1px solid var(--stone-line);
  border-radius: var(--radius); font-family: var(--font-body); font-size: 1rem; background: var(--cream);
  min-height: 44px;
}
.form-field textarea { min-height: 100px; }
.form-field textarea { resize: vertical; min-height: 90px; }
.form-note { font-size: 0.78rem; color: var(--ink-soft); margin-top: 12px; text-align: center; }

.map-frame { border-radius: var(--radius); overflow: hidden; height: 360px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.map-caption { font-size: 0.85rem; color: var(--ink-soft); margin: 10px 0 0; }

/* ---------- About page ---------- */
.about-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.stat-row { display: flex; gap: 48px; margin-top: 32px; }
.stat-num { font-family: var(--font-display); font-size: 2.4rem; color: var(--navy-deep); }
.stat-label { font-size: 0.82rem; color: var(--ink-soft); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.value-card { background: var(--white); padding: 32px; border-radius: var(--radius); box-shadow: 0 8px 24px rgba(10,37,48,0.06); }

/* ---------- Contact page ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-info-item .icon-box {
  width: 44px; height: 44px; border-radius: 50%; background: var(--stone);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ===================================================================
   Responsive — tuned for PC/laptop, iPad/tablet, and phone browsers
   Breakpoints: 1180 (small laptop), 980 (tablet landscape / nav switch),
   768 (tablet portrait), 480 (phone)
   =================================================================== */

/* Prevent any layout from causing horizontal scroll on small screens */
html, body { overflow-x: hidden; max-width: 100%; }

/* ---- Small laptop / large tablet landscape (<=1180px) ---- */
@media (max-width: 1180px) {
  .wrap { padding: 0 28px; }
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .spotlight { gap: 40px; }
  .detail-layout { gap: 40px; }
}

/* ---- Tablets / nav switches to mobile menu (<=980px) ---- */
@media (max-width: 980px) {
  .header-phone { display: none; }
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-top: 1px solid var(--stone-line);
    box-shadow: 0 16px 32px rgba(10,37,48,0.12);
    padding: 8px 28px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 16px 0; border-bottom: 1px solid var(--stone-line); width: 100%; }
  .nav-links a::after { display: none; }
  .nav-links a.active { color: var(--teal); font-weight: 700; }

  .search-bar { grid-template-columns: 1fr 1fr; }
  .value-grid, .property-grid, .footer-grid, .detail-specs, .feature-list, .values-grid { grid-template-columns: 1fr 1fr; }
  .spotlight, .listing-layout, .detail-layout, .about-hero-grid, .contact-layout { grid-template-columns: 1fr; }
  .filter-panel { order: 2; }
  .section { padding: 72px 0; }
}

/* ---- Tablet portrait / iPad (<=768px) ---- */
@media (max-width: 768px) {
  .wrap { padding: 0 22px; }
  .site-header .wrap { height: 76px; }
  .logo img { height: 46px; }
  .footer-logo img { height: 38px; }

  .hero { min-height: 100svh; align-items: center; }
  .hero-inner { padding-bottom: 0; }
  .search-bar { grid-template-columns: 1fr; padding: 18px; gap: 14px; }
  .search-bar .btn { margin-top: 4px; }

  .gallery-main { height: 340px; }
  .gallery-main.is-fit { height: 420px; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }

  .detail-header { flex-direction: column; }
  .detail-specs { grid-template-columns: repeat(2, 1fr); }
  .about-hero-grid img { height: 320px; }
  .stat-row { gap: 28px; flex-wrap: wrap; }
}

/* ---- Phones (<=600px) ---- */
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .site-header .wrap { height: 68px; }
  .logo img { height: 40px; }
  .footer-logo img { height: 34px; }
  .header-actions { gap: 12px; }
  .header-actions .btn { padding: 10px 16px; font-size: 0.82rem; }

  h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  h2 { font-size: clamp(1.5rem, 7vw, 1.9rem); }

  .value-grid, .property-grid, .footer-grid, .detail-specs, .feature-list, .values-grid, .price-row { grid-template-columns: 1fr; }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
  .gallery-main { height: 240px; }
  .gallery-main.is-fit { height: 340px; }
  .section { padding: 56px 0; }
  .stat-row { gap: 20px; }
  .stat-num { font-size: 2rem; }

  .spotlight-media img { height: 320px; }
  .price-row { gap: 20px; }
  .price-item .price-value { font-size: 1.5rem; }
}

/* ---- Small phones (<=380px) ---- */
@media (max-width: 380px) {
  .wrap { padding: 0 14px; }
  .btn { padding: 12px 20px; font-size: 0.84rem; }
  .header-actions .btn span { display: none; }
  .logo img { height: 36px; }
}
