/*
Theme Name: Luperon 12
Theme URI: https://luperon12.com
Author: Luperon 12 Development Team
Author URI: https://luperon12.com
Description: Premium managed mooring residency — Tropical Precision design. Marketing and CMS layer for luperon12.com. The operational system of record lives at app.luperon12.com.
Version: 2.0.0
Requires at least: 6.4
Tested up to: 6.5
Requires PHP: 8.1
License: Proprietary
License URI: https://luperon12.com/license
Text Domain: luperon12
Domain Path: /languages
Tags: marina, mooring, maritime, caribbean, hospitality

ARCHITECTURE NOTE:
This WordPress theme is the marketing and CMS layer ONLY.
It must NEVER contain:
- Reservation logic
- Payment processing
- Inventory management
- Lifecycle state machines
- Client portal functionality
- Admin control room logic
All operational functionality lives in the custom app at app.luperon12.com.
*/

/* =============================================================================
   DESIGN TOKENS
   SOURCE OF TRUTH: keep in sync with tailwind.config.js (app layer).
   When a value changes, update BOTH files.
   ============================================================================= */
:root {
  /* ── Harbor (primary brand — maritime deep blue) ───────────────────── */
  --l12-harbor-50:  #f0f7ff;
  --l12-harbor-100: #e0efff;
  --l12-harbor-200: #b9dffe;
  --l12-harbor-300: #7cc5fd;
  --l12-harbor-400: #36a8fa;
  --l12-harbor-500: #0c8deb;
  --l12-harbor-600: #006fc9;
  --l12-harbor-700: #0158a3;
  --l12-harbor-800: #064b86;
  --l12-harbor-900: #0a3d62;
  --l12-harbor-950: #071f3a;

  /* ── Sand (warm secondary) ──────────────────────────────────────────── */
  --l12-sand-50:  #faf8f5;
  --l12-sand-100: #f5f0e8;
  --l12-sand-200: #ebe0d0;
  --l12-sand-300: #dcc9ae;
  --l12-sand-400: #c9ab87;
  --l12-sand-500: #bc956d;
  --l12-sand-600: #af8260;
  --l12-sand-700: #926a50;
  --l12-sand-800: #775745;
  --l12-sand-900: #62493b;

  /* ── Coral (semantic: danger, error, destructive actions) ───────────── */
  --l12-coral-500: #ff6b6b;
  --l12-coral-600: #ee5a24;

  /* ── Seafoam (semantic: success, confirmation, availability) ────────── */
  --l12-seafoam-400: #55efc4;
  --l12-seafoam-500: #00b894;
  --l12-seafoam-600: #00a08a;

  /* ── Semantic text aliases — mapped to harbor scale ─────────────────── */
  --l12-text:       var(--l12-harbor-950); /* body text */
  --l12-text-light: var(--l12-harbor-700); /* muted / secondary text — harbor-700 ensures 4.5:1 contrast on all theme backgrounds */
  --l12-white:      #ffffff;

  /* ── Neutral overlay tokens — replaces raw rgba() values ────────────── */
  /* shade.N = black at N% opacity — borders / dividers on light backgrounds */
  --l12-shade-6:  rgb(0 0 0 / 0.06);
  --l12-shade-8:  rgb(0 0 0 / 0.08);
  --l12-shade-10: rgb(0 0 0 / 0.10);
  /* frost.N = white at N% opacity — text / borders on dark backgrounds */
  --l12-frost-10: rgb(255 255 255 / 0.10);
  --l12-frost-50: rgb(255 255 255 / 0.50);
  --l12-frost-70: rgb(255 255 255 / 0.70);
  --l12-frost-80: rgb(255 255 255 / 0.80);
  --l12-frost-85: rgb(255 255 255 / 0.85);

  /* ── Typography — self-hosted via assets/css/fonts.css ─────────────── */
  --l12-font-sans:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --l12-font-display: 'DM Sans', 'Inter', system-ui, -apple-system, sans-serif;
}

/* =============================================================================
   RESET
   ============================================================================= */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--l12-font-sans); color: var(--l12-text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--l12-harbor-700); text-decoration: none; }
a:hover { color: var(--l12-harbor-500); }

/* =============================================================================
   TYPOGRAPHY — captain-level confidence
   ============================================================================= */
h1, h2, h3, h4, h5 { font-family: var(--l12-font-display); font-weight: 700; color: var(--l12-harbor-900); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
p { line-height: 1.7; color: var(--l12-text-light); }

/* =============================================================================
   ACCESSIBILITY
   ============================================================================= */
.l12-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--l12-harbor-900);
  color: var(--l12-white);
  font-weight: 600;
}
.l12-skip-link:focus { left: 0; }

/* Focus-visible for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--l12-harbor-400);
  outline-offset: 2px;
}

/* =============================================================================
   HEADER
   ============================================================================= */
.l12-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--l12-shade-6);
}
.l12-header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.l12-logo { font-family: var(--l12-font-display); font-weight: 700; font-size: 1.4rem; color: var(--l12-harbor-900); letter-spacing: -0.02em; text-decoration: none; }
.l12-logo:hover { opacity: 0.85; }
.l12-logo-accent { font-weight: 400; }

