/* ============================================
   Кровля-К — FLAT ROOF WEBSITE
   Design System & Styles — WARM PALETTE
   ============================================ */

/* --- VARIABLES --- */
:root {
  /* Accent: orange-yellow */
  --or-50:   #fff8ed;
  --or-100:  #ffeed3;
  --or-200:  #ffd9a5;
  --or-300:  #ffbc6a;
  --or-400:  #ff9c38;
  --or-500:  #f97316;
  --or-600:  #ea580c;
  --or-700:  #c2410c;
  --or-800:  #9a3412;
  --or-900:  #7c2d12;

  /* Gray scale — warm tones */
  --gray-50:  #fafaf9;
  --gray-100: #f5f5f4;
  --gray-150: #eeece9;
  --gray-200: #e7e5e4;
  --gray-300: #d6d3d1;
  --gray-400: #a8a29e;
  --gray-500: #78716c;
  --gray-600: #57534e;
  --gray-700: #44403c;
  --gray-800: #292524;
  --gray-900: #1c1917;
  --gray-950: #0c0a09;

  --white:   #ffffff;
  --success: #16a34a;

  /* Semantic */
  --accent:         var(--or-500);
  --accent-light:   var(--or-400);
  --accent-dark:    var(--or-600);
  --accent-bg:      var(--or-50);
  --accent-border:  var(--or-200);

  --text-primary:   var(--gray-900);
  --text-secondary: var(--gray-600);
  --text-muted:     var(--gray-400);
  --border:         var(--gray-200);
  --surface:        var(--gray-100);
  --surface-2:      var(--gray-50);

  --font-main: 'Geologica', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
  --shadow-xl:  0 24px 60px rgba(0,0,0,.14);
  --shadow-or:  0 8px 24px rgba(249,115,22,.30);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1280px;
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }

/* --- CONTAINER --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- SECTION --- */
.section { padding: 96px 0; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--or-600);
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  position: relative;
}
.section-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--or-500);
  border-radius: 2px;
  display: inline-block;
}

.section-title {
  font-family: var(--font-main);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto;
}

/* --- GRADIENT TEXT --- */
.gradient-text {
  background: linear-gradient(135deg, #f97316 0%, #f59e0b 60%, #facc15 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--or-500) 0%, var(--or-600) 100%);
  color: var(--white);
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-or);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--or-600), var(--or-700));
  opacity: 0;
  z-index: 1;
  transition: opacity var(--transition);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(234,88,12,.45); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.45);
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 16px;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.75);
  transform: translateY(-2px);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: var(--or-500);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 14px;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-nav:hover {
  background: var(--or-600);
  transform: translateY(-1px);
  box-shadow: var(--shadow-or);
}

.btn-mobile-phone {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(249, 115, 22, 0.08);
  border: 1.5px solid rgba(249, 115, 22, 0.25);
  color: var(--or-600);
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transition: all var(--transition);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.08);
}
.btn-mobile-phone:hover {
  background: rgba(249, 115, 22, 0.15);
  border-color: var(--or-500);
  color: var(--or-700);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.15);
}

