/* ============================================
   SCUBACUBA.CA — Modern Minimal Design System
   Mobile-first responsive
   ============================================ */

/* --- CSS Variables --- */
:root {
  --ocean: #282a89;
  --ocean-deep: #1c1e6e;
  --ocean-light: #3d40a8;
  --ocean-pale: #a8aae0;
  --accent: #E31B23;
  --accent-hover: #C41920;
  --white: #FFFFFF;
  --off-white: #F7F7FC;
  --gray-50: #F8F8FB;
  --gray-100: #EDEDF3;
  --gray-200: #DDDDE8;
  --gray-300: #B8B8CC;
  --gray-400: #9090AB;
  --gray-500: #6E6E8A;
  --gray-600: #52526E;
  --gray-700: #36364F;
  --gray-800: #1E1E38;
  --gray-900: #12122A;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.1);
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.125rem; }

img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }

/* Scroll reveal — elements below the fold fade up on enter */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
a { color: var(--ocean); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--ocean-deep); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-500);
  margin-bottom: 48px;
  font-size: 1rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(230, 57, 70, 0.3);
}

.btn-secondary {
  background: var(--ocean);
  color: var(--white);
}
.btn-secondary:hover {
  background: var(--ocean-deep);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 119, 182, 0.3);
}

.btn-outline {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--gray-900);
  border-color: var(--white);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.813rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 0.938rem;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(18, 18, 42, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(12, 12, 32, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.header-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--white);
}
.header-logo:hover { color: var(--white); }

.logo-icon {
  height: 48px;
  width: 48px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}
@media (min-width: 1024px) {
  .logo-icon { height: 52px; width: 52px; }
}

.logo-wordmark {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--white);
  line-height: 1;
  white-space: nowrap;
}
.logo-wordmark span {
  color: var(--accent);
  font-weight: 700;
}

.nav-desktop {
  display: none;
}

.nav-desktop a {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.header-cta {
  display: none;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: var(--gray-900);
  z-index: 999;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 80px 24px 32px;
  overflow-y: auto;
}

.mobile-menu.active { right: 0; }

.mobile-menu a {
  display: block;
  color: rgba(255,255,255,0.92);
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  text-align: center;
  transition: color var(--transition), background var(--transition);
}

.mobile-menu a:hover { color: var(--white); background: rgba(255,255,255,0.04); }
.mobile-menu .lang-toggle { align-self: center; }

.mobile-menu .btn {
  width: 100%;
  margin-top: 24px;
}

.mobile-menu-phone {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 14px 0 !important;
  border-bottom: none !important;
  color: rgba(255,255,255,0.85) !important;
  font-weight: 600 !important;
  font-size: 0.938rem !important;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.06);
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-phone:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white) !important;
}
.mobile-menu-phone svg { opacity: 0.7; }

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Phone bar — desktop strip above header */
.phone-bar {
  display: none;
  background: var(--gray-900);
  color: var(--gray-400);
  font-size: 0.75rem;
  padding: 6px 16px;
  text-align: center;
  letter-spacing: 0.02em;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
}

.phone-bar a {
  color: var(--ocean-pale);
  font-weight: 600;
}
.phone-bar a:hover { color: var(--white); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 80px 20px 40px;
}

.hero-bg {
  position: absolute;
  top: -8%; left: -8%; right: -8%; bottom: -8%;
  background-size: cover;
  /* Anchor near the top so the two divers (in the upper-middle of the photo)
     sit in the center of the viewport instead of getting smashed against the
     header. On mobile portrait no vertical crop happens, so we zoom in a bit
     to keep the composition centered there too. */
  background-position: center 18%;
  z-index: 0;
  transform-origin: center;
  will-change: transform, filter;
  /* Real refraction-style water shimmer via SVG turbulence + displacement.
     The transform layer adds a slow scale "breath" so the whole image still drifts. */
  filter: url(#hero-water);
  animation: hero-breath 16s ease-in-out infinite;
}

/* Mobile: scale the image up a bit so vertical crop happens and we can
   pull the divers into the center of the screen instead of the top. */
@media (max-width: 768px) {
  .hero-bg {
    background-size: auto 145%;
    background-position: 60% 30%;
  }
}

@keyframes hero-breath {
  0%, 100% { transform: scale(1.08) translate3d(0, 0, 0); }
  50%      { transform: scale(1.12) translate3d(0.8%, -0.6%, 0); }
}

/* Caustics — soft light rays drifting across the surface */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 30% 20%, rgba(180, 220, 255, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 35% at 70% 40%, rgba(255, 255, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 80%, rgba(120, 200, 255, 0.16), transparent 55%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
  animation: hero-caustics 9s ease-in-out infinite;
}

@keyframes hero-caustics {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
  33%      { transform: translate3d(3%, -2%, 0) scale(1.04); opacity: 1; }
  66%      { transform: translate3d(-2.5%, 1.5%, 0) scale(0.97); opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; transform: scale(1.02); }
  .hero-bg::before { animation: none; }
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 0%, rgba(18, 18, 42, 0.35) 100%),
    linear-gradient(
      180deg,
      rgba(18, 18, 42, 0.55) 0%,
      rgba(40, 42, 137, 0.10) 40%,
      rgba(18, 18, 42, 0.60) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: 0.813rem;
  font-weight: 500;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.1);
}

.hero-badge .stars { color: #FBBF24; }

.hero h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.hero h1 span {
  color: #FFD60A;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 214, 10, 0.3);
}

.hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.063rem;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,0.4);
  animation: float 3s ease-in-out infinite;
}

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

/* --- Trust Bar --- */
.trust-bar {
  background: var(--gray-900);
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  text-align: center;
}

.trust-item {
  color: var(--white);
}

