/* ==========================================================================
   Webpronic — Global Stylesheet
   Build • Automate • Scale
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --deep-navy: #062b63;
  --navy: #0b3473;
  --cyan: #08b8f2;
  --bright-cyan: #00aeef;
  --white: #ffffff;
  --light-bg: #f5f9fc;
  --dark-bg: #031b3d;
  --text-dark: #071d3a;
  --text-muted: #61728a;
  --border: #dce8f2;

  --gradient-primary: linear-gradient(135deg, var(--deep-navy) 0%, var(--cyan) 100%);
  --gradient-cyan-glow: linear-gradient(135deg, var(--bright-cyan) 0%, var(--deep-navy) 100%);
  --gradient-dark: linear-gradient(135deg, var(--dark-bg) 0%, var(--deep-navy) 100%);

  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-secondary: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;

  --shadow-soft: 0 10px 30px rgba(6, 43, 99, 0.08);
  --shadow-glow: 0 20px 45px rgba(8, 184, 242, 0.18);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-height: 84px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-secondary);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-dark);
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.1rem; }

p { color: var(--text-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
}

.eyebrow--light { color: var(--bright-cyan); }

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-heading p { margin-top: 18px; font-size: 1.08rem; }

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

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; padding: 110px 0; }

.section-tight { padding: 80px 0; }

.grid { display: grid; gap: 28px; }
.grid > * { min-width: 0; }

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.bg-light { background: var(--light-bg); }
.bg-dark { background: var(--gradient-dark); color: var(--white); }
.bg-dark p { color: rgba(255, 255, 255, 0.72); }
.bg-dark h2, .bg-dark h3 { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 100px;
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-cyan-glow);
  background-size: 160% 160%;
  color: var(--white);
  box-shadow: 0 12px 30px rgba(8, 184, 242, 0.28);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(8, 184, 242, 0.38);
  background-position: 100% 0;
}

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

.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-3px);
}

.bg-dark .btn-secondary,
.hero .btn-secondary { color: var(--white); border-color: rgba(255, 255, 255, 0.35); }
.bg-dark .btn-secondary:hover,
.hero .btn-secondary:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), height 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(6, 43, 99, 0.08);
  height: 72px;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-secondary);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.logo img { width: 46px; height: auto; }

.logo-mark--color { display: none; }
.logo-mark--white { display: inline-block; }

.navbar:not(.scrolled) .logo { color: var(--white); }

.navbar.scrolled .logo-mark--color { display: inline-block; }
.navbar.scrolled .logo-mark--white { display: none; }

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

.nav-links a {
  position: relative;
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--white);
  padding: 6px 0;
  transition: color 0.25s;
}

.navbar.scrolled .nav-links a { color: var(--text-dark); }

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active { color: var(--cyan); }

.nav-links a.active::after,
.nav-links a:hover::after { width: 100%; }

.nav-links a.btn-primary { display: none; }

.nav-actions { display: flex; align-items: center; gap: 20px; }

.nav-actions .btn-primary { padding: 12px 26px; font-size: 0.92rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 22px;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.3s;
}

.navbar:not(.scrolled) .nav-toggle span { background: var(--white); }
.navbar .nav-toggle.active span { background: var(--navy); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  background: var(--gradient-dark);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 22%, rgba(8, 184, 242, 0.32), transparent 55%),
              radial-gradient(circle at 15% 85%, rgba(8, 184, 242, 0.16), transparent 50%);
  pointer-events: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.65;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-inner { max-width: 760px; }

.hero h1 { color: var(--white); margin-bottom: 24px; }

.hero p.hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 620px;
  margin-bottom: 38px;
}

.hero-trust {
  margin-top: 30px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
}

.hero--page { min-height: auto; padding: 190px 0 110px; text-align: left; }
.hero--page .hero-inner { max-width: 820px; }

/* ---------- Value Strip ---------- */
.value-strip {
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}

.value-strip .grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }

.value-item {
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.value-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }

.value-item h4 { color: var(--navy); margin-bottom: 8px; }
.value-item p { font-size: 0.92rem; margin: 0; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(8, 184, 242, 0.35);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(8, 184, 242, 0.12), rgba(6, 43, 99, 0.08));
  color: var(--navy);
  margin-bottom: 20px;
}

.card-icon svg { width: 26px; height: 26px; }

.card h3 { margin-bottom: 10px; }
.card p { margin: 0; font-size: 0.96rem; }

/* ---------- Problem / Solution ---------- */
.problem-cards, .services-grid { grid-template-columns: repeat(4, 1fr); }

.solution-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.solution-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.solution-point .dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--gradient-primary);
}

.solution-point span { font-weight: 600; font-size: 0.95rem; color: var(--text-dark); }

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-section > * { min-width: 0; }

/* ---------- Workflow / Automation Showcase ---------- */
.workflow-pipeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
  margin-top: 20px;
}

.workflow-step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  text-align: center;
}

.workflow-step .step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-secondary);
  margin: 0 auto 14px;
  position: relative;
  z-index: 2;
}

.workflow-step h4 { font-size: 0.95rem; margin-bottom: 6px; }
.workflow-step p { font-size: 0.82rem; margin: 0; }

.workflow-step.pulse .step-num { box-shadow: 0 0 0 6px rgba(8, 184, 242, 0.18); }

/* ---------- Scale Metrics ---------- */
.metrics-grid { grid-template-columns: repeat(4, 1fr); text-align: center; }

.metric-value {
  font-family: var(--font-secondary);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--white);
  background: linear-gradient(135deg, var(--bright-cyan), #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metric-label {
  margin-top: 8px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Cost Optimization ---------- */
.optimization-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.optimization-pill {
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.optimization-pill:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

/* ---------- Industries ---------- */
.industries-track {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.industry-chip {
  padding: 14px 26px;
  border-radius: var(--radius-md);
  background: var(--light-bg);
  border: 1px solid var(--border);
  font-weight: 700;
  font-family: var(--font-secondary);
  color: var(--navy);
  font-size: 0.95rem;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}

.industry-chip:hover { background: var(--gradient-primary); color: var(--white); transform: translateY(-4px); }

/* ---------- Testimonials ---------- */
.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

.testimonial-card .quote { color: var(--text-dark); font-size: 0.96rem; margin-bottom: 22px; }

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

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-secondary);
  flex-shrink: 0;
}

.testimonial-person .name { font-weight: 700; color: var(--text-dark); font-size: 0.92rem; }
.testimonial-person .role { font-size: 0.8rem; color: var(--text-muted); }

.testimonial-note {
  margin-top: 30px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; padding: 130px 0; }
.final-cta h2 { color: var(--white); max-width: 700px; margin: 0 auto 20px; }
.final-cta p { max-width: 560px; margin: 0 auto 36px; }
.final-cta .cta-row { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--dark-bg); color: rgba(255, 255, 255, 0.7); padding: 80px 0 0; }

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .logo { color: var(--white); }
.footer-about p { margin-top: 18px; font-size: 0.92rem; max-width: 320px; }

.footer-col h4 { color: var(--white); font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.92rem; transition: color 0.25s; }
.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom .tagline { color: var(--cyan); font-weight: 600; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 900;
}

.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- Scroll Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal].in-view { opacity: 1; transform: translateY(0); }

[data-reveal-group] > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Services Page ---------- */
.service-category { padding: 70px 0; border-bottom: 1px solid var(--border); }
.service-category:last-child { border-bottom: none; }

.category-head {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 50px;
  align-items: start;
}

.category-head > * { min-width: 0; }

.category-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.category-services > * { min-width: 0; }

.category-services li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--light-bg);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
}

.category-services li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}

.category-badge {
  display: inline-flex;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--white);
  font-family: var(--font-secondary);
  font-weight: 800;
  margin-bottom: 20px;
}