/* Glass shine animation & z-indexing for span protection */
.btn-primary, .btn-ghost, .btn-nav, .btn-mobile-phone {
  position: relative;
  overflow: hidden;
}
.btn-primary span, .btn-ghost span, .btn-nav span, .btn-mobile-phone span,
.btn-primary svg, .btn-ghost svg, .btn-nav svg, .btn-mobile-phone svg {
  position: relative;
  z-index: 3;
}
.btn-primary::after, .btn-ghost::after, .btn-nav::after, .btn-mobile-phone::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 30%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  transition: none;
  z-index: 2;
  pointer-events: none;
}
.btn-primary:hover::after, .btn-ghost:hover::after, .btn-nav:hover::after, .btn-mobile-phone:hover::after {
  left: 180%;
  transition: left 3s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-full { width: 100%; justify-content: center; }

/* ============================================
   MOBILE CALL BAR (fixed thin strip, mobile only)
   ============================================ */
.mobile-call-bar {
  display: none; /* hidden on desktop */
}

/* 3D Logo image in nav */
.logo-3d-img {
  width: 51px;
  height: 51px;
  border-radius: 11px;
  object-fit: cover;
  object-position: center center;
  display: block;
  box-shadow: 0 2px 16px rgba(234,88,12,0.35);
  flex-shrink: 0;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}

/* top bar */
.header-top {
  background: var(--gray-900);
  padding: 8px 0;
  font-size: 13px;
  color: var(--gray-400);
}
.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.header-contacts { display: flex; align-items: center; gap: 12px; }

/* Phone wrap with copy button */
.phone-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.header-phone {
  color: var(--white);
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.01em;
  transition: color var(--transition);
  text-decoration: none;
}
.header-phone:hover { color: var(--or-300); }

.phone-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  flex-shrink: 0;
}
.phone-copy-btn:hover {
  background: rgba(249,115,22,.25);
  border-color: var(--or-400);
  color: var(--or-300);
}
.copy-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--gray-900);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  font-family: var(--font-main);
}
.copy-tooltip::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: var(--gray-900);
}
.copy-tooltip.show { opacity: 1; }

.header-email { color: var(--gray-400); transition: color var(--transition); }
.header-email:hover { color: var(--white); }
.header-divider { color: var(--gray-700); }
.header-badge { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--or-400); }
.badge-icon { color: var(--or-400); font-weight: 700; }

/* nav */
.header-nav {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--gray-200);
  transition: all var(--transition);
}
.header.scrolled .header-nav {
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  border-bottom-color: var(--or-200);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 72px;
}

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 900;
  color: var(--gray-900);
  letter-spacing: -0.025em;
}
.logo-sub { font-size: 11px; color: var(--gray-500); font-weight: 500; letter-spacing: 0.05em; }

.nav-links { display: flex; align-items: center; gap: 32px; flex: 1; }
.nav-link {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--or-500);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--or-600); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--gray-800); border-radius: 2px; transition: all var(--transition); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    130deg,
    rgba(12,10,9,.88) 0%,
    rgba(28,25,23,.75) 45%,
    rgba(124,45,18,.40) 100%
  );
}

.hero .container { position: relative; z-index: 1; }

.hero-content { max-width: 740px; padding: 80px 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 100px;
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-main);
  letter-spacing: 0.05em;
  margin-bottom: 28px;
  backdrop-filter: blur(12px);
}

.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--or-400);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249,115,22,.5); }
  50%       { box-shadow: 0 0 0 8px rgba(249,115,22,0); }
}

.hero-title {
  font-family: var(--font-main);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 56px; }

.hero-stats { display: flex; align-items: center; flex-wrap: wrap; }

.hero-stat { display: flex; flex-direction: column; padding: 0 32px; }
.hero-stat:first-child { padding-left: 0; }

.stat-num {
  font-family: var(--font-main);
  font-size: 40px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,.6); font-weight: 500; margin-top: 4px; }
.stat-sep { width: 1px; height: 44px; background: rgba(255,255,255,.2); }

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 1;
}
.scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent); animation: scrollDown 1.5s ease-in-out infinite; }
.scroll-text { font-size: 11px; color: rgba(255,255,255,.45); letter-spacing: .15em; text-transform: uppercase; font-family: var(--font-main); writing-mode: vertical-rl; }

@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* animate in */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s ease forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ============================================
   USP STRIP
   ============================================ */
.usp-strip {
  background: var(--white);
  border-top: 2px solid var(--gray-200);
  border-bottom: 2px solid var(--gray-200);
  padding: 40px 0;
}

.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

.usp-item { display: flex; align-items: flex-start; gap: 16px; }

.usp-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--or-50);
  border: 1px solid var(--or-200);
  display: flex; align-items: center; justify-content: center;
  color: var(--or-600);
}

.usp-item strong { display: block; font-family: var(--font-main); font-size: 15px; font-weight: 700; margin-bottom: 4px; color: var(--gray-900); }
.usp-item p { font-size: 13px; color: var(--gray-500); line-height: 1.5; }

/* ============================================
   SERVICES
   ============================================ */
