:root {
  --color-ink: #14202b;
  --color-ink-soft: #3d4f5f;
  --color-muted: #5f7385;
  --color-bg: #e9eef3;
  --color-bg-alt: #dce5ed;
  --color-surface: #f7fafc;
  --color-white: #ffffff;
  --color-accent: #0d5c63;
  --color-accent-deep: #094348;
  --color-highlight: #d4922a;
  --color-border: rgba(20, 32, 43, 0.12);
  --color-error: #9b2c2c;
  --color-success: #1f6b4a;
  --font-display: "Syne", sans-serif;
  --font-body: "Public Sans", sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  --space-2xl: 5.5rem;
  --radius: 4px;
  --shadow-soft: 0 18px 40px rgba(20, 32, 43, 0.08);
  --max: 72rem;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(13, 92, 99, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(212, 146, 42, 0.1), transparent 50%),
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface) 40%, var(--color-bg-alt) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-md);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 var(--space-md);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

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

.btn--primary:hover {
  background: var(--color-accent-deep);
  color: var(--color-white);
}

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

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

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

.btn--highlight:hover {
  filter: brightness(0.95);
  color: var(--color-ink);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(247, 250, 252, 0.88);
  border-bottom: 1px solid var(--color-border);
}

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

.site-header__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--color-ink);
  text-decoration: none;
}

.site-header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}

.site-header__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-ink);
}

.site-header__list {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

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

.site-header__cta {
  background: var(--color-accent);
  color: var(--color-white) !important;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius);
}

.site-header__cta:hover {
  background: var(--color-accent-deep);
  color: var(--color-white) !important;
}

@media (max-width: 900px) {
  .site-header__toggle {
    display: flex;
  }

  .site-header__nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-md) 1rem;
    display: none;
  }

  .site-header__nav.is-open {
    display: block;
    animation: slideDown 0.25s ease;
  }

  .site-header__list {
    flex-direction: column;
    align-items: flex-start;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-8px);
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: drift 12s ease-in-out infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(20, 32, 43, 0.88) 18%, rgba(20, 32, 43, 0.45) 55%, rgba(13, 92, 99, 0.35) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: var(--space-2xl) 0 var(--space-xl);
  color: var(--color-white);
  max-width: 40rem;
  margin-left: max(1rem, calc((100% - var(--max)) / 2));
  animation: fadeUp 0.8s ease both;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 var(--space-sm);
  line-height: 0.95;
}

.hero__lead {
  font-size: 1.15rem;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: var(--space-lg);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero .btn--primary {
  background: var(--color-highlight);
  color: var(--color-ink);
}

.hero .btn--ghost {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.45);
}

.hero .btn--ghost:hover {
  border-color: var(--color-white);
  color: var(--color-white);
}

/* Sections */
.section {
  padding: var(--space-2xl) 0;
}

.section--tight {
  padding: var(--space-xl) 0;
}

.section__intro {
  max-width: 38rem;
  margin-bottom: var(--space-xl);
  animation: fadeUp 0.7s ease both;
}

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

.section__kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.split {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .split--reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .split--reverse .split__media {
    order: -1;
  }
}

.split__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  min-height: 18rem;
}

.split__media img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
}

.offer-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 760px) {
  .offer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.offer {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
  transition: transform 0.25s ease;
}

.offer:hover {
  transform: translateY(-4px);
}

.offer__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: var(--space-sm);
}

.offer__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.offer:hover .offer__image img {
  transform: scale(1.04);
}

.offer__title {
  margin: 0;
}

.offer__title a {
  text-decoration: none;
  color: var(--color-ink);
}

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

.offer__summary {
  color: var(--color-ink-soft);
  margin: 0;
  flex-grow: 1;
}

.offer__link {
  font-weight: 600;
  text-decoration: none;
  color: var(--color-accent);
}

.quote-list {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 800px) {
  .quote-list {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.quote {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-border);
}

.quote__text {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-ink);
}

.quote__meta {
  color: var(--color-muted);
  font-size: 0.92rem;
  margin: 0;
}

.page-hero {
  padding: var(--space-xl) 0 var(--space-lg);
}

.page-hero__title {
  max-width: 18ch;
}

.page-hero__lead {
  max-width: 38rem;
  color: var(--color-ink-soft);
  font-size: 1.15rem;
}

.page-hero--media {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-bottom: var(--space-xl);
}

