@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Manrope-Regular-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Manrope-Regular-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Manrope-SemiBold-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Manrope-SemiBold-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Manrope-Bold-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Manrope-Bold-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/IBMPlexSans-Regular-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/IBMPlexSans-Regular-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/IBMPlexSans-Medium-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/IBMPlexSans-Medium-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --steel-950: #0f1419;
  --steel-900: #1a2332;
  --steel-800: #243044;
  --steel-700: #3a4a5f;
  --steel-500: #6b7c91;
  --steel-300: #b8c4d4;
  --steel-100: #e8eef5;
  --steel-50: #f4f7fb;
  --amber: #e08a2b;
  --amber-dark: #c4721a;
  --amber-soft: rgba(224, 138, 43, 0.12);
  --white: #fff;
  --text: #1a2332;
  --muted: #5a6a7e;
  --line: rgba(26, 35, 50, 0.1);
  --radius: 4px;
  --shadow: 0 12px 40px rgba(15, 20, 25, 0.12);
  --container: 1180px;
  --header-h: 72px;
  --font-display: Manrope, "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--steel-50);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--amber-dark); }
button, input, textarea { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.02em;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--amber);
  color: var(--steel-950);
  padding: 0.5rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--amber);
  color: var(--steel-950);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn:hover { background: var(--amber-dark); color: var(--steel-950); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.btn--dark { background: var(--steel-900); color: var(--white); }
.btn--dark:hover { background: var(--steel-800); color: var(--white); }

.icon {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  color: currentColor;
}
.icon svg { width: 100%; height: 100%; }
.icon--lg { width: 2.5rem; height: 2.5rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 247, 251, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--steel-900);
}
.logo img { width: 44px; height: 44px; object-fit: contain; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.logo__tag {
  font-size: 0.72rem;
  color: var(--muted);
  max-width: 14rem;
}
.nav {
  display: none;
  align-items: center;
  gap: 1.25rem;
}
.nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--steel-800);
}
.nav a:hover, .nav a.is-active { color: var(--amber-dark); }
.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.header__phone {
  display: none;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--steel-900);
  white-space: nowrap;
}
.messengers {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.messengers__link {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--steel-800);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.messengers__link svg {
  width: 22px;
  height: 22px;
  display: block;
}
.messengers__link--telegram { color: #2aabee; }
.messengers__link--whatsapp { color: #25d366; }
.messengers__link--viber { color: #7360f2; }
.messengers__link:hover {
  border-color: transparent;
  color: var(--white);
}
.messengers__link--telegram:hover { background: #2aabee; }
.messengers__link--whatsapp:hover { background: #25d366; }
.messengers__link--viber:hover { background: #7360f2; }
.messengers--header { display: none; }
.messengers--mobile {
  margin-top: 1rem;
  padding-top: 0.25rem;
}
.messengers--contacts { margin-top: 1rem; }
.messengers--footer {
  margin-top: 1rem;
}
.messengers--footer .messengers__link {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.88);
}
.messengers--footer .messengers__link:hover {
  color: var(--white);
}
.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--steel-900);
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--steel-900);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  padding: 1rem 0 1.25rem;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.7rem 0;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-nav__phone {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}

@media (min-width: 960px) {
  .nav { display: flex; }
  .header__phone { display: inline-flex; }
  .messengers--header { display: flex; }
  .menu-toggle { display: none; }
  .logo__tag { display: block; }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--steel-900);
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(15, 20, 25, 0.88) 0%, rgba(15, 20, 25, 0.55) 48%, rgba(26, 35, 50, 0.35) 100%),
    linear-gradient(to top, rgba(15, 20, 25, 0.75), transparent 45%);
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4rem;
  max-width: 40rem;
  animation: rise 0.8s ease both;
}
.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  line-height: 1.05;
}
.hero__brand span { color: var(--amber); }
.hero h1 {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  margin-bottom: 0.85rem;
}
.hero__lead {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  margin-bottom: 1.6rem;
  max-width: 34rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.section {
  padding: 4.5rem 0;
}
.section--alt {
  background:
    linear-gradient(180deg, #eef3f8 0%, #f7f9fc 100%);
}
.section__head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}
.section__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 0.6rem;
}
.section__head h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin-bottom: 0.5rem;
}
.section__head p { color: var(--muted); margin: 0; }