.services { background: var(--gray-50); }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.service-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid rgba(231, 229, 228, 0.6);
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--or-200);
}

.service-card-img { position: relative; height: 200px; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(28,25,23,.5)); }

.service-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.service-num {
  font-family: var(--font-main);
  font-size: 11px; font-weight: 800;
  color: var(--or-600); letter-spacing: .12em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.service-title { font-family: var(--font-main); font-size: 18px; font-weight: 800; color: var(--gray-900); margin-bottom: 12px; line-height: 1.3; }
.service-desc { font-size: 14px; color: var(--gray-500); line-height: 1.6; margin-bottom: 16px; }

.service-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; flex: 1; }
.service-features li { font-size: 13px; color: var(--gray-600); padding-left: 20px; position: relative; }
.service-features li::before { content: '→'; position: absolute; left: 0; color: var(--or-500); font-size: 12px; }

.service-price { font-size: 14px; color: var(--gray-500); margin-bottom: 16px; padding: 12px; background: var(--or-50); border-radius: var(--radius-sm); border: 1px solid var(--or-100); }
.service-price strong { color: var(--gray-900); font-family: var(--font-main); font-size: 16px; }

.service-link { font-family: var(--font-main); font-size: 14px; font-weight: 700; color: var(--or-600); transition: color var(--transition); }
.service-link:hover { color: var(--or-700); }

/* ============================================
   ABOUT
   ============================================ */
.about { background: var(--white); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.about-images { position: relative; }
.about-img-main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); aspect-ratio: 4/3; }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.about-img-main:hover img { transform: scale(1.03); }

.about-img-secondary {
  position: absolute; bottom: -32px; right: -32px;
  width: 200px; height: 150px;
  border-radius: var(--radius-md); overflow: hidden;
  border: 4px solid var(--white); box-shadow: var(--shadow-lg);
}
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }

.about-award {
  position: absolute; top: -20px; left: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--gray-200);
}
.award-icon { font-size: 32px; }
.about-award strong { display: block; font-family: var(--font-main); font-size: 16px; font-weight: 800; color: var(--gray-900); }
.about-award span { font-size: 12px; color: var(--gray-500); }

/* 3D Logo card in About section */
.about-logo3d {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 160px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 3px solid rgba(249,115,22,0.2);
  background: #0c0a09;
}
.about-logo3d img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content .section-title,
.about-content .section-tag { text-align: left; }
.about-text { color: var(--gray-600); line-height: 1.8; margin-bottom: 20px; }

.about-facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin: 32px 0; padding: 24px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--gray-200);
}
.fact { text-align: center; }
.fact-num { display: block; font-family: var(--font-main); font-size: 28px; font-weight: 900; color: var(--or-600); line-height: 1; margin-bottom: 6px; }
.fact-label { font-size: 12px; color: var(--gray-500); font-weight: 500; }

.about-certs { display: flex; flex-wrap: wrap; gap: 12px; }
.cert-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: var(--or-50); border: 1px solid var(--or-200);
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600; color: var(--gray-700);
  font-family: var(--font-main);
}
.cert-badge svg { color: var(--or-600); }

/* ============================================
   WHY US
   ============================================ */
.why-us { position: relative; background: var(--gray-900); color: var(--white); }

.why-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 20%, rgba(249,115,22,.10), transparent);
}
.why-us .container { position: relative; z-index: 1; }

/* override section-tag for dark bg */
.why-us .section-tag { color: var(--or-300); }
.why-us .section-tag::before { background: var(--or-400); }
.why-us .section-title { color: var(--white); }

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

.why-card {
  padding: 32px;
  background: rgba(255,255,255,.04);
  border: 1.5px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition);
}
.why-card:hover { background: rgba(255,255,255,.07); border-color: rgba(249,115,22,.3); transform: translateY(-4px); }

.why-icon-wrap {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  background: rgba(249,115,22,.12);
  border: 1px solid rgba(249,115,22,.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--or-400);
  margin-bottom: 20px;
  transition: all var(--transition);
}
.why-card:hover .why-icon-wrap { background: rgba(249,115,22,.22); border-color: rgba(249,115,22,.45); }

