/* ═══════════════════════════════════════════════════════
   Tenmahealth — Main Stylesheet
   Light theme · Poppins · Brand palette
═══════════════════════════════════════════════════════ */

/* System font stack — no external dependencies */

/* ── CSS Custom Properties ── */
:root {
  --cyan:     #00f7df;
  --cobalt:   #2759bb;
  --navy:     #032854;
  --bg:       #f5f7f9;
  --text:     #01152b;
  --indigo:   #4646ff;
  --white:    #ffffff;
  --gray-100: #eef1f5;
  --gray-200: #dde3ed;
  --gray-400: #8999b5;
  --gray-600: #4a5e7a;

  --font:     -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --radius:   14px;
  --radius-lg:24px;
  --shadow-sm: 0 2px 8px rgba(3,40,84,.06);
  --shadow-md: 0 8px 32px rgba(3,40,84,.10);
  --shadow-lg: 0 20px 60px rgba(3,40,84,.14);

  --transition: .25s cubic-bezier(.4,0,.2,1);
  --max-w: 1200px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ── SVG Icon Base ── */
.ico {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ── Utility ── */
.container {
  width: min(var(--max-w), 100% - 2rem);
  margin-inline: auto;
}

.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cobalt);
  background: rgba(39,89,187,.08);
  border-radius: 100px;
  padding: .3rem .9rem;
  margin-bottom: 1rem;
}

.section-h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 1rem;
}

section { padding-block: 5rem; }

/* ════════════════════════════
   NAVIGATION
════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,247,249,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-md); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1.5rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--navy);
  white-space: nowrap;
}
.nav__logo-img {
  height: 40px;
  width: auto;
}
.nav__logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--cyan), var(--cobalt));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 800;
  color: var(--navy);
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--navy); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.lang-btn {
  font-size: .8rem;
  font-weight: 600;
  color: var(--cobalt);
  border: 1.5px solid var(--cobalt);
  border-radius: 6px;
  padding: .3rem .65rem;
  transition: all var(--transition);
  background: transparent;
  cursor: pointer;
}
.lang-btn:hover { background: var(--cobalt); color: var(--white); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .25rem;
  background: none;
  border: none;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: var(--white);
  padding: 2rem;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 99;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-100);
}

/* ════════════════════════════
   BUTTONS
════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 600;
  padding: .85rem 1.75rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--cobalt), var(--indigo));
  opacity: 0;
  transition: opacity var(--transition);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary span { position: relative; z-index: 1; }
.btn-primary svg { position: relative; z-index: 1; flex-shrink: 0; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(3,40,84,.25); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--navy);
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 600;
  padding: .85rem 1.75rem;
  border-radius: var(--radius);
  border: 2px solid var(--navy);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

/* ════════════════════════════
   HERO
════════════════════════════ */
.hero {
  position: relative;
  padding-block: 7rem 6rem;
  overflow: hidden;
  background: var(--white);
}

/* Decorative mesh background */
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle at center,
    rgba(0,247,223,.12) 0%,
    rgba(39,89,187,.06) 50%,
    transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at center,
    rgba(70,70,255,.07) 0%,
    transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.hero__tag {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cobalt);
  background: rgba(39,89,187,.08);
  border-radius: 100px;
  padding: .3rem .9rem;
  display: inline-block;
  margin-bottom: 1.25rem;
}

.hero__h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero__h1 em {
  font-style: normal;
  position: relative;
  color: var(--cobalt);
}
.hero__h1 em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cyan);
  border-radius: 2px;
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero__cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: .75rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 600;
  color: var(--cobalt);
  background: transparent;
  border: 2px solid var(--cobalt);
  border-radius: 12px;
  padding: .75rem 1.5rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.btn-secondary:hover {
  background: var(--cobalt);
  color: var(--white);
}

.hero__cta-note {
  font-size: .8rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: .3rem;
}

/* ── Hero visual: Browser mockup ── */
.hero__visual {
  display: flex;
  justify-content: flex-end;
}

.hero__mockup {
  width: 100%;
  max-width: 520px;
  perspective: 1000px;
}

.hero__browser {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotateY(-2deg) rotateX(1deg);
  transition: transform .4s ease;
}
.hero__browser:hover {
  transform: rotateY(0) rotateX(0);
}

.hero__browser-bar {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .6rem 1rem;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}

