/* 11suites.casa — coastal palette: deep sea, sand, sunset */
:root {
  --sea: #0f3d4a;
  --sea-2: #165566;
  --pool: #2a8c8c;
  --sand: #f5efe6;
  --sand-2: #ebe2d4;
  --sun: #e08a4f;
  --sun-2: #c9733a;
  --ink: #1d2a2f;
  --muted: #5b6b70;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 61, 74, .12);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font: 400 1rem/1.65 var(--sans); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--sea); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sea); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

.eyebrow { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--sun-2); margin-bottom: .8em; }
.link { color: var(--sea-2); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--sun); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .9em 1.6em; border-radius: 999px; background: var(--sun); color: #fff; font-weight: 600; text-decoration: none; border: 2px solid var(--sun); cursor: pointer; font: inherit; font-weight: 600; transition: background .2s, transform .2s; }
.btn:hover { background: var(--sun-2); border-color: var(--sun-2); transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.8); }
.btn--ghost:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.btn--small { padding: .55em 1.2em; font-size: .92rem; }
.btn--block { width: 100%; }

/* Header */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; color: #fff; }
.topbar.is-solid { background: rgba(255,255,255,.97); color: var(--sea); box-shadow: 0 2px 16px rgba(0,0,0,.08); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.brand__mark { width: 40px; height: 30px; fill: currentColor; stroke: currentColor; }
.brand__mark path:first-child { stroke: none; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; letter-spacing: .01em; }
.brand__name span { color: var(--sun); }
.nav__list { display: flex; align-items: center; gap: 1.8rem; list-style: none; margin: 0; padding: 0; }
.nav__list a:not(.btn) { text-decoration: none; font-weight: 500; opacity: .92; }
.nav__list a:not(.btn):hover { color: var(--sun); }
.nav__toggle { display: none; }

@media (max-width: 820px) {
  .nav__toggle { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; color: inherit; cursor: pointer; }
  .nav__toggle span:first-child, .nav__toggle span:first-child::before, .nav__toggle span:first-child::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; content: ""; transition: transform .2s; }
  .nav__toggle span:first-child::before { position: absolute; top: -7px; }
  .nav__toggle span:first-child::after { position: absolute; top: 7px; }
  .nav__toggle[aria-expanded="true"] span:first-child { background: transparent; }
  .nav__toggle[aria-expanded="true"] span:first-child::before { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:first-child::after { transform: translateY(-7px) rotate(-45deg); }
  .nav__list { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; color: var(--sea); padding: .5rem var(--gutter) 1.2rem; box-shadow: 0 12px 24px rgba(0,0,0,.1); display: none; }
  .nav__list.is-open { display: flex; }
  .nav__list li a:not(.btn) { display: block; padding: .85rem 0; border-bottom: 1px solid var(--sand-2); }
  .nav__list .btn { margin-top: 1rem; width: 100%; }
}

/* Hero */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--sea); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(8,30,38,.62) 0%, rgba(8,30,38,.25) 45%, rgba(8,30,38,0) 70%),
  linear-gradient(180deg, rgba(8,30,38,.55) 0%, rgba(8,30,38,.05) 30%, rgba(8,30,38,.25) 55%, rgba(8,30,38,.82) 100%); }
