/* ═══════════════════════════════════════════════════════════
   BARBAROSS CENTRE — Glassmorphic Modern (Style 06)
   Auto Paint & Body Repair, Bishkek
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* ─── CSS VARIABLES ───────────────────────────────────────── */
:root {
  --bg: #0f0f1a;
  --bg-rgb: 15, 15, 26;
  --surface: rgba(255,255,255,0.05);
  --surface-hover: rgba(255,255,255,0.09);
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(99,102,241,0.5);
  --accent: #6366f1;
  --accent-rgb: 99, 102, 241;
  --accent2: #818cf8;
  --accent3: #a78bfa;
  --text: #f1f5f9;
  --text-muted: rgba(241,245,249,0.6);
  --text-dim: rgba(241,245,249,0.35);
  --heading-font: 'Montserrat', sans-serif;
  --body-font: 'Inter', sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --glass: backdrop-filter: blur(20px) saturate(180%);
  --shadow: 0 8px 40px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(var(--accent-rgb), 0.2);
  --nav-h: 80px;
}

/* ─── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--body-font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { border: none; cursor: pointer; font-family: var(--body-font); }

/* ─── SCROLL PROGRESS ──────────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent3));
  transform-origin: left center; transform: scaleX(0);
  z-index: 9999; pointer-events: none;
}

/* ─── PRELOADER ─────────────────────────────────────────────── */
.preloader {
  position: fixed; inset: 0;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  z-index: 9998;
  clip-path: circle(100% at 50% 50%);
  transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}
.preloader-inner {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.preloader-logo {
  width: 72px; height: 72px; border-radius: 50%;
  object-fit: cover;
  animation: preloaderPulse 1.5s ease-in-out infinite;
}
.preloader-bar {
  width: 200px; height: 2px;
  background: var(--border);
  border-radius: 2px; overflow: hidden;
}
.preloader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent3));
  animation: preloaderLoad 1.8s ease-in-out forwards;
}
.preloader-text {
  font-family: var(--heading-font);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text-muted);
}
@keyframes preloaderPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.4); }
  50% { box-shadow: 0 0 0 20px rgba(var(--accent-rgb), 0); }
}
@keyframes preloaderLoad {
  0% { width: 0; }
  100% { width: 100%; }
}

/* ─── GRAIN OVERLAY ────────────────────────────────────────── */
.grain-overlay {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ─── ANIMATED GRADIENT MESH BLOBS ─────────────────────────── */
.mesh-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.35;
  animation: blobFloat 20s ease-in-out infinite;
}
.blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.6), transparent 70%);
  top: -15%; left: -10%;
  animation-delay: 0s; animation-duration: 20s;
}
.blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(167,139,250,0.5), transparent 70%);
  top: 30%; right: -10%;
  animation-delay: -7s; animation-duration: 23s;
}
.blob-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(99,102,241,0.4), transparent 70%);
  bottom: 0%; left: 30%;
  animation-delay: -14s; animation-duration: 18s;
}
.blob-4 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(129,140,248,0.45), transparent 70%);
  top: 60%; left: 10%;
  animation-delay: -4s; animation-duration: 25s;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.08); }
  50% { transform: translate(-20px, 30px) scale(0.95); }
  75% { transform: translate(40px, 20px) scale(1.05); }
}