.hero__browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
}
.hero__browser-dot:first-child { background: #ff5f57; }
.hero__browser-dot:nth-child(2) { background: #febc2e; }
.hero__browser-dot:nth-child(3) { background: #28c840; }

.hero__browser-url {
  font-size: .65rem;
  font-weight: 500;
  color: var(--gray-400);
  background: var(--white);
  border-radius: 6px;
  padding: .2rem .7rem;
  margin-left: .5rem;
  flex: 1;
  max-width: 240px;
}

.hero__browser-body {
  padding: 1rem;
}

/* Dashboard nav */
.hero__dash-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--gray-100);
}

.hero__dash-logo {
  font-size: .7rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .02em;
}

.hero__dash-nav-items {
  display: flex;
  gap: .75rem;
  font-size: .6rem;
  font-weight: 500;
  color: var(--gray-400);
}

.hero__dash-nav-active {
  color: var(--cobalt);
  font-weight: 700;
  position: relative;
}
.hero__dash-nav-active::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cobalt);
  border-radius: 2px;
}

/* KPIs */
.hero__dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
  margin-bottom: .75rem;
}

.hero__dash-kpi {
  background: var(--gray-100);
  border-radius: 10px;
  padding: .5rem;
  text-align: center;
}

.hero__dash-kpi-val {
  display: block;
  font-size: .85rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.hero__dash-kpi-label {
  display: block;
  font-size: .5rem;
  font-weight: 500;
  color: var(--gray-400);
  margin-top: .1rem;
}

.hero__dash-kpi-trend {
  display: block;
  font-size: .55rem;
  font-weight: 700;
  margin-top: .15rem;
}
.hero__dash-kpi-trend--up { color: #16a34a; }
.hero__dash-kpi-trend--down { color: var(--cobalt); }

/* Chart bars */
.hero__dash-chart {
  background: var(--gray-100);
  border-radius: 10px;
  padding: .75rem;
  margin-bottom: .6rem;
}

.hero__dash-chart-bars {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 60px;
}

.hero__dash-bar {
  flex: 1;
  height: 100%;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  background: rgba(39,89,187,.08);
}
.hero__dash-bar::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: var(--h, 50%);
  background: linear-gradient(0deg, var(--cobalt), var(--cyan));
  border-radius: 3px;
  animation: barGrow .8s ease-out both;
}
@keyframes barGrow {
  from { height: 0; }
  to   { height: var(--h); }
}

/* Standard tags */
.hero__dash-tags {
  display: flex;
  gap: .35rem;
  flex-wrap: wrap;
}
.hero__dash-tags span {
  font-size: .58rem;
  font-weight: 600;
  color: var(--cobalt);
  background: rgba(39,89,187,.08);
  border-radius: 6px;
  padding: .15rem .45rem;
}

/* ════════════════════════════
   CREDIBILITY BAR
════════════════════════════ */
.credibility {
  background: var(--navy);
  padding: 1rem 0;
}

.credibility__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.credibility__item {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
}

.credibility__item .ico {
  color: var(--cyan);
  flex-shrink: 0;
}

/* ════════════════════════════
   PAIN SECTION
════════════════════════════ */
.pain {
  background: var(--bg);
}

.pain__intro {
  text-align: center;
  margin-bottom: 3rem;
}

.pain__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.pain__item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.pain__item.visible {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .5s ease;
}
.pain__item:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.pain__icon {
  flex-shrink: 0;
  margin-top: .15rem;
  color: var(--cobalt);
}

.pain__text {
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-600);
  font-style: italic;
  line-height: 1.5;
}

/* ════════════════════════════
   PROFILES
════════════════════════════ */
.profiles {
  background: var(--white);
}

.profiles__intro {
  text-align: center;
  margin-bottom: 3rem;
}

.profiles__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.profile-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-200);
  padding: 2rem 1.75rem;
  transition: all var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.profile-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cobalt), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.profile-card:hover::before { transform: scaleX(1); }
.profile-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  background: var(--white);
}

.profile-card__icon {
  color: var(--cobalt);
  margin-bottom: 1rem;
}

.profile-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .65rem;
}

.profile-card__desc {
  font-size: .875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ════════════════════════════
   HOW IT WORKS
════════════════════════════ */
.how {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.how::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,247,223,.08) 0%, transparent 70%);
  pointer-events: none;
}

.how .section-tag { color: var(--cyan); background: rgba(0,247,223,.1); }
.how .section-h2  { color: var(--white); }

.how__intro {
  text-align: center;
  margin-bottom: 4rem;
}
.how__intro p { color: rgba(255,255,255,.65); font-size: 1rem; }

