/* DrzewBud 2026 — modern visual layer */
:root {
  --color-ink: #14201b;
  --color-muted: #53645a;
  --color-bg: #f7f5ef;
  --color-surface: #fffefb;
  --color-soft: #e9efe6;
  --color-line: rgba(21, 48, 38, 0.13);
  --color-white: #ffffff;
  --color-forest: #153b2f;
  --color-forest-dark: #0d261e;
  --color-clay: #86ad3f;
  --color-clay-dark: #698c2d;
  --color-blue: #315f50;
  --color-lime: #9dc64f;
  --color-sand: #eee7d9;
  --shadow-soft: 0 18px 50px rgba(16, 42, 33, 0.1);
  --shadow-strong: 0 32px 90px rgba(9, 29, 22, 0.24);
  --radius: 18px;
  --radius-large: 32px;
  --header-height: 86px;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html {
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  overflow-x: clip;
  background:
    radial-gradient(circle at 4% 12%, rgba(157, 198, 79, 0.08), transparent 24rem),
    var(--color-bg);
  color: var(--color-ink);
  font-family: Inter, Aptos, "Segoe UI Variable", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
}

::selection {
  background: var(--color-lime);
  color: var(--color-forest-dark);
}

img {
  color: transparent;
}

.container {
  width: min(100% - 48px, 1240px);
}

.narrow {
  width: min(100% - 48px, 880px);
}

.section {
  padding: clamp(82px, 9vw, 132px) 0;
}

.section-heading {
  max-width: 820px;
}

.section-heading h2,
.offer-copy h2,
.final-cta h2,
.thank-you-section h1,
.legal-page h1,
.detail-hero h1,
.company-intro-heading h2 {
  text-wrap: balance;
  font-size: clamp(2.25rem, 4.2vw, 4.4rem);
  font-weight: 740;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.section-heading p,
.large-text {
  color: var(--color-muted);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.72;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--color-clay-dark);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

html.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition: opacity 760ms var(--ease-out), transform 760ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform, opacity;
}

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

/* Header and navigation */
.site-header {
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(13, 38, 30, 0.96);
  box-shadow: 0 8px 34px rgba(8, 27, 20, 0.08);
  backdrop-filter: blur(18px) saturate(130%);
  transition: min-height 300ms ease, background 300ms ease, box-shadow 300ms ease;
}

.site-header.is-scrolled {
  background: rgba(13, 38, 30, 0.985);
  box-shadow: 0 12px 38px rgba(8, 27, 20, 0.2);
}

.header-inner {
  min-height: var(--header-height);
  gap: 28px;
  transition: min-height 300ms ease;
}

.brand-logo {
  width: 112px;
  height: 68px;
  max-width: none;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.14));
  transition: transform 300ms var(--ease-out);
}

.brand:hover .brand-logo {
  transform: translateY(-2px) scale(1.025);
}

.brand-text {
  color: white;
}

.main-nav {
  gap: clamp(16px, 2vw, 30px);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.79rem;
  font-weight: 720;
}

.main-nav a {
  position: relative;
  padding: 12px 0;
  transition: color 240ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--color-lime);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 320ms var(--ease-out);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: white;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-phone {
  min-height: 46px;
  gap: 9px;
  border: 1px solid rgba(157, 198, 79, 0.52);
  border-radius: 999px;
  background: var(--color-lime);
  color: var(--color-forest-dark);
  padding: 0 20px;
  font-size: 0.82rem;
  font-weight: 850;
  box-shadow: 0 8px 22px rgba(157, 198, 79, 0.15);
  transition: transform 240ms var(--ease-out), box-shadow 240ms ease, background 240ms ease;
}

.header-phone::before {
  content: "☎";
  font-size: 0.95rem;
}

.header-phone:hover {
  background: #b3db66;
  color: var(--color-forest-dark);
  box-shadow: 0 12px 28px rgba(157, 198, 79, 0.26);
  transform: translateY(-2px);
}

