:root {
  --bg: #f4f8ff;
  --card: rgba(255, 255, 255, 0.84);
  --text: #122038;
  --muted: #60708f;
  --line: rgba(34, 70, 132, 0.1);
  --line-strong: rgba(34, 70, 132, 0.18);
  --accent: #2c7fff;
  --accent-deep: #1851d8;
  --accent-soft: #e4efff;
  --kaspi: #ef3340;
  --kaspi-deep: #d61f32;
  --kaspi-soft: #ffe7eb;
  --shadow-xl: 0 35px 90px rgba(76, 101, 158, 0.16);
  --shadow-lg: 0 18px 45px rgba(76, 101, 158, 0.12);
  --radius-xl: 34px;
  --container: min(1220px, calc(100vw - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(44, 127, 255, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(239, 51, 64, 0.12), transparent 26%),
    linear-gradient(180deg, #fbfdff 0%, #f3f8ff 38%, #f8fbff 100%);
  overflow-x: hidden;
}

h1,
h2,
h3,
p,
a,
span,
strong {
  hyphens: none;
  word-break: normal;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  position: relative;
  isolation: isolate;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(84, 117, 179, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84, 117, 179, 0.03) 1px, transparent 1px);
  background-size: 110px 110px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 88%);
}

.bg-orb,
.bg-grid {
  position: fixed;
  pointer-events: none;
  z-index: -4;
  will-change: transform;
}

.bg-orb {
  border-radius: 50%;
  filter: blur(26px);
}

.bg-orb-blue {
  top: 4%;
  left: -6%;
  width: 34rem;
  height: 34rem;
  background: radial-gradient(circle, rgba(44, 127, 255, 0.22) 0%, rgba(44, 127, 255, 0) 72%);
}

.bg-orb-red {
  top: 34%;
  right: -8%;
  width: 30rem;
  height: 30rem;
  background: radial-gradient(circle, rgba(239, 51, 64, 0.16) 0%, rgba(239, 51, 64, 0) 72%);
}

.bg-orb-gold {
  bottom: 6%;
  left: 12%;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(245, 196, 106, 0.22) 0%, rgba(245, 196, 106, 0) 76%);
}

.bg-grid {
  inset: auto 8% 12% auto;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(44, 127, 255, 0.12), transparent 66%),
    repeating-linear-gradient(0deg, rgba(44, 127, 255, 0.08) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(44, 127, 255, 0.08) 0 1px, transparent 1px 32px);
  opacity: 0.6;
}

.site-header,
.section,
.site-footer {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  backdrop-filter: blur(20px);
  transition: padding 220ms ease, gap 220ms ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 8px -14px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 50px rgba(88, 108, 152, 0.12);
  transition:
    inset 220ms ease,
    border-radius 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.header-tools,
.header-utility {
  display: flex;
  align-items: center;
}

.header-tools {
  gap: 18px;
  margin-left: auto;
  min-width: 0;
  transition: gap 220ms ease;
}

.header-utility {
  gap: 10px;
  transition: gap 220ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  aspect-ratio: 1;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), var(--kaspi));
  color: #fff;
  font-size: 0.96rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(44, 127, 255, 0.28);
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong {
  font-size: 1rem;
  line-height: 1.05;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  max-height: 24px;
  transition: opacity 220ms ease, max-height 220ms ease, transform 220ms ease;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 720px;
  max-height: 120px;
  transform-origin: top center;
  transition:
    opacity 220ms ease,
    max-width 220ms ease,
    max-height 220ms ease,
    transform 220ms ease,
    margin 220ms ease,
    gap 220ms ease;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.93rem;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(44, 127, 255, 0.08);
  transform: translateY(-1px);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  max-width: 132px;
  max-height: 48px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 10px 24px rgba(88, 108, 152, 0.1);
  transform-origin: top center;
  transition:
    opacity 220ms ease,
    max-width 220ms ease,
    max-height 220ms ease,
    padding 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.lang-link:hover {
  transform: translateY(-1px);
}

.lang-link.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 10px 20px rgba(44, 127, 255, 0.2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: gap 220ms ease;
}

.header-link,
.header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-link {
  color: var(--text);
  font-weight: 700;
}

.header-button {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 16px 30px rgba(44, 127, 255, 0.22);
}

.site-header.is-compact {
  gap: 14px;
  padding: 10px 0;
}

.site-header.is-compact::before {
  inset: 4px -10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 36px rgba(88, 108, 152, 0.12);
}

.site-header.is-compact .site-nav,
.site-header.is-compact .language-switch {
  opacity: 0;
  max-width: 0;
  max-height: 0;
  margin: 0;
  padding: 0;
  border-color: transparent;
  box-shadow: none;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-10px);
}

