:root {
  --bg-dark: #ffffff;
  --bg-mid: #f8fafc;
  --bg-panel: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-seo: #f9fbfd;
  --text-main: #1b2430;
  --text-dark: #141b25;
  --text-muted: #5f6b7a;
  --accent-green: #f3a629;
  --accent-gold: #d7aa56;
  --accent-success: #2ab56f;
  --border: #d9e1eb;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1180px;
  --shadow: 0 14px 34px rgba(17, 28, 40, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text-main);
  background: #ffffff;
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 95% 0%, rgba(243, 166, 41, 0.07), transparent 35%);
  z-index: -1;
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  background: #fff;
  color: #000;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 3000;
}

.skip-link:focus {
  left: 10px;
}

.container {
  width: min(var(--container), calc(100% - clamp(1rem, 3vw, 2rem)));
  margin-inline: auto;
}

.section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 8vw, 96px) 0;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.section .container {
  position: relative;
  z-index: 2;
}

.section + .section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -86px;
  height: 170px;
  background: linear-gradient(to bottom, rgba(231, 236, 242, 0) 0%, rgba(231, 236, 242, 0.78) 52%, rgba(231, 236, 242, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.section--dark {
  background:
    radial-gradient(circle at 82% 18%, rgba(243, 166, 41, 0.1), transparent 38%),
    linear-gradient(180deg, #f9fbfe 0%, #f2f6fb 100%);
}

.section--soft {
  background: linear-gradient(180deg, #f8fafd 0%, #ffffff 100%);
  color: var(--text-dark);
}

.section--seo {
  background: linear-gradient(180deg, #f4f7fb 0%, #ffffff 100%);
  color: #17202d;
}

#packages {
  scroll-margin-top: 104px;
}

.section--soft + .section::before,
.section--seo + .section::before {
  background: linear-gradient(to bottom, rgba(231, 236, 242, 0) 0%, rgba(231, 236, 242, 0.72) 52%, rgba(231, 236, 242, 0) 100%);
}

.section h2 {
  margin: 0 0 24px;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  line-height: 1.2;
}

.section h2::after {
  content: "";
  display: block;
  width: 86px;
  height: 4px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-green), rgba(243, 166, 41, 0));
}

.section h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.section__lead {
  max-width: 790px;
  margin: 0 0 32px;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.86rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(160, 174, 192, 0.35);
}

.header__inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}

.header__inner > * {
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
}

.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--accent-green), #d17d13);
  color: #101316;
  font-weight: 800;
}

.brand__logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}

.brand__text {
  font-size: 1.35rem;
  line-height: 1;
}

.nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.nav a {
  font-weight: 600;
  color: #2c3747;
}

.nav a:hover,
.nav a:focus-visible {
  color: #101722;
}

.header__phone {
  justify-self: end;
  font-weight: 800;
  color: #18202b;
  white-space: nowrap;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(243, 166, 41, 0.45);
  background: rgba(255, 236, 204, 0.52);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: transparent;
  color: #202937;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700;
}

.hero {
  position: relative;
  padding-top: clamp(108px, 12vw, 138px);
  min-height: 760px;
  background:
    linear-gradient(108deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.42) 58%, rgba(255, 255, 255, 0.68)),
    url("assets/photos/hero/main-hero.jpg") center / cover no-repeat,
    linear-gradient(108deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78) 60%, rgba(255, 255, 255, 0.95)),
    radial-gradient(circle at 78% 18%, rgba(243, 166, 41, 0.18), transparent 33%),
    linear-gradient(126deg, #eef3f8 0%, #e9eff5 34%, #f3f7fb 58%, #ffffff 100%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 32%, rgba(255, 255, 255, 0.32), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(243, 246, 250, 0.75));
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 34px;
  align-items: center;
}

.hero__content {
  max-width: 780px;
  min-width: 0;
}

.hero h1 {
  margin: 0 0 18px;
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.08;
}