.hero__content { position: relative; padding-block: 140px 72px; }
.hero h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); max-width: 14ch; margin-bottom: .35em; }
.hero h1 em { font-weight: 500; color: #ffd7b5; }
.hero .eyebrow { color: #ffd7b5; }
.hero__lead { font-size: clamp(1.05rem, 1.8vw, 1.22rem); max-width: 46ch; opacity: .95; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* Facts */
.facts { background: var(--sea); color: #fff; }
.facts__list { list-style: none; margin: 0; padding-block: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.facts__list strong { display: block; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); color: #ffd7b5; }
.facts__list span { font-size: .92rem; opacity: .88; }
@media (max-width: 640px) { .facts__list { grid-template-columns: repeat(2, 1fr); row-gap: 1.4rem; } }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--sea); color: #f1ece4; }
.section--dark h2 { color: #fff; }
.section--dark .eyebrow { color: #ffb98a; }
.section__head { max-width: 640px; margin-bottom: 2.6rem; }
.section__head p:last-child { color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--reverse .split__text { order: 2; }
.split__text > p { color: var(--muted); }
.section--dark .split__text > p { color: #d6e1e3; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse .split__text { order: 0; } }

.checks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .7rem; }
.checks li { position: relative; padding-left: 1.9rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--pool) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }

/* Gallery */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery__item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; }
.gallery__item--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.gallery img, .card__img img, .loc-media img, .massage-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery a:hover img, .card__img:hover img, .loc-media a:hover img { transform: scale(1.04); }
.gallery a, .card__img, .loc-media a, .massage-img a { display: block; cursor: zoom-in; }

/* Location */
.loc-media { position: relative; padding-right: 22%; }
.loc-media__beach { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.loc-media__phone { position: absolute; right: 0; bottom: -28px; width: 30%; aspect-ratio: 9 / 19; border-radius: 22px; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow); }
@media (max-width: 900px) { .loc-media { margin-bottom: 28px; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.card__body { padding: 1.2rem 1.3rem 1.4rem; }
.card__body p:last-child { margin: 0; color: var(--muted); font-size: .96rem; }
.card__tag { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--pool); font-weight: 600; margin-bottom: .35rem; }
.card h3 { color: var(--sea); }

/* Massage */
.massage-img a { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }

/* Booking */
.booking { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .booking { grid-template-columns: 1fr; } }
.enquiry, .contact { background: var(--sand); border-radius: calc(var(--radius) + 6px); padding: clamp(22px, 3.5vw, 36px); }
.enquiry h3, .contact h3 { color: var(--sea); }
.enquiry__hint { color: var(--muted); font-size: .95rem; }
.enquiry label { display: grid; gap: .35rem; font-size: .88rem; font-weight: 500; color: var(--sea); margin-bottom: 1rem; }
.enquiry input, .enquiry select, .enquiry textarea { font: inherit; font-size: 1rem; color: var(--ink); padding: .75rem .85rem; border: 1px solid #d6cbb9; border-radius: 10px; background: #fff; width: 100%; min-width: 0; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: none; border-color: var(--pool); box-shadow: 0 0 0 3px rgba(42,140,140,.2); }
.enquiry .check { display: flex; align-items: center; gap: .6rem; font-weight: 400; color: var(--ink); }
.enquiry .check input { width: 18px; height: 18px; accent-color: var(--pool); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.enquiry__error { color: #b23b2a; font-size: .92rem; }

.contact__list { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .6rem; }
.contact__list a { display: flex; align-items: center; gap: .9rem; padding: .8rem; background: #fff; border-radius: 12px; text-decoration: none; transition: transform .2s; word-break: break-word; }
.contact__list a:hover { transform: translateX(3px); }
.contact__list small { display: block; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.ico { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--sea) center/20px no-repeat; }
.ico--wa { background-color: #25d366; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.2 13.6c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .2-3.4-.7a11.4 11.4 0 0 1-4.5-4 5.1 5.1 0 0 1-1.1-2.7 2.9 2.9 0 0 1 .9-2.2 1 1 0 0 1 .7-.3h.5c.2 0 .4 0 .6.5l.8 1.9a.5.5 0 0 1 0 .5 2 2 0 0 1-.3.5l-.4.5c-.1.1-.3.3-.1.6a7.6 7.6 0 0 0 1.4 1.7 6.9 6.9 0 0 0 2 1.3c.3.1.4.1.6-.1l.8-1c.2-.3.4-.2.6-.1l1.8.8c.3.1.4.2.5.3a2.1 2.1 0 0 1-.1 1.3z'/%3E%3C/svg%3E"); }
.ico--tel { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.2 11.4 11.4 0 0 0 3.6.6 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 11.4 11.4 0 0 0 .6 3.6 1 1 0 0 1-.3 1z'/%3E%3C/svg%3E"); }
.ico--mail { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.ico--ig { background-color: #c13584; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='.6' fill='white'/%3E%3C/svg%3E"); }

.contact h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 .8rem; }
.platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.platforms > div { background: #fff; border-radius: 12px; padding: .9rem 1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.platforms__name { width: 100%; margin: 0 0 .2rem; font-weight: 600; color: var(--sea); }
.platforms a { font-size: .86rem; text-decoration: none; padding: .3rem .65rem; border: 1px solid var(--sand-2); border-radius: 999px; }
.platforms a:hover { border-color: var(--pool); color: var(--pool); }
.platforms__note { margin: .9rem 0 0; font-size: .9rem; color: var(--muted); }
@media (max-width: 420px) { .platforms { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: #0b2c35; color: #b9c9cc; padding-block: 48px 96px; font-size: .92rem; }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; align-items: start; }
.brand--light { color: #fff; }
.footer__tag { font-family: var(--serif); font-style: italic; color: #ffd7b5; margin-top: .4rem; }
@media (max-width: 760px) { .footer__inner { grid-template-columns: 1fr; } }

/* WhatsApp float */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(5,20,25,.93); display: grid; place-items: center; padding: 56px 12px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1200px, 100%); max-height: 100%; border-radius: 8px; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__nav--prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}
