/* ============================================================
   TheraJunction, Professional Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ── CSS Variables ───────────────────────────────────────── */
:root {
  /* Brand Colors */
  --tj-teal:         #0ea5a0;
  --tj-teal-light:   #14c9c3;
  --tj-teal-dark:    #0a7d79;
  --tj-navy:         #0f172a;
  --tj-navy-mid:     #1e293b;
  --tj-navy-light:   #334155;
  --tj-slate:        #64748b;
  --tj-slate-light:  #94a3b8;
  --tj-white:        #ffffff;
  --tj-off-white:    #f8fafc;
  --tj-border:       #e2e8f0;

  /* Gradients */
  --grad-hero:    linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #0a4d4a 100%);
  --grad-teal:    linear-gradient(135deg, #0ea5a0 0%, #06b6d4 100%);
  --grad-card:    linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  --grad-cta:     linear-gradient(135deg, #0ea5a0 0%, #0284c7 100%);

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-xl:    0 24px 64px rgba(0,0,0,0.16), 0 8px 24px rgba(0,0,0,0.08);
  --shadow-teal:  0 8px 32px rgba(14,165,160,0.25);
  --shadow-glow:  0 0 60px rgba(14,165,160,0.15);

  /* Radii */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-pill: 999px;

  /* Spacing */
  --section-gap: 6rem;
  --container-max: 1200px;

  /* Transitions */
  --trans-fast:   0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-slow:   0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--tj-navy-mid);
  background: var(--tj-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--tj-teal); text-decoration: none; transition: color var(--trans-fast); }
a:hover { color: var(--tj-teal-dark); }
ul { list-style: none; }

/* ── Layout Utilities ─────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--section-gap) 0;
}

.section--alt {
  background: var(--tj-off-white);
}

.section--dark {
  background: var(--tj-navy);
  color: var(--tj-white);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

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

.text-center { text-align: center; }
.text-left   { text-align: left; }
.mt-2  { margin-top: 0.5rem; }
.mt-4  { margin-top: 1rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-8  { margin-top: 2rem; }
.mb-2  { margin-bottom: 0.5rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

/* ── Typography ───────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tj-teal);
  background: rgba(14,165,160,0.08);
  border: 1px solid rgba(14,165,160,0.2);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.2rem;
}

.section-label--light {
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  color: var(--tj-navy);
  letter-spacing: -0.02em;
}

.h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
.h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
.h4 { font-size: 1.25rem; }
.h5 { font-size: 1.1rem; }

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

.lead {
  font-size: 1.2rem;
  color: var(--tj-slate);
  line-height: 1.7;
  font-weight: 400;
}

.lead--light {
  color: rgba(255,255,255,0.75);
}

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: all var(--trans-normal);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), var(--shadow-sm);
  padding: 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.navbar-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--grad-teal);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: var(--shadow-teal);
  flex-shrink: 0;
}

.navbar-logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--tj-navy);
  letter-spacing: -0.03em;
}

.navbar.on-dark:not(.scrolled) .navbar-logo-text { color: white; }
.navbar.on-dark:not(.scrolled) .navbar-links a { color: rgba(255,255,255,0.85); }
.navbar.on-dark:not(.scrolled) .navbar-links a:hover { color: white; }
.navbar.on-dark:not(.scrolled) .navbar-cta { border-color: rgba(255,255,255,0.3); color: white; }
.navbar.on-dark:not(.scrolled) .navbar-cta:hover { background: white; color: var(--tj-teal); border-color: white; }

/* Nav Links */
.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.navbar-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--tj-navy-light);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all var(--trans-fast);
  text-decoration: none;
}

.navbar-links a:hover {
  color: var(--tj-teal);
  background: rgba(14,165,160,0.06);
}

.navbar-links a.active {
  color: var(--tj-teal);
  font-weight: 600;
}

/* Nav CTA */
.navbar-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tj-teal);
  background: transparent;
  border: 1.5px solid var(--tj-teal);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.25rem;
  transition: all var(--trans-fast);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.navbar-cta:hover {
  background: var(--tj-teal);
  color: white;
  box-shadow: var(--shadow-teal);
}

/* Mobile burger */
.navbar-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
}

