@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;1,9..144,400;1,9..144,500&display=swap');

:root {
  --cream: #f5f1e8;
  --cream-deep: #ebe4d6;
  --sand: #e6dfd0;
  --green: #1e342b;
  --green-mid: #2a4639;
  --green-soft: #3d5a4a;
  --ink: #1a221c;
  --muted: #5f675e;
  --line: #d4cebf;
  --gold: #b08a4a;
  --white: #fffcf6;
  --header-h: 88px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-optical-sizing: auto;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

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

h1, h2, h3, p { margin-top: 0; }

h1, h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.25rem;
}

h2 em, h1 em {
  font-style: italic;
  font-weight: 400;
  color: inherit;
}

p { margin-bottom: 1.1rem; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--green);
  color: var(--cream);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}
.skip-link:focus { top: 1rem; }

/* ——— Header ——— */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 5vw, 3.5rem);
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  z-index: 60;
}

.brand-mark {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  font-weight: 600;
  color: var(--muted);
}

.brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--green);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav a {
  position: relative;
  transition: color 0.2s;
}
.nav a:hover { color: var(--green-soft); }

.nav-cta {
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--green);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.nav-cta:hover {
  background: var(--green);
  color: var(--cream);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 60;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--green);
  margin: 6px auto;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
body.nav-open .nav-toggle span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}
body.nav-open .nav-toggle span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 640px;
  height: calc(100svh - var(--header-h));
  max-height: 920px;
  color: var(--cream);
  background: var(--green);
  overflow: hidden;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image { object-position: center 55%; }

.hero-shade {
  background:
    linear-gradient(105deg, rgba(14, 28, 22, 0.82) 0%, rgba(14, 28, 22, 0.45) 42%, rgba(14, 28, 22, 0.18) 70%),
    linear-gradient(0deg, rgba(14, 28, 22, 0.72) 0%, transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(3.5rem, 10vh, 6.5rem) clamp(1.5rem, 7vw, 5rem) 8rem;
  max-width: 46rem;
}

.eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.35rem;
  color: inherit;
}

.eyebrow [lang="es"] {
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: none;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 0.85rem;
  opacity: 0.95;
}

.hero h1 {
  font-size: clamp(3.4rem, 9vw, 6.75rem);
  margin-bottom: 1.35rem;
  text-wrap: balance;
}

.hero-lead {
  max-width: 24rem;
  font-size: 1.05rem;
  color: #ebe6da;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.25s, transform 0.25s var(--ease), border-color 0.25s, color 0.25s;
}
.button:hover { transform: translateY(-2px); }

.button.light {
  background: var(--cream);
  color: var(--green);
}
.button.light:hover { background: var(--white); }

.button.dark {
  background: var(--green);
  color: var(--cream);
}
.button.dark:hover { background: var(--green-mid); }

.button.ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245, 241, 232, 0.45);
  gap: 0.75rem;
}
.button.ghost:hover {
  border-color: var(--cream);
  background: rgba(245, 241, 232, 0.08);
}

.hero-bottom {
  position: absolute;
  z-index: 2;
  bottom: 1.75rem;
  left: clamp(1.5rem, 7vw, 5rem);
  right: clamp(1.5rem, 7vw, 5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.8);
}
.hero-bottom a {
  letter-spacing: 0.1em;
  transition: color 0.2s;
}
.hero-bottom a:hover { color: var(--cream); }

/* ——— Ribbon ——— */
.ribbon {
  padding: 1.35rem clamp(1.5rem, 7vw, 5rem);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--green);
}
.ribbon span::before {
  content: '✧';
  margin-right: 0.85rem;
  color: var(--gold);
  font-weight: 400;
}

/* ——— Sections ——— */
.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) clamp(1.5rem, 7vw, 5rem);
}

.about {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 8vw, 8%);
  align-items: start;
}

