/*
Theme Name: Caribbean Waterpark
Theme URI: https://caribbean-waterpark.com
Author: Caribbean Waterpark & Resotel
Description: Full website theme for Caribbean Waterpark & Resotel, Bacolod City
Version: 1.6.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: caribbean-waterpark
*/

/* ============================================================
   CSS VARIABLES
============================================================ */
:root {
  --cw-navy:     #0D2960;
  --cw-navy-mid: #4A9AB5;
  --cw-ocean:    #3BA8A0;
  --cw-gold:     #E89A30;
  --cw-coral:    #E07040;
  --cw-light:    #FFF4DC;
  --cw-sandy:    #FEF3E2;
  --cw-white:    #ffffff;
  --cw-gray:     #6A7D8A;
  --cw-text:     #1A2F3A;
  --cw-radius:   18px;
  --cw-shadow:   0 4px 20px rgba(14,107,142,0.12);
  --cw-shadow-lg:0 8px 40px rgba(14,107,142,0.18);
}

/* ============================================================
   BASE RESET
============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; padding: 0; font-family: 'Nunito', sans-serif; color: var(--cw-text); background: var(--cw-sandy); overflow-x: hidden; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--cw-ocean); text-decoration: none; }

/* ── Kill all WordPress FSE block gap / default spacing ── */
.wp-site-blocks                       { --wp--style--block-gap: 0 !important; }
.wp-site-blocks > *                   { margin-block-start: 0 !important; margin-block-end: 0 !important; }
.wp-block-template-part               { display: block; margin: 0 !important; }
.wp-block-group                       { margin: 0 !important; }
main.wp-block-group                   { padding: 0 !important; }

/* ============================================================
   STICKY NAVIGATION
============================================================ */
.cw-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #ffffff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(14,107,142,0.06);
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s ease;
}

.cw-nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none !important;
  flex-shrink: 0;
  padding: 0.5rem 0.75rem 0.5rem 0;
}

.cw-nav-logo img {
  height: 62px;
  width: auto;
}

.cw-nav-logo-text {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.cw-nav-logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cw-nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cw-nav-links a {
  display: block;
  padding: 0.4rem 0.85rem;
  color: var(--cw-navy) !important;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
  text-decoration: none !important;
}

.cw-nav-links a:hover,
.cw-nav-links a.active {
  color: var(--cw-ocean) !important;
  background: rgba(59,168,160,0.08);
}

.cw-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.4rem;
  background: var(--cw-coral);
  color: #ffffff !important;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 50px;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.cw-nav-cta:hover {
  background: #C05020;
  transform: scale(1.03);
}

/* Hamburger */
.cw-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.cw-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cw-navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile nav */
@media (max-width: 900px) {
  .cw-nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 1rem 2rem 1.5rem;
    gap: 0.25rem;
    border-bottom: 1px solid rgba(14,107,142,0.06);
    box-shadow: 0 4px 16px rgba(14,107,142,0.06);
  }

  .cw-nav-links.open { display: flex; }
  .cw-nav-links a { padding: 0.6rem 0.5rem; font-size: 1rem; }
  .cw-nav-toggle { display: flex; }
  .cw-nav-logo-img { height: auto; max-height: 42px; max-width: 180px; }
  .cw-footer-logo-img { height: auto; max-height: 42px; max-width: 180px; }
  .cw-nav { height: 52px; padding: 0 0.75rem; gap: 0.5rem; }
  .cw-nav-cta { padding: 0.4rem 0.75rem; font-size: 0.75rem; }
  .cw-nav-links { top: 52px; }
  .wp-site-blocks { padding-top: 52px; }
}

/* ============================================================
   PAGE OFFSET (accounts for fixed nav)
============================================================ */
.wp-site-blocks { padding-top: 72px; }

/* ============================================================
   HERO (Full page)
============================================================ */
.cw-hero {
  position: relative;
  min-height: calc(100vh - 72px);
  min-height: calc(100dvh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--cw-navy);
}

.cw-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/wp-content/themes/caribbean-waterpark/assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center bottom;
  z-index: 0;
}

.cw-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(14,107,142,0.70) 0%, rgba(14,107,142,0.50) 55%, rgba(224,112,64,0.15) 100%);
  z-index: 1;
}

.cw-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.cw-hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cw-gold);
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(216,124,16,0.45);
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.cw-hero-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.cw-hero-title em {
  font-style: normal;
  color: var(--cw-gold);
}