body.simple-page .header-inner > .brand + .header-phone {
  margin-left: auto;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 240ms ease, opacity 240ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.button {
  position: relative;
  min-height: 54px;
  gap: 12px;
  overflow: hidden;
  border-radius: 999px;
  padding: 0 26px;
  font-size: 0.84rem;
  font-weight: 820;
  letter-spacing: 0.01em;
  transition: transform 260ms var(--ease-out), box-shadow 260ms ease, background 260ms ease, color 260ms ease;
}

.button::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 28%, rgba(255, 255, 255, 0.28) 48%, transparent 68%);
  content: "";
  pointer-events: none;
  transform: translateX(-120%);
  transition: transform 700ms var(--ease-out);
}

.button:hover::before {
  transform: translateX(120%);
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  border-color: var(--color-lime);
  background: var(--color-lime);
  color: var(--color-forest-dark);
  box-shadow: 0 12px 28px rgba(122, 158, 54, 0.23);
}

.button-primary:hover {
  border-color: #b2da67;
  background: #b2da67;
  color: #0b221a;
  box-shadow: 0 16px 34px rgba(122, 158, 54, 0.32);
}

a.button-primary::after,
.lead-form button[type="submit"]::after {
  content: "→";
  font-size: 1.05em;
  transition: transform 240ms ease;
}

a.button-primary:hover::after,
.lead-form button[type="submit"]:hover::after {
  transform: translateX(4px);
}

.button-secondary {
  border-color: rgba(21, 59, 47, 0.22);
  background: transparent;
  color: var(--color-forest);
}

.button-secondary:hover {
  border-color: var(--color-forest);
  background: var(--color-forest);
  color: white;
}

/* Hero */
.hero {
  isolation: isolate;
  min-height: calc(100svh - var(--header-height));
  padding: clamp(58px, 7.5vw, 108px) 0 clamp(70px, 8vw, 116px);
  background-color: var(--color-forest-dark);
  background-position: center calc(50% + var(--hero-shift, 0px));
  background-size: cover;
}

.hero::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 25, 19, 0.9) 0%, rgba(7, 25, 19, 0.8) 42%, rgba(7, 25, 19, 0.4) 72%, rgba(7, 25, 19, 0.24) 100%),
    linear-gradient(0deg, rgba(7, 25, 19, 0.58), transparent 48%);
}

.hero-background {
  position: absolute;
  z-index: -3;
  inset: 0;
  overflow: hidden;
}

.hero-background picture,
.hero-background img {
  width: 100%;
  height: 100%;
}

.hero-background img {
  object-fit: cover;
  object-position: center;
}

.hero::after {
  z-index: -1;
  top: auto;
  right: -12vw;
  left: auto;
  bottom: -28vw;
  width: 52vw;
  height: 52vw;
  border: 1px solid rgba(157, 198, 79, 0.25);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 198, 79, 0.14), transparent 64%);
  opacity: 1;
  animation: hero-orbit 10s ease-in-out infinite alternate;
}

@keyframes hero-orbit {
  to { transform: translate(-2vw, -2vw) scale(1.06); }
}

.hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.72fr);
  gap: clamp(46px, 7vw, 96px);
  align-items: center;
}

.hero-copy {
  max-width: 780px;
}

.hero .eyebrow {
  color: var(--color-lime);
}

.hero-copy h1 {
  max-width: 780px;
  margin: 0;
  color: white;
  font-size: clamp(3rem, 5.65vw, 6rem);
  font-weight: 730;
  line-height: 0.96;
  letter-spacing: -0.058em;
  text-wrap: balance;
}

.hero-copy h1 span {
  color: #b8db75;
}

.hero-lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.05rem, 1.55vw, 1.24rem);
  line-height: 1.7;
}

.hero-assurance {
  gap: 10px;
  margin-top: 27px;
}

.hero-assurance span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.88);
  padding: 8px 13px;
  font-size: 0.72rem;
  font-weight: 680;
  backdrop-filter: blur(10px);
}

.hero-assurance span::before {
  background: var(--color-lime);
  box-shadow: 0 0 0 4px rgba(157, 198, 79, 0.15);
}

.hero-actions {
  margin-top: 32px;
}

.hero .button-secondary {
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
}

.hero .button-secondary:hover {
  border-color: white;
  background: white;
  color: var(--color-forest-dark);
}

.hero-metrics {
  max-width: 740px;
  gap: 0;
  margin: 42px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-metrics li {
  min-width: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0;
  background: transparent;
  padding: 0 22px;
  backdrop-filter: none;
}

.hero-metrics li:first-child {
  padding-left: 0;
}

.hero-metrics li:last-child {
  border-right: 0;
}

.hero-metrics strong {
  color: white;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 760;
  letter-spacing: -0.035em;
}

.hero-metrics span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.68rem;
  line-height: 1.4;
}

