:root {
  --primary: #4f3ec2;
  --primary-dark: #3a2d9e;
  --accent: #e07a5f;
  --accent-light: #f4a57c;
  --bg: #f7f7fa;
  --bg-white: #ffffff;
  --text-dark: #1a1a2e;
  --text-medium: #4a4a6a;
  --text-light: #8888a0;
  --border: #e0e0e8;
  --hero-grad: linear-gradient(135deg, #4f3ec2 0%, #6c5ce7 50%, #a29bfe 100%);
  --radius: 12px;
  --shadow: 0 4px 24px rgba(79, 62, 194, 0.08);
  --shadow-hover: 0 8px 32px rgba(79, 62, 194, 0.16);
  --max-width: 1140px;
  --nav-height: 64px;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

/* ── Navbar ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar .logo-icon {
  width: 32px;
  height: 32px;
  background: var(--hero-grad);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar nav a {
  color: var(--text-dark);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 4px 0;
  position: relative;
  transition: color 0.2s;
}

.navbar nav a:hover,
.navbar nav a.active {
  color: var(--primary);
}

.navbar nav a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  line-height: 1.4;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-accent:hover {
  background: #c96a4f;
  border-color: #c96a4f;
  color: #fff;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ── Hero ── */
.hero {
  background: var(--hero-grad);
  color: #fff;
  padding: 80px 0 72px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero .hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .btn-primary {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.hero .btn-primary:hover {
  background: #f0f0ff;
  border-color: #f0f0ff;
  color: var(--primary);
}

.hero .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.hero .btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
}

/* ── Sections ── */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--bg-white);
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-medium);
  max-width: 640px;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* ── Value Props ── */
.value-props {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.value-prop {
  text-align: center;
  padding: 24px 16px;
}

.value-prop .prop-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.value-prop h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.value-prop p {
  font-size: 0.9375rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* ── Services Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow 0.25s, transform 0.25s;
}

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

.service-card .card-icon {
  font-size: 1.75rem;
  margin-bottom: 14px;
  display: block;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* ── About Strip ── */
.about-strip {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-strip .container {
  display: flex;
  gap: 48px;
  align-items: center;
}

.about-strip .about-text {
  flex: 1;
}

.about-strip .about-text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.about-strip .about-text p {
  color: var(--text-medium);
  line-height: 1.7;
}

.about-strip .about-visual {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  background: var(--hero-grad);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

/* ── Credentials Strip ── */
.credentials {
  background: var(--bg);
}

.credentials .cred-list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  list-style: none;
}

.credentials li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-dark);
  font-weight: 500;
}

.credentials .cred-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ── CTA Strip ── */
.cta-strip {
  background: var(--hero-grad);
  color: #fff;
  text-align: center;
  padding: 56px 0;
}

.cta-strip h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-strip p {
  opacity: 0.9;
  margin-bottom: 28px;
  font-size: 1.0625rem;
}

.cta-strip .btn {
  margin: 0 8px;
}

.cta-strip .btn-primary {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.cta-strip .btn-primary:hover {
  background: #f0f0ff;
  border-color: #f0f0ff;
}

.cta-strip .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.cta-strip .btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* ── Page Hero Band (inner pages) ── */
.page-hero {
  background: var(--hero-grad);
  color: #fff;
  text-align: center;
  padding: 48px 0 40px;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.page-hero p {
  opacity: 0.9;
  font-size: 1.0625rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Contact Info ── */
.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1 1 260px;
}

.contact-item .contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  font-size: 0.9375rem;
  color: var(--text-medium);
}

/* ── Footer ── */
.footer {
  background: #1a1a2e;
  color: #c0c0d0;
  padding: 56px 0 32px;
}

.footer .footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer h4 {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer p,
.footer li {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #b0b0c8;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul li a {
  color: #b0b0c8;
  transition: color 0.2s;
}

.footer ul li a:hover {
  color: #fff;
}

.footer .footer-brand {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer .footer-brand .logo-icon {
  width: 28px;
  height: 28px;
  background: var(--hero-grad);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

.footer .creds-line {
  font-size: 0.8125rem;
  color: #8888a0;
  margin-top: 8px;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.8125rem;
  color: #8888a0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .navbar nav {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .navbar nav.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .about-strip .container {
    flex-direction: column;
    text-align: center;
  }

  .about-strip .about-visual {
    width: 120px;
    height: 120px;
    font-size: 2.5rem;
  }

  .credentials .cred-list {
    gap: 24px;
  }

  .footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .section {
    padding: 48px 0;
  }
}

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

  .hero .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .value-props {
    grid-template-columns: 1fr;
  }
}