.cw-hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #ffffff;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  line-height: 1.7;
}

.cw-hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cw-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: var(--cw-radius);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.cw-btn--primary {
  background: var(--cw-coral);
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(224,112,64,0.35);
}

.cw-btn--primary:hover {
  background: #C05020;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(224,112,64,0.48);
}

.cw-btn--outline {
  background: rgba(255,255,255,0.12);
  color: #ffffff !important;
  border: 2px solid rgba(255,255,255,0.50);
  backdrop-filter: blur(6px);
}

.cw-btn--outline:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.80);
}

.cw-btn--ocean {
  background: var(--cw-ocean);
  color: #ffffff !important;
}

.cw-btn--ocean:hover {
  background: #2A7870;
  transform: translateY(-2px);
}

/* ============================================================
   HIGHLIGHTS BAR
============================================================ */
.cw-highlights {
  background: var(--cw-light);
  padding: 0;
}

.cw-highlights-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
  margin: 0 auto;
}

.cw-highlight-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 1.5rem 1.25rem;
  gap: 0.85rem;
  text-align: left;
}

.cw-highlight-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--cw-navy);
  line-height: 1;
}

.cw-highlight-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(14,107,142,0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .cw-highlights-inner { grid-template-columns: repeat(2, 1fr); }
  .cw-highlight-item:nth-child(2) { border-right: none; }
}

@media (max-width: 500px) {
  .cw-highlights-inner { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTIONS
============================================================ */
.cw-section {
  padding: 5rem 1.5rem;
  background: var(--cw-sandy);
}

.cw-section--light { background: var(--cw-light); }
.cw-section--dark  { background: var(--cw-navy); color: #fff; }
.cw-section--navy-mid { background: var(--cw-ocean); color: #fff; }
.cw-section--white { background: #fff; }

.cw-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.cw-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.cw-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cw-navy);
  margin-bottom: 0.75rem;
}

.cw-section--dark  .cw-eyebrow,
.cw-section--navy-mid .cw-eyebrow { color: var(--cw-gold); }

.cw-section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--cw-navy);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.cw-section--dark  .cw-section-title,
.cw-section--navy-mid .cw-section-title { color: #ffffff; }

.cw-section-sub {
  font-size: 1rem;
  color: var(--cw-gray);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.cw-section--dark  .cw-section-sub,
.cw-section--navy-mid .cw-section-sub { color: rgba(255,255,255,0.65); }

/* ============================================================
   CARD GRID
============================================================ */
.cw-card-grid {
  display: grid;
  gap: 1.5rem;
}

.cw-card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cw-card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cw-card-grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .cw-card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .cw-card-grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .cw-card-grid--4,
  .cw-card-grid--3,
  .cw-card-grid--2 { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   MOBILE: attractions row scrolls sideways
   .cw-card-grid--4 is the 4-up Attractions & Facilities row on the
   home page. As a grid it collapsed to two cramped columns between
   580 and 900px, then to a very tall single column below that. On
   narrow screens it becomes a snap-scrolling row instead: one card
   at a time, swiped horizontally.
------------------------------------------------------------ */
@media (max-width: 900px) {
  .cw-card-grid--4 {
    display: flex;
    grid-template-columns: none;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    /* Bleed past .cw-section's 1.5rem padding so cards can scroll to
       the screen edge, then re-inset the content and the snap point. */
    margin-inline: -1.5rem;
    padding-inline: 1.5rem;
    scroll-padding-inline: 1.5rem;
    /* Vertical room so the card shadow and hover lift are not clipped
       by the scroll container. */
    padding-block: 0.5rem 1rem;
    scrollbar-width: none;              /* Firefox */
    -ms-overflow-style: none;           /* legacy Edge */
  }

  .cw-card-grid--4::-webkit-scrollbar { display: none; }

  .cw-card-grid--4 > * {
    flex: 0 0 78%;
    max-width: 300px;
    scroll-snap-align: start;
  }
}

/* Swipe affordance - only meaningful while the row is scrollable. */
.cw-swipe-hint { display: none; }

@media (max-width: 900px) {
  .cw-swipe-hint {
    display: block;
    text-align: center;
    margin: 0.75rem 0 0;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--cw-gray);
  }
}

/* ============================================================
   ATTRACTION CARDS
============================================================ */
.cw-attraction-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--cw-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;
  overflow: visible;
}

.cw-attraction-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--cw-shadow-lg);
}

.cw-attraction-card-img {
  display: block;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cw-navy-mid), var(--cw-ocean));
  border-radius: 16px 16px 0 0;
}

