*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --accent: #9c6e4a;
  --accent-h: #7d5535;
  --accent-20: rgba(156, 110, 74, 0.2);
  --accent-10: rgba(156, 110, 74, 0.1);
  --dark: #1c1c1c;
  --cta-dark: #211507;
  --gray: #7a7a7a;
  --light: #f8f4ef;
  --footer-bg: #ecd9cb;
  --border: #e5dbd1;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", "Noto Sans Armenian", sans-serif;
  color: #0d0d0d;
  background: var(--white);
  font-size: 15px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #ecd9cb;
  height: 100px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 32px;
}
.nav__logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
}
.nav__logo-text {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.nav__links {
  display: flex;
  gap: 32px;
  margin-left: auto;
  align-items: center;
}
.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: #0d0d0d;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav__link:hover {
  color: var(--accent);
}
.nav__phone {
  border: 1px solid #0d0d0d;
  background: transparent;
  color: #0d0d0d;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition:
    background 0.2s,
    color 0.2s;
  font-family: "Rubik", "Noto Sans Armenian", sans-serif;
}
.nav__phone:hover {
  background: #0d0d0d;
  color: #fff;
}
.nav__cta {
  background: #0d0d0d;
  color: var(--white);
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s;
}
.nav__cta:hover {
  background: var(--accent);
}
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10001;
}

.nav__toggle-bar {
  width: 100%;
  height: 3px;
  background-color: #0d0d0d;
  border-radius: 2px;
  transition: all 0.3s ease;
}
/* ── HERO ── */
.hero {
  position: relative;
  height: 642px;
  overflow: hidden;
  padding: 63px 32px 37px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hero:hover .hero__bg {
  transform: scale(1.02);
}
.hero__panel {
  position: relative;
  width: 805px;
  max-width: 100%;
  height: 416px;
  background: rgba(13, 13, 13, 0.4);
  border-radius: 16px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.hero__title {
  font-size: 40px;
  font-weight: 500;
  line-height: 56px;
  color: #fff;
  margin-bottom: auto;
  max-width: 701px;
}
.hero__btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.btn-outline {
  padding: 16px 32px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: #fff;
  font-size: 15px;
  font-weight: 500;
  min-width: 343px;
  transition:
    background 0.2s,
    color 0.2s;
  font-family: inherit;
  cursor: pointer;
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}
.btn-fill {
  padding: 16px 32px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  min-width: 343px;
  transition: background 0.2s;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid var(--accent);
}
.btn-fill:hover {
  background: var(--accent-h);
  border-color: var(--accent-h);
}

/* ── SECTION WRAPPER ── */
.section {
  padding: 64px 32px;
}
/*.section--alt {*/
/*  background: #f4f2ee;*/
/*}*/
.section__tag {
  display: none;
}
.section__title {
  font-size: 40px;
  font-weight: 500;
  line-height: 56px;
  color: #0d0d0d;
  margin-bottom: 40px;
  font-family: "Montserrat", "Noto Sans Armenian", sans-serif;
}
.section__title--center {
  text-align: center;
}

/* ── SERVICES GRID (CardBig component) ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  width: 100%;
  aspect-ratio: 794 / 432;
  border-radius: 16px;
  overflow: hidden;
  background: #f4f2ee;
  cursor: pointer;
}
.service-card__img-wrap {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
}
.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.service-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}
.service-card:hover .service-card__overlay {
  opacity: 1;
}
.service-card:hover .service-card__img {
  transform: scale(1.03);
}
.service-card__text {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: 60%;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}
.service-card__title {
  font-size: 20px;
  font-weight: 600;
  color: #0d0d0d;
  line-height: 1.3;
}
.service-card__desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #0d0d0d;
}
.service-card__btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid #0d0d0d;
  border-radius: 8px;
  color: #0d0d0d;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    background 0.2s,
    color 0.2s;
  z-index: 3;
  white-space: nowrap;
}
.service-card:hover .service-card__btn {
  opacity: 1;
  visibility: visible;
}
.service-card__btn:hover {
  background: #0d0d0d;
  color: #ffffff;
}

/* ── PROJECTS (Works component — default <-> hover image swap) ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.project-card {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: 16px;
  overflow: hidden;
  background: #f4f2ee;
  cursor: pointer;
}
.project-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition:
    opacity 0.5s ease,
    transform 0.6s ease;
  display: block;
  padding: 24px;
}
.project-card__img--hover {
  opacity: 0;
  object-fit: cover;
  padding: 0;
}
.project-card:hover .project-card__img--default {
  opacity: 0;
}
.project-card:hover .project-card__img--hover {
  opacity: 1;
  transform: scale(1.02);
}

/* ── STEPS (Figma node 62:403) ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding-top: 60px; /* room for the number floating above each card */
}
.step-card {
  position: relative;
  background: rgba(156, 110, 74, 0.2);
  border-radius: 16px;
  padding: 110px 16px 0; /* top padding leaves room for the big number to overlap */
  min-height: 516px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(156, 110, 74, 0.22);
}
.step-card__num {
  position: absolute;
  top: -68px;
  right: 38px;
  font-family: "Mulish", sans-serif;
  font-size: 140px;
  font-weight: 500;
  color: #9c6e4a;
  line-height: 140px;
  letter-spacing: -0.02em;
  user-select: none;
  pointer-events: none;
  z-index: 1;
}
.step-card__title {
  font-size: 20px;
  font-weight: 600;
  color: #0d0d0d;
  line-height: 1.3;
  margin-bottom: 8px;
  font-family: "Montserrat", "Noto Sans Armenian", sans-serif;
}
.step-card__desc {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  color: #0d0d0d;
  margin-bottom: 24px;
}
.step-card__icon {
  margin-top: auto;
  align-self: center;
  width: 200px;
  max-width: 100%;
  height: 200px;
  object-fit: contain;
  object-position: center bottom;
  transition: transform 0.3s ease;
}
.step-card:hover .step-card__icon {
  transform: scale(1.05);
}

/* ── RESTORATION / BEFORE-AFTER ── */
.restoration-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 60px;
}
.before-after__item {
  border-radius: 10px;
  overflow: hidden;
}
.before-after__item img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.before-after__item:hover img {
  transform: scale(1.04);
}
.before-after__label {
  padding: 12px 0 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── SERVICES2 — staggered restoration cards (Figma node 76:925/931) ── */
.services2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
  row-gap: 0;
  align-items: start;
}
.services2-grid > .restoration-card:nth-child(2) {
  margin-top: 120px;
}
.restoration-card {
  position: relative;
  width: 100%;
  aspect-ratio: 794 / 439;
  border-radius: 16px;
  overflow: hidden;
  background: #f4f2ee;
  cursor: pointer;
}
.restoration-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  transition: transform 0.5s ease;
}
.restoration-card:hover .restoration-card__img {
  transform: scale(1.03);
}
.restoration-card__text {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56.8%;
  min-height: 24.6%;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}
