:root {
  --bg: #f4efe8;
  --surface: #fbf8f3;
  --surface-strong: #efe7dd;
  --card: rgba(255, 255, 255, 0.82);
  --line: rgba(44, 30, 18, 0.12);
  --text: #17120d;
  --muted: #615244;
  --accent: #aa7b3c;
  --accent-strong: #8d6126;
  --accent-soft: rgba(170, 123, 60, 0.14);
  --shadow: 0 32px 80px rgba(23, 18, 13, 0.12);
  --max: 1280px;
  --radius: 26px;
  --header-height: 88px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.88), transparent 32%),
    linear-gradient(180deg, #f8f3ed 0%, #f2ece4 58%, #f8f4ef 100%);
  line-height: 1.65;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.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;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(251, 248, 243, 0.72);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(251, 248, 243, 0.9);
  border-color: var(--line);
  box-shadow: 0 18px 40px rgba(23, 18, 13, 0.08);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(23, 18, 13, 0.12);
}

.brand span {
  font-size: 0.88rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-left: auto;
}

.menu-toggle {
  display: none;
  min-width: 56px;
  height: 52px;
  padding: 0 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  gap: 0.8rem;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 34px rgba(23, 18, 13, 0.09);
}

.menu-toggle__bars {
  display: inline-grid;
  gap: 4px;
}

.menu-toggle__bars span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.lang-switcher {
  position: relative;
}

.lang-switcher__button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  font-weight: 700;
}

.lang-switcher__button span {
  letter-spacing: 0.08em;
}

.lang-switcher__button svg {
  width: 18px;
  height: 18px;
}

.lang-switcher__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.55rem);
  min-width: 220px;
  padding: 0.5rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(251, 248, 243, 0.96);
  box-shadow: var(--shadow);
  display: none;
  z-index: 1100;
}

.lang-switcher.is-open .lang-switcher__menu {
  display: block;
}

.lang-switcher__menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  color: var(--muted);
  transition: background 0.25s ease, color 0.25s ease;
}

.lang-switcher__menu a:hover,
.lang-switcher__menu a:focus-visible,
.lang-switcher__menu a.is-active {
  background: rgba(170, 123, 60, 0.12);
  color: var(--text);
}

.lang-switcher__menu small {
  color: inherit;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 52px;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--text), #2b2118);
  box-shadow: 0 18px 40px rgba(23, 18, 13, 0.18);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.66);
  border-color: var(--line);
}

.button-ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--accent-strong);
}

.eyebrow::before {
  content: "";
  width: 2.6rem;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
}

.section {
  padding: 6rem 0;
}

.section-tight {
  padding: 4.5rem 0;
}

.section-header {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.6rem;
}

.section-header h2,
.section-header h3,
.hero h1,
.property-hero h1,
.display-title,
.contact-panel h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.section-header h2 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.section-header h2,
.property-section h2,
.property-hero h1,
.offer-body h3,
.portrait-card h3,
.related-card h3,
.info-card h3,
.contact-panel h2,
.property-sidebar h3 {
  color: var(--text);
  text-shadow: 0 0 0 currentColor;
}

.section-header p,
.hero p,
.lead,
.muted {
  color: var(--muted);
}

.hero {
  position: relative;
  padding: 2rem 0 5rem;
}

.hero-frame {
  position: relative;
  min-height: calc(100svh - var(--header-height) - 1rem);
  overflow: clip;
  border-radius: clamp(24px, 4vw, 40px);
  background: #1c1814;
  color: #fff;
  box-shadow: var(--shadow);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(290px, 0.98fr);
  min-height: inherit;
}

.hero-grid--cover {
  grid-template-columns: 1fr;
}

.hero-copy {
  padding: clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.5rem;
}

.hero-copy h1 {
  font-size: clamp(2.9rem, 6.4vw, 5.6rem);
  max-width: 11ch;
}

.hero-copy p {
  max-width: 38rem;
  font-size: clamp(1rem, 2vw, 1.22rem);
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.5rem;
}

.hero-visual {
  position: relative;
  min-height: 28rem;
}

.hero-grid--cover .hero-visual {
  position: absolute;
  inset: 0;
  min-height: 100%;
}

.hero-grid--cover .hero-copy {
  position: relative;
  z-index: 3;
  min-height: inherit;
  max-width: 46rem;
  padding: clamp(2rem, 5vw, 4.4rem);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 19, 16, 0.06), rgba(22, 19, 16, 0.72)),
    linear-gradient(110deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0));
  z-index: 2;
}

