/* ---------- Reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #0f172a;
  --slate: #334155;
  --slate-light: #64748b;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --bg: #f8fafc;
  --card-bg: #ffffff;
  --border: #e2e8f0;
  --gradient: linear-gradient(135deg, var(--blue), var(--cyan));
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 10px 30px rgba(15, 23, 42, 0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--navy);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 14px;
}

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-heading h2 { font-size: 2.1rem; margin-bottom: 14px; }
.section-heading p { color: var(--slate-light); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37, 99, 235, 0.35); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
}

.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-large { padding: 16px 36px; font-size: 1.05rem; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img { width: 40px; height: 40px; border-radius: 10px; }

.logo-text { display: flex; flex-direction: column; line-height: 1.05; }

.logo-text .logo-main {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--navy);
}

.logo-text .logo-sub {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--slate-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--slate);
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover { color: var(--blue); }

.nav-links a.active { color: var(--blue); }

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.nav-cta { display: inline-flex; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px; height: 2px; background: var(--navy); border-radius: 2px;
}

@media (max-width: 719px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.open { max-height: 320px; }
  .nav-links a { width: 100%; padding: 14px 24px; border-bottom: 1px solid var(--border); }
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.08), transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(6, 182, 212, 0.10), transparent 45%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
}

.hero h1 {
  font-size: 3rem;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.hero h1 .accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 540px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-hover);
}

.hero-panel h3 { font-size: 1.05rem; margin-bottom: 20px; }

.hero-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.hero-stat:last-child { border-bottom: none; }

.hero-stat .label { color: var(--slate-light); font-size: 0.92rem; }
.hero-stat .value { font-weight: 800; font-size: 1.15rem; }

/* ---------- Value grid ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 960px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .value-grid { grid-template-columns: 1fr; } }

.value-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.value-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem; font-weight: 700;
  margin-bottom: 18px;
}

.value-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.value-card p { color: var(--slate-light); font-size: 0.95rem; }

/* ---------- Purpose / About split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.split h2 { font-size: 2rem; margin-bottom: 18px; }
.split p { color: var(--slate); margin-bottom: 16px; }

.check-list { list-style: none; margin-top: 20px; }
.check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 14px; color: var(--slate);
}
.check-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}

.panel-alt {
  background: var(--navy);
  border-radius: 20px;
  padding: 36px;
  color: #fff;
}

.panel-alt h3 { color: #fff; margin-bottom: 8px; }
.panel-alt p { color: #cbd5e1; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--gradient);
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  color: #fff;
  margin: 0 24px;
}

.cta-band h2 { font-size: 1.9rem; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 520px; margin: 0 auto 28px; }
.cta-band .btn-primary { background: #fff; color: var(--blue); box-shadow: none; }
.cta-band .btn-primary:hover { background: #f1f5f9; }

/* ---------- Services page ---------- */
.rate-banner {
  background: var(--navy);
  color: #fff;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.rate-banner .rate-copy h3 { color: #fff; font-size: 1.3rem; margin-bottom: 8px; }
.rate-banner .rate-copy p { color: #cbd5e1; max-width: 420px; }

.rate-price {
  text-align: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 20px 32px;
}

.rate-price .amount {
  font-size: 2.6rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rate-price .unit { color: #cbd5e1; font-size: 0.9rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.service-number {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.service-card p { color: var(--slate-light); font-size: 0.94rem; }

/* ---------- Process steps ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

@media (max-width: 860px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

.process-step { position: relative; padding-top: 8px; }

.process-step .step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  margin-bottom: 16px;
}

.process-step h4 { font-size: 1rem; margin-bottom: 8px; }
.process-step p { color: var(--slate-light); font-size: 0.9rem; }

/* ---------- Forms ---------- */
.form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px;
  box-shadow: var(--shadow-hover);
}

.form-row { margin-bottom: 22px; }

.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--navy);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.96rem;
  font-family: inherit;
  color: var(--navy);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-row textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.85rem;
  color: var(--slate-light);
  margin-top: 6px;
}

.form-status {
  margin-top: 18px;
  font-size: 0.92rem;
  font-weight: 600;
  display: none;
}

.form-status.error { display: block; color: #dc2626; }
.form-status.loading { display: block; color: var(--slate-light); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Info cards (About / Contact side info) ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }

.info-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.info-card h4 { font-size: 0.95rem; margin-bottom: 8px; }
.info-card p { color: var(--slate-light); font-size: 0.9rem; }

/* ---------- Legal table (About page) ---------- */
.legal-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.legal-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.legal-row:last-child { border-bottom: none; }
.legal-row .k { font-weight: 600; color: var(--slate-light); font-size: 0.92rem; }
.legal-row .v { font-weight: 700; color: var(--navy); text-align: right; }

/* ---------- Thank you page ---------- */
.thanks-wrap {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}

.thanks-card { max-width: 480px; }

.thanks-icon {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
}

.thanks-card h1 { font-size: 1.8rem; margin-bottom: 14px; }
.thanks-card p { color: var(--slate-light); margin-bottom: 30px; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-inner .logo-text .logo-main { font-size: 1.05rem; }

.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { color: var(--slate-light); font-size: 0.9rem; font-weight: 600; }
.footer-links a:hover { color: var(--blue); }

.footer-copy { color: var(--slate-light); font-size: 0.82rem; margin-top: 18px; text-align: center; }

@media (max-width: 640px) {
  .hero h1 { font-size: 2.2rem; }
  section { padding: 64px 0; }
  .form-wrap { padding: 28px; }
  .legal-card { padding: 26px; }
}