.restoration-card__title {
  font-size: 20px;
  font-weight: 600;
  color: #0d0d0d;
  line-height: 1.2;
  font-family: "Montserrat", "Noto Sans Armenian", sans-serif;
}
.restoration-card__desc {
  font-size: 15px;
  font-weight: 500;
  color: #0d0d0d;
  line-height: 1.35;
}

/* ── RESTORATIONS — Before/After draggable slider (Figma node 25:30) ── */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.ba {
  position: relative;
  width: 100%;
  aspect-ratio: 600 / 519;
  border-radius: 24px;
  overflow: hidden;
  background: #f4f2ee;
  user-select: none;
  touch-action: none;
}
.ba__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}
/* "After" image is on top, clipped from the left by --pos */
.ba__img--after {
  clip-path: inset(0 0 0 var(--pos, 50%));
  -webkit-clip-path: inset(0 0 0 var(--pos, 50%));
}
.ba__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 4px;
  background: rgba(255, 255, 255, 0.85);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.ba__handle {
  position: absolute;
  top: 50%;
  left: var(--pos, 50%);
  transform: translate(-50%, -50%);
  width: 220px;
  height: 64px;
  border-radius: 48px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(13, 13, 13, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  cursor: grab;
  z-index: 3;
  transition: background 0.2s ease;
  font-family: "Montserrat", "Noto Sans Armenian", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #0d0d0d;
  line-height: 20px;
}
.ba__handle:hover {
  background: rgba(255, 255, 255, 0.85);
}
.ba__handle:active,
.ba.dragging .ba__handle {
  cursor: grabbing;
}
.ba__handle-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}
.ba__arrow {
  width: 8px;
  height: 14px;
  fill: none;
  stroke: #0d0d0d;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── CTA SECTION ── */
.cta-section {
  background: #f4f2ee;
  min-height: 767px;
  align-items: stretch;
}
.cta-container {
  display: flex;
  margin: auto;
  justify-content: space-between;
  width: 60%;
}
.cta-img {
  overflow: hidden;
  position: relative;
  background: #f4f2ee;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.cta-img img {
  width: 100%;
  max-width: 720px;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  transition: transform 0.5s ease;
}
.cta-img:hover img {
  transform: scale(1.03);
}
.cta-form-wrap {
  background: #f4f2ee;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 88px;
}
.cta-form__title {
  font-size: 40px;
  font-weight: 700;
  color: #0d0d0d;
  margin-bottom: 24px;
  line-height: 56px;
  max-width: 590px;
  font-family: "Montserrat", "Noto Sans Armenian", sans-serif;
}
.cta-form__lead {
  font-size: 16px;
  line-height: 1.5;
  color: #05080e;
  margin-bottom: 36px;
  max-width: 500px;
}
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 490px;
}
.cta-form__group {
  position: relative;
}
.cta-form__label {
  font-size: 14px;
  font-weight: 400;
  color: #164001;
  margin-bottom: 6px;
  display: block;
  line-height: 22px;
}
/* Neumorphic input — soft inner gradient + outer dual-light shadows */
.cta-form__field {
  width: 100%;
  height: 48px;
  padding: 14px 24px;
  border: none;
  outline: none;
  border-radius: 8px;
  font-size: 16px;
  color: #202714;
  font-family: "Rubik", "Noto Sans Armenian", sans-serif;
  background: linear-gradient(175deg, #f8f8f8 0.57%, #fbfbfb 78.12%);
  box-shadow:
    -10px -10px 25px 0 #ffffff,
    10px 10px 25px 0 rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.25s ease;
}
.cta-form__field::placeholder {
  color: rgba(32, 39, 20, 0.45);
}
.cta-form__field:focus {
  box-shadow:
    inset -6px -6px 14px 0 #ffffff,
    inset 6px 6px 14px 0 rgba(0, 0, 0, 0.08);
}
.cta-form__phone-wrap {
  position: relative;
}
.cta-form__phone-prefix {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Rubik", sans-serif;
  font-size: 16px;
  color: #202714;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.cta-form__phone-prefix::after {
  content: "";
  width: 1px;
  height: 20px;
  background: rgba(0, 0, 0, 0.15);
  margin-left: 4px;
}
.cta-form__field--phone {
  padding-left: 88px;
}
.cta-form__btn {
  margin-top: 12px;
  background: var(--accent);
  color: #fff;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  transition: background 0.2s;
  width: 100%;
  max-width: 464px;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.cta-form__btn:hover {
  background: var(--accent-h);
}
.cta-form__consent {
  margin-top: 16px;
  font-size: 14px;
  line-height: 24px;
  color: #0d0d0d;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.cta-form__consent::before {
  content: "*";
  color: var(--accent);
  font-size: 16px;
  line-height: 24px;
}

/* ── FOOTER ── */
.footer {
  background: #ecd9cb;
  padding: 64px 88px 32px;
  min-height: 417px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 60px;
  padding-bottom: 32px;
  min-height: 220px;
}
.footer__col-title {
  font-size: 20px;
  font-weight: 500;
  color: #0d0d0d;
  margin-bottom: 20px;
  font-family: "Montserrat", "Noto Sans Armenian", sans-serif;
}
.footer__contact {
  font-size: 16px;
  color: #0d0d0d;
  line-height: 24px;
  display: grid;
  grid-template-columns: 80px 1fr;
  row-gap: 14px;
  column-gap: 16px;
}
.footer__contact dt {
  font-weight: 500;
}
.footer__contact dd {
  margin: 0;
}
.footer__contact a {
  color: #0d0d0d;
  text-decoration: underline;
  transition: color 0.2s;
  font-family: "Rubik", "Noto Sans Armenian", sans-serif;
}
.footer__contact a:hover {
  color: var(--accent);
}
.footer__contact-phone {
  font-family: "Rubik", "Noto Sans Armenian", sans-serif;
}
.footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer__brand img {
  width: 403px;
  height: auto;
  max-width: 100%;
}
.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-self: end;
}
.footer__right .footer__col-title {
  /* text-decoration: underline; */
  text-underline-offset: 4px;
}
.footer__socials {
  display: flex;
  gap: 14px;
}
.footer__social {
  width: 40px;
  height: 40px;
  /* border-radius: 50%;
  background: rgba(156, 110, 74, 0.15); */
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    transform 0.2s;
}
/* .footer__social:hover {
  background: rgba(156, 110, 74, 0.28);
  transform: translateY(-2px);
} */
.footer__social svg {
  width: 32px;
  height: 32px;
  /* fill: var(--accent); */
}
.footer__bottom {
  padding-top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: #0d0d0d;
  font-weight: 500;
}

/* ── RESPONSIVE ── */
@media (max-width: 1400px) {
  .cta-container {
    width: 100%;
  }
}

@media (max-width: 1200px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 80px;
  }
}
@media (max-width: 900px) {
  .nav {
    padding: 0 24px;
  }
  .section {
    padding: 56px 24px;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-card {
    aspect-ratio: 358 / 363;
  }
  .service-card__text {
    max-width: 70%;
  }
  .service-card__title {
    font-size: 16px;
  }
  .service-card__desc {
    font-size: 12px;
    line-height: 18px;
  }
  .service-card__btn {
    width: 240px;
    max-width: calc(100% - 64px);
    padding: 14px 24px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .project-card {
    height: 320px;
  }
  .services2-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .services2-grid > .restoration-card:nth-child(2) {
    margin-top: 0;
  }
  .restoration-card__text {
    width: 75%;
  }
  .restoration-card__title {
    font-size: 16px;
  }
  .restoration-card__desc {
    font-size: 13px;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 80px;
  }
  .step-card__num {
    font-size: 110px;
    line-height: 110px;
    top: -52px;
    right: 12px;
  }
  .step-card {
    padding: 90px 16px 0;
    min-height: 460px;
  }
  .ba-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ba__handle {
    width: 180px;
    height: 56px;
    font-size: 13px;
    padding: 0 16px;
  }
  .cta-section {
    grid-template-columns: 1fr;
  }
  .cta-img {
    height: 300px;
  }
  .cta-form-wrap {
    padding: 48px 24px;
  }
  .cta-form__title {
    font-size: 28px;
    line-height: 36px;
  }
  .hero {
    padding: 32px 16px;
    height: auto;
  }
  .hero__panel {
    width: 100%;
    height: auto;
    padding: 32px 24px;
  }
  .hero__title {
    font-size: 26px;
    line-height: 1.3;
  }
  .hero__btns {
    flex-direction: column;
  }
  .btn-outline,
  .btn-fill {
    min-width: 0;
    width: 100%;
  }
  .nav {
    padding: 0 16px;
    height: 72px;
    gap: 12px;
  }
  .nav__logo img {
    height: 36px;
  }
  .nav__link,
  .nav__phone {
    /* display: none; */
  }
  .nav__cta {
    padding: 10px 18px;
    font-size: 14px;
  }
  .footer {
    padding: 48px 24px 24px;
  }
  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
    justify-items: center;
  }
  .footer__right {
    justify-self: center;
    align-items: center;
  }
  .footer__brand img {
    width: 280px;
  }
  .footer__contact {
    grid-template-columns: 1fr;
    row-gap: 4px;
    text-align: center;
  }
}

/* ── MOBILE PHONE (≤640px) — Figma node 76:1001 ── */
@media (max-width: 640px) {
  /* Nav matches Figma mobile header (390×72): logo + outlined phone + filled "Պատվիրել" */
  .nav {
    height: 72px;
    padding: 0 16px;
    gap: 8px;
  }
  .nav__logo img {
    height: 40px;
  }
  .nav__link {
    /* display: none; */
  }
  .nav__phone {
    display: inline-flex;
    padding: 8px 14px;
    font-size: 13px;
  }
  .nav__cta {
    padding: 8px 18px;
    font-size: 13px;
  }
  .nav {
    /* position: relative; */
    justify-content: space-between;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: auto;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    align-items: center;
    padding: 80px 20px 40px 20px;
    gap: 25px;
    transition: top 0.4s ease-in-out;
    z-index: 10000;
  }

  .nav__links.nav--active {
    top: 0;
  }

  .nav__toggle.toggle--active .nav__toggle-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .nav__toggle.toggle--active .nav__toggle-bar:nth-child(2) {
    opacity: 0;
  }
  .nav__toggle.toggle--active .nav__toggle-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  /* Section padding tighter + smaller section titles (20px Figma) */
  .section {
    padding: 32px 16px;
  }
  .section__title {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 20px;
  }

  /* Hero — full-width brown filled + outlined buttons stacked, panel sits over image */
  .hero {
    padding: 0px 20px;
    height: auto;
    min-height: 489px;
    overflow: visible;
  }
  .hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 0px 20px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    bottom: auto;
    width: 100%;
    height: 162px;
    object-fit: cover;
    object-position: center;
  }
  .hero__panel {
    position: relative;
    margin: 50px 0 0;
    width: 100%;
    padding: 32px 16px;
    border-radius: 16px;
    height: auto;
    min-height: 285px;
  }
  .hero__title {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 28px;
  }
  .hero__btns {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .btn-fill {
    width: 100%;
    min-width: 0;
  }
  .btn-outline {
    width: 100%;
    min-width: 0;
    background: #fff;
    color: var(--accent);
    border: 1px solid var(--accent);
  }
  .btn-outline:hover {
    background: var(--accent);
    color: #fff;
  }

  /* Service cards — taller mobile aspect, button always visible (no hover needed on touch) */
  .service-card {
    aspect-ratio: 358 / 363;
  }
  .service-card__text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: none;
    border-radius: 16px;
    padding: 16px;
  }
  .service-card__title {
    font-size: 16px;
  }
  .service-card__desc {
    font-size: 12px;
    line-height: 18px;
  }
  .service-card__overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.15);
  }
  .service-card__btn {
    opacity: 1;
    visibility: visible;
    top: auto;
    bottom: 165px;
    width: calc(100% - 32px);
    max-width: 326px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  /* Projects — single column, shorter cards (~280px on mobile per Figma) */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .project-card {
    height: 280px;
  }

  /* Services2 (restoration) — single column, no offset */
  .services2-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .services2-grid > .restoration-card:nth-child(2) {
    margin-top: 0;
  }
  .restoration-card {
    aspect-ratio: 358 / 340;
  }
  .restoration-card__text {
    width: 100%;
    left: 0;
    right: 0;
  }
  .restoration-card__title {
    font-size: 16px;
  }
  .restoration-card__desc {
    font-size: 12px;
    line-height: 18px;
  }

  /* Steps — single column, full-width cards, large number top-right */
  .steps-grid {
    grid-template-columns: 1fr;
    row-gap: 80px;
    padding-top: 80px;
  }
  .step-card {
    padding: 110px 20px 24px;
    min-height: 480px;
  }
  .step-card__num {
    font-size: 140px;
    line-height: 140px;
    top: -58px;
    right: 30px;
  }
  .step-card__icon {
    width: 200px;
    height: 200px;
  }

  /* Before/after sliders — single column, smaller handle */
  .ba-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ba {
    aspect-ratio: 358 / 295;
    border-radius: 16px;
  }
  .ba__handle {
    width: 170px;
    height: 52px;
    font-size: 13px;
    padding: 0 14px;
  }

  /* CTA form — single column, image above form */
  /* .cta-section {
    grid-template-columns: 1fr;
    min-height: 0;
  } */
  .cta-container {
    width: 90%;
    flex-direction: column;
    margin: auto;
  }
  .cta-img {
    order: -1;
    height: 240px;
  }
  .cta-img img {
    max-width: 220px;
  }
  .cta-form-wrap {
    padding: 24px 16px 32px;
  }
  .cta-form__title {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 12px;
  }
  .cta-form__lead {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .cta-form {
    max-width: none;
    gap: 20px;
  }
  .cta-form__btn {
    font-size: 16px;
    padding: 14px 24px;
  }
  .cta-form__consent {
    font-size: 12px;
    line-height: 16px;
  }

  /* Footer — vertical stack, logo in middle */
  .footer {
    padding: 32px 16px 16px;
    min-height: 0;
  }
  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: left;
    justify-items: start;
    min-height: 0;
  }
  .footer__right {
    justify-self: start;
    align-items: flex-start;
  }
  .footer__brand {
    order: 2;
    align-self: center;
  }
  .footer__brand img {
    width: 280px;
  }
  .footer__contact {
    grid-template-columns: 80px 1fr;
    text-align: left;
    row-gap: 8px;
  }
  .footer__bottom {
    font-size: 12px;
    line-height: 16px;
    text-align: center;
  }
}