/* Wordmark: stacked two-line layout when no custom logo image */
.l12-logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.l12-logo-main {
  font-family: var(--l12-font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--l12-harbor-900);
  letter-spacing: -0.02em;
}
.l12-logo-byline {
  font-family: var(--l12-font-display);
  font-weight: 400;
  font-size: 0.65rem;
  color: var(--l12-harbor-500, #0c8deb);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Footer brand block */
.l12-footer-brand {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}
.l12-footer-brand-name {
  font-family: var(--l12-font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--l12-white, #fff);
  letter-spacing: -0.01em;
}
.l12-footer-brand-byline {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--l12-frost-65, rgba(255,255,255,0.65));
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.l12-primary-nav { display: flex; align-items: center; gap: 4px; }
.l12-nav-list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; align-items: center; }
.l12-nav-list a {
  font-size: 0.8rem;
  padding: 6px 8px;
  border-radius: 4px;
  color: var(--l12-harbor-700);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.l12-nav-list a:hover {
  background: var(--l12-harbor-50);
  color: var(--l12-harbor-900);
}

/* ── Header CTAs — two sizes: portal (text link), apply (compact pill) ── */
.l12-cta-nav {
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 6px;
  flex-shrink: 0;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
/* Client Portal — text-style link; margin-left creates visual separation from nav group */
.l12-cta-secondary.l12-cta-nav {
  padding: 6px 12px;
  min-height: auto;
  background: transparent;
  color: var(--l12-harbor-700);
  border: none;
  margin-left: 16px;
}
.l12-cta-secondary.l12-cta-nav:hover {
  background: var(--l12-harbor-50);
  color: var(--l12-harbor-900);
  transform: none;
}
/* Apply — compact filled pill */
.l12-cta-primary.l12-cta-nav {
  padding: 6px 16px;
  min-height: auto;
  background: var(--l12-harbor-900);
  color: #fff;
  border: none;
  margin-left: 2px;
}
.l12-cta-primary.l12-cta-nav:hover {
  background: var(--l12-harbor-800);
  transform: none;
}

/* =============================================================================
   CONTAINER
   ============================================================================= */
.l12-container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2rem); }

/* =============================================================================
   CTA BUTTONS
   Variants:  primary, secondary
   Modifiers: .l12-cta--hero  (inverted for use on dark hero/section backgrounds)
              .l12-cta--lg    (larger size for featured CTAs)
   States:    hover, focus-visible, disabled, loading
   All CTAs route to app.luperon12.com
   ============================================================================= */
.l12-cta-primary,
.l12-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
  min-height: 48px;
  line-height: 1.4;
  cursor: pointer;
  text-decoration: none;
}

.l12-cta-primary {
  padding: 14px 32px;
  background: var(--l12-harbor-900);
  color: var(--l12-white);
  border: 2px solid transparent;
}
.l12-cta-primary:hover {
  background: var(--l12-harbor-800);
  color: var(--l12-white);
  transform: translateY(-1px);
}

.l12-cta-secondary {
  padding: 14px 32px;
  background: transparent;
  color: var(--l12-harbor-900);
  border: 2px solid var(--l12-harbor-900);
}
.l12-cta-secondary:hover {
  background: var(--l12-harbor-50);
  color: var(--l12-harbor-900);
}

/* --hero modifier: inverted colours for dark hero / section--dark backgrounds */
.l12-cta-primary.l12-cta--hero {
  background: var(--l12-white);
  color: var(--l12-harbor-900);
  border-color: transparent;
}
.l12-cta-primary.l12-cta--hero:hover {
  background: var(--l12-harbor-50);
  color: var(--l12-harbor-900);
  transform: translateY(-1px);
}

.l12-cta-secondary.l12-cta--hero {
  border-color: var(--l12-frost-50);
  color: var(--l12-white);
  background: transparent;
}
.l12-cta-secondary.l12-cta--hero:hover {
  background: var(--l12-frost-10);
  color: var(--l12-white);
}

/* --lg modifier: larger size for dark-section featured CTAs */
.l12-cta-primary.l12-cta--lg,
.l12-cta-secondary.l12-cta--lg {
  font-size: 1.1rem;
  padding: 16px 40px;
}

/* Disabled state */
.l12-cta-primary:disabled,
.l12-cta-secondary:disabled,
.l12-cta-primary[aria-disabled='true'],
.l12-cta-secondary[aria-disabled='true'] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

/* Loading state — CSS spinner prepended via ::before */
.l12-cta-primary[data-loading='true'],
.l12-cta-secondary[data-loading='true'] {
  pointer-events: none;
  opacity: 0.75;
}
.l12-cta-primary[data-loading='true']::before,
.l12-cta-secondary[data-loading='true']::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: l12-spin 0.6s linear infinite;
  flex-shrink: 0;
}

@keyframes l12-spin { to { transform: rotate(360deg); } }

/* Mobile: full-width touch targets */
@media (max-width: 768px) {
  .l12-cta-primary,
  .l12-cta-secondary {
    display: flex;
    width: 100%;
    text-align: center;
    padding: 16px 24px;
    font-size: 1.1rem;
  }
}

/* =============================================================================
   FRONT PAGE LAYOUT
   ============================================================================= */
.l12-hero {
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: clamp(3.5rem, 9vh, 7rem) 0;
  background: linear-gradient(135deg, var(--l12-harbor-900) 0%, var(--l12-harbor-700) 100%);
}

/* Dark directional overlay — sits between the photo (z-index:0) and the
   content (z-index:2). Heavier on the left where the text block sits,
   lighter toward the right so the harbor image still breathes. Only
   applied to the full-height hero, not compact interior page heroes. */
.l12-hero:not(.l12-hero--compact)::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(7, 31, 58, 0.80) 0%,
    rgba(7, 31, 58, 0.62) 42%,
    rgba(7, 31, 58, 0.30) 100%
  );
}

.l12-hero-content { position: relative; z-index: 2; color: var(--l12-white); max-width: 800px; }
.l12-hero h1 { color: var(--l12-white); margin-bottom: 16px; }
.l12-hero-subtitle { font-size: 1.25rem; color: var(--l12-frost-85); margin-bottom: 32px; line-height: 1.6; }
.l12-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* Brand tagline — eyebrow above H1 */
.l12-hero-tagline {
  font-family: var(--l12-font-display);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--l12-harbor-300, #7cc5fd);
  margin-bottom: 14px;
  opacity: 0.9;
}

/* ── Interior page compact hero (Services, Pricing) ─────────────────── */
.l12-section--hero-sm {
  background: linear-gradient(135deg, var(--l12-harbor-900) 0%, var(--l12-harbor-700) 100%);
  color: var(--l12-white);
  padding: 56px 0 48px;
}
.l12-hero-headline {
  font-family: var(--l12-font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--l12-white);
  margin: 0 0 12px;
  line-height: 1.3;
}
.l12-hero-subhead {
  font-size: 1.05rem;
  color: var(--l12-frost-85);
  margin: 0 0 16px;
  max-width: 700px;
  line-height: 1.6;
}
.l12-section--hero-sm .l12-body {
  color: var(--l12-frost-80);
  max-width: 700px;
  line-height: 1.6;
}
.l12-section--hero-sm .l12-cta-group {
  margin-top: 24px;
}
.l12-section--hero-sm .l12-disclaimer-banner {
  margin-top: 24px;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}
.l12-section--hero-sm .l12-disclaimer-text {
  color: var(--l12-frost-85);
}
.l12-section--hero-sm .l12-disclaimer-text strong {
  color: var(--l12-white);
}