.why-card h3 { font-family: var(--font-main); font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.why-card p { font-size: 14px; color: var(--gray-400); line-height: 1.7; }

/* ============================================
   PROCESS
   ============================================ */
.process { background: var(--gray-50); }

.process-timeline { display: flex; flex-direction: column; gap: 0; max-width: 700px; margin: 0 auto; }

.process-step { display: grid; grid-template-columns: 80px 1fr; gap: 24px; }

.step-indicator { display: flex; flex-direction: column; align-items: center; }

.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--or-500), var(--or-700));
  color: var(--white);
  font-family: var(--font-main); font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-or);
  flex-shrink: 0;
}

.step-line { width: 2px; flex: 1; min-height: 40px; background: linear-gradient(to bottom, var(--or-400), var(--gray-200)); margin: 8px 0; }
.step-line.last { background: transparent; }

.step-content { padding-bottom: 40px; }
.step-content h3 { font-family: var(--font-main); font-size: 20px; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; padding-top: 16px; }
.step-content p { font-size: 15px; color: var(--gray-500); line-height: 1.7; margin-bottom: 12px; }

.step-time {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px;
  background: var(--or-50); border: 1px solid var(--or-200);
  border-radius: 100px;
  font-size: 12px; font-weight: 600; color: var(--or-700);
  font-family: var(--font-main);
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio { background: var(--white); }

.portfolio-filters { display: flex; gap: 12px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }

.pf-btn {
  padding: 10px 24px; border-radius: 100px;
  font-family: var(--font-main); font-size: 14px; font-weight: 600;
  color: var(--gray-600);
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  transition: all var(--transition);
}
.pf-btn:hover { border-color: var(--or-500); color: var(--or-600); }
.pf-btn.active { background: var(--or-500); color: var(--white); border-color: transparent; box-shadow: var(--shadow-or); }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 280px; gap: 20px; }
.portfolio-item { border-radius: var(--radius-lg); overflow: hidden; position: relative; cursor: pointer; }
.portfolio-item.large { grid-column: span 1; grid-row: span 2; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.portfolio-item:hover img { transform: scale(1.06); }

.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,25,23,.88) 0%, transparent 55%);
  display: flex; align-items: flex-end; padding: 24px;
  opacity: 0; transition: opacity var(--transition);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-info h4 { font-family: var(--font-main); font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.portfolio-info p { font-size: 13px; color: rgba(255,255,255,.7); }

/* ============================================
   CALCULATOR CTA
   ============================================ */
.calc-cta { position: relative; padding: 96px 0; overflow: hidden; }

.calc-cta-bg { position: absolute; inset: 0; }
.calc-cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.calc-cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(130deg, rgba(12,10,9,.92) 0%, rgba(28,25,23,.85) 50%, rgba(124,45,18,.70) 100%);
}
.calc-cta .container { position: relative; z-index: 1; }

.calc-cta-inner { display: grid; grid-template-columns: 1fr 480px; gap: 64px; align-items: center; }

.calc-cta-content h2 {
  font-family: var(--font-main);
  font-size: clamp(28px, 4vw, 44px); font-weight: 900;
  color: var(--white); line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.calc-cta-content p { font-size: 16px; color: rgba(255,255,255,.72); line-height: 1.7; margin-bottom: 32px; }
.calc-cta-guarantees { display: flex; flex-direction: column; gap: 12px; }
.cta-guarantee { font-size: 15px; color: rgba(255,255,255,.85); font-weight: 500; }

/* --- Calculator wrapper --- */
.calc-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-xl);
  border: 1.5px solid var(--gray-200);
}

.calc-group {
  margin-bottom: 24px;
}
.calc-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--gray-500);
  margin-bottom: 12px;
  font-family: var(--font-main);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Object type buttons grid */
.calc-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.calc-type-btn {
  padding: 14px 8px;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.calc-type-btn .type-icon {
  font-size: 22px;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition);
}
.calc-type-btn:hover .type-icon { color: var(--or-400); }
.calc-type-btn.active .type-icon { color: var(--or-500); }
.calc-type-btn .type-icon svg { display: block; }
.calc-type-btn .type-name {
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-600);
  line-height: 1.2;
}
.calc-type-btn:hover {
  background: var(--gray-100);
  border-color: var(--gray-300);
}
.calc-type-btn.active {
  background: var(--or-50);
  border-color: var(--or-500);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.08);
}
.calc-type-btn.active .type-name {
  color: var(--or-700);
}

