/* ============================================================
   Marbella Country Club — Landing page
   Palette: warm white, sand, terracotta, deep blue, charcoal
   ============================================================ */

:root {
  --color-bg: #fafaf7;
  --color-bg-alt: #f3eee4;
  --color-sand: #e8dcc4;
  --color-sand-dark: #c9b893;
  --color-accent: #b85e3a;
  --color-accent-dark: #8d3f24;
  --color-deep: #1a2b4a;
  --color-deep-dark: #0f1c34;
  --color-text: #2a2a2a;
  --color-text-soft: #5b5b5b;
  --color-text-muted: #8a8a8a;
  --color-line: #e6e1d6;

  --font-serif: "Playfair Display", "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1200px;
  --radius: 4px;
  --radius-lg: 10px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.18);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
}

ul, ol { list-style: none; }

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

/* Typography helpers */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  color: var(--color-deep);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.section-title--light { color: #fff; }

.section-lead {
  font-size: 18px;
  color: var(--color-text-soft);
  max-width: 720px;
  margin-bottom: 40px;
}
.section-lead--light { color: rgba(255, 255, 255, 0.85); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}
.btn--primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn--large { padding: 18px 40px; font-size: 16px; }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.nav.is-scrolled {
  background: rgba(250, 250, 247, 0.96);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  transition: color var(--transition);
}
.nav.is-scrolled .nav__brand { color: var(--color-deep); }

.nav__brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav__brand-text {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__menu a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  transition: color var(--transition);
}
.nav__menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1.5px;
  background: currentColor;
  transition: width var(--transition);
}
.nav__menu a:hover::after { width: 100%; }

.nav.is-scrolled .nav__menu a { color: var(--color-text); }

.nav__cta {
  padding: 10px 22px;
  background: var(--color-accent);
  color: #fff !important;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--color-accent-dark); }

/* Language switcher (flag dropdown) */
.lang-switcher {
  position: relative;
}

.lang-switcher__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px 9px 10px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all var(--transition);
  cursor: pointer;
  background: transparent;
}
.lang-switcher__button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
}
.nav.is-scrolled .lang-switcher__button {
  color: var(--color-text);
  border-color: var(--color-line);
}
.nav.is-scrolled .lang-switcher__button:hover {
  background: var(--color-bg-alt);
  border-color: var(--color-sand-dark);
}

.lang-switcher__flag {
  display: inline-block;
  width: 22px;
  height: 16px;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.lang-switcher__code {
  font-variant-numeric: tabular-nums;
}

.lang-switcher__chevron {
  width: 12px;
  height: 12px;
  margin-left: 2px;
  transition: transform var(--transition);
}
.lang-switcher.is-open .lang-switcher__chevron {
  transform: rotate(180deg);
}

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  max-height: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  list-style: none;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), max-height var(--transition);
  z-index: 200;
}
.lang-switcher.is-open .lang-switcher__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  max-height: 500px;
  padding: 6px 0;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  color: var(--color-text);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.lang-option:hover {
  background: var(--color-bg-alt);
}
.lang-option.is-active {
  color: var(--color-accent);
  background: rgba(184, 94, 58, 0.06);
}

.lang-option .fi {
  width: 24px;
  height: 18px;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.lang-option__label {
  flex: 1;
  font-weight: 500;
  white-space: nowrap;
}

.lang-option__code {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}
.lang-option.is-active .lang-option__code { color: var(--color-accent); }

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px 8px;
  margin-right: -8px;
  border-radius: 8px;
  transition: background var(--transition);
}
.nav__toggle:hover { background: rgba(255, 255, 255, 0.1); }
.nav.is-scrolled .nav__toggle:hover { background: var(--color-bg-alt); }
.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: all var(--transition);
}
.nav.is-scrolled .nav__toggle span { background: var(--color-deep); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

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

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 28, 52, 0.55) 0%, rgba(15, 28, 52, 0.35) 40%, rgba(15, 28, 52, 0.65) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 120px 24px 80px;
  max-width: 900px;
  animation: fadeUp 1s ease-out 0.2s both;
}

.hero__location {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding: 10px 24px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
  max-width: 640px;
  margin: 0 auto 40px;
}

.hero__price {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  padding: 24px 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
}

.hero__price-badge {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 30px;
}