.site-header.is-compact .site-nav {
  gap: 0;
}

.site-header.is-compact .header-tools {
  gap: 10px;
}

.site-header.is-compact .header-utility {
  gap: 0;
}

.site-header.is-compact .brand-copy span {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-6px);
}

.site-header.is-compact .header-link,
.site-header.is-compact .header-button {
  min-height: 42px;
  padding: 10px 14px;
}

.header-link:hover,
.header-button:hover,
.button:hover,
.insta-tile:hover,
.sticky-whatsapp:hover {
  transform: translateY(-2px);
}

.section {
  padding: 32px 0 0;
  scroll-margin-top: 104px;
}

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.82)),
    var(--card);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(22px);
}

.card::after {
  content: "";
  position: absolute;
  inset: auto -15% -25% -15%;
  height: 46%;
  background: radial-gradient(circle at center, rgba(44, 127, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 24px;
  padding-top: 46px;
}

.hero-copy,
.hero-main-media,
.hero-float,
.service-card,
.reviews-card,
.promo-card,
.instagram-profile,
.insta-tile,
.master-photo,
.master-copy,
.contact-card,
.map-card,
.final-cta {
  box-shadow: var(--shadow-xl);
}

.hero-copy {
  padding: clamp(28px, 4vw, 42px);
}

.eyebrow,
.mini-label,
.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kaspi-text {
  color: var(--kaspi);
}

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

h1,
h2 {
  text-wrap: balance;
}

h1 {
  max-width: 12ch;
  margin-top: 16px;
  font-size: clamp(2.9rem, 6vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.lead {
  max-width: 58ch;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions,
.contact-actions,
.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 18px 35px rgba(44, 127, 255, 0.24);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.button-kaspi {
  color: #fff;
  background: linear-gradient(135deg, var(--kaspi), var(--kaspi-deep));
  box-shadow: 0 18px 35px rgba(239, 51, 64, 0.22);
}

.full-width {
  width: 100%;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(44, 127, 255, 0.08);
  background: rgba(44, 127, 255, 0.08);
  color: var(--text);
  font-weight: 700;
}

.badge-kaspi {
  border-color: rgba(239, 51, 64, 0.18);
  background: var(--kaspi-soft);
  color: var(--kaspi);
}

.badge-installment {
  border-color: rgba(245, 196, 106, 0.28);
  background: rgba(245, 196, 106, 0.24);
  color: #7f5a12;
}

.hero-points {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.7;
}

.hero-points li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--kaspi));
  box-shadow: 0 0 0 7px rgba(44, 127, 255, 0.08);
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.hero-main-media {
  height: 100%;
  padding: 16px;
}

.hero-main-media img,
.service-media img,
.promo-card-delivery img,
.master-photo img,
.insta-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-main-media img {
  border-radius: 28px;
  min-height: 588px;
  object-position: center 46%;
}

.hero-float {
  position: absolute;
  width: min(280px, 58%);
  padding: 18px;
}

.hero-float strong {
  display: block;
  margin-top: 10px;
  font-size: 1.42rem;
  line-height: 1.05;
}

.hero-float p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.hero-float-rating {
  top: 36px;
  right: -8px;
}

.hero-float-delivery {
  bottom: 64px;
  left: -6px;
  display: grid;
  gap: 12px;
  width: min(290px, 60%);
}

.hero-float-delivery img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 24px;
  object-fit: cover;
}

.hero-float-kaspi {
  right: 42px;
  bottom: 0;
}

.hero-float-copy strong {
  margin-top: 4px;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin-bottom: 24px;
}

.section-heading h2 {
  font-size: clamp(2.1rem, 4vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.section-heading p,
.review-card p,
.promo-card p,
.profile-description,
.master-copy p,
.contact-list span,
.contact-list a,
.site-footer p {
  color: var(--muted);
}

.section-heading p {
  max-width: 68ch;
  line-height: 1.75;
}

.services-grid,
.proof-grid,
.instagram-layout,
.master-grid,
.contacts-grid {
  display: grid;
  gap: 20px;
}

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

.service-card {
  display: grid;
  min-height: 420px;
}

.service-media {
  position: relative;
  overflow: hidden;
  margin: 14px;
  border-radius: 26px;
  min-height: 250px;
  background: linear-gradient(135deg, rgba(44, 127, 255, 0.16), rgba(239, 51, 64, 0.08));
}

.service-media::after,
.master-photo::before,
.insta-tile::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 50%;
  background: linear-gradient(180deg, transparent, rgba(8, 16, 34, 0.18));
  pointer-events: none;
}

.service-body {
  padding: 8px 24px 26px;
}

.service-body h3 {
  margin-top: 14px;
  font-size: 1.42rem;
  line-height: 1.16;
}

.service-body p,
.review-card p,
.promo-card p,
.profile-description,
.master-copy p,
.master-points span,
.contact-list strong,
.contact-list a,
.final-cta p {
  margin-top: 12px;
  line-height: 1.72;
}

.proof-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.reviews-card,
.promo-card {
  padding: 26px;
}

.card-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.text-link {
  color: var(--accent-deep);
  font-weight: 700;
}

.rating-line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.rating-line strong {
  font-size: 1.6rem;
  letter-spacing: -0.04em;
}

.review-card {
  margin-top: 16px;
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(44, 127, 255, 0.06);
  border: 1px solid rgba(44, 127, 255, 0.08);
}

.promo-card h3 {
  margin-top: 12px;
  font-size: 1.6rem;
  line-height: 1.08;
}

.promo-card-kaspi {
  background:
    linear-gradient(180deg, rgba(255, 245, 246, 0.95), rgba(255, 255, 255, 0.88)),
    var(--card);
}

.promo-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.promo-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(239, 51, 64, 0.1);
  color: var(--kaspi);
  font-weight: 800;
}

.promo-card-delivery {
  padding: 14px;
}

.promo-card-delivery img {
  border-radius: 22px;
  aspect-ratio: 1 / 1;
}

.promo-copy {
  padding: 18px 14px 8px;
}

.instagram-layout {
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: start;
}

.instagram-profile {
  padding: 24px;
}

.profile-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(76, 101, 158, 0.16);
}

.profile-top strong {
  display: block;
  font-size: 1.06rem;
}

.profile-top p {
  margin-top: 6px;
  color: var(--muted);
}

.profile-description {
  margin-top: 18px;
}

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

.insta-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  padding: 10px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.insta-tile img {
  border-radius: 24px;
}

.master-grid {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
}

.master-photo {
  min-height: 100%;
  padding: 14px;
}

.master-photo img {
  border-radius: 28px;
  min-height: 100%;
}

.master-photo-overlay {
  position: absolute;
  right: 26px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-lg);
}

