:root {
  --color-bg: #eef3f0;
  --color-bg-alt: #e2ebe6;
  --color-surface: #f7faf8;
  --color-ink: #1a2e2b;
  --color-ink-soft: #3d534e;
  --color-primary: #0f3d3e;
  --color-primary-hover: #0a2e2f;
  --color-accent: #c4a35a;
  --color-accent-deep: #9a7d3a;
  --color-border: #c5d4cc;
  --color-error: #8b2e2e;
  --color-success: #1f5c45;
  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", sans-serif;
  --space-xs: 0.35rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  --space-2xl: 5.5rem;
  --radius: 4px;
  --shadow-soft: 0 12px 40px rgba(15, 61, 62, 0.08);
  --max: 1120px;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::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 120% 80% at 10% -10%, #d5e4dc 0%, transparent 55%),
    radial-gradient(ellipse 90% 60% at 100% 0%, #dfe8e2 0%, transparent 50%),
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.35rem);
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

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

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

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

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

.l-stack > * + * {
  margin-top: var(--space-md);
}

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

@media (min-width: 768px) {
  .l-grid-2 {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .l-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }
}

.l-grid-3 {
  display: grid;
  gap: var(--space-md);
}

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

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

.c-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.c-logo:hover {
  color: var(--color-primary);
}

.c-nav {
  display: none;
  align-items: center;
  gap: 1.1rem;
}

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

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

.c-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--color-primary);
}

.c-nav__toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  position: relative;
}

.c-nav__toggle span::before,
.c-nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.c-nav__toggle span::before {
  top: -6px;
}

.c-nav__toggle span::after {
  top: 6px;
}

@media (min-width: 960px) {
  .c-nav {
    display: flex;
  }

  .c-nav__toggle {
    display: none;
  }
}

.c-nav--open {
  display: flex;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: stretch;
  padding: var(--space-md);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  gap: 0.85rem;
}

/* Buttons */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.c-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.c-btn--primary {
  background: var(--color-primary);
  color: #f4f8f5;
}

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

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

.c-btn--ghost:hover {
  background: var(--color-primary);
  color: #f4f8f5;
}

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

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

.c-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Hero — full-bleed visual plane */
.c-hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: flex-end;
  color: #f4f8f5;
  overflow: hidden;
}

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

.c-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 18s var(--ease) infinite alternate;
}

.c-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(15, 61, 62, 0.88) 0%, rgba(15, 61, 62, 0.55) 45%, rgba(26, 46, 43, 0.35) 100%),
    linear-gradient(0deg, rgba(15, 61, 62, 0.75) 0%, transparent 50%);
  z-index: 1;
}

.c-hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: var(--space-2xl) 0 var(--space-xl);
  animation: riseIn 0.9s var(--ease) both;
}

.c-hero__brand {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-sm);
  color: #f7faf8;
}

.c-hero__title {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 550;
  max-width: 28ch;
  margin: 0 0 var(--space-md);
  color: #e8f0e9;
}

.c-hero__lead {
  max-width: 42ch;
  font-size: 1.08rem;
  color: #d5e4dc;
  margin-bottom: var(--space-lg);
}

.c-hero--page {
  min-height: 42vh;
  align-items: flex-end;
}

.c-hero--page .c-hero__content {
  padding-top: var(--space-xl);
}

/* Offer / listing rows — not cards by default */
.c-offer {
  display: grid;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-border);
}

@media (min-width: 720px) {
  .c-offer {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    align-items: center;
  }
}

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

.c-offer__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.c-offer:hover .c-offer__img img {
  transform: scale(1.04);
}

.c-offer__meta {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent-deep);
  margin-bottom: var(--space-xs);
}

.c-offer h3 {
  margin: 0 0 var(--space-sm);
}

.c-offer h3 a {
  text-decoration: none;
  color: inherit;
}

.c-offer h3 a:hover {
  color: var(--color-accent-deep);
}

/* Interaction containers only when needed */
.c-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
}