/* Conversion form */
.lead-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-large);
  background: rgba(255, 254, 251, 0.96);
  padding: clamp(26px, 3vw, 42px);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(24px) saturate(130%);
}

.lead-panel::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--color-lime), #d4e99f, var(--color-lime));
  content: "";
}

.form-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 13px;
  color: var(--color-clay-dark);
  font-size: 0.7rem;
  font-weight: 820;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-kicker span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-lime);
  box-shadow: 0 0 0 5px rgba(157, 198, 79, 0.16);
  animation: status-pulse 2.2s ease infinite;
}

@keyframes status-pulse {
  50% { box-shadow: 0 0 0 9px rgba(157, 198, 79, 0); }
}

.lead-panel h2 {
  max-width: 480px;
  font-size: clamp(1.75rem, 2.75vw, 2.65rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.form-intro {
  margin: 13px 0 24px;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.lead-form {
  gap: 14px;
}

.field-grid {
  gap: 12px;
}

.field label {
  display: block;
  margin: 0 0 6px;
  color: #304239;
  font-size: 0.72rem;
  font-weight: 780;
}

.field input,
.field select,
.field textarea {
  min-height: 48px;
  border: 1px solid rgba(21, 59, 47, 0.17);
  border-radius: 12px;
  background: #f8f8f3;
  color: var(--color-ink);
  padding: 10px 13px;
  font-size: 0.87rem;
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

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

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(21, 59, 47, 0.32);
  background: white;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-clay);
  background: white;
  box-shadow: 0 0 0 4px rgba(157, 198, 79, 0.14);
}

.contact-choice-note,
.form-note {
  margin: -7px 0 -3px;
  font-size: 0.68rem;
}

.consent-field {
  align-items: flex-start;
  gap: 10px;
}

.consent-field input {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--color-clay-dark);
}

.consent-field label {
  color: #6a756e;
  font-size: 0.68rem;
  line-height: 1.45;
}

.lead-form .button-full {
  margin-top: 3px;
}

.form-security {
  position: relative;
  margin: -3px 0 0;
  color: #778079;
  font-size: 0.64rem;
  line-height: 1.45;
  text-align: center;
}

.form-security::before {
  content: "●";
  margin-right: 6px;
  color: var(--color-clay-dark);
  font-size: 0.55rem;
}

/* Proof strip */
.proof-strip {
  position: relative;
  z-index: 3;
  border-bottom: 1px solid var(--color-line);
  background: white;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-grid article {
  display: flex;
  min-height: 130px;
  align-items: center;
  gap: 17px;
  border-right: 1px solid var(--color-line);
  padding: 24px clamp(18px, 2.4vw, 34px);
}

.proof-grid article:first-child {
  border-left: 1px solid var(--color-line);
}

.proof-icon {
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  background: var(--color-soft);
  color: var(--color-forest);
  font-size: 1.35rem;
  font-weight: 800;
}

.proof-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.proof-grid strong,
.proof-grid small {
  display: block;
}

.proof-grid strong {
  color: var(--color-forest-dark);
  font-size: 0.9rem;
}

.proof-grid small {
  margin-top: 3px;
  color: var(--color-muted);
  font-size: 0.69rem;
  line-height: 1.4;
}

/* Story and review sections */
.company-intro {
  position: relative;
  overflow: hidden;
  background: var(--color-sand);
  padding: clamp(82px, 9vw, 132px) 0;
}

.company-intro::before {
  position: absolute;
  top: -180px;
  left: -130px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(21, 59, 47, 0.12);
  border-radius: 50%;
  content: "";
}

.company-intro-panel {
  overflow: hidden;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(52px, 9vw, 130px);
  border: 0;
  border-radius: var(--radius-large);
  background: var(--color-forest-dark);
  padding: clamp(40px, 7vw, 86px);
  box-shadow: var(--shadow-strong);
}

.company-intro-panel::after {
  top: auto;
  right: -100px;
  bottom: -190px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(157, 198, 79, 0.26);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 198, 79, 0.13), transparent 64%);
  transform: none;
}