.hero__lead {
  margin: 0;
  max-width: 680px;
  font-size: clamp(1.04rem, 1.7vw, 1.3rem);
  color: #4f5b6c;
}

.hero__badges {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__badges li {
  border: 1px solid rgba(243, 166, 41, 0.52);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 1rem;
  color: #293343;
  background: rgba(255, 248, 235, 0.85);
}

.hero__metrics {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero__metric {
  border: 1px solid rgba(243, 166, 41, 0.26);
  border-radius: 12px;
  padding: 14px 14px;
  background: rgba(255, 255, 255, 0.86);
}

.hero__metric strong {
  display: block;
  font-size: 1.04rem;
  color: #1d2632;
}

.hero__metric span {
  display: block;
  margin-top: 6px;
  font-size: 0.9rem;
  color: #5f6b7a;
}

.hero__cta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__cta .btn {
  min-width: min(100%, 240px);
}

.hero__promise {
  margin: 14px 0 0;
  color: #5e6a79;
  font-size: 0.94rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  color: #5f6b7a;
  font-size: 0.95rem;
}

.breadcrumbs a {
  color: #2c3747;
}

.breadcrumbs span[aria-current="page"] {
  color: #7b8795;
}

.service-hero {
  min-height: auto;
  padding: 136px 0 88px;
}

.service-hero .hero__content {
  max-width: 820px;
}

.service-hero .hero__lead {
  max-width: 760px;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.service-layout--single {
  grid-template-columns: minmax(0, 1fr);
}

.service-aside {
  display: grid;
  gap: 16px;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(252, 253, 255, 0.95)),
    linear-gradient(180deg, rgba(243, 166, 41, 0.05), rgba(243, 166, 41, 0));
  box-shadow: 0 10px 24px rgba(17, 28, 40, 0.06);
}

.service-card h3,
.service-card h4 {
  margin: 0 0 12px;
}

.service-card p:last-child,
.service-card ul:last-child,
.service-card ol:last-child {
  margin-bottom: 0;
}

.fact-grid,
.feature-grid {
  display: grid;
  gap: 16px;
}

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

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

.fact {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  background: rgba(255, 255, 255, 0.88);
}

.fact strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.35rem;
  color: #17202d;
}

.check-list,
.service-card ul,
.service-card ol {
  margin: 0;
  padding-left: 20px;
  color: var(--text-main);
}

.check-list li,
.service-card li {
  margin-bottom: 10px;
}

.service-photo {
  width: 100%;
  min-height: clamp(220px, 34vw, 320px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.cta-panel {
  display: grid;
  gap: 16px;
  align-items: center;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(243, 166, 41, 0.3);
  background:
    linear-gradient(135deg, rgba(255, 247, 230, 0.95), rgba(255, 255, 255, 0.94)),
    radial-gradient(circle at 100% 0%, rgba(243, 166, 41, 0.18), transparent 36%);
}

.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.seo-links a {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 700;
}

.btn {
  border: 0;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  font-family: inherit;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(145deg, #ffb93d, #eb8e10);
  color: #14181f;
  box-shadow: 0 16px 32px rgba(243, 166, 41, 0.4);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: linear-gradient(145deg, #ffc85d, #f29e1f);
}

.btn--ghost {
  border: 1px solid #cdd8e6;
  background: #ffffff;
  color: #1f2937;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: #fff5e5;
  border-color: #f0c06d;
  color: #7f4503;
}

.btn--small {
  margin-top: 10px;
  width: fit-content;
  padding: 10px 14px;
  font-size: 0.9rem;
  border-radius: 10px;
  background: rgba(243, 166, 41, 0.16);
  color: #8e4f00;
  border: 1px solid rgba(243, 166, 41, 0.55);
}

.keychain {
  position: relative;
  margin-left: auto;
  width: min(390px, 100%);
  padding: 26px;
  border: 1px solid #d8e2ee;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 254, 0.94)),
    linear-gradient(120deg, rgba(243, 166, 41, 0.08), transparent);
  box-shadow: var(--shadow);
}

.keychain__title {
  margin: 0 0 14px;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  color: #1d2632;
}

.keychain__title span {
  display: block;
  margin-top: 6px;
  font-size: 0.86rem;
  color: #5f6b7a;
}

.keychain__keys {
  display: grid;
  gap: 10px;
}

.key {
  display: block;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 700;
  text-align: center;
  border: 1px solid transparent;
}

.key--white {
  color: #1f2430;
  background: #eff3f9;
}

.key--gray {
  color: #fff;
  background: #6a7481;
}

.key--black {
  color: #fff;
  background: #1a1a1a;
}

.key--gold {
  color: #201705;
  background: linear-gradient(145deg, #f0c46d, #c99637);
}

.cards {
  display: grid;
  gap: 16px;
}

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

.cards--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  grid-auto-rows: 1fr;
}

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

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(252, 253, 255, 0.95)),
    linear-gradient(180deg, rgba(243, 166, 41, 0.05), rgba(243, 166, 41, 0));
  box-shadow: 0 10px 24px rgba(17, 28, 40, 0.06);
  min-width: 0;
}

.card p {
  margin: 0;
  color: var(--text-muted);
}

.card:hover {
  border-color: rgba(243, 166, 41, 0.75);
  box-shadow: 0 12px 28px rgba(3, 8, 14, 0.35);
}

.card--work {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  overflow: hidden;
  color: #f6f8fc;
}

.card--work::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 24, 34, 0.68), rgba(16, 24, 34, 0.84)),
    var(--work-bg, linear-gradient(145deg, #8394a6, #5d7287));
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.card--work > * {
  position: relative;
  z-index: 1;
}

.card--work p {
  color: #d4dde8;
}

.card--work:focus-visible {
  outline: 2px solid rgba(243, 166, 41, 0.8);
  outline-offset: 2px;
}

.card--work .btn--small {
  margin-top: auto;
  margin-bottom: 2px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  background: #ffffff;
  border-color: #ffffff;
  color: #4f5d6f;
  font-weight: 800;
}

.card--work .btn--small:hover {
  background: #f6f9fd;
  border-color: #f6f9fd;
  color: #5f6c7d;
}

.card--work-roof {
  --work-bg: url("assets/photos/work-types/roofing.jpg");
}

.card--work-facade {
  --work-bg: url("assets/photos/work-types/facade.jpg");
}

.card--work-monolith {
  --work-bg: url("assets/photos/work-types/monolith.jpg");
}

.card--work-masonry {
  --work-bg: url("assets/photos/work-types/masonry.jpg");
}

.card--work-fences {
  --work-bg: url("assets/photos/work-types/fences.jpg");
}

.card--service {
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.card--service:focus-visible {
  outline: 2px solid rgba(243, 166, 41, 0.8);
  outline-offset: 2px;
}

.card--service .text-link {
  margin-top: auto;
  padding-top: 8px;
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(243, 166, 41, 0.6);
  background: #fff5e8;
  color: #9f5b05;
  font-weight: 800;
  margin-bottom: 12px;
}

.service-icon:hover {
  background: #ffe7c3;
}

.text-link {
  display: inline-block;
  margin-top: 14px;
  color: #9f5b05;
  font-weight: 700;
}

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

.trust-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(17, 28, 40, 0.06);
}

.trust-icon {
  display: inline-block;
  margin-bottom: 10px;
}

.trust-card p {
  margin: 0;
  color: var(--text-muted);
}

.package ul {
  margin: 0;
  padding-left: 18px;
  color: #1f2937;
  display: grid;
  gap: 8px;
  font-weight: 600;
  line-height: 1.45;
}

.package {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 430px;
  scroll-margin-top: 110px;
  overflow: hidden;
  color: #1f2937;
  text-shadow: none;
}

.package__footer {
  margin-top: auto;
}

.package h3 {
  color: #101722;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.package--white {
  border-color: #cfd9e6;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.56)),
    url("assets/photos/packages/white-key.jpg") center / cover no-repeat;
}

.package--gray {
  border-color: #7f8c9b;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.56)),
    url("assets/photos/packages/gray-key.jpg") center / cover no-repeat;
}

.package--black {
  border-color: #4c5059;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.56)),
    url("assets/photos/packages/black-key.jpg") center / cover no-repeat;
}

.package--gold {
  border-color: var(--accent-gold);
  box-shadow: 0 16px 35px rgba(212, 165, 68, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 248, 236, 0.42), rgba(255, 248, 236, 0.58)),
    url("assets/photos/packages/gold-key.jpg") center / cover no-repeat;
}

.price {
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  font-size: 1.08rem;
  font-weight: 800;
  color: #101722;
}

.package .text-link {
  margin-top: 10px;
}

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

.benefit {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  column-gap: 10px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #ffffff;
  padding: 18px;
  font-weight: 700;
  min-height: 104px;
  height: 100%;
  box-shadow: 0 8px 20px rgba(17, 28, 40, 0.05);
}

.benefit__icon {
  margin-top: 0;
  align-self: center;
}

.benefit--md {
  grid-column: span 1;
  padding: 18px;
}

.benefit--lg {
  grid-column: span 1;
  padding: 18px;
}

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

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #dfe4eb;
  background: #fff;
  color: #1a212d;
  box-shadow: 0 12px 28px rgba(13, 18, 25, 0.14);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portfolio-card:hover,
.portfolio-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(13, 18, 25, 0.2);
}

.portfolio-card__img {
  display: block;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.portfolio-card h3,
.portfolio-card p,
.portfolio-card .btn {
  margin-inline: 16px;
}

.portfolio-card h3 {
  margin-block: 14px 6px;
  font-size: 1.22rem;
}

.portfolio-card p {
  margin-top: 0;
  color: #5e6876;
}

.portfolio-card .btn {
  margin-bottom: 16px;
  color: #8e4f00;
}

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

.steps-grid article {
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 16px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(17, 28, 40, 0.05);
}

.steps-grid span {
  display: inline-block;
  font-family: "Unbounded", sans-serif;
  color: var(--accent-green);
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.steps-grid p {
  margin: 0;
}

.review h3 {
  font-size: 1.22rem;
}

.review p:last-child {
  margin-top: 12px;
  color: #4d5b6e;
}

.faq {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
}

.faq__list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}

.faq-item__question {
  width: 100%;
  position: relative;
  padding: 18px 16px 18px 66px;
  text-align: left;
  border: 0;
  background: transparent;
  color: #1b2430;
  font-family: inherit;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.35;
  cursor: pointer;
}

.faq-item__question::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #d6dfe9;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.faq-item__question::after {
  content: "";
  position: absolute;
  left: 34px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #9f5b05;
  border-bottom: 2px solid #9f5b05;
  transform: translate(-50%, -50%) rotate(-45deg);
  transition: transform 0.2s ease;
}

.faq-item__answer {
  display: none;
  padding: 0 16px 18px 66px;
  color: var(--text-muted);
}

.faq-item.is-open .faq-item__answer {
  display: block;
  position: relative;
  margin-top: 4px;
  padding-top: 14px;
}

.faq-item.is-open .faq-item__answer::before {
  content: "";
  position: absolute;
  left: 66px;
  right: 16px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(174, 184, 197, 0.95) 0%, rgba(174, 184, 197, 0) 100%);
}

