:root {
  --bone: #F5F0E6;
  --bone-soft: #EFE7D6;
  --cream: #E8DEC8;
  --sand: #D9CCB0;
  --terracotta: #B4593E;
  --terracotta-deep: #8C3D24;
  --ocean: #1F3F4F;
  --ocean-mid: #2E5B6E;
  --ocean-light: #4A7589;
  --sage: #8B9A85;
  --gold: #B89968;
  --ink: #1A1714;
  --ink-soft: #3B3530;
  --muted: #7A7066;
  --success: #4A7559;
  --line: rgba(26, 23, 20, 0.12);
  --line-soft: rgba(26, 23, 20, 0.06);

  --f-display: 'Fraunces', 'Times New Roman', serif;
  --f-body: 'Outfit', system-ui, -apple-system, sans-serif;

  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 24px;

  --t-fast: 220ms cubic-bezier(.2,.7,.3,1);
  --t-med:  450ms cubic-bezier(.2,.7,.3,1);
  --t-slow: 800ms cubic-bezier(.2,.7,.3,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 980px; margin: 0 auto; padding: 0 28px; }
section { padding: 110px 0; position: relative; max-width: 100vw; overflow-x: clip; }
@media (max-width: 760px) { section { padding: 72px 0; } }

.eyebrow {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--terracotta); display: inline-block; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}
h1 { font-size: clamp(48px, 7.5vw, 104px); font-variation-settings: "opsz" 144, "SOFT" 30; }
h2 { font-size: clamp(34px, 4.6vw, 60px); font-variation-settings: "opsz" 100, "SOFT" 40; }
h3 { font-size: clamp(22px, 2.4vw, 32px); font-variation-settings: "opsz" 60; }
h4 { font-size: 18px; font-weight: 500; letter-spacing: 0.04em; }
.italic-display { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 60; color: var(--terracotta); }

p.lead { font-size: 19px; line-height: 1.6; color: var(--ink-soft); max-width: 60ch; }

/* ========= NAV ========= */
.nav {
  position: fixed; top: 0; left: 0; right: auto; z-index: 100;
  width: 100vw;
  max-width: 100vw;
  padding: 18px 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  background: rgba(245, 240, 230, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: padding var(--t-fast);
}
.nav.scrolled { padding: 12px 28px; }
.brand {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 60;
}
.brand .dot { color: var(--terracotta); }
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  justify-self: center;
}
.nav-links a { color: var(--ink-soft); transition: color var(--t-fast); }
.nav-links a:hover { color: var(--terracotta); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}
.nav-cta {
  background: var(--ink);
  color: var(--bone);
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background var(--t-fast), transform var(--t-fast);
}
.nav-cta:hover { background: var(--terracotta); transform: translateY(-1px); }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bone-soft);
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.nav-menu {
  display: none;
}
@media (max-width: 880px) {
  .nav {
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
  }

  .nav.scrolled {
    padding: 10px 16px;
  }

  .brand {
    min-width: 0;
    font-size: 20px;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
    flex: 0 0 auto;
  }

  .nav-cta {
    padding: 10px 18px;
    font-size: 12px;
    flex: 0 0 auto;
  }

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

  .nav-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 2px;
    padding: 10px;
    background: rgba(245, 240, 230, 0.96);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    box-shadow: 0 18px 36px -24px rgba(0,0,0,0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity var(--t-fast), transform var(--t-fast);
  }

  .nav-menu a {
    padding: 12px 14px;
    color: var(--ink-soft);
    font-size: 14px;
    border-radius: var(--r-sm);
  }

  .nav-menu a:hover {
    background: var(--bone-soft);
    color: var(--terracotta);
  }

  .nav.menu-open .nav-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav.menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav.menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav.menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}