/* ─── NAV ───────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h);
  z-index: 1000;
  display: flex; align-items: center;
  padding: 0 clamp(20px, 5vw, 80px);
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(15, 15, 26, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-brand {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
}
.nav-logo {
  width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(var(--accent-rgb), 0.4);
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.2);
  display: block;
}
.nav-name {
  font-family: var(--heading-font);
  font-size: 17px; font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  line-height: 1.2;
}
.nav-name span {
  display: block; font-size: 10px; font-weight: 500;
  color: var(--accent2); letter-spacing: 0.15em; text-transform: uppercase;
}
.nav-links {
  display: flex; align-items: center; gap: 8px;
  margin-left: auto; list-style: none;
}
.nav-links a {
  padding: 8px 16px; border-radius: 8px;
  font-size: 14px; font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  background: var(--surface);
}
.nav-cta {
  margin-left: 16px;
  padding: 10px 24px !important;
  background: linear-gradient(135deg, var(--accent), var(--accent3)) !important;
  color: white !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.4);
  transition: var(--transition) !important;
}
.nav-cta:hover {
  box-shadow: 0 6px 30px rgba(var(--accent-rgb), 0.6) !important;
  transform: translateY(-1px);
}

/* Burger */
.burger {
  display: none; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: var(--surface); border-radius: 10px;
  margin-left: auto; position: relative; z-index: 1001;
}
.burger span {
  width: 100%; height: 2px; background: var(--text);
  border-radius: 2px; transition: var(--transition); display: block;
}
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(15, 15, 26, 0.97);
  backdrop-filter: blur(24px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--heading-font);
  font-size: clamp(28px, 8vw, 48px);
  font-weight: 700; letter-spacing: 0.02em;
  color: var(--text-muted); padding: 12px 32px;
  transition: var(--transition);
  text-align: center;
}
.mobile-menu a:hover { color: var(--accent2); }
.mobile-menu-cta {
  margin-top: 24px;
  padding: 16px 48px !important;
  background: linear-gradient(135deg, var(--accent), var(--accent3)) !important;
  color: white !important; border-radius: 50px;
  font-size: 20px !important; font-weight: 700 !important;
}

/* ─── HERO ──────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; padding-top: var(--nav-h);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-inner {
  position: relative; z-index: 2; width: 100%;
  max-width: 1200px; margin: 0 auto;
  padding: clamp(60px, 10vh, 120px) clamp(20px, 5vw, 80px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.hero-content { position: relative; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 50px;
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  font-size: 12px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent2); margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); display: block;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero h1 {
  font-family: var(--heading-font);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900; line-height: 1.05;
  letter-spacing: -0.02em;
  word-break: break-word; overflow-wrap: break-word;
  margin-bottom: 24px;
}
.hero h1 .accent-word {
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.hero-subtitle {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--text-muted); line-height: 1.7;
  max-width: 480px; margin-bottom: 40px;
  font-weight: 400;
}
.hero-actions {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 56px;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border-radius: 50px;
  font-family: var(--body-font); font-weight: 600; font-size: 15px;
  cursor: pointer; transition: var(--transition);
  position: relative; overflow: hidden;
  min-height: 44px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  color: white;
  box-shadow: 0 6px 30px rgba(var(--accent-rgb), 0.45);
}
.btn-primary:hover {
  box-shadow: 0 10px 40px rgba(var(--accent-rgb), 0.65);
  transform: translateY(-2px);
}
.btn-outline {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
}
.btn-outline:hover {
  border-color: rgba(var(--accent-rgb), 0.5);
  background: rgba(var(--accent-rgb), 0.08);
}
.btn-ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  animation: rippleAnim 1s linear forwards;
  pointer-events: none;
}
@keyframes rippleAnim {
  0% { transform: scale(0); opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}

/* Hero stats */
.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
}
.hero-stat { text-align: left; }
.hero-stat .stat-number {
  font-family: var(--heading-font);
  font-size: 32px; font-weight: 800;
  color: var(--accent2); line-height: 1;
  margin-bottom: 4px;
}
.hero-stat .stat-label {
  font-size: 12px; color: var(--text-muted); font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* Hero image panel */
.hero-visual {
  position: relative; z-index: 2;
}
.hero-glass-panel {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px; overflow: hidden;
  padding: 4px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
}
.hero-glass-panel::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(var(--accent-rgb),0.1), transparent 50%, rgba(167,139,250,0.05));
  z-index: 1; pointer-events: none; border-radius: 24px;
}
.hero-main-img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover; border-radius: 20px;
  position: relative; z-index: 0;
}
.hero-badge {
  position: absolute; bottom: 24px; left: 24px; z-index: 10;
  background: rgba(15, 15, 26, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 12px 18px;
  display: flex; align-items: center; gap: 12px;
}
.hero-badge-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.hero-badge-text { font-size: 12px; line-height: 1.5; }
.hero-badge-text strong { color: var(--text); font-weight: 700; font-size: 13px; }
.hero-badge-text span { color: var(--text-muted); display: block; }

/* Hero floating mini-card */
.hero-mini-card {
  position: absolute; top: -24px; right: -20px; z-index: 10;
  background: rgba(15,15,26,0.9); backdrop-filter: blur(16px);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  border-radius: 14px; padding: 14px 18px;
  min-width: 150px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4), 0 0 20px rgba(var(--accent-rgb),0.1);
}
.hero-mini-card .mini-label {
  font-size: 10px; color: var(--accent2);
  letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 4px;
}
.hero-mini-card .mini-value {
  font-family: var(--heading-font); font-size: 22px; font-weight: 800;
  color: var(--text); line-height: 1;
}
.hero-mini-card .mini-sub {
  font-size: 11px; color: var(--text-muted); margin-top: 2px;
}