.faq-item.is-open .faq-item__question::before {
  background: #fff2dc;
  border-color: #efc889;
}

.faq-item.is-open .faq-item__question::after {
  transform: translate(-50%, -50%) rotate(45deg);
}

.contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.contacts__lead {
  color: #5f6b7a;
}

.contacts__main-phone {
  display: inline-block;
  margin: 8px 0 14px;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.contacts__details ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.contacts__details a {
  color: #9f5b05;
  font-weight: 700;
}

.contacts__qr {
  width: 112px;
  height: 112px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid #d8dee7;
  background: #fff;
  padding: 4px;
}

.contacts__qr-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
}

.contacts__qr-card {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid #d8dee7;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(17, 28, 40, 0.06);
  flex: 1 1 150px;
}

.contacts__qr-card figcaption {
  font-size: 0.92rem;
  font-weight: 700;
  color: #4f5b6c;
}

.contacts__form {
  border: 1px solid #d8dee7;
  border-radius: var(--radius-lg);
  padding: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 28, 40, 0.1);
  color: #1a212d;
}

.contacts__form h3 {
  margin-top: 0;
}

.contacts__form label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  font-weight: 600;
}

.contacts__form input,
.contacts__form textarea {
  width: 100%;
  border: 1px solid #d5dde7;
  border-radius: 10px;
  padding: 12px;
  font: inherit;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 0;
  flex-shrink: 0;
}

