﻿:root {
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-ui: "DM Sans", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 4.25rem;
  --accent: #8b7355;
  --accent-hover: #6d5a43;
  --ring: 2px solid var(--accent);
  --ring-offset: 2px;
}

[data-theme="light"] {
  --bg: #f6f4f0;
  --bg-elevated: #ffffff;
  --bg-muted: #ebe8e2;
  --text: #1a1917;
  --text-muted: #5c5a55;
  --border: rgba(26, 25, 23, 0.08);
  --shadow: 0 24px 80px rgba(26, 25, 23, 0.08);
  --shadow-sm: 0 8px 32px rgba(26, 25, 23, 0.06);
  --hero-overlay: linear-gradient(
    165deg,
    rgba(246, 244, 240, 0.15) 0%,
    rgba(26, 25, 23, 0.55) 45%,
    rgba(26, 25, 23, 0.78) 100%
  );
  --header-bg: rgba(246, 244, 240, 0.72);
  --header-bg-scrolled: rgba(246, 244, 240, 0.94);
}

[data-theme="dark"] {
  --bg: #121110;
  --bg-elevated: #1a1917;
  --bg-muted: #23221f;
  --text: #f0ebe3;
  --text-muted: #a39e94;
  --border: rgba(240, 235, 227, 0.08);
  --shadow: 0 32px 96px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 12px 40px rgba(0, 0, 0, 0.35);
  --hero-overlay: linear-gradient(
    165deg,
    rgba(18, 17, 16, 0.2) 0%,
    rgba(18, 17, 16, 0.65) 40%,
    rgba(18, 17, 16, 0.88) 100%
  );
  --header-bg: rgba(18, 17, 16, 0.55);
  --header-bg-scrolled: rgba(18, 17, 16, 0.92);
  --accent: #c4a882;
  --accent-hover: #d4b896;
}

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

html {
  scroll-behavior: smooth;
  width: 100%;
}

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

body {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  width: 100%;
  min-width: 0;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent);
}

:focus-visible {
  outline: var(--ring);
  outline-offset: var(--ring-offset);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
  z-index: 2000;
  font-size: 0.875rem;
  transition: top 0.2s var(--ease-soft);
}

.skip-link:focus {
  top: 1rem;
}

