/* ============================================================
   VILLION DIGITAL — Neon HUD Design System
   Chakra Petch (display) + Outfit (body)
   Dark/Light themes · Glassmorphism · Aurora · Glow
   ============================================================ */

/* ── Variables ─────────────────────────────────────────── */
:root {
  --ff-display: 'Chakra Petch', sans-serif;
  --ff-body:    'Outfit', sans-serif;

  /* DARK — Cockpit (default) */
  --bg:         #070a12;
  --bg-2:       #0c1018;
  --glass:      rgba(20, 28, 44, 0.55);
  --glass-2:    rgba(28, 38, 58, 0.40);
  --glass-brd:  rgba(124, 58, 237, 0.20);
  --text:       #e8eef7;
  --text-2:     #8696ad;
  --text-3:     #4a5568;
  --accent:     #7c3aed;        /* purple — overridden by DB */
  --accent-rgb: 124, 58, 237;
  --accent2:    #2de2e6;        /* cyan secondary */
  --accent2-rgb:45, 226, 230;
  --accent-h:   #9f5fff;
  --glow:       rgba(124, 58, 237, 0.5);
  --glow2:      rgba(45, 226, 230, 0.4);
  --success:    #2ade8e;
  --danger:     #ff5470;
  --warning:    #ffb02e;
  --nav-bg:     rgba(7, 10, 18, 0.85);
  --shadow:     0 8px 32px rgba(0,0,0,0.45);
  --shadow-lg:  0 24px 70px rgba(0,0,0,0.6);
  --radius:     12px;
  --radius-lg:  20px;
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --grid-line:  rgba(124, 58, 237, 0.05);
}

[data-theme="light"] {
  --bg:         #f0f0f8;
  --bg-2:       #e8e8f2;
  --glass:      rgba(255, 255, 255, 0.72);
  --glass-2:    rgba(255, 255, 255, 0.50);
  --glass-brd:  rgba(124, 58, 237, 0.20);
  --text:       #0c0e1a;
  --text-2:     #4a5068;
  --text-3:     #8896ad;
  --accent2:    #6600cc;
  --accent2-rgb:102, 0, 204;
  --glow:       rgba(124, 58, 237, 0.35);
  --glow2:      rgba(124, 58, 237, 0.25);
  --nav-bg:     rgba(240, 240, 248, 0.90);
  --shadow:     0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:  0 24px 70px rgba(0,0,0,0.15);
  --grid-line:  rgba(124, 58, 237, 0.06);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  transition: background .3s, color .3s;
}
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-h); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
::selection { background: rgba(var(--accent-rgb), 0.3); }

/* ── Aurora background ──────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: -30%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40% 50% at 15% 20%, rgba(var(--accent-rgb), 0.25), transparent 60%),
    radial-gradient(45% 45% at 85% 15%, rgba(var(--accent2-rgb), 0.18), transparent 60%),
    radial-gradient(50% 55% at 75% 88%, rgba(var(--accent-rgb), 0.15), transparent 60%),
    radial-gradient(38% 40% at 22% 82%, rgba(var(--accent2-rgb), 0.12), transparent 60%);
  filter: blur(22px);
  animation: aurora 28s ease-in-out infinite alternate;
}
@keyframes aurora {
  0%   { transform: translate3d(0,0,0) scale(1) rotate(0deg); }
  50%  { transform: translate3d(2%,-2%,0) scale(1.08) rotate(2deg); }
  100% { transform: translate3d(-2%,2%,0) scale(1.04) rotate(-2deg); }
}
/* HUD grid overlay */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 38%, #000 38%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 38%, #000 38%, transparent 100%);
}

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--ff-display);
  font-weight: 700; line-height: 1.15; color: var(--text);
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p  { line-height: 1.7; color: var(--text-2); }

/* ── Glassmorphism util ──────────────────────────────────── */
.glass {
  -webkit-backdrop-filter: blur(18px) saturate(140%);
          backdrop-filter: blur(18px) saturate(140%);
  background: var(--glass);
  border: 1px solid var(--glass-brd);
}

/* ── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 70px;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
          backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--glass-brd);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  transition: all .3s;
}
.navbar::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb),.8), rgba(var(--accent2-rgb),.5), transparent);
}
.nav-brand {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--ff-display); font-weight: 700; font-size: 1.15rem;
  letter-spacing: .05em; color: var(--text); text-transform: uppercase;
}
.nav-brand-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb),.3), rgba(var(--accent2-rgb),.3));
  border: 1px solid rgba(var(--accent-rgb),.5);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 0 16px var(--glow);
}
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-brand-name { background: linear-gradient(120deg, #fff, var(--accent2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-size: 1.05rem; }
.nav-brand-sub  { font-size: .55rem; letter-spacing: .18em; color: var(--text-2); -webkit-text-fill-color: var(--text-2); }

.nav-links { display: flex; align-items: center; gap: .15rem; }
.nav-link {
  color: var(--text-2); padding: .45rem .8rem; border-radius: 8px;
  font-size: .88rem; font-weight: 500;
  transition: all .2s; position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: rgba(var(--accent-rgb),.12); }
.nav-link.active { color: var(--accent2); }

.nav-cta {
  background: linear-gradient(120deg, var(--accent), rgba(var(--accent2-rgb),.8));
  color: #fff !important; padding: .4rem 1rem !important; border-radius: 8px;
  font-weight: 600; box-shadow: 0 0 18px var(--glow);
  transition: all .2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 0 28px var(--glow); }

.nav-right { display: flex; align-items: center; gap: .6rem; }
.nav-icon-btn {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--glass-brd);
  background: rgba(var(--accent-rgb),.08); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; color: var(--text-2);
  transition: all .2s;
}
.nav-icon-btn:hover { background: rgba(var(--accent-rgb),.18); color: var(--text); box-shadow: 0 0 14px var(--glow); }
.lang-badge { font-family: var(--ff-display); font-size: .68rem; font-weight: 700; letter-spacing: .08em; }

.user-avatar-sm {
  width: 34px; height: 34px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(var(--accent-rgb),.5);
  box-shadow: 0 0 12px var(--glow);
}
.user-initial-sm {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-weight: 700; font-size: .9rem; color: #fff;
  box-shadow: 0 0 12px var(--glow);
}
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 5px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* Dropdown */
.user-menu { position: relative; }
.user-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 200px;
  background: var(--glass); border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: .5rem; display: none; z-index: 300;
}
.user-dropdown.open { display: block; animation: fadeDown .2s ease; }
@keyframes fadeDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:none; } }
.dropdown-item {
  display: flex; align-items: center; gap: .6rem;
  padding: .6rem .8rem; border-radius: 8px; font-size: .88rem;
  color: var(--text-2); transition: all .15s; cursor: pointer;
}
.dropdown-item:hover { background: rgba(var(--accent-rgb),.1); color: var(--text); }
.dropdown-divider { height: 1px; background: var(--glass-brd); margin: .3rem 0; }
.dropdown-header { padding: .75rem .8rem; }
.dropdown-name { font-weight: 600; font-size: .9rem; color: var(--text); }
.dropdown-email { font-size: .75rem; color: var(--text-3); }

/* Mobile nav */
.nav-mobile {
  display: none; position: fixed; top: 70px; left: 0; right: 0; z-index: 190;
  background: var(--nav-bg); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-brd); padding: 1rem; flex-direction: column; gap: .3rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--text-2); padding: .65rem 1rem; border-radius: 8px;
  font-size: .92rem; display: block; transition: all .2s;
}
.nav-mobile a:hover { color: var(--text); background: rgba(var(--accent-rgb),.1); }

