/* Color variables */
:root {
  --bg: #0b0b0b;
  --panel: #141414;
  --panel-2: #171717;
  --line: #232323;
  --text: #eaeaea;
  --muted: #b4b4b4;
  --white: #ffffff;
  --navy: #0b0b0b;
  --navy-700: #1a1a1a;
  --grey-50: #0f0f0f;
  --grey-100: #151515;
  --grey-300: #262626;
  --accent: #3a7bd5;
}

/* Base reset */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11,11,11,0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.logo-mark { color: var(--white); font-size: 18px; }
.logo-text { color: var(--white); letter-spacing: 0.2px; }
.logo-img { height: 44px; width: auto; display: block; }

.main-nav ul { display: flex; gap: 18px; align-items: center; list-style: none; margin: 0; padding: 0; }
.main-nav a { color: #d0d0d0; font-weight: 600; font-size: 15px; transition: color 0.2s ease; }
.main-nav a:hover,
.main-nav a.active { color: var(--white); }
.nav-links a.active { color: var(--white); }

/* Header for about/services pages */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11,11,11,0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.header .container.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
}
.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.nav-links a {
  color: #d0d0d0;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 6px 0;
}
.nav-links a:hover {
  color: var(--white);
}
.nav-cta {
  background: #ffffff !important;
  color: #000 !important;
  padding: 10px 20px !important;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s ease;
}
.nav-cta:hover {
  background: #e0e0e0 !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.15s ease-in-out;
  border: 1px solid transparent;
}
.btn-small { padding: 8px 12px; font-size: 0.95rem; }
.btn-primary { background: #ffffff; color: #000; border-color: #ffffff; }
.btn-primary:hover { background: #d9d9d9; border-color: #d9d9d9; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,255,255,0.2); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--line); }
.btn-outline:hover { background: var(--white); color: #000; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle .bar { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; transition: 0.2s; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .main-nav ul { position: absolute; right: 20px; top: 70px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: none; box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
  .main-nav ul.open { display: grid; gap: 10px; }
  .nav-links { flex-direction: column; gap: 12px; }
}

/* Hero */
.hero { background: linear-gradient(180deg, #0d0d0d, #0b0b0b); padding: 72px 0; position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(58,123,213,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: 2.4rem; line-height: 1.2; margin: 0 0 10px; color: var(--white); animation: fadeInUp 0.8s ease-out; }
.hero p { color: var(--muted); margin: 0 0 20px; animation: fadeInUp 0.8s ease-out 0.2s both; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; animation: fadeInUp 0.8s ease-out 0.4s both; }
.trust-list { display: flex; gap: 18px; padding: 0; margin: 22px 0 0; list-style: none; color: var(--muted); font-size: 0.95rem; }
.hero-media .media-placeholder { background: var(--panel); border: 1px dashed var(--line); border-radius: 14px; height: 260px; display: flex; align-items: center; justify-content: center; color: var(--muted); }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; }
}

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--panel); }
.section-header { text-align: center; margin-bottom: 28px; }
.section-header h2 { margin: 0 0 8px; color: var(--white); }
.intro { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel-2); }

/* Scroll Animation */
[data-aos] { opacity: 0; transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
[data-aos="fade-up"] { transform: translateY(40px); }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }

/* Statistics Section */
.stats-section { background: var(--panel); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.stat-card {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  border-color: rgba(58,123,213,0.3);
}
.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #6aa3ff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-icon {
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.stat-card:hover .stat-icon {
  opacity: 1;
  transform: scale(1.1);
}
.stat-label {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
}
@media (max-width: 880px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-number { font-size: 2.5rem; }
}

/* Cards */
.card-grid { display: grid; gap: 18px; grid-template-columns: repeat(5, 1fr); }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6aa3ff, transparent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(58,123,213,0.2);
  border-color: rgba(58,123,213,0.4);
}
.card:hover::before {
  transform: scaleX(1);
}
.card h3 { margin: 10px 0 6px; color: var(--white); }
.card p { margin: 0; color: var(--muted); }
.card-icon { font-size: 22px; transition: transform 0.3s ease; }
.card:hover .card-icon { transform: scale(1.2) rotate(5deg); }

