:root {
  color: #101010;
  background: #f9f6f0;
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --paper: #fbf8f2;
  --paper-warm: #f7f1e8;
  --ink: #0c0c0d;
  --muted: #626362;
  --accent: #b84428;
  --accent-hover: #94331f;
  --gold: #a9783d;
  --content: 1000px;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; min-width: 320px; min-height: 100vh; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
body, button, a { font: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, figure { margin: 0; }

.site-shell { min-height: 100vh; overflow: hidden; background: var(--paper); }
.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  min-height: 120px;
  padding: 0 42px;
  display: grid;
  grid-template-columns: minmax(410px, 1fr) auto;
  align-items: center;
  gap: 24px;
  color: #fffaf3;
  background: linear-gradient(180deg, rgba(10, 8, 7, 0.42) 0%, rgba(10, 8, 7, 0) 100%);
  transition: min-height 200ms ease, padding 200ms ease, background 200ms ease, box-shadow 200ms ease;
}
.brand { width: 465px; height: 114px; display: flex; align-items: center; transition: width 200ms ease, height 200ms ease; }
.brand img {
  width: 455px;
  height: 108px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 2px rgba(255, 250, 243, 0.92)) drop-shadow(0 3px 7px rgba(10, 7, 5, 0.28));
  transition: width 200ms ease, height 200ms ease, filter 200ms ease;
}
.primary-nav { justify-self: end; display: flex; align-items: center; justify-content: flex-end; gap: 52px; font-size: 18px; font-weight: 600; }
.primary-nav a { padding: 16px 2px; border-bottom: 2px solid transparent; text-shadow: 0 2px 8px rgba(8, 6, 5, 0.72); transition: color 160ms ease, border-color 160ms ease; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--accent); border-color: var(--accent); }
.nav-contact { display: none; }
.button {
  min-height: 45px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 5px 12px rgba(116, 50, 29, 0.12);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.button:hover, .button:focus-visible { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 7px 17px rgba(116, 50, 29, 0.2); }
.button:focus-visible, .primary-nav a:focus-visible, .text-link:focus-visible, .menu-toggle:focus-visible { outline: 3px solid rgba(184, 68, 40, 0.28); outline-offset: 3px; }
.menu-toggle {
  width: fit-content;
  min-width: 0;
  min-height: 42px;
  padding: 8px 11px;
  display: none;
  align-items: center;
  justify-content: center;
  justify-self: end;
  gap: 8px;
  color: #fffaf3;
  background: rgba(10, 8, 7, 0.12);
  border: 1px solid rgba(255, 250, 243, 0.65);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.menu-icon { width: 17px; display: grid; gap: 3px; }
.menu-icon span { width: 100%; height: 1.5px; display: block; background: currentColor; border-radius: 99px; }
.menu-label { line-height: 1; }
.topbar.is-scrolled {
  position: fixed;
  min-height: 70px;
  padding-inline: 24px;
  grid-template-columns: auto 1fr;
  color: var(--ink);
  background: rgba(247, 241, 232, 0.96);
  box-shadow: 0 8px 24px rgba(40, 28, 16, 0.13);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.topbar.is-scrolled .brand { width: 190px; height: 64px; }
.topbar.is-scrolled .brand img {
  width: 185px;
  height: 59px;
  filter: drop-shadow(0 0 1px rgba(37, 25, 18, 0.82)) drop-shadow(0 2px 4px rgba(37, 25, 18, 0.15));
}
.topbar.is-scrolled .menu-toggle {
  display: none;
  color: var(--accent);
  background: transparent;
  border-color: rgba(184, 68, 40, 0.4);
}
.topbar.is-scrolled .primary-nav {
  position: static;
  width: auto;
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 44px;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
  font-size: 15px;
  font-weight: 600;
}
.topbar.is-scrolled .primary-nav.is-open { display: flex; }
.topbar.is-scrolled .primary-nav a { padding: 12px 2px; border-bottom-width: 2px; border-bottom-color: transparent; text-shadow: none; }
.topbar.is-scrolled .primary-nav .nav-contact { display: none; }
.topbar.is-scrolled .primary-nav .nav-contact:hover,
.topbar.is-scrolled .primary-nav .nav-contact:focus-visible { color: #fff; background: var(--accent-hover); }

.hero { position: relative; min-height: 560px; isolation: isolate; overflow: hidden; background: var(--paper-warm); }
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(52%, 570px);
  min-height: 560px;
  padding: 145px 62px 52px 44px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: linear-gradient(90deg, rgba(9, 8, 7, 0.9) 0%, rgba(12, 10, 8, 0.74) 68%, rgba(12, 10, 8, 0) 100%);
}
.eyebrow { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 0.28em; line-height: 1.2; text-transform: uppercase; }
.hero h1 { max-width: 355px; margin-top: 11px; color: #fffaf3; font-size: clamp(42px, 4.4vw, 52px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28); }
.hero-description { max-width: 400px; margin: 17px 0 27px; color: rgba(255, 250, 243, 0.82); font-size: 19px; line-height: 1.42; }
.hero-media { position: absolute; z-index: 1; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 55%; }
#habitaciones, #experiencias, #contacto { scroll-margin-top: 86px; }

.content-section { width: min(100%, calc(var(--content) + 88px)); margin-inline: auto; padding-inline: 44px; }
.hotel-section { padding-top: 31px; padding-bottom: 30px; }
.hotel-section,
.experiences,
.visual-pause { position: relative; isolation: isolate; }
.hotel-section::before,
.experiences::before,
.visual-pause::before {
  content: "";
  position: absolute;
  z-index: 0;
  background-repeat: no-repeat;
  filter: grayscale(1) contrast(0.78) brightness(0.62);
  opacity: 0.075;
  pointer-events: none;
}
.hotel-section::before {
  top: 10px;
  right: -70px;
  width: min(55vw, 650px);
  height: 160px;
  background-image: url("assets/aramacao-ala.png");
  background-position: right top;
  background-size: contain;
}
.experiences::before {
  top: 8px;
  left: -55px;
  width: min(43vw, 520px);
  height: 180px;
  background-image: url("assets/aramacao-cola.png");
  background-position: left top;
  background-size: contain;
  transform: rotate(-2deg);
}
.visual-pause::before {
  top: 8px;
  right: -120px;
  width: min(70vw, 820px);
  height: 210px;
  background-image: url("assets/aramacao-ala.png");
  background-position: right top;
  background-size: contain;
  opacity: 0.06;
  transform: scaleX(-1);
}
.hotel-section > *,
.experiences > *,
.visual-pause > * { position: relative; z-index: 1; }
.section-heading h2, .experiences h2 { margin-top: 6px; font-size: 39px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.hotel-grid { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 58.2%) minmax(0, 1fr); gap: 39px; align-items: center; }
.room-photo { position: relative; height: 270px; overflow: hidden; background: #090806; }
.room-slides { position: absolute; inset: 0; }
.room-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 650ms ease;
}
.room-slide:nth-child(1) { object-position: 50% 50%; }
.room-slide:nth-child(2) { object-position: 50% 58%; }
.room-slide:nth-child(3) { object-position: 50% 53%; }
.room-slide:nth-child(4) { object-position: 50% 48%; }
.room-slide.is-active { opacity: 1; }
.room-slider.is-fading .room-slide.is-active { opacity: 0; }
.room-photo figcaption {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 8px;
  padding: 3px 6px;
  color: #fff;
  background: rgba(20, 15, 10, 0.48);
  font-size: 11px;
}
.room-slider-controls {
  position: absolute;
  z-index: 4;
  left: 8px;
  bottom: 1px;
  display: flex;
  gap: 0;
}
.room-slider-dot {
  position: relative;
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.room-slider-dot::before {
  content: "";
  position: absolute;
  inset: 11px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(30, 20, 14, 0.3);
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(18, 12, 8, 0.35);
  transition: transform 180ms ease, background 180ms ease;
}
.room-slider-dot:hover::before,
.room-slider-dot.is-active::before { background: #fff; transform: scale(1.35); }
.room-slider-dot:focus-visible { outline: 3px solid rgba(255, 255, 255, 0.88); outline-offset: -5px; }
.hotel-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hotel-copy h3, .experience-card h3 { font-size: 25px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
.hotel-copy p { margin-top: 5px; color: var(--muted); font-size: 17px; line-height: 1.35; }
.compact-button { min-height: 39px; padding-inline: 25px; font-size: 14px; }

.experiences { padding-top: 31px; padding-bottom: 14px; border-top: 1px solid rgba(20, 20, 20, 0.035); }
.experiences-heading { display: grid; grid-template-columns: 61% 39%; gap: 26px; align-items: end; }
.experiences-heading > p { padding-bottom: 3px; color: var(--muted); font-size: 16px; line-height: 1.4; }
.experience-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 20px;
}
.experience-card { min-width: 0; }
.experience-card img { width: 100%; height: 190px; object-fit: cover; }
.experience-card:nth-child(1) img { object-position: 50% 53%; }
.experience-card:nth-child(2) img { object-position: 50% 50%; filter: brightness(1.08) contrast(1.12); }
.experience-card:nth-child(3) img { object-position: 50% 45%; }
.experience-card:nth-child(4) img { object-position: 50% 46%; }
.experience-card:nth-child(5) img { object-position: 50% 47%; }
.experience-card:nth-child(6) img { object-position: 50% 48%; }
.experience-card img.cano-canoas-photo { object-position: 30% center; }
.experience-card h3 { margin-top: 10px; font-size: 20px; }
.experience-card p { margin-top: 3px; color: var(--muted); font-size: 16px; line-height: 1.36; }
.text-link { display: inline-flex; gap: 6px; margin-top: 10px; color: var(--accent); font-size: 16px; font-weight: 500; }
.text-link span { transition: transform 160ms ease; }
.text-link:hover span { transform: translateX(3px); }
.modal-card { position: relative; cursor: pointer; }
.modal-card img { transition: filter 180ms ease; }
.modal-card:hover img { filter: brightness(1.08) saturate(1.04); }
.modal-card:hover .card-cta span { transform: translateX(3px); }
.modal-hitarea { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; padding: 0; background: transparent; border: 0; cursor: pointer; }
.modal-hitarea:focus-visible { outline: 3px solid rgba(184, 68, 40, 0.45); outline-offset: -3px; }

.destination-dialog {
  width: min(1000px, calc(100% - 48px));
  max-width: none;
  max-height: min(820px, calc(100vh - 48px));
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-radius: 3px;
  box-shadow: 0 30px 80px rgba(20, 13, 8, 0.32);
  overflow: auto;
}
.destination-dialog::backdrop { background: rgba(24, 17, 12, 0.7); backdrop-filter: blur(3px); }
.dialog-layout { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 56%); min-height: 560px; }
.dialog-media { min-height: 560px; overflow: hidden; }
.dialog-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.dialog-media img.cano-canoas-photo { object-position: 30% center; }
.dialog-content { position: relative; padding: 66px 54px 50px; display: flex; flex-direction: column; align-items: flex-start; }
.dialog-close {
  position: absolute;
  top: 22px;
  right: 24px;
  padding: 7px 0;
  color: var(--accent);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(184, 68, 40, 0.38);
  font-size: 14px;
  cursor: pointer;
}
.dialog-content h2 { margin-top: 8px; font-size: clamp(36px, 4vw, 50px); letter-spacing: -0.04em; line-height: 1; }
#raudal-angosturas-1-title { font-size: clamp(34px, 3.35vw, 42px); }
.dialog-lead { margin-top: 19px; color: var(--muted); font-size: 18px; line-height: 1.45; }
.dialog-details { margin: 27px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.dialog-details h3 { font-size: 19px; line-height: 1.2; }
.dialog-details p { margin-top: 7px; color: var(--muted); font-size: 15px; line-height: 1.47; }
.dialog-close:focus-visible { outline: 3px solid rgba(184, 68, 40, 0.28); outline-offset: 3px; }

.visual-pause {
  padding: 104px 44px 110px;
  text-align: center;
  background: #f6efe5;
  border-top: 1px solid rgba(87, 61, 39, 0.05);
}
.visual-pause-inner { width: min(760px, 100%); margin-inline: auto; }
.visual-pause-line {
  display: block;
  width: 54px;
  height: 2px;
  margin: 0 auto 28px;
  background: var(--accent);
}
.visual-pause h2 {
  font-size: clamp(36px, 4.2vw, 51px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.06;
}
.visual-pause p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.45;
}

.closing-cta { position: relative; min-height: 309px; isolation: isolate; overflow: hidden; }
.closing-cta > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
.closing-cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(251, 239, 219, 0.88) 0%, rgba(251, 239, 219, 0.64) 42%, rgba(36, 27, 22, 0.64) 73%, rgba(36, 27, 22, 0.82) 100%);
}
.closing-content {
  min-height: 309px;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr;
  gap: 42px;
  align-items: center;
}
.closing-content h2 { color: var(--ink); font-size: 30px; letter-spacing: -0.025em; line-height: 1.06; }
.closing-content .closing-copy > p { max-width: 410px; margin-top: 12px; color: #535451; font-size: 17px; line-height: 1.42; }

.site-footer { color: #f9f3ea; background: #241b16; }
.footer-kicker { color: #815b2c; font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.footer-logo { width: 220px; height: auto; margin-top: 12px; filter: drop-shadow(0 2px 4px rgba(20, 12, 8, 0.34)); }
.contact-links { display: grid; gap: 14px; }
.contact-invitation { max-width: 330px; }
.contact-kicker { color: #d5ab76; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.contact-invitation h3 { margin-top: 5px; color: #fffaf3; font-size: 24px; letter-spacing: -0.025em; line-height: 1.08; }
.contact-invitation > p:last-child { margin-top: 8px; color: rgba(249, 243, 234, 0.8); font-size: 15px; line-height: 1.4; }
.footer-contact { display: grid; gap: 8px; color: rgba(249, 243, 234, 0.82); font-size: 16px; font-style: normal; line-height: 1.45; }
.social-links { display: grid; gap: 8px; color: rgba(249, 243, 234, 0.82); font-size: 16px; line-height: 1.45; }
.footer-contact a { width: fit-content; padding: 11px 15px; color: #fff; background: var(--accent); border-radius: 2px; font-weight: 600; transition: background 160ms ease, transform 160ms ease; }
.footer-contact a:hover, .footer-contact a:focus-visible { background: var(--accent-hover); transform: translateY(-1px); }
.social-links a { width: fit-content; border-bottom: 1px solid rgba(213, 171, 118, 0.4); transition: color 160ms ease, border-color 160ms ease; }
.social-links a:hover, .social-links a:focus-visible { color: #fff; border-color: #d5ab76; }

@media (max-width: 920px) {
  .topbar { min-height: 108px; grid-template-columns: 1fr auto; padding-inline: 24px; gap: 14px; }
  .brand { width: min(44vw, 360px); height: 102px; }
  .brand img { width: 100%; height: 96px; }
  .menu-toggle { display: inline-flex; }
  .topbar.is-scrolled .menu-toggle { display: inline-flex; }
  .primary-nav,
  .topbar.is-scrolled .primary-nav {
    position: absolute;
    top: 102px;
    left: 18px;
    right: 18px;
    width: auto;
    padding: 12px 20px 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    color: var(--ink);
    background: rgba(251, 248, 242, 0.98);
    box-shadow: 0 18px 32px rgba(40, 28, 16, 0.16);
    font-size: 16px;
    font-weight: 500;
  }
  .primary-nav.is-open,
  .topbar.is-scrolled .primary-nav.is-open { display: flex; }
  .primary-nav a,
  .topbar.is-scrolled .primary-nav a { padding: 13px 4px; color: var(--ink); border-bottom-color: rgba(10, 10, 10, 0.09); text-shadow: none; }
  .primary-nav .nav-contact,
  .topbar.is-scrolled .primary-nav .nav-contact { margin-top: 9px; display: flex; justify-content: center; color: #fff; background: var(--accent); border-bottom: 0; }
  .primary-nav .nav-contact:hover,
  .primary-nav .nav-contact:focus-visible { color: #fff; background: var(--accent-hover); }
  .topbar.is-scrolled { min-height: 70px; padding-inline: 20px; }
  .topbar.is-scrolled .brand { width: 180px; height: 64px; }
  .topbar.is-scrolled .brand img { width: 175px; height: 58px; }
  .topbar.is-scrolled .primary-nav { top: 70px; }
  .hero-copy { width: min(61%, 540px); padding-left: 32px; }
  .hero h1 { font-size: 42px; }
  .content-section { padding-inline: 32px; }
  .experience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .topbar { min-height: 100px; padding-inline: 18px; gap: 12px; }
  .brand { width: min(70vw, 320px); height: 94px; }
  .brand img { width: 100%; height: 89px; }
  .menu-toggle { min-width: 0; }
  .primary-nav { top: 96px; }
  .topbar.is-scrolled { min-height: 66px; padding-inline: 18px; }
  .topbar.is-scrolled .brand { width: 165px; height: 60px; }
  .topbar.is-scrolled .brand img { width: 160px; height: 55px; }
  .topbar.is-scrolled .primary-nav { top: 66px; }
  .hero { min-height: 690px; }
  .hero-copy { width: 100%; min-height: 690px; padding: 330px 22px 38px; justify-content: flex-end; background: linear-gradient(180deg, rgba(9, 8, 7, 0.02) 7%, rgba(9, 8, 7, 0.68) 48%, rgba(9, 8, 7, 0.92) 68%); }
  .hero h1 { max-width: 520px; font-size: clamp(40px, 12vw, 54px); }
  .hero-description { font-size: 19px; }
  .content-section { padding-inline: 22px; }
  .hotel-section, .experiences { padding-top: 42px; padding-bottom: 42px; }
  .section-heading h2, .experiences h2 { font-size: 36px; }
  .hotel-grid, .experiences-heading { grid-template-columns: 1fr; }
  .hotel-grid { gap: 27px; }
  .room-photo { height: 310px; }
  .experiences-heading { gap: 16px; }
  .experience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .experience-card img { height: auto; aspect-ratio: 4 / 3; }
  .experience-card h3 { margin-top: 8px; font-size: 17px; line-height: 1.14; }
  .experience-card p { margin-top: 4px; font-size: 14px; line-height: 1.35; }
  .card-cta { display: none; }
  .destination-dialog { width: calc(100% - 28px); max-height: calc(100vh - 28px); }
  .dialog-layout { grid-template-columns: 1fr; }
  .dialog-media { min-height: 245px; height: 32vh; }
  .dialog-content { padding: 52px 24px 30px; }
  .dialog-close { top: 14px; right: 18px; }
  .dialog-content h2 { font-size: 38px; }
  .dialog-lead { font-size: 17px; }
  .dialog-details { grid-template-columns: 1fr; gap: 20px; }
  .hotel-section::before { top: 10px; right: -135px; width: 390px; height: 96px; }
  .experiences::before { top: 10px; left: -105px; width: 320px; height: 160px; }
  .visual-pause::before { top: 12px; right: -150px; width: 430px; height: 110px; }
  .visual-pause { padding: 78px 22px 82px; }
  .visual-pause-line { margin-bottom: 24px; }
  .visual-pause h2 { font-size: clamp(34px, 9.8vw, 43px); }
  .visual-pause p { margin-top: 17px; font-size: 18px; }
  .closing-cta, .closing-content { min-height: 639px; }
  .closing-cta > img { object-position: 62% center; }
  .closing-cta::after { background: linear-gradient(180deg, rgba(251, 239, 219, 0.88) 0%, rgba(251, 239, 219, 0.7) 36%, rgba(36, 27, 22, 0.7) 68%, rgba(36, 27, 22, 0.9) 100%); }
  .closing-content { padding-top: 48px; padding-bottom: 44px; grid-template-columns: 1fr; align-content: space-between; justify-items: center; gap: 28px; text-align: center; }
  .closing-copy, .footer-intro, .contact-links { justify-items: center; }
  .closing-copy { display: grid; }
  .footer-intro { align-self: end; display: grid; }
  .footer-logo { width: 230px; }
  .contact-links { align-self: end; }
  .footer-contact, .social-links { justify-items: center; }
}

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