:root {
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --border: #e2e8f0;
  --border-focus: #94a3b8;
  --brand-blue: #0066ff;
  --brand-blue-hover: #0052cc;
  --brand-blue-light: #eff6ff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -4px rgba(0, 0, 0, 0.02);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 6%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: block;
  flex-shrink: 0;
}

.brand-name {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-blue);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
  transition: background 0.2s, border-color 0.2s;
}

.btn-call:hover {
  background: var(--bg-body);
  border-color: var(--border-focus);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: 1.25rem;
  color: var(--text-primary);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 6rem 6% 4.5rem;
  text-align: center;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

.pill-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-blue);
  background: var(--brand-blue-light);
  padding: 0.35rem 0.85rem;
  border-radius: 99px;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(0, 102, 255, 0.15);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 2.2rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Common Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 6%;
}

.page-header {
  padding: 4.5rem 6% 3rem;
  text-align: center;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.8rem;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.section-head h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-head p {
  color: var(--text-secondary);
  margin-top: 0.4rem;
  font-size: 1rem;
}

/* Buttons */
.btn-primary {
  background: var(--brand-blue);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.6rem;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: var(--brand-blue-hover);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.6rem;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: background 0.2s, border-color 0.2s;
}

.btn-secondary:hover {
  background: var(--bg-body);
  border-color: var(--border-focus);
}

/* Metrics Ribbon */
.metrics-ribbon {
  display: flex;
  justify-content: space-around;
  border-bottom: 1px solid var(--border);
  padding: 2.2rem 6%;
  background: #ffffff;
}

.metric-box {
  text-align: center;
}

.metric-box h4 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-blue);
}

.metric-box span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Detail Service Cards */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.detail-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.detail-icon {
  font-size: 2rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.detail-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.detail-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.feature-list {
  list-style: none;
  margin-top: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.feature-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-list li::before {
  content: "✓";
  color: var(--brand-blue);
  font-weight: 700;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.stars {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
}

.quote {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

.client-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.client-meta strong {
  display: block;
  font-size: 0.88rem;
}

.client-meta span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Contact & Map Container */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

input, select, textarea {
  width: 100%;
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--brand-blue);
  background: #ffffff;
}

.map-wrapper {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 380px;
  height: 100%;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
  padding: 4rem 6% 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-intro p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.8rem;
  max-width: 360px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 1.2rem;
}

.social-links a {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: all 0.2s;
  text-decoration: none;
}

.social-links a:hover {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
  background: var(--brand-blue-light);
}

.footer-links-group h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links-group a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.footer-links-group a:hover {
  color: var(--brand-blue);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 1.8rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.legal-group button {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  margin-left: 1.2rem;
}

.legal-group button:hover {
  color: var(--text-primary);
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-dialog {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  max-width: 580px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-body {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.modal-body h4 {
  color: var(--text-primary);
  margin: 1.2rem 0 0.3rem;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 860px) {
  .mobile-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 1.5rem 6%;
    gap: 1.2rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .nav-links.nav-open {
    display: flex;
  }

  .brand-name {
    font-size: 0.82rem;
  }

  .btn-call {
    font-size: 0.78rem;
    padding: 0.4rem 0.75rem;
  }

  .container {
    padding: 3.5rem 5%;
  }

  .contact-container {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .map-wrapper {
    min-height: 280px;
    height: 280px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .metrics-ribbon {
    flex-direction: column;
    gap: 1.2rem;
  }
}