.checkbox span {
  display: inline-flex;
  align-items: center;
  line-height: 1.35;
  margin-left: 2px;
  white-space: normal;
}

.contacts__form .btn--primary {
  font-size: 1.16rem;
  padding-block: 16px;
}

.contacts__form-status {
  margin: 10px 0 0;
  min-height: 1.2em;
  color: #5a6677;
  font-size: 0.92rem;
}

.section--seo {
  background:
    linear-gradient(180deg, rgba(244, 247, 251, 0.56) 0%, rgba(255, 255, 255, 0.66) 100%),
    url("assets/photos/seo/construction-kaliningrad.jpg") center / cover no-repeat;
}

.requisites {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
}

.requisites div {
  display: grid;
  gap: 4px;
  border-bottom: 1px dashed #bcc7d5;
  padding-bottom: 10px;
}

.requisites dt {
  font-weight: 800;
}

.requisites dd {
  margin: 0;
}

.footer {
  padding: 20px 0;
  border-top: 1px solid #dde5ef;
  background: #f8fbff;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: #5a6677;
  flex-wrap: wrap;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(10, 15, 23, 0.78);
}

.modal[hidden] {
  display: none;
}

.modal__panel {
  width: min(720px, 100%);
  border-radius: 18px;
  background: #fff;
  color: #111;
  padding: clamp(18px, 3vw, 24px);
  position: relative;
}