.site-header-fixed {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  min-height: var(--header-h);
  padding-top: 0;
  display: flex;
  align-items: center;
  z-index: 9999;
  background: rgba(246, 244, 240, 0.98);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header-fixed.is-scrolled {
  background: rgba(246, 244, 240, 1);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

body[data-theme="dark"] .site-header-fixed {
  background: rgba(18, 17, 16, 0.92);
  border-bottom: 1px solid rgba(240, 235, 227, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

body[data-theme="dark"] .brand,
body[data-theme="dark"] .nav__links a,
body[data-theme="dark"] .theme-toggle,
body[data-theme="dark"] .nav-toggle {
  color: #f0ebe3;
}

body[data-theme="dark"] .nav__links a {
  opacity: 0.92;
}

body[data-theme="dark"] .nav__links a:hover,
body[data-theme="dark"] .nav__links a:focus-visible {
  color: #ffffff;
  opacity: 1;
}

body[data-theme="dark"] .theme-toggle,
body[data-theme="dark"] .nav-toggle {
  border-color: rgba(240, 235, 227, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

body[data-theme="dark"] .theme-toggle:hover,
body[data-theme="dark"] .nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(240, 235, 227, 0.3);
}

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

.brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover {
  color: var(--text);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.25rem);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.25s var(--ease-soft);
}

.nav__links a:hover {
  color: var(--text);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition:
    background 0.25s var(--ease-soft),
    border-color 0.25s var(--ease-soft);
}

.theme-toggle:hover {
  background: var(--bg-muted);
  border-color: transparent;
}

.theme-toggle svg {
  width: 1.125rem;
  height: 1.125rem;
}

.theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

@media (max-width: 900px) {
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem 1.5rem;
    background: var(--header-bg-scrolled);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--border);
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.4s var(--ease-out),
      opacity 0.35s var(--ease-soft);
  }

  body[data-theme="dark"] .nav__links {
    background: rgba(18, 17, 16, 0.96);
    border-bottom-color: rgba(240, 235, 227, 0.12);
  }

  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__links li {
    border-bottom: 1px solid var(--border);
  }

  .nav__links li:last-child {
    border-bottom: 0;
  }

  .nav__links a {
    display: block;
    padding: 1rem 0;
    font-size: 0.875rem;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 1.75rem;
  border-radius: 0;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background 0.35s var(--ease-soft),
    color 0.35s var(--ease-soft),
    border-color 0.35s var(--ease-soft),
    transform 0.35s var(--ease-soft);
}

.btn:focus-visible {
  outline-offset: 4px;
}

.btn--primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.btn--primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  transform: translateY(-1px);
}

[data-theme="dark"] .btn--primary {
  color: #121110;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #f6f4f0;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.55);
}

[data-theme="light"] .hero .btn--ghost {
  color: #f6f4f0;
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn--outline:hover {
  border-color: var(--text);
  background: var(--bg-muted);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

main {
  padding-top: var(--header-h);
}

.container-base {
  width: min(100% - 2.5rem, 1120px);
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 2.5rem, 1180px);
  margin-inline: auto;
}

.section,
.property,
.property-gallery-section,
.editorial,
.trust,
.contact-cta {
  padding-block: clamp(4.5rem, 9.25vw, 8.25rem);
}

main,
.page-content {
  padding-top: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}

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

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  padding-block: clamp(3rem, 8vw, 5.5rem);
  margin-top: 0;
  padding-top: clamp(3rem, 8vw, 5.5rem);
  overflow: hidden;
  color: #f6f4f0;
}

.hero,
.hero__media,
.hero__bg,
.hero__overlay,
.hero__grain {
  transform: none !important;
  will-change: auto !important;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: 1;
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__content {
  position: relative;
  z-index: 3;
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 1.25rem;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  max-width: 14ch;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  max-width: 36rem;
  opacity: 0.92;
  margin: 0 0 2.5rem;
  line-height: 1.7;
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 3rem;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.65;
  text-decoration: none;
  color: inherit;
}

.hero__scroll:hover {
  opacity: 1;
  color: inherit;
}

.hero__scroll-line {
  width: 48px;
  height: 1px;
  background: currentColor;
}

.section-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.lead,
.gallery-lead,
.contact-cta-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 300;
  color: var(--text-muted);
  max-width: 65ch;
  margin: 0;
}

.prose-columns {
  display: grid;
  gap: 2rem 3.5rem;
  margin-top: 2rem;
}

@media (min-width: 720px) {
  .prose-columns {
    grid-template-columns: 1fr 1fr;
  }
}

.prose-columns p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.property--alt {
  background: var(--bg-muted);
}

.property-copy {
  display: grid;
  gap: 1.5rem;
  margin: 2.25rem 0 0;
}

.property .property-copy,
.property .property-tagline,
.property .spec-grid,
.property .btn-row,
.property .property-name {
  max-width: none;
}

.property-gallery-section {
  background: var(--bg-muted);
}

.property-gallery-head {
  margin-bottom: 1.5rem;
}

.property-gallery-title {
  font-size: clamp(1.4rem, 2.1vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.22;
  margin: 0.35rem 0 0;
}

.property-gallery-head .section-title {
  margin-bottom: 0.5rem;
}

.gallery-lead {
  margin: 0.5rem 0 0;
  font-size: clamp(0.9rem, 1.1vw, 0.98rem);
  line-height: 1.6;
}

.property-gallery-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: stretch;
}

.property-gallery-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  min-width: 0;
  min-height: 0;
}

.property-gallery-preview .gallery__trigger,
.gallery-card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 1rem;
  background: var(--bg-muted);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
  isolation: isolate;
  box-shadow: 0 0 0 1px var(--border);
  transition: box-shadow 0.2s var(--ease-soft);
}

.gallery-card--hero {
  min-height: 31rem;
}

.property-gallery-side .gallery__trigger,
.property-gallery-side .gallery-card:not(.gallery-card--hero) {
  min-height: 15rem;
  aspect-ratio: 1;
}

.property-gallery-preview .gallery__trigger > img,
.gallery-card > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition:
    transform 0.22s ease,
    filter 0.22s ease;
}

.property-gallery-preview .gallery__trigger:hover > img,
.property-gallery-preview .gallery__trigger:focus-visible > img,
.gallery-card:hover > img {
  transform: scale(1.02);
}

.property-gallery-preview .gallery__trigger:focus-visible,
.gallery-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 1px var(--border), 0 0 0 3px var(--bg), 0 0 0 4px var(--accent);
}

.gallery-card--more .gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.22));
  z-index: 1;
  pointer-events: none;
}

