:root {
  --bg: #F5F1EA;
  --text: #1D1D1B;
  --muted: #6F6A61;
  --accent: #B8875A;
  --dark: #171717;
  --card: #FFFFFF;
  --warm-card: #EFE8DD;
  --line: #D8CDBE;
  --shadow: 0 26px 70px rgba(29, 29, 27, 0.11);
  --radius: 8px;
  --container: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  width: 100%;
  padding: 18px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(216, 205, 190, 0.78);
  background: rgba(245, 241, 234, 0.84);
  backdrop-filter: blur(18px);
  transition: padding 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(245, 241, 234, 0.95);
  box-shadow: 0 12px 35px rgba(29, 29, 27, 0.08);
}

.logo {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  min-width: 138px;
  letter-spacing: 0;
}

.logo span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 29px;
  font-weight: 700;
  line-height: 0.96;
}

.logo small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  color: #38352F;
  font-size: 14px;
  font-weight: 600;
}

.main-nav a,
.footer-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover,
.footer-nav a:hover {
  color: var(--accent);
}

.header-phone {
  justify-self: end;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.header-phone:hover {
  color: var(--accent);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger.is-active span:nth-child(2) {
  opacity: 0;
}

.burger.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
  align-items: stretch;
  gap: 48px;
  width: var(--container);
  min-height: 740px;
  margin: 0 auto;
  padding: 146px 0 84px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  position: relative;
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 38px;
  height: 1px;
  margin-right: 12px;
  vertical-align: middle;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(48px, 5vw, 72px);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(40px, 4vw, 52px);
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.28;
  letter-spacing: 0;
}

.hero-lead,
.section-heading p,
.start-copy p,
.contact-panel p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 34px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

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

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

.btn-primary:hover {
  background: #9E7048;
}

.btn-outline {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.28);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.55);
}

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

.btn-dark:hover {
  background: #2A2927;
}

.btn-light {
  background: #fff;
  color: var(--text);
}

.btn-light:hover {
  background: var(--warm-card);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.26);
  color: #fff;
}

.btn-outline-light:hover {
  border-color: var(--accent);
  color: #F1D5BC;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.service-tags li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.28);
}

.render-placeholder {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 34%),
    linear-gradient(145deg, #302E2A 0%, #1B1B1B 58%, #B8875A 170%);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.render-placeholder::before,
.render-placeholder::after,
.render-depth {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.render-placeholder::before {
  inset: 10% 8% auto auto;
  width: 46%;
  height: 54%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.19), rgba(255, 255, 255, 0.02));
  box-shadow: -36px 44px 70px rgba(0, 0, 0, 0.24);
}

.render-placeholder::after {
  left: 8%;
  right: 8%;
  bottom: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.hero-visual {
  align-self: stretch;
  min-height: 560px;
}

.hero-video {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(216, 205, 190, 0.28);
  border-radius: var(--radius);
  background: #171717;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-video video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.78) contrast(1.04) brightness(0.72);
  transform: scale(1.01);
}

.hero-video::before,
.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-video::before {
  background:
    linear-gradient(120deg, rgba(23, 23, 23, 0.42), rgba(23, 23, 23, 0.04) 45%, rgba(184, 135, 90, 0.2)),
    linear-gradient(0deg, rgba(23, 23, 23, 0.42), transparent 42%);
  mix-blend-mode: multiply;
}

.hero-video::after {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 22% 18%, rgba(245, 241, 234, 0.18), transparent 30%),
    linear-gradient(90deg, rgba(184, 135, 90, 0.22), transparent 38%);
}

.hero-video-caption {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 2;
  display: inline-flex;
  max-width: calc(100% - 44px);
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(23, 23, 23, 0.52);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.media-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 5;
  display: inline-flex;
  max-width: calc(100% - 36px);
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(23, 23, 23, 0.52);
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  pointer-events: none;
}

.hero-visual .render-depth {
  left: 10%;
  bottom: 12%;
  width: 54%;
  height: 26%;
  border: 1px solid rgba(216, 205, 190, 0.24);
  background: linear-gradient(120deg, rgba(216, 205, 190, 0.18), rgba(184, 135, 90, 0.12));
  transform: skewX(-14deg);
}