.photo-cards { margin: 0; }
.photo-cards__head { margin-bottom: 1.5rem; }
.photo-cards__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .photo-cards__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .photo-cards__grid { grid-template-columns: repeat(3, 1fr); }
}
.photo-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.photo-card:hover {
  border-color: var(--amber);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: inherit;
}
.photo-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, var(--steel-800), var(--steel-900));
  overflow: hidden;
}
.photo-card__media picture,
.photo-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-card__fallback {
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(120deg, transparent 40%, rgba(212, 160, 62, 0.12) 100%),
    linear-gradient(145deg, var(--steel-800), var(--steel-900));
}
.photo-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem 1.2rem;
  flex: 1;
}
.photo-card__title {
  font-size: 1.1rem;
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.3;
}
.photo-card__text {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Legacy icon tiles (kept if referenced elsewhere) */
.services-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-tile {
  display: block;
  padding: 1.4rem 1.3rem 1.5rem;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.service-tile:hover {
  border-color: var(--amber);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: inherit;
}
.service-tile__icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--amber-dark);
  background: var(--amber-soft);
  border-radius: var(--radius);
}
.service-tile__icon svg { width: 1.6rem; height: 1.6rem; }
.service-tile h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.service-tile p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.why-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}
.why-item {
  padding-top: 0.25rem;
}
.why-item__icon {
  color: var(--amber-dark);
  margin-bottom: 0.85rem;
}
.why-item h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.why-item p { color: var(--muted); margin: 0; font-size: 0.95rem; }

.portfolio-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}
.portfolio-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--steel-800);
  aspect-ratio: 4 / 3;
}
.portfolio-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-grid figure:hover img { transform: scale(1.04); }

.cities-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.cities-cloud a {
  display: inline-flex;
  padding: 0.45rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}
.cities-cloud a:hover {
  border-color: var(--amber);
  background: var(--amber-soft);
  color: var(--steel-900);
}

.cta-band {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(224, 138, 43, 0.18), transparent 50%),
    linear-gradient(135deg, var(--steel-900), var(--steel-800));
  color: var(--white);
  padding: 3.5rem 0;
}
.cta-band__inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 800px) {
  .cta-band__inner { grid-template-columns: 1.4fr 1fr; }
}
.cta-band h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p { color: rgba(255,255,255,0.75); margin: 0 0 1rem; }

.form {
  display: grid;
  gap: 0.85rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 1.25rem;
  border-radius: var(--radius);
}
.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}
.form input,
.form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(15, 20, 25, 0.35);
  color: var(--white);
  border-radius: var(--radius);
  padding: 0.75rem 0.85rem;
}
.form input::placeholder,
.form textarea::placeholder { color: rgba(255,255,255,0.4); }
.form textarea { min-height: 90px; resize: vertical; }
.form input[type="file"] {
  padding: 0.55rem 0.65rem;
  font-size: 0.85rem;
  cursor: pointer;
}
.form__hint {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  font-weight: 400;
}
.form__hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form__note { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin: 0; }
.form__msg { font-size: 0.9rem; margin: 0; }
.form__msg.is-ok { color: #9be7b0; }
.form__msg.is-err { color: #ffb4a8; }

.form--light {
  background: var(--white);
  border: 1px solid var(--line);
}
.form--light label { color: var(--muted); }
.form--light input,
.form--light textarea {
  background: var(--steel-50);
  border-color: var(--line);
  color: var(--text);
}
.form--light .form__hint { color: var(--muted); }
.form--light .form__note { color: var(--muted); }
.form--light .form__msg.is-ok { color: #1a7a3c; }
.form--light .form__msg.is-err { color: #b42318; }

.page-hero {
  padding: 2.5rem 0 1.5rem;
  background:
    linear-gradient(180deg, #e8eef5 0%, var(--steel-50) 100%);
  border-bottom: 1px solid var(--line);
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.breadcrumbs a { text-decoration: none; }
.breadcrumbs span[aria-hidden] { opacity: 0.5; }
.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  max-width: 40rem;
}
.page-hero__lead {
  max-width: 40rem;
  color: var(--muted);
  margin: 0;
}

.prose {
  max-width: 46rem;
}
.prose h2 { font-size: 1.45rem; margin-top: 1.8rem; }
.prose ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}
.prose li { margin-bottom: 0.4rem; }

.child-list {
  display: grid;
  gap: 0.65rem;
  margin: 1.5rem 0 2rem;
}
.child-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-display);
}
.child-list a:hover { border-color: var(--amber); color: var(--steel-900); }

.faq-section { margin-top: 2rem; }
.faq-section h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: 0.25rem;
}
.faq {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
}
.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
}
.faq p { margin: 0.7rem 0 0; color: var(--muted); }