.trust-item .number {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.trust-item .label {
  font-size: 0.688rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

/* --- Why Section (Feature Cards) --- */
.why-section {
  background: var(--off-white);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.feature-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px 18px;
  text-align: left;
  border: 1px solid var(--gray-100);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(40, 42, 137, 0.08);
  border-color: transparent;
}

.feature-icon {
  position: relative;
  width: 48px;
  height: 48px;
  background: linear-gradient(155deg, #4F52C9 0%, #282a89 55%, #1c1e6e 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.35) inset,
    0 -2px 4px rgba(8, 8, 32, 0.25) inset,
    0 8px 18px -8px rgba(40, 42, 137, 0.45),
    0 3px 6px -3px rgba(40, 42, 137, 0.3);
}
.feature-icon::before {
  content: '';
  position: absolute;
  top: 2px; left: 3px; right: 3px;
  height: 45%;
  border-radius: 12px 12px 100px 100px / 12px 12px 40px 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}
.feature-icon svg {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 30, 0.25));
}

/* Color variants per card for visual rhythm */
.feature-card:nth-child(2) .feature-icon { background: linear-gradient(155deg, #22D3EE 0%, #06B6D4 55%, #0E7490 100%); box-shadow: 0 1px 0 rgba(255,255,255,0.45) inset, 0 -2px 4px rgba(8,30,45,0.25) inset, 0 8px 18px -8px rgba(6,182,212,0.5), 0 3px 6px -3px rgba(6,182,212,0.3); }
.feature-card:nth-child(3) .feature-icon { background: linear-gradient(155deg, #FBBF24 0%, #F59E0B 55%, #B45309 100%); box-shadow: 0 1px 0 rgba(255,255,255,0.45) inset, 0 -2px 4px rgba(80,40,5,0.25) inset, 0 8px 18px -8px rgba(245,158,11,0.45), 0 3px 6px -3px rgba(245,158,11,0.3); }
.feature-card:nth-child(4) .feature-icon { background: linear-gradient(155deg, #34D399 0%, #10B981 55%, #047857 100%); box-shadow: 0 1px 0 rgba(255,255,255,0.45) inset, 0 -2px 4px rgba(2,40,25,0.25) inset, 0 8px 18px -8px rgba(16,185,129,0.45), 0 3px 6px -3px rgba(16,185,129,0.3); }
.feature-card:nth-child(5) .feature-icon { background: linear-gradient(155deg, #FB7185 0%, #F43F5E 55%, #9F1239 100%); box-shadow: 0 1px 0 rgba(255,255,255,0.45) inset, 0 -2px 4px rgba(80,5,20,0.25) inset, 0 8px 18px -8px rgba(244,63,94,0.45), 0 3px 6px -3px rgba(244,63,94,0.3); }
.feature-card:nth-child(6) .feature-icon { background: linear-gradient(155deg, #A78BFA 0%, #8B5CF6 55%, #5B21B6 100%); box-shadow: 0 1px 0 rgba(255,255,255,0.45) inset, 0 -2px 4px rgba(30,10,80,0.25) inset, 0 8px 18px -8px rgba(139,92,246,0.45), 0 3px 6px -3px rgba(139,92,246,0.3); }

.feature-card h3 {
  margin-bottom: 4px;
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.55;
}

/* --- Video Section --- */
.video-section {
  background: var(--gray-900);
  text-align: center;
}

.video-section .section-title { color: var(--white); }
.video-section .section-subtitle { color: rgba(255,255,255,0.65); }

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 56.25%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Destinations Grid --- */
.destinations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.destination-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

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

.destination-card .card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(18,18,42,0.85));
  color: var(--white);
}

.destination-card .card-overlay h3 {
  color: var(--white);
  font-size: 1.063rem;
  margin-bottom: 4px;
}

.destination-card .card-overlay p {
  font-size: 0.813rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}

.destination-card .card-overlay .btn-sm {
  font-size: 0.75rem;
  padding: 8px 16px;
}

/* --- Testimonials --- */
.testimonials-section {
  background: var(--off-white);
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  padding: 0 8px;
}

.testimonial-inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--gray-100);
}

.testimonial-stars {
  color: #FBBF24;
  font-size: 1.125rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.938rem;
  color: var(--gray-600);
  font-style: normal;
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ocean);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.813rem;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gray-900);
}

.testimonial-location {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.carousel-dot.active {
  background: var(--ocean);
  width: 24px;
  border-radius: 4px;
}

/* --- Newsletter Section --- */
.newsletter-section {
  background: var(--gray-900);
  text-align: center;
}

.newsletter-section .section-title { color: var(--white); }
.newsletter-section .section-subtitle { color: rgba(255,255,255,0.65); }

.newsletter-perks {
  list-style: none;
  margin: 0 auto 28px;
  padding: 0;
  max-width: 520px;
  display: grid;
  gap: 8px;
  text-align: left;
}
.newsletter-perks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255,255,255,0.82);
  font-size: 0.938rem;
}
.newsletter-perks li > span:first-child {
  color: var(--ocean-light);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.4;
  flex-shrink: 0;
}
@media (min-width: 720px) {
  .newsletter-perks {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 28px;
    text-align: left;
    max-width: 880px;
  }
  .newsletter-perks li { font-size: 0.875rem; }
}

.newsletter-form {
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.newsletter-form input,
.newsletter-form select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 0.875rem;
  font-family: inherit;
  transition: all var(--transition);
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }

.newsletter-form input:focus,
.newsletter-form select:focus {
  outline: none;
  border-color: var(--ocean-light);
  background: rgba(255,255,255,0.1);
}

.newsletter-form select { appearance: none; cursor: pointer; }
.newsletter-form select option { background: var(--gray-900); color: var(--white); }

.newsletter-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  text-align: left;
}

.newsletter-form .consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.newsletter-form .consent label {
  font-size: 0.688rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.newsletter-form .btn {
  width: 100%;
  margin-top: 16px;
}

/* --- Footer --- */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 56px 0 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand .logo-icon {
  height: 56px;
  width: 56px;
  margin-bottom: 12px;
}

.footer-brand .logo-wordmark {
  font-size: 1.375rem;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.813rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.938rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--ocean-light);
  color: var(--white);
}

.footer h4 {
  color: var(--white);
  font-size: 0.813rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.footer-links { list-style: none; }

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

.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.813rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--white); }

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.813rem;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  text-align: center;
  font-size: 0.688rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom .tico {
  color: rgba(255,255,255,0.55);
  display: block;
  margin-top: 4px;
}
.footer-legal-links {
  display: block;
  margin-top: 6px;
  font-size: 0.688rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}
.footer-legal-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  padding: 2px 4px;
  border-radius: 3px;
}
.footer-legal-links a:hover { color: var(--white); }

/* --- Page Hero (internal pages) --- */
.page-hero {
  position: relative;
  padding: 140px 20px 72px;
  text-align: center;
  background-size: cover;
  background-position: center;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(18,18,42,0.7), rgba(40,42,137,0.5));
}

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

.page-hero h1 { color: var(--white); margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.063rem; }

