:root {
  --ink: #15211c;
  --muted: #667068;
  --paper: #f4f0e6;
  --surface: #fffaf0;
  --acid: #f0c84b;
  --green: #174c37;
  --teal: #09716a;
  --rust: #d85f2f;
  --line: rgba(21, 33, 28, 0.16);
  --shadow: 0 28px 70px rgba(21, 33, 28, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 9% 9%, rgba(240, 200, 75, 0.18), transparent 24rem),
    radial-gradient(circle at 82% 18%, rgba(9, 113, 106, 0.08), transparent 22rem),
    repeating-linear-gradient(135deg, rgba(21, 33, 28, 0.025) 0 1px, transparent 1px 18px),
    linear-gradient(135deg, #f8f4e9 0%, #eef0eb 42%, #f6eadf 100%);
  color: var(--ink);
  font-family: Manrope, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  z-index: 5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.23'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px clamp(16px, 4vw, 48px);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0;
  background: rgba(250, 246, 235, 0.78);
  box-shadow: 0 18px 50px rgba(20, 36, 29, 0.12);
  backdrop-filter: blur(18px);
  transition: transform 0.32s ease, background 0.32s ease, box-shadow 0.32s ease;
}

.site-header.header-hidden {
  transform: translateY(-105%);
}

.site-header.header-hidden.is-visible {
  transform: translateY(-105%);
}

.site-header.menu-open,
.site-header.is-scrolled {
  background: rgba(250, 246, 235, 0.93);
  box-shadow: 0 18px 55px rgba(20, 36, 29, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  display: block;
  width: 172px;
  height: auto;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--acid);
  font-family: Unbounded, sans-serif;
  font-size: 13px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-family: Unbounded, sans-serif;
  font-size: 14px;
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.desktop-nav {
  display: flex;
  gap: 20px;
  color: #24362e;
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a {
  border-bottom: 2px solid transparent;
  padding: 8px 0;
}

.desktop-nav a:hover {
  border-color: var(--rust);
}

.header-phone {
  min-width: max-content;
  border-radius: 8px;
  background: var(--acid);
  padding: 14px 16px;
  color: var(--ink);
  font-weight: 800;
}

.menu-toggle {
  position: relative;
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(21, 33, 28, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.82);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.menu-toggle span:nth-child(1) {
  transform: translate(-50%, calc(-50% - 7px));
}

.menu-toggle span:nth-child(3) {
  transform: translate(-50%, calc(-50% + 7px));
}

.site-header.menu-open .menu-toggle span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.site-header.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .menu-toggle span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  display: grid;
  width: 100%;
  gap: 4px;
  padding: 10px 16px 16px;
  border-bottom: 1px solid rgba(21, 33, 28, 0.14);
  background: rgba(250, 246, 235, 0.96);
  box-shadow: 0 24px 50px rgba(20, 36, 29, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.mobile-nav a {
  border-radius: 8px;
  padding: 15px 14px;
  color: var(--ink);
  font-weight: 900;
}

.mobile-nav a:hover {
  background: rgba(240, 200, 75, 0.24);
}

.site-header.menu-open .mobile-nav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero {
  position: relative;
  min-height: 92vh;
  padding: 132px 24px 52px;
  overflow: hidden;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(9, 20, 15, 0.9) 0%, rgba(9, 20, 15, 0.68) 38%, rgba(9, 20, 15, 0.2) 76%),
    linear-gradient(0deg, rgba(9, 20, 15, 0.68), transparent 44%);
}

.hero-grid {
  position: relative;
  display: grid;
  width: min(1180px, 100%);
  min-height: calc(92vh - 184px);
  margin: 0 auto;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 36px;
}

.hero-copy {
  min-width: 0;
  max-width: 810px;
  color: white;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--acid);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Unbounded, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.96;
}

h2 {
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.02;
}

h3 {
  font-size: 21px;
  line-height: 1.15;
}

.lead {
  overflow-wrap: anywhere;
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn.primary {
  background: var(--acid);
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(240, 200, 75, 0.22);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(12px);
}

.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(250, 246, 235, 0.9);
  box-shadow: var(--shadow);
  padding: 22px;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--green);
  font-weight: 900;
}

.status-line span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 8px rgba(240, 200, 75, 0.22);
}

dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

dl div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

dt {
  font-family: Unbounded, sans-serif;
  font-size: 28px;
  font-weight: 800;
}

dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.ticker {
  overflow: hidden;
  background: var(--ink);
  color: var(--acid);
  font-family: Unbounded, sans-serif;
  font-weight: 700;
}

.ticker div {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}

.ticker span {
  padding: 18px 28px;
  white-space: nowrap;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
}

.section-copy p,
.price-copy p,
.request-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-card,
.steps article {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.75);
  padding: 24px;
  box-shadow: 0 14px 45px rgba(21, 33, 28, 0.08);
}

.service-card::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -44px;
  width: 120px;
  height: 120px;
  border: 24px solid rgba(9, 113, 106, 0.14);
  border-radius: 50%;
}

.service-card span,
.steps span {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 8px;
  background: var(--green);
  color: var(--acid);
  font-weight: 900;
}

.service-card p,
.steps p {
  color: var(--muted);
  line-height: 1.55;
}

.image-band {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-band img {
  width: 100%;
  height: min(56vw, 520px);
  min-height: 300px;
  object-fit: cover;
}

.band-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  max-width: 390px;
  border-radius: 8px;
  background: rgba(21, 33, 28, 0.88);
  padding: 22px;
  color: white;
  backdrop-filter: blur(14px);
}

.band-card p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.price-section {
  display: grid;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 24px;
  padding: 82px 24px;
  border-radius: 8px;
  background: var(--green);
  color: white;
}

