/* ════════════════════════════════════════════════════════════════
   MEDICALLY+ — Stylesheet
   Color Palette (sourced from reference image)
   ════════════════════════════════════════════════════════════════ */

:root {
  --bg-page:      #EBF4FB;
  --bg-white:     #FFFFFF;
  --bg-card:      #F4F9FD;
  --blue-primary: #1A9FD8;
  --blue-deep:    #0F6FA3;
  --blue-light:   #6DC8EC;
  --blue-pale:    #D3EAF7;
  --text-dark:    #0E1F2F;
  --text-mid:     #3A5469;
  --text-muted:   #7898AC;
  --border:       #C8DEF0;
  --shadow-sm:    0 2px 12px rgba(26,159,216,.08);
  --shadow-md:    0 6px 32px rgba(26,159,216,.14);
  --shadow-lg:    0 16px 56px rgba(26,159,216,.18);
  --radius-sm:    10px;
  --radius-md:    18px;
  --radius-lg:    28px;
  --font-head:    'Bricolage Grotesque', sans-serif;
  --font-body:    'Figtree', sans-serif;
  --transition:   all .3s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-pad { padding: 96px 0; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
  transition-delay: var(--delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
h3 { font-size: 1.2rem; }

.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-primary);
  background: rgba(26,159,216,.10);
  border: 1px solid rgba(26,159,216,.25);
  border-radius: 40px;
  padding: .35rem 1rem;
  margin-bottom: 1rem;
}
.section-tag.light { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); color: #fff; }

.section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}
.section-head p { color: var(--text-mid); margin-top: .75rem; font-size: 1.05rem; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-deep));
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  padding: .85rem 2rem;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 18px rgba(26,159,216,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,159,216,.45);
}
.btn-primary.large { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-primary.full-w { width: 100%; text-align: center; }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--text-mid);
  font-weight: 600;
  font-size: .95rem;
  padding: .85rem 1.75rem;
  border-radius: 40px;
  border: 1.5px solid var(--border);
  transition: var(--transition);
}
.btn-ghost:hover { border-color: var(--blue-primary); color: var(--blue-primary); background: rgba(26,159,216,.05); }

.btn-ghost-white {
  display: inline-block;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1rem 2.5rem;
  border-radius: 40px;
  border: 1.5px solid rgba(255,255,255,.35);
  transition: var(--transition);
}
.btn-ghost-white:hover { background: rgba(255,255,255,.22); }

/* ════════════════════════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════════════════════════ */
.nav-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s, box-shadow .3s;
}
.nav-wrap.scrolled {
  background: rgba(235,244,251,.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(26,159,216,.1);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-dark);
  letter-spacing: -.02em;
}
.logo span { color: var(--blue-primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color .2s;
}
.nav-links a:hover { color: var(--blue-primary); }
.nav-links .nav-cta {
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-deep));
  color: #fff;
  padding: .55rem 1.4rem;
  border-radius: 40px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(26,159,216,.3);
  transition: var(--transition);
}
.nav-links .nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,159,216,.4); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 2rem 1.5rem;
  background: rgba(235,244,251,.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
}
.mobile-menu a {
  padding: .75rem 0;
  font-weight: 500;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
  font-size: .95rem;
}
.mobile-menu.open { display: flex; }

/* ════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 2rem 80px;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
}
.blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(26,159,216,.18) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: floatBlob 8s ease-in-out infinite;
}
.blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(109,200,236,.15) 0%, transparent 70%);
  bottom: 0; left: -50px;
  animation: floatBlob 10s ease-in-out infinite reverse;
}
.blob-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(26,159,216,.1) 0%, transparent 70%);
  top: 40%; left: 40%;
  animation: floatBlob 12s ease-in-out infinite 2s;
}

@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(.95); }
}

.hero-content {
  flex: 1;
  min-width: 0;
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-primary);
  background: rgba(26,159,216,.1);
  border: 1px solid rgba(26,159,216,.2);
  border-radius: 40px;
  padding: .4rem 1.1rem;
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--blue-primary);
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(26,159,216,.5); }
  50% { box-shadow: 0 0 0 5px rgba(26,159,216,0); }
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-weight: 800;
}
.hero-title em {
  font-style: normal;
  color: var(--blue-primary);
  position: relative;
}
.hero-title em::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-primary), var(--blue-light));
  border-radius: 2px;
  opacity: .4;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
  flex: 1;
  min-width: 300px;
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.card-main {
  width: 320px;
  padding: 1.5rem;
  animation: cardFloat 6s ease-in-out infinite;
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hcard-header {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.5rem;
}
.hcard-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.hcard-dot.green { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,.5); }
.hcard-label { font-size: .8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; }

.hcard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue-primary);
  line-height: 1;
}
.stat-lbl {
  font-size: .65rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.2;
  margin-top: .25rem;
}

.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 50px;
}
.bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(to top, var(--blue-primary), var(--blue-light));
  border-radius: 3px 3px 0 0;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: bottom;
  animation: barGrow .6s ease forwards;
  animation-delay: calc(var(--d) + 1s);
}
@keyframes barGrow {
  to { opacity: 1; transform: scaleY(1); }
}

.card-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.1rem;
  border-radius: 40px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}
.pill-1 { top: 20px; right: -20px; animation: floatPill1 5s ease-in-out infinite; }
.pill-2 { bottom: 100px; right: -30px; animation: floatPill2 6s ease-in-out infinite 1s; }
.pill-3 { bottom: 40px; left: -10px; animation: floatPill1 7s ease-in-out infinite .5s; }

@keyframes floatPill1 {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}
@keyframes floatPill2 {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50% { transform: translateY(8px) rotate(-1deg); }
}

.pill-icon { font-size: 1rem; }

/* ════════════════════════════════════════════════════════════════
   OVERVIEW
   ════════════════════════════════════════════════════════════════ */
