*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --dark: #1a1a2e;
  --dark-surface: #22223a;
  --light: #f4f4f6;
  --white: #ffffff;
  --blue: #7c5cbf;
  --blue-hover: #6a4daa;
  --text-dark: #2c2c3a;
  --text-mid: #555;
  --text-light: #ccc;
  --text-on-dark: #d8d8de;
  --border-light: #ddd;
  --border-dark: #333;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: 700; line-height: 1.3; }
img { max-width: 100%; display: block; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0;
  position: sticky; top: 0; z-index: 100;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { text-decoration: none; display: flex; align-items: center; color: #fff; }
.logo-img { height: 40px; width: auto; display: block; }
.footer .logo { color: #fff; }
.section.light .logo { color: var(--text-dark); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--text-light); text-decoration: none; font-size: 0.88rem; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.btn-nav {
  background: var(--blue); color: var(--white) !important; padding: 8px 18px;
  border-radius: 0; font-size: 0.85rem;
}
.btn-nav:hover { background: var(--blue-hover); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 12px 28px; border-radius: 0;
  font-weight: 600; font-size: 0.9rem; background: var(--blue); color: #fff;
  text-decoration: none; border: none; cursor: pointer; transition: background 0.2s;
}
.btn:hover { background: var(--blue-hover); }
.btn-full { width: 100%; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 75vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,26,46,0.55) 0%, rgba(26,26,46,0.88) 100%);
}
.hero-content { position: relative; max-width: 620px; padding: 0 24px; }
.hero h1 { font-size: clamp(1.75rem, 4.5vw, 2.6rem); color: #fff; margin-bottom: 16px; }
.hero p { color: var(--text-light); font-size: 1.02rem; margin-bottom: 28px; line-height: 1.75; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.light { background: var(--light); }
.section.white { background: var(--white); }
.section.dark { background: var(--dark); color: var(--text-on-dark); }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark p, .section.dark li { color: var(--text-on-dark); }

.section h2 { font-size: 1.5rem; margin-bottom: 16px; text-align: center; }
.section-sub { text-align: center; color: var(--text-mid); font-size: 0.93rem; max-width: 640px; margin: 0 auto 40px; line-height: 1.75; }
.section-sub-dark { text-align: center; color: var(--text-on-dark); font-size: 0.93rem; max-width: 640px; margin: 0 auto 40px; line-height: 1.75; }

/* ---------- Intro Block ---------- */
.intro-block h2 { text-align: left; margin-bottom: 24px; }
.intro-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.intro-main p { font-size: 0.93rem; color: var(--text-mid); margin-bottom: 16px; line-height: 1.8; }
.intro-main p:last-child { margin-bottom: 0; }
.intro-side img { width: 100%; height: 320px; object-fit: cover; }

/* ---------- Service Details ---------- */
.service-detail {
  display: grid; grid-template-columns: 300px 1fr; gap: 36px;
  align-items: start; margin-bottom: 48px;
  padding-bottom: 48px; border-bottom: 1px solid var(--border-light);
}
.service-detail:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.service-detail.reverse { grid-template-columns: 1fr 300px; }
.service-detail.reverse .service-detail-img { order: 2; }
.service-detail-img img { width: 100%; height: 220px; object-fit: cover; }
.service-detail-text h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-detail-text p { font-size: 0.9rem; color: var(--text-mid); margin-bottom: 14px; line-height: 1.75; }
.service-detail-text ul { list-style: none; padding: 0; margin: 0; }
.service-detail-text li {
  font-size: 0.88rem; color: var(--text-mid); line-height: 1.7;
  padding: 6px 0 6px 20px; position: relative;
  border-bottom: 1px solid #eee;
}
.service-detail-text li:last-child { border-bottom: none; }
.service-detail-text li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 8px; height: 8px; background: var(--blue);
}

/* ---------- Approach ---------- */
.approach-block { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.approach-block h2 { text-align: left; }
.approach-text p { font-size: 0.93rem; color: var(--text-mid); margin-bottom: 16px; line-height: 1.8; }
.approach-img img { width: 100%; height: 380px; object-fit: cover; }

/* ---------- Phases ---------- */
.phases { display: flex; flex-direction: column; gap: 0; }
.phase {
  padding: 32px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.phase:last-child { border-bottom: none; }
.phase-header { display: flex; align-items: baseline; gap: 16px; margin-bottom: 12px; }
.phase-num {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  color: var(--blue); letter-spacing: 0.06em;
}
.phase h3 { font-size: 1.1rem; }
.phase p { font-size: 0.9rem; line-height: 1.8; }
.phase-deliverable { margin-top: 10px; font-size: 0.85rem; color: var(--text-light); }
.phase-deliverable strong { color: #fff; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }
.split-img img { width: 100%; height: 420px; object-fit: cover; }
.split-text h2 { text-align: left; margin-bottom: 12px; }
.split-text > p { font-size: 0.93rem; color: var(--text-mid); margin-bottom: 20px; line-height: 1.8; }

/* ---------- Checklist ---------- */
.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.check-list li {
  padding-left: 28px; position: relative;
  font-size: 0.88rem; color: var(--text-mid); line-height: 1.7;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 16px; height: 16px; border: 2px solid var(--blue);
}
.check-list li::after {
  content: ""; position: absolute; left: 4px; top: 8px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}

/* ---------- Type Grid ---------- */
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.type-card {
  background: var(--light); border: 1px solid var(--border-light);
  padding: 28px 24px;
}
.type-card h3 { font-size: 0.95rem; margin-bottom: 8px; }
.type-card p { font-size: 0.86rem; color: var(--text-mid); line-height: 1.7; }

/* ---------- CTA Banner ---------- */
.cta-banner { text-align: center; padding: 72px 0; }
.cta-banner-inner { max-width: 640px; margin: 0 auto; }
.cta-banner h2 { font-size: 1.4rem; margin-bottom: 14px; line-height: 1.45; }
.cta-banner p { margin-bottom: 28px; font-size: 0.93rem; line-height: 1.75; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h2 { text-align: left; margin-bottom: 10px; color: var(--text-dark); }
.contact-info > p { color: var(--text-mid); font-size: 0.9rem; margin-bottom: 28px; line-height: 1.75; }
.contact-details { display: flex; flex-direction: column; gap: 12px; }
.contact-item { display: flex; flex-direction: column; gap: 2px; }
.contact-item strong { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-dark); }
.contact-item span { font-size: 0.9rem; color: var(--text-mid); }

.form { display: flex; flex-direction: column; gap: 10px; }
.form input, .form textarea {
  background: var(--white); border: 1px solid var(--border-light); border-radius: 0;
  padding: 11px 14px; color: var(--text-dark); font-family: 'Inter', sans-serif; font-size: 0.9rem;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); }
.form input::placeholder, .form textarea::placeholder { color: #999; }
.form textarea { resize: vertical; }

/* ---------- Footer ---------- */
.footer {
  background: var(--dark); border-top: 1px solid rgba(255,255,255,0.08); padding: 28px 0;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-light); text-decoration: none; font-size: 0.82rem; }
.footer-links a:hover { color: #fff; }
.small { color: var(--text-light); font-size: 0.78rem; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .intro-cols { grid-template-columns: 1fr; }
  .intro-side img { height: 220px; }
  .service-detail, .service-detail.reverse {
    grid-template-columns: 1fr; gap: 20px;
  }
  .service-detail.reverse .service-detail-img { order: 0; }
  .service-detail-img img { height: 200px; }
  .approach-block { grid-template-columns: 1fr; }
  .approach-img img { height: 240px; }
  .split, .split-reverse { grid-template-columns: 1fr; direction: ltr; }
  .split-img { order: -1; }
  .split-img img { height: 240px; }
  .split-text h2 { text-align: center; }
  .type-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .contact-info h2 { text-align: center; }
  .section { padding: 56px 0; }
  .nav-links a:not(.btn-nav) { display: none; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
