:root {
  --font-nav: "Quicksand", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --font-heading: "Marcellus", ui-serif, Georgia, serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";

  --container: 1180px;
  --container-wide: 1320px;
  --radius-mn: 6px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 220ms;
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.25);

  --bg: #f7f3ee;
  --surface: #ffffff;
  --surface-2: #fbf6ef;
  --text: #1c1a16;
  --muted: rgba(28, 26, 22, 0.7);
  --border: rgba(28, 26, 22, 0.12);
  --ring: rgba(176, 141, 79, 0.35);
  --accent: #b08d4f;
  --accent-2: #caa55a;

  --header-bg: rgba(247, 243, 238, 0.78);
  --hero-overlay-a: rgba(247, 243, 238, 0.15);
  --hero-overlay-b: rgba(247, 243, 238, 0.86);
}

html[data-theme="dark"] {
  --bg: #0b0b0c;
  --surface: #111113;
  --surface-2: #161618;
  --text: #f3f1ec;
  --muted: rgba(243, 241, 236, 0.7);
  --border: rgba(243, 241, 236, 0.12);
  --ring: rgba(201, 162, 87, 0.38);
  --accent: #c9a257;
  --accent-2: #e0bf73;

  --header-bg: rgba(11, 11, 12, 0.72);
  --hero-overlay-a: rgba(5, 5, 6, 0.2);
  --hero-overlay-b: rgba(5, 5, 6, 0.82);
  --shadow-sm: 0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 35px 80px rgba(0, 0, 0, 0.6);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
    --bg: #0b0b0c;
    --surface: #111113;
    --surface-2: #161618;
    --text: #f3f1ec;
    --muted: rgba(243, 241, 236, 0.7);
    --border: rgba(243, 241, 236, 0.12);
    --ring: rgba(201, 162, 87, 0.38);
    --accent: #c9a257;
    --accent-2: #e0bf73;

    --header-bg: rgba(11, 11, 12, 0.72);
    --hero-overlay-a: rgba(5, 5, 6, 0.2);
    --hero-overlay-b: rgba(5, 5, 6, 0.82);
    --shadow-sm: 0 12px 40px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 35px 80px rgba(0, 0, 0, 0.6);
  }
}

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