.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.1s ease;
}

.hero-frame:hover .hero-visual img {
  transform: scale(1.08);
}

.floating-card,
.floating-stat {
  position: absolute;
  z-index: 3;
  backdrop-filter: blur(18px);
  background: rgba(18, 15, 13, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.16);
}

.floating-card {
  right: clamp(1rem, 3vw, 2.2rem);
  top: clamp(1rem, 3vw, 2.2rem);
  width: min(22rem, calc(100% - 2rem));
  border-radius: 24px;
  overflow: hidden;
}

.floating-card img {
  height: 11rem;
  width: 100%;
  object-fit: cover;
}

.floating-card__body {
  padding: 1rem 1.1rem 1.2rem;
}

.floating-card__body strong {
  display: block;
  font-size: 1.05rem;
}

.floating-card__body span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
}

.floating-stat {
  left: clamp(1rem, 3vw, 2.4rem);
  bottom: clamp(1rem, 3vw, 2.2rem);
  border-radius: 999px;
  padding: 0.9rem 1.1rem;
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.floating-stat strong {
  display: block;
}

.floating-stat span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.hero-stat-card {
  padding: 1rem 1.05rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.hero-stat-card strong {
  display: block;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1;
}

.hero-stat-card span {
  display: block;
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.82rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
}

.offer-grid,
.owners-grid,
.contact-grid,
.property-layout,
.details-grid,
.split-grid,
.related-grid {
  display: grid;
  gap: 1.5rem;
}

.service-list {
  display: grid;
  gap: 1rem;
}

.service-strip {
  position: relative;
  overflow: hidden;
  padding: 1.7rem 1.6rem;
  border-radius: 28px;
  border: 1px solid rgba(23, 18, 13, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(248, 243, 236, 0.78));
  box-shadow: var(--shadow);
  transition: transform 0.32s ease, border-color 0.32s ease, background 0.32s ease;
}

.service-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(170, 123, 60, 0.12), transparent 45%);
  opacity: 0;
  transition: opacity 0.32s ease;
}

.service-strip:hover,
.service-strip:focus-within {
  transform: translateY(-4px);
  border-color: rgba(170, 123, 60, 0.28);
}

.service-strip:hover::after,
.service-strip:focus-within::after {
  opacity: 1;
}

.service-strip__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 1.2rem 1.6rem;
  align-items: start;
}

.service-strip__title {
  display: grid;
  gap: 0.5rem;
}

.service-strip__title h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.96;
}

.service-strip__title span {
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-weight: 800;
}

.service-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.offer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.offer-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(23, 18, 13, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(251, 248, 243, 0.86));
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.offer-card:hover,
.offer-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 36px 90px rgba(23, 18, 13, 0.17);
}

.offer-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.offer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.offer-card:hover .offer-media img {
  transform: scale(1.05);
}

.offer-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  background: linear-gradient(180deg, transparent, rgba(20, 16, 12, 0.78));
}

.offer-overlay .chip {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
}

.offer-body {
  padding: 1.4rem;
  display: grid;
  gap: 1rem;
}

.offer-body h3,
.portrait-card h3,
.related-card h3,
.property-sidebar h3,
.info-card h3,
.property-section h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1;
}

.offer-body h3 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.offer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem;
  color: var(--muted);
  font-weight: 600;
}

.offer-price {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text);
}

.highlight-band {
  padding: 2rem;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(239, 231, 221, 0.62)),
    radial-gradient(circle at top right, rgba(170, 123, 60, 0.18), transparent 36%);
  border: 1px solid rgba(23, 18, 13, 0.08);
  box-shadow: var(--shadow);
}

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

.metric {
  padding: 1.15rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(23, 18, 13, 0.08);
}

.metric strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.owners-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

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

.portrait-card,
.contact-panel,
.property-sidebar,
.info-card,
.related-card,
.map-card {
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(251, 248, 243, 0.82));
  border: 1px solid rgba(23, 18, 13, 0.08);
  box-shadow: var(--shadow);
}

.portrait-card {
  overflow: hidden;
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.portrait-card__body {
  padding: 1.15rem 1.2rem 1.25rem;
}

.portrait-card__body p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(23, 18, 13, 0.08);
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
  font-weight: 700;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(10, 102, 194, 0.34);
}

