@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/outfit-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/outfit-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/outfit-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/outfit-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/outfit-800.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
  --navy: #0a2a6e;
  --navy-deep: #061a47;
  --blue: #1a56c9;
  --sun: #ffd12e;
  --sun-deep: #f5b800;
  --coral: #f2683c;
  --paper: #ffffff;
  --sand: #fbf6ec;
  --ink: #12204a;
  --muted: #55607a;
  --line: #e4e7ef;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container-width: 1180px;
  --radius: 18px;
  --shadow: 0 18px 40px -18px rgb(10 42 110 / .28);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 1.0625rem; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; color: var(--navy); }
h3 { font-size: 1.375rem; font-weight: 700; color: var(--navy); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--sun-deep); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-lg { width: 44px; height: 44px; stroke-width: 1.6; color: var(--blue); margin-bottom: 12px; }

.container { width: min(100% - 32px, var(--container-width)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head p:last-child { color: var(--muted); font-size: 1.125rem; }

.eyebrow { font-size: .8125rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.eyebrow-light { color: #fff; }
.eyebrow-sun { color: var(--sun); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--sun); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-sun { background: var(--sun); color: var(--navy-deep); box-shadow: 0 10px 24px -10px rgb(245 184 0 / .8); }
.btn-sun:hover { background: #ffdb57; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--blue); }
.btn-ghost { color: #fff; border-color: rgb(255 255 255 / .5); }
.btn-ghost:hover { background: rgb(255 255 255 / .1); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: .9375rem; }
.btn-lg { min-height: 56px; padding: 14px 30px; font-size: 1.125rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; font-size: 1.125rem; text-decoration: none; padding-bottom: 2px; border-bottom: 2px solid currentColor; }
.link-arrow .ico, .pill-link .ico { transition: transform .2s ease; }
.link-arrow:hover .ico, .pill-link:hover .ico { transform: translateX(4px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; box-shadow: 0 2px 0 rgb(255 255 255 / .04); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.brand img { width: clamp(170px, 22vw, 280px); height: auto; border-radius: 6px; }
.nav-toggle { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 12px; background: rgb(255 255 255 / .1); color: #fff; cursor: pointer; }
.nav-toggle .ico { width: 26px; height: 26px; }
.nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--navy); padding: 8px 16px 24px; display: flex; flex-direction: column; gap: 16px; border-top: 1px solid rgb(255 255 255 / .1); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.nav.is-open { opacity: 1; visibility: visible; transform: none; }
.nav a:not(.btn) { display: block; padding: 14px 4px; color: #fff; text-decoration: none; font-weight: 500; font-size: 1.125rem; border-bottom: 1px solid rgb(255 255 255 / .08); }

@media (min-width: 960px) {
  :root { --header-h: 96px; }
  .nav-toggle { display: none; }
  .nav { position: static; flex-direction: row; align-items: center; gap: clamp(20px, 3vw, 44px); padding: 0; border: 0; opacity: 1; visibility: visible; transform: none; background: none; }
  .nav ul { display: flex; gap: clamp(16px, 2.6vw, 40px); }
  .nav a:not(.btn) { position: relative; padding: 8px 0; border: 0; font-size: 1rem; }
  .nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--sun); transform: scaleX(0); transition: transform .25s ease; }
  .nav a:not(.btn):hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
}

/* Hero */
.hero { position: relative; display: grid; min-height: clamp(560px, 82vh, 720px); color: #fff; overflow: hidden; background: var(--navy-deep); }
.hero picture, .hero-copy { grid-area: 1 / 1; }
.hero picture { display: block; min-height: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero::after { content: ""; grid-area: 1 / 1; background: linear-gradient(0deg, rgb(6 26 71 / .95) 0%, rgb(6 26 71 / .55) 55%, rgb(6 26 71 / .2) 100%); }
.hero-copy { position: relative; z-index: 1; align-self: end; padding-block: 48px 112px; }
.hero h1 { font-size: clamp(2.75rem, 8.4vw, 5.5rem); font-weight: 800; max-width: 9.5ch; margin-bottom: 20px; letter-spacing: -.035em; color: #fff; }
.hero-lead { font-size: clamp(1.125rem, 2.2vw, 1.5rem); max-width: 30ch; line-height: 1.4; opacity: .95; margin-bottom: 32px; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
@media (min-width: 760px) {
  .hero::after { background: linear-gradient(90deg, rgb(6 26 71 / .96) 0%, rgb(6 26 71 / .78) 30%, rgb(6 26 71 / .15) 58%, transparent 75%); }
  .hero-copy { align-self: center; padding-block: 64px 120px; }
}

/* Perks strip */
.perks { position: relative; z-index: 2; margin-top: -64px; display: grid; grid-template-columns: repeat(2, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; }
.perks li { display: flex; align-items: center; gap: 14px; padding: 16px 12px; font-size: .875rem; color: var(--muted); line-height: 1.3; }
.perks .ico { width: 36px; height: 36px; color: var(--blue); stroke-width: 1.7; }
@media (max-width: 599px) {
  .perks li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 14px; }
  .perks .ico { width: 30px; height: 30px; }
}
.perks strong { display: block; color: var(--navy); font-size: .9375rem; font-weight: 600; margin-bottom: 2px; }
@media (min-width: 900px) {
  .perks { grid-template-columns: repeat(4, 1fr); padding: 12px 8px; }
  .perks li { padding: 14px 24px; }
  .perks li + li { border-left: 1px solid var(--line); }
  .perks .ico { width: 42px; height: 42px; }
}

/* Stay cards */
.stay-cards { display: grid; gap: 20px; }
@media (min-width: 760px) { .stay-cards { grid-template-columns: repeat(3, 1fr); } }
.stay-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .3s ease, box-shadow .3s ease; }
.stay-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stay-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.stay-card-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 24px 28px 28px; }
.stay-card-body p { color: var(--muted); flex: 1; }
.pill-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 22px; border-radius: 999px; background: #eef2fb; color: var(--navy); font-weight: 600; text-decoration: none; transition: background-color .2s ease; }
.pill-link:hover { background: #dfe7f8; }

/* Why */
.why { background: var(--sand); }
.why-grid { display: grid; gap: 40px; align-items: center; }
.why-media { margin: 0; position: relative; }
.why-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.why-media::after { content: ""; position: absolute; width: 96px; height: 96px; border-radius: 50%; background: var(--sun); right: -14px; top: -20px; z-index: -1; transform: scale(var(--sun-scale, 1)); }
.why-media { isolation: isolate; }
.why-list { display: grid; gap: 28px; margin-top: 32px; }
.why-list article { padding-left: 20px; border-left: 3px solid var(--sun); }
.why-list p { color: var(--muted); margin: 0; }
@media (min-width: 900px) { .why-grid { grid-template-columns: 5fr 7fr; gap: 72px; } }

/* Rooms */
.room { display: grid; gap: 24px; padding-block: 40px; border-top: 1px solid var(--line); }
.room:first-of-type { border-top: 0; padding-top: 0; }
.room-info h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.room-info p { color: var(--muted); }
@media (min-width: 900px) {
  .room { grid-template-columns: 4fr 8fr; gap: 56px; align-items: start; }
  .room-info { position: sticky; top: calc(var(--header-h) + 24px); }
}
.specs { margin: 0 0 16px; display: grid; gap: 10px; }
.specs div { display: flex; gap: 12px; align-items: baseline; padding: 12px 16px; background: var(--sand); border-radius: 12px; }
.specs dt { font-weight: 800; color: var(--coral); }
.specs dd { margin: 0; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery a { display: block; min-height: 0; overflow: hidden; border-radius: 12px; background: var(--line); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.gallery a:hover img { transform: scale(1.05); }
.gallery a:first-child { grid-column: span 2; }
.gallery a:first-child img { aspect-ratio: 16 / 9; }
@media (min-width: 640px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery a:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery a:first-child img { aspect-ratio: auto; height: 100%; }
  .gallery-wide { grid-template-columns: repeat(4, 1fr); }
}

.stay-facts { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 900px) { .stay-facts { grid-template-columns: 1fr 1fr; } }
.includes, .rules { border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.includes { background: var(--navy); color: #fff; }
.includes h3 { color: #fff; }
.includes ul { display: grid; gap: 14px; margin-top: 20px; }
@media (min-width: 560px) { .includes ul { grid-template-columns: 1fr 1fr; } }
.includes li { display: flex; align-items: center; gap: 12px; }
.includes .ico { color: var(--sun); width: 24px; height: 24px; }
.rules { background: var(--sand); }
.rules ul { display: grid; gap: 16px; margin: 20px 0 28px; }
.rules li { display: flex; gap: 12px; align-items: flex-start; }
.rules .ico { color: var(--coral); width: 24px; height: 24px; margin-top: 2px; }

/* Services */
.services { background: var(--navy-deep); color: #fff; }
.services h2, .services h3 { color: #fff; }
.services .ico-lg { color: var(--sun); }
.service { display: grid; gap: 24px; }
.service-info p { color: rgb(255 255 255 / .78); max-width: 52ch; }
.service-pair { display: grid; gap: 56px; margin-top: 64px; }
.service-pair .gallery { grid-template-columns: 1fr 1fr; }
.service-pair .gallery a:first-child { grid-row: auto; }
.service-pair .gallery a:first-child img { aspect-ratio: 16 / 9; height: auto; }
.services .gallery a { background: rgb(255 255 255 / .08); }
@media (min-width: 900px) {
  #restaurant { grid-template-columns: 4fr 8fr; gap: 56px; align-items: center; }
  .service-pair { grid-template-columns: 1fr 1fr; gap: 40px; }
  .service-pair .service { align-content: start; }
}

/* Huasco */
.huasco-grid { display: grid; gap: 40px; }
.huasco-text p { color: var(--muted); }
.huasco-text h3 { margin-top: 32px; }
.gallery-mosaic { grid-template-columns: 1fr 1fr; align-content: start; }
.gallery-mosaic a:first-child { grid-column: span 2; grid-row: auto; }
.gallery-mosaic a:first-child img { aspect-ratio: 16 / 9; height: auto; }
@media (min-width: 640px) { .gallery-mosaic { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .huasco-grid { grid-template-columns: 6fr 5fr; gap: 72px; }
  .gallery-mosaic { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* FAQ */
.faq { background: var(--sand); }
.faq-inner { max-width: 820px; }
.faq details { background: #fff; border-radius: 14px; margin-top: 12px; border: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 600; font-size: 1.0625rem; color: var(--navy); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--blue); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 20px; margin: 0; color: var(--muted); }

/* Contact */
.contact { background: var(--navy); color: #fff; }
.contact h2 { color: #fff; }
.contact-lead { font-size: 1.1875rem; opacity: .85; max-width: 40ch; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.contact-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.contact-card { display: grid; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 8px; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .5); }
.contact-card a { display: flex; align-items: center; gap: 16px; padding: 18px 20px; text-decoration: none; border-radius: 12px; transition: background-color .2s ease; overflow-wrap: anywhere; }
.contact-card a:hover { background: #eef2fb; }
.contact-card a + a { border-top: 1px solid var(--line); }
.contact-card .ico { width: 28px; height: 28px; color: var(--blue); }
.contact-card span { color: var(--muted); font-size: .9375rem; line-height: 1.4; }
.contact-card strong { display: block; color: var(--navy); font-size: 1.125rem; }

/* Footer */
.site-footer { position: relative; background: var(--navy-deep); color: rgb(255 255 255 / .8); padding-top: 120px; font-size: .9375rem; }
.footer-wave { position: absolute; top: 0; left: 0; width: 100%; height: 80px;  }
.site-footer .footer-wave path { fill: var(--paper); }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1.4fr; } }
.footer-brand img { width: 220px; border-radius: 6px; margin-bottom: 16px; }
.footer-title { font-size: 1rem; color: #fff; letter-spacing: 0; margin-bottom: 16px; }
.site-footer nav li a { display: inline-block; padding: 6px 0; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.site-footer address p { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.site-footer address .ico { color: var(--sun); margin-top: 3px; }
.site-footer address a { text-decoration: none; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / .08); transition: background-color .2s ease; }
.social a:hover { background: rgb(255 255 255 / .16); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 20px 96px; border-top: 1px solid rgb(255 255 255 / .1); font-size: .875rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--sun); }
@media (min-width: 760px) { .footer-bottom { padding-bottom: 24px; } }

/* WhatsApp float */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 28px -8px rgb(0 0 0 / .4); transition: transform .2s ease; }
.wa-float:hover { transform: scale(1.06); }
.wa-float .ico { width: 30px; height: 30px; }

/* Lightbox */
.lightbox { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(4 14 40 / .94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; padding: 72px 16px; display: grid; justify-items: center; gap: 12px; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100vh - 160px); width: auto; height: auto; border-radius: 10px; }
.lightbox figcaption { font-size: .9375rem; opacity: .8; text-align: center; }
.lb-btn { position: fixed; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .12); color: #fff; cursor: pointer; }
.lb-btn:hover { background: rgb(255 255 255 / .22); }
.lb-btn .ico { width: 26px; height: 26px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; translate: 0 -50%; }
.lb-next { right: 16px; top: 50%; translate: 0 -50%; }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 16px; translate: none; } }

/* Map */
.map { padding-block: clamp(64px, 9vw, 112px) clamp(32px, 5vw, 56px); }
.map-inner { display: grid; gap: 32px; align-items: center; }
.map-head p:not(.eyebrow) { color: var(--muted); max-width: 42ch; }
.map-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--sand); aspect-ratio: 4 / 3; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 900px) {
  .map-inner { grid-template-columns: 4fr 8fr; gap: 56px; }
  .map-frame { aspect-ratio: 16 / 9; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.page-404 main { min-height: 100vh; display: grid; align-items: center; }
.page-404 h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); }
