:root {
  --ink: #1a2332;
  --ink-soft: #3d4a5c;
  --paper: #f7f4ef;
  --mist: #e8eef4;
  --sea: #1e6b7a;
  --sea-deep: #154f5a;
  --sun: #e8a54b;
  --sun-hot: #f0b45c;
  --line: rgba(26, 35, 50, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

a {
  color: var(--sea);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--sea-deep); }

img { max-width: 100%; display: block; }

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(720px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding: 1.1rem 0;
}

.site-header.is-solid {
  position: sticky;
  top: 0;
  background: rgba(247, 244, 239, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand span { color: var(--sun); }

.site-header.is-solid .brand { color: var(--ink); }
.site-header.is-solid .brand span { color: var(--sea); }

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:hover,
.nav a[aria-current="page"] { color: #fff; }

.site-header.is-solid .nav a {
  color: var(--ink-soft);
}

.site-header.is-solid .nav a:hover,
.site-header.is-solid .nav a[aria-current="page"] {
  color: var(--sea);
}

.nav-cta {
  padding: 0.45rem 0.9rem !important;
  background: var(--sun);
  color: var(--ink) !important;
  border-radius: 4px;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--sun-hot);
  color: var(--ink) !important;
}

.site-header.is-solid .nav-cta {
  background: var(--sea);
  color: #fff !important;
}

.site-header.is-solid .nav-cta:hover {
  background: var(--sea-deep);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.site-header.is-solid .nav-toggle {
  border-color: var(--line);
  color: var(--ink);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(21, 40, 55, 0.55) 0%, rgba(20, 55, 65, 0.72) 45%, rgba(15, 35, 45, 0.88) 100%),
    url("https://images.unsplash.com/photo-1502672260266-1c1ef2d93688?auto=format&fit=crop&w=2000&q=80") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 70% 20%, rgba(232, 165, 75, 0.18), transparent 55%);
  pointer-events: none;
  animation: glow-drift 12s ease-in-out infinite alternate;
}

@keyframes glow-drift {
  from { opacity: 0.6; transform: translateX(-2%); }
  to { opacity: 1; transform: translateX(2%); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 0 0 4.5rem;
  max-width: 36rem;
  animation: rise 0.9s ease-out both;
}

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

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.1rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 28rem;
  margin-bottom: 1.75rem;
}

.page-hero {
  position: relative;
  padding: 8.5rem 0 3.5rem;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(21, 50, 58, 0.88) 0%, rgba(30, 70, 80, 0.82) 100%),
    url("https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?auto=format&fit=crop&w=1800&q=80") center / cover no-repeat;
}

.page-hero.alt-a {
  background:
    linear-gradient(145deg, rgba(21, 50, 58, 0.88) 0%, rgba(30, 70, 80, 0.82) 100%),
    url("https://images.unsplash.com/photo-1522708323590-d24dbb6b0267?auto=format&fit=crop&w=1800&q=80") center / cover no-repeat;
}

.page-hero.alt-b {
  background:
    linear-gradient(145deg, rgba(21, 50, 58, 0.88) 0%, rgba(30, 70, 80, 0.82) 100%),
    url("https://images.unsplash.com/photo-1493809842364-78817add7ffb?auto=format&fit=crop&w=1800&q=80") center / cover no-repeat;
}

.page-hero.alt-c {
  background:
    linear-gradient(145deg, rgba(21, 50, 58, 0.88) 0%, rgba(30, 70, 80, 0.82) 100%),
    url("https://images.unsplash.com/photo-1484154218962-a197022b5858?auto=format&fit=crop&w=1800&q=80") center / cover no-repeat;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 0%, rgba(232, 165, 75, 0.15), transparent 50%);
  pointer-events: none;
}

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

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 0.75rem;
  max-width: 18ch;
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 34rem;
}

/* —— Buttons —— */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.55rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--sun);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.btn-primary:hover {
  background: var(--sun-hot);
  color: var(--ink);
}

.btn-sea {
  background: var(--sea);
  color: #fff;
  box-shadow: 0 8px 24px rgba(30, 107, 122, 0.25);
}

.btn-sea:hover {
  background: var(--sea-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-ghost-ink {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-ghost-ink:hover {
  border-color: var(--sea);
  color: var(--sea);
}

/* —— Sections —— */
section { padding: 5rem 0; }

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sea);
  margin-bottom: 0.65rem;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 36rem;
}

.prose {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.prose p { margin-bottom: 1rem; }

.prose h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-size: clamp(1.45rem, 2.5vw, 1.75rem);
}

.prose h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.prose ul, .prose ol {
  margin: 0 0 1.25rem 1.25rem;
}

.prose li { margin-bottom: 0.45rem; }

.prose strong { color: var(--ink); }

/* —— Home blocks —— */
.how {
  background: linear-gradient(180deg, var(--mist) 0%, var(--paper) 100%);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
  counter-reset: step;
}

.step { counter-increment: step; animation: fade-up 0.7s ease-out both; }
.step:nth-child(2) { animation-delay: 0.12s; }
.step:nth-child(3) { animation-delay: 0.24s; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--sea);
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

.step p { color: var(--ink-soft); font-size: 0.98rem; }

.why { border-top: 1px solid var(--line); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-top: 2.5rem;
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.why-list li {
  padding-left: 1.35rem;
  border-left: 3px solid var(--sea);
  color: var(--ink-soft);
}

.why-list strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

/* Topic grid */
.topics {
  border-top: 1px solid var(--line);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  margin-top: 2.5rem;
}

.topic-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease;
}

.topic-link:hover { color: var(--sea); }

.topic-link h3 {
  color: inherit;
  margin-bottom: 0.35rem;
}

.topic-link p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.topic-link:hover p { color: var(--ink-soft); }

.topic-link .more {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sea);
}