.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.how__steps::before {
  content: '';
  position: absolute;
  top: 2.25rem;
  left: calc(16.66% + 1rem);
  right: calc(16.66% + 1rem);
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--cobalt));
  opacity: .3;
}

.how__step {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.how__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(0,247,223,.12);
  border: 2px solid var(--cyan);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 1.25rem;
}

.how__step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .75rem;
}

.how__step-desc {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
}

/* ════════════════════════════
   SOLUTIONS
════════════════════════════ */
.solutions {
  background: var(--bg);
}

.solutions__intro {
  text-align: center;
  margin-bottom: 3rem;
}

.solutions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.solution-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 1.75rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.solution-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--cobalt), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.solution-card:hover::after { transform: scaleX(1); }
.solution-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.solution-card__icon {
  color: var(--cobalt);
  margin-bottom: 1rem;
}

.solution-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}

.solution-card__desc {
  font-size: .865rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ════════════════════════════
   SCALE / TIERS
════════════════════════════ */
.scale {
  background: var(--white);
}

.scale__intro {
  text-align: center;
  margin-bottom: 3rem;
}

.scale__tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}

.scale__tier {
  padding: 2rem 1.5rem;
  border-right: 1.5px solid var(--gray-200);
  transition: all var(--transition);
  position: relative;
  background: var(--white);
}
.scale__tier:last-child { border-right: none; }

.scale__tier:hover {
  background: var(--navy);
  z-index: 1;
}
.scale__tier:hover .scale__tier-label { color: var(--cyan); }
.scale__tier:hover .scale__tier-desc  { color: rgba(255,255,255,.7); }

.scale__tier-num {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--gray-400);
  text-transform: uppercase;
  margin-bottom: .75rem;
  transition: color var(--transition);
}
.scale__tier:hover .scale__tier-num { color: rgba(255,255,255,.4); }

.scale__tier-label {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .65rem;
  transition: color var(--transition);
}

.scale__tier-desc {
  font-size: .8rem;
  color: var(--gray-600);
  line-height: 1.6;
  transition: color var(--transition);
}

/* ════════════════════════════
   LOCATION
════════════════════════════ */
.location {
  background: var(--bg);
}

.location__intro {
  text-align: center;
  margin-bottom: 3rem;
}
.location__intro p { color: var(--gray-600); margin-top: .75rem; }

.location__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.location__cities {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.location__city {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.location__city:hover { border-color: var(--cobalt); transform: translateX(6px); }

.location__city-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  border: 2px solid var(--cobalt);
  flex-shrink: 0;
}

.location__city-name {
  font-weight: 600;
  color: var(--navy);
}

.location__email-box {
  margin-top: 1.5rem;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.location__email-box a {
  color: var(--cyan);
  font-weight: 700;
  font-size: 1rem;
  transition: opacity var(--transition);
}
.location__email-box a:hover { opacity: .75; }

.location__map {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  position: relative;
  min-height: 360px;
}

#tenma-map {
  width: 100%;
  height: 360px;
  border-radius: var(--radius-lg);
}

/* Leaflet tooltip override to match brand */
.tenma-tooltip {
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 4px 10px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  letter-spacing: .02em;
}
.tenma-tooltip::before {
  border-top-color: var(--navy) !important;
}

/* ════════════════════════════
   CTA FINAL
════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--cobalt) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,247,223,.12) 0%, transparent 70%);
}

.cta-section__inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,.65);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.cta-section .btn-primary {
  background: var(--cyan);
  color: var(--navy);
  font-size: 1rem;
  padding: 1rem 2.25rem;
}
.cta-section .btn-primary::before {
  background: linear-gradient(135deg, rgba(255,255,255,.2), transparent);
}
.cta-section .btn-primary:hover { box-shadow: 0 12px 32px rgba(0,247,223,.3); }

/* ── Contact Form (inside CTA section) ── */
.contact-form {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}

.contact-form__fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form__group {
  display: flex;
  flex-direction: column;
}

.contact-form__group label {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  margin-bottom: .35rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.contact-form__group input,
.contact-form__group textarea {
  padding: .75rem 1rem;
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-family: var(--font);
  font-size: .9rem;
  transition: border-color .2s, box-shadow .2s;
  backdrop-filter: blur(4px);
}

.contact-form__group input::placeholder,
.contact-form__group textarea::placeholder {
  color: rgba(255,255,255,.35);
}

.contact-form__group input:focus,
.contact-form__group textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,247,223,.15);
}