.overview { background: var(--bg-white); }

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

.overview-text h2 { margin-bottom: 1.25rem; }
.overview-text p {
  color: var(--text-mid);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.overview-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.75rem;
}
.tag-chip {
  font-size: .8rem;
  font-weight: 600;
  color: var(--blue-deep);
  background: var(--blue-pale);
  border: 1px solid rgba(26,159,216,.2);
  border-radius: 40px;
  padding: .35rem .9rem;
}

.overview-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.obox {
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.obox:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.obox-white { background: var(--bg-white); box-shadow: var(--shadow-sm); }
.obox-blue {
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-deep));
  border-color: transparent;
  color: #fff;
}
.obox-blue p { color: rgba(255,255,255,.8); }
.obox-icon { font-size: 1.75rem; margin-bottom: .75rem; }
.obox h4 { font-size: 1rem; margin-bottom: .5rem; }
.obox p { font-size: .875rem; line-height: 1.6; color: var(--text-mid); }

/* ════════════════════════════════════════════════════════════════
   MODULES
   ════════════════════════════════════════════════════════════════ */
.modules { background: var(--bg-page); }

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

.mod-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.mod-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-primary), var(--blue-light));
  transform: scaleX(0);
  transition: transform .4s ease;
  transform-origin: left;
}
.mod-card:hover::before { transform: scaleX(1); }
.mod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.mod-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue-pale);
  line-height: 1;
  margin-bottom: 1rem;
}
.mod-icon-wrap {
  width: 44px; height: 44px;
  background: var(--blue-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--blue-primary);
}
.mod-icon-wrap svg { width: 22px; height: 22px; }
.mod-card h3 { margin-bottom: .75rem; font-size: 1.05rem; }
.mod-card > p { font-size: .875rem; color: var(--text-mid); margin-bottom: 1rem; line-height: 1.65; }
.mod-list { display: flex; flex-direction: column; gap: .45rem; }
.mod-list li {
  font-size: .8rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.mod-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--blue-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════════
   FEATURES
   ════════════════════════════════════════════════════════════════ */
.features {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-primary) 60%, #3BC5F0 100%);
  position: relative;
  overflow: hidden;
}
.features::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.features-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
}

.features-left h2 { color: #fff; margin-bottom: 1rem; }
.features-left > p { color: rgba(255,255,255,.75); margin-bottom: 2.5rem; font-size: 1.05rem; line-height: 1.75; }

.feat-list { display: flex; flex-direction: column; gap: 1.5rem; }
.feat-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.feat-icon-box {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
}
.feat-icon-box svg { width: 20px; height: 20px; }
.feat-item h4 { color: #fff; font-size: .95rem; margin-bottom: .3rem; }
.feat-item p { color: rgba(255,255,255,.7); font-size: .875rem; line-height: 1.6; }

.feat-metrics {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.metric-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}
.metric-val {
  display: block;
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: .4rem;
}
.metric-val span { font-size: 1.5rem; }
.metric-lbl { display: block; font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 1rem; }
.metric-bar {
  height: 5px;
  background: rgba(255,255,255,.15);
  border-radius: 4px;
  overflow: hidden;
}
.metric-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.6), #fff);
  border-radius: 4px;
  transition: width 1.2s cubic-bezier(.4,0,.2,1) .5s;
}
.metric-fill.animated { width: var(--w); }

/* ════════════════════════════════════════════════════════════════
   WORKFLOW
   ════════════════════════════════════════════════════════════════ */
.workflow { background: var(--bg-white); }

.flow-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.flow-line {
  position: absolute;
  left: 28px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-primary), var(--blue-light));
  opacity: .3;
}

