/* ==========================================================================
   SunRoamy Design System
   Version: 2.0.0 — Coastal Premium
   ========================================================================== */


/* ==========================================================================
   1. CSS Custom Properties
   ========================================================================== */

:root {
  /* Ocean blues — deeper, richer */
  --sr-ocean-950: #06243a;
  --sr-ocean-900: #0a3554;
  --sr-ocean-800: #0d4870;
  --sr-ocean-700: #0c5d8f;
  --sr-ocean-600: #0e74b0;
  --sr-ocean-500: #1a8fd1;
  --sr-ocean-400: #38bdf8;
  --sr-ocean-300: #7dd3fc;
  --sr-ocean-100: #ddf1fc;
  --sr-ocean-50:  #f0f9ff;

  /* Warm amber — sophisticated gold */
  --sr-amber-900: #78350f;
  --sr-amber-800: #92400e;
  --sr-amber-600: #c9710a;
  --sr-amber-500: #e8900d;
  --sr-amber-400: #F7B267;
  --sr-amber-300: #fbbf9a;
  --sr-amber-100: #fef3c7;

  /* Neutrals — warm tinted */
  --sr-heading:     #0d1b2a;
  --sr-body:        #2d3f50;
  --sr-secondary:   #4a5f72;
  --sr-muted:       #7a93a8;
  --sr-border:      #dde6ee;
  --sr-surface:     #f3f7fa;
  --sr-surface-alt: #f8fbfd;
  --sr-white:       #ffffff;

  /* Shadows — color-tinted for depth */
  --sr-shadow-sm:  0 1px 4px rgba(6, 36, 58, 0.07);
  --sr-shadow-md:  0 4px 16px rgba(6, 36, 58, 0.10);
  --sr-shadow-lg:  0 12px 40px rgba(6, 36, 58, 0.14);
  --sr-shadow-xl:  0 24px 64px rgba(6, 36, 58, 0.18);
  --sr-shadow-glow: 0 0 32px rgba(247, 178, 103, 0.35);

  /* Border radius */
  --sr-radius-sm:  4px;
  --sr-radius-md:  10px;
  --sr-radius-lg:  16px;
  --sr-radius-xl:  24px;
  --sr-radius-2xl: 32px;

  /* Transitions */
  --sr-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --sr-transition-fast: 0.15s ease;

  /* Status colors */
  --sr-success: #4ade80;
  --sr-error: #fb7185;

  /* Typography */
  --sr-font-heading: 'Playfair Display', Georgia, serif;
  --sr-font-body: 'Source Sans 3', 'Source Sans Pro', system-ui, sans-serif;
}


/* ==========================================================================
   2. Base Resets (override GeneratePress defaults)
   ========================================================================== */

body {
  background-color: var(--sr-white) !important;
  font-family: var(--sr-font-body) !important;
  color: var(--sr-body) !important;
  line-height: 1.6;
}

/* Neutralize GP layout containers */
.site-content,
.content-area,
.inside-article,
.entry-content,
.separate-containers .inside-article,
.separate-containers .site-main > *,
.one-container .site-content {
  background-color: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  border: none !important;
}

.site-content .content-area {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}

/* Remove GP sidebar space */
.is-right-sidebar .content-area,
.is-left-sidebar .content-area {
  width: 100% !important;
}

.is-right-sidebar #right-sidebar,
.is-left-sidebar #left-sidebar {
  display: none !important;
}

/* Reset GP grid container */
.site-content .grid-container,
.site.grid-container,
#page.grid-container {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Override GP typography for all headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--sr-font-heading) !important;
  color: var(--sr-heading) !important;
}

h1 { font-weight: 800; }
h2 { font-weight: 800; }
h3 { font-weight: 700; }

/* Override GP link colors */
a { color: var(--sr-ocean-700); text-decoration: none; }
a:hover { color: var(--sr-ocean-600); }

/* Override GP page/post title */
.entry-title,
h1.entry-title,
h2.entry-title {
  display: none !important;
}

/* Neutralize GP paging navigation */
.separate-containers .paging-navigation {
  padding: 0 !important;
  background: transparent !important;
}

/* Neutralize GP page-header */
.separate-containers .page-header {
  padding: 0 !important;
  background: transparent !important;
}

/* Override GP default button styles */
.sr-btn-primary,
.sr-btn-secondary,
.sr-btn-ghost,
.sr-btn-ghost-dark {
  font-family: var(--sr-font-body) !important;
}

/* Override GP site-info (footer bottom) */
.site-info {
  display: none !important;
}

/* Override GP header and navigation */
.site-header:not(.sr-header) {
  display: none !important;
}

#site-navigation,
.main-navigation:not(.sr-nav) {
  display: none !important;
}

/* Override GP footer — hide everything from .site-footer */
.site-footer {
  display: none !important;
}

/* GP uses display:flex on .site-content — force main content to fill full width */
#main-content {
  width: 100%;
}

/* Override GP layout for custom page templates.
   GP sets .site-content { display: flex } which creates a sidebar layout
   that breaks our full-width custom templates. */
.page-template .site-content {
  display: block !important;
}

.page-template #page.site {
  max-width: none;
}

.page-template #content.site-content {
  padding: 0 !important;
}

.page-template .inside-article {
  padding: 0 !important;
  max-width: none !important;
  background: none !important;
}

.page-template .entry-content {
  padding: 0 !important;
  max-width: none !important;
}

/* Also fix for blog archive (uses archive.php, not page-template) */
.blog .site-content,
.archive .site-content,
.search .site-content {
  display: block !important;
}

.blog .inside-article,
.archive .inside-article,
.search .inside-article {
  padding: 0 !important;
  background: none !important;
}

/* Hide GP chrome on custom templates */
.page-template .entry-header,
.page-template .post-meta-wrapper,
.page-template .entry-meta {
  display: none;
}

/* Cookie consent banner above sticky header */
#cmplz-cookiebanner-container .cmplz-cookiebanner {
  z-index: 101 !important;
}

/* Hide unresolved Complianz TCF elements ({vendor_count}, {title}) */
.cmplz-manage-vendors.tcf,
.cmplz-read-more-purposes.tcf,
.cmplz-link.cookie-statement[data-relative_url=""],
.cmplz-link.privacy-statement[data-relative_url=""],
.cmplz-link.impressum[data-relative_url=""] {
  display: none !important;
}

/* Also hide parent <li> elements */
li:has(> .cmplz-manage-vendors.tcf),
li:has(> .cmplz-read-more-purposes.tcf),
li:has(> .cmplz-link[data-relative_url=""]) {
  display: none !important;
}

/* Ensure sr-container is our max-width, not GP's */
.sr-container {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

/* Remove GP default margins from headings inside sr- sections */
.sr-section h1,
.sr-section h2,
.sr-section h3,
.sr-section h4,
.sr-section h5,
.sr-section h6 {
  margin-top: 0;
}


/* ==========================================================================
   3. Accessibility
   ========================================================================== */

/* Focus states */
*:focus-visible {
  outline: 2px solid var(--sr-amber-400);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Skip link */
.sr-skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sr-skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  width: auto;
  height: auto;
  padding: 12px 24px;
  background: var(--sr-white);
  color: var(--sr-ocean-900);
  border-radius: var(--sr-radius-md);
  box-shadow: var(--sr-shadow-lg);
}

/* Screen-reader only (visually hidden, accessible to AT) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ==========================================================================
   4. Animations
   ========================================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(247, 178, 103, 0); }
  50%       { box-shadow: 0 0 20px 4px rgba(247, 178, 103, 0.3); }
}


/* ==========================================================================
   5. Typography Classes
   ========================================================================== */

.sr-h1 {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  color: var(--sr-heading);
}

.sr-h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  color: var(--sr-heading);
}

.sr-h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1.3;
  color: var(--sr-heading);
}

