:root {
  --sea: #123b3a;
  --sea-2: #1d5654;
  --pool: #3fa3a0;
  --sand: #f6efe4;
  --sand-2: #ece0cc;
  --wood: #8a4a2b;
  --sun: #e9784a;
  --ink: #1b2422;
  --muted: #5b6763;
  --card: #fffdf9;
  --line: rgba(18, 59, 58, 0.14);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(18, 40, 38, 0.12);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--sand); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 7vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.9rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.75rem; font-weight: 600; color: var(--sun); margin-bottom: 0.8rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; padding: 0 1.4rem; border-radius: 999px; border: 0; font: 600 1rem var(--sans); text-decoration: none; cursor: pointer; transition: transform 0.15s, background 0.15s; }
.btn:active { transform: scale(0.98); }
.btn-sun { background: var(--sun); color: #fff; }
.btn-sun:hover { background: #d9663a; }
.btn-ghost { background: rgba(255, 255, 255, 0.14); color: #fff; border: 1px solid rgba(255, 255, 255, 0.5); backdrop-filter: blur(6px); }
.btn-sea { background: var(--sea); color: #fff; }
.btn-line { background: transparent; color: var(--sea); border: 1.5px solid var(--sea); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

/* Header */
.nav { position: fixed; inset: 0 0 auto; z-index: 40; transition: background 0.25s, box-shadow 0.25s; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: #fff; text-decoration: none; }
.brand { background: #fff; border-radius: 10px; padding: 3px 6px; }
.brand img { height: 62px; width: auto; }
/* The logo is shown exactly as supplied, always on white. */
.logo-chip { display: inline-block; background: #fff; border-radius: 10px; padding: 4px 8px; line-height: 0; }
.logo-chip img { height: auto; }
.muted { color: var(--muted); }
.nav-links { display: flex; gap: 1.6rem; align-items: center; }
.nav-links a { color: #fff; text-decoration: none; font-weight: 500; font-size: 0.95rem; opacity: 0.92; }
.nav-links a.btn { opacity: 1; min-height: 40px; padding: 0 1.1rem; }
.nav.solid { background: rgba(246, 239, 228, 0.95); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav.solid .brand, .nav.solid .nav-links a:not(.btn) { color: var(--sea); }
.menu-btn { display: none; background: none; border: 0; color: #fff; padding: 10px; cursor: pointer; }
.nav.solid .menu-btn { color: var(--sea); }
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav-links { position: fixed; inset: 84px 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: var(--sand); padding: 8px 16px 20px; box-shadow: var(--shadow); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a, .nav.solid .nav-links a:not(.btn) { color: var(--sea); padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-links a.btn { margin-top: 14px; color: #fff; border: 0; }
}

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: #fff; overflow: hidden; }
.hero picture, .hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 30, 30, 0.35) 0%, rgba(10, 30, 30, 0.05) 35%, rgba(10, 30, 30, 0.75) 100%); }
.hero .wrap { position: relative; z-index: 1; padding: 120px 0 72px; }
.hero h1 { max-width: 14ch; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3); }
.hero p { font-size: 1.15rem; max-width: 48ch; opacity: 0.95; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.6rem; }
.hero .where { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; letter-spacing: 0.04em; margin-bottom: 1rem; opacity: 0.95; }

/* Sections */
section { padding: clamp(64px, 10vw, 120px) 0; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--sand-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.stack { position: relative; }
.stack .photo.small { position: absolute; width: 46%; right: -12px; bottom: -36px; border: 6px solid var(--sand); }
@media (max-width: 860px) { .stack .photo.small { right: 8px; bottom: -24px; } }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 1.6rem; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.fact b { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--sea); }
.fact span { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr 1fr; } }

.dark { background: var(--sea); color: var(--sand); }
.dark .lead { color: rgba(246, 239, 228, 0.8); }

/* Rooms */
.rooms { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 2rem; }
.room { background: var(--card); color: var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.room .shots { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 4px; height: 280px; overflow: hidden; }
.room .shots img { width: 100%; height: 100%; min-height: 0; object-fit: cover; cursor: zoom-in; }
.room .shots img:first-child { grid-row: span 2; }
.room .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.room .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 18px; padding: 0; list-style: none; }
.room .tags li { font-size: 0.8rem; background: var(--sand); border-radius: 999px; padding: 4px 10px; color: var(--sea); }
.room .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.room .price { font-family: var(--serif); font-size: 1.1rem; color: var(--sea); }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 2rem; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature svg { width: 30px; height: 30px; color: var(--sun); margin-bottom: 10px; }
.feature h3 { font-size: 1.12rem; }
.feature p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Gallery */
.gallery { columns: 3 260px; column-gap: 12px; margin-top: 2rem; }
.gallery button { display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--sand-2); break-inside: avoid; }
.gallery img { width: 100%; height: auto; transition: transform 0.4s; }
.gallery button:hover img { transform: scale(1.03); }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(8, 20, 20, 0.94); display: none; align-items: center; justify-content: center; padding: 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 100%; border-radius: 10px; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, 0.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.lightbox .x { top: 16px; right: 16px; }
.lightbox .prev { left: 16px; top: 50%; }
.lightbox .next { right: 16px; top: 50%; }

/* Sunset band */
.band { position: relative; color: #fff; min-height: 70vh; display: grid; align-items: center; overflow: hidden; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 20, 30, 0.7), rgba(10, 20, 30, 0.1)); }
.band .wrap { position: relative; z-index: 1; }
.band p { max-width: 46ch; font-size: 1.1rem; }
.sunset-time { display: inline-flex; gap: 10px; align-items: baseline; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 14px; padding: 12px 18px; backdrop-filter: blur(6px); }
.sunset-time b { font-family: var(--serif); font-size: 1.8rem; }

/* Getting here */
.steps { counter-reset: s; display: grid; gap: 14px; padding: 0; list-style: none; margin: 1.5rem 0 0; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 16px 60px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--sea); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--sand-2); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map .load { width: 100%; height: 100%; border: 0; background: var(--sea-2) center / cover; color: #fff; font: 600 1rem var(--sans); cursor: pointer; display: grid; place-items: center; }

/* App promo */
.app-promo { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.phone { width: 260px; aspect-ratio: 9 / 19; border-radius: 36px; background: #0b1f1f; padding: 10px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); }
.phone iframe { width: 100%; height: 100%; border: 0; border-radius: 28px; background: var(--sand); }
@media (max-width: 760px) { .app-promo { grid-template-columns: 1fr; } .phone { margin-inline: auto; } }
.checks { list-style: none; padding: 0; margin: 1rem 0 1.6rem; display: grid; gap: 8px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 16px; height: 16px; border-radius: 50%; background: var(--pool); box-shadow: inset 0 0 0 4px var(--sea); }

/* Form */
.form { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 4vw, 36px); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 600; color: var(--sea); }
.form input, .form select, .form textarea { font: 400 1rem var(--sans); color: var(--ink); padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; width: 100%; min-height: 48px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--pool); outline: none; }
.form .send { display: flex; flex-wrap: wrap; gap: 10px; }
.form .note { font-size: 0.85rem; color: var(--muted); margin: 0; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

footer { background: #0c2928; color: rgba(246, 239, 228, 0.8); padding: 56px 0 40px; font-size: 0.95rem; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
footer a { color: var(--sand); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer h4 { color: #fff; margin: 0 0 10px; font-size: 0.95rem; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
footer .small { margin-top: 36px; font-size: 0.8rem; opacity: 0.7; }
@media (max-width: 700px) { footer .cols { grid-template-columns: 1fr; } }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
[hidden] { display: none !important; }

/* Booking */
.booker { display: grid; grid-template-columns: 1fr 340px; gap: 20px; margin-top: 1.6rem; align-items: start; }
@media (max-width: 900px) { .booker { grid-template-columns: 1fr; } }
.cal-card, .sum-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.sum-card { position: sticky; top: 90px; }
.room-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.room-tabs button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font: 600 0.92rem var(--sans); color: var(--sea); cursor: pointer; min-height: 42px; }
.room-tabs button[aria-selected="true"] { background: var(--sea); border-color: var(--sea); color: #fff; }
.room-tabs small { font-weight: 500; opacity: 0.75; margin-left: 4px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; font-weight: 600; color: var(--sea); font-size: 0.95rem; text-align: center; }
.cal-nav { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--sea); font-size: 1.3rem; cursor: pointer; flex: none; }
.cal-nav:disabled { opacity: 0.35; cursor: default; }
.cals { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 640px) { .cals { grid-template-columns: 1fr; } .cals .month:nth-child(2) { display: none; } }
.month h4 { margin: 4px 0 8px; font-family: var(--serif); font-size: 1.05rem; text-align: center; color: var(--ink); }
.grid7 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.grid7 .dow { font-size: 0.7rem; text-align: center; color: var(--muted); font-weight: 600; padding: 4px 0; }
.day { aspect-ratio: 1; border: 0; border-radius: 10px; background: #eef6f3; color: var(--ink); font: 600 0.9rem var(--sans); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; padding: 0; position: relative; }
.day small { font-size: 0.6rem; font-weight: 500; color: var(--muted); }
.day:hover:not(:disabled) { outline: 2px solid var(--pool); }
.day.low { background: #fdf0dc; }
.day.full { background: repeating-linear-gradient(135deg, #f1ebe2, #f1ebe2 4px, #e8e0d4 4px, #e8e0d4 8px); color: #a49a8d; text-decoration: line-through; }
.day.out { background: #f1ebe2; color: var(--muted); }
.day:disabled { cursor: default; }
.day.past { background: transparent; color: #c2bab0; }
.day.blank { background: transparent; pointer-events: none; }
.day.in { background: #cfe8e5; color: var(--sea); }
.day.sel { background: var(--sea); color: #fff; }
.day.sel small { color: rgba(255,255,255,.8); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: 0.8rem; color: var(--muted); }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; }
.lg-free { background: #eef6f3; } .lg-low { background: #fdf0dc; } .lg-full { background: #e8e0d4; } .lg-sel { background: var(--sea); }
.sum-card h3 { margin-bottom: 4px; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.sum-row span:first-child { color: var(--muted); }
.sum-row.total { font-weight: 700; font-size: 1.05rem; border-bottom: 0; }
.sum-card .pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.sum-card label { display: grid; gap: 4px; font-size: 0.82rem; font-weight: 600; color: var(--sea); }
.sum-card input, .sum-card select, .sum-card textarea { font: 400 1rem var(--sans); padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; width: 100%; min-height: 44px; color: var(--ink); }
.sum-card form { display: grid; gap: 10px; }
.sum-card .terms { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; color: var(--ink); font-size: 0.85rem; }
.sum-card .terms input { width: 20px; min-height: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--sea); }
.sum-card .btn { width: 100%; margin-top: 10px; }
.sum-card .err { color: #b3401a; font-size: 0.9rem; margin: 8px 0 0; }
.sum-card .muted, .note { color: var(--muted); font-size: 0.88rem; }
.ref { font-family: ui-monospace, Menlo, monospace; font-size: 1.5rem; font-weight: 700; color: var(--sea); letter-spacing: 0.06em; }
.pay { background: var(--sand); border-radius: 12px; padding: 12px 14px; font-size: 0.92rem; margin-top: 12px; white-space: pre-line; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; text-transform: capitalize; }
.badge.pending { background: #fdf0dc; color: #8a5a10; } .badge.confirmed { background: #d8efe9; color: #155c4f; }
.badge.cancelled, .badge.expired { background: #f3e1dc; color: #9a3a1f; }

/* Surf school on the website */
.ss-lessons { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 1.5rem; }
.ss-lesson { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 2px; }
.ss-lesson b { color: var(--sea); }
.ss-lesson small { color: var(--muted); }
.ss-ins { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 1.6rem; }
.ss-i { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; display: flex; gap: 14px; }
.ss-i img, .ss-ph { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex: none; background: var(--sand); display: grid; place-items: center; font-size: 1.8rem; }
.ss-i h3 { margin: 0 0 4px; }
.ss-i p { margin: 0 0 6px; font-size: .95rem; }
.muted-s { color: var(--muted); }
.ss-reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 1.6rem; }
.ss-r { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.ss-r p { margin: 6px 0; }
.ss-r cite { color: var(--muted); font-style: normal; font-size: .9rem; }
.stars-s { color: #e9a23b; letter-spacing: 1px; }

/* About the app (website) */
#about-app { background: var(--sand-2); }
.about-head { display: flex; gap: 24px; align-items: center; margin-bottom: 1.6rem; }
.about-head .logo-chip img { width: 135px; height: auto; }
@media (max-width: 640px) { .about-head { flex-direction: column; align-items: flex-start; } }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } }
.about-card { border-radius: var(--radius); padding: 20px 22px; background: var(--card); border: 1px solid var(--line); }
.about-card h3 { font-family: var(--sans); font-size: 1.2rem; margin: 0 0 10px; }
.about-card p { margin: 0 0 8px; }
.about-card.science { background: #eef1f6; border-color: #e1e6ef; }
.about-card.science h3 { color: #1d40a8; }
.about-card.support { background: #fff6ec; border-color: #f6e3cc; }
.about-card.support h3, .about-card.support p { color: #8a3a12; }
.about-card.offers ul { columns: 2 300px; column-gap: 32px; padding-left: 20px; margin: 0 0 16px; }
.about-card.offers li { margin-bottom: 8px; break-inside: avoid; }
.about-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.about-photos-s { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: 280px; gap: 10px; }
.about-photos-s figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: var(--sand); }
.about-photos-s img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-photos-s figcaption { position: absolute; left: 10px; bottom: 6px; font-size: .72rem; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
@media (max-width: 700px) { .about-photos-s { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; } .about-photos-s figure:first-child { grid-column: 1 / -1; grid-row: span 2; } }
.about-cap-s { text-align: center; font-weight: 700; color: var(--sea); margin: 12px 0 18px; letter-spacing: .02em; font-size: 1.05rem; }
.about-foot-s { text-align: center; color: var(--muted); margin: 10px 0 0; }
.about-foot-s.small { font-size: .85rem; }
