/*
Theme Name: Wellcado Surf
Theme URI: https://surf.wellcado.com
Author: Wellcado
Description: Custom-coded theme for Taghazout Surf Resort, Morocco. Locked header/footer, editable Gutenberg page content.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: wellcado-surf
*/

/* ── Brand tokens ─────────────────────────────────────────── */
:root {
  --ocean: #0B5394;
  --ocean-dark: #0A4470;
  --teal: #1F6B7B;
  --sand: #F5E6D3;
  --sunset: #FF6B35;
  --sunset-dark: #E55A2B;
  --terracotta: #C85A35;
  --gold: #D4AF37;
  --charcoal: #1A1A1A;
  --navy: #0D1B2A;
  --seagreen: #4CAF7F;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: #fff;
  color: var(--charcoal);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { font-family: var(--font-display); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--sunset); border-radius: 3px; }

/* Editor palette classes (guaranteed even without global styles) */
.has-navy-background-color { background-color: #0D1B2A; }
.has-ocean-background-color { background-color: #0B5394; }
.has-teal-background-color { background-color: #1F6B7B; }
.has-sand-background-color { background-color: #F5E6D3; }
.has-sunset-background-color { background-color: #FF6B35; }
.has-terracotta-background-color { background-color: #C85A35; }
.has-gold-background-color { background-color: #D4AF37; }
.has-charcoal-background-color { background-color: #1A1A1A; }
.has-seagreen-background-color { background-color: #4CAF7F; }
.has-white-background-color { background-color: #FFFFFF; }
.has-navy-color { color: #0D1B2A; }
.has-ocean-color { color: #0B5394; }
.has-teal-color { color: #1F6B7B; }
.has-sand-color { color: #F5E6D3; }
.has-sunset-color { color: #FF6B35; }
.has-terracotta-color { color: #C85A35; }
.has-gold-color { color: #D4AF37; }
.has-charcoal-color { color: #1A1A1A; }
.has-seagreen-color { color: #4CAF7F; }
.has-white-color { color: #FFFFFF; }

/* ── Moroccan zellige pattern overlays ─────────────────────── */
.has-pattern { position: relative; overflow: hidden; }
.has-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: var(--pattern-opacity, 0.055);
  pointer-events: none;
  background-repeat: repeat;
}
.pattern-gold::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cg fill='none' stroke='%23D4AF37' stroke-width='.7'%3E%3Cpolygon points='36,3 44,16 58,16 49,27 53,42 36,34 19,42 23,27 14,16 28,16'/%3E%3Cpolygon points='36,14 41,22 50,22 44,29 46,38 36,32 26,38 28,29 22,22 31,22'/%3E%3Cline x1='0' y1='36' x2='14' y2='36'/%3E%3Cline x1='58' y1='36' x2='72' y2='36'/%3E%3Cline x1='36' y1='0' x2='36' y2='14'/%3E%3Cline x1='36' y1='58' x2='36' y2='72'/%3E%3Crect x='2' y='2' width='68' height='68' stroke-width='.3' opacity='.4'/%3E%3C/g%3E%3C/svg%3E");
}
.pattern-white::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-width='.7'%3E%3Cpolygon points='36,3 44,16 58,16 49,27 53,42 36,34 19,42 23,27 14,16 28,16'/%3E%3Cpolygon points='36,14 41,22 50,22 44,29 46,38 36,32 26,38 28,29 22,22 31,22'/%3E%3Cline x1='0' y1='36' x2='14' y2='36'/%3E%3Cline x1='58' y1='36' x2='72' y2='36'/%3E%3Cline x1='36' y1='0' x2='36' y2='14'/%3E%3Cline x1='36' y1='58' x2='36' y2='72'/%3E%3Crect x='2' y='2' width='68' height='68' stroke-width='.3' opacity='.4'/%3E%3C/g%3E%3C/svg%3E");
}
.pattern-terracotta::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cg fill='none' stroke='%23C85A35' stroke-width='.7'%3E%3Cpolygon points='36,3 44,16 58,16 49,27 53,42 36,34 19,42 23,27 14,16 28,16'/%3E%3Cpolygon points='36,14 41,22 50,22 44,29 46,38 36,32 26,38 28,29 22,22 31,22'/%3E%3Cline x1='0' y1='36' x2='14' y2='36'/%3E%3Cline x1='58' y1='36' x2='72' y2='36'/%3E%3Cline x1='36' y1='0' x2='36' y2='14'/%3E%3Cline x1='36' y1='58' x2='36' y2='72'/%3E%3Crect x='2' y='2' width='68' height='68' stroke-width='.3' opacity='.4'/%3E%3C/g%3E%3C/svg%3E");
}

/* ── Header / nav ─────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 70px;
  background: rgba(13, 27, 42, 0.38);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: background 350ms ease, box-shadow 350ms ease;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.09);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0B5394 0%, #1F6B7B 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
  box-shadow: 0 2px 8px rgba(11, 83, 148, 0.4);
  flex-shrink: 0;
  overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.93);
  line-height: 1.1;
  transition: color 300ms ease;
}
.brand-sub {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  transition: color 300ms ease;
}
.is-scrolled .brand-name { color: var(--charcoal); }
.is-scrolled .brand-sub { color: #666; }

.primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  align-items: center;
  gap: 28px;
}
.primary-menu a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.93);
  transition: color 200ms ease;
}
.is-scrolled .primary-menu a { color: var(--charcoal); }
.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a,
.primary-menu .is-current > a { color: var(--sunset); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-wa {
  display: none;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--seagreen);
}
.header-book {
  background: var(--sunset);
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px rgba(255, 107, 53, 0.35);
  transition: background 200ms ease, transform 150ms ease;
}
.header-book:hover { background: var(--sunset-dark); transform: scale(1.04); }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.93);
  padding: 4px;
  cursor: pointer;
  transition: color 300ms ease;
}
.is-scrolled .menu-toggle { color: var(--charcoal); }

@media (min-width: 768px) {
  .primary-menu { display: flex; }
  .header-wa { display: flex; }
  .menu-toggle { display: none; }
}

/* Mobile "sandwich" menu (full-screen, with close button) */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--navy);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  --pattern-opacity: 0.06;
}
.mobile-menu.is-open { display: flex; animation: floatIn 0.3s ease both; }
.mobile-menu > * { position: relative; }
.mobile-menu-close {
  position: absolute !important;
  top: 22px; right: 28px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.mobile-menu-close:hover { color: #fff; }
.mobile-menu .mobile-links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.mobile-menu .mobile-links a {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  transition: color 200ms ease;
}
.mobile-menu .mobile-links a:hover,
.mobile-menu .mobile-links .current-menu-item > a,
.mobile-menu .mobile-links .current_page_item > a,
.mobile-menu .mobile-links .is-current > a { color: var(--sunset); }
.mobile-menu .mobile-book {
  background: var(--sunset);
  color: #fff;
  padding: 15px 44px;
  border-radius: 6px;
  font-size: 17px;
  font-weight: 700;
  margin-top: 12px;
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scrollPulse { 0%, 100% { opacity: 0.4; transform: scaleY(1); } 50% { opacity: 1; transform: scaleY(1.4); } }
@keyframes floatIn { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }

.js .section-fade { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .section-fade.visible { opacity: 1; transform: translateY(0); }

/* ── Generic sections ─────────────────────────────────────── */
.wp-block-group.section { padding: 80px 32px; position: relative; overflow: hidden; }
.section > * { max-width: 1200px; margin-left: auto; margin-right: auto; position: relative; }
.section > .abs-fill { position: absolute; inset: 0; max-width: none; margin: 0; }

.wp-block-group.section.stats-strip { padding: 52px 32px; }
.wp-block-group.section.newsletter-section { padding: 64px 32px; }
.wp-block-group.section.map-strip { padding: 56px 32px; }

.section-head { text-align: center; margin-bottom: 52px !important; }
.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 700;
  margin: 0 0 10px;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--charcoal);
}
.section-sub {
  font-size: 16px;
  color: #555;
  max-width: 520px;
  margin: 14px auto 0;
  line-height: 1.75;
}
.section-link { margin: 18px 0 0; }
.section-link a {
  color: var(--ocean);
  font-weight: 600;
  font-size: 14px;
  border-bottom: 2px solid var(--ocean);
  padding-bottom: 2px;
  transition: color 200ms ease, border-color 200ms ease;
}
.section-link a:hover { color: var(--sunset); border-color: var(--sunset); }

.gradient-line { height: 3px; background: linear-gradient(90deg, #0B5394 0%, #1F6B7B 25%, #D4AF37 55%, #FF6B35 80%, #C85A35 100%); }

/* ── Buttons ──────────────────────────────────────────────── */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.wp-block-button .wp-block-button__link {
  display: inline-block;
  background: var(--sunset);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 15px 36px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.45);
  transition: all 200ms ease;
  cursor: pointer;
}
.wp-block-button .wp-block-button__link:hover { background: var(--sunset-dark); color: #fff; transform: scale(1.04); }
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: none;
  padding: 13px 34px;
  font-weight: 600;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; transform: none; }
.wp-block-button.is-style-white .wp-block-button__link {
  background: #fff;
  color: var(--terracotta);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.22);
  font-weight: 800;
}
.wp-block-button.is-style-white .wp-block-button__link:hover { background: #fff; color: var(--terracotta); }
.wp-block-button.is-style-dark .wp-block-button__link {
  background: var(--charcoal);
  border-radius: 8px;
  padding: 13px 30px;
  font-size: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.wp-block-button.is-style-dark .wp-block-button__link:hover { background: #333; transform: none; }

/* ── Page header (sub-pages) ──────────────────────────────── */
.page-header {
  position: relative;
  background: var(--navy);
  padding: 158px 32px 64px;
  text-align: center;
  overflow: hidden;
  --pattern-opacity: 0.05;
}
.page-header::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0B5394, #1F6B7B, #D4AF37, #FF6B35);
}
.page-header > * { position: relative; max-width: 700px; margin-left: auto; margin-right: auto; }
.page-header-eyebrow { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin: 0 auto 14px; }
.page-header-title { font-family: var(--font-display); font-size: clamp(32px, 5vw, 56px); font-weight: 800; color: #fff; margin: 0 auto 16px; letter-spacing: -0.02em; line-height: 1.1; }
.page-header-sub { font-size: 16px; color: rgba(255, 255, 255, 0.72); line-height: 1.7; margin: 0 auto; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 70px 24px 0;
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; background-color: var(--navy); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(170deg, rgba(13,27,42,0.68) 0%, rgba(13,27,42,0.32) 55%, rgba(11,83,148,0.45) 100%); }
.hero-line { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #0B5394, #1F6B7B, #D4AF37, #FF6B35); }
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-content .wp-block-buttons { justify-content: center; }
.hero-eyebrow { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; font-weight: 600; animation: fadeUp 0.8s ease both; }
.hero-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 7.5vw, 88px); line-height: 1.05; color: #fff; margin: 0 0 22px; letter-spacing: -0.02em; animation: fadeUp 0.8s 0.2s ease both; }
.hero-sub { font-size: clamp(15px, 2vw, 19px); color: rgba(255, 255, 255, 0.82); margin: 0 auto 40px; max-width: 540px; line-height: 1.7; animation: fadeUp 0.8s 0.4s ease both; }
.hero-content .wp-block-buttons { animation: fadeUp 0.8s 0.4s ease both; }
.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255, 255, 255, 0.5); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  z-index: 2;
}
.scroll-line { width: 1px; height: 44px; background: rgba(255, 255, 255, 0.4); animation: scrollPulse 2.2s ease-in-out infinite; }

/* ── Stats ────────────────────────────────────────────────── */
.stats-strip { --pattern-opacity: 0.045; }
.stats-strip > * { max-width: 1000px; }
.stats-strip .wp-block-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px 40px; margin-top: 0; margin-bottom: 0; }
.stats-strip .wp-block-column { flex-basis: auto !important; }
.stat-number { font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); font-weight: 700; color: var(--sunset); line-height: 1; margin: 0; }
.stat-label { font-size: 14px; font-weight: 600; color: #fff; margin: 7px 0 0; letter-spacing: 0.02em; }
.stat-note { font-size: 11px; color: rgba(255, 255, 255, 0.38); margin: 3px 0 0; letter-spacing: 0.04em; }

/* ── Cards (breaks + experiences) ─────────────────────────── */
.wsurf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.wsurf-grid.is-experiences { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.wsurf-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  transition: transform 280ms ease, box-shadow 280ms ease;
}
.is-experiences .wsurf-card { border-radius: 16px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); }
.wsurf-card:hover { transform: translateY(-7px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14); }
.wsurf-card-media { position: relative; height: 224px; overflow: hidden; background: var(--ocean); flex-shrink: 0; }
.is-experiences .wsurf-card-media { height: 226px; }
.wsurf-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.wsurf-card:hover .wsurf-card-media img { transform: scale(1.07); }
.wsurf-badge {
  position: absolute; top: 14px; right: 14px;
  color: #fff; padding: 5px 12px; border-radius: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.wsurf-badge.is-left { right: auto; left: 16px; top: 16px; padding: 5px 14px; font-weight: 800; z-index: 2; }
.wsurf-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.is-experiences .wsurf-card-body { padding: 24px 26px 28px; }
.wsurf-card-title { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin: 0 0 10px; color: var(--charcoal); letter-spacing: -0.01em; }
.wsurf-card-desc { font-size: 14px; color: #555; line-height: 1.7; margin: 0 0 18px; flex: 1; }
.wsurf-card-meta { display: flex; gap: 20px; font-size: 13px; color: #777; margin: 0 0 20px; }
.wsurf-card-meta .ico-wave { color: var(--ocean); }
.wsurf-card-meta .ico-season { color: var(--gold); }
.wsurf-card-btn {
  display: block; width: 100%; text-align: center;
  padding: 11px; background: transparent; border: 2px solid var(--ocean); color: var(--ocean);
  border-radius: 6px; font-size: 14px; font-weight: 700; letter-spacing: 0.02em; transition: all 220ms ease;
}
.wsurf-card-btn:hover { background: var(--ocean); color: #fff; }
.wsurf-card-btn.is-solid { background: var(--ocean); color: #fff; padding: 13px; border-radius: 8px; }
.wsurf-card-btn.is-solid:hover { background: var(--ocean-dark); transform: scale(1.02); }

.exp-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.exp-top .wsurf-card-title { margin: 0; }
.exp-price { text-align: right; flex-shrink: 0; padding-left: 12px; }
.exp-price strong { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--ocean); line-height: 1; }
.exp-price span { font-size: 10px; color: #999; letter-spacing: 0.05em; }
.exp-duration { font-size: 12px; color: var(--terracotta); font-weight: 700; margin-bottom: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.exp-includes { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 6px; }
.exp-includes li { font-size: 13px; color: #555; display: flex; align-items: center; gap: 8px; }
.exp-includes li::before { content: '✓'; color: var(--seagreen); font-weight: 700; font-size: 15px; }
.experiences-section { --pattern-opacity: 0.04; }

/* ── Swell strip ──────────────────────────────────────────── */
.swell-strip { background: var(--ocean); padding: 28px 32px; --pattern-opacity: 0.07; }
.swell-strip > * { position: relative; }
.swell-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.swell-now { display: flex; align-items: center; gap: 12px; }
.swell-icon { font-size: 24px; }
.swell-label { font-size: 12px; color: rgba(255, 255, 255, 0.65); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; margin: 0; }
.swell-conditions { font-size: 16px; font-weight: 700; color: #fff; margin: 0; }
.swell-conditions .gold { color: var(--gold); }
.swell-days { display: flex; gap: 24px; flex-wrap: wrap; }
.swell-day { text-align: center; }
.swell-day p { margin: 0; }
.swell-day .d { font-size: 11px; color: rgba(255, 255, 255, 0.55); font-weight: 600; letter-spacing: 0.08em; }
.swell-day .h { font-size: 13px; color: #fff; font-weight: 600; margin-top: 3px !important; }
.swell-day .i { font-size: 12px; }

/* ── About / features ─────────────────────────────────────── */
.features-cols.wp-block-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 56px; align-items: center; margin-top: 0; margin-bottom: 0; }
.features-cols .wp-block-column { flex-basis: auto !important; }
.village-photo { position: relative; border-radius: 18px; overflow: hidden; background: var(--teal); aspect-ratio: 4 / 5; }
.village-photo .wp-block-image, .village-photo figure { margin: 0; height: 100%; }
.village-photo img { width: 100%; height: 100%; object-fit: cover; }
.village-photo::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #D4AF37, #FF6B35); z-index: 2; }
.village-badge {
  position: absolute; bottom: 24px; left: 24px; right: 24px; z-index: 2;
  background: rgba(13, 27, 42, 0.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 10px; padding: 16px 20px; border-left: 3px solid var(--gold);
}
.village-badge strong { display: block; font-size: 13px; color: var(--gold); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.village-badge span { font-size: 13px; color: rgba(255, 255, 255, 0.75); line-height: 1.5; }
.feature-list { display: flex; flex-direction: column; gap: 30px; }
.feature-item { display: flex; gap: 18px; align-items: flex-start; padding-bottom: 30px; border-bottom: 1px solid rgba(0, 0, 0, 0.07); }
.feature-item:last-child { border-bottom: none; padding-bottom: 0; }
.feature-icon {
  width: 54px; height: 54px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(11,83,148,0.1), rgba(31,107,123,0.12));
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  border: 1px solid rgba(11, 83, 148, 0.1);
}
.feature-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin: 0 0 7px; color: var(--charcoal); letter-spacing: -0.01em; }
.feature-item p { font-size: 14px; color: #555; line-height: 1.75; margin: 0; }

/* ── Testimonials ─────────────────────────────────────────── */
.reviews-section { --pattern-opacity: 0.055; }
.reviews-section > * { max-width: 820px; }
.reviews-bg { background-size: cover; background-position: center; opacity: 0.08; }
.reviews-head { text-align: center; }
.reviews-head .section-eyebrow { color: var(--gold); }
.reviews-head .section-heading { color: #fff; font-size: clamp(26px, 3.5vw, 40px); margin-bottom: 48px; }
.review-slider { text-align: center; }
.review-slides { position: relative; min-height: 260px; }
.review-slide { position: absolute; top: 0; left: 0; right: 0; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity 550ms ease, transform 550ms ease; }
.review-slide.is-active { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.review-card {
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.09); border-left: 4px solid var(--sunset);
  border-radius: 14px; padding: 36px 40px; text-align: left; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.review-stars { color: var(--gold); font-size: 18px; margin-bottom: 16px; letter-spacing: 2px; }
.review-quote { font-family: var(--font-display); font-size: 17px; color: rgba(255, 255, 255, 0.88); line-height: 1.8; font-style: italic; margin: 0 0 28px; }
.review-author { display: flex; align-items: center; gap: 14px; }
.review-avatar {
  width: 50px; height: 50px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #FF6B35, #C85A35); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 17px; font-weight: 700;
}
.review-name { font-weight: 700; color: #fff; font-size: 15px; }
.review-loc { font-size: 13px; color: rgba(255, 255, 255, 0.45); margin-top: 2px; }
.review-dots { display: flex; gap: 10px; justify-content: center; margin-top: 30px; }
.review-dot { width: 10px; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, 0.2); border: none; cursor: pointer; padding: 0; transition: all 350ms ease; }
.review-dot.is-active { width: 30px; background: var(--sunset); }

/* ── Newsletter ───────────────────────────────────────────── */
.newsletter-section { --pattern-opacity: 0.09; }
.newsletter-section > * { max-width: 580px; text-align: center; }
.newsletter-section .section-eyebrow { color: var(--gold); }
.newsletter-section .section-heading { color: #fff; font-size: clamp(22px, 3vw, 34px); margin-bottom: 12px; }
.newsletter-section .newsletter-lede { font-size: 15px; color: rgba(255, 255, 255, 0.75); margin: 0 0 32px; line-height: 1.7; }
.newsletter-form { display: flex; border-radius: 8px; overflow: hidden; box-shadow: 0 6px 28px rgba(0, 0, 0, 0.22); max-width: 460px; margin: 0 auto; }
.newsletter-form input[type=email] { flex: 1; min-width: 0; padding: 15px 18px; border: none; outline: none; font-size: 15px; font-family: inherit; background: #fff; color: var(--charcoal); }
.newsletter-form button { background: var(--sunset); color: #fff; border: none; padding: 15px 24px; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background 200ms ease; font-family: inherit; }
.newsletter-form button:hover { background: var(--sunset-dark); }
.form-notice { border-radius: 10px; padding: 18px 24px; font-size: 15px; font-weight: 600; margin: 0 auto 18px; max-width: 460px; }
.form-notice.success { background: rgba(76, 175, 127, 0.14); border: 1px solid rgba(76, 175, 127, 0.35); color: #2F6B4F; }
.form-notice.error { background: rgba(200, 90, 53, 0.1); border: 1px solid rgba(200, 90, 53, 0.35); color: #8a3a1e; }
.newsletter-section .form-notice.success { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.25); color: #fff; }
.cf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Community (Instagram grid) ───────────────────────────── */
.community-section > * { max-width: 1100px; }
.ig-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  border-radius: 16px; overflow: hidden; max-width: 900px !important;
  margin: 0 auto 36px !important; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
.ig-grid .wp-block-image { position: relative; aspect-ratio: 1; margin: 0; overflow: hidden; background: var(--teal); cursor: pointer; }
.ig-grid .wp-block-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms ease; }
.ig-grid .wp-block-image:hover img { transform: scale(1.08); }
.ig-grid .wp-block-image::after {
  content: '♡'; position: absolute; inset: 0; background: rgba(255, 107, 53, 0.55); color: #fff; font-size: 32px;
  display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 300ms ease;
}
.ig-grid .wp-block-image:hover::after { opacity: 1; }
.community-section .wp-block-buttons { justify-content: center; }

/* ── CTA banner ───────────────────────────────────────────── */
.cta-banner { position: relative; overflow: hidden; text-align: center; padding: 84px 32px; }
.cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center 40%; background-color: var(--terracotta); }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(200,90,53,0.92) 0%, rgba(255,107,53,0.88) 50%, rgba(212,175,55,0.85) 100%); }
.cta-pattern { position: absolute; inset: 0; opacity: 0.12; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-width='.7'%3E%3Cpolygon points='36,3 44,16 58,16 49,27 53,42 36,34 19,42 23,27 14,16 28,16'/%3E%3Cpolygon points='36,14 41,22 50,22 44,29 46,38 36,32 26,38 28,29 22,22 31,22'/%3E%3Cline x1='0' y1='36' x2='14' y2='36'/%3E%3Cline x1='58' y1='36' x2='72' y2='36'/%3E%3Cline x1='36' y1='0' x2='36' y2='14'/%3E%3Cline x1='36' y1='58' x2='36' y2='72'/%3E%3Crect x='2' y='2' width='68' height='68' stroke-width='.3' opacity='.4'/%3E%3C/g%3E%3C/svg%3E"); }
.cta-content { position: relative; }
.cta-content .wp-block-buttons { justify-content: center; }
.cta-eyebrow { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); font-weight: 700; margin: 0 0 16px; }
.cta-title { font-family: var(--font-display); font-size: clamp(30px, 6vw, 66px); font-weight: 800; color: #fff; margin: 0 0 16px; letter-spacing: -0.02em; line-height: 1.05; }
.cta-text { font-size: 18px; color: rgba(255, 255, 255, 0.9); margin: 0 0 40px; line-height: 1.65; }

/* ── Contact ──────────────────────────────────────────────── */
.contact-cols.wp-block-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; margin-top: 0; margin-bottom: 0; align-items: start; }
.contact-cols .wp-block-column { flex-basis: auto !important; }
.form-card { background: #fff; border: 1px solid rgba(0, 0, 0, 0.07); border-radius: 16px; padding: 40px 36px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); }
.form-card-title { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--charcoal); margin: 0 0 24px; letter-spacing: -0.01em; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; color: #555; margin-bottom: 7px; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form select, .contact-form textarea {
  width: 100%; padding: 13px 16px; border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 8px;
  font-size: 15px; font-family: inherit; color: var(--charcoal); background: #fff; outline: none;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(11, 83, 148, 0.12); }
.contact-form textarea { resize: vertical; }
.contact-form button[type=submit] {
  background: var(--sunset); color: #fff; border: none; padding: 14px; border-radius: 8px;
  font-size: 15px; font-weight: 700; cursor: pointer; letter-spacing: 0.02em; font-family: inherit; transition: background 200ms ease;
}
.contact-form button[type=submit]:hover { background: var(--sunset-dark); }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid rgba(0, 0, 0, 0.07); border-radius: 12px; padding: 20px 24px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); }
.contact-info-icon { width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 20px; background: linear-gradient(135deg, rgba(11,83,148,0.1), rgba(31,107,123,0.12)); }
.contact-info-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta); font-weight: 700; margin: 0 0 4px; }
.contact-info-text { font-size: 15px; color: var(--charcoal); line-height: 1.5; margin: 0; white-space: pre-line; }
.contact-wa {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #25D366; color: #fff; padding: 16px; border-radius: 10px; font-size: 15px; font-weight: 700;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35); transition: transform 200ms ease;
}
.contact-wa:hover { transform: scale(1.02); }
.map-strip { text-align: center; padding: 56px 32px; --pattern-opacity: 0.05; }
.map-strip > * { max-width: 700px; }
.map-strip .map-emoji { font-size: 32px; margin: 0 0 12px; }
.map-strip .map-title { font-size: 16px; color: #fff; font-weight: 600; margin: 0 0 4px; }
.map-strip .map-sub { font-size: 14px; color: rgba(255, 255, 255, 0.5); margin: 0; }
.map-strip .map-sub a { color: var(--gold); }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer { position: relative; background: var(--navy); padding: 68px 32px 32px; overflow: hidden; --pattern-opacity: 0.035; }
.site-footer > * { position: relative; }
.footer-top-line { position: absolute !important; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #0B5394, #1F6B7B, #D4AF37, #FF6B35, #C85A35); }
.footer-grid { max-width: 1200px; margin: 0 auto 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px 32px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255, 255, 255, 0.4); letter-spacing: 0.18em; }
.footer-tagline { font-size: 14px; color: rgba(255, 255, 255, 0.45); line-height: 1.75; margin: 0 0 22px; max-width: 240px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 8px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff; display: flex; align-items: center; justify-content: center; transition: all 200ms ease;
}
.footer-socials a:hover { background: rgba(255, 107, 53, 0.4); border-color: var(--sunset); }
.footer-heading { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 18px; letter-spacing: 0.02em; }
.site-footer .primary-menu { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.site-footer .primary-menu a { font-size: 14px; color: rgba(255, 255, 255, 0.45); }
.site-footer .primary-menu a:hover, .site-footer .primary-menu .current-menu-item > a, .site-footer .primary-menu .is-current > a { color: var(--sunset); }
.footer-contact-line { display: flex; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, 0.5); align-items: flex-start; margin: 0 0 10px; line-height: 1.6; }
a.footer-contact-line:hover { color: var(--sunset); }
.footer-contact-line svg { flex-shrink: 0; margin-top: 3px; }
.footer-wa { display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; color: var(--seagreen); font-size: 14px; font-weight: 700; }
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255, 255, 255, 0.07); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 13px; color: rgba(255, 255, 255, 0.28); }
.footer-bottom p { margin: 0; }

/* ── Floating WhatsApp ────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 22px rgba(37, 211, 102, 0.5); z-index: 90; transition: transform 220ms ease, box-shadow 220ms ease;
}
.whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 8px 32px rgba(37, 211, 102, 0.65); }

/* ── Generic content pages / blog fallback ────────────────── */
.plain-page { max-width: 820px; margin: 0 auto; padding: 150px 24px 80px; }
.plain-page h1 { font-size: clamp(30px, 5vw, 48px); }

@media (max-width: 600px) {
  .wp-block-group.section { padding: 64px 20px; }
  .header-inner { padding: 0 20px; }
  .form-card { padding: 28px 22px; }
  .review-card { padding: 28px 24px; }
  .ig-grid { border-radius: 12px; }
}