.social-link svg {
  width: 1rem;
  height: 1rem;
}

.contact-panel {
  padding: 2rem;
  display: grid;
  gap: 1.4rem;
}

.contact-links {
  display: grid;
  gap: 0.9rem;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(23, 18, 13, 0.08);
  background: rgba(255, 255, 255, 0.72);
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  transform: translateX(4px);
  border-color: rgba(170, 123, 60, 0.4);
}

.contact-link small {
  display: block;
  color: var(--muted);
}

.contact-link--map {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(52, 168, 83, 0.12), rgba(66, 133, 244, 0.1)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 248, 251, 0.92));
}

.contact-link--map::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 47%, rgba(255, 255, 255, 0.34) 47% 53%, transparent 53% 100%),
    linear-gradient(transparent 0 43%, rgba(255, 255, 255, 0.24) 43% 49%, transparent 49% 100%);
  opacity: 0.7;
  pointer-events: none;
}

.contact-link__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 18, 13, 0.08);
  box-shadow: 0 10px 24px rgba(23, 18, 13, 0.08);
}

.contact-link__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.contact-link strong {
  display: block;
}

.contact-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.3rem;
  align-items: start;
}

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

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 18, 13, 0.08);
  box-shadow: 0 18px 40px rgba(23, 18, 13, 0.08);
}

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

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field span {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(23, 18, 13, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-field textarea {
  min-height: 10rem;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(170, 123, 60, 0.48);
  box-shadow: 0 0 0 4px rgba(170, 123, 60, 0.14);
  background: #fff;
}

.form-field--compact {
  max-width: 22rem;
}

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

.contact-form__status {
  min-height: 1.4rem;
  margin: 0;
  font-size: 0.94rem;
  font-weight: 600;
}

.contact-form__status.is-error {
  color: #a43f2d;
}

.contact-form__status.is-success {
  color: #246b39;
}

.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.property-hero {
  padding: 2rem 0 2.5rem;
  background:
    radial-gradient(circle at top right, rgba(170, 123, 60, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

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

.property-hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  max-width: none;
  margin-bottom: 1rem;
}

.property-hero__lead {
  max-width: 58rem;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hero-stat {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 18, 13, 0.08);
}

.hero-stat strong {
  display: block;
  font-size: 1.4rem;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.property-layout {
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.78fr);
  align-items: start;
}

.gallery-shell {
  display: grid;
  gap: 1rem;
}

.gallery-main {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #ddd;
  box-shadow: var(--shadow);
}

.gallery-main button {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 1rem 1.2rem;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(20, 16, 12, 0.82));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.gallery-thumbs button {
  padding: 0;
  border: 1px solid transparent;
  border-radius: 18px;
  overflow: hidden;
  background: none;
  box-shadow: 0 12px 30px rgba(23, 18, 13, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.gallery-thumbs button.is-active {
  border-color: rgba(170, 123, 60, 0.52);
  transform: translateY(-3px);
}

.gallery-thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.property-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
  padding: 1.6rem;
  display: grid;
  gap: 1.25rem;
}

.property-sidebar__price {
  display: grid;
  gap: 0.2rem;
}

.property-sidebar__price strong {
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.9;
}

.property-sidebar__price span {
  color: var(--muted);
}

.key-list,
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.key-list li,
.bullet-list li {
  position: relative;
  padding-left: 1rem;
}

.key-list li::before,
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--accent);
}

.split-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.details-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
  padding: 1.4rem;
}

.info-card strong {
  display: block;
  margin-bottom: 0.25rem;
}

#relocation .info-card {
  padding: 1.8rem;
  border-color: rgba(170, 123, 60, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(251, 248, 243, 0.9)),
    radial-gradient(circle at top right, rgba(170, 123, 60, 0.12), transparent 58%);
}

#relocation .eyebrow {
  font-size: 0.84rem;
  letter-spacing: 0.2em;
  font-weight: 900;
}

#relocation .eyebrow::before {
  width: 3rem;
  opacity: 0.5;
}

#relocation .info-card h3 {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}

#relocation .info-card p {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.8;
}

.map-card {
  overflow: hidden;
}

.map-card--google {
  position: relative;
}

.map-card--google::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 47%, rgba(255, 255, 255, 0.28) 47% 53%, transparent 53% 100%),
    linear-gradient(transparent 0 42%, rgba(255, 255, 255, 0.22) 42% 48%, transparent 48% 100%);
  opacity: 0.65;
  pointer-events: none;
}