.master-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
}

.master-photo-overlay strong {
  display: block;
}

.master-photo-overlay p {
  margin-top: 4px;
  color: var(--muted);
}

.master-copy {
  padding: clamp(28px, 4vw, 38px);
}

.master-copy h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.master-points {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.master-points div {
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(44, 127, 255, 0.05);
  border: 1px solid rgba(44, 127, 255, 0.08);
}

.master-points strong {
  display: block;
  font-size: 1rem;
}

.contacts-grid {
  grid-template-columns: 0.78fr 1.22fr;
}

.contact-card,
.map-card,
.final-cta {
  padding: 24px;
}

.contact-list {
  display: grid;
  gap: 20px;
}

.contact-list strong,
.contact-list a {
  display: block;
  color: var(--text);
  font-size: 1.04rem;
}

.contact-list span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-frame {
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  border: 1px solid #e1e9f7;
}

.dg-widget-link,
#firmsonmap_biglink,
#firmsonmap_biglink_photo,
#firmsonmap_biglink_route {
  display: none;
}

.map-frame iframe {
  display: block;
  width: 100%;
  border: 0;
}

.map-noscript {
  display: block;
  padding: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  padding: clamp(24px, 4vw, 38px);
  background:
    radial-gradient(circle at top right, rgba(44, 127, 255, 0.12), transparent 32%),
    radial-gradient(circle at bottom left, rgba(239, 51, 64, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.92));
}

.final-cta h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.cta-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.cta-notes span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(44, 127, 255, 0.08);
  color: var(--text);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0 120px;
}

.site-footer a {
  color: var(--accent-deep);
  font-weight: 700;
}

