/*
Theme Name: JBMR Properties Solution
Theme URI: https://jbmrproperties.in
Author: JBMR Properties Solution
Author URI: https://jbmrproperties.in
Description: A premium dark & gold one-page WordPress theme built for JBMR Properties Solution. Includes a property listings section, enquiry form that emails enquiries to your inbox (default: info@jbmrproperties.in), Instagram & Facebook integration, and full Customizer controls for hero, contact details and branding.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jbmr-properties
Tags: real-estate, one-page, custom-menu, custom-logo, featured-images, translation-ready
*/

/* ==========================================================================
   1. Design tokens & reset
   ========================================================================== */
:root {
  --ink: #0c0b09;
  --surface: #14120e;
  --surface-2: #1c1913;
  --surface-3: #242017;
  --gold: #c8a24a;
  --gold-bright: #e6cd85;
  --gold-deep: #9a7a2e;
  --cream: #f4efe4;
  --muted: #a79e8b;
  --line: rgba(200, 162, 74, 0.22);
  --line-soft: rgba(244, 239, 228, 0.08);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 14px;
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--gold-bright);
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--cream);
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section--alt {
  background: var(--surface);
}

/* Section headings */
.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head .eyebrow,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold-deep);
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: #17130a;
  box-shadow: 0 10px 30px rgba(200, 162, 74, 0.35);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(200, 162, 74, 0.5);
  color: #17130a;
}

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(244, 239, 228, 0.35);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

/* ==========================================================================
   2. Top bar
   ========================================================================== */
.topbar {
  background: #080706;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--muted);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
}

.topbar__contacts {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.topbar__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.topbar__contacts a:hover {
  color: var(--gold-bright);
}

.topbar__contacts svg {
  width: 14px;
  height: 14px;
  fill: var(--gold);
  flex: none;
}

/* Social buttons — Instagram & Facebook only */
.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--gold);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--gold);
  color: #17130a;
  border-color: var(--gold);
  transform: translateY(-2px);
}

.social-links svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.social-links--lg a {
  width: 42px;
  height: 42px;
}

.social-links--lg svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   3. Header / navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 11, 9, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(8, 7, 6, 0.95);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.site-brand img {
  height: 54px;
  width: auto;
}

.site-brand .site-title {
  font-family: var(--font-head);
  font-size: 24px;
  color: var(--cream);
  letter-spacing: 0.02em;
}

.site-brand .site-title span {
  color: var(--gold);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: var(--gold-bright);
}

.main-nav a:hover::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-cta .btn {
  padding: 12px 26px;
  font-size: 12px;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   4. Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 7, 6, 0.92) 0%, rgba(8, 7, 6, 0.6) 45%, rgba(8, 7, 6, 0.25) 100%),
    linear-gradient(0deg, rgba(12, 11, 9, 0.95) 0%, rgba(12, 11, 9, 0) 35%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 120px 0;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(12, 11, 9, 0.5);
  margin-bottom: 28px;
}

.hero__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}

.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 600;
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-bright);
}

.hero p {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(244, 239, 228, 0.82);
  max-width: 560px;
  margin-bottom: 38px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   5. Stats strip
   ========================================================================== */
.stats-strip {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface);
}

.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 44px 0;
}

.stat {
  text-align: center;
  position: relative;
}

.stat + .stat::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--line-soft);
}

.stat__number {
  font-family: var(--font-head);
  font-size: clamp(30px, 3.4vw, 44px);
  color: var(--gold-bright);
  line-height: 1;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ==========================================================================
   6. About
   ========================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about__media {
  position: relative;
}

.about__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}

.about__media::after {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  z-index: -1;
}

.about__content .eyebrow {
  margin-bottom: 16px;
}

.about__content h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin-bottom: 20px;
}

.about__content p {
  color: var(--muted);
  margin-bottom: 18px;
}

.about__points {
  margin: 26px 0 34px;
  display: grid;
  gap: 14px;
}

.about__points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--cream);
  font-weight: 600;
}

.about__points svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 2px;
}

/* ==========================================================================
   7. Properties
   ========================================================================== */
.properties__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.property-card {
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--line);
}

.property-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.property-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.property-card:hover .property-card__media img {
  transform: scale(1.06);
}

.property-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(8, 7, 6, 0.85);
  border: 1px solid var(--line);
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
}

.property-card__body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.property-card__type {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.property-card__title {
  font-size: 22px;
}

.property-card__location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.property-card__location svg {
  width: 15px;
  height: 15px;
  fill: var(--gold);
  flex: none;
}

.property-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
  margin-top: auto;
}

.property-card__price {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--gold-bright);
}

.property-card__area {
  font-size: 13px;
  color: var(--muted);
}

.properties__empty {
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 60px 24px;
}

.properties__cta {
  text-align: center;
  margin-top: 48px;
}

