/* ==========================================================================
   Digipeep — eLearning Production Outsourcing
   Master stylesheet
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand from PRD + logo */
  --brand-primary: #1A3C6E;        /* Deep Blue */
  --brand-primary-dark: #122a4f;
  --brand-primary-light: #2a5599;
  --brand-accent: #F97316;         /* Bright Orange (Tailwind orange-500) */
  --brand-accent-2: #FF7800;       /* Logo orange */
  --brand-accent-dark: #d65f0e;

  --bg: #F8F9FA;                   /* Off-white */
  --bg-alt: #EFF6FF;               /* Section alt */
  --bg-dark: #0f1f3a;              /* Footer / dark sections */
  --bg-darker: #0a1730;

  --text: #1F2937;                 /* Charcoal */
  --text-soft: #4b5563;
  --text-muted: #6b7280;
  --text-on-dark: #e5e7eb;
  --text-on-dark-soft: #b6c2d6;

  --border: #e5e7eb;
  --border-soft: #f1f3f7;

  --shadow-sm: 0 1px 2px rgba(15, 31, 58, .06);
  --shadow-md: 0 6px 18px rgba(15, 31, 58, .08);
  --shadow-lg: 0 18px 40px rgba(15, 31, 58, .12);
  --shadow-orange: 0 12px 28px rgba(249, 115, 22, .35);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);

  --header-h: 80px;

  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }
ul { list-style: none; padding: 0; margin: 0; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: 'Poppins', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 .5em;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin: 0 0 1em; color: var(--text-soft); }
.lead { font-size: 1.125rem; color: var(--text-soft); max-width: 65ch; }
.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 14px;
}

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding: clamp(60px, 9vw, 110px) 0;
  position: relative;
}

.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: var(--text-on-dark-soft); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 64px);
}
.section-head p { font-size: 1.05rem; color: var(--text-soft); }
.section--dark .section-head p { color: var(--text-on-dark-soft); }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--brand-accent);
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn--primary:hover { background: var(--brand-accent-dark); transform: translateY(-2px); }

.btn--outline {
  background: transparent;
  color: var(--brand-primary);
  border-color: rgba(26, 60, 110, .2);
}
.btn--outline:hover { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }

.btn--ghost-light {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.2);
  backdrop-filter: blur(10px);
}
.btn--ghost-light:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.4); }

.btn--lg { padding: 17px 32px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ---------- 6. Header & Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav__brand img { height: 38px; width: auto; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__menu a {
  position: relative;
  display: inline-block;
  padding: 10px 14px;
  font-weight: 500;
  font-size: .96rem;
  color: var(--text);
  border-radius: 8px;
  transition: color .2s;
}
.nav__menu a:hover { color: var(--brand-accent); }
.nav__menu a.is-active {
  color: var(--brand-primary);
}
.nav__menu a.is-active::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--brand-accent);
  border-radius: 2px;
}

.nav__cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--border);
  background: #fff;
}
.nav__toggle span {
  display: block; width: 22px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform .25s, opacity .2s;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav__menu, .nav__cta .btn--outline { display: none; }
  .nav__toggle { display: flex; }
  .nav__menu.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    padding: 18px var(--gutter) 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav__menu.is-open a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--border-soft);
  }
  .nav__menu.is-open a.is-active::after { display: none; }
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding: clamp(60px, 8vw, 110px) 0 clamp(60px, 9vw, 120px);
  background:
    radial-gradient(circle at 88% 12%, rgba(249,115,22,.18), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(26,60,110,.10), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-alt) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26,60,110,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,60,110,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at top right, #000 30%, transparent 70%);
  mask-image: radial-gradient(ellipse at top right, #000 30%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
}

.hero h1 .accent { color: var(--brand-accent); }
.hero p.lead { font-size: 1.15rem; max-width: 56ch; color: var(--text-soft); }
.hero__ctas {
  display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px;
}
.hero__badges {
  display: flex; gap: 10px 18px; flex-wrap: wrap; margin-top: 36px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600;
  color: var(--text-soft);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--border);
}
.hero__badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-accent);
}

/* Hero visual mockup */
.hero__visual { position: relative; min-height: 380px; }

.mockup {
  position: relative;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform .5s var(--ease);
}
.mockup:hover { transform: perspective(1200px) rotateY(-3deg) rotateX(1deg); }

