/* ═══════════════════════════════════════════════════════════════
   SarasDynamics – Main Stylesheet
   Design: Professional White + Black + Blue
   ═══════════════════════════════════════════════════════════════ */

/* ── Design Tokens ─────────────────────────────────────────────── */
:root {
  --white:        #ffffff;
  --off-white:    #ffffff;
  --light-gray:   rgba(17,17,17,0.04);
  --mid-gray:     rgba(17,17,17,0.15);
  --text-muted:   rgba(17,17,17,0.65);
  --text-body:    #111111;
  --text-dark:    #111111;
  --black:        #111111;

  --orange:       #0A66C2;
  --orange-light: #0A66C2;
  --orange-dark:  #0A66C2;
  --orange-bg:    rgba(10,102,194,0.08);

  --font-main:    'Inter', system-ui, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;

  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --radius-xl:    32px;

  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.12);
  --shadow-orange:0 8px 32px rgba(10,102,194,0.18);

  --transition:   none;
  --transition-slow: none;

  --nav-height:   62px;
  --container:    1200px;
  --gutter:       clamp(16px, 4vw, 40px);
}

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

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

body {
  font-family: var(--font-main);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ── Typography ─────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--orange);
}

.section-title { margin-bottom: 1rem; }
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 3rem;
}

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--mid-gray);
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn-dark {
  background: var(--white);
  color: var(--text-dark);
  border-color: var(--mid-gray);
}
.btn-dark:hover {
  background: var(--white);
  border-color: var(--orange);
  color: var(--orange);
  box-shadow: none;
}

.btn-sm { padding: 9px 20px; font-size: 0.875rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* ── Navigation ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid var(--mid-gray);
  transition: var(--transition);
}
.site-header .container {
  padding-top: 0;
  padding-bottom: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 16px;
  padding: 0;
}

.nav-logo { display: flex; align-items: center; }
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--white);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  border: 1.5px solid rgba(10,102,194,0.28);
  flex-shrink: 0;
}
.logo-text-wrap {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
  line-height: 1.05;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}
.logo-accent { color: var(--orange); }
.logo-subtext {
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 2px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
}

.nav-link {
  padding: 6px 2px 3px;
  border-radius: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-body);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0;
  letter-spacing: 0;
  text-transform: none;
  border: none;
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--orange);
  background: transparent;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
}

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


.nav-actions .btn.btn-primary.btn-sm {
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.84rem;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
}

/* ── Messages ───────────────────────────────────────────────────── */
.messages-container {
  position: fixed;
  top: calc(var(--nav-height) + 16px);
  right: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 420px;
}
.message {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
}
.message-success { background: var(--light-gray); border: 1px solid var(--mid-gray); color: var(--text-body); }
.message-error   { background: var(--light-gray); border: 1px solid var(--mid-gray); color: var(--text-body); }
.message-info    { background: var(--light-gray); border: 1px solid var(--mid-gray); color: var(--text-body); }
.message-warning { background: var(--light-gray); border: 1px solid var(--mid-gray); color: var(--text-body); }

/* ── Sections ───────────────────────────────────────────────────── */
section { padding: clamp(60px, 8vw, 100px) 0; }

.section-center { text-align: center; }
.section-center .section-subtitle { margin: 0 auto 3rem; }