/* ==========================================================================
   8. Why choose us
   ========================================================================== */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-card {
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--line);
}

.feature-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(230, 205, 133, 0.16), rgba(200, 162, 74, 0.08));
  border: 1px solid var(--line);
  margin-bottom: 22px;
}

.feature-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold-bright);
  fill: none;
  stroke-width: 1.6;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--muted);
  font-size: 15px;
}

/* ==========================================================================
   9. Gallery
   ========================================================================== */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line-soft);
  aspect-ratio: 16 / 10;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery__item:hover img {
  transform: scale(1.07);
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 7, 6, 0.55), transparent 45%);
  pointer-events: none;
}

/* ==========================================================================
   10. Contact / enquiry
   ========================================================================== */
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 18px;
}

.contact-info > p {
  color: var(--muted);
  margin-bottom: 34px;
}

.contact-info__list {
  display: grid;
  gap: 22px;
  margin-bottom: 36px;
}

.contact-info__item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-info__item .icon {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.contact-info__item .icon svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
}

.contact-info__item strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact-info__item span,
.contact-info__item a {
  color: var(--cream);
  font-size: 15px;
  word-break: break-word;
}

.contact-info__item a:hover {
  color: var(--gold-bright);
}

/* Form */
.enquiry-form-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.enquiry-form-card h3 {
  font-size: 26px;
  margin-bottom: 6px;
}

.enquiry-form-card > p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 26px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.form-field label .req {
  color: var(--gold);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c8a24a' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 162, 74, 0.18);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(167, 158, 139, 0.55);
}

/* Honeypot — hidden from humans */
.form-field--hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.enquiry-form-card .btn {
  width: 100%;
  margin-top: 6px;
}

.form-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 14px;
}

/* Enquiry notices */
.enquiry-notice {
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 22px;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid;
}

.enquiry-notice--success {
  background: rgba(74, 180, 110, 0.12);
  border-color: rgba(74, 180, 110, 0.5);
  color: #8fe0ac;
}

.enquiry-notice--error {
  background: rgba(220, 90, 90, 0.12);
  border-color: rgba(220, 90, 90, 0.5);
  color: #f2a0a0;
}

/* ==========================================================================
   11. Footer
   ========================================================================== */
.site-footer {
  background: #080706;
  border-top: 1px solid var(--line-soft);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 48px;
  padding: 72px 0 56px;
}

.site-footer__brand img {
  height: 52px;
  width: auto;
  margin-bottom: 20px;
}

.site-footer__brand p {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 340px;
  margin-bottom: 24px;
}

.site-footer h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

.site-footer__links li {
  margin-bottom: 12px;
}

.site-footer__links a {
  color: var(--muted);
  font-size: 14.5px;
}

.site-footer__links a:hover {
  color: var(--gold-bright);
}

.site-footer__contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 14px;
}

.site-footer__contact svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
  flex: none;
  margin-top: 4px;
}

.site-footer__contact a {
  color: var(--muted);
}

.site-footer__contact a:hover {
  color: var(--gold-bright);
}

.site-footer__bottom {
  border-top: 1px solid var(--line-soft);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

.site-footer__bottom a {
  color: var(--gold);
}

/* ==========================================================================
   12. Pages (generic content)
   ========================================================================== */
.page-hero {
  padding: 150px 0 70px;
  background: linear-gradient(180deg, rgba(200, 162, 74, 0.08), transparent), var(--surface);
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(32px, 4.5vw, 52px);
}

.entry-content {
  padding: 70px 0;
  max-width: 820px;
  margin: 0 auto;
  color: var(--muted);
}

.entry-content h2,
.entry-content h3 {
  color: var(--cream);
  margin: 32px 0 14px;
}

.entry-content p {
  margin-bottom: 18px;
}

.entry-content ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 18px;
}

.entry-content a {
  text-decoration: underline;
}

/* ==========================================================================
   13. Reveal animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   14. Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .properties__grid,
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid {
    gap: 48px;
  }

  .stats-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(3)::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    inset: 0;
    top: 0;
    background: rgba(8, 7, 6, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 90;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 26px;
  }

  .main-nav a {
    font-size: 20px;
  }

  .nav-toggle {
    display: flex;
    z-index: 95;
  }

  .header-cta .btn {
    display: none;
  }

  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .about__media::after {
    display: none;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .topbar__contacts span.topbar__label {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }

  .properties__grid,
  .features__grid,
  .gallery__grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .stats-strip__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 12px;
  }

  .stat + .stat::before {
    display: none;
  }

  .hero {
    min-height: 84vh;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .enquiry-form-card {
    padding: 28px 22px;
  }

  .topbar__inner {
    justify-content: center;
  }

  .topbar__contacts {
    display: none;
  }
}