.sr-section-subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--sr-secondary);
  letter-spacing: 0.01em;
  margin-top: 12px;
}


/* ==========================================================================
   6. Eyebrow / Label
   ========================================================================== */

.sr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--sr-ocean-600);
}

.sr-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--sr-amber-400), var(--sr-amber-300));
  flex-shrink: 0;
  border-radius: 2px;
}

/* Light variant — for use on dark backgrounds */
.sr-eyebrow--light {
  color: var(--sr-amber-300);
}

.sr-eyebrow--light::before {
  background: linear-gradient(90deg, var(--sr-amber-400), var(--sr-amber-300));
}


/* ==========================================================================
   7. Buttons
   ========================================================================== */

/* Shared button base */
.sr-btn-primary,
.sr-btn-secondary,
.sr-btn-ghost,
.sr-btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--sr-radius-sm);
  border: none;
  cursor: pointer;
  font-family: var(--sr-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--sr-transition);
  line-height: 1;
  position: relative;
  overflow: hidden;
}

/* Primary — sophisticated amber CTA */
.sr-btn-primary {
  background: linear-gradient(135deg, var(--sr-amber-400) 0%, var(--sr-amber-500) 100%);
  color: var(--sr-ocean-950);
  box-shadow: 0 4px 16px rgba(247, 178, 103, 0.35), 0 1px 4px rgba(6, 36, 58, 0.12);
}

.sr-btn-primary::after {
  content: '→';
  transition: transform var(--sr-transition);
}

.sr-btn-primary:hover {
  background: linear-gradient(135deg, var(--sr-amber-500) 0%, var(--sr-amber-600) 100%);
  color: var(--sr-ocean-950);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(247, 178, 103, 0.45), 0 2px 8px rgba(6, 36, 58, 0.15);
}

.sr-btn-primary:hover::after {
  transform: translateX(4px);
}

/* Secondary — ocean blue */
.sr-btn-secondary {
  background: linear-gradient(135deg, var(--sr-ocean-600) 0%, var(--sr-ocean-700) 100%);
  color: var(--sr-white);
  box-shadow: 0 4px 16px rgba(14, 116, 176, 0.3);
}

.sr-btn-secondary:hover {
  background: linear-gradient(135deg, var(--sr-ocean-700) 0%, var(--sr-ocean-800) 100%);
  color: var(--sr-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 116, 176, 0.4);
}

/* Ghost — elegant outlined */
.sr-btn-ghost {
  background-color: transparent;
  border: 1.5px solid var(--sr-ocean-600);
  color: var(--sr-ocean-600);
  position: relative;
}

.sr-btn-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--sr-ocean-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--sr-transition);
  z-index: 0;
}

.sr-btn-ghost span {
  position: relative;
  z-index: 1;
}

.sr-btn-ghost:hover {
  color: var(--sr-white);
  border-color: var(--sr-ocean-600);
}

.sr-btn-ghost:hover::before {
  transform: scaleX(1);
}

/* Ghost dark — for use on dark/photo backgrounds */
.sr-btn-ghost-dark {
  background-color: rgba(255, 255, 255, 0.10);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  color: var(--sr-white);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sr-btn-ghost-dark:hover {
  background-color: rgba(255, 255, 255, 0.20);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--sr-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}


/* ==========================================================================
   8. Badges
   ========================================================================== */

.sr-badge {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.sr-badge--amber {
  background: linear-gradient(135deg, var(--sr-amber-400), var(--sr-amber-500));
  color: var(--sr-ocean-950);
  box-shadow: 0 2px 8px rgba(247, 178, 103, 0.4);
}

.sr-badge--blue {
  background-color: var(--sr-ocean-100);
  color: var(--sr-ocean-700);
}


/* ==========================================================================
   9. Cards
   ========================================================================== */

.sr-card {
  background-color: var(--sr-white);
  border-radius: var(--sr-radius-lg);
  box-shadow: var(--sr-shadow-sm);
  overflow: hidden;
  transition: transform var(--sr-transition), box-shadow var(--sr-transition);
  border: 1px solid var(--sr-border);
}

.sr-card:hover {
  transform: translateY(-6px) rotate(0.3deg);
  box-shadow: var(--sr-shadow-xl);
  border-color: transparent;
}


/* ==========================================================================
   10. Layout — Sections
   ========================================================================== */

.sr-section {
  padding: 64px 0;
}

.sr-section-alt {
  background-color: var(--sr-surface-alt);
}

.sr-section-dark {
  background-color: var(--sr-ocean-950);
  color: var(--sr-white);
  position: relative;
  overflow: hidden;
}

.sr-section-dark h2,
.sr-section-dark h3,
.sr-section-dark .sr-h2,
.sr-section-dark .sr-h3,
.sr-section-dark p {
  color: var(--sr-white) !important;
}

.sr-section-dark .sr-section-subtitle {
  color: rgba(255, 255, 255, 0.75) !important;
}


/* Section header */
.sr-section-header {
  margin-bottom: 40px;
}

.sr-section-header--between {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.sr-section-header--center {
  text-align: center;
}

/* "View all" style link inside section headers */
.sr-section-header a {
  font-size: 13px;
  font-weight: 700;
  color: var(--sr-ocean-600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.5px;
  transition: color var(--sr-transition-fast), gap var(--sr-transition-fast);
}

.sr-section-header a:hover {
  color: var(--sr-ocean-700);
  gap: 10px;
}


/* ==========================================================================
   11. Layout — Container & Grid
   ========================================================================== */

.sr-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}


/* ==========================================================================
   12. Responsive — Base
   ========================================================================== */

@media (max-width: 1023px) {
  .sr-section {
    padding: 52px 0;
  }

  .sr-h1 {
    font-size: 44px;
    letter-spacing: -1.5px;
  }

  .sr-h2 {
    font-size: 34px;
    letter-spacing: -1px;
  }

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

@media (max-width: 767px) {
  .sr-section {
    padding: 40px 0;
  }

  .sr-h1 {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .sr-h2 {
    font-size: 28px;
    letter-spacing: -0.5px;
  }

  .sr-h3 {
    font-size: 19px;
  }

  .sr-section-subtitle {
    font-size: 16px;
  }

  .sr-grid-3 {
    grid-template-columns: 1fr;
  }

  .sr-container {
    padding: 0 16px;
  }
}


/* ==========================================================================
   13. Header
   ========================================================================== */

.sr-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 var(--sr-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Transparent header (only when JS adds it over hero) */
.sr-header--transparent {
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.sr-header--transparent .sr-logo {
  color: var(--sr-white);
}

.sr-header--transparent .sr-logo-dot {
  color: var(--sr-amber-400);
}

.sr-header--transparent .sr-nav a {
  color: rgba(255, 255, 255, 0.85);
}

.sr-header--transparent .sr-nav a:hover {
  color: var(--sr-white);
}

.sr-header--transparent .sr-lang-toggle a {
  color: rgba(255, 255, 255, 0.5);
}

.sr-header--transparent .sr-lang-active {
  color: var(--sr-white) !important;
}

.sr-header--transparent .sr-hamburger span {
  background-color: var(--sr-white);
}

.sr-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.sr-logo {
  font-size: 23px;
  text-decoration: none;
  color: var(--sr-heading);
  display: flex;
  align-items: center;
  letter-spacing: -0.5px;
  transition: color var(--sr-transition);
}

.sr-logo-bold {
  font-weight: 800;
}

.sr-logo-light {
  font-weight: 300;
}

.sr-logo-dot {
  color: var(--sr-amber-400);
  font-weight: 800;
}

.sr-nav {
  display: flex;
  gap: 36px;
}

.sr-nav a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--sr-secondary);
  transition: color var(--sr-transition);
  position: relative;
}

.sr-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--sr-amber-400);
  transition: width var(--sr-transition);
}

.sr-nav a:hover {
  color: var(--sr-ocean-700);
}

.sr-nav a:hover::after {
  width: 100%;
}

.sr-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sr-lang-toggle {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--sr-border);
  border-radius: var(--sr-radius-md);
  background: rgba(255, 255, 255, 0.06);
}

.sr-lang-globe {
  width: 14px;
  height: 14px;
  opacity: 0.55;
  flex-shrink: 0;
}

.sr-lang-active {
  font-size: 12px;
  font-weight: 700;
  color: var(--sr-heading);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.sr-lang-inactive {
  font-size: 12px;
  font-weight: 400;
  color: var(--sr-muted);
  text-decoration: none;
  transition: color var(--sr-transition-fast);
}

.sr-lang-inactive:hover {
  color: var(--sr-secondary);
}

/* Lang toggle in transparent header */
.sr-header--transparent .sr-lang-toggle {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.sr-header--transparent .sr-lang-globe {
  color: rgba(255, 255, 255, 0.6);
}

/* Hamburger */
.sr-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.sr-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--sr-heading);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
}

.sr-hamburger span:nth-child(3) {
  width: 16px;
}

/* Solid header — subtle shadow for depth separation */
.sr-header--solid {
  box-shadow: 0 2px 8px rgba(6, 36, 58, 0.08);
}

.sr-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.sr-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.sr-hamburger.open span:nth-child(3) {
  width: 24px;
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.sr-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--sr-ocean-950);
  z-index: 101;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.sr-mobile-menu.open {
  display: flex;
}

.sr-mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.sr-mobile-menu nav a {
  font-size: 22px;
  font-weight: 700;
  color: var(--sr-white);
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity var(--sr-transition-fast), color var(--sr-transition-fast);
}

.sr-mobile-menu nav a:hover {
  color: var(--sr-amber-400);
  opacity: 1;
}

.sr-mobile-lang {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.sr-mobile-lang a {
  font-size: 14px;
  text-decoration: none;
}

.sr-mobile-lang .sr-lang-active {
  color: var(--sr-white);
  font-weight: 700;
}

.sr-mobile-lang .sr-lang-inactive {
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 767px) {
  .sr-nav {
    display: none;
  }
  .sr-lang-toggle {
    display: none;
  }
  .sr-hamburger {
    display: flex;
  }
}


/* ==========================================================================
   14. Hero
   ========================================================================== */

.sr-hero {
  position: relative;
  min-height: 90vh;
  min-height: 90svh; /* iOS dynamic viewport fallback */
  display: flex;
  align-items: flex-end;
  padding-bottom: 72px;
  overflow: hidden;
  background-color: var(--sr-ocean-900);
  background-size: cover;
  background-position: center top;
  background-attachment: scroll; /* mobile-first: scroll (fixed breaks iOS Safari) */
}

/* Parallax only on desktop — fixed bg breaks iOS completely */
@media (min-width: 1024px) {
  .sr-hero {
    background-attachment: fixed;
  }
}

/* Dramatic gradient overlay — scrim at top for header readability, heavy at bottom for text */
.sr-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(6, 36, 58, 0.55) 0%,
      rgba(6, 36, 58, 0.25) 15%,
      rgba(6, 36, 58, 0.25) 30%,
      rgba(6, 36, 58, 0.60) 60%,
      rgba(6, 36, 58, 0.88) 100%
    );
  z-index: 1;
}

/* Subtle vignette edges */
.sr-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(6, 36, 58, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 100% 50%, rgba(6, 36, 58, 0.2) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

/* Decorative circle — top right */
.sr-hero-circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.sr-hero-circles::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 8%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(247, 178, 103, 0.12);
  animation: float 8s ease-in-out infinite;
}

.sr-hero-circles::after {
  content: '';
  position: absolute;
  top: 18%;
  right: 10%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(247, 178, 103, 0.08);
  animation: float 8s ease-in-out infinite 2s;
}

.sr-hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  animation: fadeInUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) both;
  animation-delay: 0.1s;
}

