:root {
  --navy: #071722;
  --blue: #123249;
  --sea: #1f6f78;
  --sand: #d8bf8d;
  --warm: #f3ead8;
  --paper: #fff7e7;
  --ink: #17110c;
  --muted: #655d51;
  --rum: #6d3f24;
  --line: rgba(40, 26, 15, 0.18);
  --radius: 8px;
  --shadow: 0 18px 60px rgba(11, 29, 43, 0.18);
  --display: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(216, 191, 141, 0.24), transparent 24rem),
    linear-gradient(90deg, rgba(7, 23, 34, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(7, 23, 34, 0.035) 1px, transparent 1px),
    var(--warm);
  background-size: auto, 44px 44px, 44px 44px, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  min-height: 92svh;
  color: white;
  background:
    linear-gradient(90deg, rgba(7, 23, 34, 0.92), rgba(7, 23, 34, 0.62) 42%, rgba(54, 31, 18, 0.28)),
    url("assets/gallery/fachada.webp") center / cover no-repeat,
    var(--navy);
  isolation: isolate;
  position: relative;
  overflow: hidden;
}

.site-header::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, transparent 72%, var(--warm));
  mask-image: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(216, 191, 141, 0.24);
  background: rgba(7, 23, 34, 0.88);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(216, 191, 141, 0.78);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: inset 0 0 0 5px rgba(255, 247, 231, 0.06);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  color: rgba(255, 255, 255, 0.74);
}

.menu {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
}

.menu a,
.text-link {
  text-decoration: none;
}

.menu a:hover,
.text-link:hover {
  color: var(--rum);
}

.menu a:hover {
  color: var(--sand);
}

.menu-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 420px);
  align-items: end;
  gap: 34px;
  min-height: calc(92svh - 74px);
  padding: clamp(42px, 8vw, 100px) clamp(18px, 5vw, 72px);
}

.hero-copy {
  max-width: 820px;
}

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

.hero .eyebrow {
  color: var(--sand);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: clamp(3.25rem, 8vw, 7.2rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 18px 46px rgba(7, 23, 34, 0.72);
}

h2 {
  margin-bottom: 16px;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(1.75rem, 4.4vw, 3.1rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.05rem;
}

.hero-copy p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.18rem;
}

.hero-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
  max-width: 930px;
}

.hero-routes a {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(216, 191, 141, 0.28);
  border-radius: 12px;
  color: #fff7e7;
  background: linear-gradient(180deg, rgba(7, 23, 34, 0.42), rgba(7, 23, 34, 0.2));
  box-shadow: 0 16px 36px rgba(7, 23, 34, 0.16);
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.hero-routes small,
.hero-routes strong,
.hero-routes span {
  display: block;
}

.hero-routes small {
  margin-bottom: 6px;
  color: var(--sand);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-routes strong {
  margin-bottom: 5px;
  font-family: var(--display);
  font-size: 1.2rem;
  line-height: 1.05;
}

.hero-routes span {
  color: rgba(255, 247, 231, 0.76);
  font-size: 0.9rem;
  line-height: 1.38;
}

.hero-routes a:hover {
  border-color: rgba(216, 191, 141, 0.52);
  background: rgba(7, 23, 34, 0.52);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(7, 23, 34, 0.12);
}

.button.primary {
  color: #fff7e7;
  border-color: rgba(255, 247, 231, 0.18);
  background: linear-gradient(135deg, var(--sea), #0e4b55);
}

.button.secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.09);
}

.button.ghost {
  color: #fff7e7;
  border-color: rgba(216, 191, 141, 0.42);
  background: rgba(7, 23, 34, 0.34);
}

.button.emergency {
  color: white;
  background: #9c2b24;
}

.section .button.secondary,
.travel-band .button.secondary {
  color: var(--navy);
  border-color: var(--line);
  background: white;
}

.hero-panel {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(216, 191, 141, 0.42);
  border-radius: var(--radius);
  background: rgba(7, 23, 34, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel::before {
  position: absolute;
  inset: 12px;
  pointer-events: none;
  content: "";
  border: 1px dashed rgba(216, 191, 141, 0.28);
  border-radius: 6px;
}

.hero-panel p {
  color: var(--sand);
  font-weight: 800;
}

.hero-panel strong,
.hero-panel small {
  display: block;
}

.hero-panel strong {
  margin-bottom: 4px;
  font-size: 1.35rem;
}

.hero-panel small {
  color: rgba(255, 255, 255, 0.74);
}

.route-line {
  display: block;
  width: 100%;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sand), var(--rum), var(--sea), white);
}

.hero-badge {
  display: block;
  width: min(100%, 230px);
  margin: 0 auto 22px;
  border-radius: 18px;
  filter: drop-shadow(0 16px 28px rgba(7, 23, 34, 0.42));
}

.section {
  position: relative;
  padding: clamp(54px, 8vw, 94px) clamp(18px, 5vw, 72px);
}

.app-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding-block: clamp(34px, 5vw, 54px);
  color: white;
  background:
    linear-gradient(135deg, rgba(7, 23, 34, 0.94), rgba(31, 111, 120, 0.9)),
    var(--navy);
}