.price-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.price-table {
  display: grid;
  align-content: center;
  gap: 10px;
}

.price-table div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
}

.price-table strong {
  font-size: 18px;
}

.price-table span {
  color: var(--acid);
  font-family: Unbounded, sans-serif;
  font-weight: 800;
  text-align: right;
}

.price-note {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  padding: 22px;
}

.price-note strong {
  display: block;
  margin-bottom: 10px;
  color: var(--acid);
  font-family: Unbounded, sans-serif;
  font-size: 18px;
}

.price-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.request-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-strip a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.7);
  padding: 13px 15px;
  font-weight: 900;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.86);
  box-shadow: var(--shadow);
  padding: 24px;
}

label {
  display: grid;
  gap: 8px;
  color: #314238;
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(21, 33, 28, 0.22);
  border-radius: 8px;
  background: #fffdf6;
  color: var(--ink);
  font: inherit;
  outline: none;
  padding: 15px 14px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(9, 113, 106, 0.14);
}

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

.lead-form .btn {
  width: 100%;
  border: 0;
  font-size: 16px;
}

.form-note,
.form-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.form-status:not(:empty) {
  border-radius: 8px;
  background: rgba(9, 113, 106, 0.1);
  padding: 12px;
  color: var(--green);
  font-weight: 900;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 36px 0 42px;
  color: var(--muted);
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.footer-logo {
  width: 180px;
  max-width: 100%;
}

.footer-main p {
  max-width: 360px;
  margin: 10px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.footer-links a,
.footer-links button {
  border: 0;
  border-bottom: 1px solid rgba(21, 33, 28, 0.28);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 2px 0;
  cursor: pointer;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.legal-grid section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.62);
  padding: 18px;
}

.legal-grid h3 {
  margin-bottom: 12px;
  font-size: 15px;
}

.legal-grid p {
  margin: 7px 0;
  font-size: 13px;
  line-height: 1.45;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 40;
  display: none;
  width: min(920px, calc(100% - 24px));
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(21, 33, 28, 0.94);
  box-shadow: var(--shadow);
  color: white;
  padding: 12px 14px;
  transform: translateX(-50%);
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.35;
}

.cookie-actions,
.dialog-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: flex-end;
}

.cookie-more {
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.56);
  background: transparent;
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  padding: 0 2px;
  white-space: nowrap;
}

.btn.small {
  min-height: 38px;
  padding: 0 12px;
  font-size: 13px;
  white-space: nowrap;
}

.legal-dialog {
  width: min(640px, calc(100% - 24px));
  border: 0;
  border-radius: 8px;
  background: #fffaf0;
  color: var(--ink);
  box-shadow: var(--shadow);
  padding: 28px;
}

.legal-dialog::backdrop {
  background: rgba(8, 15, 12, 0.58);
}

.legal-dialog h2 {
  margin-bottom: 16px;
  font-size: 30px;
}

.legal-dialog p {
  color: var(--muted);
  line-height: 1.6;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: var(--acid);
  cursor: pointer;
  font-size: 22px;
}

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

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .desktop-nav {
    display: none;
  }

  .site-header {
    min-height: 68px;
  }

  .header-phone {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .hero {
    min-height: auto;
    padding-top: 106px;
  }

  .hero-grid,
  .split,
  .price-section,
  .request-section {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 700px;
    align-items: end;
  }

  .hero-panel {
    max-width: 420px;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    background:
      radial-gradient(circle at 20% 8%, rgba(240, 200, 75, 0.16), transparent 18rem),
      repeating-linear-gradient(135deg, rgba(21, 33, 28, 0.03) 0 1px, transparent 1px 16px),
      #f6f0e5;
  }

  .site-header {
    padding: 8px 12px;
  }

  .site-header,
  .site-header.menu-open,
  .site-header.is-scrolled {
    background: rgba(248, 244, 233, 0.96);
  }

  .mobile-nav {
    background: #f8f4e9;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-logo {
    width: 132px;
  }

  .brand strong {
    font-size: 13px;
  }

  .menu-toggle {
    position: fixed;
    top: 13px;
    right: 12px;
    z-index: 30;
    width: 42px;
    height: 42px;
    border-color: transparent;
    background: var(--ink);
  }

  .menu-toggle span {
    background: var(--acid);
  }

  .hero {
    padding: 96px 16px 34px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(9, 16, 13, 0.92) 0%, rgba(9, 16, 13, 0.72) 55%, rgba(9, 16, 13, 0.36) 100%),
      linear-gradient(0deg, rgba(9, 16, 13, 0.74), transparent 48%);
  }

  .hero-grid {
    min-height: 720px;
    gap: 20px;
    min-width: 0;
  }

  h1 {
    max-width: 100%;
    font-size: 30px;
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

  .lead {
    font-size: 15px;
    line-height: 1.48;
  }

  .hero-actions,
  .contact-strip {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .section,
  .price-section,
  .image-band {
    width: calc(100% - 24px);
  }

  .section {
    padding: 64px 0;
  }

  .service-grid,
  .steps,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .service-card,
  .steps article {
    min-height: 0;
  }

  .band-card {
    position: static;
    max-width: none;
    border-radius: 0;
  }

  .price-section {
    padding: 52px 18px;
    background: var(--ink);
  }

  .price-table div {
    align-items: flex-start;
    flex-direction: column;
  }

  .price-note {
    padding: 18px;
  }

  .lead-form {
    padding: 18px;
  }

  .site-footer {
    width: calc(100% - 24px);
  }

  .footer-main {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-links a,
  .footer-links button {
    width: auto;
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    bottom: 10px;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
  }

  .cookie-banner p {
    font-size: 12px;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .cookie-actions .btn {
    width: 100%;
    min-height: 38px;
  }
}