@media (max-width: 1100px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .card-grid { grid-template-columns: 1fr; } }

/* Two column */
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: start; }
@media (max-width: 920px) { .two-col { grid-template-columns: 1fr; } }
.media-panel .media-placeholder { background: var(--panel); border: 1px dashed var(--line); border-radius: 12px; height: 240px; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.media-img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.check-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.check-list li::before { content: "✔"; color: var(--white); margin-right: 8px; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-item {
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0f0f0f;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 32px rgba(58,123,213,0.3);
}
.gallery-item img, .gallery-item svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 720px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .gallery-grid { grid-template-columns: 1fr; } }

/* Testimonials Carousel */
.testimonials-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.testimonials-track {
  position: relative;
  min-height: 200px;
  overflow: hidden;
}
.testimonial {
  display: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  animation: fadeIn 0.5s ease-in-out;
}
.testimonial.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.testimonial blockquote {
  margin: 0 0 20px;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.7;
  font-style: italic;
}
.testimonial .stars {
  color: #ffb400;
  margin-right: 8px;
  font-size: 1.1rem;
}
.testimonial .name {
  color: var(--white);
  font-weight: 600;
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}
.carousel-btn {
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.carousel-btn:hover {
  background: var(--white);
  color: #000;
  transform: scale(1.1);
}
.carousel-dots {
  display: flex;
  gap: 10px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  transition: all 0.2s ease;
}
.dot.active,
.dot:hover {
  background: var(--white);
  transform: scale(1.3);
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.contact-form-card h3,
.contact-info-card h3 {
  margin: 0 0 24px;
  color: var(--white);
  font-size: 1.5rem;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: all 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6aa3ff;
  box-shadow: 0 0 0 3px rgba(58,123,213,0.1);
  background: var(--panel);
}
.form-group input.error,
.form-group textarea.error {
  border-color: #ff4444;
}
.error-message {
  display: block;
  color: #ff4444;
  font-size: 0.85rem;
  margin-top: 6px;
  min-height: 18px;
}
.form-success {
  margin-top: 20px;
  padding: 16px;
  background: rgba(58,123,213,0.1);
  border: 1px solid rgba(58,123,213,0.3);
  border-radius: 8px;
  color: #6aa3ff;
  text-align: center;
}
.contact-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.contact-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.contact-item strong {
  display: block;
  color: var(--white);
  margin-bottom: 8px;
}
.contact-item a {
  color: #6aa3ff;
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact-item a:hover {
  color: #9bb8e8;
  text-decoration: underline;
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Business details */
.business-details { margin-top: 12px; color: var(--muted); }
.map-wrap { width: 100%; }
.map-embed { position: relative; padding-bottom: 56%; height: 0; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); }
.map-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* Service map */
.service-area { margin-top: 16px; }
#service-map { height: 380px; border-radius: 12px; border: 1px solid var(--line); overflow: hidden; }
.leaflet-container { font: inherit; }

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 50px;
  height: 50px;
  background: var(--white);
  color: #000;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-to-top:hover {
  background: #e0e0e0;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
@media (max-width: 600px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

/* Footer */
.site-footer {
  background: #000;
  color: var(--white);
  margin-top: 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 20px 0;
}
.footer-inner .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.footer-nav {
  display: inline-flex;
  gap: 14px;
}
.footer-nav a {
  color: #cfcfcf;
  transition: color 0.2s ease;
}
.footer-nav a:hover {
  color: var(--white);
}
.copyright {
  grid-column: 1 / -1;
  margin: 0;
  color: #cfcfcf;
  opacity: 0.9;
}

/* Utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
