:root {
  --bg: #0f172a;
  --panel: #111827;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --primary: #2563eb;
  --primary-2: #1d4ed8;
  --accent: #22c55e;
  --card: #0b1020;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg), #0b1228 60%, #0b1228);
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.center { text-align: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { color: var(--text); text-decoration: none; font-weight: 600; letter-spacing: .3px; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav a { color: var(--muted); text-decoration: none; transition: color .2s ease; }
.site-nav a:hover, .site-nav a.active { color: var(--text); }
.btn.btn-sm { padding: 8px 14px; }
.nav-toggle { display: none; background: transparent; border: 0; color: var(--text); }
.nav-toggle .bars { width: 22px; height: 2px; background: var(--text); display: inline-block; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ''; position: absolute; left: 0; right: 0; height: 2px; background: var(--text); }
.nav-toggle .bars::before { top: -6px; } .nav-toggle .bars::after { top: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 10px; background: var(--primary); color: white; text-decoration: none; font-weight: 500; box-shadow: 0 10px 18px rgba(37,99,235,0.25); transition: transform .1s ease, background .2s ease; }
.btn:hover { transform: translateY(-1px); background: var(--primary-2); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,0.14); box-shadow: none; }

/* Hero */
.hero { padding: 56px 0 24px; background: radial-gradient(1000px 400px at 10% 0%, rgba(34,197,94,0.12), transparent 60%), radial-gradient(1000px 400px at 90% 20%, rgba(37,99,235,0.12), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.hero-text h1 { font-size: 38px; margin: 0 0 12px; }
.lead { color: var(--muted); }
.hero-ctas { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.badges { display: flex; gap: 16px; list-style: none; margin: 16px 0 0; padding: 0; color: var(--muted); }
.badges i { color: var(--accent); }
.hero-photo-wrap { display: grid; justify-items: center; }
.hero-photo { width: 320px; height: 360px; object-fit: cover; border-radius: 18px; border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.photo-caption { margin-top: 8px; color: var(--muted); font-size: 14px; }

/* Home services */
.home-services { padding: 34px 0 10px; }
.home-services h2 { text-align: center; margin-bottom: 16px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.home-services .cards { max-width: 900px; margin: 0 auto; }
.card { background: var(--card); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 18px; }
.card .icon { width: 44px; height: 44px; display: grid; place-items: center; background: rgba(37,99,235,0.15); color: #9db9ff; border-radius: 12px; margin-bottom: 10px; }
.card h3 { margin: 6px 0 8px; font-size: 18px; }
.card p { color: var(--muted); margin: 0; }

/* CTA */
.cta { padding: 24px 0 48px; }
.cta-wrap { background: linear-gradient(180deg, rgba(37,99,235,0.15), rgba(34,197,94,0.15)); border: 1px solid rgba(255,255,255,0.10); border-radius: 16px; padding: 24px; text-align: center; }
.cta-actions { display: flex; justify-content: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }

/* Page hero */
.page-hero.small { padding: 40px 0 12px; }
.page-hero .lead { max-width: 860px; }

/* Services list */
.features { color: var(--muted); margin: 8px 0 0; padding-left: 18px; }

/* About */
.about { padding: 10px 0 32px; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.about-photo img { width: 100%; border-radius: 16px; border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.about-text p { color: var(--muted); }

/* Contact */
.contact { padding: 8px 0 48px; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.form .form-row { display: grid; gap: 8px; margin-bottom: 12px; }
.form label { font-size: 14px; color: var(--muted); }
.form input, .form textarea { background: #0a0f1e; color: var(--text); border: 1px solid rgba(255,255,255,0.10); border-radius: 10px; padding: 10px 12px; font-family: inherit; }
.form textarea { min-height: 140px; resize: vertical; }
.form-status { margin-top: 8px; color: var(--accent); font-size: 14px; }
.form-status.success { animation: fadeInUp .4s ease both; }
.form-status.info { color: var(--muted); }
.btn.loading { opacity: .9; pointer-events: none; }
.btn.loading::after { content: ''; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,0.8); border-top-color: transparent; border-radius: 50%; display: inline-block; margin-left: 8px; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.contact-info p { margin: 6px 0; color: var(--muted); }

/* Gallery */
.gallery { padding-bottom: 40px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); }

/* Reviews */
.reviews { padding: 10px 0 40px; }
.reviews h2 { text-align: center; margin-bottom: 16px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card { background: var(--card); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 16px; }
.review-card .quote { color: var(--text); margin: 8px 0; }
.review-card .author { color: var(--muted); font-size: 14px; }
.stars { color: #fbbf24; }
.stars .fa-star { margin-right: 2px; }

/* Footer */
.site-footer { border-top: 1px solid rgba(255,255,255,0.06); padding: 16px 0; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: center; }
.copyright { color: var(--muted); text-align: right; }
.site-footer a, .contact-info a { color: var(--text); text-decoration: none; }
.site-footer a:hover, .contact-info a:hover { text-decoration: none; opacity: .9; }
.site-footer a:visited, .contact-info a:visited { color: var(--text); }
/* Legal links style */
.legal-links { font-size: 14px; }
.legal-links a { color: var(--muted); }
.legal-links a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .copyright { text-align: left; }
  .site-nav { display: none; position: absolute; right: 20px; top: 64px; background: var(--panel); border: 1px solid rgba(255,255,255,0.10); border-radius: 12px; padding: 10px; flex-direction: column; }
  .site-nav a { padding: 6px 10px; }
  .nav-toggle { display: inline-block; }
}