.sr-hero .sr-eyebrow {
  animation: fadeInUp 0.8s ease both;
  animation-delay: 0.05s;
}

.sr-hero .sr-h1 {
  color: var(--sr-white);
  font-size: 68px;
  letter-spacing: -3px;
  line-height: 1.0;
  animation: fadeInUp 0.9s ease both;
  animation-delay: 0.15s;
}

.sr-hero-bold {
  font-weight: 800;
}

.sr-hero-italic {
  font-weight: 300;
  font-style: italic;
  opacity: 0.9;
  letter-spacing: -1px;
}

.sr-hero-subtitle {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.7;
  margin-top: 20px;
  max-width: 540px;
  font-weight: 400;
  animation: fadeInUp 0.9s ease both;
  animation-delay: 0.25s;
}

.sr-hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  animation: fadeInUp 0.9s ease both;
  animation-delay: 0.35s;
}

/* Glass morphism stats bar */
.sr-stats-bar {
  display: flex;
  gap: 0;
  margin-top: 56px;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--sr-radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: fadeInUp 0.9s ease both;
  animation-delay: 0.45s;
}

.sr-stat {
  flex: 1;
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.sr-stat:first-child {
  padding-left: 0;
}

.sr-stat:last-child {
  padding-right: 0;
  border-right: none;
}

.sr-stat-value {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--sr-white);
  line-height: 1.1;
  letter-spacing: -1px;
}

.sr-stat-label {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 6px;
  font-weight: 500;
}


/* ==========================================================================
   15. Quick Nav Strip
   ========================================================================== */

.sr-quick-nav {
  background: var(--sr-white);
  border-bottom: 1px solid var(--sr-border);
  padding: 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 2px 12px rgba(6, 36, 58, 0.06);
}

.sr-quick-nav-inner {
  display: flex;
  justify-content: center;
  gap: 0;
  overflow-x: auto;

  scrollbar-width: none;
}

.sr-quick-nav-inner::-webkit-scrollbar {
  display: none;
}

.sr-quick-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  min-height: 48px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sr-secondary);
  text-decoration: none;
  transition: color var(--sr-transition-fast), background var(--sr-transition-fast);
  white-space: nowrap;
  border-bottom: 2.5px solid transparent;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

.sr-quick-nav-item:hover {
  color: var(--sr-ocean-700);
  background: var(--sr-ocean-50);
  border-bottom-color: var(--sr-ocean-400);
}

.sr-quick-nav-emoji {
  font-size: 17px;
  transition: transform var(--sr-transition);
}

.sr-quick-nav-item:hover .sr-quick-nav-emoji {
  transform: translateY(-2px);
}


/* ==========================================================================
   16. Hero Responsive
   ========================================================================== */

@media (max-width: 1023px) {
  .sr-hero .sr-h1 {
    font-size: 52px;
    letter-spacing: -2px;
  }

  .sr-stats-bar {
    padding: 22px 24px;
  }

  .sr-stat {
    padding: 0 16px;
  }

  .sr-stat-value {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .sr-hero {
    min-height: 88vh;
    min-height: 88svh; /* iOS dynamic viewport */
    padding-bottom: 48px;
  }

  .sr-hero .sr-h1 {
    font-size: clamp(32px, 8vw, 42px);
    letter-spacing: -1.5px;
  }

  .sr-hero-subtitle {
    font-size: 16px;
  }

  .sr-hero-ctas {
    flex-direction: column;
  }

  .sr-hero-ctas .sr-btn-primary,
  .sr-hero-ctas .sr-btn-ghost-dark {
    text-align: center;
    justify-content: center;
  }

  .sr-stats-bar {
    flex-wrap: wrap;
    gap: 0;
    padding: 20px 20px;
    border-radius: var(--sr-radius-md);
  }

  .sr-stat {
    flex: 0 0 50%;
    padding: 12px 16px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .sr-stat:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .sr-stat:nth-child(3),
  .sr-stat:nth-child(4) {
    border-bottom: none;
  }

  .sr-stat-value {
    font-size: 26px;
  }

  .sr-quick-nav {
    top: 72px;
  }
}


/* ==========================================================================
   17. Beach Grid (Bento Layout)
   ========================================================================== */

.sr-beach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
}

.sr-beach-card {
  position: relative;
  display: block;
  min-height: 240px;
  border-radius: var(--sr-radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: transform var(--sr-transition), box-shadow var(--sr-transition);
  background: var(--sr-ocean-800);
}

.sr-beach-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--sr-radius-lg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: box-shadow var(--sr-transition);
  pointer-events: none;
  z-index: 4;
}

.sr-beach-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--sr-shadow-xl);
}