html,
body {
  height: 100%;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.55;
  letter-spacing: 0.01em;
  background: var(--bg);
  color: var(--text);
  text-rendering: optimizeLegibility;
  transition:
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

html.theme-loading *,
html.theme-loading *::before,
html.theme-loading *::after {
  transition: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select {
  font: inherit;
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transform: translateY(-140%);
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  outline: none;
  box-shadow: 0 0 0 4px var(--ring), var(--shadow-sm);
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.container--wide {
  width: min(var(--container-wide), calc(100% - 2rem));
}

.icon {
  width: 18px;
  height: 18px;
  stroke-width: 1.6;
}

.accent {
  color: var(--accent-2);
}

.anchor-target {
  height: 1px;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: var(--header-bg);
  transition:
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.site-header.is-sticky {
  background: var(--header-bg);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
  backdrop-filter: saturate(180%) blur(14px);
}

.header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand__logo {
  width: 226px;
  height: 40px;
  overflow: hidden;
  position: relative;
}

html[data-theme="light"] .brand__logo {
  background: none;
}

.brand__logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity var(--dur) var(--ease);
}

.brand__logo .logo--light {
  opacity: 0;
}

html[data-theme="dark"] .brand__logo .logo--dark {
  opacity: 0;
}

html[data-theme="dark"] .brand__logo .logo--light {
  opacity: 1;
}

.brand__name {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.primary-nav {
  display: none;
  font-family: var(--font-nav);
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: saturate(180%) blur(14px);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-link {
  font-size: 0.95rem;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  user-select: none;
  transition:
    color var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}

html[data-theme="dark"] .nav-link {
  color: rgba(243, 241, 236, 0.82);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text);
  outline: none;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-link--summary {
  list-style: none;
}

.nav-link--summary::-webkit-details-marker {
  display: none;
}

.nav-link--summary::marker {
  content: "";
}

.nav-dropdown {
  position: relative;
}

.nav-caret {
  width: 16px;
  height: 16px;
  transition: transform var(--dur) var(--ease);
}

.nav-dropdown[open] .nav-caret {
  transform: rotate(180deg);
}

.mobile-dropdown[open] .nav-caret {
  transform: rotate(180deg);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 60;
  min-width: 240px;
  padding: 10px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  display: none;
}

.nav-dropdown[open] .nav-menu {
  display: grid;
  gap: 0.25rem;
}

.nav-menu a {
  font-family: var(--font-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--muted);
  transition:
    color var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  outline: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .nav-menu a:hover,
html[data-theme="light"] .nav-menu a:focus-visible {
  background: rgba(28, 26, 22, 0.06);
}

html[data-theme="light"] .primary-nav {
  border-color: rgba(28, 26, 22, 0.12);
  background: rgba(247, 243, 238, 0.72);
}

html[data-theme="light"] .nav-link:hover {
  background: rgba(28, 26, 22, 0.06);
}

.header__actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgb(205 167 92);
  white-space: nowrap;
  transition:
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.header-phone:hover,
.header-phone:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
  background: rgba(255, 255, 255, 0.12);
}

.header-phone__text {
  font-weight: 500;
  font-size: 0.93rem;
  color: var(--text);
  white-space: nowrap;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.icon-btn:hover,
.icon-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
  background: rgba(255, 255, 255, 0.1);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  inset: 0;
  margin: auto;
  pointer-events: none;
}

.theme-toggle {
  position: relative;
}

html[data-theme="dark"] .theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(-20deg) scale(0.9);
}

html[data-theme="dark"] .theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

html[data-theme="light"] .theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

html[data-theme="light"] .theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(20deg) scale(0.9);
}

.theme-toggle svg {
  transition:
    opacity var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.nav-toggle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(16px);
  font-family: var(--font-nav);
}

.mobile-nav__inner {
  display: grid;
  gap: 0.5rem;
  padding: 0.75rem 0 1rem;
}

.mobile-nav a {
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  transition:
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  outline: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.mobile-dropdown {
  margin: 0;
}

.mobile-dropdown summary {
  font-family: var(--font-nav);
  list-style: none;
  cursor: pointer;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition:
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.mobile-dropdown summary::-webkit-details-marker {
  display: none;
}

.mobile-dropdown summary::marker {
  content: "";
}

.mobile-dropdown[open] summary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.mobile-submenu {
  margin-top: 0.55rem;
  padding-left: 0.55rem;
  display: grid;
  gap: 0.55rem;
}

.mobile-submenu a {
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

html[data-theme="light"] .mobile-nav a {
  background: rgba(255, 255, 255, 0.65);
}

html[data-theme="light"] .mobile-nav a:hover,
html[data-theme="light"] .mobile-nav a:focus-visible {
  background: rgba(28, 26, 22, 0.06);
}

html[data-theme="light"] .mobile-dropdown[open] summary {
  background: rgba(28, 26, 22, 0.06);
}

html[data-theme="light"] .mobile-dropdown summary,
html[data-theme="light"] .mobile-submenu a {
  background: rgba(255, 255, 255, 0.65);
}

.site-header.nav-open .mobile-nav {
  display: block;
}

@media (min-width: 980px) {
  .header__inner {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 1rem;
  }
  .primary-nav {
    display: inline-flex;
  }
  .nav-toggle {
    display: none;
  }
  .header-phone {
    display: inline-flex;
  }
}

@media (max-width: 979.98px) {
  .header-cta {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #1a1309;
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  color: var(--text);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
  padding: 9px 14px;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn--block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding: 118px 0 70px;
  min-height: 86vh;
  display: grid;
  align-items: center;
  overflow: clip;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-bg.webp");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--hero-overlay-a), var(--hero-overlay-b));
}

.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 450px at 18% 20%, rgba(201, 162, 87, 0.18), transparent 60%),
    radial-gradient(900px 450px at 85% 70%, rgba(201, 162, 87, 0.12), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.65;
}

html[data-theme="light"] .hero__bg::before {
  mix-blend-mode: multiply;
  opacity: 0.35;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 1.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(243, 241, 236, 0.88);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

html[data-theme="light"] .eyebrow {
  color: rgba(28, 26, 22, 0.85);
  border-color: rgba(28, 26, 22, 0.12);
  background: rgba(247, 243, 238, 0.5);
}

.hero__title {
  margin: 18px auto 0;
  max-width: 18ch;
  font-family: "Marcellus", var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.05;
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
  color: rgba(255, 255, 255, 0.95);
}

html[data-theme="light"] .hero__title {
  color: rgba(28, 26, 22, 0.98);
}

.hero__subtitle {
  margin: 12px auto 0;
  max-width: 62ch;
  color: rgba(243, 241, 236, 0.78);
}

html[data-theme="light"] .hero__subtitle {
  color: rgba(28, 26, 22, 0.78);
}

.hero__cta {
  margin-top: 22px;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Listing detail */
.listing-hero {
  position: relative;
  padding: 140px 0 90px;
  min-height: 70vh;
  display: grid;
  align-items: center;
  overflow: clip;
}

.contact-hero {
  min-height: 50vh;
  padding: 120px 0 70px;
}

.listings-hero {
  min-height: 25vh;
  padding: 120px 0 70px;
}

.news-hero {
  min-height: 52vh;
  padding: 120px 0 70px;
}

.listing-hero__bg {
  position: absolute;
  inset: 0;
  background-image: var(--listing-hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.listing-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--hero-overlay-a), var(--hero-overlay-b));
}

.listing-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 450px at 20% 20%, rgba(201, 162, 87, 0.18), transparent 60%),
    radial-gradient(900px 450px at 85% 75%, rgba(201, 162, 87, 0.12), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.6;
}

html[data-theme="light"] .listing-hero__bg::before {
  mix-blend-mode: multiply;
  opacity: 0.35;
}

.listing-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.breadcrumb {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
  color: rgba(243, 241, 236, 0.72);
  font-size: 0.92rem;
}

.breadcrumb a {
  color: inherit;
}

html[data-theme="light"] .breadcrumb {
  color: rgba(28, 26, 22, 0.7);
}

.listing-hero__title {
  margin: 14px auto 0;
  max-width: 20ch;
  font-family: "Marcellus", var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.05;
  font-size: clamp(2rem, 4.2vw, 2.6rem);
  color: rgba(255, 255, 255, 0.95);
}

html[data-theme="light"] .listing-hero__title {
  color: rgba(28, 26, 22, 0.98);
}

.listing-hero__meta {
  margin: 12px 0 0;
  color: rgba(243, 241, 236, 0.75);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

html[data-theme="light"] .listing-hero__meta {
  color: rgba(28, 26, 22, 0.75);
}

.listing-hero__dot {
  opacity: 0.7;
}

.listing-hero__price {
  margin: 18px 0 0;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  color: var(--accent-2);
}

.listing-hero__actions {
  margin-top: 20px;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.listing-hero__note {
  margin-top: 14px;
  color: rgba(243, 241, 236, 0.65);
  font-size: 0.92rem;
}

html[data-theme="light"] .listing-hero__note {
  color: rgba(28, 26, 22, 0.65);
}

.listing-highlights {
  margin-top: -48px;
  padding: 0 0 56px;
  position: relative;
  z-index: 2;
}

.listing-highlights__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.summary-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.summary-card__value {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--accent-2);
}

.summary-card__label {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (min-width: 900px) {
  .listing-highlights__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.listing-detail {
  padding: 60px 0 90px;
}

.listing-detail__grid {
  display: grid;
  gap: 2rem;
}

.listing-gallery {
  display: grid;
  gap: 0.85rem;
}

.listing-gallery__main {
  border-radius: var(--radius-mn);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
}

.listing-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
  padding-bottom: 4px;
}

.thumb {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: transparent;
  padding: 0;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition:
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb:hover {
  transform: translateY(-2px);
}

.thumb.is-active {
  border-color: rgba(201, 162, 87, 0.65);
  box-shadow: 0 0 0 3px var(--ring);
}

@media (max-width: 720px) {
  .listing-gallery__thumbs {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

.detail-section {
  margin-top: 28px;
}

.detail-section__title {
  margin: 0 0 12px;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  letter-spacing: 0.04em;
  color: #e0bf73;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.feature-list .icon {
  color: var(--accent-2);
}

.detail-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.detail-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.detail-item span {
  color: var(--muted);
}

.map-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 18px;
  min-height: 220px;
  display: grid;
  gap: 0.75rem;
  align-content: center;
  text-align: center;
  color: var(--muted);
}

.map-card__title {
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

.map-card__text {
  margin: 0;
}

.map-card__map {
  width: 100%;
  height: 300px;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .map-card__map {
  border-color: rgba(0, 0, 0, 0.08);
}

.listing-detail__aside {
  display: grid;
  gap: 1.2rem;
}

.sidebar-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.sidebar-title {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.agent {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 14px;
}

.agent__avatar {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #1a1309;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.agent__name {
  margin: 0;
  font-weight: 600;
}

.agent__meta {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
  color: var(--muted);
}

.sidebar-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.sidebar-list strong {
  color: var(--text);
}

.contact-form {
  display: grid;
  gap: 0.75rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
}

.form-field span {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-size: 0.72rem;
}

.form-field input,
.form-field textarea {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.form-field textarea {
  resize: vertical;
}

@media (min-width: 980px) {
  .listing-detail__grid {
    grid-template-columns: 2.1fr 0.9fr;
    align-items: start;
  }
}

/* Contact page */
.contact-section {
  padding-top: 72px;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.contact-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.contact-card {
  display: grid;
  gap: 0.6rem;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.contact-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(201, 162, 87, 0.12);
  color: var(--accent-2);
}

.contact-card__title {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.contact-card__text {
  margin: 0;
  color: var(--muted);
}

.contact-card__text a {
  color: inherit;
}

.contact-map {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow-lg);
  background: var(--surface);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-note {
  margin: 20px 0 0;
  color: var(--muted);
  text-align: center;
}

@media (min-width: 960px) {
  .contact-grid {
    align-items: stretch;
  }
}

.text-block {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  color: var(--muted);
}

.text-block p {
  margin: 0;
}

.text-columns {
  margin-top: 16px;
  display: grid;
  gap: 1.5rem;
}

.text-columns p {
  margin: 0;
  color: var(--muted);
}

.text-subtitle {
  margin: 0 0 0.55rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}

.text-list {
  margin: 18px 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  display: grid;
  gap: 0.5rem;
}

@media (min-width: 900px) {
  .text-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.searchbar {
  margin: 28px auto 0;
  max-width: 1080px;
  padding: 14px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 10, 11, 0.55);
  box-shadow: var(--shadow-lg);
  backdrop-filter: saturate(160%) blur(18px);
}

html[data-theme="light"] .searchbar {
  background: rgba(247, 243, 238, 0.76);
  border-color: rgba(28, 26, 22, 0.14);
}

.searchbar__grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  align-items: end;
}

.field {
  text-align: left;
}

.field__label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 241, 236, 0.72);
  margin: 0 0 8px 10px;
}

html[data-theme="light"] .field__label {
  color: rgba(28, 26, 22, 0.68);
}

.field__control {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  transition:
    border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

html[data-theme="light"] .field__control {
  border-color: rgba(28, 26, 22, 0.14);
  background: rgba(255, 255, 255, 0.55);
}

.field__control:focus-within {
  box-shadow: 0 0 0 4px var(--ring);
  border-color: rgba(201, 162, 87, 0.55);
}

.field__input,
.field__select {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  color: #c9a257;
}

html[data-theme="light"] .field__input,
html[data-theme="light"] .field__select {
  color: rgba(28, 26, 22, 0.95);
}

.field__input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

html[data-theme="light"] .field__input::placeholder {
  color: rgba(28, 26, 22, 0.48);
}

.field__input[data-price] {
  text-align: right;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.field__select {
  appearance: none;
}

.searchbar__submit {
  width: 100%;
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.searchbar__hint {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: rgba(243, 241, 236, 0.6);
}

html[data-theme="light"] .searchbar__hint {
  color: rgba(28, 26, 22, 0.62);
}

@media (min-width: 720px) {
  .searchbar__grid {
    grid-template-columns: 1.7fr 0.95fr 0.95fr 0.75fr;
  }
  .searchbar__submit {
    width: auto;
  }
}

/* Sections */
.section {
  padding: 84px 0;
}

.section--muted {
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.06));
}

html[data-theme="dark"] .section--muted {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0));
}

.section--dark {
  background: linear-gradient(160deg, #14110e, #0c0a09);
  color: #f3f1ec;
}

.section--dark .section__kicker {
  color: var(--accent-2);
}

.section--dark .section__title {
  color: #f7f3ee;
}

.section--dark .link {
  color: rgba(243, 241, 236, 0.78);
}

.section--dark .link:hover,
.section--dark .link:focus-visible {
  color: #f7f3ee;
}

.section--dark .card {
  color: var(--text);
}

.section--new-homes,
.section--new-land {
  background: #c9a257;
  color: #1a1309;
}

.section--new-homes .section__kicker,
.section--new-land .section__kicker {
  color: rgba(26, 19, 9, 0.7);
}

.section--new-homes .section__title,
.section--new-land .section__title {
  color: #1a1309;
}

.section--new-homes .link,
.section--new-land .link {
  color: rgba(26, 19, 9, 0.78);
}

.section--new-homes .link:hover,
.section--new-homes .link:focus-visible,
.section--new-land .link:hover,
.section--new-land .link:focus-visible {
  color: #1a1309;
}

.section--new-homes .card,
.section--new-land .card {
  color: var(--text);
}

.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.section__kicker {
  margin: 0;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.78rem;
}

.section__title {
  margin: 8px 0 0;
  font-family: var(--font-heading);
  letter-spacing: 0.06em;
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
}

.link {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--muted);
  transition: color var(--dur) var(--ease);
}

.link:hover,
.link:focus-visible {
  outline: none;
  color: var(--text);
}

.link--arrow .icon {
  transition: transform var(--dur) var(--ease);
}

.link--arrow:hover .icon {
  transform: translateX(2px);
}

/* Categories */
.categories {
  display: grid;
  gap: 0.85rem;
  margin: 14px 0 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 14px 14px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  transition:
    transform var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

html[data-theme="light"] .category {
  background: rgba(255, 255, 255, 0.65);
}

.category:hover,
.category:focus-visible {
  outline: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(201, 162, 87, 0.35);
}

.category__icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 162, 87, 0.28);
  background: rgba(201, 162, 87, 0.12);
  color: var(--accent-2);
  flex: 0 0 auto;
}

.category__text {
  display: grid;
  gap: 4px;
}

.category__name {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.category__count {
  font-size: 0.9rem;
  color: var(--muted);
}

.category__count strong {
  color: var(--accent-2);
}

@media (min-width: 720px) {
  .categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .categories {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Cards */
.cards {
  display: grid;
  gap: 1.15rem;
}

.cards--listings {
  grid-template-columns: 1fr;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

html[data-theme="dark"] .card {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

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

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 700ms var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.08);
}

.badge {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(201, 162, 87, 0.14);
  border: 1px solid rgba(201, 162, 87, 0.35);
  color: var(--accent-2);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge--muted {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .badge--muted {
  border-color: rgba(28, 26, 22, 0.12);
  color: rgba(28, 26, 22, 0.82);
  background: rgba(255, 255, 255, 0.6);
}

.card__body {
  padding: 18px 18px 16px;
}

.card__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.card__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.specs {
  list-style: none;
  display: flex;
  gap: 0.85rem;
  padding: 0;
  margin: 14px 0 0;
  flex-wrap: wrap;
  color: var(--muted);
}

.specs li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  width: 100%;
}

.card__foot {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.price {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent-2);
}

@media (min-width: 980px) {
  .cards--listings {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 979.98px) {
  .cards--listings {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 80%);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .cards--listings > .card {
    scroll-snap-align: start;
  }
}

/* Listings page */
.listings-layout {
  display: grid;
  gap: 2rem;
}

.listings-sidebar {
  display: grid;
}

.filter-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 20px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}

.filter-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.filter-card__text {
  margin: 0 0 1rem;
  color: var(--muted);
}

.filter-form {
  display: grid;
  gap: 0.85rem;
}

.filter-row {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.filter-actions {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.listings-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.listings-count {
  margin: 0;
  color: var(--muted);
}

.listings-sort {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.listings-sort select {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent);
}

html[data-theme="light"] .listings-sort select {
  background: rgba(255, 255, 255, 0.6);
}

.listings-page .cards--listings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  grid-auto-flow: row;
  overflow: visible;
  scroll-snap-type: none;
  padding-bottom: 0;
}

.listings-page .cards--listings > .card {
  scroll-snap-align: unset;
}

@media (min-width: 980px) {
  .listings-layout {
    grid-template-columns: 320px 1fr;
    align-items: start;
  }
}

@media (max-width: 720px) {
  .filter-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .listings-page .cards--listings {
    grid-template-columns: 1fr;
  }
}

/* News */
.cards--news {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.news-excerpt {
  margin: 10px 0 0;
  color: var(--muted);
}

.news-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(201, 162, 87, 0.12);
  border: 1px solid rgba(201, 162, 87, 0.3);
  color: var(--accent-2);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-detail {
  display: grid;
  gap: 2rem;
}

.news-article {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 1rem;
}

.news-article figure {
  margin: 0;
}

.news-article img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.news-article h2 {
  margin: 0;
  font-size: 1.4rem;
}

.news-article h3 {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.news-article p {
  margin: 0;
  color: var(--muted);
}

.news-article ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  display: grid;
  gap: 0.4rem;
}

.news-article blockquote {
  margin: 0;
  padding: 16px 18px;
  border-radius: 16px;
  border-left: 3px solid var(--accent-2);
  background: rgba(201, 162, 87, 0.1);
  color: var(--text);
}

.news-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.news-aside {
  display: grid;
  gap: 1rem;
}

.news-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.news-links a {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
}

.news-links span {
  color: var(--text);
  font-weight: 600;
}

.news-links small {
  font-size: 0.85rem;
}

@media (max-width: 1100px) {
  .cards--news {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .cards--news {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 980px) {
  .news-detail {
    grid-template-columns: 2.1fr 0.9fr;
    align-items: start;
  }
}

/* Split highlight */
.split {
  display: grid;
  gap: 1.4rem;
  align-items: center;
}

.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 6 / 5;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__content {
  display: grid;
  align-items: center;
}

.content-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

html[data-theme="light"] .content-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.55));
}

.content-card__title {
  margin: 10px 0 0;
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.content-card__text {
  margin: 14px 0 0;
  color: var(--muted);
}

.stats {
  margin-top: 22px;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 14px 14px;
  background: rgba(255, 255, 255, 0.05);
}

html[data-theme="light"] .stat {
  background: rgba(255, 255, 255, 0.7);
}

.stat__value {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--accent-2);
  letter-spacing: 0.02em;
}

.stat__plus {
  font-size: 1.2rem;
  opacity: 0.85;
}

.stat__label {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 500;
}

.content-card__actions {
  margin-top: 24px;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (min-width: 980px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
  }
  .split__media {
    aspect-ratio: 4 / 3;
  }
  .content-card {
    padding: 34px 30px;
  }
}

/* Footer */
.footer {
  padding: 72px 0 34px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.06));
}

html[data-theme="dark"] .footer {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0));
}

.footer__grid {
  display: grid;
  gap: 1.6rem;
}

.brand--footer .brand__logo {
  width: 220px;
  height: 40px;
}

.footer__text {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 46ch;
}

.footer__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.footer__col {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 18px;
  background: rgba(255, 255, 255, 0.04);
}

html[data-theme="light"] .footer__col {
  background: rgba(255, 255, 255, 0.65);
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 0.65rem;
  color: var(--muted);
}

.footer__group {
  display: grid;
  gap: 0.55rem;
  padding-top: 0.25rem;
}

.footer__group-title {
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer__sublinks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.footer__sublinks a {
  position: relative;
  padding-left: 16px;
}

.footer__sublinks a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: rgba(201, 162, 87, 0.5);
}

.footer__links a,
.footer__links span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 4px 0;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  outline: none;
  color: var(--text);
}

.footer__muted {
  color: var(--muted);
}

.social {
  margin-top: 16px;
  display: inline-flex;
  gap: 0.6rem;
}

.footer__bottom {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer__fine {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer__fine--muted {
  opacity: 0.85;
}

@media (min-width: 980px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.05fr;
    align-items: start;
  }
}

/* Floating action buttons */
.fab {
  position: fixed;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  z-index: 70;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #1a1309;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: var(--shadow-lg);
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    filter var(--dur) var(--ease);
}

.fab:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
}

.fab:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring), var(--shadow-lg);
}

.fab--whatsapp {
  left: 18px;
}

.fab--phone {
  right: 18px;
}

.fab i {
  font-size: 22px;
  line-height: 1;
}

.fab svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

/* Global motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}
/* Pagination (Search Results) */
.pagination {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pagination__list {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.pagination__item {
  display: flex;
}

.pagination__link,
.pagination__btn {
  height: 40px;
  min-width: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;

  transition: transform var(--dur) var(--ease),
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.pagination__btn .icon,
.pagination__link .icon {
  width: 18px;
  height: 18px;
}

.pagination__link:hover,
.pagination__btn:hover {
  background: var(--surface-2);
  border-color: var(--ring);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.pagination__link:focus-visible,
.pagination__btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
  border-color: var(--accent);
}

.pagination__link.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #0b0b0c;
  box-shadow: var(--shadow-sm);
}

.pagination__btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.pagination__ellipsis {
  height: 40px;
  min-width: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.pagination__meta {
  font-size: 13px;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
}

/* Mobile: buton yazıları gizle, meta altta */
@media (max-width: 520px) {
  .pagination {
    gap: 8px;
  }

  .pagination__btn span {
    display: none;
  }

  .pagination__meta {
    width: 100%;
    text-align: center;
    order: 3;
  }
}
.video-card {
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}

[data-theme="light"] .video-card {
  border-color: rgba(0,0,0,.08);
  background: rgba(0,0,0,.02);
}

.video-card__title {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 12px 0;
  font-weight: 600;
}

.video-card__frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 14px;
  overflow: hidden;
}

.video-card__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
