/* ─── Reset & Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1a56db;
  --primary-dark: #1240a8;
  --accent: #f59e0b;
  --accent-dsc: #7c3aed;
  --accent-dsc-light: #ede9fe;
  --bg: #ffffff;
  --bg-soft: #f8faff;
  --bg-dark: #0f172a;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --card-bg: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --radius: 16px;
  --radius-sm: 8px;
  --nav-h: 72px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.section { padding: 96px 0; }

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

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

/* ─── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,86,219,.3);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-nav {
  background: var(--primary);
  color: #fff;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: .9rem;
}
.btn-nav:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-dsc {
  background: var(--accent-dsc);
  color: #fff;
  border-color: var(--accent-dsc);
}
.btn-dsc:hover {
  background: #6d28d9;
  border-color: #6d28d9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,58,237,.3);
}

.btn-full { width: 100%; justify-content: center; }

/* ─── Typography helpers ───────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, #1a56db 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  background: #eff6ff;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-sub { margin: 0 auto; }

/* ─── Navigation ───────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}

.nav.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--accent-dsc));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.logo-text { color: var(--text); }
.logo-text span { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--primary); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

/* ─── Hero ─────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(145deg, #0f172a 0%, #1e3a8a 60%, #1a1a3e 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
}
.hero-shape-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #1a56db, transparent);
  top: -150px; right: -100px;
}
.hero-shape-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #7c3aed, transparent);
  bottom: -100px; left: -80px;
}
.hero-shape-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #f59e0b, transparent);
  top: 40%; right: 30%;
  opacity: .15;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #cbd5e1;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 760px;
}

.hero-sub {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat { text-align: left; }
.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-size: .82rem;
  color: #64748b;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.15);
}

/* ─── About ────────────────────────────────────────────────────────── */
.about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
  height: 420px;
}

.about-card {
  position: absolute;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.about-card-main {
  background: linear-gradient(135deg, #1e3a8a, #1a56db);
  color: #fff;
  width: 280px;
  top: 40px; left: 0;
}
.about-card-main h3 { font-size: 1.3rem; font-weight: 700; margin: 12px 0 8px; }
.about-card-main p { font-size: .88rem; color: rgba(255,255,255,.75); }

.about-card-accent {
  background: #fff;
  width: 220px;
  bottom: 40px; right: 0;
  border: 1px solid var(--border);
}
.about-card-accent .about-icon-sm {
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 8px;
}
.about-card-accent p { font-size: .88rem; color: var(--text-muted); }

.about-icon-lg { font-size: 2.5rem; }

.about-floater {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.about-content .section-title { margin-top: 8px; }

.about-body {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.feature-pill {
  background: #eff6ff;
  color: var(--primary);
  font-size: .83rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 50px;
}

/* ─── Services ─────────────────────────────────────────────────────── */
.services { background: var(--bg-soft); }

.service-block {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 48px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.service-block:last-child { margin-bottom: 0; }

.dsc-block {
  background: linear-gradient(135deg, #faf5ff 0%, #f5f3ff 100%);
  border-color: #ddd6fe;
}

.service-block-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

.service-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.accounting-icon { background: #eff6ff; color: var(--primary); }
.dsc-icon { background: var(--accent-dsc-light); color: var(--accent-dsc); }

.service-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.service-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  margin-top: 2px;
}
.dsc-block .service-title { color: var(--accent-dsc); }

.service-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.s-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .2s, box-shadow .2s;
}
.dsc-block .s-card { background: #fff; border-color: #ddd6fe; }
.s-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.s-card-icon { font-size: 1.8rem; margin-bottom: 12px; }
.s-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.s-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

.service-cta { padding-top: 8px; }

/* ─── Why Us ────────────────────────────────────────────────────────── */
.why-us { background: var(--bg); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.why-card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}
.why-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.why-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.65; }

/* ─── Process ──────────────────────────────────────────────────────── */
.process {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #fff;
}
.process .section-badge { background: rgba(255,255,255,.1); color: #93c5fd; }
.process .section-title { color: #fff; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  position: relative;
}

.step {
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.step-num {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--accent-dsc));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.step-connector {
  position: absolute;
  top: 30px;
  left: calc(50% + 30px);
  right: calc(-50% + 30px);
  height: 2px;
  background: rgba(255,255,255,.15);
}

.step:last-child .step-connector { display: none; }

.step h4 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.step p { font-size: .88rem; color: #94a3b8; line-height: 1.6; }

/* ─── Contact ──────────────────────────────────────────────────────── */
.contact { background: var(--bg-soft); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-info .section-title { margin-top: 8px; }

.contact-body {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-item-icon {
  width: 44px; height: 44px;
  background: #eff6ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item-label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact-item-val {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
a.contact-item-val:hover { color: var(--primary); }

.contact-socials { display: flex; gap: 12px; }
.social-btn {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all .2s;
}
.social-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.contact-form-wrap {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-soft);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,86,219,.1);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 110px; }

.form-note {
  font-size: .8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: -8px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 24px;
}
.form-success.active { display: block; }
.form-success h3 { font-size: 1.4rem; font-weight: 700; margin: 16px 0 8px; }
.form-success p { color: var(--text-muted); }

.success-icon {
  width: 72px; height: 72px;
  background: #d1fae5;
  color: #059669;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto;
}

/* ─── Footer ───────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding-top: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { font-size: .9rem; max-width: 260px; line-height: 1.65; }

.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.footer-col h5 {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .88rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  padding: 24px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: .82rem; }

/* ─── Scroll animations ────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: none; }

/* ─── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { height: 320px; }
  .about-card-main { width: 240px; }
  .about-card-accent { width: 200px; }

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

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }

  .service-block { padding: 32px 24px; }

  .process-steps { grid-template-columns: 1fr 1fr; gap: 40px; }
  .step-connector { display: none; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; }

  .hamburger { display: flex; }

  .hero-title { font-size: 2.2rem; }
  .hero-cta { flex-direction: column; align-items: flex-start; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }

  .service-block { padding: 24px 18px; }
  .service-cards { grid-template-columns: 1fr; }

  .process-steps { grid-template-columns: 1fr; gap: 32px; }

  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .section { padding: 64px 0; }
}