.cw-attraction-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cw-attraction-card-body {
  display: block;
  padding: 1.5rem;
  background: #fff;
  border-radius: 0 0 16px 16px;
}

.cw-attraction-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--cw-navy);
  margin: 0 0 0.5rem;
}

.cw-attraction-card-desc {
  font-size: 0.875rem;
  color: var(--cw-gray);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   SLIDES COLLAGE
============================================================ */
.cw-slides-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 12px;
  border-radius: 16px;
  overflow: hidden;
}

.cw-slides-collage-img {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(135deg, var(--cw-navy-mid), var(--cw-ocean));
}

.cw-slides-collage-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cw-slides-collage-img:hover img {
  transform: scale(1.04);
}

.cw-slides-collage-img--tall {
  grid-row: span 2;
}

@media (max-width: 600px) {
  .cw-slides-collage {
    grid-template-columns: 1fr;
    grid-template-rows: 240px 200px 200px;
  }
  .cw-slides-collage-img--tall {
    grid-row: span 1;
  }
}

/* ============================================================
   RATES TABLE
============================================================ */
.cw-rates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 700px) {
  .cw-rates-grid { grid-template-columns: 1fr; }
}

.cw-rate-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--cw-shadow);
  border-top: 4px solid var(--cw-ocean);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.cw-rate-card--featured {
  border-top-color: var(--cw-gold);
  transform: scale(1.03);
  box-shadow: var(--cw-shadow-lg);
}

.cw-rate-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cw-gray);
}

.cw-rate-card-price {
  font-size: 4rem;
  font-weight: 900;
  color: var(--cw-navy);
  line-height: 1;
}

.cw-rate-card-price sup {
  font-size: 1.5rem;
  vertical-align: super;
  font-weight: 700;
}

.cw-rate-card-note {
  font-size: 0.8rem;
  color: var(--cw-gray);
  line-height: 1.5;
}

.cw-rate-card-includes {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--cw-gray);
  text-align: left;
  width: 100%;
}

.cw-rate-card-includes li {
  padding: 0.3rem 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cw-rate-card-includes li::before {
  content: "✓";
  color: var(--cw-gold);
  font-weight: 700;
  flex-shrink: 0;
}

/* Cabana / add-on cards */
.cw-addon-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--cw-shadow);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.cw-addon-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(59,168,160,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cw-addon-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--cw-ocean);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cw-addon-info { flex: 1; }

.cw-addon-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--cw-navy);
  margin: 0 0 0.2rem;
}

.cw-addon-desc {
  font-size: 0.82rem;
  color: var(--cw-gray);
  margin: 0;
}

.cw-addon-price {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--cw-coral);
  white-space: nowrap;
}

/* ============================================================
   ROOM CARDS
============================================================ */
.cw-room-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--cw-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cw-room-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--cw-shadow-lg);
}

.cw-room-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--cw-navy), var(--cw-navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 3rem;
  flex-shrink: 0;
}

.cw-room-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cw-room-card-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--cw-navy);
  margin: 0 0 0.4rem;
}

.cw-room-card-desc {
  font-size: 0.875rem;
  color: var(--cw-gray);
  line-height: 1.6;
  margin: 0 0 1rem;
  flex: 1;
}

.cw-room-amenity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.35rem 0 0.5rem;
}

.cw-room-amenity-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--cw-navy);
  background: rgba(14,107,142,0.08);
  border-radius: 20px;
  padding: 0.2rem 0.6rem;
  white-space: nowrap;
}

.cw-room-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #f0f4f8;
}

.cw-room-card-price {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--cw-navy);
}

.cw-room-card-price small {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--cw-gray);
}

/* ============================================================
   ABOUT SECTION
============================================================ */
.cw-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .cw-about-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.cw-about-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--cw-shadow-lg);
  background: linear-gradient(135deg, var(--cw-navy-mid), var(--cw-ocean));
}

.cw-about-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  color: var(--cw-navy);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.cw-about-text p {
  font-size: 1rem;
  color: var(--cw-gray);
  line-height: 1.75;
  margin: 0 0 1.5rem;
}