.company-intro .eyebrow {
  color: var(--color-lime);
}

.company-intro-heading h2 {
  color: white;
}

.company-intro-copy {
  padding-top: 11px;
}

.company-intro-copy p {
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.78;
}

.company-intro-copy strong {
  color: white;
  font-weight: 680;
}

.reviews-section {
  position: relative;
  overflow: hidden;
  background: #e8efe7;
}

.reviews-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(430px, 1.2fr);
  gap: clamp(54px, 9vw, 130px);
  align-items: center;
}

.reviews-showcase {
  position: relative;
}

.reviews-showcase::before {
  position: absolute;
  top: -60px;
  right: 18px;
  color: rgba(21, 59, 47, 0.09);
  content: "“";
  font-family: Georgia, serif;
  font-size: 17rem;
  line-height: 1;
}

.review-card {
  position: relative;
  border: 0;
  border-radius: var(--radius-large);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  padding: clamp(34px, 5vw, 64px);
}

.review-card-featured::before {
  color: var(--color-lime);
  font-size: 4.5rem;
}

.review-card p {
  color: #263a31;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.65;
}

.review-meta span {
  color: #d79b24;
  letter-spacing: 0.11em;
}

.reviews-button {
  margin-top: 22px;
}

/* Main offer */
.offer-section {
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
}

.offer-layout {
  grid-template-columns: minmax(0, 0.86fr) minmax(480px, 1.14fr);
  gap: clamp(54px, 8vw, 116px);
  align-items: center;
}

.offer-copy h2 {
  max-width: 660px;
}

.price-line {
  border: 1px solid rgba(157, 198, 79, 0.32);
  border-left: 5px solid var(--color-lime);
  border-radius: 18px;
  background: var(--color-soft);
  padding: 19px 21px;
}

.price-line strong {
  color: var(--color-forest-dark);
  font-size: clamp(1.25rem, 2.3vw, 1.7rem);
  letter-spacing: -0.025em;
}

.price-includes {
  border-radius: 18px;
  background: #f4f5ef;
  padding: 20px 22px;
}

.price-includes li::before {
  background: var(--color-lime);
  color: var(--color-forest-dark);
}

.offer-media {
  position: relative;
}

.offer-main-media {
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-large);
  background: linear-gradient(135deg, #e5ecdf, #cddbc6);
  box-shadow: var(--shadow-strong);
  transform: none;
  transition: transform 650ms var(--ease-out);
}

.offer-main-media:hover {
  transform: translateY(-5px);
}

.offer-main-media img {
  aspect-ratio: 16 / 10;
  transition: transform 900ms var(--ease-out);
}

.offer-main-media picture,
.offer-main-media > img {
  position: relative;
  z-index: 1;
  width: 100%;
}

.offer-main-media figcaption {
  position: relative;
  z-index: 2;
}

.offer-main-media:hover img {
  transform: scale(1.045);
}

.offer-main-media figcaption {
  background: rgba(13, 38, 30, 0.94);
  color: rgba(255, 255, 255, 0.74);
}

.offer-media > .spec-list {
  position: static;
  z-index: auto;
  width: 100%;
  margin: 2px 0 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid var(--color-line);
  border-radius: 20px;
  background: white;
  padding: 10px;
  box-shadow: 0 16px 38px rgba(20, 42, 33, 0.09);
  backdrop-filter: none;
}

.offer-media > .spec-list div {
  display: flex;
  min-height: 72px;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border: 0;
  border-radius: 13px;
  background: #f1f5ee;
  padding: 13px 15px;
}

.offer-media > .spec-list dt,
.offer-media > .spec-list dd {
  width: 100%;
  text-align: left;
}

.offer-media > .spec-list dd {
  font-size: 0.96rem;
  line-height: 1.25;
}

.spec-list div {
  border-color: var(--color-line);
}

.spec-list dt {
  color: var(--color-muted);
  font-size: 0.72rem;
}

.spec-list dd {
  color: var(--color-forest-dark);
  font-weight: 760;
}

/* Projects */
.projects-section {
  position: relative;
  overflow: hidden;
  background: var(--color-forest-dark);
}

.projects-section::before {
  position: absolute;
  top: -25vw;
  left: -15vw;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 198, 79, 0.14), transparent 68%);
  content: "";
}