/* --- Diving Centers Page --- */
.cuba-map-section {
  text-align: center;
  padding: 20px 0 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cuba-map-section img {
  max-width: 100%;
  min-width: 340px;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .cuba-map-section { display: none !important; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .cuba-map-section img { max-width: 500px; }
}

.centers-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 18px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--gray-600);
  font-size: 0.813rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--ocean);
  background: var(--ocean);
  color: var(--white);
}

.centers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.center-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

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

.center-card-img {
  height: 200px;
  overflow: hidden;
}

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

.center-card:hover .center-card-img img {
  transform: scale(1.04);
}

.center-card-body {
  padding: 20px;
}

.center-card-body h3 {
  margin-bottom: 4px;
}

.center-location {
  font-size: 0.75rem;
  color: var(--ocean);
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.center-card-body p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.center-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.center-tag {
  font-size: 0.688rem;
  padding: 4px 10px;
  background: var(--gray-50);
  border-radius: var(--radius-full);
  color: var(--gray-600);
  font-weight: 500;
}

/* --- Upcoming Trips Page --- */
.trip-package {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  margin-bottom: 32px;
}

.trip-package-img {
  height: 250px;
  overflow: hidden;
}

.trip-package-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trip-package-body {
  padding: 28px;
}

.trip-package-body h2 {
  margin-bottom: 4px;
}

.trip-duration {
  color: var(--ocean);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 20px;
}

.trip-includes {
  margin-bottom: 24px;
}

.trip-includes h3 {
  font-size: 0.938rem;
  margin-bottom: 12px;
}

.trip-includes ul { list-style: none; }

.trip-includes li {
  padding: 6px 0;
  font-size: 0.875rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.trip-includes li .icon-check {
  color: #10B981;
  font-weight: 700;
  flex-shrink: 0;
}

.trip-includes li .icon-x {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.trip-cta {
  text-align: center;
  padding: 32px 0;
}

/* --- Quote Form Page --- */
.quote-section {
  padding: 40px 0;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

.quote-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 24px 16px;
  border: 1px solid var(--gray-100);
  min-width: 0;
  overflow: hidden;
}
@media (min-width: 560px) {
  .quote-form { padding: 32px 28px; }
}

.quote-form h2 {
  margin-bottom: 4px;
}

.quote-form .form-subtitle {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.813rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group label .required {
  color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--gray-800);
  transition: all var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.08);
}

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

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

/* Form section headings inside the quote form */
.form-section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ocean);
  margin: 28px 0 4px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}
.form-section-title:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 8px;
}
.form-section-hint {
  font-size: 0.813rem;
  color: var(--gray-500);
  margin-bottom: 14px;
}

/* Radio groups */
.form-radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.form-radio-inline { flex-direction: row; flex-wrap: wrap; gap: 16px; }
.form-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--gray-700);
  cursor: pointer;
  font-weight: 500;
}
.form-radio input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--ocean);
  flex-shrink: 0;
  margin: 0;
}

/* Additional travelers */
.extra-traveler-toggles {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.extra-traveler-toggle {
  background: var(--off-white);
  border: 1px dashed var(--gray-300);
  color: var(--ocean);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 14px 20px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
}
.extra-traveler-toggle:hover {
  background: var(--white);
  border-color: var(--ocean);
  border-style: solid;
}
.extra-traveler {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px 20px 8px;
  margin-bottom: 16px;
}
.extra-traveler legend {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.938rem;
  color: var(--gray-900);
  padding: 0 8px;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
}

.form-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--ocean);
}

.form-consent label {
  font-size: 0.75rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.quote-sidebar {
  background: var(--off-white);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  border: 1px solid var(--gray-100);
}

.sidebar-block {
  margin-bottom: 28px;
}

.sidebar-block h3 {
  font-size: 0.938rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-block p, .sidebar-block a {
  font-size: 0.875rem;
  line-height: 1.7;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show { display: block; }

.form-success .check-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #10B981;
  color: var(--white);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

/* --- About Page --- */
.about-content {
  max-width: 720px;
  margin: 0 auto;
}

.about-content p {
  margin-bottom: 16px;
  font-size: 0.938rem;
  line-height: 1.9;
}

.partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

.partner-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.partner-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.partner-card .partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 72px;
  margin-bottom: 18px;
}
.partner-card .partner-logo img {
  max-height: 56px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: saturate(0.95);
}
/* Backward-compat: old non-wrapped img markup */
.partner-card > img,
.partner-card picture img {
  max-height: 56px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 12px auto 18px;
  display: block;
}

.partner-card h3 { margin-bottom: 8px; font-size: 1rem; }

.partner-card p {
  font-size: 0.813rem;
  color: var(--gray-500);
}

.founder-section {
  background: var(--off-white);
}

.founder-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.founder-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.founder-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-text h2 { margin-bottom: 8px; }

.founder-title {
  color: var(--ocean);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.founder-text p {
  font-size: 0.938rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 12px;
}

.founder-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.founder-stat {
  text-align: center;
}

.founder-stat .stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ocean);
  letter-spacing: -0.02em;
}

.founder-stat .stat-label {
  font-size: 0.688rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- Gallery Page --- */
.gallery-tabs {
  display: flex;
  justify-content: flex-start;
  gap: 6px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
@media (min-width: 768px) { .gallery-tabs { justify-content: center; flex-wrap: nowrap; } }

.gallery-tab {
  padding: 8px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--gray-600);
  font-size: 0.813rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
@media (min-width: 768px) { .gallery-tab { padding: 8px 20px; } }

.gallery-tab.active,
.gallery-tab:hover {
  background: var(--ocean);
  color: var(--white);
  border-color: var(--ocean);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img { transform: scale(1.04); }

.gallery-item.wide { grid-column: span 2; aspect-ratio: 2/1; }

.videos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 36px;
}

.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.video-card .video-wrapper { padding-bottom: 56.25%; }

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  padding: 16px;
  border-radius: var(--radius);
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* --- Form Validation --- */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: var(--accent);
}

.form-group .error-msg {
  display: none;
  color: var(--accent);
  font-size: 0.75rem;
  margin-top: 4px;
}

.form-group.error .error-msg { display: block; }

/* --- Featured Destinations (Spotlight) --- */
.featured-destinations {
  background: var(--white);
}

/* Spotlight Card */
.spotlight-card {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  margin-bottom: 20px;
  transition: all var(--transition);
  max-width: 100%;
}

.spotlight-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.spotlight-img {
  position: relative;
  height: 260px;
  overflow: hidden;
}


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

.spotlight-card:hover .spotlight-img img {
  transform: scale(1.03);
}

.spotlight-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(transparent, rgba(0,0,0,0.2));
  pointer-events: none;
}

.spotlight-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--white);
  color: var(--gray-900);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.688rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-md);
}