.cw-amenity-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.cw-amenity-list li {
  font-size: 0.9rem;
  color: var(--cw-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.cw-amenity-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cw-gold);
  flex-shrink: 0;
}

/* ============================================================
   PAGE HERO (inner pages)
============================================================ */
.cw-page-hero {
  background: var(--cw-navy);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cw-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/wp-content/themes/caribbean-waterpark/assets/images/hero-bg.jpg') center/cover;
  opacity: 0.18;
}

.cw-page-hero-content {
  position: relative;
  z-index: 1;
}

.cw-page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.cw-page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.70);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ============================================================
   CONTACT STRIP
============================================================ */
/* ============================================================
   FOOTER
============================================================ */
.cw-footer {
  background: #0E6B8E;
  padding: 3rem 2rem 0;
}

.cw-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.cw-footer-col--brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cw-footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.60);
  line-height: 1.6;
  margin: 0;
  max-width: 260px;
}

.cw-footer-col-heading {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cw-gold);
  margin: 0 0 0.75rem;
}

.cw-footer-col-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin: 0;
}

.cw-footer-col-text a {
  color: rgba(255,255,255,0.85) !important;
  text-decoration: none;
  transition: color 0.2s;
}

.cw-footer-col-text a:hover { color: #ffffff !important; }

.cw-footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.cw-footer-nav a {
  color: rgba(255,255,255,0.70) !important;
  font-size: 0.82rem;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.cw-footer-nav a:hover { color: #ffffff !important; }

.cw-footer-social {
  display: flex;
  gap: 0.5rem;
}

.cw-footer-social a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.cw-footer-social a:hover { background: rgba(255,255,255,0.25); }

.cw-footer-bottom {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1rem 0;
}

.cw-footer-copy {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
  margin: 0;
}

@media (max-width: 760px) {
  .cw-footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .cw-footer-col--brand { grid-column: 1 / -1; }
  .cw-footer-tagline { max-width: 100%; }
}

@media (max-width: 480px) {
  .cw-footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ============================================================
   RATES CTA BAND
============================================================ */
.cw-cta-band {
  background: var(--cw-coral);
  padding: 4rem 1.5rem;
  text-align: center;
}

.cw-cta-band h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 0.75rem;
}

.cw-cta-band p {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin: 0 0 2rem;
}

.cw-btn--white {
  background: #ffffff;
  color: var(--cw-coral) !important;
}

.cw-btn--white:hover {
  background: #fff5f5;
  transform: translateY(-2px);
}

/* ============================================================
   PAGE TEMPLATES
============================================================ */
.cw-section-divider {
  height: 1px;
  background: #e8edf2;
  margin: 0;
}

/* ============================================================
   SCROLL ANIMATIONS
============================================================ */
.animate-on-scroll {
  opacity: 1;
}

.animate-on-scroll.is-visible {
  opacity: 1;
}

/* ============================================================
   REDUCED MOTION
============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   LOGO — NAV & FOOTER
============================================================ */
.cw-nav-logo-img {
  height: 56px;
  width: auto;
  display: block;
}

.cw-footer-logo-img {
  height: 56px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  align-self: flex-start;
}

/* ============================================================
   CONTACT WIDGET (fixed, bottom-right)
============================================================ */
.cw-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.cw-widget-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18), 0 2px 8px rgba(14,107,142,0.06);
  width: 300px;
  overflow: hidden;
  transform: translateY(10px) scale(0.97);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: bottom right;
}

.cw-widget-card.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.cw-widget-card-header {
  background: var(--cw-navy);
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cw-widget-card-header span {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cw-widget-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  padding: 0;
  font-size: 1.1rem;
  line-height: 1;
  transition: color 0.2s ease;
  font-family: inherit;
}

.cw-widget-close:hover { color: #ffffff; }

.cw-widget-body {
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cw-widget-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.cw-widget-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(59,168,160,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cw-widget-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--cw-ocean);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cw-widget-icon--fb { background: rgba(59,168,160,0.10); }

.cw-widget-info { flex: 1; min-width: 0; }

.cw-widget-label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cw-gray);
  margin-bottom: 0.2rem;
}

.cw-widget-value {
  font-size: 0.84rem;
  color: var(--cw-text);
  line-height: 1.5;
}

.cw-widget-value a {
  color: var(--cw-ocean) !important;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cw-widget-value a:hover { text-decoration: underline; }

.cw-widget-book-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--cw-coral);
  color: #ffffff !important;
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none !important;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  margin-top: 0.25rem;
  transition: background 0.2s ease;
}

.cw-widget-book-btn:hover { background: #c0392b; }

@keyframes cw-widget-pulse {
  0%   { box-shadow: 0 6px 28px rgba(14,107,142,0.45); }
  50%  { box-shadow: 0 6px 28px rgba(14,107,142,0.45), 0 0 0 10px rgba(14,107,142,0.10); }
  100% { box-shadow: 0 6px 28px rgba(14,107,142,0.45); }
}

.cw-widget-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--cw-navy);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 1.1rem 2rem 1.1rem 1.6rem;
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 6px 28px rgba(14,107,142,0.45);
  animation: cw-widget-pulse 3s ease-in-out infinite;
  transition: background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.cw-widget-toggle-btn:hover {
  background: var(--cw-navy-mid);
  transform: translateY(-3px);
  animation: none;
  box-shadow: 0 10px 32px rgba(14,107,142,0.55);
}

.cw-widget-icon-phone {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .cw-widget { bottom: 1rem; right: 1rem; }
  .cw-widget-card { width: calc(100vw - 2rem); max-width: 300px; }
  .cw-widget-toggle-btn span { display: none; }
  .cw-widget-toggle-btn { padding: 0.9rem; border-radius: 50%; }
}

/* ============================================================
   MOBILE STICKY BOOK BAR (Call / Book a Room)
============================================================ */
.cw-mobile-book-bar { display: none; }

@media (max-width: 768px) {
  /* the sticky bar replaces the floating widget on mobile so they don't compete for the same corner */
  .cw-widget { display: none; }

  /* !important needed: WP core's global-styles-inline-css sets body{padding:0} and loads after this stylesheet */
  body { padding-bottom: 68px !important; }

  .cw-mobile-book-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    gap: 0.6rem;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(14,107,142,0.15);
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  }

  .cw-mobile-book-bar-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    text-decoration: none !important;
  }

  .cw-mobile-book-bar-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .cw-mobile-book-bar-btn--call {
    background: var(--cw-light);
    color: var(--cw-navy) !important;
  }

  .cw-mobile-book-bar-btn--book {
    background: var(--cw-coral);
    color: #ffffff !important;
  }
}

