/* === css/styles.css === */
/* ============================================================
   REHAU Шымкент — лендинг. Дизайн-система.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Golos+Text:wght@400;500;600;700&display=swap');

:root {
  /* Brand */
  --accent:        oklch(0.58 0.215 27);    /* REHAU красный — единый акцент */
  --accent-press:  oklch(0.50 0.205 27);
  --accent-2:      oklch(0.58 0.215 27);     /* = акцент (3-цветная система) */
  --accent-2-soft: oklch(0.94 0.035 27);     /* светлый тинт акцента */

  /* Neutrals (тёплые) */
  --ink:        oklch(0.22 0.012 60);
  --ink-soft:   oklch(0.42 0.010 60);
  --ink-faint:  oklch(0.58 0.008 60);
  --line:       oklch(0.90 0.006 60);
  --line-soft:  oklch(0.94 0.005 60);
  --bg:         oklch(0.985 0.004 70);
  --surface:    oklch(1 0 0);
  --panel:      oklch(0.965 0.006 70);
  --panel-deep: oklch(0.20 0.012 60);        /* тёмные секции */

  /* Type */
  --font-display: 'Oswald', system-ui, sans-serif;
  --font-body: 'Golos Text', system-ui, sans-serif;

  /* Shape */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px oklch(0.4 0.02 60 / 0.06), 0 4px 14px oklch(0.4 0.02 60 / 0.05);
  --shadow-md: 0 6px 20px oklch(0.4 0.02 60 / 0.08), 0 18px 50px oklch(0.4 0.02 60 / 0.07);
  --shadow-lg: 0 14px 40px oklch(0.3 0.02 60 / 0.12), 0 30px 80px oklch(0.3 0.02 60 / 0.10);

  --maxw: 1200px;
  --gut: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.005em;
  margin: 0;
  text-transform: uppercase;
}

p { margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow.teal { color: var(--accent-2); }
.eyebrow.teal::before { background: var(--accent-2); }
.eyebrow.light { color: oklch(0.85 0.04 178); }
.eyebrow.light::before { background: var(--accent-2); }

.section { padding-block: clamp(64px, 9vw, 130px); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  margin-top: 16px;
}
.section-head p {
  color: var(--ink-soft);
  margin-top: 18px;
  font-size: 1.08rem;
  max-width: 60ch;
  text-wrap: pretty;
}

/* ---- Buttons ---- */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: 0;
  border-radius: 999px;
  padding: 15px 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px oklch(0.58 0.215 27 / 0.28); }
.btn-primary:hover { background: var(--accent-press); box-shadow: 0 10px 28px oklch(0.58 0.215 27 / 0.36); }
.btn-wa { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-wa:hover { background: oklch(0.30 0.012 60); box-shadow: var(--shadow-md); }
.btn-call { background: var(--surface); color: var(--accent); border: 1.5px solid var(--line); }
.btn-call:hover { border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { box-shadow: var(--shadow-md); }
.btn svg { width: 18px; height: 18px; }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.86rem; font-weight: 600;
  padding: 8px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink-soft);
}
.tag b { color: var(--accent); font-weight: 700; }

/* placeholder imagery */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg,
      oklch(0.93 0.006 70) 0 14px,
      oklch(0.96 0.005 70) 14px 28px);
  display: grid; place-items: center;
  color: var(--ink-faint);
  overflow: hidden;
}
.ph[data-dark] {
  background:
    repeating-linear-gradient(135deg,
      oklch(0.30 0.012 60) 0 14px,
      oklch(0.34 0.012 60) 14px 28px);
  color: oklch(0.72 0.01 60);
}
.ph .ph-label {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border: 1px dashed currentColor;
  border-radius: 6px;
  background: oklch(1 0 0 / 0.5);
  text-transform: none;
}
.ph[data-dark] .ph-label { background: oklch(0.2 0.01 60 / 0.4); }

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  [data-reveal].in { opacity: 1; transform: none; }
}


/* === css/sections.css === */
/* ============================================================
   REHAU Шымкент — секции
   ============================================================ */

/* ---------- HEADER ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: oklch(0.985 0.004 70 / 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.header.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 20px oklch(0.4 0.02 60 / 0.05); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 74px; }

.logo { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 700; }
.logo-img { height: 30px; width: auto; max-width: none; flex: none; object-fit: contain; display: block; }
.logo-sub { font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); padding-left: 14px; border-left: 1.5px solid var(--line); }
.logo-sub span { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.58rem; letter-spacing: 0.24em; color: var(--ink-faint); margin-top: 5px; }
.footer .logo-sub { color: #fff; border-left-color: oklch(0.4 0.012 60); }
.footer .logo-sub span { color: oklch(0.65 0.01 60); }
.logo .mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-size: 1.15rem; letter-spacing: -0.02em;
  box-shadow: 0 4px 12px oklch(0.58 0.215 27 / 0.35);
}
.logo .name { font-size: 1.3rem; letter-spacing: 0.02em; line-height: 1; }
.logo .name b { color: var(--accent); }
.logo .name span { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.28em; color: var(--ink-faint); text-transform: uppercase; margin-top: 3px; }

.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { font-weight: 500; font-size: 0.97rem; color: var(--ink-soft); padding: 9px 14px; border-radius: 9px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: var(--panel); }

.header-cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.header-cta .btn-call, .header-cta .btn-primary { min-width: 190px; justify-content: center; }
.header-phone { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: 0.01em; white-space: nowrap; }
.header-phone span { display: block; font-family: var(--font-body); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.14em; color: var(--ink-faint); text-transform: uppercase; }

.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; margin-left: auto; }
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 74px 0 0; z-index: 55;
  background: var(--bg); padding: 18px var(--gut) 40px;
  display: none; flex-direction: column; gap: 4px;
  transform: translateY(-8px); opacity: 0; transition: .25s;
}
.mobile-menu.open { display: flex; transform: none; opacity: 1; }
.mobile-menu a { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.mobile-menu .btn { margin-top: 18px; justify-content: center; }

/* ---------- HERO ---------- */
.hero { position: relative; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.6vw, 5.2rem); letter-spacing: -0.01em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .hero-lead { margin-top: 26px; font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-soft); max-width: 44ch; text-wrap: pretty; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; }

.hero-visual { position: relative; }
.hero-photo { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-badge {
  position: absolute; left: -22px; bottom: 34px;
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 18px 22px;
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line-soft);
}
.hero-badge .big { font-family: var(--font-display); font-size: 2.4rem; color: var(--accent); line-height: 1; }
.hero-badge .lbl { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.25; max-width: 13ch; }
.hero-badge.teal { left: auto; right: -18px; bottom: auto; top: 28px; }
.hero-badge.teal .big { color: var(--accent-2); }

/* ---------- LOGO STRIP ---------- */
.brands { border-block: 1px solid var(--line); background: var(--surface); }
.brands .wrap { display: flex; align-items: center; gap: clamp(20px, 5vw, 64px); flex-wrap: wrap; padding-block: 26px; }
.brands .lbl { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.brands .names { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 52px); }
.brands .names b { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--ink); letter-spacing: 0.02em; opacity: 0.72; }

