:root {
  --ink: #2f2924;
  --muted: #72685f;
  --paper: #fbf7ef;
  --soft: #efe5d7;
  --sage: #697a62;
  --clay: #b86746;
  --gold: #d5a546;
  --white: #fffdf8;
  --shadow: 0 22px 60px rgba(47, 41, 36, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(251, 247, 239, 0.94);
  box-shadow: 0 12px 36px rgba(47, 41, 36, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 30px);
  font-size: 0.94rem;
  font-weight: 650;
}

.main-nav a {
  opacity: 0.92;
}

.main-nav a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 144px clamp(20px, 5vw, 72px) 72px;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(35, 29, 24, 0.78), rgba(35, 29, 24, 0.32) 52%, rgba(35, 29, 24, 0.18)),
    url("https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?auto=format&fit=crop&w=1800&q=85") center / cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.final-cta .eyebrow {
  color: #f3c36a;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 8vw, 7.6rem);
  font-weight: 500;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4.5vw, 4.2rem);
  font-weight: 500;
}

h3 {
  font-size: 1.2rem;
}

.hero-copy {
  width: min(610px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 253, 248, 0.9);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--sage);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 253, 248, 0.75);
}

.section {
  padding: 88px clamp(20px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(240px, 0.7fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 36px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -16px;
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

@media (min-width: 1100px) {
  .gallery .section-heading {
    grid-template-columns: minmax(0, 0.8fr) max-content;
  }

  .gallery .section-heading p:not(.eyebrow) {
    white-space: nowrap;
  }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.product-card.image-failed::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 76% 22%, rgba(213, 165, 70, 0.34), transparent 28%),
    linear-gradient(135deg, rgba(105, 122, 98, 0.24), rgba(184, 103, 70, 0.18)),
    var(--soft);
}

.product-card img.is-hidden {
  display: none;
}

.product-card div {
  padding: 24px;
}

.product-category {
  margin: 0 0 8px;
  color: var(--clay);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-card p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
}

.benefit {
  min-height: 260px;
  padding: 34px;
  background: var(--soft);
}

.benefit span {
  display: inline-block;
  margin-bottom: 56px;
  color: var(--sage);
  font-weight: 900;
}

.benefit p {
  margin: 14px 0 0;
  color: var(--muted);
}

.promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin: 0 clamp(20px, 5vw, 72px);
  padding: clamp(32px, 5vw, 58px);
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(47, 41, 36, 0.88), rgba(47, 41, 36, 0.62)),
    url("https://images.unsplash.com/photo-1600210491892-03d54c0aaf87?auto=format&fit=crop&w=1400&q=80") center / cover;
}

.promo h2 {
  max-width: 740px;
}

.promo p:not(.eyebrow) {
  max-width: 660px;
  margin: 16px 0 0;
  color: rgba(255, 253, 248, 0.86);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr;
  grid-auto-rows: 230px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

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

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

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(47, 41, 36, 0.75) 0%, transparent 40%);
  opacity: 0.8;
  transition: opacity 0.4s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-title {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.gallery-grid .wide {
  grid-column: span 2;
}

.gallery-grid .tall {
  grid-row: span 2;
}

.location {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.8fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  background: var(--white);
}

.location p:not(.eyebrow) {
  max-width: 620px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.text-link {
  display: inline-flex;
  color: var(--sage);
  font-weight: 850;
  border-bottom: 2px solid currentColor;
}

.map-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: 0 10px 24px rgba(47, 41, 36, 0.24);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  filter: saturate(0.84) contrast(0.96);
}

.final-cta {
  padding: 100px clamp(20px, 5vw, 72px);
  text-align: center;
  color: var(--white);
  background: var(--sage);
}

.final-cta h2,
.final-cta p {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta p:not(.eyebrow) {
  color: rgba(255, 253, 248, 0.84);
  font-size: 1.08rem;
}

.final-cta .button {
  margin-top: 16px;
  color: var(--ink);
  background: var(--gold);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: var(--paper);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.whatsapp-float {
  position: fixed;
  z-index: 20;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--sage);
  box-shadow: 0 14px 34px rgba(105, 122, 98, 0.34);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(105, 122, 98, 0.42);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    align-items: stretch;
    padding: 18px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    color: var(--ink);
    flex-direction: column;
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: 86vh;
  }

  .section-heading,
  .product-grid,
  .benefits,
  .promo,
  .location {
    grid-template-columns: 1fr;
  }

  .section-heading .eyebrow {
    margin-bottom: -8px;
  }

  .benefits {
    gap: 12px;
  }

  .benefit {
    min-height: auto;
  }

  .benefit span {
    margin-bottom: 28px;
  }

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

  .gallery-grid .wide,
  .gallery-grid .tall {
    grid-column: span 1;
    grid-row: span 1;
  }

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

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .hero {
    min-height: 82vh;
    padding: 116px 20px 44px;
  }

  .hero-media {
    background:
      linear-gradient(0deg, rgba(35, 29, 24, 0.82), rgba(35, 29, 24, 0.25)),
      url("https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?auto=format&fit=crop&w=1000&q=85") center / cover;
  }

  h1 {
    font-size: clamp(2.85rem, 15vw, 4.2rem);
  }

  .section {
    padding: 64px 20px;
  }

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

  .promo {
    margin: 0 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .map-card {
    min-height: 300px;
  }

  .map-card iframe {
    min-height: 300px;
  }

  .whatsapp-float {
    right: 18px;
    bottom: 18px;
  }
}
