/* Aqua Beach Hotel — site styles
   Bold palette built from the logo colors. Text pairings meet WCAG AA (4.5:1):
   --ink/--navy on white 15.6:1, --muted on white 7.8:1, --teal-700 on white 6.4:1,
   white on --navy 15.6:1, white on --teal 4.9:1, --navy on --coral (logo pink) 8.9:1, --aqua on --navy 9.3:1.
   --aqua and --coral are never used as text on white. */
:root {
  --navy: #07263a;
  --navy-950: #041a28;
  --navy-800: #0b3a57;
  --teal: #0b7f7b;
  --teal-700: #086a67;
  --brand-teal: #14a8a3;
  --aqua: #33d9d9;
  --coral: #fdb1b0; /* accent = the logo's pink (was orange #ff6b57) */
  --coral-hover: #fec9c8;
  --coral-tint: #fff3f3;
  --logo-pink: #fdb1b0; /* on --navy-800 6.9:1; --navy on it 8.9:1 */
  --aqua-tint: #d9f7f7;
  --mist: #f2f7f8;
  --ink: #07263a;
  --muted: #3d5566;
  --line: #d6e2e6;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(7, 38, 58, .18);
  --font-head: "Fredoka", "Nunito", "Segoe UI", Arial, sans-serif;
  --font-script: "Pacifico", "Brush Script MT", cursive;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 74rem;
  --header-h: 66px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 1.125rem/1.65 var(--font-body);
  padding-bottom: 72px; /* room for the mobile booking bar */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); font-weight: 600; text-underline-offset: .18em; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 7vw, 4rem); letter-spacing: -.005em; }
h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); letter-spacing: -.005em; }
h3 { font-size: clamp(1.3rem, 3.2vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 700; }
p, ul, ol, dl { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

/* Focus: always visible for keyboard users */
:focus-visible { outline: 3px solid var(--teal-700); outline-offset: 3px; border-radius: 4px; }
.site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .page-title :focus-visible,
.section-dark :focus-visible, .section-teal :focus-visible, .mobile-bar :focus-visible { outline-color: var(--aqua); }

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--coral); color: var(--navy); padding: .6em 1em; border-radius: 6px; font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--navy); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.script { font-family: var(--font-script); font-weight: 400; text-transform: none; letter-spacing: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: .8em 1.5em; border-radius: 6px; border: 2px solid transparent;
  font: 700 .95rem/1.2 var(--font-head); letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-book { background: var(--coral); color: var(--navy); }
.btn-book:hover { background: var(--coral-hover); color: var(--navy); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--teal-700); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn-light:hover { background: var(--white); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.section-dark .btn-outline, .section-teal .btn-outline { border-color: var(--white); color: var(--white); }
.section-dark .btn-outline:hover, .section-teal .btn-outline:hover { background: var(--white); color: var(--navy); }

/* ---------- Header & navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy-800); border-bottom: 6px solid var(--navy-950); box-shadow: 0 2px 14px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--header-h); }
.brand { display: flex; flex: none; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand:hover { color: var(--white); }
.brand img { height: 44px; width: auto; }
.header-book { display: none; }
@media (max-width: 30rem) {
  .brand img { height: 38px; }
  .nav-toggle { padding: 0 10px; }
}

.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  background: none; border: 2px solid var(--white); border-radius: 6px; color: var(--white);
  font: 700 .85rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
}
.nav-toggle-icon, .nav-toggle-icon::before, .nav-toggle-icon::after {
  display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s;
}
.nav-toggle-icon::before, .nav-toggle-icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn), .submenu-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  min-height: 50px; padding: .5em 0; color: var(--white); text-decoration: none;
  font: 700 .95rem var(--font-head); letter-spacing: .08em; text-transform: uppercase;
  background: none; border: 0; cursor: pointer; text-align: left;
}
.site-nav a:not(.btn):hover, .submenu-toggle:hover { color: var(--aqua); }
.site-nav a[aria-current="page"] { color: var(--aqua); }
.submenu-toggle::after {
  content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); margin: 0 6px 4px 10px; transition: transform .2s;
}
.submenu-toggle[aria-expanded="true"]::after { transform: rotate(-135deg); margin-bottom: -4px; }
.submenu { padding: 4px 0 4px 20px !important; border-left: 3px solid var(--coral); margin: 2px 0 14px 4px !important; }
.site-nav .submenu a:not(.btn) { font: 600 1rem var(--font-body); letter-spacing: 0; text-transform: none; min-height: 46px; padding: .55em 0; }
.js .submenu[hidden] { display: none; }

/* Mobile: nav is a panel under the header (only collapsed when JS is available) */
@media (max-width: 79.99rem) {
  .site-nav { border-top: 1px solid rgba(255,255,255,.15); padding: 8px 16px 20px; max-height: calc(100vh - var(--header-h)); overflow-y: auto; background: var(--navy-800); }
  .js .site-nav { position: absolute; left: 0; right: 0; top: 100%; box-shadow: var(--shadow); }
  .js .site-nav[hidden] { display: none; }
  .site-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.15); }
  .nav-book { margin-top: 18px; border-bottom: 0 !important; }
  .nav-book .btn { width: 100%; }
}