.l12-section { padding: 80px 0; }
.l12-section--alt  { background: var(--l12-harbor-50); }
.l12-section--sand { background: var(--l12-sand-100); }
.l12-section--dark { background: var(--l12-harbor-900); color: var(--l12-white); text-align: center; }
.l12-section--dark h2 { color: var(--l12-white); margin-bottom: 16px; }
.l12-section--dark p  { color: var(--l12-frost-80); max-width: 500px; margin: 0 auto 32px; }

.l12-section-heading { text-align: center; margin-bottom: 48px; }
.l12-section-intro { max-width: 640px; margin: 16px auto 40px; text-align: center; }

.l12-trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.l12-trust-card { background: var(--l12-white); border-radius: 12px; padding: 32px; border: 1px solid var(--l12-shade-6); }
.l12-trust-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.l12-trust-card p { margin: 0; }
/* 3-col layout on desktop: 4th card (Maintenance Log) sits centered under 2nd card (Digital Guard) */
@media (min-width: 900px) {
  .l12-trust-grid { grid-template-columns: repeat(3, 1fr); }
  .l12-trust-card:last-child { grid-column: 2; }
  /* 3-card grids (How It Works): cancel the centering so all three sit in a row */
  .l12-trust-grid--3col .l12-trust-card:last-child { grid-column: auto; }
}
/* SCS paid-vs-whatsapp cards: flex column so CTA buttons pin to card bottom */
.l12-trust-card--cta-bottom {
  display: flex;
  flex-direction: column;
}
.l12-trust-card--cta-bottom .l12-trust-card-cta {
  margin-top: auto;
  padding-top: 24px;
}

.l12-bundle-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; max-width: 900px; margin: 0 auto; }
.l12-bundle-card { background: var(--l12-white); border-radius: 12px; padding: 40px 32px; text-align: center; }
.l12-bundle-card--primary   { border: 2px solid var(--l12-harbor-900); }
/* Match Guardian's border weight; lighter harbour tint keeps the visual hierarchy */
.l12-bundle-card--secondary { border: 2px solid var(--l12-harbor-300); }
.l12-bundle-commitment { font-size: 0.9rem; color: var(--l12-harbor-600); margin-bottom: 24px; }
/* Auto-space CTAs inside bundle cards — replaces inline style="margin-top:24px" */
.l12-bundle-card .l12-cta-primary,
.l12-bundle-card .l12-cta-secondary { margin-top: 24px; }
.l12-bundle-card .l12-list { text-align: left; }

.l12-map-placeholder {
  background: var(--l12-harbor-100);
  border-radius: 12px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--l12-harbor-600);
}

.l12-availability-section { padding: 40px 0; background: var(--l12-white); }

/* Availability bar — output by luperon12-connector plugin shortcode */
.l12-availability-bar {
  background: var(--l12-harbor-50);
  border: 1px solid var(--l12-harbor-200);
  border-radius: 12px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.l12-availability-bar--fallback { text-align: center; justify-content: center; flex-direction: column; }
.l12-availability-number { font-size: 2rem; font-weight: 700; color: var(--l12-harbor-900); }
.l12-availability-label { font-size: 1rem; color: var(--l12-text-light); margin-left: 8px; }
.l12-availability-cta { white-space: nowrap; }
.l12-availability-fallback-text { margin: 0 0 12px; }

/* =============================================================================
   FOOTER
   All styles moved from inline style= attributes in footer.php.
   ============================================================================= */
.l12-footer {
  background: var(--l12-harbor-950);
  color: var(--l12-frost-70);
  padding: 64px 0 32px;
}

.l12-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 48px;
}

.l12-footer-heading {
  color: var(--l12-white);
  font-family: var(--l12-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 16px;
}

.l12-footer-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--l12-frost-70);
  margin: 0 0 8px;
}

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

.l12-footer-list-item { margin-bottom: 8px; }

.l12-footer-link { color: var(--l12-frost-70); }
.l12-footer-link:hover { color: var(--l12-white); }

.l12-footer-lang-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--l12-frost-10);
  margin-top: 8px;
}

.l12-footer-lang-item {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-family: inherit;
  color: var(--l12-frost-70);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  line-height: 1.5;
}
.l12-footer-lang-item:hover {
  color: var(--l12-white);
  background: rgba(255, 255, 255, 0.1);
}
.l12-footer-lang-item--active {
  color: var(--l12-white);
  background: rgba(255, 255, 255, 0.12);
  cursor: default;
}

.l12-footer-bottom {
  border-top: 1px solid var(--l12-frost-10);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}
.l12-footer-bottom p { color: var(--l12-frost-70); margin: 0; }

/* =============================================================================
   TRUST BADGES (hero inline badges)
   ============================================================================= */
.l12-trust-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.l12-trust-badge {
  background: var(--l12-frost-10);
  border: 1px solid var(--l12-frost-50);
  color: var(--l12-white);
  border-radius: 24px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* =============================================================================
   ESCORT FEATURE SECTION (Yola escort / entry anxiety)
   ============================================================================= */
.l12-escort-feature { background: var(--l12-harbor-50); padding: 80px 0; }
.l12-escort-content { max-width: 800px; margin: 0 auto; text-align: center; }
.l12-escort-content p { max-width: 640px; margin: 0 auto 20px; }
.l12-escort-cta { margin-top: 32px; }

/* =============================================================================
   CALLOUT BOX (escort section, protocol pages)
   ============================================================================= */
.l12-callout {
  background: var(--l12-harbor-900);
  color: var(--l12-white);
  border-radius: 12px;
  padding: 24px 32px;
  font-size: 1.05rem;
  font-weight: 600;
  max-width: 560px;
  margin: 32px auto;
  text-align: center;
}
.l12-callout p { color: var(--l12-white); margin: 0; }

/* =============================================================================
   AVAILABILITY NOTE (fallback messaging)
   ============================================================================= */
.l12-availability-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--l12-text-light);
  margin-top: 12px;
}

/* =============================================================================
   HARBOR STATS GRID
   ============================================================================= */
.l12-harbor-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.l12-harbor-stat { text-align: center; padding: 24px; }
.l12-harbor-stat-value {
  font-family: var(--l12-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--l12-harbor-900);
  display: block;
  margin-bottom: 4px;
}
.l12-harbor-stat-label {
  font-size: 0.85rem;
  color: var(--l12-text-light);
}