/* Split feature */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2.5rem;
}

.split-visual {
  min-height: 320px;
  background:
    linear-gradient(160deg, rgba(21, 50, 58, 0.25), rgba(21, 50, 58, 0.5)),
    url("https://images.unsplash.com/photo-1502672260266-1c1ef2d93688?auto=format&fit=crop&w=1200&q=80") center / cover no-repeat;
  border-radius: 2px;
}

.split-visual.v2 {
  background:
    linear-gradient(160deg, rgba(21, 50, 58, 0.25), rgba(21, 50, 58, 0.5)),
    url("https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?auto=format&fit=crop&w=1200&q=80") center / cover no-repeat;
}

.split-visual.v3 {
  background:
    linear-gradient(160deg, rgba(21, 50, 58, 0.25), rgba(21, 50, 58, 0.5)),
    url("https://images.unsplash.com/photo-1522708323590-d24dbb6b0267?auto=format&fit=crop&w=1200&q=80") center / cover no-repeat;
}

/* Check list */
.check-list {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--sea);
  border-radius: 1px;
}

/* Type rows */
.type-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2.5rem;
}

.type-row {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.type-row:last-child { border-bottom: 1px solid var(--line); }

.type-row .label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--sea);
}

.type-row p { color: var(--ink-soft); }

/* Tip blocks */
.tip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.tip-item {
  padding-top: 1.25rem;
  border-top: 3px solid var(--sea);
}

.tip-item p { color: var(--ink-soft); font-size: 0.98rem; }

/* Banner CTA */
.banner {
  background: linear-gradient(135deg, var(--sea-deep) 0%, var(--sea) 55%, #2a8a9a 100%);
  color: #fff;
  text-align: center;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.banner::before {
  content: "";
  position: absolute;
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
  background: rgba(232, 165, 75, 0.12);
  top: -50%;
  right: -10%;
  animation: pulse-orb 8s ease-in-out infinite alternate;
}

@keyframes pulse-orb {
  from { transform: scale(1); opacity: 0.5; }
  to { transform: scale(1.15); opacity: 1; }
}

.banner .wrap { position: relative; z-index: 1; }

.banner h2 {
  color: #fff;
  margin-bottom: 0.65rem;
}

.banner p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.75rem;
  font-size: 1.1rem;
}

.banner .btn-primary {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

/* Contact details */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 2.5rem;
  margin-top: 2.5rem;
}

.contact-block {
  padding-top: 1.15rem;
  border-top: 3px solid var(--sea);
}

.contact-block h3 {
  margin-bottom: 0.4rem;
}

.contact-block p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin-bottom: 0.55rem;
}

.contact-block a {
  font-weight: 600;
  text-decoration: none;
}

.contact-block a:hover { text-decoration: underline; }

.address-block {
  margin-top: 2.75rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  max-width: 36rem;
}

.address-block h3 { margin-bottom: 0.65rem; }

.address-block p {
  color: var(--ink-soft);
  line-height: 1.7;
}

@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Contact form */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-top: 2rem;
  max-width: 32rem;
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.form input,
.form textarea,
.form select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--sea);
}

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

.form-note {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 0.5rem;
}

/* —— Footer —— */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  background: #efebe4;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.75rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.footer-brand span { color: var(--sea); }

.footer-col p {
  margin-top: 0.65rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 22rem;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.85rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.footer-col a:hover { color: var(--sea); }

.disclaimer {
  font-size: 0.78rem;
  color: #6a7585;
  max-width: 52rem;
  line-height: 1.5;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .nav-toggle { display: grid; place-items: center; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 35, 45, 0.97);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0;
  }

  .site-header.is-solid .nav {
    background: rgba(247, 244, 239, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open { display: flex; }

  .nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-header.is-solid .nav a {
    border-bottom-color: var(--line);
  }

  .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    justify-content: center;
  }

  .steps,
  .tip-grid { grid-template-columns: 1fr; gap: 2rem; }

  .why-grid,
  .split,
  .topic-grid,
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .type-row { grid-template-columns: 1fr; gap: 0.5rem; }

  .hero-inner { padding-bottom: 3.5rem; }
  section { padding: 3.5rem 0; }
  .page-hero { padding: 7rem 0 2.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