.spotlight-content {
  padding: 32px 28px;
}

.spotlight-location {
  display: inline-block;
  font-size: 0.688rem;
  font-weight: 700;
  color: var(--ocean-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.spotlight-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.spotlight-content p {
  font-size: 0.938rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
}

.spotlight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
  overflow: hidden;
}

.spotlight-tags span {
  font-size: 0.688rem;
  font-weight: 600;
  padding: 6px 14px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-full);
  color: var(--gray-600);
  letter-spacing: 0.01em;
}

/* Excursion Section */
.excursion-section {
  margin-top: 48px;
}

.excursion-title {
  text-align: center;
  font-size: 1.125rem;
  color: var(--gray-900);
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.excursion-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.excursion-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  cursor: default;
}

.excursion-card-img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}

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

.excursion-card:hover .excursion-card-img img {
  transform: scale(1.04);
}

.excursion-card-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(18,18,42,0.85) 100%);
}

.excursion-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  z-index: 1;
}

.excursion-card-content h4 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 4px;
  font-weight: 700;
}

.excursion-card-content p {
  color: rgba(255,255,255,0.8);
  font-size: 0.813rem;
  line-height: 1.5;
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-white { color: var(--white); }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet (768px+) */
@media (min-width: 768px) {
  .container { padding: 0 32px; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.875rem; }
  .section { padding: 80px 0; }
  .quote-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }

  .hero h1 { font-size: 3.25rem; }
  .hero-buttons { flex-direction: row; justify-content: center; }

  .trust-items { grid-template-columns: repeat(4, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .destinations-grid { grid-template-columns: repeat(2, 1fr); }
  .centers-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row-2 { grid-template-columns: 1fr 1fr; }
  .newsletter-form .form-row { flex-direction: row; }
  .founder-layout { grid-template-columns: 1fr 1.5fr; }

  .excursion-grid { grid-template-columns: repeat(3, 1fr); }
  .excursion-card { aspect-ratio: 3/4; }

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

  .testimonial-card { min-width: 50%; }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .container { padding: 0 40px; }
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  .section { padding: 96px 0; }

  .hamburger { display: none; }
  .nav-desktop { display: flex; align-items: center; gap: 4px; }
  .header-cta { display: inline-flex; }
  .header-inner { padding: 12px 40px; }
  .logo-icon { height: 48px; width: 48px; }
  .logo-wordmark { font-size: 1.375rem; }
  .phone-bar { display: block; }
  .header { top: 28px; }

  .hero h1 { font-size: 3.75rem; }
  .hero p { font-size: 1.125rem; }

  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .destinations-grid { grid-template-columns: repeat(4, 1fr); }
  .centers-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }

  /* Spotlight cards side-by-side */
  .spotlight-card { grid-template-columns: 1fr 1fr; max-height: 420px; }
  .spotlight-img { height: 420px; }
  .spotlight-reverse .spotlight-img { order: 2; }
  .spotlight-reverse .spotlight-content { order: 1; }
  .spotlight-content { display: flex; flex-direction: column; justify-content: center; padding: 40px; }

  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }

  .testimonial-card { min-width: 33.333%; }
}

/* Large Desktop (1280px+) */
@media (min-width: 1280px) {
  .hero h1 { font-size: 4.25rem; }
}


/* ============================================
   V2 ENHANCEMENTS — Mobile-first conversion polish
   Added: sticky mobile CTA bar, WhatsApp FAB,
   header hide-on-scroll, multi-step quote form,
   FAQ accordion, richer testimonials, day timeline
   ============================================ */

:root {
  --turquoise: #06B6D4;
  --turquoise-deep: #0891B2;
  --sand: #FFF7ED;
  --sand-deep: #FED7AA;
  --coral: #FB7185;
  --sunset: #F97316;
  --success: #10B981;
  --warning: #F59E0B;
  --whatsapp: #25D366;
}

/* ---- Header hide-on-scroll-down ---- */
.header { transform: translateY(0); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background var(--transition), box-shadow var(--transition); }
.header.header-hidden { transform: translateY(-110%); }

/* ---- Sticky mobile CTA bar (bottom) ---- */
.mobile-cta-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 900;
  display: flex;
  align-items: stretch;
  gap: 6px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: rgba(18, 18, 42, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-cta-bar.is-hidden { transform: translateY(110%); }
.mobile-cta-bar a {
  flex: 1 1 0;
  min-height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--white);
  background: rgba(255,255,255,0.06);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background var(--transition), transform var(--transition);
}
.mobile-cta-bar a:active { transform: scale(0.97); }
.mobile-cta-bar .mcta-quote {
  flex: 1.4 1 0;
  background: var(--accent);
  font-size: 0.813rem;
  letter-spacing: 0.02em;
}
.mobile-cta-bar .mcta-whatsapp { background: var(--whatsapp); }
.mobile-cta-bar a svg { width: 18px; height: 18px; opacity: 0.95; }
.mobile-cta-bar .mcta-label { font-weight: 600; line-height: 1; }
@media (min-width: 1024px) { .mobile-cta-bar { display: none; } }
@media (max-width: 1023px) {
  body { padding-bottom: 72px; }
}

/* ---- WhatsApp floating button (desktop) ---- */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0,0,0,0.15);
  z-index: 900;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.whatsapp-fab:hover { transform: scale(1.06); color: var(--white); box-shadow: 0 14px 36px rgba(37, 211, 102, 0.5), 0 2px 6px rgba(0,0,0,0.15); }
.whatsapp-fab svg { width: 30px; height: 30px; }
@media (min-width: 1024px) { .whatsapp-fab { display: inline-flex; } }

/* ---- Eyebrow / section labels ---- */
.eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.688rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ocean-light);
  margin-bottom: 12px;
}
.eyebrow.dark { color: var(--turquoise); }