/* Slider header */
.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.calc-value-display {
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 800;
  color: var(--or-600);
}

/* Range input */
.calc-range-input {
  width: 100%;
  height: 6px;
  background: var(--gray-200);
  border-radius: 100px;
  outline: none;
  margin: 12px 0;
  -webkit-appearance: none;
}
.calc-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--or-500);
  border: 2.5px solid var(--white);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.calc-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}
.calc-range-limits {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--gray-400);
  font-weight: 500;
}

/* Custom Checkbox */
.calc-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  position: relative;
  user-select: none;
}
.calc-checkbox-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0; width: 0;
}
.calc-checkbox-custom {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--gray-300);
  border-radius: 4px;
  background: var(--white);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  position: relative;
  margin-top: 2px;
}
.calc-checkbox-label:hover input ~ .calc-checkbox-custom {
  border-color: var(--or-400);
}
.calc-checkbox-label input:checked ~ .calc-checkbox-custom {
  background: var(--or-500);
  border-color: var(--or-500);
}
.calc-checkbox-custom::after {
  content: "✓";
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  display: none;
}
.calc-checkbox-label input:checked ~ .calc-checkbox-custom::after {
  display: block;
}
.calc-checkbox-text {
  font-size: 13.5px;
  color: var(--gray-600);
  font-weight: 500;
  line-height: 1.4;
}

/* Summary Box */
.calc-summary {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  text-align: center;
}
.summary-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.summary-row span {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.summary-row strong {
  font-family: var(--font-main);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 900;
  color: var(--gray-900);
  line-height: 1.1;
}
.summary-note {
  font-size: 11px;
  color: var(--gray-400);
  margin-top: 10px;
  line-height: 1.4;
}

/* ============================================
   REVIEWS (2x2 Grid)
   ============================================ */
.reviews { background: var(--gray-50); }

.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.review-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(231, 229, 228, 0.6);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.review-card:hover { border-color: var(--or-200); box-shadow: var(--shadow-md); transform: translateY(-4px); }

.review-stars { color: #f59e0b; font-size: 20px; margin-bottom: 12px; }
.review-name { font-family: var(--font-main); font-size: 16px; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.review-meta { font-size: 13px; color: var(--gray-500); margin-bottom: 16px; }
.review-text { font-size: 14.5px; color: var(--gray-700); line-height: 1.75; font-style: normal; margin-bottom: 0; }

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 420px;
  background: rgba(28, 25, 23, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.cookie-banner.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray-300);
}
.cookie-text a {
  color: var(--or-400);
  text-decoration: underline;
}
.cookie-text a:hover {
  color: var(--or-300);
}
.cookie-btn-wrap {
  display: flex;
  justify-content: flex-end;
}
.cookie-btn {
  padding: 8px 20px;
  background: var(--or-500);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.cookie-btn:hover {
  background: var(--or-600);
  transform: translateY(-1px);
}


/* ============================================
   FAQ
   ============================================ */
.faq { background: var(--white); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: rgba(245, 245, 244, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item:has(.faq-question[aria-expanded="true"]) { border-color: var(--or-300); background: rgba(254, 243, 199, 0.45); }

.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px 28px;
  font-family: var(--font-main); font-size: 16px; font-weight: 600; color: var(--gray-900);
  text-align: left; transition: color var(--transition);
}
.faq-question:hover { color: var(--or-700); }

.faq-icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--or-50); border: 1.5px solid var(--or-200);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 300; color: var(--or-600);
  transition: all var(--transition); line-height: 1;
}
.faq-question[aria-expanded="true"] .faq-icon { background: var(--or-500); color: var(--white); transform: rotate(45deg); border-color: transparent; }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1); }
.faq-answer p { padding: 0 28px 24px; font-size: 15px; color: var(--gray-600); line-height: 1.75; }