.mockup__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: #f3f5f9;
  border-bottom: 1px solid var(--border);
}
.mockup__bar span {
  width: 11px; height: 11px; border-radius: 50%;
  background: #d6dae2;
}
.mockup__bar span:nth-child(1) { background: #ff5f57; }
.mockup__bar span:nth-child(2) { background: #febc2e; }
.mockup__bar span:nth-child(3) { background: #28c840; }
.mockup__bar .url {
  margin-left: 12px;
  font-size: .78rem;
  color: var(--text-muted);
  background: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  flex: 1;
  max-width: 240px;
}
.mockup__body { padding: 22px; }

.course-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 12px;
  transition: transform .3s var(--ease);
}
.course-card:hover { transform: translateX(3px); }
.course-card__thumb {
  height: 64px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1A3C6E, #2a5599);
  position: relative;
  overflow: hidden;
}
.course-card__thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(249,115,22,.55), transparent 60%);
}
.course-card:nth-child(2) .course-card__thumb { background: linear-gradient(135deg, #F97316, #ffb371); }
.course-card:nth-child(3) .course-card__thumb { background: linear-gradient(135deg, #0d9488, #34d399); }
.course-card__title {
  font-weight: 600; font-size: .95rem; color: var(--text); margin-bottom: 6px;
}
.course-card__meta {
  font-size: .78rem; color: var(--text-muted);
  display: flex; gap: 10px; align-items: center;
}
.course-card__bar {
  height: 5px; border-radius: 3px; background: #eef1f6; margin-top: 8px; overflow: hidden;
}
.course-card__bar > i {
  display: block; height: 100%; background: var(--brand-accent); border-radius: 3px;
  animation: grow 1.4s var(--ease) forwards;
}
@keyframes grow { from { width: 0; } }

/* Floating chips */
.float-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-md);
  font-size: .85rem;
  font-weight: 600;
}
.float-chip__icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--brand-accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.float-chip--save {
  top: 10%; left: -10px;
  animation: float 6s ease-in-out infinite;
}
.float-chip--rate {
  bottom: 8%; right: -10px;
  animation: float 5s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- 8. Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  height: 100%;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26,60,110,.18);
}

.card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(249,115,22,.12), rgba(249,115,22,.04));
  color: var(--brand-accent);
  margin-bottom: 18px;
}
.card__icon svg { width: 28px; height: 28px; stroke-width: 2; }

.card h3 { margin-bottom: 8px; font-size: 1.18rem; }
.card p { font-size: .98rem; margin: 0; }

.card--problem { border-color: var(--border); }
.card--problem .card__icon {
  background: rgba(220, 38, 38, .08);
  color: #dc2626;
}

.card--accent {
  background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
}