.app-cta h2,
.app-cta p {
  color: white;
}

.app-cta h2 {
  margin-bottom: 8px;
}

.app-cta p:last-child {
  margin-bottom: 0;
  max-width: 680px;
  color: rgba(255, 247, 231, 0.78);
}

.quick-dock {
  position: sticky;
  top: 74px;
  z-index: 4;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px clamp(18px, 5vw, 72px);
  border-top: 1px solid rgba(216, 191, 141, 0.18);
  border-bottom: 1px solid rgba(40, 26, 15, 0.16);
  background: rgba(255, 247, 231, 0.92);
  backdrop-filter: blur(12px);
  scrollbar-width: none;
}

.quick-dock::-webkit-scrollbar {
  display: none;
}

.quick-dock a {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid rgba(109, 63, 36, 0.2);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.quick-dock a:hover {
  color: #fff7e7;
  background: var(--blue);
}

.assistant-section {
  color: #fff7e7;
  background:
    linear-gradient(135deg, rgba(7, 23, 34, 0.96), rgba(18, 50, 73, 0.78)),
    url("assets/gallery/salon.webp") center / cover no-repeat;
}

.assistant-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1.15fr);
  align-items: start;
  gap: clamp(20px, 5vw, 54px);
}

.assistant-copy h2,
.assistant-copy p {
  color: #fff7e7;
}

.assistant-card {
  padding: 18px;
  border: 1px solid rgba(216, 191, 141, 0.34);
  border-radius: 14px;
  background: rgba(7, 23, 34, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 54px rgba(7, 23, 34, 0.24);
}

.assistant-modes {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 14px;
  scrollbar-width: none;
}

.assistant-modes::-webkit-scrollbar {
  display: none;
}

.assistant-modes button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid rgba(216, 191, 141, 0.3);
  border-radius: 999px;
  color: #fff7e7;
  background: rgba(255, 247, 231, 0.08);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
}

.assistant-modes button.is-active {
  color: var(--navy);
  background: var(--sand);
}

.assistant-input {
  display: grid;
  gap: 7px;
  color: rgba(255, 247, 231, 0.86);
  font-weight: 800;
}

.assistant-input input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid rgba(216, 191, 141, 0.32);
  border-radius: var(--radius);
  color: #fff7e7;
  background: rgba(255, 247, 231, 0.08);
  font: inherit;
}

.assistant-input input::placeholder {
  color: rgba(255, 247, 231, 0.5);
}

.assistant-card > .button {
  width: 100%;
  margin-top: 12px;
}

.assistant-results {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.assistant-result {
  padding: 14px;
  border: 1px solid rgba(216, 191, 141, 0.2);
  border-radius: 10px;
  background: rgba(255, 247, 231, 0.08);
}

.assistant-result span {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--sand);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.assistant-result h3 {
  color: #fff7e7;
}

.assistant-result p {
  margin-bottom: 8px;
  color: rgba(255, 247, 231, 0.72);
}

.lodge-section {
  background:
    radial-gradient(circle at 12% 8%, rgba(216, 191, 141, 0.32), transparent 18rem),
    linear-gradient(180deg, rgba(255, 247, 231, 0.92), rgba(243, 234, 216, 0.94));
}

.photo-gallery {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  margin-bottom: 18px;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.photo-gallery::-webkit-scrollbar {
  display: none;
}

.photo-gallery figure {
  position: relative;
  flex: 0 0 min(78vw, 360px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(109, 63, 36, 0.22);
  border-radius: 12px;
  background: var(--navy);
  box-shadow: 0 12px 34px rgba(40, 26, 15, 0.08);
  cursor: zoom-in;
  scroll-snap-align: start;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.photo-gallery figure:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(40, 26, 15, 0.16);
}

.photo-gallery figure.is-featured {
  flex-basis: min(88vw, 520px);
}

.photo-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-gallery figure.is-featured img {
  aspect-ratio: 4 / 3;
}

.info-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.info-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 247, 231, 0.96)),
    white;
  box-shadow: 0 12px 34px rgba(40, 26, 15, 0.08);
}

.info-panel summary {
  cursor: pointer;
  color: var(--navy);
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 700;
}

.info-panel summary::marker {
  color: var(--rum);
}

.info-panel[open] summary {
  margin-bottom: 12px;
}

.info-panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.info-panel li + li {
  margin-top: 6px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading p,
.intro p,
.card p,
.feature-list p,
.services p,
.travel-band p {
  color: var(--muted);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  border-top: 1px solid rgba(109, 63, 36, 0.18);
  border-bottom: 1px solid rgba(109, 63, 36, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 247, 231, 0.94), rgba(243, 234, 216, 0.8)),
    var(--paper);
}

