:root {
  --ink: #1c2430;
  --ink-soft: #3a4656;
  --mist: #e4eaf1;
  --paper: #f4f7fa;
  --surface: #ffffff;
  --accent: #d96a2b;
  --accent-deep: #b4531a;
  --teal: #2f6b6a;
  --line: rgba(28, 36, 48, 0.12);
  --shadow: 0 18px 40px rgba(28, 36, 48, 0.08);
  --radius: 6px;
  --font-display: "Literata", Georgia, serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --max: 1120px;
  --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.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(47, 107, 106, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(217, 106, 43, 0.1), transparent 50%),
    linear-gradient(180deg, var(--mist) 0%, var(--paper) 42%, var(--paper) 100%);
  min-height: 100vh;
}

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

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

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

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

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 0 0 0.75rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(244, 247, 250, 0.88);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.site-header__brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  animation: brandIn 0.7s ease both;
}

.site-header__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.55rem 0.65rem;
  cursor: pointer;
}

.site-header__toggle-bar {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--ink);
  margin: 0.28rem 0;
}

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

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

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

.site-nav__cta {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius);
  transition: transform 0.2s ease, background 0.2s ease;
}

.site-nav__cta:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

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

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

.btn--primary:hover {
  background: var(--accent-deep);
  color: #fff;
  transform: translateY(-2px);
}

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

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

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

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

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

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 36, 48, 0.35) 0%, rgba(28, 36, 48, 0.78) 70%, rgba(28, 36, 48, 0.92) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 3.5rem;
  animation: riseIn 0.9s ease both;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  margin: 0 0 0.85rem;
  line-height: 1.02;
}

.hero__lead {
  max-width: 34rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.25rem;
}

.section--narrow {
  max-width: 760px;
}

.section__intro {
  max-width: 40rem;
  margin-bottom: 2rem;
  color: var(--ink-soft);
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.65rem;
}

.offer-list {
  display: grid;
  gap: 1.75rem;
}

.offer-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
  animation: riseIn 0.7s ease both;
}

.offer-row:nth-child(even) {
  direction: rtl;
}

.offer-row:nth-child(even) > * {
  direction: ltr;
}

.offer-row__media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
}

.offer-row__body h3 {
  margin-top: 0;
}

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

.quote-stack {
  display: grid;
  gap: 1.5rem;
}

.quote {
  border-left: 3px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1.25rem;
}

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

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

.page-hero {
  padding: 3.5rem 1.25rem 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
  animation: riseIn 0.7s ease both;
}

.page-hero--media {
  position: relative;
  max-width: none;
  min-height: 42vh;
  display: grid;
  align-items: end;
  color: #fff;
  margin-bottom: 0;
}

.page-hero--media .page-hero__shade,
.page-hero--media img {
  position: absolute;
  inset: 0;
}

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

.page-hero--media .page-hero__shade {
  background: linear-gradient(180deg, rgba(28, 36, 48, 0.2), rgba(28, 36, 48, 0.85));
}

.page-hero--media .page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}

.prose {
  max-width: 720px;
}

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

.prose ul,
.prose ol {
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

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

.rate-block {
  display: grid;
  gap: 1.5rem;
}

.rate-item {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.rate-item__price {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--teal);
  margin: 0.35rem 0 0.6rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease;
}

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

.service-tile img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 0.85rem;
}

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

.post-list {
  display: grid;
  gap: 2rem;
}

.post-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.25rem;
  align-items: start;
  text-decoration: none;
  color: inherit;
}

.post-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius);
}

.post-item time {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 560px;
}

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

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

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

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: #b42318;
}

.form-field__error {
  min-height: 1.2em;
  color: #b42318;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.form-status {
  margin-top: 0.5rem;
  font-weight: 500;
}

.form-status--success {
  color: var(--teal);
}

.form-status--error {
  color: #b42318;
}

.contact-aside {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

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

.method-step {
  counter-increment: step;
  padding-left: 3.2rem;
  position: relative;
}

.method-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  color: #f0c2a0;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1.25rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #fff;
  margin: 0 0 0.4rem;
}

.site-footer__tag {
  font-size: 0.9rem;
  margin: 0;
}

.site-footer__nav {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.site-footer__copy {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

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

.cookie-banner__inner {
  padding: 1.1rem 1.2rem;
  display: grid;
  gap: 1rem;
}

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

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

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

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

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

.error-page {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 2rem 1.25rem;
}

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

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

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

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

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
  }

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

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.1rem;
    gap: 0.65rem;
  }

  .offer-row,
  .offer-row:nth-child(even),
  .post-item,
  .site-footer__inner {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .hero {
    min-height: 85vh;
  }
}
