/* Base */
:root {
  color-scheme: light;
  --bg: #f7f6f2;
  --ink: #1c1c1c;
  --muted: #5b5b5b;
  --accent: #0f5c7a;
  --accent-2: #d4a373;
  --paper: #ffffff;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Noto Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.nav-wrap {
  padding: 24px 0 8px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.nav-links a {
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}

.nav-links a:hover {
  border-color: var(--accent-2);
}

.floating-nav {
  display: flex;
  justify-content: flex-end;
  padding: 12px 0 24px;
}

.floating-nav .cta-ghost {
  border: 1px solid var(--ink);
  padding: 10px 18px;
  border-radius: 24px;
  font-size: 0.9rem;
}

.section {
  padding: 64px 0;
}

.bg-harbor {
  background: linear-gradient(
      rgba(9, 30, 52, 0.85),
      rgba(9, 30, 52, 0.5)
    ),
    url("https://images.unsplash.com/photo-1500534314209-a25ddb2bd429?auto=format&fit=crop&w=1400&q=80");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.bg-harbor .testimonial {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.section-compact {
  padding: 40px 0;
}

.hero {
  position: relative;
  padding: 84px 0 72px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-card {
  background: var(--paper);
  padding: 28px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  max-width: 520px;
}

.hero-img {
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-overlay {
  position: absolute;
  right: 6%;
  top: 12%;
  background: rgba(255, 255, 255, 0.9);
  padding: 18px 22px;
  border-radius: 18px;
  font-size: 0.85rem;
  max-width: 220px;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.offset-block {
  background: var(--paper);
  padding: 28px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  margin-left: auto;
}

.offset-block.is-left {
  margin-left: 0;
  margin-right: auto;
}

.pill {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  background: #e6f2f7;
  color: #0c4c65;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: 22px;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.btn.secondary {
  background: var(--accent-2);
  color: var(--ink);
}

.link-inline {
  border-bottom: 2px solid var(--accent);
  font-weight: 600;
}

.metrics {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.metric-card {
  background: #fff;
  padding: 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gallery-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: var(--paper);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card img {
  border-radius: 16px;
  height: 180px;
  object-fit: cover;
}

.price-tag {
  font-size: 1.1rem;
  font-weight: 700;
}

.testimonial {
  background: #fff7ed;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.process {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.process-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.form-shell {
  background: var(--paper);
  padding: 28px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8d8d8;
  border-radius: 14px;
  font-size: 1rem;
  font-family: inherit;
}

.form-status {
  font-size: 0.9rem;
  color: #a0440e;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  border-radius: 26px;
  box-shadow: var(--shadow);
  z-index: 10;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  bottom: 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 16px;
  max-width: 320px;
  z-index: 12;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.footer {
  padding: 36px 0 48px;
  background: #121212;
  color: #f1f1f1;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
}

.policy {
  padding: 40px 0;
}

.policy h1 {
  margin-top: 0;
}

@media (min-width: 768px) {
  .hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .split {
    flex-direction: row;
    align-items: center;
  }

  .metrics {
    flex-direction: row;
  }

  .gallery-row {
    flex-direction: row;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 260px;
  }

  .process {
    flex-direction: row;
  }

  .process-step {
    flex: 1 1 200px;
  }

  .form-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .form-grid .field {
    flex: 1 1 240px;
  }
}