.intro-grid,
.quick-grid,
.card-grid {
  display: grid;
  gap: 14px;
}

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

.intro article,
.quick-card,
.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 247, 231, 0.96)),
    white;
  box-shadow: 0 12px 34px rgba(40, 26, 15, 0.08);
}

.intro article,
.quick-card,
.card {
  padding: 18px;
}

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

.quick-card strong,
.quick-card span {
  display: block;
}

.quick-card strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.14rem;
}

.quick-card span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.card {
  display: flex;
  min-height: 206px;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  content: "";
  background: linear-gradient(var(--sand), var(--sea));
}

.card-tag {
  width: fit-content;
  margin-bottom: 15px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff7e7;
  background: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.feature-item {
  display: flex;
  min-height: 188px;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid rgba(109, 63, 36, 0.2);
  border-left: 4px solid var(--rum);
  border-radius: var(--radius);
  background: rgba(255, 247, 231, 0.68);
}

.food-link {
  display: inline-flex;
  width: fit-content;
  min-height: 38px;
  align-items: center;
  margin-top: 12px;
  padding: 8px 11px;
  border: 1px solid rgba(109, 63, 36, 0.2);
  border-radius: 999px;
  color: #fff7e7;
  background: var(--blue);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.food-link:hover {
  background: var(--rum);
}

.travel-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: white;
  background:
    linear-gradient(135deg, rgba(7, 23, 34, 0.96), rgba(18, 50, 73, 0.9)),
    var(--navy);
}

.travel-band h2,
.travel-band p {
  color: white;
}

.travel-band .eyebrow {
  color: var(--sand);
}

.travel-band.warm {
  color: var(--navy);
  background:
    linear-gradient(135deg, rgba(216, 191, 141, 0.96), rgba(255, 247, 231, 0.84)),
    var(--sand);
}

.travel-band.warm h2,
.travel-band.warm p {
  color: var(--navy);
}

.services {
  background:
    radial-gradient(circle at 82% 18%, rgba(31, 111, 120, 0.16), transparent 22rem),
    var(--paper);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: white;
  border-top: 1px solid rgba(216, 191, 141, 0.28);
  background: linear-gradient(135deg, var(--navy), #2b1a12);
}

.footer span {
  color: rgba(255, 255, 255, 0.72);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  padding: 0;
  background: rgba(7, 23, 34, 0.88);
}

.lightbox.is-open {
  display: block;
}

.lightbox-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y pinch-zoom;
}

.lightbox-track::-webkit-scrollbar {
  display: none;
}

.lightbox-slide {
  flex: 0 0 100%;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  overflow: auto;
  padding: 54px 0 28px;
  scroll-snap-align: center;
  touch-action: pan-x pan-y pinch-zoom;
}

.lightbox-slide img {
  display: block;
  max-width: 100vw;
  max-height: 86vh;
  object-fit: contain;
  touch-action: pan-x pan-y pinch-zoom;
}

.lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid rgba(216, 191, 141, 0.42);
  border-radius: var(--radius);
  color: #fff7e7;
  background: rgba(7, 23, 34, 0.78);
  font: inherit;
  font-weight: 800;
}

.install-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 25;
  max-width: min(360px, calc(100vw - 32px));
  padding: 14px 16px;
  border: 1px solid rgba(216, 191, 141, 0.34);
  border-radius: 12px;
  color: #fff7e7;
  background: rgba(7, 23, 34, 0.92);
  box-shadow: 0 18px 44px rgba(7, 23, 34, 0.28);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

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

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius);
    color: white;
    background: transparent;
    font: inherit;
    font-weight: 800;
  }

  .topbar {
    align-items: flex-start;
  }

  .menu {
    position: absolute;
    top: 72px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: var(--navy);
  }

  .menu.is-open {
    display: flex;
  }

  .menu a {
    padding: 8px 0;
  }

  .hero,
  .intro,
  .assistant-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: center;
    min-height: calc(92svh - 74px);
  }

  .app-cta {
    grid-template-columns: 1fr;
  }

  .hero-routes {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .hero-routes::-webkit-scrollbar {
    display: none;
  }

  .hero-routes a {
    flex: 0 0 min(82vw, 320px);
    scroll-snap-align: start;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .quick-grid,
  .card-grid,
  .feature-list,
  .info-panels,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .photo-gallery figure.is-featured {
    flex-basis: min(88vw, 520px);
  }

  .photo-gallery figure.is-featured img {
    aspect-ratio: 4 / 3;
  }

  .travel-band {
    display: block;
  }

  .travel-band .button {
    margin-top: 16px;
  }
}

@media (min-width: 861px) and (max-width: 1120px) {
  .quick-grid,
  .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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