/* ---------- SERVICES ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 28px; transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column; gap: 14px; min-height: 188px;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc .ico { width: 52px; height: 52px; border-radius: 13px; background: var(--accent-2-soft); color: var(--accent-2); display: grid; place-items: center; }
.svc .ico svg { width: 27px; height: 27px; }
.svc h3 { font-size: 1.18rem; text-transform: none; letter-spacing: 0; line-height: 1.15; }
.svc p { font-size: 0.92rem; color: var(--ink-soft); margin-top: auto; }

/* ---------- PROFILES ---------- */
.profiles { background: var(--panel); }
.tabs { display: inline-flex; gap: 6px; background: var(--surface); border: 1px solid var(--line); padding: 6px; border-radius: 999px; margin-bottom: 34px; }
.tabs button { font-family: var(--font-body); font-weight: 600; font-size: 0.98rem; border: 0; background: transparent; color: var(--ink-soft); padding: 11px 24px; border-radius: 999px; cursor: pointer; transition: .2s; white-space: nowrap; }
.tabs button.active { background: var(--accent); color: #fff; box-shadow: 0 6px 16px oklch(0.58 0.215 27 / 0.3); }

.prof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.prof {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: grid; grid-template-columns: 150px 1fr;
  transition: transform .2s, box-shadow .2s;
}
.prof:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.prof .prof-img { background: var(--panel-deep); }
.prof .prof-body { padding: 26px 26px 24px; }
.prof .kicker { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.prof h3 { font-size: 1.6rem; text-transform: none; letter-spacing: 0; margin-top: 6px; }
.prof .desc { color: var(--ink-soft); font-size: 0.95rem; margin-top: 10px; }
.prof .specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.prof .spec { font-size: 0.82rem; font-weight: 600; padding: 7px 12px; border-radius: 8px; background: var(--panel); color: var(--ink); }
.prof .spec b { color: var(--accent-2); }
.prof-pane { display: none; }
.prof-pane.active { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- ADVANTAGES ---------- */
.adv { background: var(--panel-deep); color: oklch(0.95 0.005 70); }
.adv .section-head h2 { color: #fff; }
.adv .section-head p { color: oklch(0.78 0.01 60); }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: oklch(0.30 0.012 60); border: 1px solid oklch(0.30 0.012 60); border-radius: var(--radius); overflow: hidden; }
.adv-item { background: var(--panel-deep); padding: 34px 30px; }
.adv-item .num { font-family: var(--font-display); font-size: 2.6rem; color: var(--accent-2); line-height: 1; }
.adv-item h3 { font-size: 1.22rem; text-transform: none; letter-spacing: 0; margin-top: 14px; color: #fff; }
.adv-item p { color: oklch(0.74 0.01 60); font-size: 0.94rem; margin-top: 8px; }

/* ---------- GALLERY ---------- */
.gal-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.gal-filter button { font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft); padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: .2s; }
.gal-filter button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.gal-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; grid-auto-flow: dense; }
.gal-item { border-radius: var(--radius); overflow: hidden; grid-column: span 4; aspect-ratio: 4/3; transition: .3s; }
.gal-item.tall { grid-row: span 2; aspect-ratio: 4/6; }
.gal-item.wide { grid-column: span 8; aspect-ratio: 8/5; }
.gal-item .ph { width: 100%; height: 100%; }
.gal-item.hide { display: none; }

/* ---------- CALCULATOR ---------- */
.calc { background: var(--accent-2-soft); }
.calc-card { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; display: grid; grid-template-columns: 1.1fr 0.9fr; }
.calc-form { padding: clamp(28px, 4vw, 48px); }
.calc-form .row { margin-bottom: 22px; }
.calc-form label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 10px; }
.opt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-soft); padding: 11px 18px; border-radius: 12px; cursor: pointer; transition: .18s; white-space: nowrap; }
.opt.active { border-color: var(--accent); background: oklch(0.58 0.215 27 / 0.06); color: var(--accent); }
.calc-form input[type=range] { width: 100%; accent-color: var(--accent); }
.dim-val { font-family: var(--font-display); font-size: 1.1rem; color: var(--accent); }
.calc-result { background: var(--panel-deep); color: #fff; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.calc-result .small { font-size: 0.86rem; letter-spacing: 0.14em; text-transform: uppercase; color: oklch(0.72 0.01 60); font-weight: 600; }
.calc-result .price { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 3.6rem); color: #fff; line-height: 1; margin: 14px 0; }
.calc-result .price span { color: var(--accent-2); }
.calc-result .note { font-size: 0.86rem; color: oklch(0.7 0.01 60); margin-bottom: 22px; }
.calc-result .badge-soon { display: inline-flex; align-self: flex-start; gap: 7px; align-items: center; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-2); background: oklch(0.63 0.105 178 / 0.14); padding: 6px 12px; border-radius: 999px; margin-bottom: 20px; }

/* ---------- LEAD FORM ---------- */
.lead { background: var(--accent); color: #fff; }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.lead h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); }
.lead .eyebrow { color: oklch(0.92 0.05 27); }
.lead .eyebrow::before { background: oklch(0.92 0.05 27); }
.lead p { color: oklch(0.93 0.03 27); margin-top: 18px; font-size: 1.05rem; max-width: 42ch; }
.lead-list { margin-top: 26px; display: grid; gap: 12px; }
.lead-list li { display: flex; gap: 12px; align-items: center; list-style: none; font-weight: 500; }
.lead-list { padding: 0; }
.lead-list .ck { width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--accent); display: grid; place-items: center; flex: none; font-size: 0.8rem; }
.form-card { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.form-card h3 { color: var(--ink); font-size: 1.5rem; text-transform: none; letter-spacing: 0; }
.form-card .sub { color: var(--ink-soft); font-size: 0.95rem; margin-top: 8px; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px oklch(0.58 0.215 27 / 0.12); }
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-card .tiny { font-size: 0.78rem; color: var(--ink-faint); text-align: center; margin-top: 14px; }
.form-ok { text-align: center; padding: 30px 10px; display: none; }
.form-ok.show { display: block; }
.form-ok .big-ck { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-2-soft); color: var(--accent-2); display: grid; place-items: center; margin: 0 auto 18px; }
.form-ok h3 { color: var(--ink); }
.form-ok p { color: var(--ink-soft); margin-top: 10px; }