/* ── Flash messages ─────────────────────────────────────── */
.flash {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 1.5rem; font-size: .9rem; font-weight: 500;
  border-left: 3px solid; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.flash-success { background: rgba(42,222,142,.12); border-color: var(--success); color: var(--success); }
.flash-error   { background: rgba(255,84,112,.12); border-color: var(--danger); color: var(--danger); }
.flash button  { background: none; border: none; cursor: pointer; font-size: 1.2rem; opacity: .6; color: inherit; }

/* ── Main content ───────────────────────────────────────── */
.main-content { flex: 1; padding-top: 70px; }

/* ── Section layout ─────────────────────────────────────── */
.section { padding: 5rem 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.section-label {
  font-family: var(--ff-display); font-size: .72rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--accent2);
  margin-bottom: .6rem;
}
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 3rem; flex-wrap: wrap; gap: 1rem;
}
.section-title {
  font-family: var(--ff-display); font-weight: 800; line-height: 1.1;
  background: linear-gradient(120deg, var(--text) 40%, rgba(var(--accent2-rgb),.8));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 0 2rem;
}
.hero-content { max-width: 760px; position: relative; z-index: 3; }
.hero-label { font-family: var(--ff-display); font-size: .75rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--accent2); margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.hero-label::before { content: ''; display: block; width: 30px; height: 2px; background: var(--accent2); box-shadow: 0 0 8px var(--glow2); }
.hero-title {
  font-family: var(--ff-display); font-weight: 800; line-height: 1.05;
  font-size: clamp(2.4rem, 6vw, 4.5rem); letter-spacing: -.02em;
  margin-bottom: 1.4rem; color: var(--text);
}
.hero-title .accent { background: linear-gradient(120deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 1.1rem; line-height: 1.7; color: var(--text-2); max-width: 540px; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
  margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--glass-brd);
  max-width: 560px;
}
.hero-stat-num { font-family: var(--ff-display); font-size: 1.8rem; font-weight: 800; color: var(--text); line-height: 1; text-shadow: 0 0 20px var(--glow); }
.hero-stat-num span { color: var(--accent2); }
.hero-stat-label { font-size: .72rem; color: var(--text-2); text-transform: uppercase; letter-spacing: .08em; margin-top: .25rem; }