/* ---- "Day in Cuba" timeline ---- */
.day-timeline-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--sand) 100%);
}
.day-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.day-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: start;
  position: relative;
  padding: 4px 0;
}
.day-step:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 56px;
  left: 27px;
  bottom: -16px;
  width: 2px;
  background: linear-gradient(180deg, var(--turquoise), rgba(6, 182, 212, 0.2));
  border-radius: 2px;
}
.day-time {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(155deg, #FFFFFF, #E8F4FA);
  color: var(--ocean);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  text-align: center;
  line-height: 1.05;
  box-shadow:
    0 1px 0 rgba(255,255,255,1) inset,
    0 -2px 4px rgba(6, 100, 130, 0.1) inset,
    0 8px 18px -4px rgba(6, 182, 212, 0.35),
    0 0 0 2px var(--turquoise) inset;
}
.day-time::before {
  content: '';
  position: absolute;
  top: 5px; left: 8px; right: 8px;
  height: 35%;
  border-radius: 50% 50% 100% 100% / 60% 60% 50% 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0));
  pointer-events: none;
}
.day-body {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.day-body h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--gray-900);
}
.day-body p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ---- FAQ accordion ---- */
.faq-section { background: var(--off-white); }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 22px;
  position: relative;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.938rem;
  color: var(--gray-900);
  line-height: 1.5;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  position: absolute;
  right: 22px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--ocean);
  border-bottom: 2px solid var(--ocean);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item .faq-answer {
  padding: 0 22px 20px;
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.7;
}
.faq-item .faq-answer p + p { margin-top: 10px; }

/* ---- Improved testimonials (with photo placeholder + country flag) ---- */
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ocean), var(--turquoise));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.4);
}
.testimonial-flag {
  display: inline-block;
  margin-right: 4px;
  font-size: 1rem;
  line-height: 1;
}
.testimonial-level {
  display: inline-block;
  font-size: 0.688rem;
  font-weight: 600;
  color: var(--turquoise-deep);
  background: rgba(6, 182, 212, 0.08);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ---- Trust strip (logos / badges row) ---- */
.trust-strip {
  background: var(--off-white);
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-100);
}
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
  text-align: center;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.trust-pill svg { width: 18px; height: 18px; color: var(--ocean); }

/* ---- Multi-step quote form ---- */
.quote-stepper {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  padding: 2px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.quote-stepper::-webkit-scrollbar { display: none; }
.qs-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-400);
  white-space: nowrap;
  flex-shrink: 0;
}
.qs-step .qs-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-500);
  font-size: 0.75rem;
  font-weight: 700;
  transition: all var(--transition);
}
.qs-step.is-active { color: var(--gray-900); }
.qs-step.is-active .qs-num { background: var(--ocean); color: var(--white); }
.qs-step.is-done .qs-num {
  background: var(--success);
  color: var(--white);
}
.qs-step.is-done .qs-num::after { content: '\2713'; }
.qs-step.is-done .qs-num span { display: none; }
.qs-divider {
  flex: 1 1 0;
  min-width: 12px;
  height: 2px;
  background: var(--gray-100);
  border-radius: 2px;
}
.qs-step.is-done + .qs-divider { background: var(--success); }
.qs-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 500;
}
.qs-progress-bar {
  flex: 1 1 0;
  height: 6px;
  background: var(--gray-100);
  border-radius: 3px;
  overflow: hidden;
}
.qs-progress-bar::after {
  content: '';
  display: block;
  height: 100%;
  width: var(--p, 20%);
  background: linear-gradient(90deg, var(--turquoise), var(--ocean-light));
  border-radius: 3px;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.quote-step { display: none; animation: stepIn 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.quote-step.is-active { display: block; }
@keyframes stepIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}
.quote-step-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--gray-900);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.quote-step-hint {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 24px;
  line-height: 1.6;
}

.quote-nav {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
  align-items: stretch;
}
.quote-nav .btn { flex: 1 1 0; padding: 13px 24px; }
.quote-nav .btn-back {
  background: var(--gray-50);
  color: var(--gray-700);
  flex: 0 1 auto;
  min-width: 120px;
  padding: 13px 24px;
  border: 1px solid var(--gray-200);
}
.quote-nav .btn-back:hover {
  background: var(--gray-100);
  color: var(--gray-900);
  transform: none;
  box-shadow: none;
}

/* Choice cards (replaces radio buttons for visual appeal) */
.choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 4px;
}
.choice-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.choice-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 480px) { .choice-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.choice {
  position: relative;
  display: block;
  padding: 16px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.875rem;
  color: var(--gray-700);
  line-height: 1.4;
  font-weight: 500;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:hover {
  border-color: var(--ocean-light);
  background: var(--off-white);
}
.choice.is-selected,
.choice:has(input:checked) {
  border-color: var(--ocean);
  background: rgba(40, 42, 137, 0.04);
  color: var(--gray-900);
  font-weight: 600;
  box-shadow: 0 0 0 4px rgba(40, 42, 137, 0.08);
}
.choice-title {
  display: block;
  font-weight: 700;
  color: var(--gray-900);
  font-size: 0.875rem;
  margin-bottom: 2px;
}
.choice-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* Form micro */
.field-grid-2 { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 560px) { .field-grid-2 { grid-template-columns: 1fr 1fr; } }
.field-grid-3 { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 560px) { .field-grid-3 { grid-template-columns: 1fr 1fr 1fr; } }
.field-hint {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 4px;
  line-height: 1.5;
}

.travelers-counter {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  background: var(--white);
  margin-top: 4px;
}
.travelers-counter .tc-label {
  flex: 1 1 auto;
  font-size: 0.875rem;
  color: var(--gray-700);
  font-weight: 500;
}
.tc-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--ocean);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  line-height: 1;
}
.tc-btn:hover:not(:disabled) {
  border-color: var(--ocean);
  background: var(--ocean);
  color: var(--white);
}
.tc-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.tc-value {
  min-width: 24px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--gray-900);
}

/* Companion blocks (steps 4) */
.companion-block {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 14px;
}
.companion-block legend {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--ocean);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  padding: 0;
}

/* Review (step 5) */
.review-list {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin-bottom: 18px;
}
.review-list dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 480px) { .review-list dl { grid-template-columns: 130px 1fr; gap: 6px 14px; } }
.review-list dt { font-size: 0.75rem; color: var(--gray-500); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.review-list dd { font-size: 0.875rem; color: var(--gray-800); font-weight: 500; }

/* Date picker (3 selects + optional native input that syncs to them) */
.date-trio { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 8px; }
.date-trio select { padding: 12px 10px; }
.date-trio .date-native {
  grid-column: 1 / -1;
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  color: var(--gray-800);
  -webkit-appearance: none;
  appearance: none;
  min-height: 46px;
}
.date-trio .date-native:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}
/* When the native date input is wired, hide the trio selects entirely —
   the native picker handles input across every modern browser, and the
   selects stay in the DOM only so Jotform receives its expected field structure. */
