@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&family=Tenor+Sans&display=swap");

:root {
  --ink: #2f2822;
  --muted: #74695f;
  --soft: #f8f0e5;
  --paper: #fffaf2;
  --milk: rgba(255, 250, 242, 0.74);
  --line: rgba(127, 91, 55, 0.18);
  --brand: #b9824e;
  --brand-dark: #7d5638;
  --sage: #879173;
  --blue: #526676;
  --shadow: 0 24px 70px rgba(75, 50, 30, 0.16);
  --radius-lg: 34px;
  --radius-md: 22px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 118px;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(226, 188, 136, 0.28), transparent 28rem),
    radial-gradient(circle at 94% 14%, rgba(135, 145, 115, 0.16), transparent 32rem),
    linear-gradient(180deg, #fff8ef 0%, #f7efe4 48%, #fbf6ef 100%);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(126, 92, 58, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 92, 58, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 78%);
  z-index: -1;
}

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

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

section,
article,
aside,
form,
header,
footer,
div {
  min-width: 0;
}

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

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  width: min(1320px, calc(100% - 28px));
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(188px, auto) minmax(0, 1fr) minmax(154px, auto);
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.78);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 50px rgba(67, 45, 29, 0.13);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
}

.desktop-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 12px;
  color: #6b5d51;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
}

.desktop-nav a {
  padding: 7px 2px;
  white-space: nowrap;
}

.desktop-nav a:hover,
.header-contacts a:hover,
.area-links a:hover,
.specialist-card a:hover {
  color: var(--brand-dark);
}

.header-contacts {
  display: grid;
  gap: 3px;
  text-align: right;
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-dark);
  line-height: 1.2;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 190px 24px 54px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  filter: saturate(1.08) contrast(1.08) brightness(0.9);
  transform: scale(1.02);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 248, 238, 0.42) 0%, rgba(255, 248, 238, 0.18) 36%, rgba(255, 248, 238, 0) 64%),
    linear-gradient(0deg, rgba(47, 40, 34, 0.28), rgba(47, 40, 34, 0.02) 48%, rgba(47, 40, 34, 0.04));
}

.sun-motion {
  display: none;
}

.hero-warmth {
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(0deg, rgba(255, 248, 238, 0.36), transparent);
  z-index: 1;
}

.hero-content {
  width: min(920px, 100%);
  margin: 0 auto;
  transform: translateX(-11vw);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  font-size: clamp(42px, 5.2vw, 68px);
  letter-spacing: -0.06em;
}

.hero h1 {
  max-width: 780px;
  font-family: "Tenor Sans", "Manrope", sans-serif;
  font-weight: 400;
  line-height: 1.08;
  color: rgba(47, 40, 34, 0.74);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(36px, 5.2vw, 68px);
  letter-spacing: -0.025em;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
}

p {
  line-height: 1.68;
}

.hero-lead {
  max-width: 680px;
  margin: 18px 0 0;
  color: #51473f;
  font-size: clamp(17px, 1.7vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 18px 34px rgba(125, 86, 56, 0.24);
}

.button-secondary {
  color: var(--brand-dark);
  background: rgba(255, 250, 242, 0.72);
  border-color: rgba(125, 86, 56, 0.2);
  backdrop-filter: blur(18px);
}

.trust-strip {
  width: min(850px, 100%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.trust-strip span {
  padding: 18px 16px;
  background: rgba(255, 250, 242, 0.56);
  font-size: 14px;
  font-weight: 800;
  color: #594a3f;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-heading {
  display: grid;
  gap: 16px;
  max-width: 840px;
  margin-bottom: 34px;
}

.section-heading.narrow {
  max-width: 980px;
  text-align: center;
  margin-inline: auto;
}

.section-heading p,
.intro-guide .section-heading p,
.price-section .section-heading p,
.area-section .section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.guide-grid,
.glass-grid,
.tariff-grid,
.stories-grid,
.specialist-grid {
  display: grid;
  gap: 18px;
}

.guide-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
}

.guide-card,
.glass-card,
.story-card,
.specialist-card,
.area-card,
.calculator-panel,
.help-section,
.faq-list details {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 250, 242, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.guide-card,
.glass-card,
.story-card,
.specialist-card,
.area-card {
  border-radius: var(--radius-md);
  padding: 26px;
}

.guide-card span {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 32px;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: rgba(185, 130, 78, 0.16);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: normal;
}

.guide-card p,
.glass-card p,
.story-card p,
.specialist-card p,
.area-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.trust-section {
  width: min(1240px, calc(100% - 32px));
  padding: 90px 28px;
  border-radius: 44px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 225, 178, 0.46), transparent 26rem),
    linear-gradient(135deg, rgba(135, 145, 115, 0.16), rgba(255, 255, 255, 0.16));
}

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

.glass-card {
  min-height: 188px;
  background: rgba(255, 255, 255, 0.42);
}

.process-section {
  overflow: hidden;
}

.process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  padding-top: 36px;
}