/* ── Cards ──────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}
.card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--orange-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--orange);
}

/* ── Grid ───────────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 50%, rgba(10,102,194,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(10,102,194,0.06) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: calc(var(--nav-height) + 40px) 0 80px;
  width: 100%;
}

.hero-text { max-width: 600px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10,102,194,0.15);
  border: 1px solid rgba(10,102,194,0.3);
  color: var(--orange-light);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
}

.hero h1 {
  color: var(--text-dark);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}
.hero h1 span { color: var(--orange); }

.hero-sub {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--mid-gray);
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--orange);
}
.hero-stat .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-stack {
  position: relative;
  width: 380px;
  height: 420px;
}

.floating-card {
  position: absolute;
  background: var(--off-white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-lg);
  padding: 20px;
  color: var(--text-body);
}
.floating-card:nth-child(1) { top: 0; left: 0; right: 40px; }
.floating-card:nth-child(2) { top: 140px; left: 40px; right: 0; }
.floating-card:nth-child(3) { bottom: 0; left: 20px; right: 20px; }


.floating-card .fc-icon {
  font-size: 1.6rem; margin-bottom: 10px;
}
.floating-card .fc-title {
  font-size: 0.95rem; font-weight: 600; color: var(--text-dark);
}
.floating-card .fc-value {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 800;
  color: var(--orange-light);
}
.floating-card .fc-label {
  font-size: 0.75rem; color: var(--text-muted);
}

/* ── Services Grid ──────────────────────────────────────────────── */
.services-section { background: var(--off-white); }

/* ── Case Studies ───────────────────────────────────────────────── */
.case-card {
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.case-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}
.case-card-body { padding: 1.75rem; }
.case-card-tag {
  display: inline-block;
  background: var(--orange-bg);
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.case-card-title { font-size: 1.25rem; margin-bottom: 0.75rem; }
.case-card-desc { color: var(--text-muted); font-size: 0.9rem; }
.case-card-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--mid-gray);
}
.tech-tag {
  background: var(--light-gray);
  color: var(--text-body);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

/* ── Process Steps ──────────────────────────────────────────────── */
.process-section { background: var(--white); }
.process-section .section-label { color: var(--orange); }
.process-section .section-title { color: var(--text-dark); }
.process-section .section-subtitle { color: var(--text-muted); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(10,102,194,0.3);
}

.process-step { text-align: center; position: relative; }
.step-number {
  width: 56px;
  height: 56px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
}
.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.step-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Testimonials ───────────────────────────────────────────────── */
.testimonials-section { background: var(--off-white); }

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}
.testimonial-quote {
  font-size: 2.5rem;
  color: var(--orange);
  line-height: 0.8;
  margin-bottom: 1rem;
}
.testimonial-text {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
}
.author-name { font-weight: 700; font-size: 0.9rem; color: var(--text-dark); }
.author-role { font-size: 0.8rem; color: var(--text-muted); }

/* ── Lead Capture ─────────────────────────────────────────────────*/
.lead-section {
  background: var(--white);
  padding: clamp(60px, 8vw, 100px) 0;
}
.lead-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
}
.lead-layout--b .lead-content {
  order: 2;
}
.lead-layout--b .lead-form-card {
  order: 1;
}
.lead-content {
  color: var(--text-dark);
}
.lead-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.lead-title {
  color: var(--text-dark);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  margin-bottom: 16px;
}
.lead-description {
  color: var(--text-muted);
  font-size: 1.03rem;
  max-width: 62ch;
  margin-bottom: 24px;
}
.lead-benefits {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.lead-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-body);
  font-size: 0.94rem;
}
.lead-check {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--mid-gray);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  color: var(--orange);
}
.lead-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
.lead-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.lead-proof-item {
  border: 1px solid var(--mid-gray);
  background: var(--off-white);
  border-radius: 10px;
  padding: 12px;
}
.lead-proof-value {
  color: var(--text-dark);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.lead-proof-label {
  color: var(--text-muted);
  font-size: 0.78rem;
}
.lead-form-card {
  background: var(--white);
  border: 1px solid rgba(17,17,17,0.16);
  border-radius: 14px;
  padding: clamp(18px, 2.5vw, 26px);
}
.lead-form-title {
  color: var(--text-dark);
  margin-bottom: 8px;
  font-size: 1.2rem;
}
.lead-form-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.lead-form .form-group {
  margin: 0;
}
.lead-form .lead-field-half {
  grid-column: span 1;
}
.lead-form .lead-field-full {
  grid-column: 1 / -1;
}
.lead-form label {
  color: var(--text-body);
  font-size: 0.8rem;
}
.lead-form input,
.lead-form select {
  border: 1px solid var(--mid-gray);
  background: var(--white);
  color: var(--text-body);
}
.lead-form input::placeholder {
  color: var(--text-muted);
}
.lead-form select option {
  color: var(--text-dark);
  background: var(--white);
}
.lead-submit-btn {
  grid-column: 1 / -1;
  background: var(--orange);
  color: var(--white);
  border: 1px solid var(--orange);
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.92rem;
}
.lead-faq {
  margin-top: 14px;
  border-top: 1px solid var(--mid-gray);
  padding-top: 12px;
}
.lead-faq summary {
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  font-size: 0.9rem;
}
.lead-faq p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ── Forms ──────────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--mid-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(10,102,194,0.12);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--orange);
}
.form-error-text {
  color: var(--orange);
  font-size: 0.8rem;
  margin-top: 4px;
}
.required-mark { color: var(--orange); }

