:root {
  --ink: #1e2430;
  --ink-soft: #3a4252;
  --paper: #f2f0eb;
  --paper-deep: #e6e2d8;
  --surface: #ffffff;
  --teal: #0d7377;
  --teal-deep: #095456;
  --gold: #e8a317;
  --muted: #5c6570;
  --line: rgba(30, 36, 48, 0.12);
  --shadow: 0 18px 40px rgba(30, 36, 48, 0.08);
  --radius: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(13, 115, 119, 0.12), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(232, 163, 23, 0.1), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, #ebe8e1 100%);
  min-height: 100vh;
  line-height: 1.65;
}

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

a {
  color: var(--teal-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.inline-error {
  background: #fde8e6;
  color: #7a1f16;
  padding: 0.85rem 1.2rem;
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
}

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

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

.header-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0.4rem;
  background:
    linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 55%, var(--gold) 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
  animation: mark-pulse 4.5s ease-in-out infinite;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-bar {
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  display: block;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
}

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

.nav-list a:hover {
  color: var(--teal);
}

.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.nav-cta:hover {
  background: var(--teal);
  transform: translateY(-1px);
}

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

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

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 24px rgba(13, 115, 119, 0.28);
}

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

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

.btn-secondary:hover {
  color: var(--paper);
}

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

.hero {
  padding: 3.5rem 0 2.5rem;
}

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

.hero-kicker {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  max-width: 12ch;
  margin-bottom: 0.7rem;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 38ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.hero-visual {
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow);
  animation: float-in 0.9s ease both;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.hero-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: rgba(30, 36, 48, 0.78);
  color: #f7f5f0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.92rem;
  backdrop-filter: blur(6px);
}

.section {
  padding: 3.5rem 0;
}

.section-head {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 2rem;
  max-width: 42rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.section-head p {
  color: var(--ink-soft);
  margin: 0;
}

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

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

.offer-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

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

.offer-card-body {
  padding: 1.2rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.offer-card h3 {
  font-size: 1.25rem;
  margin: 0;
}

.offer-card p {
  color: var(--ink-soft);
  margin: 0;
  flex: 1;
}

.offer-card a.more {
  font-weight: 650;
  text-decoration: none;
  color: var(--teal);
}

.band {
  background: linear-gradient(135deg, #16363a 0%, #1e2430 55%, #2a3344 100%);
  color: #f4f1ea;
  border-radius: calc(var(--radius) + 10px);
  padding: 2.2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.band h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.band p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

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

.quote {
  border-left: 3px solid var(--gold);
  padding: 0.2rem 0 0.2rem 1.1rem;
}

.quote p {
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

.quote cite {
  font-style: normal;
  color: var(--muted);
  font-size: 0.92rem;
}

.media-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.media-row img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.stack-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.stack-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}

.stack-list strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.25rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

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

.price-table th {
  background: #e9f4f4;
  font-family: var(--font-display);
  font-weight: 600;
}

.price-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.review-card.wide {
  grid-column: 1 / -1;
}

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

.blog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 220px;
}

.blog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
}

.blog-card-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.meta {
  color: var(--muted);
  font-size: 0.88rem;
}

.prose {
  max-width: 68ch;
}

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

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

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

.page-hero {
  padding: 2.8rem 0 1.5rem;
}

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

.page-hero p {
  max-width: 46ch;
  color: var(--ink-soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}

label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
}

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

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(13, 115, 119, 0.35);
  border-color: var(--teal);
}

.is-invalid {
  border-color: #b33a2b;
}

.field-error {
  color: #9b2c20;
  font-size: 0.85rem;
  font-weight: 500;
  min-height: 1.1em;
}

.form-status {
  margin-top: 0.8rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  display: none;
}

.form-status.is-success,
.form-status.is-error {
  display: block;
}

.form-status.is-success {
  background: #e5f6ef;
  color: #145c3c;
}

.form-status.is-error {
  background: #fde8e6;
  color: #7a1f16;
}

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

.legal h2 {
  font-size: 1.35rem;
  margin-top: 1.5rem;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1rem 0;
}

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

.cookie-table th {
  background: #e9f4f4;
}

.site-footer {
  margin-top: 4rem;
  background: var(--ink);
  color: rgba(242, 240, 235, 0.86);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 1.5rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-tag,
.footer-address {
  font-style: normal;
  color: rgba(242, 240, 235, 0.72);
}

.footer-heading {
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.footer-links a,
.site-footer a {
  color: rgba(242, 240, 235, 0.8);
  text-decoration: none;
}

.footer-links a:hover,
.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: rgba(242, 240, 235, 0.6);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 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);
  padding: 1.1rem 1.2rem;
  animation: slide-up 0.45s ease both;
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-banner-inner {
  display: grid;
  gap: 0.9rem;
}

.cookie-banner p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.radar-list {
  display: grid;
  gap: 1rem;
}

.radar-item {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}

.radar-date {
  font-family: var(--font-display);
  color: var(--teal);
  font-weight: 650;
}

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

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

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.1rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease var(--reveal-delay, 0ms), transform 0.7s ease var(--reveal-delay, 0ms);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-page h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  margin-bottom: 0.2rem;
}

@keyframes mark-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .hero-split,
  .media-row,
  .band,
  .contact-layout,
  .blog-card,
  .footer-grid,
  .offer-grid,
  .review-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

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

  .site-nav {
    position: absolute;
    top: calc(var(--header-h) - 0.2rem);
    left: 0;
    right: 0;
    background: rgba(242, 240, 235, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1.1rem;
    display: none;
  }

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

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-cta {
    text-align: center;
  }

  .radar-item {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .wrap,
  .header-inner,
  .footer-grid,
  .footer-bottom {
    width: min(var(--max), calc(100% - 1.4rem));
  }

  .hero {
    padding-top: 2.2rem;
  }

  .section {
    padding: 2.4rem 0;
  }
}