/* ---------- 9. Process steps ---------- */
.steps { counter-reset: step; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step__num {
  position: absolute;
  top: -22px;
  left: 28px;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.05rem;
  box-shadow: 0 8px 20px rgba(26,60,110,.3);
}
.step:nth-child(even) .step__num { background: var(--brand-accent); box-shadow: var(--shadow-orange); }
.step h3 { font-size: 1.12rem; margin: 8px 0 8px; }
.step p { font-size: .96rem; margin: 0; }

/* ---------- 10. Trust / Why us bullets ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  transition: border-color .25s, transform .25s var(--ease);
}
.why-item:hover { border-color: var(--brand-accent); transform: translateX(3px); }
.why-item__check {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(34,197,94,.12);
  color: #16a34a;
  display: flex; align-items: center; justify-content: center;
}
.why-item h4 { margin: 0 0 4px; font-size: 1rem; }
.why-item p { margin: 0; font-size: .92rem; color: var(--text-muted); }

/* ---------- 11. Pricing cards ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.plan {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan--featured {
  border: 2px solid var(--brand-accent);
  box-shadow: var(--shadow-orange);
  transform: translateY(-6px);
}
.plan--featured:hover { transform: translateY(-10px); }
.plan__tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--brand-accent); color: #fff;
  padding: 6px 16px; border-radius: 999px;
  font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.plan h3 { font-size: 1.25rem; margin-bottom: 4px; }
.plan__sub { color: var(--text-muted); font-size: .92rem; margin-bottom: 18px; }
.plan__price {
  font-family: 'Poppins', sans-serif;
  font-size: 2.1rem; font-weight: 800; color: var(--brand-primary);
  letter-spacing: -.02em;
  line-height: 1.1;
}
.plan__price small { font-size: .85rem; color: var(--text-muted); font-weight: 500; }
.plan__hr { border: 0; border-top: 1px solid var(--border); margin: 22px 0; }
.plan__features { display: flex; flex-direction: column; gap: 10px; flex: 1; margin-bottom: 24px; }
.plan__features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .94rem; color: var(--text-soft);
}
.plan__features li::before {
  content: ''; flex-shrink: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(34,197,94,.15) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/12px no-repeat;
  margin-top: 2px;
}

/* ---------- 12. Stats row ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat__num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4.4vw, 2.8rem);
  font-weight: 800;
  color: var(--brand-accent);
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat__label { color: var(--text-soft); font-size: .95rem; }
.section--dark .stat__label { color: var(--text-on-dark-soft); }

/* ---------- 13. Industry / client type chips ---------- */
.industries {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.industry {
  text-align: center;
  padding: 28px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all .3s var(--ease);
}
.industry:hover {
  border-color: var(--brand-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.industry__icon {
  width: 48px; height: 48px; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--bg-alt);
  color: var(--brand-primary);
}
.industry h4 { font-size: .98rem; margin: 0; }

/* ---------- 14. Final CTA banner ---------- */
.cta-banner {
  background:
    radial-gradient(circle at 85% 30%, rgba(249,115,22,.5), transparent 55%),
    linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
  color: #fff;
  border-radius: clamp(16px, 3vw, 28px);
  padding: clamp(44px, 7vw, 80px) clamp(28px, 6vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.cta-banner > * { position: relative; }
.cta-banner h2 { color: #fff; max-width: 720px; margin-left: auto; margin-right: auto; }
.cta-banner p { color: rgba(255,255,255,.8); max-width: 600px; margin: 0 auto 28px; }

/* ---------- 15. Footer ---------- */
.site-footer {
  background: var(--bg-darker);
  color: var(--text-on-dark-soft);
  padding: 70px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 48px;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand img { height: 44px; margin-bottom: 16px; }
.footer-brand p { color: var(--text-on-dark-soft); font-size: .95rem; max-width: 320px; }
.footer h4 { color: #fff; font-size: .98rem; margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; font-size: .94rem; }
.footer ul li a { color: var(--text-on-dark-soft); transition: color .2s; }
.footer ul li a:hover { color: var(--brand-accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: .86rem; color: var(--text-on-dark-soft);
}
.socials { display: flex; gap: 12px; }
.socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.socials a:hover { background: var(--brand-accent); color: #fff; }

/* ---------- 16. Page hero (sub-pages) ---------- */
.page-hero {
  padding: clamp(70px, 9vw, 120px) 0 clamp(50px, 7vw, 80px);
  background:
    radial-gradient(circle at 90% 0%, rgba(249,115,22,.16), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-alt) 100%);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { max-width: 800px; margin: 0 auto 14px; }
.page-hero p { max-width: 640px; margin: 0 auto; font-size: 1.08rem; }
.crumbs {
  display: flex; gap: 8px; justify-content: center; align-items: center;
  font-size: .85rem; color: var(--text-muted); margin-bottom: 18px;
}
.crumbs a { color: var(--text-muted); transition: color .2s; }
.crumbs a:hover { color: var(--brand-accent); }
.crumbs .sep { opacity: .6; }

/* ---------- 17. Service detail rows (services.html) ---------- */
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(40px, 6vw, 70px) 0;
  border-bottom: 1px solid var(--border);
}
.svc-row:last-child { border-bottom: 0; }
.svc-row:nth-child(even) .svc-row__visual { order: -1; }
@media (max-width: 800px) {
  .svc-row { grid-template-columns: 1fr; }
  .svc-row:nth-child(even) .svc-row__visual { order: 0; }
}
.svc-row__icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-2));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  box-shadow: var(--shadow-orange);
}
.svc-row__icon svg { width: 32px; height: 32px; }
.svc-row h2 { margin-bottom: 14px; }
.svc-row__list { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.svc-row__list li {
  display: flex; gap: 10px; align-items: flex-start;
  color: var(--text-soft); font-size: .98rem;
}
.svc-row__list li::before {
  content: ''; flex-shrink: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(249,115,22,.12) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23F97316' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/12px no-repeat;
  margin-top: 2px;
}
.svc-row__tools {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px;
}
.tool-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  font-size: .82rem; font-weight: 600; color: var(--brand-primary);
}
.svc-row__visual {
  background: linear-gradient(135deg, var(--bg-alt), #fff);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  min-height: 280px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.svc-row__visual svg { width: 60%; height: auto; max-width: 220px; opacity: .9; }

/* ---------- 18. Portfolio grid ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
}
.portfolio-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.portfolio-thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #1A3C6E, #2a5599);
  position: relative;
  overflow: hidden;
}
.portfolio-thumb::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 24px 24px;
}
.portfolio-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(249,115,22,.55), transparent 60%);
}
.portfolio-thumb__label {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  color: #fff;
  text-align: center;
  padding: 20px;
  z-index: 1;
}
.portfolio-thumb__label .play {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  border: 2px solid rgba(255,255,255,.4);
  transition: transform .3s var(--ease), background .3s;
}
.portfolio-item:hover .play { transform: scale(1.1); background: var(--brand-accent); border-color: var(--brand-accent); }
.portfolio-thumb__label h3 { color: #fff; font-size: 1.1rem; margin: 0; max-width: 90%; }

.portfolio-item:nth-child(2) .portfolio-thumb { background: linear-gradient(135deg, #F97316, #FF7800); }
.portfolio-item:nth-child(3) .portfolio-thumb { background: linear-gradient(135deg, #0d9488, #34d399); }
.portfolio-item:nth-child(4) .portfolio-thumb { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.portfolio-item:nth-child(5) .portfolio-thumb { background: linear-gradient(135deg, #db2777, #f472b6); }
.portfolio-item:nth-child(6) .portfolio-thumb { background: linear-gradient(135deg, #0891b2, #22d3ee); }

.portfolio-meta {
  padding: 18px 22px 22px;
}
.portfolio-meta__tags {
  display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px;
}
.portfolio-meta__tags span {
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brand-accent);
  background: rgba(249,115,22,.08);
  padding: 3px 10px; border-radius: 999px;
}
.portfolio-meta h3 { font-size: 1rem; margin: 0 0 4px; }
.portfolio-meta p { margin: 0; font-size: .88rem; color: var(--text-muted); }

/* ---------- 19. FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.faq-item:hover { border-color: rgba(249,115,22,.4); }
.faq-q {
  width: 100%;
  padding: 20px 22px;
  text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 600; font-size: 1rem; color: var(--text);
}
.faq-q .icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--brand-primary);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease), background .25s, color .25s;
}
.faq-item.is-open .faq-q .icon { transform: rotate(45deg); background: var(--brand-accent); color: #fff; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.faq-a__inner {
  padding: 0 22px 22px;
  color: var(--text-soft);
  font-size: .96rem;
}
.faq-item.is-open .faq-a { max-height: 320px; }

/* ---------- 20. Comparison table (pricing) ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); }
.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-width: 600px;
}
.compare th, .compare td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare thead th {
  background: var(--brand-primary); color: #fff;
  font-weight: 600; font-size: .9rem; letter-spacing: .03em;
}
.compare tr:last-child td { border-bottom: 0; }
.compare tbody tr:nth-child(even) { background: #fafbfd; }
.compare td.us { color: #dc2626; text-decoration: line-through; font-weight: 500; }
.compare td.ours { color: #16a34a; font-weight: 700; }
.compare td.save {
  color: var(--brand-accent); font-weight: 700;
}

/* ---------- 21. Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; margin-bottom: 16px; }
.form-group label {
  font-size: .88rem; font-weight: 600; margin-bottom: 6px; color: var(--text);
}
.form-group label .req { color: var(--brand-accent); }
.form-control {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: #fff;
  font-size: .98rem;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
  font-family: inherit;
}
.form-control:focus {
  outline: none;
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(249,115,22,.15);
}
textarea.form-control { min-height: 120px; resize: vertical; }
.checks {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px;
}
@media (max-width: 540px) { .checks { grid-template-columns: 1fr; } }
.check {
  display: flex; align-items: center; gap: 8px;
  font-size: .92rem;
  cursor: pointer;
  color: var(--text-soft);
}
.check input { accent-color: var(--brand-accent); width: 16px; height: 16px; }
.form-feedback {
  margin-top: 14px;
  font-size: .92rem;
  padding: 10px 12px;
  border-radius: 8px;
  display: none;
}
.form-feedback.is-success { display: block; background: rgba(34,197,94,.12); color: #15803d; }
.form-feedback.is-error { display: block; background: rgba(220,38,38,.10); color: #b91c1c; }

/* Sidebar contact info */
.contact-side .info-box {
  background: var(--brand-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 18px;
}
.contact-side .info-box h3 { color: #fff; margin-bottom: 8px; }
.contact-side .info-box p { color: rgba(255,255,255,.8); }
.contact-list { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .ci {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-list a { color: #fff; }
.contact-list small { color: rgba(255,255,255,.7); display: block; font-size: .8rem; }

/* ---------- 22. About / team ---------- */
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px;
}
.team-card {
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 96px; height: 96px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 2rem;
  font-family: 'Poppins', sans-serif;
}
.team-card h4 { margin: 0 0 4px; }
.team-card .role { color: var(--brand-accent); font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.team-card p { font-size: .88rem; color: var(--text-muted); margin: 0; }

.tools-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}
.tool-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  font-weight: 600;
  font-size: .9rem;
  color: var(--text-soft);
  transition: border-color .2s, transform .25s var(--ease);
}
.tool-card:hover { border-color: var(--brand-accent); transform: translateY(-2px); color: var(--brand-primary); }

/* ---------- 23. Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-d-1 { transition-delay: .08s; }
.reveal-d-2 { transition-delay: .16s; }
.reveal-d-3 { transition-delay: .24s; }
.reveal-d-4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 24. Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.flex-center { display: flex; align-items: center; justify-content: center; }
