/* Page templates — switched via body.tpl-* from CMS setting PageTemplate */

/* ========== Coastal (default baseline — light overrides only) ========== */
body.tpl-coastal {
  --tpl-name: coastal;
}

/* ========== Atlas — editorial, centered, slate + copper ========== */
body.tpl-atlas {
  --navy: #1a2332;
  --navy-2: #243044;
  --teal: #c4783a;
  --teal-dark: #a8622a;
  --gold: #d4a574;
  --ink: #1a2332;
  --muted: #5c6b7a;
  --line: #d5dde6;
  --soft: #eef1f5;
  --shadow: 0 12px 40px rgba(26, 35, 50, 0.14);
  --radius-lg: 8px;
  --radius-md: 6px;
}

body.tpl-atlas .site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

body.tpl-atlas .hero {
  padding-block: 72px 56px;
}

body.tpl-atlas .hero::before,
body.tpl-atlas .hero::after {
  opacity: 0.35;
}

body.tpl-atlas .hero-grid {
  grid-template-columns: 1fr;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
  gap: 40px;
}

body.tpl-atlas .hero-copy .lead {
  margin-inline: auto;
  max-width: 54ch;
}

body.tpl-atlas .hero-actions {
  justify-content: center;
}

body.tpl-atlas .hero-note {
  justify-content: center;
  flex-wrap: wrap;
}

body.tpl-atlas .delivery-card {
  max-width: 520px;
  margin-inline: auto;
  border: 1px solid var(--line);
  box-shadow: none;
}

body.tpl-atlas .trust-strip {
  background: var(--navy);
  color: #fff;
}

body.tpl-atlas .trust-item strong {
  color: var(--gold);
}

body.tpl-atlas .trust-item span {
  color: rgba(255, 255, 255, 0.75);
}

body.tpl-atlas .section-head h2,
body.tpl-atlas .hero h1 {
  font-family: Fraunces, Georgia, serif;
  letter-spacing: -0.02em;
}

body.tpl-atlas .btn.primary {
  border-radius: 6px;
}

body.tpl-atlas footer {
  background: var(--soft);
  border-top: 3px solid var(--teal);
}

/* ========== Harbor — deep ocean, reversed hero, bold contrast ========== */
body.tpl-harbor {
  --navy: #041c2c;
  --navy-2: #063048;
  --teal: #2bb3a8;
  --teal-dark: #1a8f86;
  --gold: #f0c14b;
  --ink: #0a1e2c;
  --muted: #5a7180;
  --line: #c5d5de;
  --soft: #e8f2f4;
  --shadow: 0 24px 60px rgba(4, 28, 44, 0.22);
  --radius-lg: 20px;
  --radius-md: 14px;
}

body.tpl-harbor {
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(43, 179, 168, 0.12), transparent 55%),
    radial-gradient(900px 500px at 100% 20%, rgba(240, 193, 75, 0.08), transparent 50%),
    #f7fbfc;
}

body.tpl-harbor .site-header {
  background: var(--navy);
  color: #fff;
  border-bottom: 0;
}

body.tpl-harbor .site-header .nav-links a,
body.tpl-harbor .lang-toggle {
  color: rgba(255, 255, 255, 0.88);
}

body.tpl-harbor .brand img {
  filter: brightness(0) invert(1);
}

body.tpl-harbor .menu-toggle {
  color: #fff;
}

body.tpl-harbor .hero {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-2) 55%, #0a4a5c 100%);
  color: #fff;
  padding-block: 80px 64px;
}

body.tpl-harbor .hero::before,
body.tpl-harbor .hero::after {
  display: none;
}

body.tpl-harbor .hero .eyebrow,
body.tpl-harbor .hero .lead,
body.tpl-harbor .hero-note span {
  color: rgba(255, 255, 255, 0.82);
}

body.tpl-harbor .hero h1 {
  color: #fff;
}

body.tpl-harbor .hero h1 span {
  color: var(--gold);
}

body.tpl-harbor .hero-grid {
  direction: rtl;
}

body.tpl-harbor .hero-grid > * {
  direction: ltr;
}

body.tpl-harbor .btn.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

body.tpl-harbor .btn.secondary:hover {
  border-color: #fff;
  color: #fff;
}

body.tpl-harbor .delivery-card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

body.tpl-harbor .trust-strip {
  background: var(--soft);
  border-block: 1px solid var(--line);
}

body.tpl-harbor .section:nth-of-type(even) {
  background: rgba(232, 242, 244, 0.55);
}

body.tpl-harbor footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
}

body.tpl-harbor footer a {
  color: rgba(255, 255, 255, 0.8);
}

body.tpl-harbor footer .footer-brand p,
body.tpl-harbor .footer-bottom {
  color: rgba(255, 255, 255, 0.65);
}

body.tpl-harbor footer img {
  filter: brightness(0) invert(1);
}

@media (max-width: 900px) {
  body.tpl-harbor .hero-grid {
    direction: ltr;
  }
}