/* ── Page Hero (inner pages) ─────────────────────────────────────── */
.page-hero {
  background: var(--white);
  padding: calc(var(--nav-height) + 60px) 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(10,102,194,0.1) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--text-dark); margin-bottom: 1rem; }
.page-hero p { color: var(--text-muted); font-size: 1.15rem; max-width: 600px; }

/* ── About Page ─────────────────────────────────────────────────── */
.about-values { background: var(--off-white); }
.value-card {
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
}
.value-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
}

/* ── AI/Software Services ───────────────────────────────────────── */
.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--mid-gray);
}
.service-detail-card:last-child { border-bottom: none; }
.service-detail-card.reverse { direction: rtl; }
.service-detail-card.reverse > * { direction: ltr; }

.service-img-placeholder {
  height: 300px;
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

/* ── Blog ───────────────────────────────────────────────────────── */
.blog-hero { background: var(--off-white); }

.blog-card {
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}
.blog-card-img {
  height: 200px;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.5rem; }
.blog-card-date { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.blog-card-title { font-size: 1.1rem; margin-bottom: 0.75rem; line-height: 1.35; }
.blog-card-excerpt { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }
.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 1.25rem;
}

.tags-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 2rem;
}
.tag-btn {
  padding: 6px 16px;
  border-radius: 100px;
  border: 1.5px solid var(--mid-gray);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--white);
  color: var(--text-body);
  transition: var(--transition);
}
.tag-btn:hover, .tag-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

/* Blog detail */
.blog-content { max-width: 760px; margin: 0 auto; }
.blog-content h2 { font-size: 1.7rem; margin: 2rem 0 1rem; }
.blog-content h3 { font-size: 1.35rem; margin: 1.75rem 0 0.75rem; }
.blog-content p  { margin-bottom: 1.25rem; line-height: 1.8; }
.blog-content ul, .blog-content ol { margin: 0 0 1.25rem 1.5rem; }
.blog-content li { margin-bottom: 0.5rem; }
.blog-content blockquote {
  border-left: 4px solid var(--orange);
  padding: 12px 20px;
  margin: 1.5rem 0;
  background: var(--orange-bg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
}

/* ── Careers ─────────────────────────────────────────────────────── */
.job-card {
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.job-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
}
.job-card-left { flex: 1; }
.job-card-title { font-size: 1.2rem; margin-bottom: 0.5rem; }
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0.75rem;
}
.job-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--light-gray);
  color: var(--text-body);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}
.job-badge.type-full { background: var(--light-gray); color: var(--text-body); }
.job-badge.type-intern { background: var(--light-gray); color: var(--text-body); }
.job-badge.mode-remote { background: var(--light-gray); color: var(--text-body); }

/* ── Industries ──────────────────────────────────────────────────── */
.industry-card {
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}
.industry-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-lg);
}
.industry-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.industry-name { font-size: 1.25rem; margin-bottom: 0.75rem; }
.industry-usecases { padding-left: 1rem; }
.industry-usecases li {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  list-style: disc;
}