/* ============================================================
   ROOM AMENITY FEATURE ICONS
============================================================ */
.cw-amenity-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1rem;
  gap: 0.75rem;
}

.cw-amenity-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cw-amenity-feature-icon svg {
  width: 26px;
  height: 26px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cw-amenity-feature-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

@media (max-width: 600px) {
  .cw-amenity-feature {
    padding: 0.9rem 0.5rem;
    gap: 0.4rem;
  }
  .cw-amenity-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .cw-amenity-feature-icon svg {
    width: 18px;
    height: 18px;
  }
  .cw-amenity-feature-name {
    font-size: 0.72rem;
  }
  /* Removed: a `.cw-card-grid--4 { grid-template-columns: repeat(4, 1fr)
     !important }` rule used to sit here. It was written for the amenity
     row, but .cw-card-grid--4 is only ever used by the Attractions &
     Facilities row on the home page - so on any screen under 600px it
     forced those four cards into four ~88px columns. The row is now a
     horizontal scroller; see "attractions row scrolls sideways" above. */
}

/* ============================================================
   CONTACT PAGE — FORM
============================================================ */
.cw-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cw-form-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 560px) {
  .cw-form-row--2 { grid-template-columns: 1fr; }
}

.cw-form-group {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
}

/* Kill any <p> tags wpautop injects inside form groups */
.cw-form p,
.cw-form-group p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: inherit;
}

.cw-form-group label,
.cw-form p > label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cw-text);
  letter-spacing: 0.02em;
  line-height: 1.3;
  margin: 0 0 4px 0 !important;
  padding: 0 !important;
}

.cw-form-group input,
.cw-form-group textarea,
.cw-form-group select,
.cw-form p > input,
.cw-form p > select,
.cw-form p > textarea {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  color: var(--cw-text);
  background: #FFF8EE;
  border: 1.5px solid #DEC8A0;
  border-radius: 9px;
  padding: 0.7rem 0.9rem;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
  margin: 0 !important;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

.cw-form-group input:focus,
.cw-form-group textarea:focus,
.cw-form-group select:focus {
  border-color: var(--cw-ocean);
  box-shadow: 0 0 0 3px rgba(59,168,160,0.14);
  background: #ffffff;
}

.cw-form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.cw-form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%235a6b7c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.25rem;
  cursor: pointer;
}