/* Floating decoration */
.hero-deco {
  position: absolute; right: -5%; top: 50%; transform: translateY(-50%);
  width: min(520px, 45vw); height: min(520px, 45vw); pointer-events: none; z-index: 1;
}
.hero-deco-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb),.2);
  animation: spin 30s linear infinite;
}
.hero-deco-ring:nth-child(2) { inset: 8%; border-color: rgba(var(--accent2-rgb),.15); animation-direction: reverse; animation-duration: 20s; }
.hero-deco-ring:nth-child(3) { inset: 18%; border-color: rgba(var(--accent-rgb),.25); animation-duration: 15s; }
.hero-deco-v {
  position: absolute; inset: 22%; background: linear-gradient(135deg, rgba(var(--accent-rgb),.15), rgba(var(--accent2-rgb),.1));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(var(--accent-rgb),.3);
  font-family: var(--ff-display); font-size: clamp(3rem, 6vw, 6rem); font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: none; filter: drop-shadow(0 0 30px rgba(var(--accent-rgb),.6));
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Hero carousel */
.hero-carousel-bg { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(120deg, rgba(7,10,18,.88) 55%, rgba(7,10,18,.4) 100%);
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .65rem 1.3rem; border-radius: 10px;
  font-family: var(--ff-body); font-size: .9rem; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
  transition: all .25s var(--ease); text-decoration: none; white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn::after { content:''; position:absolute; top:0; left:-120%; width:100%; height:100%; background:linear-gradient(120deg,transparent,rgba(255,255,255,.18),transparent); transition:left .5s ease; }
.btn:hover::after { left:120%; }
.btn-primary { background: linear-gradient(120deg, var(--accent), rgba(var(--accent2-rgb),.7)); color:#fff; box-shadow: 0 0 20px var(--glow); }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 0 32px var(--glow); color:#fff; }
.btn-secondary { background:var(--glass-2); color:var(--text); border-color:var(--glass-brd); }
.btn-secondary:hover { border-color:rgba(var(--accent-rgb),.4); color:var(--text); }
.btn-outline { background:transparent; color:var(--accent2); border-color:rgba(var(--accent2-rgb),.5); }
.btn-outline:hover { background:rgba(var(--accent2-rgb),.1); box-shadow:0 0 16px var(--glow2); color:var(--accent2); }
.btn-ghost { background:transparent; color:var(--text-2); border-color:var(--glass-brd); }
.btn-ghost:hover { color:var(--text); border-color:rgba(var(--accent-rgb),.3); }
.btn-wa { background:linear-gradient(120deg,#25D366,#128C7E); color:#fff; box-shadow:0 0 18px rgba(37,211,102,.4); }
.btn-wa:hover { transform:translateY(-2px); color:#fff; }
.btn-gmail { background:linear-gradient(120deg,#EA4335,#c23321); color:#fff; }
.btn-gmail:hover { transform:translateY(-2px); color:#fff; }
.btn-lg { padding:.8rem 1.6rem; font-size:1rem; }
.btn-sm { padding:.35rem .75rem; font-size:.8rem; }

/* ── CARDS ──────────────────────────────────────────────── */
.card {
  background: var(--glass); border: 1px solid var(--glass-brd);
  border-radius: var(--radius-lg); padding: 1.6rem;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.card:hover { box-shadow: var(--shadow-lg); border-color: rgba(var(--accent-rgb),.35); }
.card-hover:hover { transform: translateY(-5px); }

/* ── PROJECT GRID ───────────────────────────────────────── */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem; }
.project-card {
  background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.project-card:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb),.4); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(var(--accent-rgb),.25); }
.project-thumb { position: relative; height: 200px; overflow: hidden; background: var(--bg-2); }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.project-card:hover .project-thumb img { transform: scale(1.05); }
.project-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; opacity: .25; background: linear-gradient(135deg, rgba(var(--accent-rgb),.08), rgba(var(--accent2-rgb),.06)); }
.project-cat {
  position: absolute; top: .75rem; left: .75rem;
  background: rgba(var(--accent-rgb),.85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .25rem .65rem; border-radius: 20px;
}
.project-body { padding: 1.2rem; flex: 1; display: flex; flex-direction: column; }
.project-tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .75rem; }
.tag { background: rgba(var(--accent-rgb),.1); border: 1px solid rgba(var(--accent-rgb),.2); border-radius: 20px; padding: .18rem .55rem; font-size: .72rem; color: var(--text-2); }
.project-name { font-family: var(--ff-display); font-weight: 700; font-size: 1.05rem; margin-bottom: .5rem; color: var(--text); }
.project-desc { font-size: .85rem; color: var(--text-2); line-height: 1.55; flex: 1; }
.project-foot { display: flex; gap: .5rem; margin-top: 1rem; flex-wrap: wrap; }

/* Filters */
.filter-tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-tab {
  padding: .4rem 1rem; border-radius: 20px; font-size: .82rem; font-weight: 500;
  border: 1px solid var(--glass-brd); background: transparent; cursor: pointer;
  color: var(--text-2); transition: all .2s;
}
.filter-tab:hover, .filter-tab.active { background: rgba(var(--accent-rgb),.15); border-color: rgba(var(--accent-rgb),.4); color: var(--accent2); }

/* ── SERVICES GRID ──────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; }
.service-card {
  background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--radius-lg);
  padding: 1.4rem; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb),.4); box-shadow: var(--shadow-lg), 0 0 24px rgba(var(--accent-rgb),.12); }
.service-icon { font-size: 2rem; margin-bottom: .85rem; filter: drop-shadow(0 0 8px var(--glow)); }
.service-name { font-family: var(--ff-display); font-weight: 700; font-size: 1rem; margin-bottom: .4rem; color: var(--text); }
.service-desc { font-size: .84rem; color: var(--text-2); line-height: 1.55; flex: 1; margin-bottom: .85rem; }
.service-price { font-family: var(--ff-display); font-size: 1.4rem; font-weight: 800; color: var(--accent2); text-shadow: 0 0 16px var(--glow2); margin-bottom: .85rem; }
.service-price span { font-size: .7rem; font-weight: 400; color: var(--text-2); letter-spacing: .04em; text-transform: uppercase; }

/* ── REVIEWS ────────────────────────────────────────────── */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.review-card { background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--radius-lg); padding: 1.4rem; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.review-header { display: flex; align-items: center; gap: .75rem; margin-bottom: .85rem; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(var(--accent-rgb),.4); }
.review-avatar-initial { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); display: flex; align-items: center; justify-content: center; font-family: var(--ff-display); font-weight: 700; font-size: 1.1rem; color: #fff; }
.review-name { font-weight: 600; font-size: .92rem; color: var(--text); }
.review-date { font-size: .74rem; color: var(--text-3); }
.stars { color: #FFB02E; font-size: .95rem; letter-spacing: .05em; }
.review-text { font-size: .88rem; color: var(--text-2); line-height: 1.6; }

/* Average rating */
.rating-avg { display: flex; align-items: center; gap: 1rem; }
.rating-num { font-family: var(--ff-display); font-size: 3.5rem; font-weight: 800; color: var(--text); line-height: 1; }
.rating-num span { font-size: 1.2rem; color: var(--text-3); }
.rating-stars { font-size: 1.4rem; }
.rating-count { font-size: .8rem; color: var(--text-2); }

/* ── CONTACT SECTION ────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-card { background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--radius-lg); padding: 1.6rem; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); margin-bottom: 1rem; display: flex; align-items: center; gap: 1rem; transition: all .2s; }
.contact-card:hover { border-color: rgba(var(--accent-rgb),.4); }
.contact-icon { font-size: 1.6rem; flex-shrink: 0; filter: drop-shadow(0 0 8px var(--glow)); }
.contact-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-2); margin-bottom: .25rem; }
.contact-value { font-weight: 600; font-size: .95rem; color: var(--text); }
.contact-cta { background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--radius-lg); padding: 2rem; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.contact-cta .btn { width: 100%; justify-content: center; margin-bottom: .65rem; font-size: .9rem; padding: .8rem; }

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--nav-bg); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-brd); padding: 3rem 2rem 1.5rem; position: relative;
}
.site-footer::before { content:''; position:absolute; top:-1px; left:0; right:0; height:1px; background:linear-gradient(90deg,transparent,rgba(var(--accent-rgb),.6),rgba(var(--accent2-rgb),.4),transparent); }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2rem; }
.footer-brand-name { font-family: var(--ff-display); font-weight: 800; font-size: 1.3rem; letter-spacing: .1em; background: linear-gradient(120deg, var(--text), var(--accent2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: .5rem; }
.footer-brand-sub  { font-size: .7rem; letter-spacing: .16em; color: var(--text-3); margin-bottom: .85rem; }
.footer-bio { font-size: .85rem; color: var(--text-2); line-height: 1.65; max-width: 280px; }
.footer-socials { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-social { width: 36px; height: 36px; border-radius: 8px; background: rgba(var(--accent-rgb),.1); border: 1px solid var(--glass-brd); display: flex; align-items: center; justify-content: center; color: var(--text-2); font-size: .85rem; transition: all .2s; }
.footer-social:hover { background: rgba(var(--accent-rgb),.2); color: var(--text); box-shadow: 0 0 12px var(--glow); }
.footer-col-title { font-family: var(--ff-display); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--accent2); margin-bottom: .85rem; }
.footer-nav a { display: block; color: var(--text-2); font-size: .88rem; padding: .3rem 0; transition: color .2s; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--glass-brd); padding-top: 1.2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.footer-copy { font-size: .78rem; color: var(--text-3); }
.footer-copy strong { color: var(--text-2); }

/* ── QUOTE PAGE ─────────────────────────────────────────── */
.quote-grid { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; }
.module-list { display: flex; flex-direction: column; gap: .6rem; }
.module-item {
  display: flex; align-items: center; gap: 1rem;
  background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--radius);
  padding: 1rem 1.2rem; cursor: pointer; transition: all .2s;
}
.module-item:hover { border-color: rgba(var(--accent-rgb),.4); }
.module-item.selected { border-color: rgba(var(--accent-rgb),.7); background: rgba(var(--accent-rgb),.1); }
.module-cb { width: 20px; height: 20px; border-radius: 5px; border: 2px solid var(--glass-brd); flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.module-item.selected .module-cb { border-color: var(--accent); background: var(--accent); }
.module-icon { font-size: 1.4rem; flex-shrink: 0; }
.module-info { flex: 1; }
.module-name { font-weight: 600; font-size: .95rem; color: var(--text); }
.module-desc { font-size: .8rem; color: var(--text-2); }
.module-price { font-family: var(--ff-display); font-weight: 700; font-size: 1rem; color: var(--accent2); white-space: nowrap; }

/* Quote sidebar */
.quote-sidebar { position: sticky; top: 90px; }
.quote-summary-card { background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--radius-lg); padding: 1.4rem; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.quote-items { min-height: 80px; margin-bottom: 1rem; }
.quote-item { display: flex; justify-content: space-between; align-items: center; padding: .5rem 0; border-bottom: 1px solid var(--glass-brd); font-size: .85rem; }
.quote-item:last-child { border-bottom: none; }
.quote-total-row { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0 0; border-top: 2px solid rgba(var(--accent-rgb),.3); margin-top: .5rem; }
.quote-total-label { font-family: var(--ff-display); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.quote-total-price { font-family: var(--ff-display); font-size: 1.8rem; font-weight: 800; color: var(--accent2); text-shadow: 0 0 20px var(--glow2); }

/* ── FORMS ──────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.form-label { font-size: .85rem; font-weight: 500; color: var(--text); }
.form-control {
  background: var(--glass-2); border: 1px solid var(--glass-brd); border-radius: 10px;
  padding: .65rem .95rem; font-family: var(--ff-body); font-size: .92rem; color: var(--text);
  transition: border-color .2s, box-shadow .2s; width: 100%;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.18), 0 0 18px var(--glow); }
.form-control::placeholder { color: var(--text-3); }
textarea.form-control { resize: vertical; min-height: 100px; }

/* ── CHAT ───────────────────────────────────────────────── */
.chat-box { background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--radius-lg); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); display: flex; flex-direction: column; height: 420px; }
.chat-header { padding: 1rem 1.2rem; border-bottom: 1px solid var(--glass-brd); display: flex; align-items: center; gap: .75rem; }
.chat-online { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); }
.chat-messages { flex: 1; overflow-y: auto; padding: 1rem 1.2rem; display: flex; flex-direction: column; gap: .75rem; }
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(var(--accent-rgb),.3); border-radius: 2px; }
.msg-bubble { max-width: 75%; padding: .65rem .9rem; border-radius: 14px; font-size: .9rem; line-height: 1.5; }
.msg-bubble.mine { background: linear-gradient(135deg, rgba(var(--accent-rgb),.3), rgba(var(--accent2-rgb),.2)); border: 1px solid rgba(var(--accent-rgb),.25); align-self: flex-end; border-bottom-right-radius: 4px; }
.msg-bubble.theirs { background: var(--glass-2); border: 1px solid var(--glass-brd); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg-time { font-size: .68rem; color: var(--text-3); margin-top: .2rem; }
.chat-input-row { padding: .85rem 1.2rem; border-top: 1px solid var(--glass-brd); display: flex; gap: .6rem; }
.chat-input { flex: 1; background: var(--glass-2); border: 1px solid var(--glass-brd); border-radius: 24px; padding: .5rem 1rem; font-family: var(--ff-body); font-size: .9rem; color: var(--text); outline: none; }
.chat-input:focus { border-color: var(--accent); }

/* ── LOGIN PAGE ─────────────────────────────────────────── */
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.login-card { background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--radius-lg); padding: 2.8rem; width: 100%; max-width: 420px; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.login-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--accent),var(--accent2)); box-shadow:0 0 20px var(--glow); }
.login-logo { text-align: center; margin-bottom: 1.5rem; }
.login-logo-v { font-family: var(--ff-display); font-size: 3.5rem; font-weight: 900; background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 20px var(--glow)); }
.login-brand { font-family: var(--ff-display); font-size: .75rem; letter-spacing: .25em; color: var(--text-2); text-transform: uppercase; }
.login-title { font-size: 1.5rem; text-align: center; margin-bottom: .35rem; }
.login-sub { text-align: center; color: var(--text-2); font-size: .88rem; margin-bottom: 2rem; }
.btn-google {
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  width: 100%; padding: .85rem; border-radius: 12px;
  background: var(--glass-2); border: 1px solid var(--glass-brd); cursor: pointer;
  font-family: var(--ff-body); font-size: .95rem; font-weight: 600; color: var(--text);
  transition: all .25s;
}
.btn-google:hover { border-color: rgba(var(--accent-rgb),.5); background: rgba(var(--accent-rgb),.1); box-shadow: 0 0 20px var(--glow); }
.google-icon { width: 22px; height: 22px; }
.login-footer { text-align: center; margin-top: 1.5rem; font-size: .78rem; color: var(--text-3); }

/* ── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(var(--accent-rgb),.35); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(var(--accent-rgb),.6); }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quote-grid   { grid-template-columns: 1fr; }
  .quote-sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .hamburger { display: flex; }
  .nav-links, .nav-right .btn, .nav-right .nav-cta { display: none; }
  .hero-deco { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .project-grid, .services-grid, .reviews-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .container { padding: 0 1rem; }
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .project-grid, .services-grid, .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .login-card { padding: 1.8rem; }
}

/* ── PRINT ──────────────────────────────────────────────── */
@media print {
  body::before, body::after { display: none !important; }
  .navbar, .site-footer, .btn, .no-print { display: none !important; }
}

/* ── Reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
  .hero-deco-ring { animation: none; }
  * { transition-duration: .01ms !important; }
}