/* ============================================
   CONTACTS
   ============================================ */
.contacts { background: var(--gray-50); }
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contacts-info { display: flex; flex-direction: column; gap: 28px; }

.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--or-50); border: 1.5px solid var(--or-200);
  display: flex; align-items: center; justify-content: center;
  color: var(--or-600); flex-shrink: 0;
}
.contact-label { font-size: 12px; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; font-family: var(--font-main); }
.contact-value { font-size: 16px; color: var(--gray-800); font-weight: 500; transition: color var(--transition); line-height: 1.5; }
a.contact-value:hover { color: var(--or-600); }

/* Big clickable phone in contacts section */
.contact-phone-big .contact-icon {
  width: 56px; height: 56px;
  background: var(--or-500);
  border-color: var(--or-600);
  color: var(--white);
}
.contact-phone-link {
  font-family: var(--font-main);
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 900;
  color: var(--gray-900);
  letter-spacing: -0.01em;
  transition: color var(--transition);
  display: block;
  line-height: 1.1;
}
.contact-phone-link:hover { color: var(--or-600); }
.contact-phone-hint {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 4px;
  font-family: var(--font-main);
}

.social-links { display: flex; gap: 12px; margin-top: 8px; }
.social-link {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--gray-100); border: 1.5px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-600); transition: all var(--transition);
}
.social-link:hover { background: var(--or-500); border-color: var(--or-500); color: var(--white); transform: translateY(-2px); }

.contacts-map { border-radius: var(--radius-lg); overflow: hidden; height: 400px; border: 2px solid var(--gray-200); box-shadow: var(--shadow-md); }
.map-placeholder { width: 100%; height: 100%; position: relative; background: var(--gray-100); display: flex; align-items: center; justify-content: center; }
.map-bg { position: absolute; inset: 0; overflow: hidden; }
.map-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.6) opacity(0.4) sepia(0.2); }
.map-pin { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.map-label { background: var(--white); padding: 10px 16px; border-radius: var(--radius-sm); font-family: var(--font-main); font-size: 13px; font-weight: 600; color: var(--gray-900); box-shadow: var(--shadow-md); text-align: center; line-height: 1.5; }
.map-pin svg path, .map-pin svg circle { stroke: none; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--gray-900); color: var(--white); padding: 64px 0 0; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-tagline { font-size: 14px; color: var(--gray-400); line-height: 1.7; margin: 16px 0 20px; }
.footer-partner { font-size: 13px; color: var(--gray-500); padding: 10px 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-sm); display: inline-block; }
.footer-partner strong { color: var(--or-400); }
.footer-links-group h4 { font-family: var(--font-main); font-size: 12px; font-weight: 700; color: var(--gray-400); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px; }
.footer-links-group ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links-group a { font-size: 14px; color: var(--gray-400); transition: color var(--transition); }
.footer-links-group a:hover { color: var(--or-400); }
.footer-links-group li:not(:has(a)) { font-size: 14px; color: var(--gray-500); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; font-size: 13px; color: var(--gray-500); gap: 16px; flex-wrap: wrap; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--gray-500); transition: color var(--transition); }
.footer-legal a:hover { color: var(--gray-300); }

/* ============================================
   FLOATING CTA & MESSENGERS
   ============================================ */
.floating-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: all .4s ease;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,.22);
  transition: all var(--transition);
}
.float-btn:hover {
  transform: scale(1.1);
}
.phone-btn {
  background: var(--or-500);
  animation: floatPulse 2s infinite;
}
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(249,115,22,.4); }
  50% { box-shadow: 0 4px 24px rgba(249,115,22,.7); }
}
.max-btn {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
}
.back-to-top:hover {
  background: var(--gray-100);
  color: var(--or-600);
  border-color: var(--or-400);
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}
.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   MOBILE BOTTOM CALL BAR
   ============================================ */
.mobile-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1.5px solid var(--gray-200);
  padding: 12px 16px;
  z-index: 1000;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  display: none;
}
.mobile-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 800;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: var(--shadow-or);
}


/* ============================================
   RESPONSIVE — TABLET & MOBILE
   ============================================ */