.gallery-card--more .gallery-more-meta {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  color: #fff;
  text-align: left;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.gallery-more-meta[hidden] {
  display: none;
}

.gallery-card-overlay[hidden] {
  display: none;
}

.gallery-more-meta .gallery-more-count,
.gallery-more-meta strong.gallery-more-count {
  font-size: 1.05rem;
  line-height: 1.1;
  font-weight: 600;
}

.gallery-more-meta .gallery-more-cta {
  font-size: 0.875rem;
  opacity: 0.92;
}

.property__meta-strip {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  z-index: 2;
}

.chip {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  background: rgba(18, 17, 16, 0.72);
  color: #f0ebe3;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

[data-theme="light"] .chip {
  background: rgba(246, 244, 240, 0.88);
  color: var(--text);
  border-color: var(--border);
}

.property__name,
.property-name {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.8vw, 4rem);
  font-weight: 500;
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.property__tagline,
.property-tagline {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  margin: 0;
  font-style: italic;
  font-family: var(--font-display);
}

.property .property-tagline {
  margin: 0.35rem 0 0;
}

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

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.spec-grid dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.spec-grid dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.spec-grid__full {
  grid-column: 1 / -1;
}

.property-gallery-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .property-gallery-preview {
    grid-template-columns: 1fr;
  }

  .gallery-card--hero {
    min-height: 18rem;
    aspect-ratio: 4 / 3;
  }

  .property-gallery-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .property-gallery-side .gallery__trigger,
  .property-gallery-side .gallery-card:not(.gallery-card--hero) {
    aspect-ratio: 1;
    min-height: 6.75rem;
  }

  .gallery-card--more .gallery-more-meta {
    left: 0.75rem;
    bottom: 0.75rem;
  }

  .gallery-more-meta .gallery-more-count,
  .gallery-more-meta strong.gallery-more-count {
    font-size: 0.95rem;
  }

  .gallery-more-meta .gallery-more-cta {
    font-size: 0.78rem;
  }

  .property-gallery-actions {
    justify-content: stretch;
  }

  #openFullGallery {
    width: 100%;
  }

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

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.4s var(--ease-out),
    visibility 0.4s step-end;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.4s var(--ease-out),
    visibility 0s step-start;
}

.lightboxbackdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.84);
  cursor: pointer;
  touch-action: none;
  overscroll-behavior: contain;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lightboxstage {
  position: relative;
  z-index: 2;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.75rem 4.25rem 1rem;
  overflow: hidden;
  touch-action: none;
}

.lightboxfigure {
  margin: 0;
  max-width: min(92vw, 1400px);
  max-height: min(72vh, 1000px);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.92) translateY(12px);
  opacity: 0;
  transition:
    transform 0.5s var(--ease-out),
    opacity 0.45s var(--ease-out);
  overflow: hidden;
  touch-action: none;
}

.lightbox.is-open .lightboxfigure {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.lightboximg {
  display: block;
  max-width: 100%;
  max-height: min(72vh, 1000px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  will-change: transform;
  transition:
    transform 0.18s ease,
    opacity 0.2s var(--ease-soft);
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
}

.lightboximg.is-switching {
  opacity: 0.55;
}

.lightboximg.is-interacting {
  transition: none;
}

.lightboxnav,
.lightboxclose,
.lightboxcounter {
  position: absolute;
  z-index: 4;
}

.lightboxnav,
.lightboxclose {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(15, 15, 15, 0.72);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  transition:
    background 0.25s var(--ease-soft),
    transform 0.25s var(--ease-out),
    opacity 0.25s var(--ease-soft);
}

.lightboxnav:hover:not(:disabled),
.lightboxclose:hover {
  background: rgba(15, 15, 15, 0.88);
}

.lightboxnav svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.25;
}

.lightboxnav:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.lightboxnav--prev {
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightboxnav--next {
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightboxnav--prev:hover:not(:disabled),
.lightboxnav--next:hover:not(:disabled) {
  transform: translateY(-50%) scale(1.06);
}

.lightboxclose {
  top: 0.75rem;
  right: 0.75rem;
  font-size: 1.5rem;
  line-height: 1;
}

.lightboxcounter {
  top: 0.9rem;
  left: 0.9rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 15, 15, 0.72);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.lightboxthumbs {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.75rem 0.75rem 1rem;
  scrollbar-width: thin;
  background: linear-gradient(to top, rgba(8, 8, 8, 0.9), rgba(8, 8, 8, 0.35));
  -webkit-overflow-scrolling: touch;
}

.lightboxthumb {
  flex: 0 0 auto;
  width: 64px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  opacity: 0.72;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

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

.lightboxthumb.is-active {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.75);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .lightboxstage {
    padding: 3.5rem 3.25rem 0.75rem;
  }

  .lightboxthumbs {
    max-height: 60px;
    padding: 0.5rem 0.5rem 0.75rem;
  }

  .lightboxthumb {
    width: 56px;
    height: 42px;
  }

  .lightboxnav,
  .lightboxclose {
    width: 2.75rem;
    height: 2.75rem;
    background: rgba(10, 10, 10, 0.82);
  }

  .lightboxnav--prev {
    left: 0.5rem;
  }

  .lightboxnav--next {
    right: 0.5rem;
  }

  .lightboxclose {
    top: 0.5rem;
    right: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox,
  .lightbox.is-open,
  .lightboxfigure,
  .lightbox.is-open .lightboxfigure {
    transition-duration: 0.01ms !important;
  }

  .lightboxfigure,
  .lightbox.is-open .lightboxfigure {
    transform: none;
  }
}

.editorial {
  background: var(--bg-muted);
  border-block: 1px solid var(--border);
}

.editorial__head {
  margin-bottom: 1.5rem;
}

.editorial__rail {
  display: grid;
  gap: 0;
}

@media (min-width: 880px) {
  .editorial__rail {
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr) 1px minmax(0, 1fr) 1px minmax(0, 1fr);
    align-items: stretch;
  }
}

.editorial__item {
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
}

@media (min-width: 880px) {
  .editorial__item {
    padding: 0 clamp(1.5rem, 3vw, 2.75rem);
  }

  .editorial__item:first-child {
    padding-left: 0;
  }

  .editorial__item:last-child {
    padding-right: 0;
  }
}

.editorial__divider {
  display: none;
  background: var(--border);
}

@media (min-width: 880px) {
  .editorial__divider {
    display: block;
  }
}

.editorial__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.editorial__item h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.editorial__item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  overflow-wrap: break-word;
}

.location-map-card {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-sm);
}

.location-map-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.location-map-kicker {
  margin: 0 0 0.25rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.location-map-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.location-map-embed {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--bg);
}

.location-map-embed::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(26, 25, 23, 0.04);
  pointer-events: none;
}