.contact-form__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: .25rem;
}

.contact-form__count {
  font-size: .75rem;
  color: rgba(255,255,255,.35);
}

.contact-form__error {
  font-size: .78rem;
  color: #ff6b6b;
  min-height: 1.2em;
}

.contact-form__submit {
  align-self: center;
  margin-top: .5rem;
}

.contact-form__submit:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.contact-form__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
}

.contact-form__success p {
  color: var(--cyan);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0;
}

/* ════════════════════════════
   FOOTER (Professional multi-column)
════════════════════════════ */
.footer {
  background: #0b1120;
  padding: 3.5rem 0 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__company {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer__logo {
  display: flex;
  height: 40px;
  width: auto;
}

.footer__tagline {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  margin: 0;
  line-height: 1.4;
}

.footer__address {
  display: flex;
  flex-direction: column;
  font-style: normal;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  line-height: 1.6;
  margin-top: .25rem;
}

.footer__phone,
.footer__email {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color .15s;
}
.footer__phone:hover,
.footer__email:hover {
  color: var(--cyan);
}

.footer__col {}

.footer__heading {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.7);
  margin-bottom: 1rem;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer__list li {
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}
.footer__list a {
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color .15s;
}
.footer__list a:hover { color: var(--cyan); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  flex-wrap: wrap;
  gap: .75rem;
}

.footer__copy {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}

.footer__badges {
  display: flex;
  gap: .75rem;
}
.footer__badge {
  font-size: .72rem;
  color: rgba(255,255,255,.35);
  padding: .25rem .6rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 100px;
}

/* ── Contact form terms checkbox ── */
.contact-form__terms {
  margin-top: .5rem;
}

.terms-label {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  cursor: pointer;
  line-height: 1.5;
}
.terms-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--cyan);
  cursor: pointer;
  flex-shrink: 0;
}
.terms-label input[type="checkbox"]:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.terms-label input[type="checkbox"]:not(:disabled) {
  opacity: 1;
}

.terms-link {
  color: var(--cyan) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.terms-link:hover {
  color: #fff !important;
}

.terms-hint {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  color: rgba(255,255,255,.35);
  margin-top: .35rem;
}
.terms-hint.hidden { display: none; }

.terms-toast {
  display: block;
  margin-top: .45rem;
  padding: .8rem .95rem;
  border-radius: 14px;
  border: 1px solid rgba(0,247,223,.22);
  background: rgba(7, 16, 30, .92);
  color: rgba(255,255,255,.88);
  font-size: .78rem;
  line-height: 1.45;
  box-shadow: 0 14px 32px rgba(0,0,0,.18);
  opacity: 0;
  transform: translateY(-6px);
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, max-height .22s ease, margin-top .22s ease, padding .22s ease, border-color .22s ease;
}

.terms-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  max-height: 120px;
}

.terms-toast[hidden] {
  display: block;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
  opacity: 0;
  max-height: 0;
}

@media (max-width: 768px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer__company {
    grid-column: 1 / -1;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ════════════════════════════
   ANIMATIONS (scroll-reveal)
════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ════════════════════════════
   RESPONSIVE
════════════════════════════ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero__mockup { max-width: 100%; }
  .hero__dash-nav-items { display: none; }

  .scale__tiers {
    grid-template-columns: repeat(2, 1fr);
  }
  .scale__tier:nth-child(2) { border-right: none; }
  .scale__tier:nth-child(1),
  .scale__tier:nth-child(2) { border-bottom: 1.5px solid var(--gray-200); }

  .how__steps { grid-template-columns: 1fr; gap: 1rem; }
  .how__steps::before { display: none; }
  .how__step { padding: 1.5rem; background: rgba(255,255,255,.04); border-radius: var(--radius); }
}

@media (max-width: 768px) {
  .nav__links  { display: none; }
  .nav__cta    { display: none; }
  .nav__hamburger { display: flex; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .hero { padding-block: 4rem 3rem; }

  .location__inner { grid-template-columns: 1fr; }
  .location__map { min-height: 280px; }
  #tenma-map { height: 280px; }

  .scale__tiers { grid-template-columns: 1fr; }
  .scale__tier  { border-right: none; border-bottom: 1.5px solid var(--gray-200); }
  .scale__tier:last-child { border-bottom: none; }

  .footer__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .profiles__grid  { grid-template-columns: 1fr; }
  .solutions__grid { grid-template-columns: 1fr; }
  .pain__grid      { grid-template-columns: 1fr; }
}