.date-trio.has-native-date select {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.date-trio.has-native-date { grid-template-columns: 1fr; }

/* Phone duo */
.phone-duo { display: grid; grid-template-columns: 90px 1fr; gap: 8px; }

/* What-happens-next pill timeline (right sidebar) */
.next-steps { padding: 4px 0; }
.next-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 10px 0;
  align-items: start;
}
.next-step-num {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(155deg, #4F52C9, #1c1e6e);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.4) inset,
    0 -1px 3px rgba(0,0,30,0.2) inset,
    0 4px 10px -2px rgba(40,42,137,0.4);
}
.next-step-num::before {
  content: '';
  position: absolute;
  inset: 1px 2px auto 2px;
  height: 45%;
  border-radius: 50% 50% 100% 100% / 50% 50% 50% 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.4), rgba(255,255,255,0));
  pointer-events: none;
}
.next-step-text { font-size: 0.813rem; color: var(--gray-700); line-height: 1.6; }
.next-step-text strong { color: var(--gray-900); display: block; margin-bottom: 2px; }

/* ---- Hero refinements (mobile) ---- */
@media (max-width: 767px) {
  .hero { min-height: 78vh; }
  .hero h1 { font-size: 2.25rem; }
}

/* ---- Page-hero compact on mobile ---- */
@media (max-width: 767px) {
  .page-hero { padding: 100px 20px 48px; min-height: 240px; }
  .page-hero h1 { font-size: 1.75rem; }
  .page-hero p { font-size: 0.938rem; }
}

/* ---- Section padding tightening on mobile ---- */
@media (max-width: 767px) {
  .section { padding: 48px 0; }
}

/* ---- Quote layout sidebar polish ---- */
.quote-sidebar h3 { color: var(--gray-900); }
.sidebar-block.sidebar-emphasis {
  background: linear-gradient(135deg, var(--ocean), var(--ocean-deep));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}
.sidebar-emphasis h3 { color: var(--white); }
.sidebar-emphasis p, .sidebar-emphasis a { color: rgba(255,255,255,0.85); }
.sidebar-emphasis a { font-weight: 700; }
.sidebar-emphasis a:hover { color: var(--white); }

/* Form success after submit */
.form-success-card {
  text-align: center;
  padding: 48px 24px;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-100);
}
.form-success-card .check-bubble {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success), #059669);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.25);
}
.form-success-card h2 { font-size: 1.5rem; margin-bottom: 8px; }
.form-success-card p { color: var(--gray-600); font-size: 0.938rem; margin-bottom: 20px; line-height: 1.7; max-width: 460px; margin-left: auto; margin-right: auto; }

/* Field error inline */
.field-error {
  display: none;
  color: var(--accent);
  font-size: 0.75rem;
  margin-top: 6px;
  font-weight: 500;
}
.has-error .field-error { display: block; }
.has-error input,
.has-error select,
.has-error textarea {
  border-color: var(--accent) !important;
  background: rgba(227, 27, 35, 0.03);
}
.has-error .choice { border-color: var(--accent); }

/* ---- Trip page polish ---- */
.trip-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
}
@media (min-width: 600px) { .trip-features-grid { grid-template-columns: repeat(2, 1fr); } }
.trip-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
}
.trip-feature-icon {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: linear-gradient(155deg, #22D3EE 0%, #06B6D4 55%, #0E7490 100%);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.45) inset,
    0 -2px 4px rgba(8, 30, 45, 0.25) inset,
    0 8px 16px -6px rgba(6, 182, 212, 0.5),
    0 3px 6px -2px rgba(6, 182, 212, 0.3);
}
.trip-feature-icon::before {
  content: '';
  position: absolute;
  top: 1px; left: 3px; right: 3px;
  height: 50%;
  border-radius: 12px 12px 80px 80px / 12px 12px 30px 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}
.trip-feature-icon svg {
  position: relative;
  z-index: 1;
  width: 20px; height: 20px;
  stroke: #fff; fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 30, 0.2));
}
.trip-feature-text strong { display: block; font-size: 0.875rem; color: var(--gray-900); margin-bottom: 2px; }
.trip-feature-text span { font-size: 0.813rem; color: var(--gray-500); line-height: 1.5; }

.includes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 20px;
}
@media (min-width: 720px) { .includes-grid { grid-template-columns: 1fr 1fr; } }
.includes-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.includes-card h3 {
  font-size: 0.938rem;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.includes-card.included h3 { color: var(--success); }
.includes-card.excluded h3 { color: var(--gray-700); }
.includes-card ul { list-style: none; margin: 0; padding: 0; }
.includes-card li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 6px 0;
  font-size: 0.875rem;
  color: var(--gray-700);
  line-height: 1.5;
}
.includes-card .ic-icon { flex-shrink: 0; width: 18px; height: 18px; color: var(--success); margin-top: 2px; }
.includes-card.excluded .ic-icon { color: var(--gray-400); }

/* Trip excursions list (more polished than before) */
.excursion-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}
@media (min-width: 600px) { .excursion-list { grid-template-columns: 1fr 1fr; } }
.excursion-row {
  display: flex; gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--off-white);
  border-radius: var(--radius);
}
.excursion-row .er-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}
.excursion-row h4 { font-size: 0.938rem; margin-bottom: 2px; color: var(--gray-900); }
.excursion-row p { font-size: 0.813rem; color: var(--gray-500); line-height: 1.5; }

/* ---- Phone-bar visible on mobile too as small strip ---- */
@media (max-width: 1023px) {
  .phone-bar {
    display: block;
    font-size: 0.688rem;
    padding: 5px 12px;
  }
  .header { top: 24px; }
}

/* ---- Avoid layout shift: pre-allocate space below page-hero header on mobile ---- */
.page-hero { margin-top: 0; }

/* ---- Newsletter consent text size tweak ---- */
.newsletter-form .consent label { font-size: 0.75rem; }