.sticky-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px 14px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #effff7);
  color: #0f7b53;
  border: 1px solid rgba(34, 184, 121, 0.14);
  box-shadow: 0 18px 42px rgba(34, 184, 121, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.sticky-icon {
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(34, 184, 121, 0.12);
}

.sticky-icon svg {
  width: 22px;
  height: 22px;
}

.sticky-copy {
  font-weight: 800;
}

.sticky-copy-mobile {
  display: none;
}

.parallax-layer {
  transform:
    translate3d(var(--parallax-x, 0px), calc(var(--parallax-y, 0px) + var(--base-y, 0px)), 0)
    rotate(calc(var(--parallax-r, 0deg) + var(--base-r, 0deg)));
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

@media (max-width: 1180px) {
  .hero,
  .instagram-layout,
  .master-grid,
  .contacts-grid,
  .final-cta {
    grid-template-columns: 1fr;
  }

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

  .promo-card-delivery {
    grid-column: span 2;
  }

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

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-header::before {
    inset: 6px -8px;
  }

  .brand,
  .header-tools,
  .header-actions {
    width: 100%;
  }

  .brand,
  .header-tools,
  .header-actions,
  .header-utility {
    justify-content: center;
  }

  .header-tools {
    flex-direction: column;
    gap: 12px;
    margin-left: 0;
  }

  .header-utility {
    flex-wrap: wrap;
  }

  .site-nav {
    width: 100%;
  }

  .site-header.is-compact .header-tools,
  .site-header.is-compact .header-utility {
    width: 100%;
  }

  .site-header.is-compact .header-actions {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding-top: 34px;
  }

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

  .services-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .promo-card-delivery {
    grid-column: auto;
  }

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

@media (max-width: 680px) {
  :root {
    --container: min(100vw - 24px, 100%);
    --radius-xl: 28px;
  }

  .site-header {
    padding: 14px 0;
  }

  .brand-mark {
    width: 44px;
  }

  .brand-copy strong {
    font-size: 0.95rem;
  }

  .brand-copy span {
    display: none;
  }

  .header-tools,
  .header-utility {
    width: 100%;
  }

  .header-tools {
    gap: 10px;
  }

  .header-utility {
    flex-direction: column;
    gap: 10px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .site-nav a {
    padding: 10px 8px;
    font-size: 0.78rem;
    text-align: center;
  }

  .header-actions {
    flex-direction: column;
    width: 100%;
  }

  .header-link,
  .header-button {
    min-height: 44px;
    padding: 10px 14px;
  }

  .lang-link {
    min-height: 34px;
  }

  .header-link,
  .header-button {
    width: 100%;
    justify-content: center;
  }

  .site-header.is-compact .header-actions {
    flex-direction: row;
    gap: 8px;
  }

  .site-header.is-compact .header-link,
  .site-header.is-compact .header-button {
    width: auto;
    min-width: 0;
    flex: 1 1 0;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 11vw, 3.7rem);
  }

  html[lang="kk"] h1 {
    font-size: clamp(2rem, 9.8vw, 3.15rem);
  }

  html[lang="kk"] .section-heading h2,
  html[lang="kk"] .master-copy h2,
  html[lang="kk"] .final-cta h2 {
    font-size: clamp(1.9rem, 7vw, 3rem);
  }

  .lead {
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero-main-media,
  .hero-copy,
  .hero-float,
  .service-card,
  .reviews-card,
  .promo-card,
  .instagram-profile,
  .master-copy,
  .contact-card,
  .map-card,
  .final-cta {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-main-media {
    padding: 12px;
  }

  .hero-main-media img {
    min-height: 420px;
  }

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

  .hero-float {
    width: min(240px, 72%);
    padding: 16px;
  }

  .hero-float-rating {
    top: 18px;
    right: 8px;
  }

  .hero-float-delivery {
    left: 6px;
    bottom: 94px;
  }

  .hero-float-kaspi {
    right: 10px;
    bottom: 12px;
  }

  .hero-actions .button,
  .contact-actions .button,
  .final-cta-actions .button {
    width: 100%;
  }

  .badge-row,
  .cta-notes {
    flex-direction: column;
    align-items: stretch;
  }

  .badge,
  .cta-notes span {
    justify-content: center;
  }

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

  .service-media {
    min-height: 220px;
  }

  .site-footer {
    flex-direction: column;
    padding-bottom: 128px;
  }

  .sticky-whatsapp {
    left: auto;
    right: 12px;
    bottom: 12px;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding: 0;
    gap: 0;
    border-radius: 50%;
  }

  .sticky-icon {
    width: 58px;
    height: 58px;
    background: transparent;
  }

  .sticky-copy,
  .sticky-copy-desktop,
  .sticky-copy-mobile {
    display: none;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: clamp(2.15rem, 11.6vw, 3rem);
    line-height: 0.96;
  }

  .hero-main-media,
  .hero-copy,
  .hero-float,
  .service-card,
  .reviews-card,
  .promo-card,
  .instagram-profile,
  .master-copy,
  .contact-card,
  .map-card,
  .final-cta {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-main-media img {
    min-height: 360px;
  }

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

  .hero-float {
    width: min(198px, 70%);
    padding: 14px;
  }

  .hero-float strong {
    font-size: 1.18rem;
  }

  .hero-float p {
    font-size: 0.92rem;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .bg-orb,
  .bg-grid,
  .parallax-layer,
  .reveal,
  .button,
  .sticky-whatsapp,
  .site-nav a,
  .header-link,
  .header-button,
  .insta-tile {
    transition: none !important;
    transform: none !important;
  }

  .reveal {
    opacity: 1 !important;
  }
}