.modal__panel h3 {
  margin: 0 0 12px;
  font-family: "Unbounded", sans-serif;
}

.modal__panel ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.modal__close {
  position: absolute;
  right: 14px;
  top: 10px;
  border: 0;
  background: transparent;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.modal--work .modal__panel {
  width: min(760px, 100%);
  border: 1px solid #d9e3ef;
  background:
    radial-gradient(circle at 88% 12%, rgba(159, 91, 5, 0.08), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: 0 24px 56px rgba(10, 18, 29, 0.28);
  padding: 26px 24px 22px;
}

.modal--work .modal__panel h3 {
  margin: 0;
  padding-right: 38px;
  font-size: clamp(1.28rem, 2.2vw, 1.55rem);
  color: #162131;
}

.modal__intro {
  margin: 10px 0 16px;
  color: #4d5b6d;
  line-height: 1.55;
}

.modal__list {
  list-style: none;
  padding: 0;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.modal__list li {
  position: relative;
  border: 1px solid #d8e2ee;
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.88);
  color: #213044;
}

.modal__list li::before {
  content: none;
}

.modal--work .modal__close {
  right: 12px;
  top: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #d3deea;
  background: #ffffff;
  color: #1f2c3f;
  font-size: 26px;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.modal--work .modal__close:hover {
  background: #f2f6fc;
  transform: scale(1.03);
}

.modal__panel--project {
  width: min(1040px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
}

.project-modal {
  display: grid;
  gap: 16px;
}

.project-modal__head h3 {
  margin-bottom: 6px;
}

.project-modal__head p {
  margin: 0;
  color: #5b6676;
  font-weight: 600;
}

.project-modal__facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.project-modal__facts div {
  border: 1px solid #dce4ee;
  border-radius: 12px;
  padding: 10px 12px;
  background: #f9fcff;
}

.project-modal__facts dt {
  color: #5b6676;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.project-modal__facts dd {
  margin: 0;
  font-weight: 700;
}

.project-modal__description {
  margin: 0;
  color: #2a3444;
}

.project-modal__hero-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #dce4ee;
  background: #0f1722;
}

.project-modal__hero {
  width: 100%;
  height: min(62vh, 520px);
  object-fit: contain;
  object-position: center;
  display: block;
}

.project-modal__gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.project-modal__thumb {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: #fff;
  cursor: pointer;
}

.project-modal__thumb.is-active {
  border-color: #9f5b05;
}

.project-modal__thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
}

@media (max-width: 1100px) {
  .header__inner {
    grid-template-columns: auto 1fr;
    row-gap: 14px;
  }

  .header__phone {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .cards--4,
  .cards--5,
  .benefits-grid,
  .steps-grid,
  .fact-grid,
  .feature-grid,
  .seo-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit--md,
  .benefit--lg {
    grid-column: span 1;
  }

  .cards--3,
  .trust-grid,
  .portfolio-grid,
  .contacts,
  .faq,
  .service-layout,
  .hero__metrics {
    grid-template-columns: 1fr;
  }

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

  .keychain {
    margin-left: 0;
    width: 100%;
    max-width: 520px;
  }

  .project-modal__gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .menu-toggle {
    display: inline-flex;
    justify-self: end;
    align-items: center;
  }

  .header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 70px;
  }

  .project-modal__facts {
    grid-template-columns: 1fr;
  }

  .project-modal__gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nav {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 6px 0 14px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(248, 250, 252, 0.92);
  }

  .header__phone {
    grid-column: 1 / -1;
    font-size: 0.9rem;
  }

  .section + .section::before {
    top: -70px;
    height: 140px;
  }

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

  .hero__badges li,
  .hero__metric,
  .service-card,
  .card,
  .contacts__form {
    padding: 18px;
  }

  .portfolio-card h3,
  .portfolio-card p,
  .portfolio-card .btn {
    margin-inline: 14px;
  }

  .cards--4,
  .cards--5,
  .benefits-grid,
  .steps-grid,
  .requisites,
  .fact-grid,
  .feature-grid,
  .seo-links {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .brand__text {
    font-size: 1.05rem;
  }

  .brand__logo {
    width: 44px;
    height: 44px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }

  .hero__lead,
  .section__lead {
    font-size: 1rem;
  }

  .hero__cta .btn,
  .cta-panel__actions .btn,
  .contacts__form .btn--primary {
    width: 100%;
    min-width: 0;
  }

  .contacts__qr-row {
    gap: 12px;
  }

  .contacts__qr-card {
    flex-basis: calc(50% - 6px);
  }

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

  .modal {
    padding: 12px;
  }

  .modal__panel--project {
    max-height: calc(100vh - 24px);
  }
}

@media (max-width: 480px) {
  .header__inner {
    gap: 12px;
  }

  .header__phone {
    width: 100%;
    justify-self: stretch;
    text-align: center;
  }

  .hero__badges {
    gap: 10px;
  }

  .hero__badges li {
    width: 100%;
    text-align: center;
  }

  .hero__metrics,
  .project-modal__gallery,
  .contacts__qr-row,
  .requisites {
    grid-template-columns: 1fr;
  }

  .contacts__qr-card {
    flex-basis: 100%;
  }

  .faq-item__question {
    padding: 16px 14px 16px 58px;
    font-size: 1rem;
  }

  .faq-item__answer {
    padding: 0 14px 16px 58px;
  }

  .faq-item.is-open .faq-item__answer::before {
    left: 58px;
    right: 14px;
  }

  .project-modal__hero {
    height: min(42vh, 280px);
  }
}