.process-line::before {
  content: "";
  position: absolute;
  top: 66px;
  left: 8%;
  width: 84%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), var(--sage), var(--brand), transparent);
  transform-origin: left;
  animation: drawLine 2.4s ease both;
}

.process-step {
  position: relative;
  padding: 78px 18px 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.88), rgba(255, 250, 242, 0.52));
  border: 1px solid var(--line);
}

.process-step span {
  position: absolute;
  top: 8px;
  left: 18px;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(82, 102, 118, 0.24);
}

.process-step p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

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

.tariff-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fffaf2;
  border: 1px solid rgba(127, 91, 55, 0.13);
  box-shadow: var(--shadow);
}

.tariff-card.featured {
  outline: 2px solid rgba(185, 130, 78, 0.32);
}

.tariff-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.tariff-card:nth-child(1) img {
  object-position: 55% center;
}

.tariff-card:nth-child(4) img {
  object-position: center center;
}

.tariff-card div {
  padding: 23px;
}

.tariff-kind {
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tariff-card p:not(.tariff-kind) {
  min-height: 102px;
  margin: 12px 0 20px;
  color: var(--muted);
}

.tariff-card strong {
  font-size: 26px;
  color: var(--brand-dark);
}

.calculator-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr 0.9fr;
  gap: 24px;
  align-items: start;
  margin-top: 24px;
  padding: 28px;
  border-radius: var(--radius-lg);
}

.calculator-panel h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 40px;
}

.calc-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: #5f5147;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(127, 91, 55, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  padding: 15px 16px;
  color: var(--ink);
  font: inherit;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(185, 130, 78, 0.13);
}

