:root {
  --bg: #0a0b10;
  --surface: #13151f;
  --surface-alt: #1a1e2e;
  --text: #e4e7ef;
  --muted: #8891a8;
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --accent: #60a5fa;
  --border: #1f2437;
  --glow: rgba(59, 130, 246, 0.15);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --radius: 16px;
  --max-width: 1140px;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #93c5fd; }
img { max-width: 100%; display: block; }

.container {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

/* ========= BUBBLES BACKGROUND ========= */
.bubbles-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 50%),
    radial-gradient(circle at 75% 75%, rgba(96, 165, 250, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(173, 216, 255, 0.04) 0%, rgba(96, 165, 250, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 -4px 8px rgba(96, 165, 250, 0.06),
    inset 2px 2px 6px rgba(255, 255, 255, 0.1),
    0 0 8px rgba(96, 165, 250, 0.05);
  animation: float linear infinite;
}

@keyframes float {
  0%   { transform: translateY(100vh) scale(0.3) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.8; }
  50%  { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-10vh) scale(1) rotate(30deg); opacity: 0; }
}

/* ========= SCROLL REVEAL ========= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========= TOP BAR ========= */
.top-bar {
  background: rgba(0, 0, 0, 0.6);
  color: var(--muted);
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 10;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
}

.top-phone {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1.1rem;
}

@media (min-width: 720px) {
  .top-phone {
    font-size: 1.25rem;
  }
}

/* ========= HEADER ========= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 11, 16, 0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
}

.logo img { height: 70px; width: auto; }

.nav-toggle {
  border: 0;
  background: transparent;
  width: 44px; height: 44px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 5px;
  transition: 0.3s;
}

.site-nav {
  position: absolute;
  inset: 100% 0 auto 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.site-nav.open { max-height: 80vh; }

.site-nav ul {
  list-style: none;
  padding: 0.25rem 1rem 1rem;
}

.site-nav li + li { border-top: 1px solid var(--border); }

.site-nav a {
  display: block;
  padding: 0.85rem 0;
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a.active { color: #fff; }

/* ========= BUTTONS ========= */
.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: 1rem 2.2rem;
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3), 0 4px 16px rgba(0,0,0,0.3);
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 1.05rem;
}

.btn:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(59, 130, 246, 0.45), 0 8px 24px rgba(0,0,0,0.4);
}

.btn.secondary {
  background: transparent;
  border: 1.5px solid rgba(96, 165, 250, 0.5);
  color: var(--accent);
  box-shadow: none;
}

.btn.secondary:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--accent);
}

/* ========= HERO — FULL SCREEN ========= */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 2rem 0;
}

.hero-card {
  background: transparent;
  color: #fff;
  padding: 0;
  max-width: 700px;
}

.hero h1 {
  font-family: 'Merriweather', Georgia, serif;
  line-height: 1.15;
  margin: 0 0 1.2rem;
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  letter-spacing: -0.01em;
}

.hero p {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.7;
}

.hero .btn + .btn { margin-left: 0.75rem; }

/* ========= SECTIONS ========= */
.section {
  padding: 4rem 0;
  position: relative;
  z-index: 1;
}

.section h2 {
  font-family: 'Merriweather', Georgia, serif;
  line-height: 1.3;
  color: #fff;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  margin-bottom: 1rem;
}

/* ========= SURFACE ========= */
.surface {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
}

.surface h1, .surface h2 { color: #fff; }
.surface p, .surface li { color: var(--muted); }
.surface strong { color: var(--text); }

/* ========= BADGES ========= */
.badge-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.badge {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: border-color 0.3s;
}

.badge:hover { border-color: var(--primary); }

/* ========= CARDS ========= */
.service-grid, .link-grid, .review-grid, .gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.1);
}

.card h3 { margin-top: 0; color: #fff; font-size: 1.05rem; }
.card p { color: var(--muted); margin-bottom: 0; font-size: 0.95rem; }

/* ========= BEFORE/AFTER GALLERY ========= */
.gallery-item {
  background: var(--bg);
  border: none;
  min-height: 220px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  line-height: 0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
  display: block;
}

.gallery-item.placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
  padding: 1rem;
  border-style: dashed;
}

.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
  padding: 2rem 1rem 0.75rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ========= TEAM PHOTO ========= */
.team-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  max-width: 600px;
  margin: 1.5rem auto;
}

.team-photo img {
  width: 100%;
  height: auto;
}

/* ========= CALLOUT ========= */
.callout {
  border-left: 3px solid var(--primary);
  background: rgba(59, 130, 246, 0.06);
  padding: 1.2rem;
  border-radius: 10px;
}

.callout p { color: var(--text) !important; }

/* ========= CONTENT ========= */
.content ul, .content ol { padding-left: 1.2rem; }
.content li + li { margin-top: 0.5rem; }

/* ========= CTA BAND ========= */
.cta-band {
  background: var(--surface);
  border: 1px solid var(--border);
  color: #fff;
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.cta-band p { color: var(--muted); margin-bottom: 1rem; }
.cta-band strong { color: #fff; font-size: 1.3rem; }

/* ========= FOOTER ========= */
.footer {
  margin-top: 3rem;
  background: #060810;
  color: var(--muted);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.footer a { color: rgba(255,255,255,0.6); }
.footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.footer h2, .footer h3 {
  color: #fff;
  margin-top: 0;
  font-family: 'Merriweather', Georgia, serif;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
}

.small {
  color: rgba(255,255,255,0.2);
  font-size: 0.8rem;
  margin-top: 2rem;
}

/* ========= RESPONSIVE ========= */
@media (min-width: 720px) {
  .nav-toggle { display: none; }

  .site-nav {
    position: static;
    border: 0;
    max-height: none;
    overflow: visible;
    background: transparent;
  }

  .site-nav ul {
    display: flex;
    align-items: center;
    gap: 1.3rem;
    padding: 0;
  }

  .site-nav li + li { border-top: 0; }
  .site-nav a { padding: 0.4rem 0; font-size: 0.88rem; }

  .badge-grid, .service-grid, .link-grid, .review-grid, .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .surface { padding: 2.5rem; }
  .footer-grid { grid-template-columns: 1.1fr 1fr 1fr; }
}

@media (min-width: 980px) {
  .badge-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-grid, .review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