/* --- Large tablet: 1024–1280px --- */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-top > *:first-child { grid-column: span 3; }
  .about-img-secondary { display: none; }
  .about-img-main { aspect-ratio: 16/9; }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Tablet: 768–1024px --- */
@media (max-width: 1024px) {
  .nav-links { gap: 20px; }
  .nav-link { font-size: 14px; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .calc-cta-inner { grid-template-columns: 1fr 400px; gap: 40px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-item.large { grid-column: span 1; grid-row: span 1; }
}

/* --- Small tablet: 600–900px --- */
@media (max-width: 900px) {
  .section { padding: 64px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-award { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .calc-cta-inner { grid-template-columns: 1fr; gap: 32px; }
  .calc-form-wrap { max-width: 500px; margin: 0 auto; }
  .contacts-grid { grid-template-columns: 1fr; }
  .contacts-map { height: 300px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .portfolio-item.large { grid-column: span 1; grid-row: span 1; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-top > *:first-child { grid-column: span 2; }
  .process-step { grid-template-columns: 60px 1fr; }
  .step-num { width: 44px; height: 44px; font-size: 12px; }
  .ratings-rating { padding: 24px; }
}

/* --- Mobile: up to 768px --- */
@media (max-width: 768px) {
  /* Header: hide top bar on mobile, show mobile phone strip instead */
  .header-top { display: none; }

  /* Mobile nav */
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--gray-200);
    padding: 16px 24px 24px;
    gap: 0;
    z-index: 999;
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--gray-100); }
  .nav-link { padding: 14px 0; display: block; font-size: 16px; }
  .btn-nav { display: none; }
  .burger { display: flex; margin-left: auto; }

  /* Mobile phone strip just below nav */
  .header-nav::after {
    content: '';
    display: none;
  }

  /* Hero — nav(72px) + call-bar(66px) = 138px */
  .hero { padding-top: 138px; min-height: 100svh; }
  .hero-content { padding: 48px 0 40px; }
  .hero-title { font-size: clamp(28px, 8vw, 44px); }
  .hero-desc { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: 100%; justify-content: center; font-size: 15px; padding: 14px 24px; }
  .hero-stats { gap: 0; flex-wrap: wrap; padding: 16px 0; }
  .hero-stat { padding: 10px 16px; }
  .stat-num { font-size: 30px; }
  .stat-sep { display: none; }
  .hero-scroll { display: none; }

  /* USP */
  .usp-strip { padding: 28px 0; }
  .usp-grid { grid-template-columns: 1fr; gap: 16px; }
  .usp-item { padding: 12px 0; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card-img { height: 180px; }

  /* About */
  .about-grid { gap: 32px; }
  .about-img-main { aspect-ratio: 16/9; border-radius: var(--radius-md); }
  .about-facts { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 16px; }
  .fact-num { font-size: 22px; }
  .about-certs { flex-direction: column; gap: 8px; }
  .about-logo3d { display: none; }

  /* Why us */
  .why-grid { grid-template-columns: 1fr; gap: 12px; }
  .why-card { padding: 20px; }

  /* Process */
  .process-step { grid-template-columns: 56px 1fr; gap: 16px; }

  /* Portfolio */
  .portfolio-filters { gap: 8px; }
  .pf-btn { padding: 8px 16px; font-size: 13px; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 10px; }
  .portfolio-item.large { grid-column: span 2; }

  /* Calc CTA */
  .calc-cta { padding: 56px 0; }
  .calc-cta-inner { grid-template-columns: 1fr; gap: 32px; }
  .calc-cta-content h2 { font-size: 26px; }
  .calc-form-wrap { padding: 24px 20px; border-radius: var(--radius-lg); }

  /* Reviews */
  .reviews-grid { grid-template-columns: 1fr; gap: 16px; }
  .reviews-rating {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    text-align: center;
  }
  .rating-overall { justify-content: center; }
  .rating-num { font-size: 44px; }

  /* FAQ */
  .faq-question { padding: 18px 20px; font-size: 15px; }
  .faq-answer p { padding: 0 20px 20px; }

  /* Contacts */
  .contacts-grid { grid-template-columns: 1fr; gap: 32px; }
  .contacts-map { height: 260px; }
  .contact-phone-link { font-size: 26px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-top > *:first-child { grid-column: span 2; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer-legal { flex-wrap: wrap; justify-content: center; gap: 16px; }

  /* Header mobile adjustments */
  .nav-inner {
    justify-content: space-between;
    gap: 0;
    position: relative; /* needed for centered logo-text */
  }
  .btn-mobile-phone { display: none !important; }

  /* Center company name in mobile header */
  .logo-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    pointer-events: none;
  }
  .logo-name { font-size: 22px; }
  .logo { gap: 0; } /* icon sits at left edge, text is centered absolutely */

  /* MOBILE CALL BAR — fixed orange strip below nav, 66px tall */
  .mobile-call-bar {
    display: flex !important;
    position: fixed !important;
    top: 72px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1200 !important;
    height: 66px !important;
    min-height: 66px !important;
    max-height: 66px !important;
    background: linear-gradient(90deg, #ea580c 0%, #c2410c 100%) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    box-shadow: 0 4px 22px rgba(234,88,12,0.6) !important;
  }
  /* Glass sheen animation on call bar — slow, repeats every ~3s pause */
  .mobile-call-bar::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -110%;
    width: 45%;
    height: 220%;
    background: linear-gradient(
      90deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.30) 50%,
      rgba(255,255,255,0) 100%
    );
    transform: rotate(22deg);
    animation: mobileCallSheen 5s cubic-bezier(0.19, 1, 0.22, 1) 3s infinite;
    pointer-events: none;
  }
  /* Text sizes inside call bar — proportionally bigger for 66px bar */
  .mobile-call-bar svg { width: 20px !important; height: 20px !important; }
  .mobile-call-bar span:first-of-type { font-size: 15px !important; }
  .mobile-call-bar span:last-of-type  { font-size: 22px !important; font-weight: 900 !important; }

  /* Floating and Scroll to Top */
  .back-to-top { bottom: 24px; left: 16px; width: 50px; height: 50px; }
  .floating-cta { bottom: 24px; right: 16px; }
  .float-btn { width: 50px; height: 50px; }
}

/* Glass sheen keyframe for call bar */
@keyframes mobileCallSheen {
  0%   { left: -110%; }
  35%  { left: 180%; }
  100% { left: 180%; }
}

/* --- Small mobile: up to 480px --- */
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .section { padding: 48px 0; }
  .section-title { font-size: 26px; }
  /* Hero — nav(60px) + call-bar(66px) = 126px on small phones */
  .hero { padding-top: 126px; }
  /* On 480px screens nav height is 60px */
  .mobile-call-bar { top: 60px !important; height: 66px !important; }
  .hero-title { font-size: clamp(30px, 8.5vw, 42px); }
  .hero-badge { font-size: 11px; padding: 6px 14px; }
  .calc-form-wrap { padding: 20px 16px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item.large { grid-column: span 1; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-top > *:first-child { grid-column: span 1; }
  .footer-links-group { margin-bottom: 0; }
  .nav-inner { height: 60px; }
  .logo-name { font-size: 20px; }
  .logo-sub { display: none; }
  /* Hide old mobile circle btn styles on small phones */
  .btn-mobile-phone { display: none !important; }
  .about-facts { grid-template-columns: repeat(2, 1fr); }
  .section-desc { font-size: 15px; }
  .process-step { grid-template-columns: 48px 1fr; gap: 12px; }
  .step-num { width: 38px; height: 38px; font-size: 11px; }
  .step-content h3 { font-size: 17px; }
  .why-card h3 { font-size: 16px; }
  .contact-phone-link { font-size: 22px; }
  .reviews-rating { padding: 16px; }
  .rating-num { font-size: 40px; }
  .floating-cta { gap: 24px; }
}

/* --- Extra small: up to 360px --- */
@media (max-width: 360px) {
  .hero-title { font-size: 24px; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { padding: 12px 16px; font-size: 14px; }
  .btn-nav { padding: 8px 14px; font-size: 13px; }
}
