:root {
  --ink: #1b3a4b;
  --ink-soft: #3d5a6c;
  --paper: #f2f6f8;
  --paper-deep: #dce7ee;
  --surface: #ffffff;
  --accent: #0f6b63;
  --accent-hover: #0a524c;
  --gold: #c8a45c;
  --line: rgba(27, 58, 75, 0.14);
  --shadow: 0 18px 40px rgba(27, 58, 75, 0.08);
  --radius: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(126, 184, 201, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(200, 164, 92, 0.18), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, #e8f0f4 45%, var(--paper) 100%);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

a:hover {
  color: var(--accent-hover);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(242, 246, 248, 0.86);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand__mark svg {
  width: 22px;
  height: 22px;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
  flex-wrap: wrap;
}

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

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

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

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

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

.btn--gold {
  background: var(--gold);
  color: var(--ink);
}

.btn--gold:hover {
  filter: brightness(0.96);
  color: var(--ink);
}

.hero {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero--home {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  padding: 0;
}

.hero--home .hero__stage {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero--home .hero__stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.hero--home .hero__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(27, 58, 75, 0.88) 0%,
    rgba(27, 58, 75, 0.55) 48%,
    rgba(15, 107, 99, 0.35) 100%
  );
}

.hero--home .container {
  position: relative;
  z-index: 1;
  padding-block: 5rem 4rem;
  color: #f7fafb;
}

.hero--home h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5.5vw, 4.1rem);
  max-width: 14ch;
  margin-bottom: 0.5rem;
  animation: rise 0.8s ease both;
}

.hero--home .lede {
  max-width: 38rem;
  color: rgba(247, 250, 251, 0.9);
  font-size: 1.1rem;
  animation: rise 0.9s 0.1s ease both;
}

.hero--home .hero__actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 1s 0.18s ease both;
}

.hero--page {
  padding: 3.5rem 0 2rem;
}

.hero--page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 18ch;
}

.lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 42rem;
}

.section {
  padding: 3.5rem 0;
}

.section__head {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.split--reverse > :first-child {
  order: 2;
}

.media-frame {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.offer-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.offer-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.offer-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.offer-tile__body {
  padding: 1.25rem 1.3rem 1.5rem;
}

.offer-tile h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.offer-tile p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.quote-list {
  display: grid;
  gap: 1.25rem;
}

.quote {
  background: var(--surface);
  border-left: 3px solid var(--gold);
  padding: 1.4rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}

.quote p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 450;
  color: var(--ink);
}

.quote footer {
  margin-top: 0.8rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.rate-table th,
.rate-table td {
  text-align: left;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
}

.rate-table th {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.steps li {
  list-style: none;
  position: relative;
  padding: 1.2rem 1.2rem 1.2rem 4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.steps {
  margin: 0;
  padding: 0;
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

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

.field [data-error] {
  color: #a12828;
  font-size: 0.88rem;
  min-height: 1.2em;
  margin-top: 0.3rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
}

.form-status--ok {
  background: rgba(15, 107, 99, 0.12);
  color: var(--accent-hover);
}

.form-status--err,
.inline-error {
  background: rgba(161, 40, 40, 0.1);
  color: #a12828;
  padding: 0.75rem 1rem;
  border-radius: 10px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.blog-card__body {
  padding: 1.2rem 1.25rem 1.4rem;
}

.blog-card time {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.site-footer {
  margin-top: 3rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.86);
  padding: 3rem 0 2rem;
}

.site-footer a {
  color: #9fd0d8;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.site-footer h2 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

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

.site-footer li {
  margin-bottom: 0.45rem;
}

.site-footer__bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 60;
  max-width: 720px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: rise 0.5s ease both;
}

.cookie-banner__inner {
  padding: 1.1rem 1.25rem;
  display: grid;
  gap: 0.9rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.cookies-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.cookies-table th,
.cookies-table td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: top;
}

.cookies-table th {
  background: var(--paper-deep);
}

.cta-band {
  background: linear-gradient(120deg, var(--ink), #0f6b63);
  color: #fff;
  border-radius: calc(var(--radius) + 6px);
  padding: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.cta-band h2 {
  color: #fff;
  margin: 0 0 0.35rem;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
}

.muted {
  color: var(--ink-soft);
}

.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

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

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

@media (max-width: 900px) {
  .split,
  .offer-grid,
  .blog-grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .split--reverse > :first-child {
    order: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(242, 246, 248, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .site-header {
    position: sticky;
  }

  .site-header__inner {
    position: relative;
  }
}
