@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  color-scheme: light;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --bg: #F8FAFC;
  --card: #ffffff;
  --text: #0F172A;
  --text-secondary: #475569;
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #EFF6FF;
  --primary-50: #EFF6FF;
  --primary-100: #DBEAFE;
  --primary-500: #3B82F6;
  --primary-600: #2563EB;
  --primary-700: #1D4ED8;
  --border: #E2E8F0;
  --muted: #64748B;
  --success: #059669;
  --surface: #F1F5F9;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 24px -4px rgba(15,23,42,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 40px -8px rgba(15,23,42,0.12), 0 4px 12px rgba(0,0,0,0.04);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; scrollbar-gutter: stable; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

/* ============================================
   LAYOUT
   ============================================ */
.site-section {
  padding: 5rem 1.5rem;
}

.site-section--alt {
  background: var(--primary-50);
}

.site-section--dark {
  background: var(--text);
  color: #fff;
}

.site-container {
  max-width: 1140px;
  margin: 0 auto;
}

.site-container--narrow {
  max-width: 820px;
  margin: 0 auto;
}

/* ============================================
   NAVIGATION
   ============================================ */
/* Reserve nav height before JS injects it to prevent layout shift */
#site-header { min-height: 64px; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
}

.site-nav__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-nav__logo {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.site-nav__logo span {
  color: var(--primary);
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.site-nav__links a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.site-nav__links a:hover,
.site-nav__links a.active {
  color: var(--primary);
  background: var(--primary-50);
}

.site-nav__profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-secondary);
  background: var(--surface);
  transition: color var(--transition), background var(--transition);
  margin-left: 0.5rem;
}

.site-nav__profile:hover {
  color: var(--primary);
  background: var(--primary-50);
}

.site-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border-radius: 8px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  margin-left: 0.75rem;
}

.site-nav__cta:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37,99,235,0.35);
}

.site-nav__menu {
  display: flex;
  align-items: center;
}

.site-nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text);
}

.site-nav__hamburger svg {
  display: block;
}

