/* ============================================
   ZELIA DENTAL LAB — DESIGN SYSTEM
   ============================================ */

/* --- Custom Properties --- */
:root {
  --bg:           #FFFFFF;
  --bg-dark:      #09090B;
  --bg-section:   #F4F4F5;
  --text:         #09090B;
  --text-muted:   #71717A;
  --text-dim:     #A1A1AA;
  --accent:       #2563EB;
  --accent-hover: #1D4ED8;
  --border:       #E4E4E7;
  --white:        #FFFFFF;

  --nav-height:   72px;
  --section-pad:  96px;
  --max-width:    1200px;
  --max-width-sm: 800px;

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;

  --transition:  0.3s ease;
  --shadow:      0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.16);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

/* --- Color utilities --- */
.text-muted  { color: var(--text-muted); }
.text-dim    { color: var(--text-dim); }
.text-white  { color: var(--white); }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

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

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition:
    background var(--transition),
    border-color var(--transition),
    backdrop-filter var(--transition);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.nav.nav-dark { color: var(--white); }

.nav.nav-dark.scrolled {
  background: rgba(9,9,11,0.88);
  border-bottom-color: rgba(255,255,255,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.nav-logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: inherit;
  flex-shrink: 0;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: inherit;
  opacity: 0.78;
  transition: opacity var(--transition);
}

.nav-links a:hover { opacity: 1; }

/* Portal link — desktop */
.nav-portal {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 1 !important;
  color: inherit !important;
  border: 1px solid currentColor;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), opacity var(--transition);
}

.nav-portal::after {
  content: '↗';
  font-size: 11px;
  opacity: 0.7;
}

.nav-dark .nav-portal:hover {
  background: rgba(255,255,255,0.10);
}

.nav.scrolled:not(.nav-dark) .nav-portal:hover {
  background: rgba(0,0,0,0.06);
}

/* Portal link — mobile overlay */
.nav-portal-mobile {
  font-size: 22px !important;
  font-weight: 600;
  color: var(--white);
  opacity: 0.6 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 10px 28px;
  border-radius: var(--radius-sm);
  transition: opacity var(--transition);
}

.nav-portal-mobile:hover { opacity: 1 !important; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent) !important;
  color: var(--white) !important;
  opacity: 1 !important;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: inherit;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg-dark);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.nav-overlay.open { display: flex; }

.nav-overlay a {
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  opacity: 0.85;
  transition: opacity var(--transition);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-overlay a:hover { opacity: 1; }

.nav-overlay-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
  opacity: 0.6;
  transition: opacity var(--transition);
}

.nav-overlay-close:hover { opacity: 1; }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost-dark:hover {
  background: var(--bg-section);
  border-color: var(--text-muted);
}

/* ============================================
   BADGES
   ============================================ */

.badge-vision {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.badge-category {
  display: inline-block;
  background: var(--bg-section);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.badge-category-dark {
  background: rgba(255,255,255,0.08);
  color: var(--text-dim);
}

/* ============================================
   SECTIONS
   ============================================ */

.section { padding: var(--section-pad) 0; }
.section-dark    { background: var(--bg-dark); color: var(--white); }
.section-gray    { background: var(--bg-section); }

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero-dark  { background: var(--bg-dark); color: var(--white); }
.hero-light { background: var(--bg); color: var(--text); }

.hero-h1 {
  font-size: clamp(52px, 6.5vw, 88px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 40px;
}

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

/* Grid background */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

/* Hero bg image */
.hero-bg-img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%; height: 100%;
  opacity: 0.12;
  pointer-events: none;
}

/* ── Hero soft glow orbs ── */
.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.hero-orb-1 {
  width: 640px;
  height: 640px;
  background: #2563EB;
  opacity: 0.15;
  top: -160px;
  right: -80px;
  animation: orb-drift-1 14s ease-in-out infinite alternate;
}

.hero-orb-2 {
  width: 420px;
  height: 420px;
  background: #6ea8fe;
  opacity: 0.10;
  bottom: -120px;
  left: 28%;
  animation: orb-drift-2 18s ease-in-out infinite alternate;
}

.hero-orb-3 {
  width: 320px;
  height: 320px;
  background: #1e3a8a;
  opacity: 0.18;
  top: 30%;
  left: -100px;
  animation: orb-drift-3 11s ease-in-out infinite alternate;
}

@keyframes orb-drift-1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-50px, 35px) scale(1.08); }
}

@keyframes orb-drift-2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(35px, -45px) scale(0.92); }
}

@keyframes orb-drift-3 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(28px, 55px) scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orb { animation: none; }
}

/* ============================================
   PAGE HERO (non-fullscreen)
   ============================================ */

