:root {
  --ink: #251f19;
  --muted: #6f6458;
  --line: #e7dfd4;
  --paper: #fffaf2;
  --white: #ffffff;
  --clay: #9f503b;
  --clay-dark: #753729;
  --gold: #bc8a3a;
  --green: #1d6b50;
  --charcoal: #1b1a17;
  --shadow: 0 24px 70px rgba(37, 31, 25, 0.16);
  --radius: 8px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

body.popup-active {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 78px 0;
}

.section-anchor {
  scroll-margin-top: var(--header-height);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 0.98;
}

h1 {
  max-width: 720px;
  font-size: clamp(54px, 10vw, 108px);
}

h2 {
  font-size: clamp(36px, 6vw, 64px);
}

h3 {
  font-size: 30px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 1px;
  background: currentColor;
  content: "";
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 900;
  width: 100%;
  background: rgba(255, 250, 242, 0.92);
  border-bottom: 1px solid rgba(231, 223, 212, 0.72);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 196px;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.1;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--clay);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hamburger {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hamburger svg,
.icon-btn svg,
.footer-social svg,
.popup-close svg {
  width: 20px;
  height: 20px;
}

.mobile-panel {
  display: none;
  padding: 0 16px 18px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.mobile-panel.is-open {
  display: block;
}

.mobile-panel a {
  display: block;
  padding: 13px 4px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn svg {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

.btn-primary {
  color: var(--white);
  background: var(--clay);
  box-shadow: 0 14px 34px rgba(159, 80, 59, 0.26);
}

.btn-primary:hover {
  background: var(--clay-dark);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.08);
}

.btn-light {
  color: var(--ink);
  background: var(--white);
}

.btn-full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 116px 0 64px;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 900ms ease, transform 4200ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(31, 24, 18, 0.78), rgba(31, 24, 18, 0.38) 52%, rgba(31, 24, 18, 0.58));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 34px;
}

.hero-copy h1,
.hero-copy p,
.hero-copy .eyebrow {
  color: var(--white);
}

.hero-copy p {
  max-width: 600px;
  margin-top: 22px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-form-shell {
  align-self: end;
}

.lead-form {
  background: var(--white);
  border: 1px solid rgba(231, 223, 212, 0.86);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.compact-form {
  max-width: 410px;
  margin-left: auto;
  padding: 24px;
}

.main-form {
  padding: 24px;
}

.form-kicker {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead-form h2 {
  margin: 6px 0 18px;
  font-size: 34px;
}

label {
  display: block;
  margin-bottom: 14px;
}

label span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf9;
  color: var(--ink);
  outline: none;
}

input {
  height: 48px;
  padding: 0 14px;
}

textarea {
  min-height: 116px;
  padding: 13px 14px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(159, 80, 59, 0.12);
}

.lead-fields.is-hidden {
  display: none;
}

.lead-success-message {
  display: none;
  padding: 18px;
  color: #104b33;
  background: #e9f7ef;
  border: 1px solid #bee7cf;
  border-radius: var(--radius);
  font-weight: 800;
  text-align: center;
}

.split {
  display: grid;
  gap: 28px;
}

.split p + p {
  margin-top: 16px;
}

.fact-strip {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.fact-strip div {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.fact-strip span,
.config-card span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fact-strip strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
}

.section-head {
  max-width: 780px;
  margin-bottom: 32px;
}

.config-grid {
  display: grid;
  gap: 18px;
}

.config-card {
  min-height: 260px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(37, 31, 25, 0.08);
}

.config-card h3 {
  margin-top: 12px;
}

.config-card p {
  margin-top: 14px;
}

.text-btn {
  margin-top: 24px;
  padding: 0;
  color: var(--clay);
  background: transparent;
  border: 0;
  font-weight: 900;
}

.amenities {
  background: var(--white);
}

.amenity-grid {
  display: grid;
  gap: 16px;
}

.amenity-card {
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 20px;
  border-radius: var(--radius);
  isolation: isolate;
}

.amenity-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(22, 18, 14, 0.08), rgba(22, 18, 14, 0.78));
  content: "";
}

.amenity-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

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

.amenity-card h3 {
  color: var(--white);
  font-size: 28px;
}

.amenity-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  color: var(--white);
}

.amenity-icon svg {
  width: 100%;
  height: 100%;
}

.location-grid {
  display: grid;
  gap: 20px;
}

.map-frame {
  min-height: 420px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.advantage-grid {
  display: grid;
  gap: 14px;
}

.advantage {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.advantage h3 {
  margin-bottom: 8px;
  font-size: 28px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.filter-btn {
  min-height: 40px;
  padding: 0 16px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.filter-btn.is-active {
  color: var(--white);
  background: var(--clay);
  border-color: var(--clay);
}

.gallery-grid {
  display: grid;
  gap: 14px;
}

.gallery-item {
  height: 260px;
  overflow: hidden;
  padding: 0;
  background: var(--white);
  border: 0;
  border-radius: var(--radius);
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.brochure {
  padding: 48px 0;
  background: var(--clay-dark);
}

.brochure-inner {
  display: grid;
  align-items: center;
  gap: 22px;
}

.brochure h2,
.brochure p,
.brochure .eyebrow {
  color: var(--white);
}

.brochure p {
  max-width: 620px;
  margin-top: 10px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

summary {
  padding: 20px;
  font-weight: 900;
  cursor: pointer;
}

details p {
  padding: 0 20px 20px;
}

.final-cta {
  background: var(--white);
}

.contact-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}

.contact-grid p {
  margin-top: 18px;
}

.contact-card {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 24px;
  padding: 18px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-card strong {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card a {
  color: var(--clay);
  font-size: 22px;
  font-weight: 900;
}

.site-footer {
  padding: 52px 0 28px;
  color: rgba(255, 255, 255, 0.82);
  background: var(--charcoal);
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 14px;
}

.footer-brand h2,
.site-footer h3,
.site-footer a {
  color: var(--white);
}

.footer-brand h2 {
  font-size: 36px;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.footer-social {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.legal {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
}

.floating-actions {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.icon-btn {
  position: relative;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--white);
  background: var(--clay);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 14px 38px rgba(37, 31, 25, 0.2);
}

.icon-btn.whatsapp {
  background: #24a865;
}

.icon-btn.visit {
  background: var(--gold);
}

.icon-btn::after {
  position: absolute;
  right: 64px;
  top: 50%;
  min-width: max-content;
  padding: 7px 10px;
  color: var(--white);
  background: var(--charcoal);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(8px);
  transition: opacity 160ms ease, transform 160ms ease;
  content: attr(aria-label);
}

.icon-btn:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.popup-overlay,
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(24, 19, 15, 0.68);
}

.popup-overlay.is-open,
.lightbox.is-open {
  display: flex;
}

.lead-popup {
  position: relative;
  width: min(430px, 100%);
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.popup-image {
  height: 150px;
}

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

.popup-content {
  padding: 24px;
}

.popup-content h2 {
  margin-bottom: 16px;
  font-size: 36px;
}

.popup-close,
.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(231, 223, 212, 0.88);
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}

.lightbox img {
  max-width: min(1080px, 92vw);
  max-height: 86vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (min-width: 480px) {
  .fact-strip,
  .amenity-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .mobile-panel {
    display: none !important;
  }

  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) 410px;
  }

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

  .brochure-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.7fr 0.9fr;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 104px 0;
  }

  .fact-strip,
  .amenity-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .location-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

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

@media (min-width: 1440px) {
  .container {
    width: min(1280px, calc(100% - 56px));
  }
}

@media (max-width: 767px) {
  .header-actions .call-btn {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .compact-form {
    max-width: none;
    margin-left: 0;
  }

  .floating-actions {
    right: 12px;
    bottom: 12px;
  }

  .icon-btn::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