/* ---- Footer agency / licensing block ---- */
.footer-agency {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0 4px;
  margin-top: 8px;
}
.footer-agency .agency-affiliate {
  font-size: 0.813rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 14px;
}
.footer-agency .agency-affiliate strong { color: rgba(255,255,255,0.95); font-weight: 700; }
.footer-agency-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 600px) {
  .footer-agency-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
.footer-agency-office {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}
.footer-agency-office strong {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 0.688rem;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-agency-office a {
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.footer-agency-office a:hover { color: var(--white); }
.footer-agency-office .tico-num {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  font-size: 0.688rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
}

/* ---- Language toggle ---- */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-full);
  flex-shrink: 0;
  margin-right: 6px;
}
.lang-toggle button {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.6);
  font-family: 'Inter', sans-serif;
  font-size: 0.688rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-transform: uppercase;
  line-height: 1;
  transition: all var(--transition);
}
.lang-toggle button:hover { color: var(--white); }
.lang-toggle button.is-active {
  background: var(--white);
  color: var(--gray-900);
}
.mobile-menu .lang-toggle {
  display: flex;
  margin: 20px auto 0;
  background: rgba(255,255,255,0.04);
  width: fit-content;
}
.mobile-menu .lang-toggle button { font-size: 0.75rem; padding: 8px 14px; }

/* ---- Visually-hidden helper for a11y ---- */
.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;
}

/* ---- Submit spinner ---- */
.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
  vertical-align: -3px;
  margin-right: 8px;
}
@keyframes btn-spin {
  to { transform: rotate(360deg); }
}
.btn[aria-busy="true"] { opacity: 0.85; cursor: progress; }

/* ---- YouTube facade (lazy-load, click-to-play) ---- */
.yt-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: #000;
  cursor: pointer;
  border: 0;
  padding: 0;
  display: block;
  overflow: hidden;
}
.yt-facade::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
  transition: background 0.2s ease;
}
.yt-facade:hover::before { background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.5) 100%); }
.yt-facade .yt-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 68px; height: 48px;
  background: rgba(0,0,0,0.78);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.yt-facade:hover .yt-play { background: #FF0000; transform: translate(-50%, -50%) scale(1.05); }
.yt-facade .yt-play svg { width: 28px; height: 28px; color: #fff; }
.yt-facade .yt-label {
  position: absolute;
  bottom: 12px; left: 14px; right: 14px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  pointer-events: none;
}

/* ---- Skip-to-content link (keyboard/screen-reader users) ---- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 2000;
  padding: 10px 18px;
  background: var(--accent);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 12px;
  color: var(--white);
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* ---- Visible focus styles for keyboard nav ---- */
:focus-visible {
  outline: 2px solid var(--ocean-light);
  outline-offset: 2px;
  border-radius: 2px;
}
.btn:focus-visible,
.lang-toggle button:focus-visible,
.gallery-tab:focus-visible,
.faq-item summary:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--accent);
}
.choice:focus-within {
  outline: 2px solid var(--ocean);
  outline-offset: 2px;
}

/* ---- Wave section dividers ---- */
.wave-divider {
  display: block;
  width: 100%;
  height: 48px;
  line-height: 0;
}
.wave-divider svg { width: 100%; height: 100%; display: block; }
.wave-divider.flip { transform: rotate(180deg); }
@media (max-width: 767px) { .wave-divider { height: 32px; } }

/* ---- Trust marks band ---- */
.trust-band {
  background: var(--off-white);
  padding: 36px 0 32px;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.trust-band-label {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.688rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gray-400);
  margin-bottom: 18px;
}
.trust-band-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 28px;
  filter: grayscale(1);
  opacity: 0.7;
  transition: opacity var(--transition);
}
.trust-band-row:hover { opacity: 0.9; }
.trust-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--gray-700);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.trust-mark img,
.trust-mark svg {
  height: 30px;
  width: auto;
  display: block;
}
.trust-mark .tm-stars { color: #d4a017; font-size: 0.75rem; letter-spacing: 1px; }
.trust-mark .tm-sub {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.trust-mark .tm-stack { display: flex; flex-direction: column; line-height: 1.1; }
@media (max-width: 767px) {
  .trust-band-row { gap: 16px 20px; }
  .trust-mark { font-size: 0.75rem; }
  .trust-mark img, .trust-mark svg { height: 24px; }
}

/* ---- Floating desktop scroll CTA ---- */
.scroll-cta {
  position: fixed;
  right: 88px;
  bottom: 28px;
  z-index: 880;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 16px;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius-full);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(227, 27, 35, 0.35), 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s, box-shadow var(--transition);
  pointer-events: none;
}
.scroll-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.scroll-cta:hover {
  color: var(--white);
  box-shadow: 0 16px 36px rgba(227, 27, 35, 0.45), 0 4px 12px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}
.scroll-cta .sc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
}
.scroll-cta .sc-icon svg { width: 14px; height: 14px; }
.scroll-cta .sc-stack { display: flex; flex-direction: column; line-height: 1.15; }
.scroll-cta .sc-sub {
  font-size: 0.688rem;
  font-weight: 500;
  opacity: 0.9;
  letter-spacing: 0.02em;
}
@media (min-width: 1024px) { .scroll-cta { display: inline-flex; } }

/* ---- Testimonial visual polish ---- */
.testimonial-inner {
  position: relative;
  background: var(--white);
  background-image:
    radial-gradient(ellipse 120% 50% at 100% 0%, rgba(40, 42, 137, 0.04), transparent 50%),
    radial-gradient(ellipse 80% 40% at 0% 100%, rgba(6, 182, 212, 0.03), transparent 50%);
  overflow: hidden;
}
.testimonial-inner::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 5.5rem;
  line-height: 1;
  color: var(--ocean);
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
}
.testimonial-text {
  position: relative;
  z-index: 1;
}
.testimonial-photo {
  width: 52px;
  height: 52px;
  font-size: 0.938rem;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.55), 0 4px 14px rgba(40, 42, 137, 0.18);
}