.projects-section .section-heading h2,
.projects-section .section-heading p {
  color: white;
}

.projects-section .section-heading p {
  color: rgba(255, 255, 255, 0.59);
}

.projects-section .section-heading .eyebrow {
  color: var(--color-lime);
}

.project-grid {
  gap: 22px;
  margin-top: 52px;
}

.project-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: #f7f7f2;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
  transition: transform 420ms var(--ease-out), box-shadow 420ms ease, border-color 420ms ease;
}

.project-card:hover {
  border-color: rgba(157, 198, 79, 0.54);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.26);
  transform: translateY(-10px);
}

.project-image {
  overflow: hidden;
  background: #dce3d8;
}

.project-image img {
  aspect-ratio: 1.36 / 1;
  transition: transform 900ms var(--ease-out), filter 450ms ease;
}

.project-card:hover .project-image img {
  transform: scale(1.07);
}

.project-content {
  padding: 25px 25px 28px;
}

.project-content h3 {
  margin: 0;
  color: var(--color-forest-dark);
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.project-content p {
  color: var(--color-muted);
  font-size: 0.86rem;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-forest);
  font-size: 0.78rem;
  font-weight: 820;
}

.text-button::after {
  content: "→";
  transition: transform 240ms ease;
}

.text-button:hover::after {
  transform: translateX(5px);
}

.projects-cta {
  margin-top: 45px;
}

/* Realizations */
.realizations-section {
  background: var(--color-sand);
}

.realization-groups {
  gap: 70px;
  margin-top: 60px;
}

.realization-region {
  gap: 25px;
  border-top: 1px solid rgba(21, 59, 47, 0.16);
  padding-top: 32px;
}

.realization-region-abroad {
  border-top: 1px solid rgba(21, 59, 47, 0.16);
  padding-top: 32px;
}

.realization-index {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.realization-card {
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: white;
  box-shadow: 0 16px 38px rgba(20, 42, 33, 0.1);
  transition: transform 430ms var(--ease-out), box-shadow 430ms ease;
}

.realization-card:hover {
  box-shadow: 0 27px 55px rgba(20, 42, 33, 0.19);
  transform: translateY(-8px);
}

.realization-card-image {
  overflow: hidden;
}

.realization-card-image img {
  aspect-ratio: 1.32 / 1;
  transition: transform 800ms var(--ease-out);
}

.realization-card:hover .realization-card-image img {
  transform: scale(1.065);
}

.realization-card-body {
  padding: 20px 22px 23px;
}

.realization-card-body strong {
  color: var(--color-forest-dark);
  font-size: 1.12rem;
}

.realization-card-body > span:last-child {
  color: var(--color-clay-dark);
  font-size: 0.72rem;
  font-weight: 820;
}

/* Process */
.process-section {
  position: relative;
  background: var(--color-surface);
  color: var(--color-ink);
}

.process-section .section-heading h2 {
  color: var(--color-forest-dark);
}

.process-section .section-heading .eyebrow {
  color: var(--color-clay-dark);
}

.process-section .section-heading > p,
.process-section .steps p {
  color: var(--color-muted);
}

.process-layout {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(64px, 9vw, 130px);
}

.steps {
  position: relative;
  grid-template-columns: 1fr;
  gap: 14px;
}

.steps::before {
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 27px;
  width: 1px;
  background: rgba(21, 59, 47, 0.18);
  content: "";
}

.steps article {
  position: relative;
  min-height: 130px;
  border: 1px solid var(--color-line);
  border-radius: 20px;
  background: #f7f7f2;
  padding: 26px 26px 26px 82px;
  transition: border-color 300ms ease, background 300ms ease, transform 300ms var(--ease-out);
}

.steps article:hover {
  border-color: rgba(157, 198, 79, 0.58);
  background: white;
  transform: translateX(6px);
}

.steps span {
  z-index: 2;
  top: 26px;
  left: 22px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--color-forest);
  color: white;
  box-shadow: 0 0 0 7px #f7f7f2;
}

.steps h3 {
  margin-bottom: 7px;
  color: var(--color-forest-dark);
  font-size: 1.05rem;
}

.steps p {
  font-size: 0.84rem;
  line-height: 1.62;
}

/* FAQ and final conversion */
.faq-section {
  background: #e8efe7;
}