.rating-block {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.1rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  max-width: 28rem;
}
.page-hero .rating-block,
.section--alt .rating-block,
.section .rating-block {
  background: var(--amber-soft);
  border-color: rgba(224, 138, 43, 0.28);
}
.rating-block__stars { letter-spacing: 0.08em; line-height: 1; }
.rating-star {
  color: rgba(255, 255, 255, 0.28);
  font-size: 1.15rem;
}
.page-hero .rating-star,
.section .rating-star { color: rgba(26, 35, 50, 0.22); }
.rating-star.is-on,
.rating-star.is-half { color: var(--amber); }
.rating-block__text {
  font-size: 0.95rem;
  color: inherit;
}
.hero .rating-block__text { color: rgba(255, 255, 255, 0.92); }
.rating-block__count { opacity: 0.85; }
.rating-block__note {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.75;
  line-height: 1.4;
}
.hero__rating { margin-top: 1.25rem; }

.prices-block { margin: 0; }
.prices-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 700px) {
  .prices-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .prices-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.prices-block--compact .prices-grid {
  grid-template-columns: 1fr;
  max-width: 420px;
}
.price-card {
  padding: 1.15rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.section--alt .price-card { background: var(--steel-50); }
.price-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
}
.price-card__value {
  margin: 0;
  font-size: 1.05rem;
  color: var(--steel-900);
}
.price-card__value strong {
  font-size: 1.55rem;
  font-family: var(--font-display);
  color: var(--amber-dark);
}
.price-card__value span {
  color: var(--muted);
  font-size: 0.92rem;
}
.price-card__note {
  margin: 0.55rem 0 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.price-card a {
  font-weight: 600;
  text-decoration: none;
  color: var(--steel-900);
}
.price-card a:hover { color: var(--amber-dark); }
.prices-block__cta { margin-top: 1.5rem; }

.portfolio-grid picture,
.hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.portfolio-grid img,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contacts-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 800px) {
  .contacts-grid { grid-template-columns: 1fr 1fr; }
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.contact-card h2 { font-size: 1.2rem; }
.contact-card a { font-weight: 600; text-decoration: none; }
.map-placeholder {
  min-height: 280px;
  background:
    linear-gradient(135deg, rgba(26,35,50,0.04), rgba(224,138,43,0.08)),
    var(--steel-100);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  color: var(--muted);
}

.site-footer {
  background: var(--steel-950);
  color: rgba(255,255,255,0.78);
  padding: 3.5rem 0 1.5rem;
}
.footer__grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}
.site-footer h3 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.site-footer a { text-decoration: none; color: rgba(255,255,255,0.78); }
.site-footer a:hover { color: var(--amber); }
.footer__brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 0.6rem;
  text-decoration: none;
}
.footer__links { display: grid; gap: 0.45rem; }
.footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(15, 20, 25, 0.65);
}
.modal.is-open { display: grid; }
.modal__dialog {
  width: min(100%, 440px);
  background: var(--steel-900);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  animation: rise 0.3s ease both;
}
.modal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.modal__head h2 { margin: 0; font-size: 1.25rem; color: var(--white); }
.modal__close {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* —— Layout utilities —— */
.block-spacer { margin-top: 2.5rem; }
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* —— Work gallery —— */
.work-gallery__grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 768px) {
  .work-gallery__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .work-gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
.work-gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--steel-800);
  aspect-ratio: 4 / 3;
}
.work-gallery__item picture,
.work-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-gallery__item:hover img {
  transform: scale(1.04);
  transition: transform 0.5s ease;
}