.hero__price-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__price-old {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 26px);
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.hero__price-new {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 50px);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}

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

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 30px;
  height: 50px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 30px;
  display: flex;
  justify-content: center;
}
.hero__scroll span {
  display: block;
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  margin-top: 8px;
  animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
  0%   { transform: translateY(0); opacity: 1; }
  60%  { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Reduced motion: hide video, fall back to poster */
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
  .hero__media {
    background-image: var(--hero-fallback, url('../video/villa-poster.webp'));
    background-size: cover;
    background-position: center;
  }
  .hero__scroll span { animation: none; }
}

/* ============================================================
   Highlights strip
   ============================================================ */
.highlights {
  background: var(--color-bg-alt);
  padding: 56px 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.highlights__list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  text-align: center;
}

.highlights__list li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 4px;
  border-right: 1px solid var(--color-line);
}
.highlights__list li:last-child { border-right: 0; }

.highlights__list strong {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  color: var(--color-deep);
  letter-spacing: -0.01em;
}

.highlights__list span {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  font-weight: 500;
}

/* ============================================================
   About
   ============================================================ */
.about { padding: 120px 0; }

.about__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}

.about__copy p {
  font-size: 17px;
  color: var(--color-text-soft);
  margin-bottom: 20px;
  line-height: 1.75;
}
.about__copy p:last-child { margin-bottom: 0; }

.about__quick {
  background: var(--color-bg-alt);
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  position: sticky;
  top: 100px;
}

.about__quick h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--color-deep);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-sand-dark);
}

.about__quick dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed var(--color-line);
}
.about__quick dl > div:last-child { border-bottom: 0; }

.about__quick dt {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
}

.about__quick dd {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--color-deep);
  font-weight: 500;
}

/* ============================================================
   Gallery
   ============================================================ */
.gallery {
  padding: 100px 0;
  background: var(--color-bg-alt);
}

.gallery .container {
  text-align: center;
  margin-bottom: 56px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
  padding: 0 24px;
  max-width: 1600px;
  margin: 0 auto;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
  background: #ddd;
  transition: transform var(--transition);
}

.gallery__item--wide  { grid-column: span 2; }
.gallery__item--tall  { grid-row: span 2; }

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover { box-shadow: var(--shadow-md); }

.gallery__item::after {
  content: '+';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  width: 56px;
  height: 56px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: all var(--transition);
}
.gallery__item:hover::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ============================================================
   Lightbox
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 20, 0.96);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px 80px;
  animation: fadeIn 0.3s ease-out;
}
.lightbox.is-open { display: flex; }

.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.2); }

.lightbox__close { top: 24px; right: 24px; font-size: 28px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 56px; height: 56px; font-size: 32px; }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

.lightbox__counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  letter-spacing: 0.08em;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================================
   Video tour
   ============================================================ */
.tour {
  padding: 100px 0 0;
  text-align: center;
}

.tour .container { margin-bottom: 56px; }

.tour__player {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.tour__player video {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: #000;
}

/* ============================================================
   Specifications
   ============================================================ */
.specs {
  padding: 120px 0;
  background: var(--color-bg-alt);
}

.specs__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.specs__price {
  margin-top: 32px;
  padding: 28px 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.specs__price .hero__price-row { gap: 14px; justify-content: flex-start; }
.specs__price .hero__price-old { color: var(--color-text-muted); }
.specs__price .hero__price-new { color: var(--color-deep); }

.specs__price-note {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.specs__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.specs__list > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--color-line);
}
.specs__list > div:nth-child(odd)  { border-right: 1px solid var(--color-line); }
.specs__list > div:nth-last-child(-n+2) { border-bottom: 0; }

.specs__list dt {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
}

.specs__list dd {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--color-deep);
  font-weight: 500;
  text-align: right;
}

/* ============================================================
   Location
   ============================================================ */
.location { padding: 120px 0; }

.location .container > .eyebrow,
.location .container > .section-title { text-align: center; }

.location .container > .section-title { margin-left: auto; margin-right: auto; }

.location__lead {
  text-align: center;
  margin: 0 auto 60px;
}

.location__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: stretch;
}

.location__highlights {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.location__highlights li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
  border-bottom: 1px solid var(--color-line);
}
.location__highlights li:last-child { border-bottom: 0; }

.location__highlights strong {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--color-deep);
}

.location__highlights span {
  font-size: 13px;
  color: var(--color-text-muted);
}

.location__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 380px;
  background: var(--color-bg-alt);
}

.location__map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

/* ============================================================
   Contact
   ============================================================ */
.contact {
  padding: 120px 0;
  background:
    linear-gradient(135deg, rgba(15, 28, 52, 0.94), rgba(15, 28, 52, 0.86)),
    url('../video/villa-poster.webp') center/cover;
  color: #fff;
  text-align: center;
}

.contact .eyebrow { color: var(--color-sand); }