.checkbox-line {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-line input {
  width: 18px;
  height: 18px;
}

.calc-result {
  border-radius: 24px;
  padding: 24px;
  background: linear-gradient(135deg, var(--blue), #364755);
  color: #fff;
}

.calc-result span {
  opacity: 0.72;
  font-weight: 800;
}

.calc-result strong {
  display: block;
  margin: 6px 0 10px;
  font-size: 42px;
  line-height: 1;
}

.calc-result p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.calc-result dl {
  display: grid;
  gap: 8px;
  margin: 16px 0 22px;
}

.calc-result dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.calc-result dt,
.calc-result dd {
  margin: 0;
}

.calc-result .button {
  width: 100%;
  background: #fffaf2;
  color: var(--brand-dark);
}

.stories-grid {
  grid-template-columns: 1.35fr 1fr 1fr;
}

.reviews-workspace {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  margin-top: 24px;
}

.approved-reviews,
.review-form,
.review-admin {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-md);
  background: rgba(255, 250, 242, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.approved-reviews,
.review-form {
  padding: 26px;
}

.section-heading.compact {
  margin-bottom: 18px;
}

.section-heading.compact h3 {
  font-size: 26px;
}

.review-list,
.review-admin-list {
  display: grid;
  gap: 14px;
}

.review-item,
.review-admin-item {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.54);
}

.review-item header,
.review-admin-item header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-weight: 900;
}

.review-item p,
.review-admin-item p,
.review-form p,
.review-admin p {
  margin: 0;
  color: var(--muted);
}

.review-stars {
  color: var(--brand-dark);
  letter-spacing: 0.08em;
}

.review-form {
  display: grid;
  gap: 14px;
}

.consent-line {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.consent-line input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.consent-line a {
  color: var(--brand-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.review-admin {
  margin-top: 18px;
  padding: 0;
  overflow: hidden;
}

.review-admin summary {
  cursor: pointer;
  padding: 22px 26px;
  color: var(--brand-dark);
  font-weight: 900;
}

.review-admin > p,
.review-admin-list {
  padding: 0 26px 22px;
}

.review-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.review-admin-actions button {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  color: #fff;
  background: var(--brand-dark);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.review-admin-actions button[data-review-action="reject"] {
  color: var(--brand-dark);
  background: rgba(185, 130, 78, 0.16);
}

.video-story {
  padding: 0;
  overflow: hidden;
}

.video-story img {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

.video-story div {
  padding: 24px;
}

.video-story span,
.story-card small {
  color: var(--brand-dark);
  font-weight: 900;
}

.faq-section {
  width: min(980px, calc(100% - 32px));
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 900;
  list-style: none;
}

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

.faq-list details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
}

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

.specialist-card img {
  width: 100%;
  height: 280px;
  margin-bottom: 22px;
  border-radius: 22px;
  object-fit: cover;
}

.specialist-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--brand-dark);
  font-weight: 900;
}

.map-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.map-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: #edf2e9;
  aspect-ratio: 1 / 1;
}

.map-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

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

.city-groups {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.city-groups div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.city-groups strong {
  width: 100%;
  color: var(--ink);
  font-size: 18px;
}

.city-groups span,
.city-groups a {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(82, 102, 118, 0.1);
  color: #4d5e6d;
  font-size: 14px;
  font-weight: 800;
}

.city-groups a:hover {
  color: var(--brand-dark);
  background: rgba(185, 130, 78, 0.16);
}

.area-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.area-links a {
  padding: 11px 14px;
  border-radius: 999px;
  color: #594a3f;
  background: rgba(185, 130, 78, 0.13);
  font-weight: 900;
}

.help-section {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 34px;
  align-items: start;
  padding: 38px;
  border-radius: 38px;
  background:
    radial-gradient(circle at 6% 10%, rgba(255, 223, 174, 0.48), transparent 24rem),
    rgba(255, 250, 242, 0.76);
}

.help-copy h2 {
  margin-bottom: 18px;
}

.help-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.help-form {
  display: grid;
  gap: 16px;
}

.help-form textarea {
  resize: vertical;
}

.form-status {
  margin: 0;
  color: var(--brand-dark);
  font-weight: 800;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 34px;
  margin: 40px auto 0;
  padding: 42px 0 92px;
  border-top: 1px solid var(--line);
}

.site-footer h3 {
  margin-bottom: 14px;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
}

.site-footer div {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-brand {
  color: var(--ink) !important;
  font-size: 24px;
}

.mobile-bar {
  display: none;
}

[data-reveal] {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
  clip-path: inset(0 0 0 0 round var(--radius-md));
  transition:
    opacity 1150ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1150ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 1150ms cubic-bezier(0.16, 1, 0.3, 1),
    clip-path 1150ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 420ms ease,
    border-color 420ms ease;
  will-change: opacity, transform, filter, clip-path;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 42px, 0) scale(0.976);
  filter: blur(16px);
  clip-path: inset(34px 0 0 0 round var(--radius-md));
}

.reveal-ready .map-card[data-reveal],
.reveal-ready .calculator-panel[data-reveal],
.reveal-ready .area-card[data-reveal],
.reveal-ready .review-admin[data-reveal],
.reveal-ready .reviews-workspace[data-reveal] {
  transform: translate3d(0, 36px, 0) scale(0.982);
}

.reveal-ready .section-heading[data-reveal],
.reveal-ready .help-copy[data-reveal],
.reveal-ready .help-form[data-reveal],
.reveal-ready .site-footer > div[data-reveal] {
  transform: translate3d(0, 30px, 0) scale(0.986);
  clip-path: inset(18px 0 0 0 round var(--radius-sm));
}

.reveal-ready .glass-card:nth-child(odd),
.reveal-ready .tariff-card:nth-child(odd),
.reveal-ready .story-card:nth-child(odd),
.reveal-ready .specialist-card:nth-child(odd) {
  transform: translate3d(0, 42px, 0) scale(0.976);
}

.reveal-ready .glass-card:nth-child(even),
.reveal-ready .tariff-card:nth-child(even),
.reveal-ready .story-card:nth-child(even),
.reveal-ready .specialist-card:nth-child(even) {
  transform: translate3d(0, 42px, 0) scale(0.976);
}

.reveal-ready [data-reveal].is-visible,
[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
  clip-path: inset(0 0 0 0 round var(--radius-md));
}

.reveal-ready .section-heading[data-reveal].is-visible,
.reveal-ready .help-copy[data-reveal].is-visible,
.reveal-ready .help-form[data-reveal].is-visible,
.reveal-ready .site-footer > div[data-reveal].is-visible {
  transform: translate3d(0, 0, 0) scale(1);
  clip-path: inset(0 0 0 0 round var(--radius-sm));
}

@keyframes quietZoom {
  from { transform: scale(1.04) translateX(0); }
  to { transform: scale(1.1) translateX(-1.6%); }
}

@keyframes sunlight {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.55; }
  to { transform: translate3d(18vw, 8vh, 0) scale(1.18); opacity: 0.82; }
}

@keyframes drawLine {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
    border-radius: 28px;
  }

  .desktop-nav {
    display: none;
  }

  .hero-content {
    transform: none;
  }

  .trust-strip,
  .guide-grid,
  .glass-grid,
  .tariff-grid,
  .stories-grid,
  .reviews-workspace,
  .specialist-grid,
  .map-layout,
  .help-section,
  .site-footer,
  .calculator-panel {
    grid-template-columns: 1fr 1fr;
  }

  .calculator-panel > div:first-child,
  .calc-result,
  .video-story {
    grid-column: 1 / -1;
  }

  .process-line {
    grid-template-columns: 1fr;
  }

  .process-line::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 64px;
    padding: 10px;
  }

  .brand small,
  .header-contacts {
    display: none;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: 860px;
    padding: 118px 16px 30px;
    align-items: end;
  }

  .hero-media video,
  .hero-media img {
    object-position: 66% center;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(255, 248, 238, 0.5) 0%, rgba(255, 248, 238, 0.22) 45%, rgba(255, 248, 238, 0.72) 100%),
      linear-gradient(90deg, rgba(255, 248, 238, 0.34), rgba(255, 248, 238, 0.08));
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 38px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-actions {
    display: grid;
  }

  .trust-strip,
  .guide-grid,
  .glass-grid,
  .tariff-grid,
  .stories-grid,
  .reviews-workspace,
  .specialist-grid,
  .map-layout,
  .help-section,
  .site-footer,
  .calculator-panel,
  .calc-form {
    grid-template-columns: 1fr;
  }

  .section {
    width: min(100% - 22px, 1180px);
    padding: 62px 0;
  }

  .trust-section {
    width: calc(100% - 22px);
    padding: 60px 16px;
    border-radius: 32px;
  }

  .tariff-card img,
  .specialist-card img,
  .video-story img {
    height: 230px;
  }

  .calculator-panel,
  .help-section {
    padding: 22px;
    border-radius: 28px;
  }

  .map-card img {
    min-height: 0;
    transform: none;
  }

  .reveal-ready [data-reveal],
  .reveal-ready .map-card[data-reveal],
  .reveal-ready .calculator-panel[data-reveal],
  .reveal-ready .area-card[data-reveal],
  .reveal-ready .review-admin[data-reveal],
  .reveal-ready .reviews-workspace[data-reveal],
  .reveal-ready .glass-card:nth-child(odd),
  .reveal-ready .glass-card:nth-child(even),
  .reveal-ready .tariff-card:nth-child(odd),
  .reveal-ready .tariff-card:nth-child(even),
  .reveal-ready .story-card:nth-child(odd),
  .reveal-ready .story-card:nth-child(even),
  .reveal-ready .specialist-card:nth-child(odd),
  .reveal-ready .specialist-card:nth-child(even) {
    transform: none;
  }

  .site-footer {
    padding-bottom: 104px;
  }

  .mobile-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 250, 242, 0.88);
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 44px rgba(75, 50, 30, 0.18);
  }

  .mobile-bar a {
    display: grid;
    place-items: center;
    min-height: 48px;
    border-radius: 999px;
    color: #fff;
    background: var(--brand-dark);
    font-weight: 900;
  }

  .mobile-bar a:last-child {
    color: var(--brand-dark);
    background: rgba(185, 130, 78, 0.16);
  }
}

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