.page-hero--media .page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero--media .page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero--media .page-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 32, 43, 0.2), rgba(20, 32, 43, 0.82));
}

.page-hero--media .wrap {
  position: relative;
  z-index: 1;
  color: var(--color-white);
  padding-bottom: var(--space-xl);
}

.page-hero--media .page-hero__lead {
  color: rgba(255, 255, 255, 0.85);
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: var(--space-xl);
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
  margin-bottom: var(--space-md);
}

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

.price-block {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 700px) {
  .price-block {
    grid-template-columns: repeat(2, 1fr);
  }
}

.price-item {
  padding: var(--space-lg) 0;
  border-top: 2px solid var(--color-accent);
}

.price-item__name {
  margin-bottom: var(--space-xs);
}

.price-item__amount {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-accent-deep);
  margin-bottom: var(--space-sm);
}

.price-item__note {
  color: var(--color-ink-soft);
  margin: 0;
}

.story {
  display: grid;
  gap: var(--space-lg);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--color-border);
}

@media (min-width: 800px) {
  .story {
    grid-template-columns: 1fr 1.2fr;
  }
}

.story__image {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 14rem;
}

.story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 14rem;
}

.post-list {
  display: grid;
  gap: var(--space-xl);
}

.post-item {
  display: grid;
  gap: var(--space-md);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 760px) {
  .post-item {
    grid-template-columns: 240px 1fr;
    align-items: start;
  }
}

.post-item__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
}

.post-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-item__meta {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-xs);
}

.article-hero img {
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: var(--space-lg);
}

.article-meta {
  color: var(--color-muted);
  margin-bottom: var(--space-lg);
}

.contact-grid {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.contact-panel {
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.contact-panel__label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-accent);
  margin: var(--space-md) 0 var(--space-xs);
}

.contact-panel__label:first-child {
  margin-top: 0;
}

.field {
  margin-bottom: var(--space-md);
}

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

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

.field__error {
  color: var(--color-error);
  font-size: 0.88rem;
  min-height: 1.2em;
  margin-top: 0.25rem;
}

.form-status {
  margin-top: var(--space-md);
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
}

.form-status--success {
  background: rgba(31, 107, 74, 0.12);
  color: var(--color-success);
}

.form-status--error {
  background: rgba(155, 44, 44, 0.1);
  color: var(--color-error);
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.steps__item {
  position: relative;
  padding-top: var(--space-lg);
  border-top: 2px solid var(--color-accent);
}

.steps__item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-highlight);
  display: block;
  margin-bottom: var(--space-sm);
}

.team-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 700px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-member__photo {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: var(--space-sm);
}

.team-member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member__role {
  color: var(--color-muted);
  margin: 0;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-lg) 0;
  font-size: 0.95rem;
}

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

.legal-table th {
  background: rgba(13, 92, 99, 0.08);
  font-weight: 600;
}

.error-page {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: var(--space-2xl) 1rem;
}

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin: 0;
}

/* Footer */
.site-footer {
  margin-top: var(--space-2xl);
  padding: var(--space-xl) 0 var(--space-lg);
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.82);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer__inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 800px) {
  .site-footer__inner {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.site-footer__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 var(--space-sm);
}

.site-footer__label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-highlight);
  margin: var(--space-md) 0 var(--space-xs);
  font-weight: 600;
}

.site-footer__label:first-child {
  margin-top: 0;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer__nav a {
  text-decoration: none;
}

.site-footer__nav a:hover {
  color: var(--color-highlight);
}

.site-footer__copy {
  width: min(100% - 2rem, var(--max));
  margin: var(--space-xl) auto 0;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  z-index: 50;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 36rem;
  margin-inline: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius);
  padding: var(--space-md);
  animation: fadeUp 0.35s ease both;
}

.cookie-banner__inner {
  display: grid;
  gap: var(--space-md);
}

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

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

@media (min-width: 600px) {
  .cookie-banner {
    left: auto;
    right: 1.5rem;
    bottom: 1.5rem;
    margin-inline: 0;
  }
}

.cta-band {
  background: linear-gradient(120deg, var(--color-accent-deep), var(--color-accent));
  color: var(--color-white);
  padding: var(--space-xl) 0;
  margin-top: var(--space-xl);
}

.cta-band h2 {
  color: var(--color-white);
}

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

.cta-band .btn--highlight {
  margin-top: var(--space-sm);
}