.about-copy {
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.lead {
  font-size: clamp(1.25rem, 2vw, 1.45rem);
  color: var(--green);
  line-height: 1.45;
  font-weight: 500;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 2.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
  margin-top: 2rem;
}
.stats strong {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.85rem;
  color: var(--green);
  font-weight: 400;
  display: block;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.stats span {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ——— Feature ——— */
.feature {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--sand);
}
.feature-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 520px;
}
.feature-shot {
  margin: 0;
  position: relative;
  overflow: hidden;
  min-height: 520px;
}
.feature-shot img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease);
}
.feature-shot:hover img { transform: scale(1.03); }
.feature-shot figcaption {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  margin: 0;
  padding: 0.4rem 0.85rem;
  background: rgba(28, 24, 20, 0.55);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.feature-copy {
  padding: clamp(2.75rem, 6vw, 4.5rem) clamp(2rem, 10%, 5rem);
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}
.feature-copy h2 { font-size: clamp(2.4rem, 4vw, 3.75rem); }
.feature-copy > p:not(.eyebrow) {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}
.feature-copy .text-link { margin-top: 1rem; }

.text-link {
  font-size: 0.8125rem;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.35rem;
  display: inline-block;
  margin-top: 0.5rem;
  transition: opacity 0.2s;
}
.text-link:hover { opacity: 0.7; }

/* ——— Amenities ——— */
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  align-items: end;
  margin-bottom: 3rem;
}
.section-heading h2 { margin: 0; }
.section-heading > p {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 20rem;
  margin: 0;
  line-height: 1.55;
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.amenity-grid article {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  transition: border-color 0.25s;
}
.amenity-grid article:hover { border-top-color: var(--gold); }

.number {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.25;
  margin: 1.35rem 0 0.85rem;
  letter-spacing: -0.02em;
}

.amenity-grid p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
}

/* ——— Gallery ——— */
.gallery-section {
  padding-bottom: 4rem;
  background: var(--cream-deep);
}

.gallery-heading {
  padding-top: clamp(4rem, 8vw, 5.5rem);
  padding-bottom: 0;
}

.gallery {
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 0.85rem;
}

.gallery a {
  position: relative;
  overflow: hidden;
  min-width: 0;
  background: var(--sand);
  border-radius: 4px;
}
.gallery img {
  height: 100%;
  transition: transform 0.6s var(--ease);
}
.gallery a:hover img { transform: scale(1.04); }

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

.gallery span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(10, 20, 16, 0.65));
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.gallery a:hover span,
.gallery a:focus-visible span {
  opacity: 1;
  transform: translateY(0);
}

.gallery-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 1.5rem 0 0;
}

/* ——— Pricing ——— */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 8vw, 8%);
  align-items: center;
}
.pricing-intro > p:not(.eyebrow) {
  font-size: 0.95rem;
  color: var(--muted);
}

.price-card {
  background: var(--white);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px -28px rgba(30, 52, 43, 0.35);
}
.price-card .eyebrow { color: var(--muted); }

.price-card .price {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 3.25rem) !important;
  color: var(--green) !important;
  line-height: 1.1;
  margin-bottom: 0.65rem;
  letter-spacing: -0.03em;
}
.price span {
  font: 0.75rem/1 'DM Sans', system-ui, sans-serif;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--muted);
  margin-left: 0.25rem;
}

.price-sub {
  font-size: 0.75rem !important;
  color: var(--muted) !important;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.35rem;
  margin-bottom: 0;
}

.price-card ul {
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  margin: 1.35rem 0 1.75rem;
  color: var(--ink);
}
.price-card li {
  margin: 0.7rem 0;
  padding-left: 1.4rem;
  position: relative;
}
.price-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 600;
}
.price-card .button {
  width: 100%;
  justify-content: center;
  gap: 0.75rem;
}
.fine-print {
  font-size: 0.7rem !important;
  text-align: center;
  margin: 1rem 0 0;
  color: var(--muted) !important;
}