/* ─── SECTION GENERIC ───────────────────────────────────────── */
.section {
  position: relative; z-index: 2;
  padding: clamp(60px, 8vw, 120px) clamp(20px, 5vw, 80px);
  max-width: 1400px; margin: 0 auto;
}
.section-header {
  text-align: center; margin-bottom: clamp(48px, 6vw, 80px);
}
.section-header h2 {
  font-family: var(--heading-font);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.02em;
  word-break: break-word; overflow-wrap: break-word;
  margin-bottom: 16px;
}
.section-header p {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--text-muted); max-width: 560px; margin: 0 auto;
  line-height: 1.7;
}
.section-tag {
  display: inline-block; margin-bottom: 16px;
  padding: 6px 16px; border-radius: 50px;
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  font-size: 11px; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--accent2);
}
.section-divider {
  position: absolute; top: 0; left: 5%; right: 5%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  transform-origin: left;
}

/* ─── SERVICES — GLASS MOSAIC ───────────────────────────────── */
.services-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card {
  background: var(--surface);
  backdrop-filter: blur(20px) saturate(180%);
  padding: 36px 32px;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow-wrap: break-word; word-break: break-word;
  display: flex; flex-direction: column; gap: 14px;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(var(--accent-rgb),0) 0%, rgba(var(--accent-rgb),0.06) 100%);
  opacity: 0; transition: var(--transition);
}
.service-card::after {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: var(--transition);
  transform: scaleX(0);
}
.service-card:hover { background: var(--surface-hover); }
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { opacity: 1; transform: scaleX(1); }
/* First card full-width */
.service-card:first-child {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  padding: 48px;
}
.service-card:first-child .service-card-content { grid-column: 1; }
.service-card:first-child .service-img-wrap { grid-column: 2; }
.service-img-wrap {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16/9; position: relative;
}
.service-card:not(:first-child) .service-img-wrap {
  aspect-ratio: 16/10; margin-bottom: 0;
}
.service-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-img-wrap img { transform: scale(1.06); }
.service-icon {
  width: 50px; height: 50px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.2), rgba(var(--accent-rgb), 0.08));
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.service-card h3 {
  font-family: var(--heading-font);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 700;
  word-break: break-word; overflow-wrap: break-word;
  line-height: 1.3;
}
.service-card p {
  font-size: 14px; color: var(--text-muted); line-height: 1.6;
}
.service-badge {
  display: inline-block; padding: 4px 12px; border-radius: 50px;
  background: rgba(var(--accent-rgb), 0.15);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  font-size: 11px; font-weight: 600; color: var(--accent2);
  width: fit-content;
}
.card-spotlight {
  position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; z-index: 1;
  transition: background 0.1s;
}
.gradient-border { position: relative; }
.gradient-border::after {
  content: ''; position: absolute; inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(var(--accent-rgb),0.3), transparent, rgba(167,139,250,0.2));
  z-index: -1; opacity: 0; transition: opacity 0.4s;
}
.gradient-border:hover::after { opacity: 1; }

