/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== Layout ===== */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-light { background: #f8fafb; }
.section-dark { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #fff; }
.section-gradient { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%); color: #fff; padding: 80px 0; }

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 0;
  height: 64px;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 100%; }
.logo { font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; color: #0f172a; white-space: nowrap; letter-spacing: -0.01em; }
.logo-img { height: 48px; width: auto; }
.nav-links { display: flex; gap: 32px; font-size: 0.88rem; font-weight: 500; color: #475569; margin-left: auto; }
.nav-links a { padding: 4px 0; transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: #2563eb; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #0f172a; }
.footer-logo-img { height: 42px; width: auto; display: inline-block; vertical-align: middle; margin-right: 8px; }
.nav-cta {
  background: #2563eb; color: #fff; padding: 10px 24px; border-radius: 8px;
  font-weight: 600; font-size: 0.88rem; transition: all 0.2s; white-space: nowrap; margin-left: 8px;
}
.nav-cta:hover { background: #1d4ed8; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.3); }

/* ===== Buttons ===== */
.btn {
  display: inline-block; font-weight: 600; border-radius: 10px;
  cursor: pointer; border: none; transition: all 0.2s; text-align: center;
  font-family: inherit;
}
.btn-primary { background: #2563eb; color: #fff; }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,0.35); }
.btn-outline { background: transparent; color: #2563eb; border: 2px solid #2563eb; }
.btn-outline:hover { background: #2563eb; color: #fff; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* ===== Hero ===== */
.hero {
  padding: 120px 0 60px;
  background: linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center;
}
.badge {
  display: inline-block; background: #dbeafe; color: #1d4ed8;
  padding: 6px 16px; border-radius: 20px; font-size: 0.82rem; font-weight: 600;
  margin-bottom: 20px; letter-spacing: 0.01em;
}
.hero h1 { font-size: 2.6rem; line-height: 1.12; font-weight: 800; margin-bottom: 18px; letter-spacing: -0.02em; }
.highlight { color: #2563eb; }
.hero-sub { font-size: 1.1rem; color: #475569; margin-bottom: 28px; max-width: 480px; line-height: 1.7; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-row {
  display: flex; gap: 20px; margin-top: 20px; font-size: 0.88rem;
  color: #64748b; font-weight: 500;
}
.trust-row span { white-space: nowrap; }
.hero-img-wrapper {
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.14);
  aspect-ratio: 4/3;
}
.hero-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  padding: 120px 0 48px;
  background: linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);
  text-align: center;
}
.page-hero h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.02em; }
.page-hero p { color: #475569; font-size: 1.1rem; max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* ===== Stats Bar ===== */
.stats-bar { background: #0f172a; padding: 28px 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-size: 1.6rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.stat-label { font-size: 0.78rem; color: #64748b; font-weight: 500; margin-top: 2px; }

/* ===== Steps ===== */
.section-title { font-size: 1.9rem; font-weight: 800; text-align: center; margin-bottom: 8px; letter-spacing: -0.02em; }
.section-sub { text-align: center; color: #64748b; font-size: 1.05rem; margin-bottom: 48px; max-width: 600px; margin-left: auto; margin-right: auto; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step {
  text-align: center; padding: 36px 24px;
  background: #fff; border-radius: 16px;
  border: 1px solid #e8ecf1;
  transition: box-shadow 0.2s;
}
.step:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.07); }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: #2563eb; color: #fff; font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 10px; font-weight: 700; }
.step p { color: #64748b; font-size: 0.92rem; line-height: 1.6; }

/* ===== Benefits ===== */
.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.benefit {
  padding: 32px; border-radius: 16px; background: #f8fafb;
  border: 1px solid #e8ecf1; transition: all 0.2s;
}
.benefit:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.07); border-color: #d4dbe5; }
.benefit-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 1.3rem; font-weight: 700;
}
.benefit:nth-child(1) .benefit-icon { background: #dbeafe; color: #2563eb; }
.benefit:nth-child(2) .benefit-icon { background: #dcfce7; color: #16a34a; }
.benefit:nth-child(3) .benefit-icon { background: #fef3c7; color: #d97706; }
.benefit:nth-child(4) .benefit-icon { background: #e0e7ff; color: #4f46e5; }
.benefit h3 { font-size: 1.1rem; margin-bottom: 8px; font-weight: 700; }
.benefit p { color: #64748b; font-size: 0.92rem; line-height: 1.6; }

/* ===== Service Area Grid ===== */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.area-card {
  padding: 24px; border-radius: 12px; background: #f8fafb;
  border: 1px solid #e8ecf1; transition: box-shadow 0.2s;
}
.area-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.06); }
.area-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.area-card p { font-size: 0.82rem; color: #64748b; line-height: 1.6; }

/* ===== Split Content ===== */
.split-content { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.check-list { list-style: none; padding: 0; }
.check-list li { padding: 6px 0; font-size: 0.95rem; color: #334155; font-weight: 500; }

/* ===== Lead Form ===== */
.form-wrapper {
  max-width: 520px; margin: 0 auto; text-align: center;
}
.form-wrapper h2 { font-size: 1.7rem; margin-bottom: 12px; font-weight: 800; letter-spacing: -0.02em; }
.form-wrapper > p { color: #94a3b8; margin-bottom: 32px; font-size: 1rem; line-height: 1.6; }
.lead-form { text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 600;
  margin-bottom: 6px; color: #cbd5e1; text-transform: uppercase; letter-spacing: 0.04em;
}
.form-group input, .form-group select {
  width: 100%; padding: 13px 16px; border-radius: 10px;
  border: 1.5px solid #334155; background: #1e293b; color: #fff;
  font-size: 0.95rem; font-family: inherit; transition: border-color 0.2s;
}
.form-group input::placeholder { color: #64748b; }
.form-group input:focus, .form-group select:focus {
  outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: #1e293b; }
.lead-form .btn-primary {
  margin-top: 8px; padding: 15px 32px; font-size: 1.05rem;
  background: #2563eb; color: #fff; border: none; border-radius: 10px;
  width: 100%; cursor: pointer; font-weight: 700; font-family: inherit;
  transition: all 0.2s;
}
.lead-form .btn-primary:hover { background: #1d4ed8; box-shadow: 0 6px 20px rgba(37,99,235,0.4); }
.form-note { font-size: 0.78rem; color: #64748b; margin-top: 12px; }
.form-note a { color: #60a5fa; text-decoration: underline; }
.form-success { padding: 40px 0; }
.success-icon { font-size: 3rem; margin-bottom: 12px; }
.form-success h3 { font-size: 1.4rem; margin-bottom: 8px; }
.form-success p { color: #94a3b8; }

/* ===== Contact Page ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: start; }
.contact-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.contact-item h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 2px; }
.contact-item p { font-size: 0.9rem; color: #475569; margin: 0; }
.contact-form-wrap { background: #f8fafb; border: 1px solid #e8ecf1; border-radius: 16px; padding: 32px; }
.contact-form .form-group label { color: #475569; }
.contact-form .form-group input,
.contact-form .form-group select {
  background: #fff; color: #1a1a2e; border-color: #d1d5db;
}
.contact-form .form-group input:focus,
.contact-form .form-group select:focus {
  border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.contact-form .form-group input::placeholder { color: #9ca3af; }

/* ===== FAQ ===== */
.faq-list { max-width: 680px; margin: 40px auto 0; }
.faq-item {
  border-bottom: 1px solid #e2e8f0; padding: 18px 0;
}
.faq-item summary {
  font-weight: 600; font-size: 1.02rem; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  padding-right: 8px;
}
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: #94a3b8; font-weight: 400; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin-top: 10px; color: #64748b; font-size: 0.92rem; line-height: 1.65; }

/* ===== Footer ===== */
.footer {
  background: #0f172a; color: #94a3b8; padding: 64px 0 32px;
}
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px;
}
.footer-brand { }
.footer-brand .brand-name { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; font-size: 1.1rem; margin-bottom: 12px; }
.footer-brand p { font-weight: 400; font-size: 0.85rem; color: #64748b; line-height: 1.6; max-width: 280px; }
.footer-nav { display: contents; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #475569; margin-bottom: 4px; }
.footer-col a { font-size: 0.88rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid #1e293b; padding-top: 24px; margin-top: 16px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.footer-copy { font-size: 0.78rem; color: #475569; }
/* legacy compat */
.footer-links { display: flex; gap: 24px; justify-content: center; margin: 18px 0; font-size: 0.85rem; }
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .hero h1 { font-size: 2.1rem; }
  .hero-sub { margin: 0 auto 28px; }
  .hero-btns { justify-content: center; }
  .trust-row { justify-content: center; flex-wrap: wrap; gap: 12px; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .hero-img-wrapper { aspect-ratio: 16/10; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr 1fr; }
  .split-content { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 110px 0 50px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 24px; gap: 12px; border-bottom: 1px solid #e8ecf1; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .section-title { font-size: 1.5rem; }
  .container { padding: 0 16px; }
  .area-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-num { font-size: 1.3rem; }
}