/* —— Overflow / base responsive —— */
html, body { overflow-x: clip; max-width: 100%; }
.container {
  width: min(100% - 1.5rem, var(--container));
}
@media (min-width: 414px) {
  .container { width: min(100% - 2rem, var(--container)); }
}

/* Phones ~360–414 */
@media (max-width: 479px) {
  .logo__tag { display: none; }
  .header__actions .btn { padding: 0.7rem 1rem; min-height: 44px; }
  .hero {
    min-height: min(78vh, 640px);
  }
  .hero__content {
    padding: 3.25rem 0 2.75rem;
    max-width: 100%;
  }
  .hero__brand {
    font-size: clamp(2rem, 10vw, 2.6rem);
    word-break: break-word;
  }
  .hero h1 {
    font-size: clamp(1.15rem, 4.6vw, 1.4rem);
    overflow-wrap: anywhere;
  }
  .hero__lead { font-size: 0.98rem; }
  .page-hero h1 {
    font-size: clamp(1.45rem, 7vw, 1.9rem);
    overflow-wrap: anywhere;
  }
  .section { padding: 3rem 0; }
  .photo-card { min-height: 0; }
  .photo-card__body { padding: 0.9rem 1rem 1.05rem; }
  .child-list a {
    min-height: 48px;
    padding: 0.85rem 1rem;
  }
  .prices-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 2.5rem 0; }
  .footer__grid { gap: 1.5rem; }
  .work-gallery__grid { gap: 0.55rem; }
}

/* Small phones: single-column gallery if very narrow */
@media (max-width: 359px) {
  .work-gallery__grid { grid-template-columns: 1fr; }
  .header__bar { gap: 0.5rem; }
}

/* Tablet ~768–834 */
@media (min-width: 768px) and (max-width: 959px) {
  .logo__tag { max-width: 11rem; }
  .header__actions .btn { min-height: 44px; }
  .hero__content { max-width: 34rem; }
  .services-grid,
  .photo-cards__grid { grid-template-columns: repeat(2, 1fr); }
  .prices-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* Nav desktop: prevent overflow at 960–1279 */
@media (min-width: 960px) and (max-width: 1099px) {
  .nav { gap: 0.7rem; }
  .nav a { font-size: 0.82rem; }
  .logo__tag { display: none; }
  .header__phone { font-size: 0.9rem; }
  .header__actions .btn { padding: 0.65rem 1rem; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  .nav { gap: 1rem; }
  .nav a { font-size: 0.88rem; }
}

/* Desktop refinements */
@media (min-width: 1280px) {
  .hero__content { padding: 5.5rem 0 4.5rem; }
}

/* Touch targets ≥44px */
.cities-cloud a {
  min-height: 44px;
  align-items: center;
  padding: 0.55rem 0.95rem;
}
.mobile-nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0.85rem 0;
}
.modal__close {
  width: 44px;
  height: 44px;
}
.faq summary {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.form input,
.form textarea {
  min-height: 44px;
}
.form textarea { min-height: 90px; }
.child-list a { min-height: 48px; }
.photo-card { min-height: 48px; }

/* Forms on narrow screens */
@media (max-width: 479px) {
  .form { padding: 1rem; }
  .modal__dialog { padding: 1.15rem; width: min(100%, 100%); }
  .cta-band__inner { gap: 1.25rem; }
}

/* Rating / price blocks */
@media (max-width: 479px) {
  .rating-block { max-width: 100%; }
  .price-card__value strong { font-size: 1.35rem; }
}

/* Prevent long unbroken strings from causing horizontal scroll */
.prose, .page-hero__lead, .hero__lead, .service-tile p, .photo-card__text {
  overflow-wrap: break-word;
}