.c-quote {
  margin: 0;
  padding: var(--space-md) 0 var(--space-md) var(--space-md);
  border-left: 3px solid var(--color-accent);
}

.c-quote p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-ink);
}

.c-quote footer {
  font-style: normal;
  font-size: 0.92rem;
  color: var(--color-ink-soft);
  font-weight: 600;
}

.c-price-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.c-price-row__amount {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}

.c-list {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}

.c-list li + li {
  margin-top: 0.4rem;
}

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

.c-prose h3 {
  margin-top: var(--space-md);
}

.c-meta {
  color: var(--color-ink-soft);
  font-size: 0.92rem;
}

.c-table-wrap {
  overflow-x: auto;
}

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

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

.c-table th {
  font-family: var(--font-display);
  background: var(--color-bg-alt);
}

/* Forms */
.c-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

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

.c-form input,
.c-form select,
.c-form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font: inherit;
  background: #fff;
  color: var(--color-ink);
}

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

.c-form__error {
  color: var(--color-error);
  font-size: 0.88rem;
  margin-top: 0.3rem;
  display: none;
}

.c-form__field.is-invalid .c-form__error {
  display: block;
}

.c-form__field.is-invalid input,
.c-form__field.is-invalid select,
.c-form__field.is-invalid textarea {
  border-color: var(--color-error);
}

.c-form__status {
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
  display: none;
}

.c-form__status.is-visible {
  display: block;
}

.c-form__status--success {
  background: #dceee4;
  color: var(--color-success);
  border: 1px solid #a8d4bc;
}

.c-form__status--error {
  background: #f5e4e4;
  color: var(--color-error);
  border: 1px solid #e0b8b8;
}

/* Footer */
.c-footer {
  margin-top: var(--space-2xl);
  padding: var(--space-xl) 0 var(--space-lg);
  background: var(--color-primary);
  color: #d5e4dc;
}

.c-footer a {
  color: #e8f0e9;
}

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

@media (min-width: 720px) {
  .c-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.c-footer h2 {
  color: #f7faf8;
  font-size: 1.1rem;
  margin: 0 0 var(--space-sm);
}

.c-footer__brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #f7faf8;
  margin-bottom: var(--space-sm);
}

.c-footer__legal {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(232, 240, 233, 0.2);
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.c-footer address {
  font-style: normal;
  word-break: break-word;
}

/* Cookie banner */
.c-cookie {
  position: fixed;
  z-index: 60;
  left: var(--space-md);
  right: var(--space-md);
  bottom: var(--space-md);
  max-width: 420px;
  margin-inline: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: var(--space-md);
  display: none;
}

.c-cookie.is-visible {
  display: block;
  animation: riseIn 0.45s var(--ease) both;
}

.c-cookie p {
  font-size: 0.92rem;
  margin-bottom: var(--space-sm);
}

.c-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Path / process steps */
.c-steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.c-steps li {
  position: relative;
  padding: var(--space-md) 0 var(--space-md) 3.5rem;
  border-bottom: 1px solid var(--color-border);
  counter-increment: step;
  opacity: 0;
  transform: translateY(12px);
  animation: riseIn 0.6s var(--ease) forwards;
}

.c-steps li:nth-child(1) { animation-delay: 0.05s; }
.c-steps li:nth-child(2) { animation-delay: 0.15s; }
.c-steps li:nth-child(3) { animation-delay: 0.25s; }
.c-steps li:nth-child(4) { animation-delay: 0.35s; }
.c-steps li:nth-child(5) { animation-delay: 0.45s; }

.c-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: var(--space-md);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: #f4f8f5;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
}

.c-split-band {
  background: var(--color-primary);
  color: #d5e4dc;
  padding: var(--space-xl) 0;
}

.c-split-band h2 {
  color: #f7faf8;
}

.c-split-band a.c-btn--accent {
  text-decoration: none;
}

.c-media-block {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  margin: var(--space-md) 0;
}

.c-media-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.c-404 {
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
}

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

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .c-hero__media img {
    animation: none;
  }
}