.navbar-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--tj-navy);
  border-radius: 2px;
  transition: all var(--trans-fast);
}

.navbar.on-dark:not(.scrolled) .navbar-burger span { background: white; }

.navbar-burger.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar-burger.is-active span:nth-child(2) { opacity: 0; }
.navbar-burger.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.navbar-mobile {
  display: none;
  background: white;
  border-top: 1px solid var(--tj-border);
  padding: 1rem 2rem 1.5rem;
  box-shadow: var(--shadow-lg);
}

.navbar-mobile.is-open {
  display: block;
}

.navbar-mobile a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--tj-navy-mid);
  border-bottom: 1px solid var(--tj-border);
  text-decoration: none;
}

.navbar-mobile a:last-child { border-bottom: none; }
.navbar-mobile .navbar-cta {
  display: block;
  margin-top: 1rem;
  text-align: center;
  background: var(--tj-teal);
  color: white;
  border-color: var(--tj-teal);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--trans-normal);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--grad-teal);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-teal);
}

.btn-primary:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(14,165,160,0.35);
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.45);
}

.btn-outline:hover {
  background: white;
  color: var(--tj-teal-dark);
  border-color: white;
  transform: translateY(-2px);
}

.btn-outline-teal {
  background: transparent;
  color: var(--tj-teal);
  border-color: var(--tj-teal);
}

.btn-outline-teal:hover {
  background: var(--tj-teal);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
}

.btn-lg {
  font-size: 1.0625rem;
  padding: 1rem 2.25rem;
}

.btn-sm {
  font-size: 0.8125rem;
  padding: 0.55rem 1.1rem;
}

.btn-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: var(--grad-hero);
  padding: calc(72px + 5rem) 0 5rem;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Animated mesh gradient orbs */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(14,165,160,0.18) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(2,132,199,0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(30px, -30px) scale(1.05); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14,165,160,0.15);
  border: 1px solid rgba(14,165,160,0.3);
  border-radius: var(--radius-pill);
  padding: 0.4rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tj-teal-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--tj-teal-light);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 900;
  color: white;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-title .accent {
  background: var(--grad-teal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.25rem;
  font-weight: 500;
}

/* Hero image card */
.hero-visual {
  position: relative;
}

.hero-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.hero-img-wrap img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.hero-img-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg);
}

.hero-img-badge-icon {
  width: 38px;
  height: 38px;
  background: var(--grad-teal);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.hero-img-badge-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--tj-navy);
  line-height: 1.3;
}

.hero-img-badge-sub {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--tj-slate);
}

/* ── Section Headings ─────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
  color: var(--tj-navy);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--tj-slate);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-header--light h2 { color: white; }
.section-header--light p  { color: rgba(255,255,255,0.7); }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--tj-border);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all var(--trans-normal);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-teal);
  opacity: 0;
  transition: opacity var(--trans-normal);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(14,165,160,0.2);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.card-icon--teal   { background: rgba(14,165,160,0.1); color: var(--tj-teal); }
.card-icon--danger { background: rgba(239,68,68,0.1); color: #ef4444; }
.card-icon--warning{ background: rgba(245,158,11,0.1); color: #f59e0b; }
.card-icon--info   { background: rgba(59,130,246,0.1); color: #3b82f6; }
.card-icon--purple { background: rgba(139,92,246,0.1); color: #8b5cf6; }

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--tj-navy);
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.9375rem;
  color: var(--tj-slate);
  line-height: 1.65;
}

/* Feature list */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 0.9375rem;
  color: var(--tj-navy-mid);
  line-height: 1.5;
}

.feature-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: rgba(14,165,160,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230ea5a0'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.feature-list li strong {
  color: var(--tj-navy);
  font-weight: 600;
}