.faq-layout {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(64px, 9vw, 130px);
}

.faq-list {
  gap: 12px;
}

.faq-list details {
  overflow: hidden;
  border: 1px solid rgba(21, 59, 47, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 7px 18px rgba(20, 42, 33, 0.04);
  transition: background 250ms ease, box-shadow 250ms ease;
}

.faq-list details[open] {
  background: white;
  box-shadow: var(--shadow-soft);
}

.faq-list summary {
  position: relative;
  padding: 22px 64px 22px 24px;
  color: var(--color-forest-dark);
  font-size: 0.94rem;
  font-weight: 780;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-soft);
  color: var(--color-forest);
  content: "+";
  font-size: 1.15rem;
  transform: translateY(-50%);
  transition: transform 240ms ease, background 240ms ease;
}

.faq-list details[open] summary::after {
  background: var(--color-lime);
  transform: translateY(-50%) rotate(45deg);
}

.faq-list p {
  margin: -4px 24px 24px;
  color: var(--color-muted);
}

.final-cta {
  position: relative;
  overflow: hidden;
  background: var(--color-forest-dark);
  padding: clamp(72px, 9vw, 116px) 0;
}

.final-cta::before {
  position: absolute;
  right: -10vw;
  bottom: -28vw;
  width: 52vw;
  height: 52vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 198, 79, 0.2), transparent 67%);
  content: "";
}

.final-cta .eyebrow {
  color: var(--color-lime);
}

.final-cta-inner {
  position: relative;
  grid-template-columns: minmax(0, 1.25fr) minmax(270px, 0.75fr);
  gap: 60px;
  align-items: center;
}

.final-cta h2 {
  max-width: 770px;
  color: white;
}

.final-cta p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.05rem;
}

.final-actions .button-primary {
  border-color: var(--color-lime);
  background: var(--color-lime);
  color: var(--color-forest-dark);
}

.final-actions .button-primary:hover {
  border-color: #b2da67;
  background: #b2da67;
  color: #0b221a;
}

.contact-line {
  color: rgba(255, 255, 255, 0.74);
}

.contact-line:hover {
  color: var(--color-lime);
}

/* Footer */
.site-footer {
  background: #091a15;
  color: rgba(255, 255, 255, 0.64);
  padding: 60px 0 26px;
}

.footer-grid {
  gap: 60px;
}

.footer-logo-image {
  width: 100px;
  height: 76px;
}

.site-footer strong {
  color: white;
}

.site-footer a:hover {
  color: var(--color-lime);
}

.copyright {
  margin-top: 38px;
  border-top-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.38);
}

/* Detail pages and galleries */
.detail-hero {
  position: relative;
  isolation: isolate;
  min-height: auto;
  overflow: hidden;
  background-color: var(--color-forest-dark);
  background-image: var(--detail-hero-image);
  background-position: center;
  background-size: cover;
  color: white;
  padding: clamp(72px, 8vw, 118px) 0;
}

.detail-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 27, 20, 0.97), rgba(8, 27, 20, 0.82) 52%, rgba(8, 27, 20, 0.56));
  content: "";
}

.detail-hero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}

.detail-hero h1 {
  color: white;
}

.detail-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
}

.detail-hero .eyebrow {
  color: var(--color-lime);
}

.detail-hero .price-line {
  border-color: rgba(157, 198, 79, 0.28);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.detail-hero .price-line span,
.detail-hero .price-line em {
  color: rgba(255, 255, 255, 0.58);
}

.detail-hero .price-line strong {
  color: white;
}

.detail-hero .price-includes {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
}

.detail-hero .price-includes strong {
  color: white;
}

.detail-hero .button-secondary {
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
}

.detail-hero .button-secondary:hover {
  background: white;
  color: var(--color-forest-dark);
}

.detail-hero-media {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-large);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
  transform: rotate(1.2deg);
}

.detail-hero-media img {
  aspect-ratio: 1.24 / 1;
}

.detail-section {
  background: var(--color-bg);
}