/* ---------- CONTACTS ---------- */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.contact-card h3 { font-size: 1.1rem; text-transform: none; letter-spacing: 0; color: var(--ink-faint); font-weight: 600; font-family: var(--font-body); }
.contact-card .person { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.contact-card .av { width: 46px; height: 46px; border-radius: 50%; background: var(--accent-2-soft); color: var(--accent-2); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.1rem; flex: none; }
.contact-card .person .nm { font-size: 0.85rem; color: var(--ink-faint); }
.contact-card .person a { font-family: var(--font-display); font-size: 1.45rem; display: block; line-height: 1.1; }
.contact-card .addr { font-size: 1.05rem; line-height: 1.5; margin-top: 6px; }
.contact-card .map { margin-top: 18px; aspect-ratio: 16/8; border-radius: var(--radius-sm); }
.contact-card .hours { margin-top: 18px; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- FOOTER ---------- */
.footer { background: var(--panel-deep); color: oklch(0.78 0.01 60); padding-block: clamp(48px, 6vw, 72px) 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 38px; border-bottom: 1px solid oklch(0.3 0.012 60); }
.footer .logo .name { color: #fff; }
.footer .logo .name b { color: oklch(0.7 0.16 27); }
.footer h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--font-body); margin-bottom: 16px; }
.footer a { display: block; padding: 5px 0; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer .col p { margin-top: 14px; font-size: 0.95rem; max-width: 32ch; }
.footer-bot { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.84rem; color: oklch(0.6 0.01 60); }

/* ---------- FLOATING WA ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 50; width: 60px; height: 60px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: 0 10px 30px oklch(0.58 0.215 27 / 0.42); cursor: pointer; transition: transform .2s; animation: fabpulse 2.6s infinite; }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 32px; height: 32px; }
@keyframes fabpulse { 0%,100% { box-shadow: 0 10px 30px oklch(0.58 0.215 27 / 0.42); } 50% { box-shadow: 0 10px 30px oklch(0.58 0.215 27 / 0.42), 0 0 0 12px oklch(0.58 0.215 27 / 0.10); } }

/* ---------- CONCEPT NAV (переключатель A / B / C) ---------- */
.concept-nav {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%);
  z-index: 80; display: inline-flex; align-items: center; gap: 4px;
  background: var(--ink); color: #fff; padding: 5px 8px 5px 15px; border-radius: 999px;
  box-shadow: var(--shadow-md);
}
.concept-nav .cn-label { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: oklch(0.7 0.01 60); padding-right: 4px; }
.concept-nav a { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: #fff; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; transition: background .2s; }
.concept-nav a:hover { background: oklch(1 0 0 / 0.14); }
.concept-nav a.active { background: var(--accent); }
@media (max-width: 1080px) { .concept-nav { display: none; } }

/* ---------- CONCEPT LINK (legacy) ---------- */
.concept-link {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 80; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.82rem;
  background: var(--ink); color: #fff; padding: 9px 18px; border-radius: 999px;
  box-shadow: var(--shadow-md); transition: transform .2s; white-space: nowrap;
}
.concept-link:hover { transform: translateX(-50%) translateY(-2px); }
.concept-link b { color: oklch(0.8 0.12 27); font-weight: 700; }
@media (max-width: 1080px) { .concept-link { display: none; } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .header-phone { display: none; }
  .burger { display: flex; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; order: -1; }
  .prof-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .calc-card { grid-template-columns: 1fr; }
  .lead-grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .header-phone { display: none; }
  .burger { display: flex; }
  .header-cta .btn-ghost { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .svc { padding: 20px 18px; min-height: 0; }
  .svc .ico { width: 46px; height: 46px; }
  .prof { grid-template-columns: 1fr; }
  .prof .prof-img { aspect-ratio: 16/9; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-item, .gal-item.wide, .gal-item.tall { grid-column: span 1; grid-row: span 1; aspect-ratio: 1/1; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .hero-badge { left: 0; }
  .hero-badge.teal { right: 0; }
  .btn-call .btn-call-txt { display: none; }
  .btn-call { padding: 13px; }
  .header-cta .btn-call, .header-cta .btn-primary { min-width: 0; }
  .logo-sub { display: none; }
  .header-inner { gap: 12px; }
  .header-cta { gap: 8px; }
}


/* === css/theme-v2.css === */
/* ============================================================
   REHAU Шымкент — Вариант 2: фирменная палитра REHAU
   (бирюзово-зелёный + магента + графит).
   Активируется через <html data-theme="rehau">.
   ============================================================ */

[data-theme="rehau"] {
  --accent:        oklch(0.60 0.105 168);   /* REHAU бирюза — единый акцент */
  --accent-press:  oklch(0.52 0.100 168);
  --accent-2:      oklch(0.60 0.105 168);    /* = акцент */
  --accent-2-soft: oklch(0.95 0.030 168);    /* светлый тинт */
  --panel-deep:    oklch(0.29 0.008 220);    /* графит */
}

/* кнопки */
[data-theme="rehau"] .btn-primary { box-shadow: 0 8px 22px oklch(0.60 0.105 168 / 0.30); }
[data-theme="rehau"] .btn-primary:hover { box-shadow: 0 10px 28px oklch(0.60 0.105 168 / 0.38); }

/* табы / опции калькулятора */
[data-theme="rehau"] .tabs button.active { box-shadow: 0 6px 16px oklch(0.60 0.105 168 / 0.30); }
[data-theme="rehau"] .opt.active { background: oklch(0.60 0.105 168 / 0.08); }

/* фокус полей формы */
[data-theme="rehau"] .field input:focus,
[data-theme="rehau"] .field select:focus,
[data-theme="rehau"] .field textarea:focus { box-shadow: 0 0 0 3px oklch(0.60 0.105 168 / 0.14); }

/* секция заявки (фон = бирюза) — светлые подписи */
[data-theme="rehau"] .lead .eyebrow { color: oklch(0.92 0.05 168); }
[data-theme="rehau"] .lead .eyebrow::before { background: oklch(0.92 0.05 168); }
[data-theme="rehau"] .lead p { color: oklch(0.94 0.03 168); }
[data-theme="rehau"] .lead-list .ck { color: var(--accent); }

/* акцент-штрих под эйбрау на тёмной секции — бирюза */
[data-theme="rehau"] .eyebrow.light { color: oklch(0.82 0.10 168); }
[data-theme="rehau"] .fab { box-shadow: 0 10px 30px oklch(0.60 0.105 168 / 0.42); }

/* ============================================================
   Вариант 3: «Антрацит» — графит RAL 7016 + латунно-песочный акцент.
   Активируется через data-theme="anthracite".
   ============================================================ */
[data-theme="anthracite"] {
  --accent:        oklch(0.58 0.075 75);     /* латунь / песок — акцент */
  --accent-press:  oklch(0.50 0.072 75);
  --accent-2:      oklch(0.58 0.075 75);
  --accent-2-soft: oklch(0.94 0.028 80);
  --panel-deep:    oklch(0.28 0.006 250);    /* антрацит */
  --ink:           oklch(0.26 0.008 250);
}
[data-theme="anthracite"] .btn-primary { box-shadow: 0 8px 22px oklch(0.58 0.075 75 / 0.30); }
[data-theme="anthracite"] .btn-primary:hover { box-shadow: 0 10px 28px oklch(0.58 0.075 75 / 0.38); }
[data-theme="anthracite"] .tabs button.active { box-shadow: 0 6px 16px oklch(0.58 0.075 75 / 0.30); }
[data-theme="anthracite"] .opt.active { background: oklch(0.58 0.075 75 / 0.08); }
[data-theme="anthracite"] .field input:focus,
[data-theme="anthracite"] .field select:focus,
[data-theme="anthracite"] .field textarea:focus { box-shadow: 0 0 0 3px oklch(0.58 0.075 75 / 0.14); }
[data-theme="anthracite"] .lead .eyebrow { color: oklch(0.90 0.05 80); }
[data-theme="anthracite"] .lead .eyebrow::before { background: oklch(0.90 0.05 80); }
[data-theme="anthracite"] .lead p { color: oklch(0.93 0.03 80); }
[data-theme="anthracite"] .lead-list .ck { color: var(--accent); }
[data-theme="anthracite"] .eyebrow.light { color: oklch(0.80 0.08 80); }
[data-theme="anthracite"] .fab { box-shadow: 0 10px 30px oklch(0.58 0.075 75 / 0.42); }

/* ============================================================
   Переключатель вариантов (инструмент для сравнения).
   Перед публикацией можно удалить блок .theme-switch из HTML.
   ============================================================ */
.theme-switch {
  position: fixed; left: 22px; bottom: 22px; z-index: 50;
  display: flex; align-items: center; gap: 4px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px; box-shadow: var(--shadow-md);
}
.theme-switch .ts-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-faint); padding: 0 6px 0 12px;
}
.theme-switch button {
  font-family: var(--font-body); font-weight: 600; font-size: 0.85rem;
  border: 0; background: transparent; color: var(--ink-soft);
  padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: .2s;
}
.theme-switch button:hover { color: var(--ink); }
.theme-switch button.active { background: var(--accent); color: #fff; }
@media (max-width: 600px) {
  .theme-switch { left: 12px; bottom: 12px; padding: 4px; gap: 2px; }
  .theme-switch .ts-label { display: none; }
  .theme-switch button { padding: 7px 13px; font-size: 0.8rem; }
}


/* === css/concept-c.css === */
/* ============================================================
   REHAU Шымкент — КОНЦЕПТ C (bento / модульная сетка)
   Использует токены и утилиты из styles.css + sections.css + theme-v2.css.
   ============================================================ */

/* ---------- HEADER ---------- */
.ch { position: sticky; top: 0; z-index: 60; background: var(--bg); transition: box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.ch.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 20px oklch(0.4 0.02 60 / 0.05); }
.ch-inner { display: flex; align-items: center; gap: 22px; height: 76px; }
.ch .logo-img { height: 28px; }
.ch-nav { display: flex; gap: 4px; margin-inline: auto; background: var(--surface); border: 1px solid var(--line); padding: 5px; border-radius: 999px; }
.ch-nav a { font-weight: 500; font-size: 0.92rem; color: var(--ink-soft); padding: 9px 16px; border-radius: 999px; transition: .2s; }
.ch-nav a:hover { color: var(--ink); background: var(--panel); }
.ch-cta { display: flex; align-items: center; gap: 12px; }
.ch-cta .btn-call, .ch-cta .btn-primary { min-width: 190px; justify-content: center; }

/* ---------- generic bento tile ---------- */
.bento { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 2.6vw, 34px); position: relative; overflow: hidden; }
.bento.dark { background: var(--panel-deep); color: #fff; border-color: transparent; }
.bento.accent { background: var(--accent); color: #fff; border-color: transparent; }
.bento.pad0 { padding: 0; }
.bento-section { padding-block: clamp(28px, 4vw, 56px); }

/* ---------- HERO bento ---------- */
.bento-hero { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(120px, auto); gap: 14px; padding-top: clamp(20px, 3vw, 34px); grid-template-areas: "head head photo photo" "head head photo photo" "s1 s2 cta cta"; }
.bh-headline { grid-area: head; display: flex; flex-direction: column; justify-content: center; }
.bh-headline h1 { font-size: clamp(2.2rem, 4.2vw, 3.8rem); letter-spacing: -0.01em; }
.bh-headline h1 em { font-style: normal; color: var(--accent); }
.bh-headline .lead { background: none; margin-top: 18px; color: var(--ink-soft); font-size: 1.05rem; max-width: 40ch; text-wrap: pretty; }
.bh-headline .row { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.bh-photo { grid-area: photo; }
.bh-photo .ph { position: absolute; inset: 0; }
.bh-s1 { grid-area: s1; }
.bh-s2 { grid-area: s2; }
.bh-stat { display: flex; flex-direction: column; justify-content: center; }
.bh-stat .n { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; }
.bh-stat .t { font-size: 0.9rem; margin-top: 8px; opacity: .9; }
.bh-stat.accent .n, .bh-stat.dark .n { color: #fff; }
.bh-cta-tile { grid-area: cta; display: flex; align-items: center; gap: 18px; position: relative; overflow: visible; }
.bh-cta-tile .gift-ico { width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center; background: color-mix(in oklab, var(--accent) 14%, transparent); color: var(--accent); }
.bh-cta-tile .gift-ico svg { width: 28px; height: 28px; }
.bh-cta-tile .txt { font-family: var(--font-display); font-size: 1.3rem; text-transform: uppercase; line-height: 1.05; }
.bh-cta-tile .gift-badge {
  position: absolute; top: -10px; right: 16px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; background: var(--accent); padding: 6px 13px; border-radius: 999px;
  box-shadow: 0 6px 16px color-mix(in oklab, var(--accent) 40%, transparent);
  transform: rotate(3deg);
}
.bh-cta-tile .gift-badge::before { content: "🎁"; margin-right: 5px; }

/* ---------- SECTION HEAD inline ---------- */
.c-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.c-head h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.c-head p { color: var(--ink-soft); max-width: 44ch; text-wrap: pretty; }

/* ---------- SERVICES bento ---------- */
.svc-c { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.svc-c .bento { display: flex; flex-direction: column; gap: 12px; min-height: 150px; transition: transform .2s, box-shadow .2s; }
.svc-c .bento:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.svc-c .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-2-soft); color: var(--accent); display: grid; place-items: center; }
.svc-c .bento.accent .ico { background: oklch(1 0 0 / 0.16); color: #fff; }
.svc-c .ico svg { width: 25px; height: 25px; }
.svc-c h3 { font-size: 1.12rem; text-transform: none; line-height: 1.15; margin-top: auto; }
.svc-c p { font-size: 0.9rem; color: var(--ink-soft); }
.svc-c .bento.accent p { color: oklch(0.95 0.02 27); }
.svc-c .wide { grid-column: span 2; }

/* ---------- PROFILES bento 2x2 ---------- */
.prof-c { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.prof-c .bento { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; padding: 0; overflow: hidden; }
.prof-c .pc-media { align-self: stretch; background: var(--panel-deep); min-height: 150px; }
.prof-c .pc-body { padding: 24px 24px 24px 0; }
.prof-c .kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.prof-c h3 { font-size: 1.4rem; text-transform: none; margin-top: 6px; }
.prof-c .specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.prof-c .spec { font-size: 0.8rem; font-weight: 600; padding: 6px 11px; border-radius: 8px; background: var(--panel); }

/* ---------- ADVANTAGES — accent band ---------- */
.adv-c { background: var(--accent); color: #fff; }
.adv-c .eyebrow { color: oklch(0.92 0.05 27); }
.adv-c .eyebrow::before { background: oklch(0.92 0.05 27); }
.adv-c h2 { color: #fff; }
.adv-c-head h2 { font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -0.015em; }
.adv-c-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.adv-c-grid .bento { background: oklch(1 0 0 / 0.10); border-color: oklch(1 0 0 / 0.18); color: #fff; }
.adv-c-grid .num { font-family: var(--font-display); font-size: 3rem; line-height: 1; }
.adv-c-grid h3 { color: #fff; text-transform: none; font-size: 1.2rem; margin-top: 10px; }
.adv-c-grid p { color: oklch(0.95 0.03 27); font-size: 0.94rem; margin-top: 8px; }

/* ---------- GALLERY bento ---------- */
.gal-c { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 160px; gap: 14px; grid-auto-flow: dense; }
.gal-c .gal-item { grid-column: span 1; grid-row: span 1; aspect-ratio: auto; border-radius: var(--radius-lg); overflow: hidden; }
.gal-c .gal-item.big { grid-column: span 2; grid-row: span 2; }
.gal-c .gal-item.tall { grid-column: span 1; grid-row: span 2; }
.gal-c .gal-item .ph { width: 100%; height: 100%; }
.gal-c .gal-item.hide { display: none; }

/* ---------- LEAD + CONTACTS bento ---------- */
.cc-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 14px; align-items: stretch; }
.cc-grid .form-card { border-radius: var(--radius-lg); border: 1px solid var(--line); }
.cc-side { display: grid; grid-template-rows: auto auto; gap: 14px; }
.cc-side .bento.dark h3 { color: #fff; text-transform: none; font-family: var(--font-body); font-size: 1.05rem; color: oklch(0.7 0.01 60); font-weight: 600; }
.cc-side .person { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.cc-side .av { position: relative; width: 48px; height: 48px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.2rem; flex: none; box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.16), 0 4px 12px oklch(0 0 0 / 0.3); }
.cc-side .av-z { background: linear-gradient(145deg, var(--accent), color-mix(in oklab, var(--accent) 55%, #000)); }
.cc-side .av-yu { background: linear-gradient(145deg, oklch(0.62 0.12 250), oklch(0.42 0.10 250)); }
.cc-side .av-dot { position: absolute; right: -1px; bottom: -1px; width: 13px; height: 13px; border-radius: 50%; background: #25D366; box-shadow: 0 0 0 2.5px var(--panel-deep); }
.cc-side .person .nm { font-size: 0.82rem; color: oklch(0.65 0.01 60); }
.cc-side .person a { font-family: var(--font-display); font-size: 1.3rem; color: #fff; display: block; line-height: 1.1; }
.cc-side .addr { color: #fff; line-height: 1.5; margin-top: 6px; }
.cc-side .hours { color: oklch(0.7 0.01 60); font-size: 0.92rem; margin-top: 14px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
  .ch-nav { display: none; }
  .ch-cta { margin-left: auto; }
  .ch .burger { display: flex; }
  .bento-hero { grid-template-columns: repeat(2, 1fr); grid-template-areas: "head head" "photo photo" "s1 s2" "cta cta"; }
  .bh-photo { min-height: 280px; }
  .svc-c { grid-template-columns: repeat(2, 1fr); }
  .prof-c { grid-template-columns: 1fr; }
  .adv-c-grid { grid-template-columns: 1fr; }
  .gal-c { grid-template-columns: repeat(2, 1fr); }
  .cc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .svc-c { grid-template-columns: 1fr; }
  .svc-c .wide { grid-column: span 1; }
  .gal-c { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gal-c .gal-item.big { grid-column: span 1; grid-row: span 1; }
  .prof-c .bento { grid-template-columns: 1fr; }
  .prof-c .pc-media { min-height: 160px; }
  .prof-c .pc-body { padding: 22px; }
  .ch .logo-sub { display: none; }
  .ch-call .btn-call-txt { display: none; }
  .ch-call { padding: 13px; }
  .ch-cta .btn-call, .ch-cta .btn-primary { min-width: 0; }
}


/* === css/concept-c-premium.css === */
/* ============================================================
   REHAU Шымкент — КОНЦЕПТ C · PREMIUM-слой
   Поднимает «дороговизну» за счёт света, теней, воздуха и
   типографики. Новых цветов не вводит — хайрлайны берут --accent.
   ============================================================ */

/* ---------- больше воздуха ---------- */
.bento-section { padding-block: clamp(40px, 5.5vw, 86px); }
.bento-hero { gap: 18px; }
.svc-c, .prof-c, .adv-c-grid, .cc-grid { gap: 18px; }

/* ---------- утончённые эйбрау ---------- */
.c-head .eyebrow, .adv-c .eyebrow { letter-spacing: 0.2em; font-size: 0.78rem; }
.c-head h2 { letter-spacing: -0.015em; }

/* хайрлайн-разделитель под заголовком секции */
.c-head { position: relative; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.adv-c .c-head, .adv-c [data-reveal]:first-child { border: 0; }

/* ---------- bento: многослойные мягкие тени + стеклянный блик ---------- */
.bento {
  border-radius: 22px;
  box-shadow:
    0 1px 0 oklch(1 0 0 / 0.6) inset,
    0 1px 2px oklch(0.3 0.02 60 / 0.04),
    0 8px 24px oklch(0.3 0.02 60 / 0.05);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s cubic-bezier(.2,.7,.2,1), border-color .35s;
}
.bento.dark, .bento.accent { box-shadow: 0 10px 30px oklch(0.2 0.02 60 / 0.16); }

/* верхний световой блик на тёмных/акцентных плитках */
.bento.dark::after, .bento.accent::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 80% at 85% -10%, oklch(1 0 0 / 0.14), transparent 60%),
    linear-gradient(180deg, oklch(1 0 0 / 0.06), transparent 30%);
}

/* ---------- HERO: премиальная типографика ---------- */
.bh-headline h1 { font-size: clamp(2.3rem, 4.4vw, 4.1rem); letter-spacing: -0.02em; line-height: 0.98; }
.bh-headline h1 em { position: relative; }
.bh-headline .lead { font-size: 1.08rem; line-height: 1.65; }

/* фото-плитка: лёгкое затемнение по краю + внутренняя рамка */
.bh-photo { box-shadow: 0 18px 50px oklch(0.25 0.02 60 / 0.16); }
.bh-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.10);
  background: linear-gradient(180deg, transparent 55%, oklch(0.2 0.01 60 / 0.18));
  border-radius: inherit;
}

/* статы: крупнее цифра, тонкая подпись */
.bh-stat .n { font-size: clamp(2.2rem, 3.6vw, 3.1rem); letter-spacing: -0.01em; }
.bh-stat .t { letter-spacing: 0.01em; opacity: .82; }

/* CTA-плитка: тонкая верхняя акцент-линия */
.bh-cta-tile { border-top: 2px solid var(--accent); }

/* ---------- SERVICES: микро-анимации ---------- */
.svc-c .bento { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s cubic-bezier(.2,.7,.2,1); }
.svc-c .bento:hover { transform: translateY(-5px); box-shadow: 0 18px 44px oklch(0.3 0.02 60 / 0.12); }
.svc-c .ico { transition: transform .35s cubic-bezier(.2,.7,.2,1), background .3s; border-radius: 14px; }
.svc-c .bento:hover .ico { transform: scale(1.08) rotate(-3deg); }
.svc-c h3 { letter-spacing: -0.01em; }
/* стрелка-индикатор появляется при наведении */
.svc-c .bento::before {
  content: "→"; position: absolute; top: 22px; right: 22px;
  font-size: 1.1rem; color: var(--accent); opacity: 0; transform: translateX(-6px);
  transition: opacity .3s, transform .3s;
}
.svc-c .bento.accent::before { color: #fff; }
.svc-c .bento:hover::before { opacity: 1; transform: none; }

/* ---------- PROFILES: премиальные детали ---------- */
.prof-c .bento { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s cubic-bezier(.2,.7,.2,1); }
.prof-c .bento:hover { transform: translateY(-4px); box-shadow: 0 20px 50px oklch(0.3 0.02 60 / 0.13); }
.prof-c .pc-media { position: relative; }
.prof-c .pc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, oklch(1 0 0 / 0.06)); }
.prof-c h3 { letter-spacing: -0.01em; }
.prof-c .spec { border: 1px solid var(--line); background: var(--surface); transition: border-color .25s, color .25s; }
.prof-c .bento:hover .spec { border-color: oklch(0.85 0.02 60); }

/* ---------- ADVANTAGES: блик и крупные цифры ---------- */
.adv-c-grid .num { font-size: clamp(3rem, 5vw, 4rem); letter-spacing: -0.02em; }
.adv-c-grid .bento { backdrop-filter: blur(2px); }

/* ---------- GALLERY: мягкий зум и затемнение ---------- */
.gal-c .gal-item { position: relative; box-shadow: 0 8px 24px oklch(0.3 0.02 60 / 0.06); }
.gal-c .gal-item .ph { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gal-c .gal-item:hover .ph { transform: scale(1.05); }
.gal-c .gal-item::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.06); border-radius: inherit; pointer-events: none; }

/* ---------- PROCESS «Этапы работы» ---------- */
.proc-c { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 8px; counter-reset: step; }
.proc-step { position: relative; padding-top: 30px; }
.proc-step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-size: 0.92rem; font-weight: 600;
  color: var(--accent); letter-spacing: 0.08em;
}
.proc-step .bar { height: 2px; background: var(--line); margin: 14px 0 18px; position: relative; overflow: hidden; }
.proc-step .bar::after { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 36%; background: var(--accent); }
.proc-step h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; text-transform: none; letter-spacing: -0.01em; }
.proc-step p { color: var(--ink-soft); font-size: 0.92rem; margin-top: 8px; text-wrap: pretty; }

/* ---------- PARTNERS strip ---------- */
.partners-c { display: flex; align-items: center; gap: clamp(20px, 4vw, 56px); flex-wrap: wrap; padding: 26px clamp(22px,2.6vw,34px); }
.partners-c .lbl { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.partners-c .names { display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 44px); align-items: center; }
.partners-c .names b { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: 0.02em; color: var(--ink); opacity: 0.55; transition: opacity .25s; }
.partners-c .names b:hover { opacity: 0.9; }

@media (max-width: 1000px) {
  .proc-c { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .proc-c { grid-template-columns: 1fr; }
  .prof-c .bento { grid-template-columns: 1fr; }
  .prof-c .pc-media { min-height: 150px; }
}


/* === css/concept-c-deluxe.css === */
/* ============================================================
   REHAU Шымкент — КОНЦЕПТ C · DELUXE-слой
   Дизайнерские детали «инженерной точности»: чертёжная сетка,
   кроп-марки, акцентные узлы разделителей, подсветка, бегущая
   строка партнёров. Новых цветов нет — всё на --accent.
   ============================================================ */

/* ---------- чертёжная микро-сетка в просветах макета ---------- */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(color-mix(in oklab, var(--accent) 38%, transparent) 1px, transparent 1.4px);
  background-size: 30px 30px;
  opacity: 0.05;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}

/* ---------- фирменный акцентный сегмент на разделителе секции ---------- */
.c-head { position: relative; }
.c-head::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 58px; height: 2px; background: var(--accent); border-radius: 2px;
}

/* ---------- HERO: подсветка-ореол + кроп-марки на фото ---------- */
.bh-headline h1 { line-height: 1.08; }
.bh-headline .lead { margin-top: 26px; }
.bh-photo { position: relative; isolation: isolate; }
.bh-photo::before {
  content: ""; position: absolute; inset: -14% -10% -10% -6%; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 60% at 70% 30%, color-mix(in oklab, var(--accent) 40%, transparent) 0%, transparent 70%);
  filter: blur(26px); opacity: 0.5;
}
/* угловые метки-кропмарки (4 угла) */
.bh-photo .ph::after {
  content: ""; position: absolute; inset: 12px; z-index: 4; pointer-events: none;
  background:
    linear-gradient(var(--accent),var(--accent)) left top/16px 2px no-repeat,
    linear-gradient(var(--accent),var(--accent)) left top/2px 16px no-repeat,
    linear-gradient(var(--accent),var(--accent)) right top/16px 2px no-repeat,
    linear-gradient(var(--accent),var(--accent)) right top/2px 16px no-repeat,
    linear-gradient(var(--accent),var(--accent)) left bottom/16px 2px no-repeat,
    linear-gradient(var(--accent),var(--accent)) left bottom/2px 16px no-repeat,
    linear-gradient(var(--accent),var(--accent)) right bottom/16px 2px no-repeat,
    linear-gradient(var(--accent),var(--accent)) right bottom/2px 16px no-repeat;
  opacity: 0.9;
}

/* ---------- статы: тонкий уголок-индекс ---------- */
.bh-stat { position: relative; overflow: hidden; }
.bh-stat .n { position: relative; z-index: 1; }

/* ---------- CTA-плитка: мини-печать «гарантия» ---------- */
.bh-cta-tile { position: relative; }

/* ---------- PARTNERS: бегущая строка ---------- */
.partners-c { overflow: hidden; }
.partners-c .names { flex-wrap: nowrap; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); flex: 1; }
.partners-c .marquee { display: flex; gap: clamp(18px, 3vw, 44px); align-items: center; animation: c-marquee 26s linear infinite; padding-left: clamp(18px, 3vw, 44px); }
.partners-c:hover .marquee { animation-play-state: paused; }
.partners-c .marquee b { white-space: nowrap; }
@keyframes c-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .partners-c .marquee { animation: none; } }

/* ---------- ADVANTAGES: тонкая рамка-кант на тёмной/акцентной секции ---------- */
.adv-c { position: relative; }
.adv-c::after {
  content: ""; position: absolute; inset: 14px; pointer-events: none; border-radius: 18px;
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.14);
}
.adv-c > .wrap { position: relative; z-index: 1; }

/* ---------- секции-числа: деликатный индекс у заголовка ---------- */
.c-head .eyebrow { position: relative; }

/* ---------- кнопки: премиальный «сатиновый» блик ---------- */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, oklch(1 0 0 / 0.28), transparent);
  transform: skewX(-18deg); transition: none;
}
.btn-primary:hover::after { animation: c-sheen .8s ease; }
@keyframes c-sheen { from { left: -120%; } to { left: 140%; } }

/* реальное фото-сечение профиля */
.prof-c .pc-media.pc-photo { padding: 0; }
.prof-c .pc-media.pc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* фото объекта в герое */
.bh-photo .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- PROFILE CROSS-SECTION иллюстрации ---------- */
.prof-c .bento { grid-template-columns: 164px 1fr; }
.prof-c .pc-media { position: relative; display: grid; place-items: center; padding: 14px; overflow: hidden; }
.prof-x { width: min(82%, 240px); height: auto; display: block; color: oklch(0.84 0.012 250); }
.prof-x .ln { stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; fill: none; }
.prof-x .pane { fill: oklch(1 0 0 / 0.08); stroke: currentColor; stroke-width: 2; }
.prof-x .acc { stroke: var(--accent); stroke-width: 2; fill: color-mix(in oklab, var(--accent) 30%, transparent); }
.prof-c .bento:hover .prof-x { color: #fff; }
.prof-c .pc-media .pc-cap {
  position: absolute; left: 14px; bottom: 12px; z-index: 3;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 0.7rem; letter-spacing: 0.03em; color: oklch(0.74 0.012 250);
  background: oklch(0.16 0.01 250 / 0.45); border: 1px dashed oklch(0.5 0.01 250 / 0.7);
  padding: 4px 9px; border-radius: 6px;
}

/* ============================================================
   ФАКТУРА ПЛИТОК — объём и «чертёжная» сетка без смены цвета
   ============================================================ */

/* светлые плитки: мягкое угловое свечение акцента + световой объём */
.bento {
  background-image:
    radial-gradient(135% 115% at 100% 0%, color-mix(in oklab, var(--accent) 9%, transparent) 0%, transparent 42%),
    linear-gradient(150deg, oklch(1 0 0 / 0.55) 0%, transparent 24%);
}

/* тёмные плитки: содержимое над фактурой */
.bento.dark > *, .bh-stat.accent > * { position: relative; z-index: 1; }

/* инженерная микро-сетка из угла на тёмных плитках */
.bento.dark::before, .bh-stat.accent::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; z-index: 0;
  background-image:
    linear-gradient(oklch(1 0 0 / 0.10) 1px, transparent 1px),
    linear-gradient(90deg, oklch(1 0 0 / 0.10) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(105% 135% at 100% 0%, #000, transparent 80%);
          mask-image: radial-gradient(105% 135% at 100% 0%, #000, transparent 80%);
}

/* плитка-заголовок героя: деликатная чертёжная сетка + световой угол */
.bh-headline { position: relative; overflow: hidden; }
.bh-headline > * { position: relative; z-index: 1; }
.bh-headline::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(color-mix(in oklab, var(--accent) 22%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklab, var(--accent) 22%, transparent) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.10;
  -webkit-mask-image: radial-gradient(80% 90% at 100% 100%, #000, transparent 72%);
          mask-image: radial-gradient(80% 90% at 100% 100%, #000, transparent 72%);
}

/* акцентный блок преимуществ: светлая сетка, уходящая из верхнего угла */
.adv-c::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(oklch(1 0 0 / 0.07) 1px, transparent 1px),
    linear-gradient(90deg, oklch(1 0 0 / 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(120% 130% at 100% 0%, #000, transparent 78%);
          mask-image: radial-gradient(120% 130% at 100% 0%, #000, transparent 78%);
}

/* === КАРТА в контактах === */
.map-embed { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid oklch(1 0 0 / 0.12); background: oklch(0.3 0.01 250); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.25) contrast(1.02); }
.map-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; font-size: 0.92rem; color: var(--accent); }
.map-link svg { width: 16px; height: 16px; transition: transform .2s; }
.map-link:hover svg { transform: translateX(3px); }

/* === ADVANTAGES «инженерный сертификат» === */
.adv-c { overflow: hidden; }
.adv-c > .wrap { position: relative; z-index: 2; }

/* строка гарантийных чипов под плитками */
.adv-foot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; padding-top: 26px; border-top: 1px solid oklch(1 0 0 / 0.18); }
.adv-chip { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 0.92rem; color: #fff; }
.adv-chip svg { width: 19px; height: 19px; color: oklch(1 0 0 / 0.85); flex: none; }
.adv-chip + .adv-chip { padding-left: 12px; border-left: 1px solid oklch(1 0 0 / 0.18); }
@media (max-width: 700px) {
  .adv-chip + .adv-chip { padding-left: 0; border-left: 0; }
  .adv-foot { gap: 12px 18px; }
}

/* шапка блока: заголовок + печать-сертификат */
.adv-c-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.adv-seal {
  flex: none; text-align: center; color: #fff;
  border: 1px solid oklch(1 0 0 / 0.32); border-radius: 50%;
  width: 168px; height: 168px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px; padding: 16px;
  position: relative; box-shadow: inset 0 0 0 5px oklch(1 0 0 / 0.10);
  transform: rotate(-7deg);
}
.adv-seal-top, .adv-seal-bot { font-family: var(--font-body); font-weight: 600; font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: oklch(1 0 0 / 0.85); max-width: 16ch; line-height: 1.25; }
.adv-seal-main { font-family: var(--font-display); font-weight: 700; font-size: 3.4rem; line-height: 0.9; }
.adv-seal::before { content: "★"; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); font-size: 0.7rem; color: oklch(1 0 0 / 0.6); }

/* плитки-преимущества: индекс + единицы у цифры + угловые метки */
.adv-c-grid .bento { position: relative; padding-top: 30px; }
.adv-idx { position: absolute; top: 16px; right: 18px; font-family: ui-monospace, Menlo, monospace; font-size: 0.74rem; letter-spacing: 0.06em; color: oklch(1 0 0 / 0.5); }
.adv-c-grid .num { display: flex; align-items: baseline; gap: 8px; }
.adv-c-grid .num i { font-family: var(--font-body); font-style: normal; font-weight: 600; font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; color: oklch(1 0 0 / 0.78); }
/* угловые координатные метки на плитках */
.adv-c-grid .bento::after {
  content: ""; position: absolute; left: 14px; bottom: 14px; width: 14px; height: 14px; pointer-events: none;
  background:
    linear-gradient(oklch(1 0 0 / 0.4), oklch(1 0 0 / 0.4)) left bottom/14px 1.5px no-repeat,
    linear-gradient(oklch(1 0 0 / 0.4), oklch(1 0 0 / 0.4)) left bottom/1.5px 14px no-repeat;
}

@media (max-width: 560px) {
  .adv-seal { width: 130px; height: 130px; }
  .adv-seal-main { font-size: 2.6rem; }
}

/* лёгкая диагональная «штриховка» в просвете секции профилей и услуг —
   едва заметная, добавляет ритм фону за плитками */
#c-services::before, #c-gallery::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background-image: repeating-linear-gradient(135deg,
    color-mix(in oklab, var(--accent) 30%, transparent) 0 1px,
    transparent 1px 12px);
  opacity: 0.035;
  -webkit-mask-image: radial-gradient(70% 90% at 0% 100%, #000, transparent 65%);
          mask-image: radial-gradient(70% 90% at 0% 100%, #000, transparent 65%);
}
#c-services, #c-gallery { position: relative; }

/* === ОТЗЫВЫ в стиле WhatsApp === */
.wa-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.wa-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.wa-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.wa-top {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px; background: #075E54; color: #fff;
}
[data-theme="anthracite"] .wa-top { background: oklch(0.30 0.01 250); }
.wa-av {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem;
  background: linear-gradient(140deg, var(--c1), var(--c2));
}
.wa-id { display: flex; flex-direction: column; line-height: 1.2; }
.wa-id b { font-weight: 600; font-size: 1rem; }
.wa-id span { font-size: 0.76rem; color: oklch(1 0 0 / 0.7); }
.wa-logo { width: 30px; height: 30px; margin-left: auto; flex: none; background: #25D366; border-radius: 50%; padding: 6px; fill: #fff; box-shadow: 0 2px 6px oklch(0 0 0 / 0.25); }
.wa-body {
  padding: 18px 16px 20px; position: relative;
  background-color: #ECE5DD;
  background-image:
    radial-gradient(oklch(0.4 0.02 130 / 0.05) 1px, transparent 1.5px),
    radial-gradient(oklch(0.4 0.02 130 / 0.05) 1px, transparent 1.5px);
  background-size: 22px 22px, 22px 22px;
  background-position: 0 0, 11px 11px;
}
[data-theme="anthracite"] .wa-body { background-color: oklch(0.93 0.006 250); }
.wa-bubble {
  background: #fff; border-radius: 4px 14px 14px 14px;
  padding: 11px 13px 7px; max-width: 92%;
  box-shadow: 0 1px 1px oklch(0.4 0.02 60 / 0.12);
  position: relative;
}
.wa-bubble::before {
  content: ""; position: absolute; top: 0; left: -7px;
  border: 7px solid transparent; border-top-color: #fff; border-right: 0;
}
.wa-bubble p { font-size: 0.95rem; line-height: 1.5; color: oklch(0.28 0.01 150); text-wrap: pretty; }
.wa-meta { display: flex; align-items: center; justify-content: flex-end; gap: 3px; margin-top: 3px; font-size: 0.68rem; color: oklch(0.5 0.01 150); }
.wa-meta svg { width: 16px; height: 16px; }
@media (max-width: 760px) { .wa-grid { grid-template-columns: 1fr; } }

/* === КОЛЬЦЕВАЯ КАРУСЕЛЬ РАБОТ === */
.gal-section { overflow: hidden; }
.gal-ring {
  margin-top: 8px; position: relative; padding-block: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.gal-track { display: flex; gap: 18px; width: max-content; animation: gal-roll 78s linear infinite; will-change: transform; }
.gal-ring:hover .gal-track { animation-play-state: paused; }
@keyframes gal-roll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 9px)); } }
@media (prefers-reduced-motion: reduce) { .gal-track { animation: none; } }

.gal-slide {
  flex: none; width: clamp(280px, 32vw, 440px); height: clamp(300px, 38vw, 460px);
  border: 0; padding: 0; margin: 0; cursor: pointer; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--panel-deep);
  position: relative; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.gal-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.gal-slide::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.10);
  background: linear-gradient(180deg, transparent 55%, oklch(0.15 0.01 250 / 0.35));
  opacity: 0; transition: opacity .25s;
}
.gal-slide:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.gal-slide:hover img { transform: scale(1.06); }
.gal-slide:hover::after { opacity: 1; }
.gal-slide .gal-zoom {
  position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%;
  background: oklch(1 0 0 / 0.16); backdrop-filter: blur(6px); display: grid; place-items: center;
  opacity: 0; transform: translateY(6px); transition: .25s; z-index: 2;
}
.gal-slide:hover .gal-zoom { opacity: 1; transform: none; }
.gal-slide .gal-zoom svg { width: 18px; height: 18px; color: #fff; }

/* лайтбокс */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center;
  background: oklch(0.12 0.01 250 / 0.92); backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; }
.lb-img { max-width: 90vw; max-height: 86vh; border-radius: 12px; box-shadow: 0 30px 80px oklch(0 0 0 / 0.5); }
.lb-close, .lb-nav {
  position: absolute; background: oklch(1 0 0 / 0.12); color: #fff; border: 0; cursor: pointer;
  border-radius: 50%; display: grid; place-items: center; transition: background .2s;
}
.lb-close:hover, .lb-nav:hover { background: oklch(1 0 0 / 0.24); }
.lb-close { top: 22px; right: 22px; width: 50px; height: 50px; font-size: 2rem; line-height: 1; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 56px; height: 56px; font-size: 2.4rem; line-height: 1; }
.lb-prev { left: 22px; }
.lb-next { right: 22px; }
@media (max-width: 600px) {
  .lb-nav { width: 46px; height: 46px; font-size: 2rem; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
}


/* === css/concept-c-responsive.css === */
/* ============================================================
   REHAU Шымкент — КОНЦЕПТ C · АДАПТИВ (финальная настройка)
   Точная подгонка под: 1440 / 768 / 430 / 390 / 360.
   Подключается ПОСЛЕДНИМ — переопределяет предыдущие правила.
   ============================================================ */

/* страховка от горизонтального скролла */
html, body { max-width: 100%; overflow-x: hidden; }
.gal-ring { overflow: hidden; }
img, svg, video { max-width: 100%; }

/* ---------- 1400px+ : чуть шире контент на больших экранах ---------- */
@media (min-width: 1400px) {
  :root { --maxw: 1280px; }
}

/* ============================================================
   TABLET ≤ 1000px (включая 768)
   ============================================================ */
@media (max-width: 1000px) {
  /* услуги: 2 колонки */
  .svc-c { grid-template-columns: repeat(2, 1fr); }
  /* шапка телефона: меню-таблетка скрыта, видны иконка звонка + бургер */
  .ch-cta .btn-primary { display: none; }       /* заявка — в бургер-меню и герое */
  .ch-cta { gap: 10px; }
}

/* шапка секций в столбик на планшете и ниже */
@media (max-width: 768px) {
  .c-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .partners-c { justify-content: flex-start; }
  /* герой: фото не слишком высокое */
  .bh-photo { min-height: 300px; }
}

/* ============================================================
   MOBILE ≤ 560px
   ============================================================ */
@media (max-width: 560px) {
  /* компактная шапка */
  .ch-inner { height: 62px; gap: 12px; }
  .ch .logo-img { height: 24px; }
  .ch-cta { gap: 8px; }

  /* секции: меньше вертикальных отступов */
  .bento-section { padding-block: clamp(26px, 7vw, 40px); }

  /* герой: фото + текст в одну колонку, статы в 2, CTA на всю ширину */
  .bento-hero {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "head head" "photo photo" "s1 s2" "cta cta";
    gap: 12px;
  }
  .bh-photo { min-height: 230px; }
  .bh-headline h1 { font-size: clamp(2rem, 8.5vw, 2.7rem); }
  .bh-headline .lead { font-size: 1rem; }
  .bh-headline .row { padding-top: 22px; gap: 10px; }
  .bh-headline .row .btn { flex: 1 1 auto; justify-content: center; }

  /* CTA-плитка «бесплатная разработка» */
  .bh-cta-tile { gap: 14px; }
  .bh-cta-tile .gift-ico { width: 46px; height: 46px; }
  .bh-cta-tile .gift-ico svg { width: 24px; height: 24px; }
  .bh-cta-tile .txt { font-size: 1.08rem; }
  .bh-cta-tile .gift-badge { right: 12px; font-size: 0.66rem; padding: 5px 11px; }

  /* услуги, преимущества: 1 колонка */
  .svc-c { grid-template-columns: 1fr; }
  .svc-c .wide { grid-column: span 1; }
  .svc-c .bento { min-height: 0; }
  .adv-c-grid { grid-template-columns: 1fr; }

  /* профили: фото сверху, контент снизу */
  .prof-c { grid-template-columns: 1fr; }
  .prof-c .bento { grid-template-columns: 1fr; }
  .prof-c .pc-media { min-height: 150px; }
  .prof-c .pc-body { padding: 22px; }

  /* ФОТО ЦЕЛИКОМ (без обрезки) на мобильном — герой и профили */
  .bh-photo, .bh-photo .ph { position: relative; min-height: 0; }
  .bh-photo .ph { aspect-ratio: 512 / 342; }
  .bh-photo .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .prof-c .pc-media.pc-photo { position: relative; min-height: 0; height: auto; padding: 0; overflow: visible; aspect-ratio: auto; display: block; }
  .prof-c .pc-media.pc-photo img { position: static; inset: auto; width: 100%; height: auto; object-fit: contain; display: block; }

  /* этапы: 1 колонка */
  .proc-c { grid-template-columns: 1fr; }

  /* карусель работ: крупнее в кадре */
  .gal-slide { width: 80vw; height: 92vw; }

  /* форма + контакты: 1 колонка */
  .cc-grid, .cc-side { grid-template-columns: 1fr; gap: 12px; }
  .form-card { padding: 22px; }

  /* отзывы: 1 колонка (если ещё не) */
  .wa-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MOBILE ≤ 430px / 390px
   ============================================================ */
@media (max-width: 430px) {
  .bh-headline h1 { font-size: clamp(1.9rem, 9vw, 2.4rem); }
  .bh-stat .n { font-size: 1.8rem; }
  .c-head h2, .adv-c-head h2 { font-size: clamp(1.7rem, 7.5vw, 2.2rem); }
  .gal-slide { width: 84vw; height: 96vw; }
}

@media (max-width: 390px) {
  :root { --gut: 16px; }
  .ch-inner { gap: 10px; }
  .bh-cta-tile .txt { font-size: 1rem; }
  .bento-hero { gap: 10px; }
}

/* ============================================================
   MOBILE ≤ 360px : самый узкий — статы в столбик
   ============================================================ */
@media (max-width: 360px) {
  .bento-hero {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "photo" "s1" "s2" "cta";
  }
  .bh-headline h1 { font-size: clamp(1.8rem, 9.5vw, 2.2rem); }
  .bh-stat { min-height: 92px; }
  .form-card { padding: 18px; }
}

/* ============================================================
   ФОТО ЦЕЛИКОМ НА МОБИЛЬНОМ (без обрезки)
   герой + карточки профилей с реальными фото
   ============================================================ */
@media (max-width: 560px) {
  /* фото объекта в шапке героя — целиком */
  .bh-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .bh-photo .ph { background: var(--panel-deep); }
  .bh-photo .ph img { object-fit: contain; }

  /* профили: фото ЦЕЛИКОМ — во всю ширину, по натуральной высоте, без обрезки */
  .prof-c .pc-media { min-height: 0; }
  .prof-c .pc-media.pc-photo { aspect-ratio: auto; height: auto; overflow: visible; }
  .prof-c .pc-media.pc-photo img { position: static; inset: auto; width: 100%; height: auto; object-fit: contain; display: block; }
}


/* === css/thanks.css === */
/* ============================================================
   REHAU Шымкент — Страница «Спасибо» (полноформатная, split)
   ============================================================ */
.thx {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: calc(100vh - 76px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
}
/* зелёная чертёжная сетка на светлом фоне — переливается */
.thx::before {
  content: ""; position: absolute; inset: -40px; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(color-mix(in oklab, var(--accent) 70%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklab, var(--accent) 70%, transparent) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.14;
  animation: thx-grid 7s ease-in-out infinite;
}
@keyframes thx-grid {
  0%, 100% { opacity: 0.08; }
  50% { opacity: 0.20; }
}
@media (prefers-reduced-motion: reduce) { .thx::before { animation: none; opacity: 0.12; } }
/* мягкое акцентное свечение из углов */
.thx::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; inset: 0;
  background:
    radial-gradient(46% 52% at 86% 10%, color-mix(in oklab, var(--accent) 16%, transparent) 0%, transparent 64%),
    radial-gradient(42% 48% at 10% 92%, color-mix(in oklab, var(--accent) 12%, transparent) 0%, transparent 66%);
}

/* центральная панель — сообщение */
.thx-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 8vw, 110px) clamp(24px, 5vw, 60px);
  position: relative;
  width: 100%;
}
/* карточка-подложка под текстом — отделяет от фона */
.thx-panel-in {
  background: color-mix(in oklab, var(--surface) 70%, transparent);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(34px, 5vw, 60px) clamp(26px, 5vw, 64px);
}
/* деликатная чертёжная сетка из угла */
.thx-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(color-mix(in oklab, var(--accent) 22%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklab, var(--accent) 22%, transparent) 1px, transparent 1px);
  background-size: 34px 34px; opacity: 0.08;
  -webkit-mask-image: radial-gradient(70% 80% at 0% 100%, #000, transparent 72%);
          mask-image: radial-gradient(70% 80% at 0% 100%, #000, transparent 72%);
}
.thx-panel-in { position: relative; z-index: 1; max-width: 600px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; }

/* верхняя строка: галочка + «заявка принята» */
.thx-top { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 22px; }

/* галочка */
.thx-check {
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  box-shadow: 0 8px 22px color-mix(in oklab, var(--accent) 40%, transparent);
  opacity: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .thx-check { animation: thx-pop .55s cubic-bezier(.2,.9,.3,1.4) both; }
}
.thx-check svg { width: 30px; height: 30px; }
@keyframes thx-pop { from { transform: scale(.4); } to { transform: scale(1); } }

.thx-eyebrow {
  font-family: var(--font-body); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
}

.thx-panel h1 {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.6rem, 5.5vw, 4.6rem); line-height: 0.98; letter-spacing: -0.01em;
  margin-top: 16px; color: var(--ink);
}
.thx-lead {
  color: var(--ink-soft); font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  margin-top: 20px; max-width: 46ch; text-wrap: pretty;
}
.thx-lead b { color: var(--accent); }

/* шаги */
.thx-steps { display: grid; gap: 12px; margin-top: clamp(26px, 3.5vw, 38px); width: 100%; max-width: 440px; text-align: left; }
.thx-step {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 18px; font-weight: 500; color: var(--ink);
}
.thx-step .ts-i {
  width: 30px; height: 30px; flex: none; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
}

/* действия */
.thx-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(26px, 3.5vw, 38px); }
.thx-back {
  display: inline-block; margin-top: 22px;
  color: var(--ink-faint); font-weight: 600; font-size: 0.95rem; transition: color .2s;
}
.thx-back:hover { color: var(--accent); }

/* правая панель — фото во всю высоту */
.thx-media { position: relative; background: var(--panel-deep); overflow: hidden; }
.thx-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.thx-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, color-mix(in oklab, var(--bg) 88%, transparent) 0%, transparent 30%);
}
.thx-media-badge {
  position: absolute; left: 24px; bottom: 24px; z-index: 2;
  background: oklch(0.18 0.01 250 / 0.55); color: #fff;
  backdrop-filter: blur(6px);
  font-weight: 600; font-size: 0.86rem; letter-spacing: 0.02em;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid oklch(1 0 0 / 0.18);
}

/* ============================================================
   ПЛАНШЕТ / ТЕЛЕФОН
   ============================================================ */
@media (max-width: 560px) {
  .thx-check { width: 48px; height: 48px; }
  .thx-check svg { width: 26px; height: 26px; }
  .thx-top { gap: 13px; margin-bottom: 18px; }
  .thx-actions .btn { flex: 1 1 100%; justify-content: center; }
  .thx-step { padding: 12px 14px; font-size: 0.95rem; }
}