/* ─── STATS / UTP SECTION ──────────────────────────────────── */
.stats-section {
  position: relative; z-index: 2;
  padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 80px);
}
.stats-inner {
  max-width: 1400px; margin: 0 auto;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 72px) clamp(28px, 5vw, 72px);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px;
  text-align: center;
}
.stat-item { position: relative; }
.stat-item:not(:last-child)::after {
  content: ''; position: absolute; right: -24px; top: 10%; bottom: 10%;
  width: 1px; background: var(--border);
}
.stat-number {
  font-family: var(--heading-font);
  font-size: clamp(36px, 4vw, 54px); font-weight: 900;
  background: linear-gradient(135deg, var(--text), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1; margin-bottom: 8px;
}
.stat-label {
  font-size: 13px; color: var(--text-muted);
  font-weight: 500; letter-spacing: 0.05em;
  line-height: 1.4;
}
.stat-icon {
  font-size: 28px; margin-bottom: 12px; display: block;
}

/* ─── UTP SECTION ───────────────────────────────────────────── */
.utp-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.utp-card {
  background: var(--surface);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px; transition: var(--transition);
  position: relative; overflow: hidden;
  overflow-wrap: break-word; word-break: break-word;
}
.utp-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent3));
  border-radius: 3px 0 0 3px;
  opacity: 0; transition: var(--transition);
}
.utp-card:hover { border-color: rgba(var(--accent-rgb), 0.3); transform: translateY(-4px); }
.utp-card:hover::before { opacity: 1; }
.utp-number {
  font-family: var(--heading-font);
  font-size: 48px; font-weight: 900; line-height: 1;
  color: rgba(var(--accent-rgb), 0.15); margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.utp-card h3 {
  font-family: var(--heading-font);
  font-size: 16px; font-weight: 700; margin-bottom: 8px;
  word-break: break-word; overflow-wrap: break-word;
}
.utp-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ─── GALLERY SECTION ──────────────────────────────────────── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.gallery-item {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; position: relative; cursor: zoom-in;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(var(--accent-rgb), 0.3));
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover {
  box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.4);
}
/* Larger first item */
.gallery-item:first-child { grid-row: span 2; aspect-ratio: auto; }

/* ─── PROCESS STEPS ─────────────────────────────────────────── */
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  position: relative;
}
.process-steps::before {
  content: ''; position: absolute; top: 40px; left: 80px; right: 80px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
  z-index: 0;
}
.process-step {
  text-align: center; position: relative; z-index: 1;
  padding: 32px 20px;
  background: var(--surface); backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: var(--transition);
  overflow-wrap: break-word; word-break: break-word;
}
.process-step:hover { border-color: rgba(var(--accent-rgb), 0.4); transform: translateY(-6px); }
.process-step-number {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.2), rgba(var(--accent-rgb), 0.05));
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--heading-font); font-size: 22px; font-weight: 800;
  color: var(--accent2);
}
.process-step h3 {
  font-family: var(--heading-font); font-size: 15px; font-weight: 700;
  margin-bottom: 8px; word-break: break-word;
}
.process-step p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ─── CTA SECTION ───────────────────────────────────────────── */
.cta-section {
  position: relative; z-index: 2; overflow: hidden;
  margin: 0 clamp(20px, 5vw, 80px) clamp(60px, 8vw, 120px);
  background: linear-gradient(135deg, rgba(var(--accent-rgb),0.15), rgba(167,139,250,0.1));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  border-radius: 28px; padding: clamp(48px, 6vw, 80px) clamp(28px, 5vw, 72px);
  text-align: center;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(var(--accent-rgb),0.2), transparent 60%);
  pointer-events: none;
}
.cta-particle {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb),0.5), transparent 70%);
  animation: floatParticle ease-in-out infinite;
  pointer-events: none;
}
@keyframes floatParticle {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  33% { transform: translate(20px, -30px) scale(1.2); opacity: 0.8; }
  66% { transform: translate(-15px, 20px) scale(0.8); opacity: 0.3; }
}
.cta-section h2 {
  font-family: var(--heading-font);
  font-size: clamp(32px, 4vw, 52px); font-weight: 800;
  line-height: 1.1; margin-bottom: 16px;
  word-break: break-word; overflow-wrap: break-word;
  position: relative; z-index: 1;
}
.cta-section p {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--text-muted); max-width: 500px;
  margin: 0 auto 40px; line-height: 1.6;
  position: relative; z-index: 1;
}
.cta-buttons {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.btn-large {
  padding: 18px 48px; font-size: 17px; min-height: 56px;
}
.btn-white {
  background: rgba(255,255,255,0.12);
  color: var(--text); border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}
.btn-white:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
}