.sr-beach-card:hover::after {
  box-shadow: inset 0 0 0 2px rgba(247, 178, 103, 0.4);
}

/* First card spans 2 rows (bento large) */
.sr-beach-card--large {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.sr-beach-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.sr-beach-card:hover .sr-beach-card-img {
  transform: scale(1.06);
}

.sr-beach-card-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--sr-ocean-800), var(--sr-ocean-600));
}

.sr-beach-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px 20px;
  background: linear-gradient(
    to top,
    rgba(6, 36, 58, 0.92) 0%,
    rgba(6, 36, 58, 0.65) 45%,
    rgba(6, 36, 58, 0.15) 80%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 55%;
  z-index: 2;
}

.sr-beach-card--large .sr-beach-card-overlay {
  padding: 32px 24px 24px;
}

.sr-beach-card-zone {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
}

.sr-beach-card-top {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
}

.sr-beach-card-title {
  color: var(--sr-white);
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.sr-beach-card--large .sr-beach-card-title {
  font-size: 26px;
  letter-spacing: -0.5px;
}

.sr-beach-card-rating {
  color: var(--sr-amber-400);
  font-size: 13px;
  font-weight: 600;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}


/* Sidebar beach list */
.sr-sidebar-card--cta {
  background: linear-gradient(135deg, var(--sr-ocean-900), var(--sr-ocean-800));
  color: white;
}
.sr-sidebar-card--cta .sr-sidebar-card-title { color: white; }
.sr-sidebar-card--cta .sr-sidebar-card-desc { color: var(--sr-ocean-200); }

.sr-sidebar-beach {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--sr-border);
  transition: background var(--sr-transition-fast);
}
.sr-sidebar-beach:last-of-type { border-bottom: none; }
.sr-sidebar-beach:hover { opacity: 0.8; }
.sr-sidebar-beach-img {
  width: 48px;
  height: 36px;
  border-radius: var(--sr-radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.sr-sidebar-beach-name { font-size: 0.85rem; font-weight: 600; color: var(--sr-heading); }
.sr-sidebar-beach-rating { font-size: 0.75rem; color: var(--sr-amber-600); }

/* ==========================================================================
   18. Section Link
   ========================================================================== */

.sr-section-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--sr-ocean-600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--sr-transition), color var(--sr-transition-fast);
  letter-spacing: 0.3px;
}

.sr-section-link:hover {
  color: var(--sr-ocean-700);
  gap: 10px;
}

.sr-section-subtitle {
  color: var(--sr-secondary);
  font-size: 18px;
  line-height: 1.7;
  margin-top: 12px;
  font-weight: 400;
}


/* ==========================================================================
   19. Zone Explorer
   ========================================================================== */

.sr-zone-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 32px;
  margin-bottom: 32px;
}

.sr-zone-pill {
  padding: 10px 22px;
  border-radius: 100px;
  border: 1.5px solid var(--sr-border);
  background: var(--sr-white);
  font-size: 13px;
  font-weight: 600;
  color: var(--sr-secondary);
  cursor: pointer;
  transition: all var(--sr-transition);
  box-shadow: var(--sr-shadow-sm);
  letter-spacing: 0.2px;
}

.sr-zone-pill:hover {
  border-color: var(--sr-ocean-400);
  color: var(--sr-ocean-700);
  background: var(--sr-ocean-50);
  transform: translateY(-1px);
  box-shadow: var(--sr-shadow-md);
}

.sr-zone-pill.active {
  background: linear-gradient(135deg, var(--sr-ocean-600), var(--sr-ocean-700));
  color: var(--sr-white);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(14, 116, 176, 0.35);
  transform: translateY(-1px);
}

.sr-zone-pill:focus-visible {
  outline: 2px solid var(--sr-amber-400);
  outline-offset: 2px;
}

.sr-zone-previews {
  max-width: 720px;
  margin: 0 auto;
}

.sr-zone-preview {
  padding: 40px 36px;
}

.sr-zone-preview-content {
  text-align: center;
}

.sr-zone-preview.sr-card {
  box-shadow: var(--sr-shadow-md);
  border: 1px solid var(--sr-border);
}

.sr-zone-desc {
  color: var(--sr-secondary);
  font-size: 16px;
  line-height: 1.7;
  margin-top: 10px;
}

.sr-zone-counters {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 28px 0;
}

.sr-zone-counter {
  text-align: center;
}

.sr-zone-counter-value {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--sr-ocean-600);
  letter-spacing: -1px;
}

.sr-zone-counter-label {
  display: block;
  font-size: 11px;
  color: var(--sr-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
  font-weight: 600;
}


/* ==========================================================================
   20. Affiliate Grid
   ========================================================================== */

.sr-affiliate-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.sr-affiliate-card {
  flex: 0 1 calc(20% - 13px); /* 5 per row on desktop, centered via parent */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 16px 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--sr-radius-lg);
  text-decoration: none;
  transition: all var(--sr-transition);
  position: relative;
  overflow: hidden;
}

.sr-affiliate-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(247, 178, 103, 0.5), transparent);
  opacity: 0;
  transition: opacity var(--sr-transition);
}

.sr-affiliate-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.sr-affiliate-card:hover::before {
  opacity: 1;
}

/* Icon container — colored background instead of bare emoji */
.sr-affiliate-emoji {
  font-size: 28px;
  margin-bottom: 16px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--sr-radius-md);
  background: rgba(247, 178, 103, 0.12);
  border: 1px solid rgba(247, 178, 103, 0.15);
  transition: background var(--sr-transition), transform var(--sr-transition);
}

.sr-affiliate-card:hover .sr-affiliate-emoji {
  background: rgba(247, 178, 103, 0.22);
  transform: scale(1.1) rotate(-3deg);
}

.sr-affiliate-title {
  color: var(--sr-white);
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.2px;
}

.sr-affiliate-desc {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  margin-top: 6px;
  line-height: 1.5;
}


/* ==========================================================================
   21. Itinerary Card
   ========================================================================== */

.sr-itinerary-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: var(--sr-radius-lg);
  overflow: hidden;
  box-shadow: var(--sr-shadow-sm);
  border: 1px solid var(--sr-border);
  transition: transform var(--sr-transition), box-shadow var(--sr-transition);
  background: var(--sr-white);
}

.sr-itinerary-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sr-shadow-xl);
  border-color: transparent;
}

.sr-itinerary-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.sr-itinerary-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.sr-itinerary-card:hover .sr-itinerary-card-img img {
  transform: scale(1.07);
}

.sr-itinerary-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--sr-ocean-600), var(--sr-ocean-400));
}

.sr-itinerary-duration {
  position: absolute;
  bottom: 14px;
  left: 14px;
}

.sr-itinerary-card-body {
  padding: 24px;
}

.sr-itinerary-card-body .sr-h3 {
  margin: 0;
}

.sr-itinerary-excerpt {
  color: var(--sr-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 10px;
}

.sr-itinerary-tags {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}


/* ==========================================================================
   22. Blog Grid
   ========================================================================== */

.sr-blog-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.sr-blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  overflow: hidden;
  border-radius: var(--sr-radius-lg);
  border: 1px solid var(--sr-border);
  background: var(--sr-white);
  transition: transform var(--sr-transition), box-shadow var(--sr-transition);
}