/* ---- Scroll-reveal stagger (children of containers enter sequentially) ---- */
.features-grid .feature-card,
.partners-grid .partner-card,
.gallery-grid .gallery-item,
.excursion-grid .excursion-card,
.includes-grid .includes-card,
.trip-features-grid .trip-feature,
.day-timeline .day-step,
.faq-list .faq-item {
  --enter-delay: 0ms;
  transition-delay: var(--enter-delay);
}
.features-grid .feature-card:nth-child(1)  { --enter-delay: 0ms; }
.features-grid .feature-card:nth-child(2)  { --enter-delay: 80ms; }
.features-grid .feature-card:nth-child(3)  { --enter-delay: 160ms; }
.features-grid .feature-card:nth-child(4)  { --enter-delay: 240ms; }
.features-grid .feature-card:nth-child(5)  { --enter-delay: 320ms; }
.features-grid .feature-card:nth-child(6)  { --enter-delay: 400ms; }
.partners-grid .partner-card:nth-child(2)  { --enter-delay: 100ms; }
.partners-grid .partner-card:nth-child(3)  { --enter-delay: 200ms; }
.excursion-grid .excursion-card:nth-child(2)   { --enter-delay: 100ms; }
.excursion-grid .excursion-card:nth-child(3)   { --enter-delay: 200ms; }
.trip-features-grid .trip-feature:nth-child(2) { --enter-delay: 80ms; }
.trip-features-grid .trip-feature:nth-child(3) { --enter-delay: 160ms; }
.trip-features-grid .trip-feature:nth-child(4) { --enter-delay: 240ms; }
.day-timeline .day-step:nth-child(2) { --enter-delay: 90ms; }
.day-timeline .day-step:nth-child(3) { --enter-delay: 180ms; }
.day-timeline .day-step:nth-child(4) { --enter-delay: 270ms; }
.day-timeline .day-step:nth-child(5) { --enter-delay: 360ms; }
.day-timeline .day-step:nth-child(6) { --enter-delay: 450ms; }
.day-timeline .day-step:nth-child(7) { --enter-delay: 540ms; }
@media (prefers-reduced-motion: reduce) {
  .features-grid .feature-card,
  .partners-grid .partner-card,
  .gallery-grid .gallery-item,
  .excursion-grid .excursion-card,
  .includes-grid .includes-card,
  .trip-features-grid .trip-feature,
  .day-timeline .day-step,
  .faq-list .faq-item { --enter-delay: 0ms !important; transition-delay: 0ms !important; }
}

/* ---- Breadcrumbs (visible nav crumb on inner pages) ---- */
.breadcrumbs {
  background: rgba(18, 18, 42, 0.04);
  border-bottom: 1px solid var(--gray-100);
  padding: 10px 0;
  font-size: 0.813rem;
}
.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; color: var(--gray-600); }
.breadcrumbs li a { color: var(--ocean); text-decoration: none; font-weight: 500; }
.breadcrumbs li a:hover { text-decoration: underline; }
.breadcrumbs li:not(:last-child)::after {
  content: '/';
  color: var(--gray-400);
  margin-left: 6px;
}
.breadcrumbs li[aria-current="page"] { color: var(--gray-700); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .breadcrumbs a { transition: color 0.15s ease; }
}

/* ---- Back-to-top floating button (long pages) ---- */
.back-to-top {
  position: fixed;
  bottom: 88px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(18, 18, 42, 0.85);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.12);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.15s ease;
  z-index: 60;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--ocean); }
.back-to-top svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.5; fill: none; }
@media (min-width: 1024px) { .back-to-top { bottom: 24px; right: 24px; } }

/* ---- Cookie consent (PIPEDA-friendly, dismissable) ---- */
.cookie-consent {
  position: fixed;
  inset: auto 12px 12px 12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 14px 40px rgba(18, 18, 42, 0.18);
  z-index: 90;
  max-width: 560px;
  margin-inline: auto;
  display: none;
  font-size: 0.875rem;
  color: var(--gray-700);
  line-height: 1.5;
}
.cookie-consent.is-visible { display: block; animation: cc-rise 0.3s ease both; }
@keyframes cc-rise {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.cookie-consent p { margin: 0 0 12px; }
.cookie-consent strong { color: var(--gray-800); }
.cookie-consent a { color: var(--ocean); text-decoration: underline; }
.cookie-consent-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-consent-actions .btn { flex: 1 1 140px; padding: 9px 16px; font-size: 0.813rem; }
@media (min-width: 720px) {
  .cookie-consent { inset: auto 24px 24px auto; max-width: 460px; }
}

/* ---- Photographer credit (gallery) ---- */
.photo-credit {
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-600);
  margin: -8px auto 28px;
  max-width: 620px;
  padding: 10px 18px;
  background: rgba(6, 182, 212, 0.06);
  border: 1px solid rgba(6, 182, 212, 0.18);
  border-radius: 999px;
}
.photo-credit strong { color: var(--gray-800); font-weight: 700; }

/* ---- Print stylesheet ----
   Tidy print output: hide chrome, expand cards full-width, expose link URLs,
   and avoid page breaks inside cards/trips so each one prints cleanly. */
@media print {
  *, *::before, *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
  }
  html, body {
    background: #fff !important;
    font-size: 11pt;
    line-height: 1.4;
  }
  @page { margin: 1.6cm; }

  /* Hide everything the reader doesn't need on paper */
  .phone-bar,
  .header,
  .menu-overlay,
  .mobile-menu,
  .hamburger,
  .lang-toggle,
  .mobile-cta-bar,
  .whatsapp-fab,
  .scroll-cta,
  .skip-link,
  .footer-social,
  .yt-facade,
  .video-wrapper,
  iframe,
  .gallery-tabs,
  .newsletter-section,
  .trust-band,
  .wave-divider,
  .page-hero { display: none !important; }

  main, .container { max-width: none !important; padding: 0 !important; margin: 0 !important; }

  /* Make sure links printed on paper aren't dead — show the URL after them */
  a[href^="http"]::after,
  a[href^="mailto:"]::after,
  a[href^="tel:"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555 !important;
    word-break: break-all;
  }
  a[href^="#"]::after { content: ""; }

  h1, h2, h3, h4 { page-break-after: avoid; }
  img, picture, .day-step, .trip-card, .feature-card, .destination-card, .includes-card, .center-card, .partner-card, .testimonial-card, .faq-item {
    page-break-inside: avoid;
  }

  /* Trip / dive pages: stack day timeline & cards full width */
  .day-timeline, .trips-grid, .features-grid, .destinations-grid, .includes-grid, .centers-grid {
    display: block !important;
  }
  .trip-card, .day-step, .feature-card, .destination-card, .includes-card, .center-card {
    width: 100% !important;
    margin: 0 0 14pt !important;
    border: 1px solid #ccc !important;
    padding: 10pt !important;
    border-radius: 0 !important;
  }

  /* Preserve the brand/contact at the top of the print */
  .footer-agency { margin-top: 18pt; border-top: 1px solid #999; padding-top: 10pt; }
}