/* ── Stats Section ────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--tj-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.stat-item {
  background: white;
  padding: 2.5rem 2rem;
  text-align: center;
}

.stat-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--tj-teal);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--tj-slate);
  margin-top: 0.5rem;
  font-weight: 500;
  line-height: 1.4;
}

/* ── Highlight Box ────────────────────────────────────────── */
.highlight-box {
  background: var(--tj-navy);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.highlight-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(14,165,160,0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.highlight-box h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.highlight-box p {
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ── CTA Section ──────────────────────────────────────────── */
.cta-section {
  background: var(--grad-hero);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(14,165,160,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section h2 {
  color: white;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: var(--grad-hero);
  padding: calc(72px + 4rem) 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14,165,160,0.15) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 750px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: white;
  margin-bottom: 1.25rem;
}

.page-hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ── Notification / Alert Box ─────────────────────────────── */
.alert-box {
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  border: 1px solid;
}

.alert-box--teal {
  background: rgba(14,165,160,0.06);
  border-color: rgba(14,165,160,0.2);
  color: var(--tj-teal-dark);
}

.alert-box h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.alert-box p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ── Content Sections ─────────────────────────────────────── */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.content-split--portrait {
  grid-template-columns: 0.85fr 1.15fr;
  align-items: flex-start;
}

.content-split.reverse { direction: rtl; }
.content-split.reverse > * { direction: ltr; }

.content-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.content-img img {
  width: 100%;
  display: block;
}

.content-split--portrait .content-img {
  box-shadow: none;
  background: transparent;
}

.content-split--portrait .content-img img {
  object-fit: contain;
  aspect-ratio: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}
  aspect-ratio: 4/3;
  transition: transform var(--trans-slow);
}

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

/* ── Contact Form ─────────────────────────────────────────── */
.form-wrap {
  background: white;
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--tj-border);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tj-navy);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
  color: var(--tj-navy-mid);
  background: var(--tj-off-white);
  border: 1.5px solid var(--tj-border);
  border-radius: var(--radius-md);
  transition: all var(--trans-fast);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--tj-slate-light);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--tj-teal);
  background: white;
  box-shadow: 0 0 0 3px rgba(14,165,160,0.12);
}

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

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--tj-navy);
  color: rgba(255,255,255,0.7);
  padding: 5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  text-decoration: none;
}

.footer-logo-mark {
  width: 34px;
  height: 34px;
  background: var(--grad-teal);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.footer-logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 280px;
}

.footer-col-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--trans-fast);
}

.footer-links a:hover {
  color: var(--tj-teal-light);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.footer-contact-icon {
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,0.06);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tj-teal-light);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.footer-contact-text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
}

.footer-copy {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color var(--trans-fast);
}

.footer-bottom-links a:hover {
  color: var(--tj-teal-light);
}

/* ── Scroll Reveal Animations ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Trust Bar ────────────────────────────────────────────── */
.trust-bar {
  background: var(--tj-off-white);
  border-top: 1px solid var(--tj-border);
  border-bottom: 1px solid var(--tj-border);
  padding: 1.75rem 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--tj-slate);
}

.trust-item i {
  color: var(--tj-teal);
  font-size: 1rem;
}

/* ── Icon list (why section) ──────────────────────────────── */
.why-list {
  list-style: none;
  padding: 0;
}

.why-list li {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--tj-border);
}

.why-list li:last-child {
  border-bottom: none;
}

.why-list-icon {
  width: 42px;
  height: 42px;
  background: rgba(14,165,160,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tj-teal);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.why-list-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--tj-navy);
  margin-bottom: 0.3rem;
}

.why-list-text p {
  font-size: 0.875rem;
  color: var(--tj-slate);
  line-height: 1.6;
}

/* ── Steps / Process ──────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--tj-teal), transparent);
  z-index: 0;
}

.step {
  text-align: center;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--grad-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: white;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-teal);
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--tj-navy);
  margin-bottom: 0.6rem;
}

.step p {
  font-size: 0.875rem;
  color: var(--tj-slate);
  line-height: 1.6;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { gap: 2.5rem; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  :root { --section-gap: 4rem; }

  .navbar-links, .navbar-cta { display: none; }
  .navbar-burger { display: flex; }

  .hero-grid,
  .content-split,
  .content-split--portrait,
  .grid-2,
  .steps,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero { min-height: auto; padding: calc(72px + 3rem) 0 3rem; }

  .content-split.reverse { direction: ltr; }

  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .form-row { grid-template-columns: 1fr; }

  .steps::before { display: none; }

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .trust-bar-inner {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .form-wrap { padding: 2rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}