.cw-form-submit {
  align-self: flex-start;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  padding: 0.85rem 2.25rem;
  cursor: pointer;
  border: none;
  margin-top: 0.15rem;
}

/* Notices */
.cw-form-notice {
  padding: 0.85rem 1.1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.cw-form-success {
  background: #e8f8f0;
  color: #1a6b3a;
  border-left: 3px solid #27ae60;
}

.cw-form-error {
  background: #fef0f0;
  color: #7a1a1a;
  border-left: 3px solid var(--cw-coral);
}

/* ============================================================
   CONTACT PAGE — INFO STRIP
   4 equal columns, no cards, no height mismatch
============================================================ */
.cw-contact-page-strip {
  background: var(--cw-navy);
  padding: 0;
}

.cw-contact-page-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .cw-contact-page-strip-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 400px) {
  .cw-contact-page-strip-inner { grid-template-columns: 1fr; }
}

.cw-cps-item {
  padding: 2rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cw-cps-item:last-child { border-right: none; }

@media (max-width: 720px) {
  .cw-cps-item:nth-child(2) { border-right: none; }
  .cw-cps-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .cw-cps-item:last-child { border-bottom: none; }
}

.cw-cps-label {
  font-size: 0.60rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--cw-gold);
  margin-bottom: 0.3rem;
}

.cw-cps-value {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.55;
  text-decoration: none !important;
  display: block;
}

a.cw-cps-value:hover { color: #ffffff !important; }

/* ── Mobile: icon-only for widget toggle ── */
@media (max-width: 480px) {
  .cw-widget { bottom: 1rem; right: 1rem; }
  .cw-widget-card { width: calc(100vw - 2rem); max-width: 300px; }
  .cw-widget-toggle-btn {
    padding: 1rem;
    border-radius: 50%;
    animation: cw-widget-pulse 3s ease-in-out infinite;
  }
  .cw-widget-toggle-btn span { display: none; }
}

/* ============================================================
   WAVE DIVIDERS
============================================================ */
.cw-wave {
  display: block;
  overflow: hidden;
  line-height: 0;
  margin: 0;
  padding: 0;
  height: 80px;
  width: 100%;
}

.cw-wave svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 80px;
}

@media (max-width: 600px) {
  .cw-wave { height: 50px; }
  .cw-wave svg { min-height: 50px; }
}

/* ============================================================
   WARM CARD / BORDER OVERRIDES
============================================================ */
.cw-rate-card-includes li {
  border-bottom-color: #F0E4C8;
}

.cw-room-card-footer {
  border-top-color: #F0E4C8;
}

.cw-section-divider {
  background: #F0E4C8;
}

/* ============================================================
   FOOTER — TEAL
============================================================ */
.cw-footer {
  background: var(--cw-ocean);
}

/* ============================================================
   ICON CIRCLES (amenity features on teal section)
============================================================ */
.cw-section--navy-mid .cw-amenity-feature-icon {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.25);
}

/* ============================================================
   PHOTO LIGHTBOX
============================================================ */
.cw-room-card-img,
.cw-attraction-card-img {
  position: relative;
  cursor: pointer;
}

.cw-room-card-img img,
.cw-attraction-card-img img {
  transition: transform 0.35s ease;
}

.cw-room-card-img:hover img,
.cw-attraction-card-img:hover img {
  transform: scale(1.06);
}

.cw-about-img { cursor: pointer; }

.cw-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(13,41,96,0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  padding: 2rem;
}

.cw-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.cw-lightbox-img {
  max-width: min(90vw, 1100px);
  max-height: 78vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.cw-lightbox-caption {
  color: #ffffff;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  max-width: 600px;
}

.cw-lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.cw-lightbox-close:hover { background: rgba(255,255,255,0.3); }

body.cw-lightbox-locked { overflow: hidden; }

@media (max-width: 600px) {
  .cw-lightbox-close { top: 0.75rem; right: 0.75rem; }
}

/* ============================================================
   VERSION 1.2.1
============================================================ */
