/* ═══════════════════════════════════════════════════════════
   EXPRESS REMONT — MAIN STYLESHEET
═══════════════════════════════════════════════════════════ */

:root {
  --gold: #c9a96e;
  --gold-light: #e8d5a8;
  --gold-dim: rgba(201, 169, 110, 0.18);
  --dark: #0c0a14;
  --dark2: #13111f;
  --dark3: #1c1929;
  --white: #fff;
  --muted: rgba(255, 255, 255, 0.42);
  --muted2: rgba(255, 255, 255, 0.22);
  --ff-display: 'Cormorant Garamond', serif;
  --ff-body: 'DM Sans', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--dark);
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--gold-light);
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  transition: background 0.3s, padding 0.3s;
}

nav.scrolled {
  background: rgba(12, 10, 20, 0.95);
  padding: 12px 48px;
  border-bottom: 0.5px solid rgba(201, 169, 110, 0.15);
}

.nav-logo {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--white);
}

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: var(--dark);
  font-size: 12px;
  font-weight: 500;
  padding: 9px 22px;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  letter-spacing: 0.3px;
  transition: opacity 0.2s, transform 0.2s;
}

.nav-cta:hover {
  opacity: 0.85;
  transform: scale(1.05);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(12, 10, 20, 0.88) 0%, rgba(12, 10, 20, 0.6) 55%, rgba(12, 10, 20, 0.2) 100%);
}

.hero-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 120px 48px 60px;
  gap: 40px;
}

.hero-left {
  flex: 1;
  max-width: 520px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-dim);
  border: 0.5px solid rgba(201, 169, 110, 0.35);
  color: var(--gold);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero-pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-h1 {
  font-family: var(--ff-display);
  font-size: 62px;
  font-weight: 500;
  line-height: 1.06;
  margin-bottom: 18px;
  color: var(--white);
}

.hero-h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 400px;
}

.urgency-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(201, 169, 110, 0.1);
  border: 0.5px solid rgba(201, 169, 110, 0.22);
  border-radius: 8px;
  padding: 11px 16px;
  margin-bottom: 28px;
  max-width: 420px;
}

.urgency-bar span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.urgency-bar strong {
  color: #e8d5a8;
  font-weight: 500;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn-hero-primary {
  background: var(--gold);
  color: var(--dark);
  font-size: 15px;
  font-weight: 500;
  padding: 16px 36px;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, opacity 0.15s;
  animation: pulse-gold 2.5s infinite;
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.55); }
  60% { box-shadow: 0 0 0 12px rgba(201, 169, 110, 0); }
}

.btn-hero-primary:hover {
  opacity: 0.9;
  transform: scale(1.03);
}

.btn-hero-secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  padding: 16px 32px;
  border-radius: 50px;
  cursor: pointer;
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  transition: border-color 0.2s, color 0.2s;
}

.btn-hero-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat-num {
  font-family: var(--ff-display);
  font-size: 32px;
  font-weight: 500;
  color: var(--white);
}

.hero-stat-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.hero-right {
  width: 280px;
  flex-shrink: 0;
}

.form-card {
  background: rgba(19, 17, 31, 0.88);
  border: 0.5px solid rgba(201, 169, 110, 0.28);
  border-radius: 16px;
  padding: 28px 22px;
}

.form-card-badge {
  display: inline-block;
  background: var(--gold-dim);
  color: var(--gold);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.form-card-title {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 4px;
}

.form-card-sub {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 20px;
}

.form-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 5px;
  display: block;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 0.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  color: #fff;
  outline: none;
  margin-bottom: 12px;
  font-family: var(--ff-body);
  transition: border-color 0.2s;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.22);
}

.form-input:focus {
  border-color: rgba(201, 169, 110, 0.5);
}

.form-btn {
  width: 100%;
  background: var(--gold);
  color: var(--dark);
  font-size: 13px;
  font-weight: 500;
  padding: 14px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: opacity 0.2s;
  animation: pulse-gold 2.5s infinite;
}

.form-btn:hover {
  opacity: 0.85;
}

.form-guarantee {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.22);
  text-align: center;
}

.hero-bottom {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 0.5px solid rgba(255, 255, 255, 0.07);
}