/* Desktop: horizontal nav with dropdowns */
/* Resort-style bar: logo left, plain white uppercase menu,
   pink pill Book Now button. */
@media (min-width: 80rem) {
  :root { --header-h: 104px; }
  .site-nav a:not(.btn), .submenu-toggle { white-space: nowrap; }
  body { padding-bottom: 0; }
  .brand img { height: 60px; }
  .nav-toggle { display: none; }
  .site-header .wrap { max-width: 90rem; }
  .header-inner { position: relative; align-items: center; padding-top: 20px; padding-bottom: 20px; }
  .site-nav, .site-nav[hidden] { display: flex; align-items: center; gap: 28px; margin-left: auto; }
  .site-nav > ul { display: flex; align-items: center; gap: 24px; }
  .site-nav > ul > li { position: relative; }
  .site-nav > ul > li > a:not(.btn), .site-nav > ul > li > .submenu-toggle {
    min-height: 44px; padding: 0; width: auto; border-bottom: 3px solid transparent;
    font: 600 .95rem var(--font-head); letter-spacing: .04em; color: var(--white);
  }
  .site-nav > ul > li > a:not(.btn):hover, .site-nav > ul > li > .submenu-toggle:hover,
  .site-nav > ul > li > .submenu-toggle[aria-expanded="true"] { color: var(--white); border-bottom-color: var(--aqua); }
  .site-nav > ul > li > a[aria-current="page"] { color: var(--white); border-bottom-color: var(--coral); }
  .nav-book .btn-book {
    white-space: nowrap; min-height: 48px; padding: .8em 1.7em; font-size: .9rem; border-radius: 999px;
    background: var(--coral); color: var(--navy); border: 2px solid rgba(255,255,255,.85);
    box-shadow: 0 4px 0 var(--navy-950), 0 8px 18px rgba(0,0,0,.3);
    transition: background-color .15s, transform .15s, box-shadow .15s;
  }
  .nav-book .btn-book:hover { background: var(--coral-hover); color: var(--navy); transform: translateY(-2px); box-shadow: 0 6px 0 var(--navy-950), 0 12px 22px rgba(0,0,0,.35); }
  .nav-book .btn-book:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--navy-950), 0 4px 10px rgba(0,0,0,.3); }
  .submenu {
    position: absolute; top: calc(100% + 17px); left: -18px; min-width: 280px; background: var(--white);
    border: 0; border-top: 4px solid var(--coral); border-radius: 0 0 10px 10px;
    box-shadow: var(--shadow); padding: 12px 0 !important; margin: 0 !important;
  }
  .site-nav .submenu a:not(.btn) { color: var(--navy); min-height: 0; padding: .7em 1.6em; line-height: 1.35; }
  .site-nav .submenu a:not(.btn):hover { background: var(--mist); color: var(--teal-700); }
  .site-nav .submenu a[aria-current="page"] { color: var(--teal-700); box-shadow: inset 4px 0 0 var(--coral); }
}