.sr-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sr-shadow-lg);
  border-color: transparent;
}

.sr-blog-card--featured {
  grid-row: span 2;
}

.sr-blog-card-img {
  position: relative;
  overflow: hidden;
}

.sr-blog-card--featured .sr-blog-card-img {
  height: 320px;
}

.sr-blog-card--compact .sr-blog-card-img {
  height: 130px;
}

.sr-blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.sr-blog-card:hover .sr-blog-card-img img {
  transform: scale(1.05);
}

.sr-blog-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--sr-surface), var(--sr-border));
}

.sr-blog-card-body {
  padding: 20px;
  flex: 1;
}

.sr-blog-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.sr-blog-card-time {
  font-size: 11px;
  color: var(--sr-muted);
  font-weight: 500;
  letter-spacing: 0.3px;
}

.sr-blog-card-excerpt {
  color: var(--sr-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 10px;
}

.sr-blog-card-compact-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--sr-heading);
  line-height: 1.4;
  margin: 0;
  letter-spacing: -0.2px;
}


/* ==========================================================================
   23. Newsletter
   ========================================================================== */

.sr-newsletter {
  background: linear-gradient(135deg, var(--sr-ocean-900) 0%, var(--sr-ocean-700) 60%, var(--sr-ocean-600) 100%);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.sr-newsletter::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(247, 178, 103, 0.06);
  pointer-events: none;
}

.sr-newsletter::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.sr-newsletter-inner {
  text-align: center;
  max-width: 540px;
  position: relative;
  z-index: 1;
}

.sr-newsletter-title {
  color: var(--sr-white);
}

.sr-newsletter-subtitle {
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
  margin-top: 10px;
  line-height: 1.6;
}

.sr-newsletter-form {
  margin-top: 36px;
}

.sr-newsletter-input-row {
  display: flex;
  gap: 10px;
}

.sr-newsletter-input {
  flex: 1;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.10);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--sr-radius-md);
  color: var(--sr-white);
  font-size: 15px;
  outline: none;
  transition: border-color var(--sr-transition), background var(--sr-transition);
  font-family: var(--sr-font-body);
}

.sr-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.sr-newsletter-input:focus {
  border-color: rgba(247, 178, 103, 0.5);
  background: rgba(255, 255, 255, 0.14);
}

.sr-newsletter-consent {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  justify-content: center;
}

.sr-newsletter-consent input[type="checkbox"] {
  accent-color: var(--sr-amber-400);
}

.sr-nl-message {
  margin-top: 12px;
  font-size: 14px;
}

.sr-nl-success {
  color: var(--sr-success);
}

.sr-nl-error {
  color: var(--sr-error);
}


/* ==========================================================================
   24. Beach Grid & Zone Responsive
   ========================================================================== */

@media (max-width: 1023px) {
  .sr-beach-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 220px;
  }

  .sr-beach-card--large {
    grid-column: 1 / span 2;
    grid-row: span 1;
    min-height: 260px;
  }

  .sr-affiliate-card {
    flex: 0 1 calc(33.333% - 11px);
  }

  .sr-blog-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(200px, auto);
  }

  .sr-blog-card--featured {
    grid-row: span 1;
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .sr-beach-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .sr-beach-card {
    min-height: 220px;
  }

  .sr-beach-card--large {
    grid-column: 1;
    grid-row: span 1;
    min-height: 220px;
  }

  .sr-beach-card-overlay {
    padding: 20px 16px 16px;
  }

  .sr-beach-card-title {
    font-size: 16px;
    min-height: auto;
  }

  .sr-beach-card--large .sr-beach-card-title {
    font-size: 18px;
  }

  .sr-zone-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
  
    justify-content: flex-start;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .sr-zone-pills::-webkit-scrollbar {
    display: none;
  }

  .sr-zone-pill {
    flex-shrink: 0;
  }

  .sr-zone-counters {
    gap: 20px;
  }

  .sr-zone-preview {
    padding: 24px 16px;
  }

  .sr-affiliate-card {
    flex: 0 1 calc(50% - 8px);
    padding: 28px 12px 22px;
  }

  .sr-blog-grid {
    grid-template-columns: 1fr;
  }

  .sr-blog-card--featured {
    grid-column: span 1;
  }

  .sr-blog-card--featured .sr-blog-card-img {
    height: 220px;
  }

  .sr-newsletter-input-row {
    flex-direction: column;
  }

  .sr-section-header--between {
    flex-wrap: wrap;
  }
}

@media (max-width: 400px) {
  .sr-affiliate-card {
    flex: 0 1 100%;
  }
}


/* ==========================================================================
   25. Hero Compact (inner pages)
   ========================================================================== */

.sr-hero--compact {
  min-height: auto;
  padding: 128px 0 56px;
  display: block;
  align-items: unset;
}

@media (max-width: 767px) {
  .sr-hero--compact {
    padding: 108px 0 36px;
  }
}


/* ==========================================================================
   26. Filter Bar
   ========================================================================== */

.sr-filter-bar {
  position: sticky;
  top: 72px;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--sr-border);
  box-shadow: var(--sr-shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sr-filter-bar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
}

.sr-filter-select {
  padding: 9px 14px;
  border: 1.5px solid var(--sr-border);
  border-radius: var(--sr-radius-md);
  font-size: 13px;
  color: var(--sr-body);
  background: var(--sr-white);
  font-family: var(--sr-font-body);
  cursor: pointer;
  transition: border-color var(--sr-transition-fast);
}

.sr-filter-select:focus {
  outline: none;
  border-color: var(--sr-ocean-500);
}

.sr-filter-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;

  scrollbar-width: none;
}

.sr-filter-pills::-webkit-scrollbar {
  display: none;
}

.sr-filter-pill {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--sr-border);
  background: var(--sr-white);
  font-size: 12px;
  font-weight: 600;
  color: var(--sr-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--sr-transition-fast);
  letter-spacing: 0.2px;
}

.sr-filter-pill:hover {
  border-color: var(--sr-ocean-500);
  color: var(--sr-ocean-600);
  background: var(--sr-ocean-50);
}

.sr-filter-pill.active {
  background: var(--sr-ocean-600);
  color: var(--sr-white);
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(14, 116, 176, 0.3);
}

@media (max-width: 767px) {
  .sr-filter-bar-inner {
    flex-wrap: wrap;
    padding: 12px 16px;
  }
}


/* ==========================================================================
   27. Pagination
   ========================================================================== */

.sr-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}

.sr-pagination a,
.sr-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--sr-radius-md);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--sr-transition);
}

.sr-pagination a {
  border: 1.5px solid var(--sr-border);
  color: var(--sr-body);
}

.sr-pagination a:hover {
  border-color: var(--sr-ocean-500);
  color: var(--sr-ocean-600);
  background: var(--sr-ocean-50);
}

.sr-pagination-current {
  background: linear-gradient(135deg, var(--sr-ocean-600), var(--sr-ocean-700));
  color: var(--sr-white);
  box-shadow: 0 4px 12px rgba(14, 116, 176, 0.3);
}


/* ==========================================================================
   28. Breadcrumbs
   ========================================================================== */

.sr-breadcrumbs {
  padding: 14px 0;
  font-size: 12px;
  color: var(--sr-muted);
  background: var(--sr-surface-alt);
  border-bottom: 1px solid var(--sr-border);
  letter-spacing: 0.2px;
}

.sr-breadcrumbs a {
  color: var(--sr-ocean-600);
  text-decoration: none;
  transition: color var(--sr-transition-fast);
}

.sr-breadcrumbs a:hover {
  color: var(--sr-ocean-700);
  text-decoration: underline;
}