.hb-item {
  padding: 16px 24px;
  border-right: 0.5px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hb-item:last-child {
  border-right: none;
}

.hb-icon {
  font-size: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hb-text-main {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.hb-text-sub {
  font-size: 11px;
  color: var(--muted);
}

/* ── SECTIONS ── */
.section {
  padding: 90px 48px;
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--ff-display);
  font-size: 44px;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 14px;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.srv-card {
  background: var(--dark2);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 28px 24px;
  transition: border-color 0.25s, transform 0.25s;
}

.srv-card:hover {
  border-color: rgba(201, 169, 110, 0.35);
  transform: translateY(-4px);
}

.srv-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.srv-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--white);
}

.srv-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.srv-tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 10px;
  font-weight: 500;
  color: var(--gold);
  background: var(--gold-dim);
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

/* ── BEFORE/AFTER ── */
.ba-section {
  padding: 90px 48px;
  background: var(--dark2);
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ba-card {
  border-radius: 14px;
  overflow: hidden;
  border: 0.5px solid rgba(255, 255, 255, 0.08);
}

.ba-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.ba-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #1c1929;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--muted);
  position: relative;
  overflow: hidden;
}

.ba-img-canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--gold);
  z-index: 2;
}

.ba-label {
  position: absolute;
  bottom: 8px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
}

.ba-label-before {
  left: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: rgba(255, 255, 255, 0.6);
}

.ba-label-after {
  right: 8px;
  background: var(--gold);
  color: var(--dark);
}

.ba-info {
  padding: 16px 18px;
  background: var(--dark3);
}

.ba-info-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.ba-info-meta {
  font-size: 11px;
  color: var(--muted);
}

/* ── GALLERY ── */
.gallery-section {
  padding: 90px 48px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}

/* Первые 3 картинки — по 2 колонки */
.gal-item:nth-child(1),
.gal-item:nth-child(2),
.gal-item:nth-child(3) {
  grid-column: span 2;
}
/* Нижние 2 картинки — по 3 колонки (50/50) */
.gal-item:nth-child(4),
.gal-item:nth-child(5) {
  grid-column: span 3;
}

.gal-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--dark2);
  min-height: 180px;
}

.gal-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 20, 0.5);
  opacity: 0;
  transition: opacity 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gal-item:hover .gal-overlay {
  opacity: 1;
}

.gal-overlay-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.3px;
}

/* ── PROCESS ── */
.process-section {
  padding: 90px 48px;
  background: var(--dark2);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-top: 48px;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 0.5px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.4), transparent);
}

.step-item {
  text-align: center;
  padding: 0 12px;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0.5px solid rgba(201, 169, 110, 0.35);
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--ff-display);
  font-size: 20px;
  color: var(--gold);
}

.step-title {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--white);
}

.step-desc {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}

/* ── TESTIMONIALS ── */
.testimonials {
  padding: 90px 48px;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.testi-card {
  background: var(--dark2);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 26px 22px;
}

.testi-stars {
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testi-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  margin-bottom: 16px;
  font-style: italic;
}

.testi-author {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
}

.testi-meta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

/* ── CTA BANNER ── */
.cta-banner {
  margin: 0 48px 90px;
  background: var(--dark2);
  border: 0.5px solid rgba(201, 169, 110, 0.25);
  border-radius: 20px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.05);
}

.cta-text-label {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 500;
}

.cta-text-h {
  font-family: var(--ff-display);
  font-size: 36px;
  font-weight: 500;
  max-width: 480px;
  line-height: 1.15;
}

.cta-text-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

.cta-btn-big {
  background: var(--gold);
  color: var(--dark);
  font-size: 16px;
  font-weight: 500;
  padding: 18px 42px;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.15s, opacity 0.15s;
  animation: pulse-gold 2.5s infinite;
}

.cta-btn-big:hover {
  opacity: 0.9;
  transform: scale(1.03);
}

/* ── MODALS ── */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  /* z-index выше mobile-call-container(9998) и nav(9999) */
  z-index: 10000;
  background: rgba(8, 6, 18, 0.78);
  align-items: center;
  justify-content: center;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background: var(--dark2);
  border: 0.5px solid rgba(201, 169, 110, 0.3);
  border-radius: 18px;
  padding: 36px 30px;
  width: 340px;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

.modal-badge {
  display: inline-block;
  background: var(--gold-dim);
  color: var(--gold);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.modal-title {
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 6px;
}

.modal-sub {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 22px;
  line-height: 1.55;
}

.modal-form-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 5px;
  display: block;
}

.modal-form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 0.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 13px 14px;
  font-size: 13px;
  color: #fff;
  outline: none;
  margin-bottom: 12px;
  font-family: var(--ff-body);
  transition: border-color 0.2s;
}

.modal-form-input::placeholder {
  color: rgba(255, 255, 255, 0.22);
}

.modal-form-input:focus {
  border-color: rgba(201, 169, 110, 0.5);
}