/* =============================================================================
   BUNDLE BADGE (updated commitment badge)
   ============================================================================= */
.l12-bundle-badge {
  display: inline-block;
  background: var(--l12-harbor-50);
  color: var(--l12-harbor-700);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

/* =============================================================================
   TESTIMONIALS
   ============================================================================= */
.l12-section--testimonials { background: var(--l12-sand-100); }
.l12-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.l12-testimonial {
  background: var(--l12-white);
  border-radius: 12px;
  padding: 32px;
  border: 1px solid var(--l12-shade-6);
  margin: 0;
  position: relative;
}
.l12-testimonial::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 4rem;
  line-height: 1;
  color: var(--l12-harbor-200);
  font-family: Georgia, serif;
}
.l12-testimonial p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--l12-text);
  margin: 0 0 20px;
  padding-top: 24px;
}
.l12-testimonial footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--l12-shade-6);
  padding-top: 16px;
}
.l12-testimonial footer strong {
  font-size: 0.95rem;
  color: var(--l12-harbor-900);
}
.l12-testimonial footer span {
  font-size: 0.8rem;
  color: var(--l12-text-light);
}

/* =============================================================================
   TWO-COLUMN LAYOUT (harbor page)
   ============================================================================= */
.l12-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 768px) {
  .l12-two-col { grid-template-columns: 1fr; gap: 24px; }
}

/* =============================================================================
   COMPACT HERO (interior pages)
   ============================================================================= */
.l12-hero--compact { min-height: 50vh; }

/* Compact hero with a background photo — adds a read-safe overlay.
   Dark-on-dark when no photo is present, so this is safe for all compact heroes. */
.l12-hero--compact::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(7, 31, 58, 0.74) 0%,
    rgba(7, 31, 58, 0.52) 100%
  );
}

/* =============================================================================
   PROTOCOL STEPS (hurricane protocol page)
   ============================================================================= */
.l12-protocol-steps { display: flex; flex-direction: column; gap: 0; }
.l12-protocol-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--l12-shade-6);
}
.l12-protocol-step:last-child { border-bottom: none; }
.l12-protocol-step-num {
  font-family: var(--l12-font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--l12-harbor-200);
  line-height: 1;
  padding-top: 4px;
}
.l12-protocol-step-content h3 { margin: 0 0 8px; }
.l12-protocol-step-content p { margin: 0; }
@media (max-width: 640px) {
  .l12-protocol-step { grid-template-columns: 1fr; gap: 8px; }
  .l12-protocol-step-num { font-size: 1.5rem; }
}

/* =============================================================================
   WHAT'S INCLUDED LIST (guardian page)
   ============================================================================= */
.l12-included-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px 32px;
}
.l12-included-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
  color: var(--l12-text-light);
}
.l12-included-item::before {
  content: '\2713';
  color: var(--l12-seafoam-500);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* =============================================================================
   FAQ ACCORDION
   ============================================================================= */
.l12-faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.l12-faq-item {
  border: 1px solid var(--l12-shade-8);
  border-radius: 10px;
  overflow: hidden;
}
.l12-faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--l12-harbor-900);
  list-style: none;
  font-size: 1rem;
  line-height: 1.4;
  gap: 16px;
}
.l12-faq-summary::-webkit-details-marker { display: none; }
.l12-faq-summary::marker { display: none; }
.l12-faq-summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--l12-harbor-500);
  flex-shrink: 0;
  font-weight: 400;
  transition: transform 0.2s ease;
}
details[open] .l12-faq-summary::after { content: '\2212'; }
.l12-faq-answer {
  padding: 0 24px 20px;
  color: var(--l12-text-light);
  line-height: 1.7;
}
.l12-faq-answer p { margin: 0; }

/* =============================================================================
   FAQ CTA (bottom of FAQ page)
   ============================================================================= */
.l12-faq-cta {
  text-align: center;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--l12-shade-6);
}
.l12-faq-cta h2 { margin-bottom: 12px; }
.l12-faq-cta p { max-width: 500px; margin: 0 auto 20px; }

/* ── Harbor Map (Google Maps Embed) ─────────────────────────────── */
.l12-harbor-map { margin: 32px 0; }
.l12-harbor-map iframe {
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
}
@media (max-width: 600px) {
  .l12-harbor-map iframe { height: 300px; }
}
.l12-map-caption {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--l12-shade-40);
  text-align: center;
  line-height: 1.5;
}

/* ── T2: Digital Guard Active Status Badge ──────────────────────── */
.l12-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.l12-status-badge--active {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.l12-status-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: l12-pulse 2s ease-in-out infinite;
}
@keyframes l12-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