.page-hero {
  padding: calc(var(--nav-height) + 80px) 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero-dark  { background: var(--bg-dark); color: var(--white); }
.page-hero-light { background: var(--bg); color: var(--text); }

.page-h1 {
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

.section-h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.pull-quote {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.pull-quote-sub {
  text-align: center;
  color: var(--text-muted);
  margin-top: 20px;
  font-size: 18px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background: var(--bg-section);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.card-dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.card-dark:hover {
  background: rgba(255,255,255,0.07);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

/* Icon box */
.icon-box {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37,99,235,0.1);
  border-radius: var(--radius);
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 22px;
  flex-shrink: 0;
}

.icon-box-dark { background: rgba(37,99,235,0.2); }

/* ============================================
   GRID LAYOUTS
   ============================================ */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 64px;
  align-items: center;
}

.grid-2-reverse > *:first-child { order: 2; }
.grid-2-reverse > *:last-child  { order: 1; }

/* Two-col text block */
.two-col-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.two-col-text h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.two-col-text p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.75;
}

/* Centered content */
.centered-section {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.centered-section .section-h2 { margin-bottom: 16px; }

.centered-section p {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.75;
}

/* ============================================
   LISTS
   ============================================ */

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
}

.feature-list li::before {
  content: '→';
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 600;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

.check-icon {
  width: 22px;
  height: 22px;
  background: rgba(37,99,235,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 12px;
  margin-top: 2px;
  font-weight: 700;
}

/* ============================================
   LINK WITH ARROW
   ============================================ */

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  transition: gap var(--transition);
  margin-top: 20px;
}

.link-arrow:hover { gap: 10px; }

/* ============================================
   IMAGES
   ============================================ */

.img-rounded {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.img-rounded img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.img-rounded:hover img { transform: scale(1.03); }

.img-aspect-43  { aspect-ratio: 4/3; }
.img-aspect-169 { aspect-ratio: 16/9; }
.img-aspect-11  { aspect-ratio: 1/1; }

/* ============================================
   DATA PILLS
   ============================================ */

.data-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.data-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
}

.data-pill-icon { font-size: 18px; }

.data-pill-dark {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: var(--white);
}

/* ============================================
   STATS
   ============================================ */

.stat-large {
  font-size: clamp(60px, 8vw, 96px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 10px;
}

/* ============================================
   ACCENT CARD
   ============================================ */

.accent-card {
  border-left: 4px solid var(--accent);
  padding: 32px 36px;
  background: rgba(37,99,235,0.05);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.accent-card-dark {
  background: rgba(37,99,235,0.08);
  border-left-color: var(--accent);
}

/* ============================================
   CHIP TAGS
   ============================================ */

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.chip {
  background: rgba(37,99,235,0.1);
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid rgba(37,99,235,0.2);
}

/* ============================================
   CASES GRID
   ============================================ */

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.case-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--bg);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.case-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.case-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.case-card:hover .case-card-img img { transform: scale(1.06); }

.case-card-body {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.case-card-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}

.case-card-link:hover { gap: 8px; }

/* ============================================
   WORKFLOW STEPS
   ============================================ */

.workflow-steps { display: flex; flex-direction: column; }

.workflow-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 56px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.workflow-step:last-child { border-bottom: none; }

.step-number {
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.07);
  line-height: 1;
  padding-top: 6px;
  user-select: none;
}

.step-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: rgba(37,99,235,0.12);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.step-content h3 {
  font-size: 26px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.step-bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.step-bullets li {
  font-size: 15px;
  color: var(--text-dim);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.step-bullets li::before {
  content: '·';
  color: var(--accent);
  font-size: 22px;
  line-height: 1.2;
  flex-shrink: 0;
}

/* ============================================
   CONTACT FORM
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: start;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-info-card {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  color: var(--white);
}

.contact-info-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-info-icon {
  width: 36px;
  height: 36px;
  background: rgba(37,99,235,0.18);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 16px;
}

.contact-info-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dim);
}

.contact-info-text strong {
  color: var(--white);
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.contact-info-text a { color: var(--text-dim); }
.contact-info-text a:hover { color: var(--white); }

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--bg-dark);
  color: var(--white);
  padding: 72px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.footer-contact-item .label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-dim);
}

.footer-contact-item a,
.footer-contact-item .value {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 13px;
  color: var(--text-dim);
}

/* ============================================
   VISION SYSTEM COMPONENTS
   ============================================ */

.vision-wordmark {
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.05;
}

.vision-wordmark span { color: var(--accent); }

.vision-features {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
  margin-top: 56px;
}

.vision-feature-item {
  text-align: center;
  padding: 36px 24px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  transition: background var(--transition), border-color var(--transition);
}

.vision-feature-item:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(37,99,235,0.3);
}

.vision-feature-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.vision-feature-item h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.vision-feature-item p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ============================================
   GLOW / DECORATIVE
   ============================================ */

.glow-section {
  position: relative;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse at center, rgba(37,99,235,0.22) 0%, transparent 70%);
  pointer-events: none;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }

/* ============================================
   MISC UTILITIES
   ============================================ */

.divider      { height: 1px; background: var(--border); }
.divider-dark { height: 1px; background: rgba(255,255,255,0.07); }

.note-text {
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
  margin-top: 40px;
  font-style: italic;
  line-height: 1.6;
}

.spacer-sm { height: 32px; }
.spacer    { height: 56px; }

/* ============================================
   RESPONSIVE
   ============================================ */

/* Hide footer photo panel on tablet/mobile (homepage only) */
@media (max-width: 1024px) {
  .footer-photo-panel { display: none; }
}

@media (max-width: 1024px) {
  :root { --section-pad: 72px; }

  .grid-3          { grid-template-columns: repeat(2,1fr); }
  .grid-2          { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid    { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
  .vision-features { grid-template-columns: repeat(2,1fr); }

  .grid-2-reverse > *:first-child { order: unset; }
  .grid-2-reverse > *:last-child  { order: unset; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; }

  .nav-links    { display: none; }
  .nav-hamburger { display: flex; }

  .grid-3          { grid-template-columns: 1fr; }
  .cases-grid      { grid-template-columns: 1fr; }
  .form-row        { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr; gap: 32px; }
  .vision-features { grid-template-columns: 1fr; }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .hero-ctas { flex-direction: column; align-items: stretch; }

  .workflow-step  { grid-template-columns: 40px 1fr; gap: 16px; }
  .step-number    { font-size: 36px; }

  .contact-info-card { padding: 28px 24px; }
  .accent-card       { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .btn {
    padding: 14px 22px;
    font-size: 14px;
    min-height: 44px;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .container,
  .container-sm,
  .nav-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  :root { --section-pad: 48px; }

  .nav-overlay { gap: 20px; }
}