/* ── Contact ─────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--text-body);
}
.contact-info-card h3 { color: var(--text-dark); margin-bottom: 0.75rem; }
.contact-info-card p { color: var(--text-muted); margin-bottom: 2rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 1.5rem;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(10,102,194,0.15);
  border: 1px solid rgba(10,102,194,0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--orange-light);
}
.contact-item-label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 2px; }
.contact-item-value { font-size: 0.95rem; color: var(--text-dark); font-weight: 500; }

/* ── Consultation ─────────────────────────────────────────────────── */
.consult-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

/* ── Footer ──────────────────────────────────────────────────────── */
.site-footer {
  background: var(--white);
  color: var(--text-muted);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--mid-gray);
}
.footer-brand .logo-text { color: var(--text-dark); }
.footer-brand p {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 1.5rem;
}
.social-link {
  width: 38px;
  height: 38px;
  background: var(--off-white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
  font-weight: 700;
  text-decoration: none;
}
.social-link:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.footer-col h4 {
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--orange); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.85rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: var(--text-muted); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--orange); }

/* ── CTA Strip ───────────────────────────────────────────────────── */
.cta-strip {
  background: var(--orange);
  padding: 60px 0;
  text-align: center;
}
.cta-strip h2 { color: var(--white); margin-bottom: 1rem; }
.cta-strip p  { color: rgba(255,255,255,0.85); margin-bottom: 2rem; }
.cta-strip .btn-dark { background: var(--white); color: var(--text-dark); border-color: var(--white); }
.cta-strip .btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.cta-strip .btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

/* ── Breadcrumb ──────────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--orange-light); }
.breadcrumb span { color: var(--text-muted); }

/* ── Empty State ─────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  color: var(--text-muted);
}
.empty-state-icon { font-size: 4rem; margin-bottom: 1rem; opacity: 0.5; }
.empty-state h3 { color: var(--text-dark); margin-bottom: 0.75rem; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .logo-subtext { display: none; }
  .nav-links { margin-left: 6px; gap: 10px; }
  .nav-link { font-size: 0.74rem; padding: 9px 9px; }
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-content { padding: 120px 0 80px; }
  .lead-layout { grid-template-columns: 1fr; }
  .lead-layout--b .lead-content,
  .lead-layout--b .lead-form-card { order: initial; }
  .lead-proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav-links { gap: 10px; }
  .nav-menu { gap: 10px; }
  .nav-link { font-size: 0.82rem; }
  .nav-actions .btn.btn-primary.btn-sm { padding: 10px 14px; }
}

@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .site-header .container { position: relative; }
  .nav {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .nav-right {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .nav-links {
    display: flex;
    position: static;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 10px 0 0;
    gap: 12px;
  }
  .logo-mark { width: 32px; height: 32px; border-radius: 9px; }
  .logo-text { font-size: 0.98rem; }
  .logo-subtext { display: none; }
  .nav-menu {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border-radius: 12px;
    border: 1px solid var(--mid-gray);
    background: var(--light-gray);
    gap: 6px;
    padding: 8px;
  }
  .nav-link {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.88rem;
    color: var(--text-body);
  }
  .nav-link::after { display: none; }
  .nav-link:hover, .nav-link.active {
    background: rgba(10,102,194,0.12);
  }
  .nav-menu li { width: 100%; }
  .nav-actions {
    width: 100%;
  }
  .nav-actions .btn.btn-primary.btn-sm {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
  }

  .contact-grid, .consult-layout { grid-template-columns: 1fr; }
  .lead-proof-grid { grid-template-columns: 1fr; }
  .lead-cta-row { flex-direction: column; }
  .lead-cta-row .btn { width: 100%; justify-content: center; }
  .lead-form { grid-template-columns: 1fr; }
  .lead-form .form-group { grid-column: 1 / -1; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .service-detail-card { grid-template-columns: 1fr; }
  .service-detail-card.reverse { direction: ltr; }
}