/* ==========================================================================
   29. Beach Hero (single page)
   ========================================================================== */

.sr-beach-hero {
  position: relative;
  min-height: 420px;
  background-color: var(--sr-ocean-900);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.sr-beach-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6, 36, 58, 0.15) 0%,
    rgba(6, 36, 58, 0.75) 100%
  );
}

.sr-beach-hero-overlay {
  position: relative;
  z-index: 2;
  padding: 56px 0 36px;
  width: 100%;
}

.sr-beach-hero-rating {
  color: var(--sr-amber-400);
  font-size: 18px;
  font-weight: 700;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}


/* ==========================================================================
   30. Quick Facts
   ========================================================================== */

.sr-quick-facts {
  background: var(--sr-white);
  border-bottom: 1px solid var(--sr-border);
  padding: 20px 0;
  box-shadow: var(--sr-shadow-sm);
}

.sr-quick-facts-inner {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.sr-quick-fact {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sr-quick-fact-icon {
  font-size: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sr-surface);
  border-radius: var(--sr-radius-md);
}

.sr-quick-fact-label {
  font-size: 10px;
  color: var(--sr-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  display: block;
}

.sr-quick-fact-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--sr-heading);
  display: block;
  margin-top: 2px;
}


/* ==========================================================================
   31. Beach Layout (content + sidebar)
   ========================================================================== */

.sr-beach-layout {
  display: flex;
  gap: 48px;
}

.sr-beach-main {
  flex: 1;
  min-width: 0;
}

.sr-beach-content {
  font-size: 16px;
  line-height: 1.85;
  color: var(--sr-body);
}

.sr-beach-content h2 {
  font-size: 26px;
  font-weight: 800;
  margin-top: 40px;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: var(--sr-heading) !important;
}

.sr-beach-map {
  margin-top: 36px;
  border-radius: var(--sr-radius-lg);
  overflow: hidden;
  box-shadow: var(--sr-shadow-md);
}

.sr-beach-map iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

.sr-beach-sidebar {
  width: 340px;
  flex-shrink: 0;
}

.sr-sidebar-card {
  background: var(--sr-white);
  border-radius: var(--sr-radius-lg);
  box-shadow: var(--sr-shadow-sm);
  border: 1px solid var(--sr-border);
  padding: 28px;
  margin-bottom: 20px;
}

.sr-sidebar-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--sr-heading);
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}

.sr-sidebar-card-desc {
  font-size: 14px;
  color: var(--sr-secondary);
  margin-bottom: 18px;
  line-height: 1.6;
}

.sr-text-muted {
  color: var(--sr-muted);
}

@media (max-width: 1023px) {
  .sr-beach-sidebar {
    width: 300px;
  }
}

@media (max-width: 767px) {
  .sr-beach-layout {
    flex-direction: column;
  }
  .sr-beach-sidebar {
    width: 100%;
  }
  .sr-beach-hero {
    min-height: 280px;
  }
}


/* ==========================================================================
   32. Blog Single
   ========================================================================== */

.sr-blog-single-inner {
  max-width: 740px;
  margin: 0 auto;
}

.sr-blog-header {
  margin-bottom: 36px;
}

.sr-blog-header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--sr-muted);
  margin-bottom: 16px;
  font-weight: 500;
}

.sr-blog-lead {
  font-size: 20px;
  line-height: 1.65;
  color: var(--sr-secondary);
  margin-top: 16px;
  font-weight: 400;
}

.sr-blog-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.sr-blog-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.sr-blog-author-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--sr-heading);
}

.sr-blog-author-date {
  display: block;
  font-size: 12px;
  color: var(--sr-muted);
  margin-top: 2px;
}

.sr-blog-featured-img {
  margin-bottom: 40px;
  border-radius: var(--sr-radius-xl);
  overflow: hidden;
  box-shadow: var(--sr-shadow-lg);
}

.sr-blog-featured-img img {
  width: 100%;
  height: auto;
  display: block;
}

.sr-blog-content {
  font-size: 17px;
  line-height: 1.85;
  color: var(--sr-body);
}

.sr-blog-content h2 {
  font-size: 26px;
  font-weight: 800;
  border-top: 3px solid var(--sr-ocean-500);
  padding-top: 28px;
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: var(--sr-heading) !important;
}

.sr-blog-content h3 {
  font-size: 21px;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
  color: var(--sr-heading) !important;
}

.sr-blog-content p {
  margin-bottom: 18px;
}

.sr-blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--sr-radius-lg);
  box-shadow: var(--sr-shadow-md);
}

.sr-blog-content a {
  color: var(--sr-ocean-600);
  text-decoration: underline;
  text-decoration-color: rgba(14, 116, 176, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--sr-transition-fast);
}

.sr-blog-content a:hover {
  text-decoration-color: var(--sr-ocean-600);
}


/* ==========================================================================
   33. Affiliate CTA Inline
   ========================================================================== */

.sr-affiliate-cta-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  margin: 40px 0;
  background: linear-gradient(135deg, var(--sr-ocean-50) 0%, rgba(247, 178, 103, 0.08) 100%);
  border-radius: var(--sr-radius-lg);
  border: 1px solid var(--sr-ocean-100);
  border-left: 3px solid var(--sr-ocean-500);
}

.sr-affiliate-cta-text strong {
  display: block;
  font-size: 15px;
  color: var(--sr-heading);
  margin-bottom: 4px;
  font-weight: 700;
}

.sr-affiliate-cta-text p {
  font-size: 14px;
  color: var(--sr-secondary);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .sr-blog-single-inner {
    max-width: 100%;
  }
  .sr-blog-content h2 {
    font-size: 22px;
  }
  .sr-blog-lead {
    font-size: 17px;
  }
  .sr-affiliate-cta-inline {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ==========================================================================
   34. Itinerary Meta & Timeline
   ========================================================================== */

.sr-itinerary-meta {
  display: flex;
  gap: 28px;
  margin-top: 20px;
}

.sr-itinerary-meta-item {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* Timeline */
.sr-timeline {
  position: relative;
  padding-left: 44px;
  max-width: 740px;
  margin: 0 auto;
}

.sr-timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--sr-ocean-400), var(--sr-ocean-100));
  border-radius: 2px;
}

.sr-timeline h2 {
  position: relative;
  font-size: 22px;
  font-weight: 800;
  color: var(--sr-heading) !important;
  margin-top: 48px;
  margin-bottom: 18px;
  padding-top: 8px;
  letter-spacing: -0.4px;
}

.sr-timeline h2::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sr-ocean-600), var(--sr-ocean-400));
  border: 3px solid var(--sr-white);
  box-shadow: 0 0 0 2px var(--sr-ocean-500), var(--sr-shadow-sm);
}

.sr-timeline p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--sr-body);
  margin-bottom: 18px;
}


/* ==========================================================================
   35. Activity Card
   ========================================================================== */

.sr-activity-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--sr-radius-lg);
  overflow: hidden;
  border: 1px solid var(--sr-border);
  background: var(--sr-white);
  transition: transform var(--sr-transition), box-shadow var(--sr-transition);
}

.sr-activity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sr-shadow-xl);
  border-color: transparent;
}

.sr-activity-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.sr-activity-card-img img,
.sr-activity-card-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sr-activity-card-placeholder {
  background: linear-gradient(135deg, var(--sr-ocean-500), var(--sr-ocean-700));
}

.sr-activity-card-icon {
  font-size: 56px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  line-height: 1;
}

.sr-activity-card-img {
  position: relative;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--sr-radius-lg) var(--sr-radius-lg) 0 0;
  overflow: hidden;
}

.sr-activity-price {
  position: absolute;
  bottom: 14px;
  right: 14px;
}

.sr-activity-card-body {
  padding: 22px;
}


/* ==========================================================================
   36. 404 & Search
   ========================================================================== */