.contact__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 56px 0 40px;
}

.contact__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 32px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  color: #fff;
  text-align: center;
}
.contact__card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.contact__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.contact__icon svg { width: 22px; height: 22px; }

.contact__label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.contact__value {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  color: #fff;
}

.contact__primary { margin-top: 32px; }

/* --- Lead form --- */
.contact-form {
  max-width: 640px;
  margin: 56px auto 24px;
  padding: 36px 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: left;
  color: var(--color-text);
}

.contact-form__title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 24px;
  color: var(--color-text);
  text-align: center;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.contact-form__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text);
  display: flex;
  gap: 6px;
  align-items: baseline;
}

.contact-form__optional {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-muted);
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8d2c4;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--color-text);
  background: #fbf8f3;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(184, 94, 58, 0.12);
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 96px;
}

/* Honeypot — hidden but accessible to bots */
.contact-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 24px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-muted);
  cursor: pointer;
}

.contact-form__consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.contact-form__submit {
  width: 100%;
  position: relative;
}

.contact-form__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-form__submit-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-form__feedback {
  margin: 18px 0 0;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.contact-form__feedback--success {
  background: #e8f4ec;
  border: 1px solid #b6d8c1;
  color: #2c6e3f;
}

.contact-form__feedback--error {
  background: #fbeae9;
  border: 1px solid #e5b9b5;
  color: #9c2a23;
}

.contact__direct {
  margin-top: 56px;
  margin-bottom: 0;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

/* Tighten contact card grid since form is now primary CTA */
.contact .contact__cards {
  margin-top: 24px;
}

@media (max-width: 640px) {
  .contact-form {
    padding: 28px 22px;
    margin: 40px auto 16px;
  }
  .contact-form__title {
    font-size: 20px;
  }
  .contact-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--color-deep-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 40px;
  font-size: 13px;
}

.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: start;
}

.footer__inner > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__inner strong {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 4px;
}

.footer__disclaimer {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  max-width: 800px;
}

/* ============================================================
   Scroll-in animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__quick { position: static; }
  .specs__grid { grid-template-columns: 1fr; gap: 40px; }
  .location__grid { grid-template-columns: 1fr; gap: 32px; }
  .contact__cards { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
  .gallery__item--wide  { grid-column: span 2; }
  .gallery__item--tall  { grid-row: span 1; }
  .highlights__list { grid-template-columns: repeat(3, 1fr); gap: 24px 12px; }
  .highlights__list li:nth-child(3) { border-right: 0; }
}

@media (max-width: 1100px) {
  .nav__inner { padding: 0 20px; }
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(250, 250, 247, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 24px;
    gap: 18px;
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }
  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__menu a {
    color: var(--color-text);
    padding: 12px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--color-line);
  }
  .nav__menu a:last-of-type { border-bottom: 0; }
  .nav__menu a::after { display: none; }
  .lang-switcher { align-self: flex-start; }
  .lang-switcher__button { color: var(--color-text); border-color: var(--color-line); }
  .lang-switcher__menu {
    position: static;
    box-shadow: none;
    background: transparent;
    border: 1px solid var(--color-line);
    transform: none;
    max-height: none;
  }
  .lang-switcher.is-open .lang-switcher__menu { transform: none; }
  .nav__cta { text-align: center; }
}

@media (max-width: 768px) {
  .nav__brand-text { display: none; }

  .hero { min-height: 560px; }
  .hero__content { padding: 100px 20px 60px; }
  .hero__price { padding: 18px 24px; }

  .about, .gallery, .tour, .specs, .location, .contact { padding-top: 72px; padding-bottom: 72px; }
  .tour { padding-top: 72px; padding-bottom: 0; }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; gap: 8px; }
  .gallery__item--wide { grid-column: span 1; }

  .specs__list { grid-template-columns: 1fr; }
  .specs__list > div:nth-child(odd) { border-right: 0; }

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

  .footer__inner { grid-template-columns: 1fr; gap: 24px; }

  .lightbox { padding: 16px; }
  .lightbox__nav { width: 44px; height: 44px; font-size: 24px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__close { top: 12px; right: 12px; }
}

@media (max-width: 480px) {
  .highlights__list { grid-template-columns: repeat(2, 1fr); }
  .highlights__list li { border-right: 0 !important; }
  .hero__price-row { gap: 10px; }
}

/* ============================================================
   Mobile: prefer poster image over video for performance.
   On small screens video will still try to play but is optional.
   ============================================================ */
@media (max-width: 600px) {
  .hero__video { object-fit: cover; }
}