.modal-form-btn {
  width: 100%;
  background: var(--gold);
  color: var(--dark);
  font-size: 14px;
  font-weight: 500;
  padding: 15px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: opacity 0.2s;
}

.modal-form-btn:hover {
  opacity: 0.85;
}

.modal-note {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.22);
  text-align: center;
}

.modal-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.modal-success-icon {
  font-size: 52px;
  margin-bottom: 14px;
}

.modal-success-title {
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
}

.modal-success-sub {
  font-size: 13px;
  color: var(--muted);
}

/* ── EXIT MODAL ── */
.exit-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(8, 6, 18, 0.82);
  align-items: center;
  justify-content: center;
}

.exit-modal.open {
  display: flex;
}

.exit-box {
  background: var(--dark2);
  border: 0.5px solid rgba(201, 169, 110, 0.3);
  border-radius: 18px;
  padding: 40px 32px;
  max-width: 380px;
  width: 90%;
  text-align: center;
  position: relative;
}

.exit-box h3 {
  font-family: var(--ff-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 10px;
}

.exit-box p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 22px;
}

.exit-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
}

.exit-btn {
  background: var(--gold);
  color: var(--dark);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  margin-bottom: 10px;
  width: 100%;
  animation: pulse-gold 2.5s infinite;
}

.exit-skip {
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
}

/* ── CHAT WIDGET ── */
.chat-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.chat-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  border: none;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.4);
}

.chat-btn:hover {
  transform: scale(1.08);
}

.chat-box {
  width: 320px;
  background: var(--dark2);
  border: 0.5px solid rgba(201, 169, 110, 0.25);
  border-radius: 16px;
  overflow: hidden;
  display: none;
  flex-direction: column;
}

.chat-box.open {
  display: flex;
}

.chat-header {
  background: var(--dark3);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.07);
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.chat-header-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
}

.chat-header-status {
  font-size: 11px;
  color: #6ee87a;
}

.chat-close {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
}

.chat-messages {
  flex: 1;
  max-height: 280px;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-messages::-webkit-scrollbar {
  width: 3px;
}

.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(201, 169, 110, 0.3);
  border-radius: 2px;
}

.msg {
  max-width: 85%;
  padding: 10px 13px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.msg-bot {
  background: var(--dark3);
  color: rgba(255, 255, 255, 0.8);
  border-bottom-left-radius: 3px;
  align-self: flex-start;
}

.msg-user {
  background: var(--gold);
  color: var(--dark);
  border-bottom-right-radius: 3px;
  align-self: flex-end;
  font-weight: 500;
}

.msg-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 12px 14px;
}

.dot-typing {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: bounce 0.9s infinite;
}

.dot-typing:nth-child(2) {
  animation-delay: 0.15s;
}

.dot-typing:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes bounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
}

.chat-input-row {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.07);
}

.chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.07);
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
  color: #fff;
  outline: none;
  font-family: var(--ff-body);
}

.chat-input::placeholder {
  color: rgba(255, 255, 255, 0.22);
}

.chat-send {
  background: var(--gold);
  color: var(--dark);
  border: none;
  border-radius: 8px;
  padding: 9px 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
}

/* ── FOOTER ── */
footer {
  background: var(--dark2);
  border-top: 0.5px solid rgba(255, 255, 255, 0.07);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
}

.footer-logo span {
  color: var(--gold);
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 12px;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-body {
    flex-direction: column;
    padding: 100px 24px 40px;
  }
  .hero-right {
    width: 100%;
  }
  .hero-bottom {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ba-grid,
  .testi-grid {
    grid-template-columns: 1fr;
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-banner {
    flex-direction: column;
    margin: 0 24px 60px;
  }
  nav {
    padding: 14px 24px;
  }
  .section {
    padding: 60px 24px;
  }
  .hero-h1 {
    font-size: 42px;
  }
  .gal-item:nth-child(1) {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* —— MOBILE GALLERY FIX (dolne 2 obok siebie) —— */
@media (max-width: 900px) {
  /* Na tablet/mobile: 2 kolumny */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }
  /* Pierwsza na całą szerokość */
  .gal-item:nth-child(1) {
    grid-column: span 2 !important;
  }
  /* Pozostałe: po pół (w tym 4 i 5 OBOK SIEBIE) */
  .gal-item:nth-child(2),
  .gal-item:nth-child(3),
  .gal-item:nth-child(4),
  .gal-item:nth-child(5) {
    grid-column: span 1 !important;
  }
}

/* —— BA SECTION ALWAYS VISIBLE ON MOBILE —— */
@media (max-width: 900px) {
  .ba-section,
  #before-after {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .ba-grid {
    grid-template-columns: 1fr !important;
  }
}