/* ─── FLOATING WHATSAPP ─────────────────────────────────────── */
.floating-whatsapp {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 30px rgba(37,211,102,0.5);
  transition: var(--transition);
  animation: waBounce 3s ease-in-out infinite;
}
.floating-whatsapp:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 40px rgba(37,211,102,0.7);
}
.floating-whatsapp svg { width: 30px; height: 30px; fill: white; }
@keyframes waBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ─── CONTACT / FOOTER ──────────────────────────────────────── */
.footer {
  position: relative; z-index: 2;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border);
  padding: clamp(48px, 6vw, 80px) clamp(20px, 5vw, 80px) clamp(24px, 3vw, 40px);
}
.footer-inner {
  max-width: 1400px; margin: 0 auto;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand-row {
  display: flex; align-items: center; gap: 14px;
}
.footer-logo {
  width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover; border: 2px solid rgba(var(--accent-rgb), 0.3);
  display: block;
}
.footer-brand-name {
  font-family: var(--heading-font); font-size: 18px; font-weight: 800;
}
.footer-brand-name span {
  display: block; font-size: 11px; color: var(--accent2);
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
}
.footer-brand p {
  font-size: 14px; color: var(--text-muted); line-height: 1.7; max-width: 260px;
}
.footer-col h4 {
  font-family: var(--heading-font); font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 14px; color: rgba(241,245,249,0.7); transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--accent2); }
.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex; align-items: center; gap: 12px;
}
.contact-item-icon {
  width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0;
  background: rgba(var(--accent-rgb), 0.12);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.contact-item-text { font-size: 14px; color: var(--text-muted); line-height: 1.4; }
.contact-item-text a { color: var(--text); transition: color 0.2s; }
.contact-item-text a:hover { color: var(--accent2); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p {
  font-size: 13px; color: var(--text-dim);
}
.footer-work-badge {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 50px;
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  font-size: 12px; font-weight: 600; color: var(--accent2);
}
.footer-work-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e; animation: pulse 2s ease-in-out infinite;
}

/* ─── LIGHTBOX ─────────────────────────────────────────────── */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.95); backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox-overlay.active { opacity: 1; pointer-events: all; }
.lightbox-overlay img {
  max-width: 90vw; max-height: 85vh;
  object-fit: contain; border-radius: var(--radius);
  box-shadow: 0 20px 80px rgba(0,0,0,0.8);
}
.lightbox-close {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: white;
  font-size: 18px; cursor: pointer; transition: var(--transition);
  backdrop-filter: blur(8px);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ─── PAGE HERO (inner pages) ──────────────────────────────── */
.page-hero {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 60px; padding-left: clamp(20px, 5vw, 80px);
  padding-right: clamp(20px, 5vw, 80px);
  text-align: center; position: relative; z-index: 2;
  max-width: 1400px; margin: 0 auto;
}
.page-hero-title {
  font-family: var(--heading-font);
  font-size: clamp(40px, 6vw, 72px); font-weight: 900;
  line-height: 1.05; letter-spacing: -0.02em;
  margin-bottom: 16px; word-break: break-word; overflow-wrap: break-word;
}
.page-hero p {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--text-muted); max-width: 560px; margin: 0 auto;
}