.flow-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.flow-step:last-child { border-bottom: none; }
.flow-step:hover .flow-content { transform: translateX(6px); }

.flow-node {
  position: relative;
  flex-shrink: 0;
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-num {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 800;
  color: var(--blue-primary);
  z-index: 1;
  position: relative;
}
.flow-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--blue-pale);
  border: 2px solid var(--blue-primary);
  transition: var(--transition);
}
.flow-step:hover .flow-ring {
  background: var(--blue-primary);
}
.flow-step:hover .flow-num { color: #fff; }

.flow-content {
  flex: 1;
  transition: transform .3s ease;
  padding: .5rem 0;
}
.flow-content h4 { margin-bottom: .4rem; font-size: 1.05rem; }
.flow-content p { font-size: .9rem; color: var(--text-mid); line-height: 1.65; }

/* ════════════════════════════════════════════════════════════════
   USE CASES
   ════════════════════════════════════════════════════════════════ */
.usecases { background: var(--bg-page); }

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

.uc-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.uc-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 100px; height: 100px;
  background: radial-gradient(circle, var(--blue-pale) 0%, transparent 70%);
  pointer-events: none;
}
.uc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-light); }

.uc-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.uc-card h3 { margin-bottom: .75rem; font-size: 1.15rem; }
.uc-card p { font-size: .9rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 1.25rem; }
.uc-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.uc-tags span {
  font-size: .75rem;
  font-weight: 600;
  color: var(--blue-deep);
  background: var(--blue-pale);
  border-radius: 40px;
  padding: .3rem .85rem;
}

/* ════════════════════════════════════════════════════════════════
   CTA
   ════════════════════════════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-primary));
  padding: 100px 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-blob {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,.07) 0%, transparent 70%);
  top: -150px; right: -100px;
  border-radius: 50%;
  pointer-events: none;
}
.cta-content {
  position: relative;
  max-width: 660px;
  margin: 0 auto;
}
.cta-content h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 1rem; }
.cta-content p { color: rgba(255,255,255,.75); font-size: 1.05rem; margin-bottom: 2.5rem; line-height: 1.7; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-actions .btn-primary { background: #fff; color: var(--blue-deep); box-shadow: 0 4px 18px rgba(0,0,0,.15); }
.cta-actions .btn-primary:hover { background: rgba(255,255,255,.92); }

/* ════════════════════════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════════════════════════ */
.contact { background: var(--bg-white); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: flex-start;
}

.contact-text h2 { margin-bottom: 1rem; }
.contact-text > p { color: var(--text-mid); line-height: 1.75; margin-bottom: 2rem; font-size: 1rem; }

.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}
.contact-card:hover { border-color: var(--blue-primary); box-shadow: var(--shadow-sm); transform: translateX(4px); }

.cc-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cc-avatar.av2 { background: linear-gradient(135deg, var(--blue-deep), var(--blue-primary)); }
.cc-info { flex: 1; display: flex; flex-direction: column; gap: .2rem; }
.cc-name { font-weight: 600; font-size: .95rem; }
.cc-email { font-size: .8rem; color: var(--text-muted); }
.cc-arrow { color: var(--text-muted); transition: var(--transition); }
.contact-card:hover .cc-arrow { color: var(--blue-primary); transform: translateX(4px); }

.form-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.form-card h3 { margin-bottom: 1.75rem; font-size: 1.3rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: .5rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: .85rem 1.1rem;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(26,159,216,.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-note {
  margin-top: 1rem;
  font-size: .875rem;
  text-align: center;
  min-height: 1.2rem;
  color: var(--blue-primary);
  font-weight: 500;
}

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--text-dark);
  padding: 3rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
}
.footer-logo span { color: var(--blue-light); }
.footer-tagline { color: rgba(255,255,255,.5); font-size: .875rem; }
.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: .5rem 0;
}
.footer-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
.footer-links a:hover { color: var(--blue-light); }
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.3); }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .overview-grid,
  .features-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { flex-direction: column; text-align: center; padding-top: 110px; }
  .hero-content { max-width: 100%; }
  .hero-sub { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-visual { width: 100%; justify-content: center; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .modules-grid { grid-template-columns: 1fr; }
  .uc-grid { grid-template-columns: 1fr; }
  .overview-boxes { grid-template-columns: 1fr; }
  .hero-visual { height: 340px; }
  .card-main { width: 280px; }
  .pill-1 { right: 0; }
  .pill-2 { right: 0; }
}

@media (max-width: 480px) {
  .section-pad { padding: 60px 0; }
  .hero { padding: 100px 1.25rem 60px; }
  .container { padding: 0 1.25rem; }
  .hero-visual { display: none; }
  .form-card { padding: 1.75rem; }
  .flow-line { display: none; }
}