@media (max-width: 380px) {
  .nav {
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand {
    font-size: 18px;
  }

  .nav-cta {
    padding: 10px 14px;
  }
}

/* ========= HERO ========= */
.hero {
  padding: 120px 0 60px;
  position: relative;
}
.hero-image {
  position: relative;
  height: 78vh;
  min-height: 540px;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: 0 28px;
  background: linear-gradient(135deg, var(--ocean-light) 0%, var(--ocean) 60%, var(--terracotta) 100%);
  box-shadow: 0 40px 80px -30px rgba(31, 63, 79, 0.45);
  animation: fadeIn 1.2s var(--t-slow) both;
}
.hero-main-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-logo {
  height: 56px; /* Ajusta la altura de tu logo */
  width: auto;
  margin-bottom: 24px;
  display: block;
}
.hero-image::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, transparent 40%, rgba(26, 23, 20, 0.65) 100%);
}
.hero-image::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(180, 89, 62, 0.2) 0%, transparent 50%);
}
.hero-content {
  position: absolute;
  bottom: 56px; left: 56px; right: 56px;
  color: var(--bone);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  animation: fadeUp 1.1s 0.3s var(--t-slow) both;
}
.hero-content h1 { color: var(--bone); max-width: 14ch; }
.hero-content h1 .swash { font-style: italic; color: var(--cream); font-variation-settings: "opsz" 144, "SOFT" 100; }
.hero-location {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cream); opacity: 0.9; margin-bottom: 24px;
}
.hero-location::before { content: "◉"; color: var(--terracotta); font-size: 10px; }
.hero-rating {
  display: flex; flex-direction: column; gap: 8px;
  background: rgba(245, 240, 230, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(245, 240, 230, 0.2);
  padding: 20px 28px;
  border-radius: var(--r-md);
  min-width: 200px;
}
.hero-rating .stars { color: var(--gold); font-size: 14px; letter-spacing: 0.1em; }
.hero-rating .score {
  font-family: var(--f-display);
  font-size: 42px;
  font-variation-settings: "opsz" 100;
  line-height: 1;
}
.hero-rating .lbl { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; }

@media (max-width: 880px) {
  .hero-image { height: 70vh; margin: 0 16px; }
  .hero-content { left: 24px; right: 24px; bottom: 32px; flex-direction: column; align-items: flex-start; }
  .hero-rating { width: 100%; min-width: auto; }
  .hero-rating .score { font-size: 32px; }
}

/* ========= HIGHLIGHTS BAR ========= */
.highlights {
  background: var(--bone);
  padding: 56px 0;
  border-bottom: 1px solid var(--line-soft);
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  align-items: center;
  justify-items: center;
}
.highlight {
  display: flex; flex-direction: column; gap: 6px;
  align-items: center;
  text-align: center;
  width: 100%;
}
.highlight .ic {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  color: var(--terracotta);
  font-size: 18px;
  margin-bottom: 8px;
}
.highlight .val {
  font-family: var(--f-display);
  font-size: 22px;
  font-variation-settings: "opsz" 60;
  color: var(--ink);
  line-height: 1;
}
.highlight .lbl {
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
@media (max-width: 880px) {
  .highlights-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}
@media (max-width: 540px) {
  .highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
  }
}

/* ========= BUTTONS ========= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--t-fast);
  border: 1px solid transparent;
}
.btn-primary { background: var(--ink); color: var(--bone); }
.btn-primary:hover { background: var(--terracotta); transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(180,89,62,0.4); }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--bone); }
.btn .arrow { transition: transform var(--t-fast); }
.btn:hover .arrow { transform: translateX(4px); }

/* ========= EXPERIENCE ========= */
.experience { background: var(--bone); }
.experience-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.experience-text p { margin-top: 24px; color: var(--ink-soft); }
.experience-text .signature {
  margin-top: 32px;
  display: flex; align-items: center; gap: 16px;
  font-style: italic;
  color: var(--muted);
}
.experience-text .signature span { font-family: var(--f-display); font-size: 22px; color: var(--terracotta); font-variation-settings: "opsz" 60; }
.experience-visual {
  position: relative;
  height: 520px;
}
.experience-visual .ex-1, .experience-visual .ex-2 {
  position: absolute;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 20px 40px -20px rgba(31, 63, 79, 0.4);
}
.experience-visual div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.experience-visual .ex-1 {
  top: 0; right: 0; width: 70%; height: 75%;
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-deep));
}
.experience-visual .ex-2 {
  bottom: 0; left: 0; width: 55%; height: 50%;
  background: linear-gradient(135deg, var(--ocean-light), var(--ocean));
  z-index: 2;
}
@media (max-width: 880px) {
  .experience-grid { grid-template-columns: 1fr; gap: 48px; }
  .experience-visual { height: 440px; }
}

/* ========= GALLERY ========= */
.gallery-section { background: var(--bone-soft); }
.gallery-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 48px; gap: 32px; flex-wrap: wrap; }
.gallery-head h2 { max-width: 16ch; }

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 130px;
  gap: 12px;
}
.gallery div {
  border-radius: var(--r-sm);
  overflow: hidden;
  background: linear-gradient(135deg, var(--ocean-light), var(--ocean));
  transition: transform var(--t-fast);
  cursor: pointer;
}
.gallery div:hover { transform: scale(1.02); }
.gallery div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery .g1 { grid-column: span 4; grid-row: span 3; background: linear-gradient(135deg, var(--ocean-light) 0%, var(--ocean) 50%, var(--terracotta) 100%); }
.gallery .g2 { grid-column: span 2; grid-row: span 2; background: linear-gradient(135deg, var(--sand), var(--terracotta)); }
.gallery .g3 { grid-column: span 2; grid-row: span 1; background: linear-gradient(135deg, var(--gold), var(--terracotta-deep)); }
.gallery .g4 { grid-column: span 2; grid-row: span 2; background: linear-gradient(135deg, var(--sage), var(--ocean)); }
.gallery .g5 { grid-column: span 2; grid-row: span 2; background: linear-gradient(135deg, var(--cream), var(--gold)); }
.gallery .g6 { grid-column: span 2; grid-row: span 2; background: linear-gradient(135deg, var(--ocean), var(--ink)); }