.sr-404-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.sr-404-content p {
  color: var(--sr-secondary);
  font-size: 17px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.sr-search-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto 36px;
}

.sr-search-input {
  flex: 1;
  padding: 14px 18px;
  border: 1.5px solid var(--sr-border);
  border-radius: var(--sr-radius-md);
  font-size: 15px;
  color: var(--sr-body);
  font-family: var(--sr-font-body);
  transition: border-color var(--sr-transition-fast), box-shadow var(--sr-transition-fast);
}

.sr-search-input:focus {
  outline: none;
  border-color: var(--sr-ocean-500);
  box-shadow: 0 0 0 3px rgba(26, 143, 209, 0.15);
}

.sr-404-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.sr-search-results {
  max-width: 740px;
  margin: 0 auto;
}

.sr-search-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--sr-border);
}

.sr-search-item h3 {
  margin: 0 0 10px;
}

.sr-search-excerpt {
  color: var(--sr-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 10px;
}

@media (max-width: 767px) {
  .sr-search-form {
    flex-direction: column;
  }
}


/* ==========================================================================
   37. Footer
   ========================================================================== */

.sr-footer {
  background: var(--sr-ocean-950);
  padding: 88px 0 0;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative gradient top-right */
.sr-footer::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 178, 103, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.sr-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 64px;
  position: relative;
  z-index: 1;
}

.sr-footer-brand {
  /* First column */
}

.sr-footer-brand .sr-logo {
  color: var(--sr-white);
  margin-bottom: 16px;
  display: inline-flex;
}

.sr-footer-desc {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 280px;
}

.sr-footer-social {
  display: flex;
  gap: 12px;
}

.sr-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--sr-radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.72);
  transition: all var(--sr-transition);
  text-decoration: none;
}

.sr-footer-social a:hover {
  color: var(--sr-amber-400);
  background: rgba(247, 178, 103, 0.12);
  border-color: rgba(247, 178, 103, 0.25);
  box-shadow: 0 0 16px rgba(247, 178, 103, 0.2);
  transform: translateY(-2px);
}

.sr-footer-heading,
.sr-footer .sr-footer-col h4 {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase;
  color: var(--sr-amber-400) !important;
  margin: 0 0 20px;
}

.sr-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sr-footer-links li {
  margin-bottom: 10px;
}

.sr-footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--sr-transition-fast);
  display: inline-block;
  position: relative;
}

.sr-footer-links a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--sr-amber-400);
  transition: width var(--sr-transition);
}

.sr-footer-links a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.sr-footer-links a:hover::after {
  width: 100%;
}

.sr-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 28px 0;
  position: relative;
  z-index: 1;
}

.sr-footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  margin: 0;
}

@media (max-width: 1023px) {
  .sr-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .sr-footer {
    padding-top: 64px;
  }
  .sr-footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 48px;
  }
  .sr-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 24px 0;
  }
  .sr-itinerary-meta {
    flex-wrap: wrap;
    gap: 12px;
  }
  .sr-timeline {
    padding-left: 36px;
  }
  .sr-timeline h2::before {
    left: -28px;
    width: 22px;
    height: 22px;
  }
}

/* =============================================================
   SCROLL ANIMATIONS & VISUAL ENHANCEMENTS
   Added: 2026-03-13
   ============================================================= */

/* ----------------------------------------------------------
   1. Scroll Reveal Animation Classes
   ---------------------------------------------------------- */

/* Scroll reveal — JS adds .sr-ready to <html> when IntersectionObserver is available.
   Without JS, content stays fully visible (progressive enhancement). */
.sr-ready .sr-reveal {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.sr-ready .sr-reveal-up {
  transform: translateY(40px);
}

.sr-ready .sr-reveal-left {
  transform: translateX(-40px);
}

.sr-ready .sr-reveal-right {
  transform: translateX(40px);
}

.sr-ready .sr-reveal-scale {
  transform: scale(0.92);
}

/* Revealed state */
.sr-ready .sr-reveal.sr-revealed {
  opacity: 1;
  transform: none;
}

/* ----------------------------------------------------------
   2. Section Wave Dividers
   ---------------------------------------------------------- */

/* Wave divider on top of zones section */
.sr-section-alt#sr-zones::before {
  content: '';
  position: absolute;
  top: -48px;
  left: 0;
  right: 0;
  height: 48px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 48h1440V16C1200 42 960 0 720 16S240 48 0 16v32z' fill='%23f8fbfd'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: cover;
  z-index: 2;
  pointer-events: none;
}

.sr-section-alt#sr-zones {
  position: relative;
  padding-top: 80px;
}

/* ----------------------------------------------------------
   3. Quick Nav SVG Icon Styling (replaces emoji)
   ---------------------------------------------------------- */

.sr-quick-nav-icon {
  flex-shrink: 0;
  color: var(--sr-ocean-600);
  transition: transform var(--sr-transition), color var(--sr-transition);
}

.sr-quick-nav-item:hover .sr-quick-nav-icon {
  transform: translateY(-2px);
  color: var(--sr-ocean-700);
}

/* ----------------------------------------------------------
   5. Affiliate Icon Container (replaces emoji)
   ---------------------------------------------------------- */

.sr-affiliate-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--sr-radius-lg);
  background: linear-gradient(135deg, rgba(247, 178, 103, 0.12), rgba(247, 178, 103, 0.04));
  color: var(--sr-amber-600);
  margin-bottom: 16px;
  transition: transform var(--sr-transition), background var(--sr-transition);
}

.sr-affiliate-card:hover .sr-affiliate-icon {
  transform: scale(1.08) rotate(-3deg);
  background: linear-gradient(135deg, rgba(247, 178, 103, 0.2), rgba(247, 178, 103, 0.08));
}

/* ----------------------------------------------------------
   6. Counter Animation Support
   ---------------------------------------------------------- */

.sr-counter {
  display: inline-block;
  min-width: 1.5ch;
}

/* ----------------------------------------------------------
   7. Image Blur Reveal
   ---------------------------------------------------------- */

.sr-beach-card-img {
  filter: blur(2px);
  transition: filter 0.5s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.sr-beach-card-img.sr-img-loaded {
  filter: blur(0);
}

/* ----------------------------------------------------------
   8. Dark Section Texture Overlay
   ---------------------------------------------------------- */

.sr-section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.sr-section-dark > * {
  position: relative;
  z-index: 1;
}

/* ----------------------------------------------------------
   9. Reduced Motion Support
   ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .sr-ready .sr-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .sr-hero-content,
  .sr-hero .sr-eyebrow,
  .sr-hero .sr-h1,
  .sr-hero-subtitle,
  .sr-hero-ctas,
  .sr-stats-bar {
    animation: none !important;
  }

  .sr-hero {
    background-attachment: scroll !important;
  }
}


/* ==========================================================================
   DESIGN AUDIT FIXES — March 2026
   ========================================================================== */

/* --- Fix 6: Auxiliary pages hero (Rent-a-Car, Transfers, Seguro) --- */
.sr-hero--car,
.sr-hero--transfer,
.sr-hero--insurance,
.sr-hero-img {
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 56px;
  background-size: cover;
  background-position: center;
  color: var(--sr-white);
}

.sr-hero-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6, 36, 58, 0.5) 0%,
    rgba(6, 36, 58, 0.8) 100%
  );
  z-index: 0;
}

.sr-hero-img > * {
  position: relative;
  z-index: 1;
}

.sr-hero-img h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--sr-white);
  letter-spacing: -1px;
  margin: 0 0 16px;
  font-family: var(--sr-font-heading);
}