.map-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.floorplan-preview {
  display: grid;
  gap: 1.2rem;
}

.floorplan-preview button {
  padding: 0;
  border: 0;
  background: none;
}

.floorplan-preview img {
  width: 100%;
  border-radius: 26px;
  border: 1px solid rgba(23, 18, 13, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  object-fit: contain;
}

.map-card__body {
  padding: 1.3rem 1.4rem 1.6rem;
  display: grid;
  gap: 0.8rem;
}

.map-link-strong {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.map-link-strong__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.map-link-strong svg {
  width: 1rem;
  height: 1rem;
}

.related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.related-card {
  overflow: hidden;
}

.related-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.related-card__body {
  padding: 1.2rem 1.25rem 1.35rem;
}

.faq-grid {
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  padding: 1.2rem 1.25rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(23, 18, 13, 0.08);
}

.faq-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
}

.footer {
  padding: 2rem 0 4rem;
  color: var(--muted);
}

.footer a {
  text-decoration: underline;
  text-underline-offset: 0.16em;
  text-decoration-thickness: 1px;
}

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

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(7, 5, 4, 0.92);
  z-index: 1200;
}

.lightbox.is-open {
  display: grid;
}

.lightbox-dialog {
  position: relative;
  width: min(1100px, 100%);
  display: grid;
  gap: 0.8rem;
}

.lightbox-figure {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
}

.lightbox-figure img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
}

.lightbox-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #fff;
}

.lightbox-controls {
  display: flex;
  gap: 0.7rem;
}

.lightbox-controls button,
.lightbox-close {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .owners-grid,
  .property-layout,
  .split-grid,
  .contact-form-layout {
    grid-template-columns: 1fr;
  }

  .hero-stats,
  .metrics,
  .hero-stat-grid,
  .details-grid,
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offer-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .service-strip__content {
    grid-template-columns: 1fr;
  }

  .property-sidebar {
    position: static;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: fixed;
    right: 1rem;
    left: auto;
    top: calc(var(--header-height) - 0.15rem);
    width: min(320px, calc(100% - 1.5rem));
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.8rem;
    border-radius: 24px;
    background: rgba(251, 248, 243, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.28s ease, transform 0.28s ease;
  }

  body.menu-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a,
  .nav-links .button {
    width: 100%;
    justify-content: center;
    padding: 0.95rem 1rem;
    border-radius: 18px;
  }

  .header-actions .button-primary {
    display: none;
  }

  .lang-switcher__menu {
    right: 0;
    left: auto;
    min-width: 210px;
  }

  .hero {
    padding-top: 1rem;
  }

  .hero-frame {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-grid--cover .hero-copy {
    max-width: none;
  }

  .hero-visual {
    min-height: 23rem;
    order: -1;
  }

  .floating-card {
    right: 0.8rem;
    top: 0.8rem;
  }

  .floating-stat {
    left: 0.8rem;
    bottom: 0.8rem;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 76px;
  }

  .section {
    padding: 4.2rem 0;
  }

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

  .brand span {
    display: none;
  }

  .hero-copy {
    padding: 1.25rem;
  }

  .hero-copy h1,
  .property-hero h1 {
    font-size: clamp(2.5rem, 12vw, 4.4rem);
  }

  .hero-stats,
  .metrics,
  .hero-stat-grid,
  .details-grid,
  .gallery-thumbs,
  .owners-stack,
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .offer-body,
  .contact-panel,
  .property-sidebar,
  .contact-form {
    padding: 1.2rem;
  }

  .floating-card {
    display: none;
  }

  .floating-stat {
    right: 0.8rem;
    left: 0.8rem;
    justify-content: center;
  }

  .hero-actions,
  .hero-actions {
    width: 100%;
  }

  .header-actions {
    justify-content: flex-end;
    width: auto;
    gap: 0.55rem;
  }

  .lang-switcher__button,
  .menu-toggle {
    min-height: 48px;
    height: 48px;
    padding: 0 0.9rem;
    border-radius: 16px;
  }

  .lang-switcher__button span,
  .menu-toggle > span:last-child {
    font-size: 0.8rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
  }
}

html[dir="rtl"] body {
  direction: rtl;
}

html[dir="rtl"] .lang-switcher__menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .nav-links {
  right: auto;
  left: 1rem;
}