.location-map-embed iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

.location-map-note {
  margin: 0.875rem 0 0;
  color: var(--text-muted);
  max-width: 65ch;
  font-size: 0.9rem;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .location-map-top {
    flex-direction: column;
    align-items: stretch;
  }

  .location-map-embed iframe {
    height: 300px;
  }
}

.trust {
  background: var(--bg-muted);
}

.trust__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.trust__list li {
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.trust__list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.trust__list strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.trust__list span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-cta {
  background: var(--bg);
  box-shadow: inset 0 1px 0 var(--border);
}

.contact-cta-head {
  margin-bottom: 1.5rem;
}

.contact-cta-head .section-title {
  margin: 0.25rem 0 0.75rem;
}

.contact-cta-lead {
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.65;
}

.contact-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.contact-cta .contact-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.5rem 1.6rem 1.65rem;
  box-shadow: var(--shadow-sm);
  min-height: 100%;
}

.contact-kicker {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.6rem;
}

.contact-cta .contact-card > h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.contact-cta .contact-text {
  margin: 0 0 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-list {
  display: grid;
  gap: 0.9rem;
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
}

.contact-list__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-list a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.3;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--accent);
}

.contact-list a.contact-list__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 0.35rem;
  padding: 0.42rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
}

.contact-list a.contact-list__action:hover,
.contact-list a.contact-list__action:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border) 55%);
}

.contact-list__value {
  color: var(--text);
}

.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.contact-points span {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.2;
}

.inquiry-form {
  display: grid;
  gap: 0.9rem;
}

.inquiry-form label {
  display: grid;
  gap: 0.35rem;
}

.inquiry-form > label > span:first-of-type,
.inquiry-form .field__label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.inquiry-form input:not([type="checkbox"]):not([type="radio"]),
.inquiry-form textarea {
  width: 100%;
  font-family: var(--font-ui);
  font-size: 0.98rem;
  padding: 0.78rem 0.95rem;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  border-radius: 0.4rem;
  transition:
    border-color 0.2s var(--ease-soft),
    box-shadow 0.2s var(--ease-soft);
}

.inquiry-form input:focus-visible,
.inquiry-form textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(139, 115, 85, 0.2);
}

.inquiry-form textarea {
  min-height: 4.5rem;
  resize: vertical;
}

.consent-field {
  display: grid !important;
  grid-template-columns: 1rem 1fr;
  align-items: start;
  gap: 0.6rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text-muted);
  cursor: pointer;
}

.inquiry-form .consent-field input[type="checkbox"] {
  margin: 0.15rem 0 0;
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 0.2rem;
  background: var(--bg);
  accent-color: var(--accent);
  flex: 0 0 auto;
  box-shadow: none;
}

.consent-field a {
  color: var(--text);
}

.consent-field a:hover,
.consent-field a:focus-visible {
  color: var(--accent);
}

.inquiry-form .is-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text-muted);
  font-size: 0.7rem;
}

.form__hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0.2rem 0 0;
  line-height: 1.5;
}

.form__success {
  display: none;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  background: var(--bg-muted);
  border-radius: 0.4rem;
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: var(--text);
}

.form__success.is-visible {
  display: block;
}

.form__error {
  border-color: #c53b2f;
  background: rgba(197, 59, 47, 0.08);
}

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

@media (max-width: 768px) {
  .contact-cta-head {
    margin-bottom: 1.35rem;
  }

  .contact-cta .contact-card {
    padding: 1.4rem 1.35rem 1.5rem;
  }

  .contact-cta-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