/* ─── SERVICES PAGE — full list ──────────────────────────────── */
.services-full-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.service-card-full {
  background: var(--surface);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition); cursor: pointer;
  overflow-wrap: break-word; word-break: break-word;
}
.service-card-full:hover {
  border-color: rgba(var(--accent-rgb), 0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px rgba(var(--accent-rgb),0.1);
}
.service-img {
  width: 100%; aspect-ratio: 16/9; overflow: hidden;
  position: relative;
}
.service-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card-full:hover .service-img img { transform: scale(1.06); }
.service-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(15,15,26,0.8));
}
.service-body {
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
}
.service-body h3 {
  font-family: var(--heading-font); font-size: 19px; font-weight: 700;
  word-break: break-word; overflow-wrap: break-word;
}
.service-body p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.service-price {
  font-size: 13px; font-weight: 600; color: var(--accent2);
  padding: 4px 12px; border-radius: 50px;
  background: rgba(var(--accent-rgb), 0.1); width: fit-content;
}

/* ─── GALLERY PAGE ──────────────────────────────────────────── */
.gallery-filter {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 10px 24px; border-radius: 50px; font-size: 14px; font-weight: 600;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-muted); cursor: pointer; transition: var(--transition);
  min-height: 44px;
}
.filter-btn.active, .filter-btn:hover {
  background: rgba(var(--accent-rgb), 0.15);
  border-color: rgba(var(--accent-rgb), 0.4);
  color: var(--accent2);
}
.gallery-grid-page {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.gallery-grid-page .gallery-item { aspect-ratio: 4/3; }
.gallery-label {
  position: absolute; bottom: 12px; left: 12px; right: 12px; z-index: 5;
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .gallery-label { opacity: 1; }

/* ─── PAGE TRANSITIONS ─────────────────────────────────────── */
.page-transition {
  position: fixed; inset: 0; z-index: 9998;
  background: var(--accent);
  clip-path: circle(0% at 50% 50%);
  pointer-events: none;
}

/* ─── HOVER STATES ─────────────────────────────────────────── */
.chromatic-hover {
  position: relative;
  transition: var(--transition);
}
.chromatic-hover:hover img {
  filter: contrast(1.1) saturate(1.2);
}

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .stat-item:nth-child(2)::after { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .services-mosaic { grid-template-columns: repeat(2, 1fr); }
  .service-card:first-child { grid-column: 1 / -1; }
  .utp-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .services-full-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding-top: 80px; }
  .hero-visual { display: none; }
  .hero-stats { gap: 24px; }
  .hero h1 { font-size: clamp(36px, 10vw, 52px); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item::after { display: none; }
  .services-mosaic { grid-template-columns: 1fr; background: none; gap: 12px; border-radius: 0; }
  .service-card { border: 1px solid var(--border); border-radius: var(--radius); }
  .service-card:first-child {
    grid-column: 1; grid-template-columns: 1fr;
  }
  .service-card:first-child .service-img-wrap { grid-column: 1; order: -1; }
  .utp-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:first-child { grid-row: auto; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-section { margin: 0 16px clamp(40px, 6vw, 80px); }
  .services-full-grid { grid-template-columns: 1fr; }
  .gallery-grid-page { grid-template-columns: repeat(2, 1fr); }
  .hero-badge { bottom: 16px; left: 16px; right: 16px; }
  .hero-mini-card { display: none; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-row: auto; }
  .gallery-grid-page { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
  .btn-large { padding: 16px 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