.sr-hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.sr-btn-car,
.sr-btn-transfer,
.sr-btn-insurance,
.sr-hero-img .sr-btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--sr-amber-400);
  color: var(--sr-ocean-950);
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--sr-radius-md);
  text-decoration: none;
  transition: all var(--sr-transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sr-btn-car:hover,
.sr-btn-transfer:hover,
.sr-btn-insurance:hover {
  background: var(--sr-amber-300);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(247, 178, 103, 0.4);
}

/* Service page sections — auto-container */
.page-template-tpl-service .sr-section,
.page-template-tpl-service .sr-section-alt {
  max-width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

.page-template-tpl-service .sr-section > *,
.page-template-tpl-service .sr-section-alt > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* Section title */
.sr-section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 40px;
  font-family: var(--sr-font-heading);
  color: var(--sr-heading);
  letter-spacing: -0.5px;
}

/* Service cards grid */
.sr-cards--car,
.sr-cards--transfer,
.sr-cards--insurance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.sr-card--car,
.sr-card--transfer,
.sr-card--insurance {
  text-align: center;
  padding: 40px 28px 32px;
  background: var(--sr-white);
  border-radius: var(--sr-radius-lg);
  box-shadow: var(--sr-shadow-md);
  border: 1px solid var(--sr-border);
  transition: transform var(--sr-transition), box-shadow var(--sr-transition);
}

.sr-card--car:hover,
.sr-card--transfer:hover,
.sr-card--insurance:hover {
  transform: translateY(-4px);
  box-shadow: var(--sr-shadow-lg);
}

.sr-card--car h3,
.sr-card--transfer h3,
.sr-card--insurance h3 {
  font-family: var(--sr-font-heading);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--sr-heading);
}

.sr-card--car p,
.sr-card--transfer p,
.sr-card--insurance p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--sr-secondary);
  margin: 0;
}

.sr-card-icon {
  font-size: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  background: var(--sr-ocean-50);
  border-radius: var(--sr-radius-lg);
}

/* Zone distance grid */
.sr-section-alt {
  background: var(--sr-surface-alt);
  padding: 64px 24px;
}

.sr-zone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.sr-zone-card--car,
.sr-zone-card--transfer {
  background: var(--sr-white);
  padding: 20px 24px;
  border-radius: var(--sr-radius-md);
  box-shadow: var(--sr-shadow-sm);
  border: 1px solid var(--sr-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform var(--sr-transition-fast), box-shadow var(--sr-transition-fast);
}

.sr-zone-card--car:hover,
.sr-zone-card--transfer:hover {
  transform: translateY(-2px);
  box-shadow: var(--sr-shadow-md);
}

.sr-zone-card--car strong,
.sr-zone-card--transfer strong {
  font-family: var(--sr-font-heading);
  color: var(--sr-heading);
  font-size: 16px;
}

.sr-zone-card--car span,
.sr-zone-card--transfer span {
  color: var(--sr-secondary);
  font-size: 13px;
}

/* --- Fix 7: Hotel title under navbar --- */
.sr-hotel-search-hero {
  padding-top: 100px;
}

/* --- Fix 20: Pinterest icon fix --- */
.sr-footer-social a svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   RESPONSIVE — Mobile & Tablet
   ========================================================================== */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
  .sr-cards--car,
  .sr-cards--transfer,
  .sr-cards--insurance {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sr-hero-img {
    min-height: 340px;
    padding: 100px 20px 48px;
  }

  .sr-hero-img h1 {
    font-size: 36px;
  }

  .sr-hero-sub {
    font-size: 16px;
  }

  .sr-zone-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
  /* Header: show hamburger, hide desktop nav */
  .sr-nav {
    display: none;
  }

  .sr-lang-toggle {
    display: none;
  }

  .sr-hamburger {
    display: flex;
  }

  .sr-header-inner {
    height: 56px;
  }

  /* Hero */
  .sr-hero {
    min-height: 80vh;
    padding-bottom: 32px;
    background-attachment: scroll !important;
  }

  .sr-hero .sr-h1 {
    font-size: clamp(28px, 7vw, 40px);
    letter-spacing: -1px;
  }

  .sr-hero-subtitle {
    font-size: 15px;
  }

  .sr-hero-ctas {
    flex-direction: column;
    gap: 12px;
  }

  .sr-hero-ctas .sr-btn-primary,
  .sr-hero-ctas .sr-btn-ghost-dark {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Stats bar */
  .sr-stats-bar {
    flex-wrap: wrap;
    padding: 16px;
    gap: 0;
  }

  .sr-stat {
    flex: 0 0 50%;
    padding: 10px 12px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .sr-stat:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .sr-stat:nth-child(3),
  .sr-stat:nth-child(4) {
    border-bottom: none;
  }

  .sr-stat-value {
    font-size: 24px;
  }

  /* Quick nav */
  .sr-quick-nav {
    top: 56px;
  }

  .sr-quick-nav-inner {
    gap: 0;
  }

  .sr-quick-nav-item {
    padding: 10px 14px;
    font-size: 11px;
  }

  /* Filter bar */
  .sr-filter-bar {
    top: 56px;
  }

  .sr-filter-bar-inner {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding: 10px 16px;
  }

  .sr-filter-pills {
    flex-wrap: nowrap;
  }

  /* Hero compact (Roteiros, Actividades, Blog) */
  .sr-hero--compact {
    padding: 80px 0 32px;
  }

  .sr-hero--compact .sr-h1 {
    font-size: clamp(24px, 6vw, 32px);
    letter-spacing: -0.5px;
  }

  /* Beach hero */
  .sr-beach-hero {
    min-height: 280px;
  }

  .sr-beach-hero-overlay {
    padding: 32px 0 24px;
  }

  /* Quick facts */
  .sr-quick-facts-inner {
    gap: 16px;
  }

  .sr-quick-fact {
    flex: 0 0 calc(50% - 8px);
  }

  /* Hotel search */
  .sr-hotel-search-hero {
    padding-top: 72px;
  }

  .sr-search-form {
    flex-direction: column;
  }

  /* Footer */
  .sr-footer {
    padding-top: 48px;
  }

  .sr-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }

  .sr-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 20px 0;
  }

  /* Auxiliary pages */
  .sr-hero-img {
    min-height: 320px;
    padding: 80px 20px 40px;
  }

  .sr-hero-img h1 {
    font-size: 28px;
  }

  .sr-hero-sub {
    font-size: 15px;
  }

  .sr-zone-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Itinerary meta */
  .sr-itinerary-meta {
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Timeline */
  .sr-timeline {
    padding-left: 28px;
  }

  .sr-timeline h2::before {
    left: -22px;
    width: 18px;
    height: 18px;
  }

  /* Container */
  .sr-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Praias page hero */
  .sr-praias-hero .sr-container {
    padding: 2rem 16px 1.5rem;
  }

  .sr-praias-hero .sr-h1 {
    font-size: 28px;
  }

  /* Map */
  #sr-beach-map {
    height: 220px !important;
  }

  /* Breadcrumbs */
  .sr-breadcrumbs {
    font-size: 12px;
    padding: 10px 0;
  }

  /* Beach layout */
  .sr-beach-layout {
    flex-direction: column;
  }

  .sr-beach-sidebar {
    width: 100%;
  }
}


/* ==========================================================================
   Accessibility — Link Underlines (WCAG 2.1 §1.4.1)
   ========================================================================== */

/* Content body links */
.entry-content a:not([class]),
.sr-beach-content a:not([class]),
.sr-itinerary-content a:not([class]),
.sr-blog-body a:not([class]) {
  text-decoration: underline;
  text-decoration-color: var(--sr-amber-400);
  text-underline-offset: 2px;
  transition: text-decoration-color var(--sr-transition-fast);
}

.entry-content a:not([class]):hover,
.sr-beach-content a:not([class]):hover,
.sr-itinerary-content a:not([class]):hover,
.sr-blog-body a:not([class]):hover {
  text-decoration-color: var(--sr-ocean-500);
}

/* Footer links: underline on hover */
.sr-footer-links a:hover::after {
  width: 100%;
}