/* Mobile nav */
@media (max-width: 768px) {
  .site-nav__hamburger { display: block; }
  .site-nav__menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    flex-direction: column;
  }
  .site-nav__menu.open {
    display: flex;
  }
  .site-nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav__links a {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }
  .site-nav__cta {
    margin: 0.75rem 0 0;
    justify-content: center;
    padding: 0.75rem;
  }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.heading-xl {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.heading-lg {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.heading-md {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.heading-sm {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.text-md {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

.text-center { text-align: center; }

.eyebrow-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-100);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .eyebrow-label { display: none; }
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header p {
  margin-top: 1rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 6rem 1.5rem 5rem;
  background: linear-gradient(165deg, #F8FAFF 0%, #EEF2FF 40%, #E0E7FF 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(59,130,246,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}

.hero__content {
  max-width: 560px;
}

.hero__headline {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.hero__headline em {
  font-style: normal;
  color: var(--primary);
}

.hero__sub {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__visual-img {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

@media (max-width: 768px) {
  .hero { padding: 4rem 1.5rem 3rem; }
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual { display: none; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.925rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px -2px rgba(37,99,235,0.4);
}

.btn--primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px -2px rgba(37,99,235,0.5);
}

.btn--secondary {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--border);
}

.btn--secondary:hover {
  border-color: var(--primary);
  background: var(--primary-50);
  color: var(--primary-dark);
}

.btn--large {
  padding: 0.9rem 2rem;
  font-size: 1rem;
}

.btn--ghost {
  background: transparent;
  color: var(--primary);
  padding: 0.75rem 1rem;
}

.btn--ghost:hover {
  background: var(--primary-50);
  color: var(--primary-dark);
}

.btn--white {
  background: #fff;
  color: var(--primary);
}

.btn--white:hover {
  background: var(--primary-50);
  color: var(--primary-dark);
}

/* ============================================
   TRUST STRIP
   ============================================ */
.trust-strip {
  padding: 3rem 1.5rem;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.trust-strip__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
}

.trust-item__icon {
  width: 44px;
  height: 44px;
  background: var(--primary-50);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.trust-item__icon svg {
  width: 22px;
  height: 22px;
}

.trust-item__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

@media (max-width: 768px) {
  .trust-strip__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .trust-strip__inner .trust-item:last-child {
    grid-column: span 2;
  }
}

/* ============================================
   FEATURE GRID
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  background: var(--primary-50);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-card__icon svg {
  width: 22px;
  height: 22px;
}

.feature-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.feature-card__text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   SPECIALTY CARDS
   ============================================ */
.specialty-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.specialty-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.specialty-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.specialty-card__visual {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  overflow: hidden;
}

.specialty-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.specialty-card__visual--orl {
  background: linear-gradient(135deg, #DBEAFE, #C7D2FE);
}

.specialty-card__visual--cmf {
  background: linear-gradient(135deg, #E0E7FF, #C4B5FD);
}

.specialty-card__visual--industry {
  background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
}

.specialty-card__body {
  padding: 1.75rem;
}

.specialty-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.specialty-card__text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.specialty-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.specialty-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  background: var(--surface);
  border-radius: 6px;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .specialty-grid { grid-template-columns: 1fr; }
}

/* ============================================
   PROCESS STEPS
   ============================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: process-step;
}

.process-step {
  counter-increment: process-step;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  transition: box-shadow var(--transition);
}

.process-step:hover {
  box-shadow: var(--shadow);
}

.process-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.process-step__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.process-step__text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .process-steps { grid-template-columns: 1fr; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  padding: 5rem 1.5rem;
  background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 50%, #2563EB 100%);
  color: #fff;
  text-align: center;
}

.cta-band__headline {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.cta-band__sub {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-band__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--text);
  color: #94A3B8;
  padding: 3.5rem 1.5rem 2rem;
}

.site-footer__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.site-footer__brand {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.site-footer__brand span {
  color: var(--primary-500);
}

.site-footer__tagline {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 280px;
}

.site-footer__heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #CBD5E1;
  margin-bottom: 1rem;
}

.site-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__links a {
  font-size: 0.875rem;
  color: #94A3B8;
  transition: color var(--transition);
}

.site-footer__links a:hover {
  color: #fff;
}

.site-footer__bottom {
  max-width: 1140px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #1E293B;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .site-footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   USE CASE CARDS
   ============================================ */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.usecase-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}

.usecase-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.usecase-card__icon {
  width: 52px;
  height: 52px;
  background: var(--primary-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin: 0 auto 1rem;
}

.usecase-card__icon svg {
  width: 26px;
  height: 26px;
}

.usecase-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.usecase-card__text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .usecase-grid { grid-template-columns: 1fr; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .usecase-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   PAGE HERO (sub-pages)
   ============================================ */
.page-hero {
  padding: 4rem 1.5rem 3rem;
  background: linear-gradient(165deg, #F8FAFF 0%, #EEF2FF 100%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-hero__inner {
  max-width: 640px;
  margin: 0 auto;
}

.page-hero p {
  margin-top: 1rem;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

.faq-item__question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background var(--transition);
}

.faq-item__question:hover {
  background: var(--surface);
}

.faq-item__chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--muted);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.faq-item.open .faq-item__answer {
  display: block;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  font: inherit;
  font-size: 0.925rem;
  color: var(--text);
  background: #FAFBFF;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.contact-info-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.contact-info-card__text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.form-status {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  display: none;
}

.form-status--success {
  display: block;
  background: #DCFCE7;
  color: #166534;
}

.form-status--error {
  display: block;
  background: #FEE2E2;
  color: #991B1B;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-grid--reverse {
  direction: ltr;
}

.about-grid--reverse > :first-child {
  order: 2;
}

.about-grid--reverse > :last-child {
  order: 1;
}

.about-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(37,99,235,0.1);
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-value {
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.about-value__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.about-value__text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-values { grid-template-columns: 1fr; }
}

/* ============================================
   APPLICATION CARDS (cases page)
   ============================================ */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.app-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.app-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.app-card__visual {
  height: 200px;
  background: linear-gradient(135deg, #DBEAFE, #E0E7FF);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  overflow: hidden;
}

.app-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-card__visual svg {
  width: 40px;
  height: 40px;
  opacity: 0.5;
}

.app-card__body {
  padding: 1.5rem;
}

.app-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.app-card__text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.app-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  background: var(--primary-50);
  color: var(--primary);
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .app-grid { grid-template-columns: 1fr; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .app-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   SPECIALTY PAGE (detailed)
   ============================================ */
.specialty-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.specialty-detail:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.specialty-detail--reverse {
  direction: rtl;
}

.specialty-detail--reverse > * {
  direction: ltr;
}

.specialty-detail__visual {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #DBEAFE, #E0E7FF);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(37,99,235,0.1);
  overflow: hidden;
}

.specialty-detail__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.specialty-detail__content h3 {
  margin-bottom: 1rem;
}

.specialty-detail__content p {
  margin-bottom: 1.5rem;
}

.specialty-detail__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.specialty-detail__list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}

.specialty-detail__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: var(--primary-100);
  border: 2px solid var(--primary);
  border-radius: 50%;
}

@media (max-width: 768px) {
  .specialty-detail,
  .specialty-detail--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
  }
}

/* ============================================
   HOW-IT-WORKS TIMELINE
   ============================================ */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-step {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 1.5rem;
  padding-bottom: 3rem;
  position: relative;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-step__marker {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}

.timeline-step__content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.timeline-step__content[class*="--"]::after {
  content: "";
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 80px;
  height: 80px;
  opacity: 0.07;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

/* Step 1: Upload — cloud with arrow */
.timeline-step__content--upload::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 16l-4-4-4 4'/%3E%3Cpath d='M12 12v9'/%3E%3Cpath d='M20.39 18.39A5 5 0 0018 9h-1.26A8 8 0 103 16.3'/%3E%3Cpath d='M16 16l-4-4-4 4'/%3E%3C/svg%3E");
}

/* Step 2: Segmentation — stacked layers */
.timeline-step__content--segment::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 2 7 12 12 22 7 12 2'/%3E%3Cpolyline points='2 17 12 22 22 17'/%3E%3Cpolyline points='2 12 12 17 22 12'/%3E%3C/svg%3E");
}

/* Step 3: Surgeon approval — clipboard with check */
.timeline-step__content--approve::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 4h2a2 2 0 012 2v14a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2h2'/%3E%3Crect x='8' y='2' width='8' height='4' rx='1' ry='1'/%3E%3Cpath d='M9 14l2 2 4-4'/%3E%3C/svg%3E");
}

/* Step 4: Production — 3D printer / layered cube */
.timeline-step__content--produce::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16V8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z'/%3E%3Cpolyline points='3.27 6.96 12 12.01 20.73 6.96'/%3E%3Cline x1='12' y1='22.08' x2='12' y2='12'/%3E%3C/svg%3E");
}

/* Step 5: QA — magnifying glass with check */
.timeline-step__content--qa::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3Cpath d='M8 11l2 2 4-4'/%3E%3C/svg%3E");
}

/* Step 6: Delivery — package */
.timeline-step__content--deliver::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='16.5' y1='9.4' x2='7.5' y2='4.21'/%3E%3Cpath d='M21 16V8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z'/%3E%3Cpolyline points='3.27 6.96 12 12.01 20.73 6.96'/%3E%3Cline x1='12' y1='22.08' x2='12' y2='12'/%3E%3C/svg%3E");
}

.timeline-step__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.timeline-step__text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

@media (max-width: 480px) {
  .timeline::before { left: 18px; }
  .timeline-step { grid-template-columns: 38px 1fr; gap: 1rem; }
  .timeline-step__marker { width: 38px; height: 38px; font-size: 0.8rem; border-radius: 10px; }
  .timeline-step__content[class*="--"]::after { width: 56px; height: 56px; opacity: 0.05; }
}

/* ============================================
   ORDER PAGE NAV INTEGRATION
   ============================================ */
.order-page-intro {
  max-width: 780px;
  margin: 2rem auto 0;
  padding: 1.5rem 2rem;
  background: var(--primary-50);
  border-radius: var(--radius) var(--radius) 0 0;
  border: 1px solid var(--primary-100);
  border-bottom: none;
}

.order-page-intro__title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.order-page-intro__text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.order-trust-strip {
  max-width: 780px;
  margin: 0 auto;
  padding: 1rem 2rem;
  background: var(--surface);
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: 0 0 var(--radius) var(--radius);
  border: 1px solid var(--border);
  border-top: none;
  margin-bottom: 2rem;
}

.order-trust-strip__item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.order-trust-strip__item svg {
  width: 14px;
  height: 14px;
  color: var(--success);
  flex-shrink: 0;
}

/* ============================================
   UTILITIES
   ============================================ */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.hidden { display: none !important; }

.hero__pricing-note {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.cta-band__note {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.01em;
}