/* ── S4: Scarcity Badges ────────────────────────────────────────── */
.l12-scarcity-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 12px 0;
}
.l12-scarcity-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--l12-shade-6, #f0f4f8);
  color: var(--l12-navy, #0a3d62);
  border: 1px solid var(--l12-shade-12, #dde3ea);
}
.l12-scarcity-badge--urgent {
  background: #fef3c7;
  color: #92400e;
  border-color: #fcd34d;
}
.l12-scarcity-badge--full {
  background: #fee2e2;
  color: #991b1b;
  border-color: #fca5a5;
}

/* ── T4: Portal Mockup Cards ────────────────────────────────────── */
.l12-portal-mockups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.l12-portal-mockup {
  background: #fff;
  border: 1px solid var(--l12-shade-12, #dde3ea);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.l12-portal-mockup-header {
  background: var(--l12-navy, #0a3d62);
  color: #fff;
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.l12-portal-mockup-body {
  padding: 16px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--l12-shade-60, #4a5568);
}
.l12-portal-mockup-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--l12-shade-6, #f0f4f8);
}
.l12-portal-mockup-row:last-child { border-bottom: none; }
.l12-portal-mockup-label { font-weight: 500; color: var(--l12-navy, #0a3d62); }
.l12-portal-mockup-value { text-align: right; }
.l12-portal-status {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}
.l12-portal-status--green { background: #22c55e; }
.l12-portal-status--amber { background: #f59e0b; }
.l12-portal-mockup-timeline { list-style: none; padding: 0; margin: 0; }
.l12-portal-mockup-timeline li {
  padding: 10px 0 10px 20px;
  border-left: 2px solid var(--l12-shade-12, #dde3ea);
  position: relative;
}
.l12-portal-mockup-timeline li::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--l12-navy, #0a3d62);
}
.l12-portal-mockup-timeline .l12-timeline-date {
  display: block;
  font-size: 0.75rem;
  color: var(--l12-shade-40, #718096);
  margin-bottom: 2px;
}
.l12-portal-mockup-timeline .l12-timeline-event {
  font-weight: 500;
  color: var(--l12-navy, #0a3d62);
}

/* =============================================================================
   LANGUAGE NOTICE BANNER
   Shown when detected browser language differs from current page language.
   Positioned between header and main content. Dismissible per session.
   ============================================================================= */
.l12-lang-notice {
  background: var(--l12-harbor-50, #f0f7ff);
  border-bottom: 1px solid var(--l12-harbor-200, #b9dffe);
  padding: 10px 0;
  font-size: 0.85rem;
  color: var(--l12-harbor-900, #0a3d62);
}
.l12-lang-notice-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.l12-lang-notice-text {
  font-weight: 500;
}
.l12-lang-notice-link {
  background: var(--l12-harbor-700, #0158a3);
  color: var(--l12-white, #fff);
  padding: 4px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8rem;
  text-decoration: none;
  transition: background 0.15s ease;
}
.l12-lang-notice-link:hover {
  background: var(--l12-harbor-900, #0a3d62);
}
.l12-lang-notice-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--l12-harbor-700, #0158a3);
  padding: 0 4px;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.15s ease;
}
.l12-lang-notice-close:hover { opacity: 1; }

/* =============================================================================
   YOLA CULTURAL NOTE (front page first-mention context)
   ============================================================================= */
/* =============================================================================
   COMPARISON TABLE ("Value Gap" — Standard Mooring vs. Residency)
   ============================================================================= */
.l12-comparison-table-wrap {
  overflow-x: auto;
  margin-top: 32px;
}
.l12-comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 600px;
}
.l12-comparison-table th,
.l12-comparison-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--l12-shade-8, #e2e8f0);
  vertical-align: top;
}
.l12-comparison-table thead th {
  background: var(--l12-harbor-900, #0a3d62);
  color: var(--l12-white, #fff);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.l12-comparison-table thead th:first-child {
  border-radius: 8px 0 0 0;
}
.l12-comparison-table thead th:last-child {
  border-radius: 0 8px 0 0;
}
.l12-comparison-table tbody tr:nth-child(even) {
  background: var(--l12-sand-50, #faf8f5);
}
.l12-comparison-table tbody td:nth-child(2) {
  color: var(--l12-text-light, #5a6a7a);
}
.l12-comparison-highlight {
  background: var(--l12-harbor-50, #f0f7ff) !important;
  color: var(--l12-harbor-900, #0a3d62);
  font-weight: 600;
}
.l12-comparison-table thead .l12-comparison-highlight {
  background: var(--l12-seafoam-600, #0e9f6e) !important;
  color: var(--l12-white, #fff);
}
@media (max-width: 640px) {
  .l12-comparison-table { font-size: 0.8rem; }
  .l12-comparison-table th,
  .l12-comparison-table td { padding: 10px 12px; }
}

.l12-yola-note {
  font-size: 0.85rem;
  color: var(--l12-text-light, #5a6a7a);
  font-style: italic;
  margin-top: 8px;
  line-height: 1.6;
}

/* =============================================================================
   HARBOR MAP — static harbor context block (replaces CDN-dependent Leaflet map)
   ============================================================================= */
/* Static harbor block: replaces the Google Maps iframe and Leaflet CDN map.
   Renders a premium, dependency-free harbor context panel. */
.l12-harbor-static {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(160deg, #0a2d4d 0%, #0a3d62 55%, #0c6291 100%);
  color: #fff;
  padding: 40px 32px 32px;
  margin: 16px 0 8px;
}
.l12-harbor-static-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.l12-harbor-static-title {
  font-family: var(--l12-font-display, 'Inter', sans-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.l12-harbor-static-coords {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
  font-family: monospace;
}
.l12-harbor-static-badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  align-self: flex-start;
}
/* Bay outline: pure CSS representation of the protected bay */
.l12-harbor-bay {
  position: relative;
  height: 200px;
  margin: 0 0 24px;
  background: linear-gradient(180deg, rgba(12,98,145,0.5) 0%, rgba(10,61,98,0.8) 100%);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
}
.l12-harbor-bay::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: rgba(10,45,77,0.6);
  border-radius: 60% 60% 0 0 / 40% 40% 0 0;
}
.l12-harbor-bay-label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
}
.l12-harbor-bay-label strong {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.9;
}
.l12-harbor-bay-label span {
  font-size: 0.7rem;
  opacity: 0.6;
}
/* 12 mooring dots */
.l12-harbor-moorings {
  position: absolute;
  top: 28%; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  width: 260px;
  z-index: 2;
}
.l12-harbor-mooring-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.4);
  box-shadow: 0 0 6px rgba(100,180,255,0.6);
}
.l12-harbor-static-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.l12-harbor-static-stat {
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 14px 12px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
}
.l12-harbor-static-stat strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
}
.l12-harbor-static-stat span {
  font-size: 0.7rem;
  opacity: 0.65;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
@media (max-width: 560px) {
  .l12-harbor-static-stats { grid-template-columns: 1fr 1fr; }
  .l12-harbor-bay { height: 150px; }
}

/* Legacy Leaflet map class — kept for graceful degradation if JS loads */
.l12-mooring-map {
  width: 100%;
  height: 500px;
  border-radius: 8px;
  overflow: hidden;
  margin: 16px 0 8px;
  background: var(--l12-harbor-100, #e0efff);
}
@media (max-width: 640px) {
  .l12-mooring-map { height: 340px; }
}

/* Numbered marker SVG injected by harbor-map.js */
.l12-mooring-marker {
  background: transparent !important;
  border: none !important;
}

/* Custom popup styling */
.l12-leaflet-popup .leaflet-popup-content-wrapper {
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(10,61,98,0.18);
  border: 1px solid var(--l12-harbor-200, #b9dffe);
}
.l12-leaflet-popup .leaflet-popup-tip {
  background: #fff;
}
.l12-map-popup {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 2px;
}
.l12-map-popup-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--l12-harbor-900, #0a3d62);
}
.l12-map-popup-coords {
  font-size: 0.78rem;
  color: var(--l12-text-light, #5a6a7a);
  font-family: 'Courier New', monospace;
}
.l12-map-popup-note {
  font-size: 0.75rem;
  color: var(--l12-text-light, #5a6a7a);
  font-style: italic;
}

.l12-map-caption {
  font-size: 0.78rem;
  color: var(--l12-text-light, #5a6a7a);
  margin-top: 8px;
  text-align: center;
}

.l12-map-noscript {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--l12-text-light, #5a6a7a);
  background: var(--l12-harbor-50, #f0f7ff);
  border-radius: 6px;
  padding: 12px 16px;
}

/* =============================================================================
   INTERACTIVE MOORING FIELD OVERVIEW
   First-party inline SVG with keyboard-accessible position selector.
   No external map dependencies.
   ============================================================================= */
.l12-mooring-overview {
  background: linear-gradient(160deg, #071f3a 0%, #0a3d62 62%, #0c5280 100%);
  border-radius: 12px;
  padding: 28px 28px 20px;
  margin: 16px 0 20px;
  color: #fff;
}

.l12-mooring-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  align-items: start;
  margin-bottom: 16px;
}

@media (max-width: 680px) {
  .l12-mooring-layout { grid-template-columns: 1fr; }
}

.l12-mooring-svg-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.l12-mooring-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* SVG mooring point interaction */
.l12-moor-point { cursor: pointer; }

.l12-moor-point .l12-moor-ring,
.l12-moor-point .l12-moor-dot,
.l12-moor-point .l12-moor-label {
  transition: fill 0.18s, stroke 0.18s;
}

.l12-moor-point:hover .l12-moor-dot,
.l12-moor-point:focus .l12-moor-dot,
.l12-moor-point--active .l12-moor-dot {
  fill: #7cc5fd;
}

.l12-moor-point:focus { outline: none; }

.l12-moor-point:focus-visible .l12-moor-ring,
.l12-moor-point:hover .l12-moor-ring,
.l12-moor-point--active .l12-moor-ring {
  stroke: rgba(124, 197, 253, 0.85);
  fill: rgba(124, 197, 253, 0.14);
}

.l12-moor-point:hover .l12-moor-label,
.l12-moor-point:focus .l12-moor-label,
.l12-moor-point--active .l12-moor-label {
  fill: rgba(255, 255, 255, 0.95);
}

/* Detail panel */
.l12-mooring-detail-panel {
  background: rgba(7, 31, 58, 0.82);
  border: 1px solid rgba(100, 170, 255, 0.18);
  border-radius: 10px;
  padding: 24px 20px;
  min-height: 172px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.l12-mooring-detail-placeholder {
  text-align: center;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.875rem;
  line-height: 1.5;
}
.l12-mooring-detail-placeholder p { margin: 0; }

.l12-mooring-detail-id {
  font-family: var(--l12-font-display, 'Inter', sans-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: #7cc5fd;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.l12-mooring-detail-status {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.48);
  font-weight: 600;
  margin-bottom: 16px;
}

.l12-mooring-detail-facts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.l12-mooring-detail-facts li {
  font-size: 0.845rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
  margin-bottom: 10px;
}
.l12-mooring-detail-facts li:last-child { margin-bottom: 0; }

.l12-mooring-detail-facts li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(100, 170, 255, 0.65);
  font-weight: 700;
}

/* Clarity note */
.l12-mooring-overview-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.6;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* =============================================================================
   A LA CARTE SERVICES PAGE
   ============================================================================= */

/* ── Scheduling Disclaimer Banner ─────────────────────────────────────────── */
.l12-disclaimer-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fffbeb;
  border: 2px solid #f59e0b;
  border-left-width: 6px;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 24px 0;
}
.l12-disclaimer-banner--logistics {
  background: #fff7ed;
  border-color: #ea580c;
  margin-bottom: 32px;
}
.l12-disclaimer-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 1px;
  color: #d97706;
}
.l12-disclaimer-banner--logistics .l12-disclaimer-icon {
  color: #c2410c;
}
.l12-disclaimer-text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #78350f;
  margin: 0;
}
.l12-disclaimer-banner--logistics .l12-disclaimer-text {
  color: #7c2d12;
}
.l12-disclaimer-text strong {
  display: block;
  margin-bottom: 4px;
}

/* ── Service Grid ──────────────────────────────────────────────────────────── */
.l12-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin: 28px 0;
}
.l12-service-grid--2col {
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}
@media (max-width: 640px) {
  .l12-service-grid,
  .l12-service-grid--2col { grid-template-columns: 1fr; }
}

/* ── Service Card ─────────────────────────────────────────────────────────── */
.l12-service-card {
  background: var(--l12-white, #fff);
  border: 1px solid var(--l12-harbor-200, #b9dffe);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s ease;
}
.l12-service-card:hover {
  box-shadow: 0 4px 20px rgba(10,61,98,0.10);
}
.l12-service-card--featured {
  border-color: var(--l12-harbor-400, #36a8fa);
  border-width: 2px;
}
.l12-service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.l12-service-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--l12-harbor-900, #0a3d62);
  margin: 0;
  line-height: 1.3;
}
.l12-service-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--l12-harbor-700, #0158a3);
  white-space: nowrap;
  flex-shrink: 0;
}
.l12-service-unit {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--l12-text-light, #5a6a7a);
}
.l12-service-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--l12-text, #2d3748);
  margin: 0;
}
.l12-service-note {
  font-size: 0.78rem;
  color: var(--l12-harbor-600, #006fc9);
  font-style: italic;
  margin: 0;
  padding: 6px 10px;
  background: var(--l12-harbor-50, #f0f7ff);
  border-radius: 4px;
}
.l12-service-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 4px;
}

/* Small CTA modifier */
.l12-cta-primary.l12-cta--sm,
.l12-cta-secondary.l12-cta--sm {
  font-size: 0.85rem;
  padding: 10px 18px;
  min-width: auto;
}

.l12-pricing-footnote {
  font-size: 0.82rem;
  color: var(--l12-text-light, #5a6a7a);
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--l12-sand-100, #f5f0e8);
  border-radius: 6px;
  border-left: 4px solid var(--l12-sand-400, #c9ab87);
}

/* ── Boat Watch info block ────────────────────────────────────────────────── */
.l12-service-info-block {
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--l12-harbor-50, #f0f7ff);
  border-radius: 10px;
  border: 1px solid var(--l12-harbor-200, #b9dffe);
}
.l12-service-info-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--l12-harbor-800, #064b86);
  margin: 0 0 10px;
}

/* ── Logistics Grid ───────────────────────────────────────────────────────── */
.l12-logistics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 8px;
}
@media (max-width: 640px) {
  .l12-logistics-grid { grid-template-columns: 1fr; }
}

/* ── Logistics Card ───────────────────────────────────────────────────────── */
.l12-logistics-card {
  background: var(--l12-white, #fff);
  border: 1px solid var(--l12-harbor-200, #b9dffe);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.l12-logistics-card-icon {
  font-size: 1.8rem;
  line-height: 1;
}
.l12-logistics-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--l12-harbor-900, #0a3d62);
  margin: 0;
}
.l12-logistics-details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.l12-logistics-details li {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--l12-text, #2d3748);
  padding-left: 14px;
  position: relative;
}
.l12-logistics-details li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--l12-harbor-500, #0c8deb);
  font-weight: 700;
}
.l12-logistics-note {
  font-size: 0.78rem;
  color: var(--l12-harbor-600, #006fc9);
  font-style: italic;
  margin: 0;
  padding: 6px 10px;
  background: var(--l12-harbor-50, #f0f7ff);
  border-radius: 4px;
}
.l12-logistics-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}
.l12-logistics-disclaimer {
  font-size: 0.72rem;
  color: #c2410c;
  font-weight: 600;
  margin: 0;
  padding-top: 4px;
}

/* Worked pricing examples inside logistics cards */
.l12-logistics-example {
  background: var(--l12-harbor-50, #f0f7ff);
  border-left: 3px solid var(--l12-harbor-300, #7cc5fd);
  padding: 10px 14px;
  margin: 10px 0 6px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--l12-harbor-800, #064b86);
  border-radius: 0 6px 6px 0;
}

/* =============================================================================
   SCHEDULE vs QUOTE button modifiers
   Schedule = price is known, user is booking a time
   Quote    = price depends on vessel LOA or job scope, needs crew assessment
   ============================================================================= */

/* Schedule: operational service, rate published, user just needs to pick a time */
.l12-cta-primary.l12-cta--schedule,
.l12-cta-secondary.l12-cta--schedule {
  background: #0d7a5f;
  color: #fff;
  border-color: #0d7a5f;
}
.l12-cta-primary.l12-cta--schedule:hover,
.l12-cta-secondary.l12-cta--schedule:hover {
  background: #0a5f4a;
  border-color: #0a5f4a;
  color: #fff;
  transform: translateY(-1px);
}

/* Quote: variable pricing — vessel LOA or job scope required before price can be given */
.l12-cta-secondary.l12-cta--quote {
  color: #0a3d62;
  border-color: #0a3d62;
  border-style: dashed;
  background: transparent;
}
.l12-cta-secondary.l12-cta--quote:hover {
  background: var(--l12-harbor-50, #f0f7ff);
  border-style: solid;
  color: #0a3d62;
}

/* =============================================================================
   PRICING BREAKDOWN TABLE — used on Guardian and Cruise-In pages
   ============================================================================= */
.l12-pricing-breakdown {
  border: 1px solid var(--l12-shade-5, rgba(10,61,98,0.15));
  border-radius: 10px;
  overflow: hidden;
  margin: 24px 0;
}
.l12-pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--l12-shade-5, rgba(10,61,98,0.12));
  background: var(--l12-white, #fff);
}
.l12-pricing-row:last-child { border-bottom: none; }
.l12-pricing-label {
  font-size: 0.95rem;
  color: var(--l12-text, #2d3748);
}
.l12-pricing-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--l12-harbor-900, #0a3d62);
  white-space: nowrap;
  margin-left: 16px;
}
.l12-pricing-row--total {
  background: var(--l12-harbor-900, #0a3d62);
}
.l12-pricing-row--total .l12-pricing-label,
.l12-pricing-row--total .l12-pricing-value {
  color: var(--l12-white, #fff);
  font-size: 1.1rem;
}
.l12-pricing-row--total .l12-pricing-value {
  font-size: 1.25rem;
}
.l12-pricing-row--multihull {
  background: var(--l12-harbor-50, #f0f7ff);
}
.l12-pricing-row--multihull .l12-pricing-label {
  font-size: 0.88rem;
  color: var(--l12-text-light, #5a6a7a);
}
.l12-pricing-row--multihull .l12-pricing-value {
  font-size: 0.95rem;
  color: var(--l12-harbor-700, #1565a8);
}

/* ── How It Works Steps ───────────────────────────────────────────────────── */
.l12-steps-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.l12-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.l12-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--l12-harbor-700, #0158a3);
  color: var(--l12-white, #fff);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
  flex-shrink: 0;
}
.l12-step strong {
  display: block;
  font-size: 1rem;
  color: var(--l12-harbor-900, #0a3d62);
  margin-bottom: 4px;
}
.l12-step p {
  font-size: 0.9rem;
  color: var(--l12-text, #2d3748);
  line-height: 1.6;
  margin: 0;
}

/* ── Bundle Prompt ────────────────────────────────────────────────────────── */
.l12-service-bundle-prompt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
@media (max-width: 640px) {
  .l12-service-bundle-prompt { grid-template-columns: 1fr; }
}
.l12-service-bundle-option {
  background: var(--l12-harbor-50, #f0f7ff);
  border: 1px solid var(--l12-harbor-200, #b9dffe);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.l12-service-bundle-option h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--l12-harbor-900, #0a3d62);
  margin: 0;
}
.l12-service-bundle-option p {
  font-size: 0.85rem;
  color: var(--l12-text, #2d3748);
  line-height: 1.55;
  margin: 0;
  flex-grow: 1;
}

/* =============================================================================
   LANGUAGE SWITCHER — Polylang (renders only when 2+ languages are active)
   Positioned in the nav between the menu list and the Apply button.
   ============================================================================= */
.l12-lang-switcher {
  display: flex;
  align-items: center;
  gap: 1px;
  margin-left: 4px;
  margin-right: 4px;
  opacity: 0.7;
  transition: opacity .15s;
}
.l12-lang-switcher:hover {
  opacity: 1;
}

.l12-lang-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 3px;
  border-radius: 4px;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  transition: background .15s, opacity .15s;
}

.l12-lang-item--active {
  background: var(--l12-harbor-50, #f0f7ff);
  cursor: default;
  opacity: 1;
}

.l12-lang-item--link {
  text-decoration: none;
  opacity: 0.55;
}
.l12-lang-item--link:hover {
  background: var(--l12-harbor-50, #f0f7ff);
  opacity: 1;
}

/* No separator dots — flags are self-explanatory */

/* =============================================================================
   BILINGUAL TAGLINE — Home page hero (EN · ES inline)
   ============================================================================= */
.l12-tagline-sep {
  color: var(--l12-shade-5, rgba(10, 61, 98, 0.35));
  font-weight: 400;
  margin: 0 2px;
}

/* =============================================================================
   SERVICE DATE PICKER — Injected by service-date-picker.js on /services/
   Native <input type="date"> inserted before each WhatsApp CTA.
   ============================================================================= */
.l12-date-request {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.l12-date-label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--l12-harbor-900, #0a3d62);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.l12-service-date {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--l12-harbor-200, #b9dffe);
  border-radius: 6px;
  font-size: 0.9375rem;
  color: var(--l12-text, #2d3748);
  background: var(--l12-white, #fff);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}

.l12-service-date:focus {
  outline: none;
  border-color: var(--l12-harbor-600, #1a6fa8);
  box-shadow: 0 0 0 3px rgba(26, 111, 168, 0.15);
}

.l12-service-date::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.6;
}

.l12-date-feedback {
  display: block;
  font-size: 0.8125rem;
  color: #0d7a5f;
  line-height: 1.4;
  padding: 6px 10px;
  background: rgba(13, 122, 95, 0.07);
  border-radius: 5px;
  border-left: 3px solid #0d7a5f;
}

/* ── Bundle card consistent borders & button colors ───────────────── */
.l12-bundle-card {
  border: 2px solid var(--harbor-200, #e0efff);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.l12-bundle-card--primary {
  border-color: var(--harbor-600, #006fc9);
}
.l12-bundle-card--secondary {
  border-color: var(--harbor-600, #006fc9);
}
.l12-bundle-card .l12-cta-primary,
.l12-bundle-card .l12-cta-secondary {
  display: block;
  background-color: var(--harbor-700, #0158a3);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: .75rem 1.5rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background-color .2s;
  margin-top: auto;
}
.l12-bundle-card .l12-cta-primary:hover,
.l12-bundle-card .l12-cta-secondary:hover {
  background-color: var(--harbor-900, #0a3d62);
}

/* ── Pricing worked-example blocks ────────────────────────────────── */
.l12-pricing-example {
  background: var(--harbor-50, #f0f7ff);
  border-left: 3px solid var(--harbor-400, #7cc5fd);
  padding: .75rem 1rem;
  margin: .75rem 0 1.5rem;
  font-size: .875rem;
  line-height: 1.6;
  color: var(--harbor-800, #0a3d62);
  border-radius: 0 6px 6px 0;
}

/* ── Bundle comparison note ───────────────────────────────────────── */
.l12-bundle-comparison-note {
  background: var(--sand-50, #faf8f5);
  border: 1px solid var(--sand-200, #ebe0d0);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  font-size: .9375rem;
  line-height: 1.7;
}

/* ── Service list bulleted alignment ──────────────────────────────── */
.l12-bundle-card .l12-list,
.l12-service-card .l12-list,
.l12-list {
  list-style: disc;
  padding-left: 1.5rem;
  text-align: left;
}
.l12-list li {
  margin-bottom: .35rem;
}

/* =============================================================================
   IN-APP HELP TOOLTIPS (l12_help_tooltip())
   Self-contained ⓘ popover widget. No external dependencies.
   ============================================================================= */

.l12-help-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

/* Trigger button */
.l12-help-tooltip__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  border: 1px solid var(--harbor-300, #93aec8);
  background: #fff;
  color: var(--harbor-500, #4a7fa5);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  padding: 0;
}
.l12-help-tooltip__trigger:hover {
  background: var(--harbor-50, #f0f6fb);
  color: var(--harbor-700, #2a5f85);
}
.l12-help-tooltip__trigger[aria-expanded="true"] {
  background: var(--harbor-800, #0e3d6a);
  color: #fff;
  border-color: var(--harbor-800, #0e3d6a);
}
.l12-help-tooltip__trigger:focus-visible {
  outline: 2px solid var(--harbor-400, #6699be);
  outline-offset: 2px;
}

/* Popover panel */
.l12-help-tooltip__popover {
  position: absolute;
  z-index: 200;
  top: calc(100% + .5rem);
  left: 50%;
  transform: translateX(-50%);
  width: 18rem;
  max-width: calc(100vw - 2rem);
  background: #fff;
  border: 1px solid var(--harbor-200, #c3d8e8);
  border-radius: .5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  padding: .75rem;
  font-size: .875rem;
  line-height: 1.5;
}

/* Primary language text */
.l12-help-tooltip__primary {
  display: block;
  color: var(--harbor-900, #07243f);
  line-height: 1.45;
  margin-bottom: .5rem;
}

/* Divider */
.l12-help-tooltip__divider {
  display: block;
  height: 1px;
  background: var(--harbor-100, #ddeef7);
  margin-bottom: .5rem;
}

/* Secondary language text */
.l12-help-tooltip__secondary {
  display: block;
  color: var(--harbor-500, #4a7fa5);
  font-size: .75rem;
  line-height: 1.45;
}

/* =============================================================================
   PRODUCTION PHOTO PLACEMENTS — MS-01 through MS-05
   ============================================================================= */

/* MS-01: Hero background image — absolutely fills .l12-hero behind all content */
.l12-hero-bg-img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
}

/* MS-02 through MS-05: Full-width body photo figure blocks */
.l12-photo-block {
  margin: 2rem 0;
}

.l12-photo-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* =============================================================================
   HEADER RESPONSIVE COLLAPSE
   At tablet/mobile widths the nav link list overflows the 62px header.
   Collapse nav links and language switcher; keep logo + Apply + Client Portal
   so the primary action remains one tap away on every device.
   ============================================================================= */
@media (max-width: 820px) {
  .l12-nav-list     { display: none; }
  .l12-lang-switcher { display: none; }
}