/* ——— Contact ——— */
.contact {
  text-align: center;
  background: var(--green);
  color: var(--cream);
  padding: clamp(4.5rem, 10vw, 7rem) clamp(1.5rem, 7vw, 5rem);
}
.contact .eyebrow { color: rgba(245, 241, 232, 0.7); }
.contact h2 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  margin-bottom: 1.25rem;
}
.contact > p:not(.eyebrow) {
  font-size: 1rem;
  color: #c9d2c6;
  margin-bottom: 0;
}
.contact-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  margin: 2.25rem 0 1.5rem;
}
.email-link {
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(200, 210, 195, 0.5);
  padding-bottom: 0.3rem;
  transition: border-color 0.2s, color 0.2s;
}
.email-link:hover {
  border-color: var(--cream);
  color: var(--white);
}
.contact-details {
  font-size: 0.8rem !important;
  color: rgba(201, 210, 198, 0.85) !important;
}
.contact-details a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ——— Footer ——— */
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.5rem clamp(1.25rem, 5vw, 3.5rem);
  background: var(--cream);
  border-top: 1px solid var(--line);
}
footer p,
footer .footer-tag {
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0;
  letter-spacing: 0.04em;
}
footer .brand-mark { font-size: 0.55rem; }
footer .brand-name { font-size: 1.25rem; }

/* ——— Responsive ——— */
@media (min-width: 1600px) {
  .section,
  .gallery-heading {
    padding-left: max(7%, calc((100vw - 1400px) / 2));
    padding-right: max(7%, calc((100vw - 1400px) / 2));
  }
  .gallery {
    padding-left: max(4%, calc((100vw - 1400px) / 2));
    padding-right: max(4%, calc((100vw - 1400px) / 2));
  }
}

@media (max-width: 1000px) {
  .amenity-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
  }
  .feature-copy { padding: 3.5rem 8%; }
  .pricing { gap: 5%; }
}

@media (max-width: 800px) {
  :root { --header-h: 76px; }

  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    background: var(--cream);
    font-size: 1.35rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s, visibility 0.3s;
  }
  body.nav-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-cta {
    margin-top: 0.5rem;
    font-size: 1rem;
    padding: 0.85rem 1.5rem;
  }

  .about,
  .pricing {
    grid-template-columns: 1fr;
  }

  .feature-pair {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .feature-shot,
  .feature-shot img {
    min-height: 0;
    height: 340px;
  }
  .feature-shot:hover img { transform: none; }

  .section-heading {
    display: block;
    margin-bottom: 2rem;
  }
  .section-heading > p { margin-top: 1.25rem; }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
    gap: 0.65rem;
  }
  .gallery .span-2 { grid-column: span 2; }
  .gallery span {
    opacity: 1;
    transform: none;
    font-size: 0.65rem;
    padding: 1.75rem 0.65rem 0.55rem;
  }

  .footer-tag { display: none; }
}

@media (max-width: 560px) {
  .hero {
    min-height: 580px;
    max-height: 820px;
  }
  .hero-image { object-position: 58% center; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(14, 28, 22, 0.55) 0%, rgba(14, 28, 22, 0.35) 35%, rgba(14, 28, 22, 0.78) 100%);
  }
  .hero-content { padding: 3.5rem 7% 6.5rem; }
  .hero h1 { font-size: 3.35rem; }
  .hero-lead { font-size: 0.95rem; max-width: 20rem; }
  .hero-bottom > span { display: none; }
  .hero-bottom { font-size: 0.6rem; }

  .ribbon {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1rem;
    font-size: 0.62rem;
    padding: 1.15rem 7%;
  }
  .ribbon span::before { margin-right: 0.45rem; }

  .stats { justify-content: space-between; gap: 1.25rem; }
  .stats strong { font-size: 1.5rem; }

  .amenity-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  .gallery {
    grid-auto-rows: 150px;
  }
  .gallery .tall { grid-row: span 2; }

  .contact-actions { flex-direction: column; gap: 1.25rem; }
  .contact h2 { font-size: 3rem; }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
  }

  .button { width: 100%; justify-content: center; }
  .hero-actions .button { width: auto; }
  .hero-actions { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