.detail-two-column {
  grid-template-columns: minmax(290px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(46px, 8vw, 110px);
}

.compact-heading h2 {
  font-size: clamp(2rem, 3vw, 3.15rem);
}

.detail-panel,
.technical-panel,
.room-table-card {
  border: 1px solid var(--color-line);
  border-radius: 20px;
  background: white;
  box-shadow: 0 12px 32px rgba(20, 42, 33, 0.06);
}

.detail-section .detail-two-column > div > .spec-list {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: 18px;
  background: white;
  padding: 0 17px;
  box-shadow: 0 12px 30px rgba(20, 42, 33, 0.06);
}

.detail-section .detail-two-column > div > .spec-list div:last-child {
  border-bottom: 0;
}

.detail-panel dt,
.project-specs dt {
  color: var(--color-muted);
}

.detail-panel dd,
.project-specs dd {
  color: var(--color-forest-dark);
}

.room-table-card {
  overflow: hidden;
}

.room-table-card h4 {
  color: var(--color-forest-dark);
  padding: 22px 22px 6px;
}

.room-table thead th {
  background: var(--color-forest);
  color: white;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.room-table tbody tr:not(.room-group):not(.room-total):nth-child(even) td {
  background: #f7f9f5;
}

.room-table .room-group th,
.room-group th {
  background: #e9f0e5;
  color: var(--color-forest-dark);
}

.room-table .room-total td,
.room-total td {
  background: #eef4e9;
  color: var(--color-forest-dark);
}

.detail-panel {
  padding: 25px;
}

.detail-panel h3 {
  color: var(--color-forest-dark);
}

.gallery {
  gap: 18px;
}

.gallery-item {
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: #dfe6dc;
  box-shadow: 0 12px 30px rgba(20, 42, 33, 0.1);
  transition: transform 390ms var(--ease-out), box-shadow 390ms ease;
}

.gallery-item:hover {
  box-shadow: 0 24px 48px rgba(20, 42, 33, 0.2);
  transform: translateY(-7px);
}

.gallery-item img {
  transition: transform 850ms var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.055);
}

.gallery-item-caption {
  background: linear-gradient(0deg, rgba(6, 22, 16, 0.9), transparent);
  color: white;
}

.album-heading {
  border-bottom-color: var(--color-line);
}

.lightbox {
  background: rgba(5, 16, 12, 0.94);
  backdrop-filter: blur(15px);
}

.lightbox img {
  border-radius: 16px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

.lightbox-close,
.lightbox-nav {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

/* Legal, thank-you and consent */
.legal-page,
.thank-you-section {
  background: var(--color-bg);
}

.prose,
.contact-summary {
  border: 1px solid var(--color-line);
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.cookie-consent-panel,
.cookie-modal-card {
  border-color: rgba(157, 198, 79, 0.24);
  border-radius: 24px;
  background: rgba(255, 254, 251, 0.98);
  box-shadow: var(--shadow-strong);
}

.cookie-settings-button {
  border: 1px solid rgba(157, 198, 79, 0.4);
  border-radius: 999px;
  background: var(--color-forest-dark);
  color: white;
}

.mobile-cta {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(13, 38, 30, 0.96);
  box-shadow: 0 15px 40px rgba(7, 25, 19, 0.28);
  backdrop-filter: blur(16px);
}

.mobile-cta a:first-child {
  background: transparent;
  color: white;
}

.mobile-cta a:last-child {
  background: var(--color-lime);
  color: var(--color-forest-dark);
}

/* Tablet */
@media (max-width: 1060px) {
  .header-inner {
    gap: 16px;
  }

  .main-nav {
    gap: 15px;
  }

  .main-nav a:nth-last-child(2) {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
    gap: 38px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 6vw, 4.7rem);
  }

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

  .proof-grid article:nth-child(2) {
    border-right: 0;
  }

  .proof-grid article:nth-child(-n+2) {
    border-bottom: 1px solid var(--color-line);
  }

  .offer-layout,
  .reviews-layout,
  .process-layout,
  .faq-layout,
  .detail-two-column {
    grid-template-columns: 1fr;
  }

  .offer-copy,
  .reviews-layout > .section-heading,
  .process-layout > .section-heading,
  .faq-layout > .section-heading {
    max-width: 760px;
  }

  .offer-media {
    max-width: 760px;
  }

  .realization-index {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile navigation and layout */
@media (max-width: 860px) {
  :root {
    --header-height: 74px;
  }

  .container,
  .narrow {
    width: min(100% - 32px, 1240px);
  }

  .site-header {
    position: sticky;
  }

  .brand-logo {
    width: 88px;
    height: 58px;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(13, 38, 30, 0.99);
    box-shadow: 0 24px 50px rgba(7, 25, 19, 0.28);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px) scale(0.98);
    transform-origin: top;
    transition: opacity 220ms ease, transform 220ms var(--ease-out);
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .main-nav a,
  .main-nav a:nth-last-child(2) {
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    padding: 14px 18px;
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .main-nav a::after {
    display: none;
  }

  .header-phone {
    min-width: 46px;
    width: 46px;
    padding: 0;
    font-size: 0;
  }

  .header-phone::before {
    font-size: 1rem;
  }

  .hero {
    min-height: auto;
    padding: 70px 0 76px;
    background-position: 58% center;
  }

  .hero-background img {
    object-position: 58% center;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(7, 25, 19, 0.79), rgba(7, 25, 19, 0.91) 42%, rgba(7, 25, 19, 0.97));
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-copy h1 {
    max-width: 650px;
  }

  .lead-panel {
    width: min(100%, 660px);
  }

  .company-intro-panel,
  .detail-hero-grid {
    grid-template-columns: 1fr;
  }

  .detail-hero-media {
    max-width: 720px;
    transform: none;
  }

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

@media (max-width: 680px) {
  body {
    padding-bottom: 78px;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading h2,
  .offer-copy h2,
  .final-cta h2,
  .thank-you-section h1,
  .legal-page h1,
  .detail-hero h1,
  .company-intro-heading h2 {
    font-size: clamp(2.05rem, 10vw, 3.25rem);
  }

  .hero {
    padding-top: 56px;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 13vw, 4.1rem);
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 1rem;
  }

  .hero-assurance {
    gap: 7px;
  }

  .hero-assurance span {
    padding: 7px 10px;
    font-size: 0.65rem;
  }

  .hero-actions,
  .cta-row {
    align-items: stretch;
  }

  .hero-actions .button,
  .cta-row .button {
    width: 100%;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-metrics li {
    padding: 0 11px;
  }

  .hero-metrics strong {
    font-size: 1.2rem;
  }

  .hero-metrics span {
    font-size: 0.58rem;
  }

  .lead-panel {
    border-radius: 24px;
    padding: 28px 20px;
  }

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

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

  .proof-grid article,
  .proof-grid article:first-child,
  .proof-grid article:nth-child(2) {
    min-height: 102px;
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
    border-left: 0;
    padding: 20px 8px;
  }

  .proof-grid article:last-child {
    border-bottom: 0;
  }

  .company-intro {
    padding: 76px 0;
  }

  .company-intro-panel {
    gap: 32px;
    border-radius: 24px;
    padding: 36px 24px;
  }

  .reviews-layout,
  .offer-layout,
  .process-layout,
  .faq-layout,
  .detail-hero-grid {
    gap: 42px;
  }

  .review-card {
    border-radius: 22px;
    padding: 30px 24px;
  }

  .offer-main-media {
    border-radius: 22px;
    transform: none;
  }

  .offer-media > .spec-list {
    width: 100%;
    margin-top: 0;
    grid-template-columns: 1fr;
  }

  .realization-index {
    grid-template-columns: 1fr;
  }

  .realization-card-image img {
    aspect-ratio: 1.48 / 1;
  }

  .steps article {
    padding: 24px 20px 24px 72px;
  }

  .steps span {
    left: 18px;
  }

  .final-cta-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .final-actions {
    align-items: stretch;
  }

  .detail-hero {
    padding: 62px 0 72px;
  }

  .detail-hero p {
    font-size: 0.95rem;
  }

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

  .gallery-item,
  .project-card,
  .realization-card {
    border-radius: 18px;
  }

  .cookie-consent {
    right: 12px;
    bottom: 88px;
    left: 12px;
  }

  .cookie-consent-panel {
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::after,
  .form-kicker span {
    animation: none;
  }

  html.reveal-ready [data-reveal] {
    transition-duration: 1ms;
    transition-delay: 0ms !important;
  }

  .button,
  .project-card,
  .realization-card,
  .gallery-item,
  .offer-main-media,
  .offer-main-media img,
  .project-image img,
  .realization-card-image img,
  .gallery-item img {
    transition-duration: 1ms;
  }
}