/* ---------- Methodology ---------- */
.methodology-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.method-step { position: relative; padding: 30px 22px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--white); }
.method-step .number { font-family: var(--font-secondary); font-weight: 800; font-size: 2rem; color: rgba(8, 184, 242, 0.35); margin-bottom: 14px; }
.method-step h4 { margin-bottom: 10px; }
.method-step p { font-size: 0.88rem; margin: 0; }

/* ---------- About Page ---------- */
.story-block { max-width: 780px; }
.story-block p { margin-bottom: 20px; font-size: 1.02rem; }

.principles-grid { grid-template-columns: repeat(3, 1fr); }

.capabilities-cloud { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.capabilities-cloud span {
  padding: 10px 18px;
  border-radius: 100px;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.differentiator { text-align: center; padding: 100px 0; }
.differentiator h2 { max-width: 700px; margin: 0 auto 12px; }
.differentiator .highlight { display: block; color: var(--cyan); margin-top: 6px; }
.differentiator p.desc { margin-top: 22px; }

/* ---------- Contact Page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.contact-layout > * { min-width: 0; }

.contact-options { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 36px; }
.contact-options span {
  padding: 9px 16px;
  border-radius: 100px;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

.contact-detail:last-child { border-bottom: 1px solid var(--border); }

.contact-detail .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--light-bg);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail > div { min-width: 0; }

.contact-detail .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.contact-detail .value { font-weight: 700; color: var(--text-dark); overflow-wrap: break-word; word-break: break-word; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row > * { min-width: 0; }

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--light-bg);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(8, 184, 242, 0.12);
  background: var(--white);
}

.form-group textarea { min-height: 130px; resize: vertical; }

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea { border-color: #e0455a; }

.error-message {
  display: block;
  visibility: hidden;
  min-height: 1.3em;
  color: #e0455a;
  font-size: 0.8rem;
  margin-top: 6px;
  font-weight: 600;
}

.form-group.has-error .error-message { visibility: visible; }

.form-success {
  display: none;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(8, 184, 242, 0.1);
  border: 1px solid rgba(8, 184, 242, 0.3);
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 22px;
}

.form-success.visible { display: flex; }

.contact-form.submitted form { display: none; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  text-align: left;
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-dark);
}

.faq-question .icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--ease), background 0.35s, border-color 0.35s;
}

.faq-item.open .faq-question .icon { transform: rotate(45deg); background: var(--gradient-primary); border-color: transparent; color: var(--white); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-answer p { padding: 0 4px 24px; font-size: 0.96rem; }

.final-message { text-align: center; padding: 110px 0; }
.final-message h2 { max-width: 680px; margin: 0 auto 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .problem-cards, .services-grid, .value-strip .grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-pipeline { grid-template-columns: repeat(3, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .testimonial-track { grid-template-columns: repeat(2, 1fr); }
  .split-section { grid-template-columns: 1fr; gap: 40px; }
  .solution-points { grid-template-columns: 1fr; }
  .category-head { grid-template-columns: 1fr; gap: 26px; }
  .methodology-steps { grid-template-columns: repeat(3, 1fr); }
  .principles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 80px 0; }
  .nav-links, .nav-actions .btn-primary { display: none; }
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 80%);
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 28px;
    padding: 150px 40px 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -10px 0 40px rgba(6, 43, 99, 0.15);
  }

  .nav-links.open { display: flex; transform: translateX(0); }
  .nav-links a { color: var(--text-dark); font-size: 1.1rem; }
  .nav-links a.btn-primary { display: inline-flex; }

  .problem-cards, .services-grid, .value-strip .grid,
  .workflow-pipeline, .metrics-grid, .testimonial-track,
  .category-services, .methodology-steps, .principles-grid,
  .footer-top, .form-row, .grid-2 { grid-template-columns: 1fr; }

  .metrics-grid { gap: 30px; }
  .contact-form { padding: 26px; }
  .hero { padding: 140px 0 70px; text-align: left; }
  .hero--page { padding: 150px 0 70px; }
  .final-cta, .differentiator, .final-message { padding: 80px 0; }
}