/* ---------- Mobile booking bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--navy);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, .25);
}
.mobile-bar .btn { min-height: 48px; padding: .6em .8em; }
.mobile-bar .btn-outline { border-color: var(--white); color: var(--white); }
@media (min-width: 80rem) { .mobile-bar { display: none; } }

/* ---------- Hero ---------- */
/* The photo gets the whole frame, untinted. The headline and buttons sit in a slim navy bar:
   below the photo on phones, along its bottom edge on larger screens. */
.hero { position: relative; color: var(--white); background: var(--navy); overflow: hidden; }
.hero img { display: block; width: 100%; height: 62vh; min-height: 300px; max-height: 560px; object-fit: cover; }
.hero-bar { background: var(--navy); border-top: 5px solid var(--coral); padding: 20px 0 22px; }
.hero-bar-inner { display: flex; flex-direction: column; gap: 14px; }
.hero h1 { color: var(--white); margin: 0; font-size: clamp(1.7rem, 7vw, 2.4rem); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.hero .script { display: block; font-size: .7em; color: var(--aqua); margin-bottom: .1em; }
.hero .btn-row { margin: 0; }
/* Homepage: no hard line above the welcome bar; the photo blends into it with a soft navy fade */
section.hero .hero-bar { position: relative; border-top: 0; }
section.hero .hero-bar::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 90px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(7,38,58,0), var(--navy)); }
@media (min-width: 52rem) {
  section.hero .hero-bar { position: absolute; }
  section.hero .hero-bar::before { height: 120px; background: linear-gradient(to bottom, rgba(7,38,58,0), rgba(7,38,58,.9)); }
}
/* Below the desktop menu size the sticky bottom bar already has Book Now, so don't repeat it here */
@media (max-width: 79.99rem) { .hero .btn-book { display: none; } }
@media (min-width: 52rem) {
  .hero img { height: min(80vh, 780px); min-height: 440px; max-height: none; }
  .hero-bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 0; background: rgba(7, 38, 58, .9); }
  .hero-bar-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
  .hero h1 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); }
  .hero .script { display: inline; font-size: .85em; margin: 0 .3em 0 0; }
  .hero .btn-row { flex-wrap: nowrap; flex: none; }
}
/* Inner pages using the homepage-style photo bar (headstyle: bar) */
.page-lead { padding: 40px 0 0; text-align: center; }
.page-lead + .section { padding-top: 28px; }
@media (max-width: 51.99rem) { .page-hero-bar img { height: 46vh; min-height: 260px; } }
.page-hero-bar .hero-bar { position: relative; z-index: 1; }
@media (min-width: 52rem) { .page-hero-bar .hero-bar { position: absolute; } }
/* headstyle: line — photo, thin pink line, then the title on white */
.page-hero-line { border-bottom: 6px solid var(--coral); }
@media (max-width: 51.99rem) { .page-hero-line img { height: 46vh; min-height: 260px; } }
/* headstyle: overlay — title and intro on a white fade at the bottom of the photo */
.page-hero-overlay { position: relative; }
.page-hero-over { position: absolute; left: 0; right: 0; bottom: 0; padding: 90px 0 20px; text-align: center; color: var(--navy);
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,.88) 50%, #fff 100%); }
.hero .page-hero-over h1 { color: var(--navy); margin: 0 0 .2em; font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero-over p { margin: 0 auto; max-width: 50ch; font-size: clamp(1.05rem, 2.2vw, 1.35rem); font-weight: 600; color: var(--navy); }
.page-hero-over .breadcrumb { margin: 0 0 .3em; color: var(--muted); }
.page-hero-over .breadcrumb a { color: var(--teal-700); }
@media (min-width: 52rem) { .page-hero-over { padding: 160px 0 32px; } }
.page-lead-title h1 { color: var(--navy); margin: 0 0 .3em; }
.page-lead-title .breadcrumb { margin: 0 0 .4em; color: var(--muted); }
.page-lead-title .breadcrumb a { color: var(--teal-700); }
.page-hero-bar .breadcrumb { margin: 0 0 .3em; color: #e3edf2; }
.page-hero-bar .breadcrumb a { color: var(--aqua); }
.eyebrow { font: 700 .8rem/1.3 var(--font-head); letter-spacing: .22em; text-transform: uppercase; color: var(--teal-700); margin-bottom: .7em; display: block; }
.hero .eyebrow, .section-dark .eyebrow, .section-teal .eyebrow, .page-title .eyebrow { color: var(--aqua); }
.section-teal .eyebrow { color: var(--white); }

/* Interior page header: photo strip + navy title band */
/* Photo page header: the photo is shown clean, then fades into navy only at the bottom where the
   title sits (phones: title just below the fade; larger screens: title over the faded bottom). */
.page-hero { position: relative; background: var(--navy); color: var(--white); border-bottom: 6px solid var(--coral); overflow: hidden; }
.page-hero-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.page-hero-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(to bottom, rgba(7,38,58,0) 0%, rgba(7,38,58,.6) 55%, var(--navy) 100%); }
.page-hero-text { position: relative; z-index: 1; margin-top: -28px; }
.page-hero-intro { position: relative; padding-bottom: 30px; }
.page-hero-intro p { margin-top: .5em; }
.page-hero h1 { color: var(--white); margin: 0; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.page-hero p { margin: .6em 0 0; color: #e3edf2; max-width: 60ch; font-size: 1.15rem; }
.page-hero .breadcrumb { color: #e3edf2; }
.page-hero a:not(.btn) { color: var(--aqua); }
.page-hero :focus-visible { outline-color: var(--aqua); }
@media (min-width: 52rem) {
  .page-hero-media { aspect-ratio: auto; height: min(74vh, 640px); min-height: 420px; }
  /* The fade is attached to the text block, so it starts 120px above the title whatever its
     length: the photo above stays clear and the text always sits on at least 88% navy. */
  .page-hero-media::after { display: none; }
  .page-hero-media { height: min(70vh, 600px); }
  .page-hero h1 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
  .page-hero-text { position: absolute; left: 0; right: 0; top: auto; bottom: auto; margin: 0; padding-bottom: 20px; transform: translateY(-100%); }
  .page-hero-intro { padding-bottom: 36px; }
  .page-hero-intro p { margin-top: 0; }
  .page-hero-text::before {
    content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: -120px; bottom: 0;
    background: linear-gradient(to bottom, rgba(7,38,58,0) 0, rgba(7,38,58,.55) 60px, rgba(7,38,58,.88) 120px, rgba(7,38,58,.94) 100%);
  }
  .page-hero p { text-shadow: 0 1px 8px rgba(0,0,0,.4); }
}
.page-title { background: var(--navy); color: var(--white); padding: 32px 0 30px; border-bottom: 6px solid var(--coral); }
.page-title h1 { margin: 0; color: var(--white); }
.page-title p { margin: .6em 0 0; color: #d4e3eb; max-width: 60ch; font-size: 1.15rem; }
.page-title a:not(.btn) { color: var(--aqua); }
/* Split page header: whole photo beside the title (used where a wide crop would cut the photo apart) */
.page-title-split { padding: 0 0 30px; }
.page-title-split .wrap { display: grid; gap: 24px; }
.pts-photo { margin: 0 -16px; }
.pts-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
@media (min-width: 52rem) {
  .page-title-split { padding: 48px 0; }
  .page-title-split .wrap { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .pts-photo { order: 2; margin: 0; }
  .pts-photo img { border-radius: var(--radius); max-height: 520px; box-shadow: 0 16px 40px rgba(0,0,0,.4); }
}
.breadcrumb { font: 700 .8rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; margin-bottom: .7em; color: #d4e3eb; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--mist); }
.section-deep { background: #dce8ec; } /* a few shades darker than --mist so it stands apart from white sections */
.section-dark { background: var(--navy); color: var(--white); }
.section-teal { background: var(--teal); color: var(--white); }
.section-dark h2, .section-dark h3, .section-teal h2, .section-teal h3 { color: var(--white); }
.section-dark a:not(.btn) { color: var(--aqua); }
.section-teal a:not(.btn) { color: var(--white); }
.section-dark .lead { color: #d4e3eb; }
.section-teal .lead, .section-teal p { color: var(--white); }
.section-teal .card p, .section-teal .panel p { color: var(--ink); }
.lead { font-size: 1.3rem; color: var(--muted); max-width: 62ch; }
.prose { max-width: 70ch; }
.center { text-align: center; }
.center .lead, .center .prose { margin-left: auto; margin-right: auto; }
@media (min-width: 48rem) { .section { padding: 88px 0; } }
.section-intro { font-size: clamp(1.3rem, 3vw, 1.7rem); line-height: 1.5; font-weight: 600; color: var(--navy); max-width: 50ch; margin: 0 auto; }

.split { display: grid; gap: 30px; align-items: center; }
@media (min-width: 52rem) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split.reverse > :first-child { order: 2; }
}
.split img, .rounded { border-radius: var(--radius); }
/* Two photos side by side at exactly the same size */
.photo-pair { display: grid; gap: 20px; margin-top: 1.5em; }
.photo-pair img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 40rem) { .photo-pair { grid-template-columns: 1fr 1fr; } }
/* Photo as a section background that fades into the header navy (homepage "oceanfront lifestyle") */
.photo-fade { position: relative; overflow: hidden; padding-top: 0; background: var(--navy-800); color: var(--white); }
.photo-fade p, .photo-fade .eyebrow { color: var(--white); }
/* Heading and button use the logo's pink */
.photo-fade h2 { color: var(--logo-pink); font-size: clamp(1.5rem, 2.7vw, 2.4rem); } /* sized to stay on one line */
.photo-fade .btn { background: var(--logo-pink); border-color: var(--logo-pink); color: var(--navy); }
.photo-fade .btn:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.photo-fade-media { position: relative; height: 300px; }
.photo-fade-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-fade-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11,58,87,0) 45%, var(--navy-800) 100%); }
.photo-fade-text { position: relative; margin-top: -24px; }
@media (min-width: 52rem) {
  .photo-fade { padding: 96px 0; }
  .photo-fade-media { position: absolute; top: 0; bottom: 0; left: 0; width: 65%; height: auto; }
  .photo-fade-media::after { background: linear-gradient(to right, rgba(11,58,87,0) 35%, rgba(11,58,87,.85) 80%, var(--navy-800) 100%); }
  .photo-fade-text { margin: 0 0 0 auto; max-width: min(34rem, calc(50% - 40px)); }
}
.section-dark .split img, .section-teal .split img { box-shadow: 0 16px 40px rgba(0,0,0,.35); }

.grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Cards (rooms, condos, things to do) */
.card { position: relative; background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 6px 22px rgba(7,38,58,.14); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 14px 34px rgba(7,38,58,.24); transform: translateY(-3px); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); border-bottom: 5px solid var(--coral); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; color: var(--ink); }
.card-body h3 { margin-bottom: .35em; font-weight: 600; color: var(--navy); }
.card-body h3 a { color: inherit; text-decoration: none; }
.card-body h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.card-body p { color: var(--muted); margin-bottom: .9em; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 .9em; padding: 0; list-style: none; }
.tag { display: inline-block; font: 700 .75rem/1.3 var(--font-head); letter-spacing: .08em; text-transform: uppercase; padding: .45em .8em; border-radius: 4px; background: var(--navy); color: var(--white); }
.tag-teal { background: var(--teal); }
.card-link { margin-top: auto; font: 800 .8rem var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700); }

/* Feature/amenity lists */
.check-list { list-style: none; padding: 0; display: grid; gap: 10px 28px; }
@media (min-width: 40rem) { .check-list.cols { grid-template-columns: repeat(2, 1fr); } }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal) 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.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.section-teal .check-list li::before, .section-dark .check-list li::before { background-color: var(--coral); }
.panel { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: 0 6px 22px rgba(7,38,58,.12); border-top: 5px solid var(--teal); }
.panel h2, .panel h3 { color: var(--navy); }
.deal-pct { font: 700 clamp(3.2rem, 9vw, 4.6rem)/1 var(--font-head); color: var(--navy); margin: .1em 0 .2em; }
.deal h2, .deal h3 { font-size: 1.5rem; color: var(--navy); }
/* Blackout-date calendar (Specials page) */
.cal-intro { max-width: 60ch; margin: 0 auto 1em; }
.cal-key { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; list-style: none; padding: 0; margin: 0 0 28px; font-weight: 600; }
.cal-key li { display: flex; align-items: center; gap: 8px; }
.cal-dot { width: 18px; height: 18px; border-radius: 50%; display: inline-block; }
.cal-dot.ok { background: var(--aqua-tint); border: 2px solid var(--teal); }
.cal-dot.no { background: var(--coral); border: 2px solid #f08f8e; }
.cal-dot.off { background: var(--mist); border: 2px solid var(--line); }
.cal-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.cal { margin: 0; background: var(--white); border-radius: 18px; padding: 16px 16px 14px; box-shadow: 0 6px 22px rgba(7,38,58,.10); border-top: 6px solid var(--aqua); }
.cal table { width: 100%; border-collapse: separate; border-spacing: 3px; table-layout: fixed; }
.cal caption { font: 700 1.25rem var(--font-head); color: var(--navy); padding-bottom: .4em; }
.cal th { font: 700 .72rem var(--font-head); color: var(--muted); letter-spacing: .06em; padding-bottom: 2px; }
.cal td { text-align: center; font-size: .9rem; font-weight: 600; height: 32px; border-radius: 10px; }
.cal td.ok { background: var(--aqua-tint); color: var(--navy); }
.cal td.no { background: var(--coral); color: var(--navy); font-weight: 800; }
.cal td.no span[title] { text-decoration: line-through; text-decoration-thickness: 2px; }
.cal td.off { color: #8a9ba5; }
.cal figcaption { margin-top: 8px; font-size: .85rem; color: var(--muted); text-align: center; min-height: 2.4em; }
/* Tabs (Specials page) */
.tabs-bar { padding: 32px 0 0; }
.tabs { scroll-margin-top: 110px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; border-bottom: 3px solid var(--line); padding-bottom: 14px; }
.tab { display: inline-flex; align-items: center; min-height: 48px; padding: .7em 1.4em; border-radius: 999px; border: 2px solid var(--navy);
  font: 700 .95rem/1.2 var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--navy); text-decoration: none; background: var(--white); }
.tab:hover { background: var(--mist); color: var(--navy); }
.tab[aria-selected="true"] { background: var(--navy); color: var(--white); }
.tab-panel:focus { outline: none; }
.tab-panel > .section:first-child { padding-top: 32px; }
/* Memorial Day banner (from the owner's design): navy sky, stars, fireworks, red-and-white stripe */
.md-hero { position: relative; overflow: hidden; text-align: center; color: var(--white); padding: 72px 16px 84px; margin-top: 24px;
  background: radial-gradient(ellipse at 20% 110%, rgba(246,239,226,.35), transparent 55%), linear-gradient(160deg, #0b1f38 0%, #14365d 55%, #1e4a7a 100%); }
.md-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16px; background: repeating-linear-gradient(90deg, #c8312f 0 60px, #fff 60px 120px); }
.md-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.md-hero h2 { position: relative; margin: 0; color: var(--white); text-transform: uppercase; letter-spacing: .03em; font-size: clamp(2rem, 6vw, 4.2rem); text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.md-dates { position: relative; margin: .5em 0 0; font-weight: 700; font-size: clamp(1.05rem, 2.4vw, 1.5rem); color: var(--white); }
.md-badge { position: relative; display: inline-block; margin: 1.4em 0 0; padding: .6em 1.6em; border-radius: 999px; background: #c8312f; color: var(--white);
  font: 700 clamp(.95rem, 2vw, 1.2rem) var(--font-head); letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.deal-free { background: var(--coral); border-top: 5px solid var(--navy); }
.deal-free .deal-pct, .deal-free h3, .deal-free p, .deal-free .deal-pct span { color: var(--navy); }
.deal-group-head { text-align: center; margin: 1.6em 0 .8em; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy); }
.deal-group-head img { display: inline-block; height: 64px; width: auto; }
.deal-group-head span { display: block; margin-top: .2em; font: 700 .8rem/1.3 var(--font-head); letter-spacing: .22em; text-transform: uppercase; color: var(--teal-700); }
.deal-pct span { font-size: .4em; text-transform: uppercase; letter-spacing: .1em; color: var(--teal-700); }

/* Room / condo detail blocks */
.unit { padding: 48px 0; border-top: 2px solid var(--line); }
.unit:first-of-type { border-top: 0; }
.unit-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 14px; }
.unit-head h2 { margin: 0; }
.unit-facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1.1em; }
.unit-body { display: grid; gap: 26px; }
@media (min-width: 60rem) { .unit-body { grid-template-columns: 1fr 1.25fr; gap: 44px; align-items: start; } }
.floorplan { margin: 1em 0 0; }
.floorplan img { border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.floorplan figcaption { font-size: .9rem; color: var(--muted); margin-top: .4em; }

/* Galleries: swipeable row on phones, grid on larger screens */
.gallery { list-style: none; margin: 0; padding: 0 0 6px; display: grid; grid-auto-flow: column; grid-auto-columns: 85%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.gallery li { scroll-snap-align: start; }
.gallery a { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.05); }
.gallery-hint { font-size: .9rem; color: var(--muted); margin: .4em 0 0; }
.section-dark .gallery-hint, .section-teal .gallery-hint { color: #d4e3eb; }
@media (min-width: 40rem) {
  .gallery { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .gallery-hint { display: none; }
}
.gallery-sub { font: 800 .85rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin: 1.6em 0 .7em; }
.section-dark .gallery-sub, .section-teal .gallery-sub { color: var(--white); }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(4, 26, 40, .94); }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 56px 8px; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lightbox-caption { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; color: var(--white); font-size: .95rem; padding: 0 60px; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--white); background: rgba(7,38,58,.8); color: var(--white); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.lb-btn:focus-visible { outline: 3px solid var(--aqua); }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* Notices */
.notice { border-left: 6px solid var(--coral); background: var(--coral-tint); padding: 18px 22px; border-radius: 0 8px 8px 0; margin: 0 0 1.5em; color: var(--ink); }
.notice p:last-child { margin-bottom: 0; }
.notice strong { color: var(--navy); }
.notice a { color: var(--teal-700); }

/* Tables (package rates) */
.table-wrap { overflow-x: auto; }
/* Two columns that start and end together: the photo under the text fills whatever height is left */
.fill-photo img { display: block; width: 100%; height: 260px; object-fit: cover; object-position: 50% 0%; border-radius: var(--radius); margin-top: 1.2em; }
@media (min-width: 52rem) {
  .split-equal { align-items: stretch; }
  .split-equal > div { display: flex; flex-direction: column; }
  .split-equal > div > ul { margin-bottom: 0; }
  .split-equal .rates { flex: 1; }
  .split-equal .fill-photo { flex: 1; position: relative; min-height: 220px; margin-top: 1.2em; }
  .split-equal .fill-photo img { position: absolute; inset: 0; height: 100%; margin: 0; }
}
.rates { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 22px rgba(7,38,58,.12); }
.rates caption { text-align: left; font: 800 1.3rem var(--font-head); text-transform: uppercase; color: var(--navy); padding-bottom: .6em; }
.rates th, .rates td { padding: .8em 1em; text-align: left; border-bottom: 1px solid var(--line); }
.rates thead th { background: var(--navy); color: var(--white); font: 700 .8rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; }
.rates td:last-child, .rates th:last-child { text-align: right; white-space: nowrap; font-weight: 700; }
.rates tr.season td { background: var(--coral); color: var(--navy); font: 800 .85rem var(--font-head); letter-spacing: .12em; text-transform: uppercase; text-align: left; }

/* Policies */
.policy-nav { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 2em; }
.policy-nav a { display: inline-block; padding: .5em 1em; border-radius: 4px; background: var(--navy); color: var(--white); text-decoration: none; font: 700 .78rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; }
.policy-nav a:hover { background: var(--teal); color: var(--white); }
.policy { padding: 1.5em 0; border-top: 2px solid var(--line); }
.policy h2 { font-size: 1.35rem; }

/* FAQ: native details/summary, so it opens with a tap, click, Enter or Space */
.faq-wrap { max-width: 52rem; }
.faq-wrap h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 4vw, 2rem); }
.faq-block { margin-top: 2.5em; padding-top: 2em; border-top: 4px solid var(--coral); }
.faq-block h3 { margin: 1.6em 0 .2em; }
.faq { border-bottom: 2px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative; padding: 18px 48px 18px 0;
  font: 600 1.12rem/1.35 var(--font-head); color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%; background: var(--teal); color: var(--white);
  font: 600 1.4rem/32px var(--font-head); text-align: center;
}
.faq[open] summary::after { content: "\2212"; background: var(--coral); color: var(--navy); }
.faq summary:hover { color: var(--teal-700); }
.faq-a { padding: 0 0 20px; color: var(--ink); }
.faq-a p:last-child, .faq-a ul:last-child { margin-bottom: 0; }

/* Menu (cafe) */
.menu-list { list-style: none; padding: 0; display: grid; gap: 16px; }
@media (min-width: 48rem) { .menu-list { grid-template-columns: 1fr 1fr; gap: 18px 44px; } }
.menu-list li { border-left: 4px solid var(--coral); padding-left: 14px; }
.menu-list strong { display: block; color: var(--navy); font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: 1rem; }
.menu-list span { color: var(--muted); }


/* Things to do */
.activity { display: grid; gap: 20px; padding: 32px 0; border-top: 2px solid var(--line); align-items: center; }
.activity:first-child { border-top: 0; }
.activity img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: 0 6px 22px rgba(7,38,58,.14); }
@media (min-width: 48rem) { .activity { grid-template-columns: 340px 1fr; gap: 40px; } }
.activity-photo { margin: 0; }
.photo-credit { font-size: .8rem; color: var(--muted); margin-top: .45em; }
.photo-credit a { color: var(--muted); font-weight: 600; }

/* Contact block */
.contact-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--teal-700); }
.section-dark .contact-list svg, .site-footer .contact-list svg { color: var(--aqua); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #d4e3eb; padding: 56px 0 24px; border-top: 6px solid var(--coral); }
.site-footer a:not(.btn) { color: var(--white); font-weight: 600; }
.site-footer a:not(.btn):hover { color: var(--aqua); }
.footer-grid { display: grid; gap: 34px; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; } }
.footer-logo { width: 170px; margin-bottom: 18px; }
.site-footer h2 { font: 800 .85rem var(--font-head); color: var(--aqua); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1em; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer-links a { display: inline-block; padding: 6px 0; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.social { display: flex; gap: 12px; margin-top: 14px; }
.social a { display: inline-flex; width: 46px; height: 46px; border-radius: 50%; align-items: center; justify-content: center; background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.4); }
.social a:hover { border-color: var(--aqua); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.security-alert { margin: 36px 0 0; padding: 14px 18px; border-left: 5px solid var(--coral); border-radius: 0 8px 8px 0; background: rgba(255,255,255,.07); color: var(--white); font-size: .92rem; line-height: 1.55; }
.security-alert strong { color: var(--coral); letter-spacing: .04em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); margin-top: 24px; padding-top: 18px; font-size: .9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