@media (max-width: 880px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 100px; }
  .gallery .g1 { grid-column: span 4; grid-row: span 2; }
  .gallery .g2, .gallery .g3, .gallery .g4, .gallery .g5, .gallery .g6 { grid-column: span 2; grid-row: span 1; }
}

/* ========= AMENITIES ========= */
.amenities { background: var(--bone); }
.amenities-head { text-align: center; margin-bottom: 56px; }
.amenities-head .eyebrow { justify-content: center; }
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.amenity {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
  transition: background var(--t-fast);
}
.amenity:hover { background: var(--bone-soft); }
.amenity .a-ic {
  width: 44px; height: 44px;
  background: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--terracotta);
}
.amenity .a-title { font-family: var(--f-display); font-size: 18px; font-variation-settings: "opsz" 60; }
.amenity .a-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }
@media (max-width: 880px) {
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========= LOCATION ========= */
.location { background: var(--cream); }
.location-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.dist-list { list-style: none; margin-top: 36px; }
.dist-list li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.dist-list .place { font-weight: 500; }
.dist-list .place small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); margin-top: 2px; letter-spacing: 0.04em; }
.dist-list .time {
  font-family: var(--f-display);
  font-size: 22px;
  color: var(--terracotta);
  font-variation-settings: "opsz" 60;
  font-style: italic;
}
.map-placeholder {
  aspect-ratio: 4/3;
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
}
.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 880px) { .location-grid { grid-template-columns: 1fr; } }

/* ========= BOOKING ========= */
.booking {
  background: var(--ocean);
  color: var(--bone);
  position: relative;
  overflow: visible;
}
.booking::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 89, 62, 0.15), transparent 70%);
  pointer-events: none;
}
.booking::after {
  content: "";
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 153, 104, 0.1), transparent 70%);
  pointer-events: none;
}
.booking h2, .booking h3 { color: var(--bone); }
.booking .eyebrow { color: var(--gold); }
.booking .eyebrow::before { background: var(--gold); }
.booking-head { text-align: center; margin-bottom: 56px; position: relative; z-index: 2; }
.booking-head .eyebrow { justify-content: center; }
.booking-head h2 { margin-top: 18px; max-width: 22ch; margin-left: auto; margin-right: auto; }
.booking-head p { color: rgba(245, 240, 230, 0.7); max-width: 56ch; margin: 18px auto 0; }

.guesty-widget {
  width: 100%;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.guesty-frame {
  display: block;
  width: min(100%, 920px);
  height: 96px;
  max-height: 540px;
  border: 0;
  background: transparent;
  transition: height var(--t-med);
}

@media (max-width: 540px) {
  .booking-head { margin-bottom: 36px; }

  .guesty-frame {
    height: 360px;
    max-height: 720px;
  }
}

/* ========= CTA STRIP ========= */
.cta-strip {
  background: var(--ink);
  color: var(--bone);
  padding: 80px 0;
  text-align: center;
}
.cta-strip h2 { color: var(--bone); max-width: 22ch; margin: 0 auto; }
.cta-strip p { color: rgba(245, 240, 230, 0.7); max-width: 50ch; margin: 18px auto 32px; }

/* ========= FOOTER ========= */
.footer {
  background: var(--ink);
  color: rgba(245, 240, 230, 0.6);
  padding: 56px 0 40px;
  border-top: 1px solid rgba(245, 240, 230, 0.08);
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-grid .col h4 {
  color: var(--gold);
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-grid a:hover { color: var(--terracotta); }
.footer-grid .brand { color: var(--bone); font-size: 28px; margin-bottom: 16px; display: block; }
.footer-grid .col p { margin-bottom: 16px; max-width: 30ch; }
.footer-bottom {
  border-top: 1px solid rgba(245, 240, 230, 0.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 12px;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ========= ANIMATIONS ========= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--t-slow), transform 0.9s var(--t-slow); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Sticky book button (mobile) */
.sticky-book {
  display: none;
  position: fixed;
  bottom: 14px;
  left: 50vw;
  right: auto;
  background: var(--ink);
  color: var(--bone);
  padding: 13px 18px;
  border-radius: 999px;
  text-align: center;
  font-size: clamp(10px, 3vw, 12px);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 80;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.4);
  width: min(280px, calc(100vw - 48px));
  max-width: calc(100vw - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
  transform: translateX(-50%);
  white-space: nowrap;
  transition: transform var(--t-fast), background var(--t-fast);
}
.sticky-book:active { transform: translateX(-50%) scale(0.98); }
@media (max-width: 760px) {
  .sticky-book { display: block; }
}
@media (max-width: 380px) {
  .sticky-book {
    width: min(240px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    padding: 12px 14px;
    font-size: 10px;
  }
}