.interior {
  background:
    radial-gradient(circle at 28% 22%, rgba(245, 241, 234, 0.22), transparent 24%),
    linear-gradient(115deg, #45413B 0%, #2B2926 42%, #151515 100%);
}

.facade {
  background:
    linear-gradient(90deg, rgba(245, 241, 234, 0.18) 0 18%, transparent 18% 24%, rgba(245, 241, 234, 0.12) 24% 42%, transparent 42%),
    linear-gradient(140deg, #403A34, #181818 76%);
}

.cottage {
  background:
    radial-gradient(circle at 72% 22%, rgba(184, 135, 90, 0.32), transparent 20%),
    linear-gradient(150deg, #464136, #22211E 54%, #101010);
}

.retail {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 58px),
    linear-gradient(145deg, #3D3D38, #171717 70%);
}

.marketplace {
  background:
    radial-gradient(circle at 50% 35%, rgba(239, 232, 221, 0.22), transparent 22%),
    linear-gradient(145deg, #383632, #171717 78%);
}

.commercial {
  background:
    linear-gradient(90deg, rgba(184, 135, 90, 0.18), transparent 36%),
    linear-gradient(145deg, #393632, #171717 72%);
}

.placeholder-label {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 3;
  display: inline-flex;
  max-width: calc(100% - 44px);
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(23, 23, 23, 0.56);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(12px);
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 96px 0;
}

.section-heading {
  max-width: 920px;
  margin-bottom: 48px;
}

.compact-heading {
  max-width: 700px;
}

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

.service-card,
.benefit-card,
.audience-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.service-card {
  min-height: 300px;
  padding: 28px;
}

.service-card:hover,
.benefit-card:hover,
.audience-grid article:hover,
.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(184, 135, 90, 0.45);
  box-shadow: 0 22px 45px rgba(29, 29, 27, 0.1);
}

.card-number {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--accent);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 700;
}

.service-card p,
.benefit-card p,
.audience-grid p,
.process-list p,
.portfolio-info p,
.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.portfolio {
  width: 100%;
  max-width: none;
  padding: 104px max(24px, calc((100vw - 1180px) / 2));
  background: var(--dark);
  color: #fff;
}

.section-heading-dark p {
  color: rgba(255, 255, 255, 0.66);
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.filter-btn {
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover,
.filter-btn.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

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

.portfolio-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: #202020;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, opacity 0.2s ease;
}

.portfolio-card.is-hidden {
  display: none;
}

.portfolio-image {
  min-height: 310px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: filter 0.25s ease, transform 0.25s ease;
}

.portfolio-card:hover .portfolio-image {
  filter: brightness(0.75);
  transform: scale(1.015);
}

.portfolio-card:hover .hover-compare-image {
  filter: none;
}

.portfolio-card:hover .product-sequence-image {
  filter: none;
}

.portfolio-card:hover .office-sequence-image {
  filter: none;
}

.portfolio-card:hover .cottage-sequence-image {
  filter: none;
}

.portfolio-card:hover .facade-media-card {
  filter: none;
}

.hover-compare-image {
  position: relative;
  aspect-ratio: 3 / 4;
  min-height: 310px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #171717;
  box-shadow: none;
  isolation: isolate;
}

.hover-compare-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hover-compare-base {
  z-index: 1;
}

.hover-compare-top {
  z-index: 2;
  opacity: 0;
}

.portfolio-card:hover .hover-compare-base,
.hover-compare-image:hover .hover-compare-base {
  transform: scale(1.01);
}

.portfolio-card:hover .hover-compare-top,
.hover-compare-image:hover .hover-compare-top {
  opacity: 1;
  transform: scale(1.01);
}

.compare-label {
  position: absolute;
  left: 18px;
  z-index: 4;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(23, 23, 23, 0.62);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: translateY(4px);
}

.hover-compare-image:hover .compare-label {
  opacity: 1;
  transform: translateY(0);
}

.compare-label-top {
  top: 18px;
}

.compare-label-bottom {
  top: calc(50% + 18px);
}

.cottage-sequence-image {
  position: relative;
  aspect-ratio: 3 / 4;
  min-height: 310px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #171717;
  box-shadow: none;
  isolation: isolate;
}

.cottage-sequence-image .cottage-frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: transform 0.3s ease;
}

.cottage-sequence-image video.cottage-frame {
  filter: saturate(0.9) contrast(1.03) brightness(0.9);
}

.cottage-sequence-image .cottage-frame.is-active {
  opacity: 1;
  transform: scale(1.01);
}

.facade-media-card {
  position: relative;
  aspect-ratio: 3 / 4;
  min-height: 310px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #171717;
  box-shadow: none;
  isolation: isolate;
}

.facade-media-card video,
.facade-photo-sequence,
.facade-photo-sequence img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.facade-media-card video {
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) contrast(1.02) brightness(0.9);
  transform: scale(1.01);
}

.facade-photo-sequence {
  z-index: 2;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.facade-photo-sequence img {
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: 0;
}

.facade-photo-sequence img:first-child {
  opacity: 1;
}

.portfolio-card:hover .facade-photo-sequence {
  opacity: 1;
}

.portfolio-card:hover .facade-photo-sequence img {
  animation: facadePhotos 4.8s infinite;
}

.portfolio-card:hover .facade-photo-sequence img:nth-child(2) {
  animation-delay: 1.2s;
}

.portfolio-card:hover .facade-photo-sequence img:nth-child(3) {
  animation-delay: 2.4s;
}

.portfolio-card:hover .facade-photo-sequence img:nth-child(4) {
  animation-delay: 3.6s;
}

@keyframes facadePhotos {
  0%,
  20% {
    opacity: 1;
  }

  25%,
  95% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.product-sequence-image {
  position: relative;
  aspect-ratio: 3 / 4;
  min-height: 310px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #171717;
  box-shadow: none;
  isolation: isolate;
}

.product-sequence-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: transform 0.3s ease;
}

.product-sequence-image img:first-child {
  opacity: 1;
}

.portfolio-card:hover .product-sequence-image img {
  animation: productSequence 4.8s infinite;
  transform: scale(1.01);
}

.portfolio-card:hover .product-sequence-image img:nth-child(2) {
  animation-delay: 1.2s;
}

.portfolio-card:hover .product-sequence-image img:nth-child(3) {
  animation-delay: 2.4s;
}

.portfolio-card:hover .product-sequence-image img:nth-child(4) {
  animation-delay: 3.6s;
}

@keyframes productSequence {
  0%,
  20% {
    opacity: 1;
  }

  25%,
  95% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.office-sequence-image {
  position: relative;
  aspect-ratio: 3 / 4;
  min-height: 310px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #171717;
  box-shadow: none;
  isolation: isolate;
}

.office-sequence-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: transform 0.3s ease;
}

.office-sequence-image img:first-child {
  opacity: 1;
}

.portfolio-card:hover .office-sequence-image img {
  animation: officeSequence 3.6s infinite;
  transform: scale(1.01);
}

.portfolio-card:hover .office-sequence-image img:nth-child(2) {
  animation-delay: 1.2s;
}

.portfolio-card:hover .office-sequence-image img:nth-child(3) {
  animation-delay: 2.4s;
}

@keyframes officeSequence {
  0%,
  26% {
    opacity: 1;
  }

  32%,
  94% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.portfolio-info {
  position: relative;
  z-index: 1;
  padding: 24px;
  background: #202020;
}

.portfolio-info span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.portfolio-info h3 {
  color: #fff;
}

.portfolio-info p {
  color: rgba(255, 255, 255, 0.62);
}

.split-heading {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 44px;
  margin-bottom: 46px;
}

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

.benefit-card {
  padding: 26px;
}

.benefit-card span {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border: 1px solid rgba(184, 135, 90, 0.38);
  border-radius: 50%;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 18px 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 1px 18px no-repeat,
    rgba(184, 135, 90, 0.08);
}

.audience {
  padding-top: 50px;
}

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

.audience-grid article {
  min-height: 230px;
  padding: 24px;
}

.process {
  border-top: 1px solid var(--line);
}

.process-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.process-list article {
  display: grid;
  grid-template-columns: 100px 0.5fr 1fr;
  gap: 28px;
  align-items: start;
  padding: 30px;
  background: rgba(255, 255, 255, 0.52);
}

.process-list span {
  color: var(--accent);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.start-kit {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
  align-items: start;
  padding-top: 70px;
}

.start-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.start-list li {
  position: relative;
  min-height: 58px;
  padding: 16px 16px 16px 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.48);
  color: #3D3932;
  font-size: 15px;
  font-weight: 600;
}

.start-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 24px;
  width: 10px;
  height: 10px;
  border: 1px solid var(--accent);
  border-radius: 50%;
}

.faq {
  max-width: 980px;
}

.accordion {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 26px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-size: 20px;
  font-weight: 700;
}

.faq-question span {
  position: relative;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.faq-question span::before,
.faq-question span::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 13px;
  height: 1px;
  background: var(--accent);
  transform: translate(-50%, -50%);
}

.faq-question span::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-question span::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  max-width: 780px;
  margin-bottom: 26px;
  color: var(--muted);
}

.contacts {
  width: 100%;
  max-width: none;
  padding: 94px max(24px, calc((100vw - 1180px) / 2));
}

.contact-panel {
  padding: 62px;
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(184, 135, 90, 0.2), transparent 38%),
    var(--dark);
  color: #fff;
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  max-width: 760px;
}

.contact-panel p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
}

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

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 0.45fr 0.6fr;
  gap: 40px;
  width: var(--container);
  margin: 0 auto;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.footer-brand {
  max-width: 520px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-contact span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-contact a {
  font-weight: 800;
}

.footer-nav {
  display: grid;
  justify-content: end;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

body.js-enabled .section-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

body.js-enabled .section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .main-nav {
    gap: 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 132px;
  }

  .hero-visual {
    min-height: 440px;
  }

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

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

  .process-list article {
    grid-template-columns: 82px 1fr;
  }

  .process-list p {
    grid-column: 2;
  }

  .start-kit {
    grid-template-columns: 1fr;
  }

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

  .footer-nav {
    justify-content: start;
  }
}

@media (max-width: 820px) {
  :root {
    --container: min(100vw - 32px, 680px);
  }

  .site-header {
    grid-template-columns: auto auto;
    gap: 14px;
    padding: 14px 16px;
  }

  .main-nav {
    position: fixed;
    top: 73px;
    left: 16px;
    right: 16px;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(245, 241, 234, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
  }

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

  .header-phone {
    display: none;
  }

  .burger {
    display: block;
    justify-self: end;
  }

  .hero {
    gap: 30px;
    padding: 116px 0 62px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 38px;
  }

  .hero-lead,
  .section-heading p,
  .start-copy p,
  .contact-panel p {
    font-size: 16px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .service-tags {
    gap: 8px;
  }

  .hero-visual,
  .render-placeholder {
    min-height: 340px;
  }

  .section,
  .portfolio,
  .contacts {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .cards-grid,
  .portfolio-grid,
  .benefits-grid,
  .audience-grid,
  .start-list {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .portfolio-image {
    min-height: 260px;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .process-list article {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px;
  }

  .process-list p {
    grid-column: auto;
  }

  .contact-panel {
    padding: 34px 22px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 480px) {
  :root {
    --container: min(100vw - 28px, 430px);
  }

  .logo span {
    font-size: 25px;
  }

  .logo small {
    font-size: 9px;
  }

  h1 {
    font-size: 39px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 18px;
  }

  .eyebrow {
    font-size: 12px;
  }

  .eyebrow::before {
    width: 28px;
    margin-right: 9px;
  }

  .hero-visual,
  .render-placeholder {
    min-height: 280px;
  }

  .portfolio-filters {
    display: grid;
    grid-template-columns: 1fr;
  }

  .filter-btn {
    border-radius: var(--radius);
  }

  .faq-question {
    align-items: flex-start;
    font-size: 17px;
  }
}

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