/* ==============================
   ONELIVERY — STYLES.CSS
   Premium Healthcare SaaS Design
============================== */

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

:root {
  /* ---- Primary: Onelivery Green ---- */
  --blue:        #68B719;
  --blue-light:  #82D420;
  --blue-dark:   #4E8C10;
  --blue-faint:  #F2FAE8;

  /* ---- Accent: kept as a complementary green-teal for success/confirmation ---- */
  --green:       #22C55E;
  --green-dark:  #16A34A;
  --green-faint: #DCFCE7;

  --white:       #FFFFFF;
  --grey-50:     #F8FAFC;
  --grey-100:    #F1F5F9;
  --grey-200:    #E2E8F0;
  --grey-400:    #94A3B8;
  --grey-600:    #475569;
  --grey-800:    #1E293B;
  --grey-900:    #0F172A;
  --red-faint:   #FFF1F2;
  --red:         #EF4444;

  --yellow:      #F59E0B;
  --yellow-dark: #D97706;

  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, 'Helvetica Neue', Arial, sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-sm:  0 1px 3px rgba(104,183,25,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(104,183,25,0.12), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg:  0 12px 40px rgba(104,183,25,0.16), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl:  0 24px 64px rgba(104,183,25,0.20);

  --nav-h: 68px;
  --container: 1160px;

  --transition: 0.2s ease;
  --transition-slow: 0.4s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--grey-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; }

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

button { cursor: pointer; border: none; background: none; font: inherit; }

.link {
  color: var(--blue);
  font-weight: 600;
  transition: color var(--transition);
}

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn--sm  { font-size: 14px; padding: 8px 18px; }
.btn--md  { font-size: 15px; padding: 11px 24px; }
.btn--lg  { font-size: 16px; padding: 14px 30px; }
.btn--full { width: 100%; }

.btn--primary {
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
}
.btn--primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15,76,129,0.3);
}
.btn--primary:active { transform: translateY(0); }



.btn--green {
  background: var(--green);
  color: var(--white);
  border: 2px solid var(--green);
}
.btn--green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15,76,129,0.3);
}
.btn--green:active { transform: translateY(0); }



.btn--yellow {
  background: var(--yellow);
  color: var(--white);
  border: 2px solid var(--yellow);
}
.btn--yellow:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15,76,129,0.3);
}
.btn--yellow:active { transform: translateY(0); }


.btn--outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn--outline:hover {
  background: var(--blue-faint);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--grey-600);
  border: 2px solid transparent;
}
.btn--ghost:hover {
  color: var(--grey-800);
  background: var(--grey-100);
}

.btn--white {
  background: var(--white);
  color: var(--blue);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn--white:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-1px);
}

/* ---- PILL ---- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.01em;
}
.pill--green {
  background: var(--green-faint);
  color: var(--green-dark);
  border: 1px solid rgba(34,197,94,0.25);
}

/* ---- SECTION SHARED ---- */
.section {
  padding: 96px 0;
}
.section--grey {
  background: var(--grey-50);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--grey-900);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--grey-600);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- REVEAL ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal--right {
  transform: translateX(28px);
}
.reveal--right.revealed {
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==============================
   NAV
============================== */
.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.nav-wrap.scrolled {
  border-color: var(--grey-200);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 32px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--grey-900);
  flex-shrink: 0;
  text-decoration: none;
}
.nav__logo:hover { color: var(--blue); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav__links > li { list-style: none; }
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-600);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
  display: block;
}
.nav__links a:hover { color: var(--grey-900); background: var(--grey-100); }

/* ---- Desktop Services dropdown ---- */
.nav__item--has-dropdown { position: relative; }

.nav__dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-600);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav__dropdown-trigger:hover { color: var(--grey-900); background: var(--grey-100); }
.nav__dropdown-trigger.active { color: var(--blue); font-weight: 600; }
.nav__dropdown-trigger svg { transition: transform 0.2s ease; color: var(--grey-400); }
.nav__dropdown-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 6px;
  min-width: 220px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  z-index: 300;
  list-style: none;
}
.nav__item--has-dropdown:hover .nav__dropdown,
.nav__item--has-dropdown:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
}
.nav__dropdown li:not(:last-child) { border-bottom: 1px solid var(--grey-100); }
.nav__dropdown li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--grey-600);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.nav__dropdown li:first-child a {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--grey-400);
  padding-bottom: 8px;
  cursor: default;
  pointer-events: none;
}
.nav__dropdown li:not(:first-child) a:hover {
  background: var(--blue-faint);
  color: var(--blue-dark);
}

/* ---- Nav actions ---- */
.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ---- Hamburger (mobile trigger) ---- */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 7px;
  border-radius: var(--radius-sm);
  margin-left: auto;
  background: none;
  border: 1px solid var(--grey-200);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.nav__hamburger:hover { background: var(--grey-50); border-color: var(--grey-300); }
.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--grey-800);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ════════════════════════════════════
   MOBILE DRAWER + OVERLAY
════════════════════════════════════ */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.55);
  z-index: 298;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.nav__overlay.open { opacity: 1; pointer-events: auto; }

.nav__drawer {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 320px;
  max-width: 90vw;
  background: var(--white);
  z-index: 299;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -12px 0 48px rgba(0,0,0,0.18);
  will-change: transform;
}
.nav__drawer.open { transform: translateX(0); }

.nav__drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--grey-100);
  flex-shrink: 0;
}
.nav__drawer__close {
  width: 36px; height: 36px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  background: var(--grey-50);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--grey-500);
  transition: all var(--transition);
  flex-shrink: 0;
}
.nav__drawer__close:hover { background: var(--grey-100); color: var(--grey-900); border-color: var(--grey-300); }

.nav__drawer__nav {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0;
}
.nav__drawer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav__drawer__links > li { border-bottom: 1px solid var(--grey-100); }
.nav__drawer__links > li:last-child { border-bottom: none; }
.nav__drawer__links > li > a,
.nav__drawer__sub-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--grey-800);
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  letter-spacing: -0.01em;
}
.nav__drawer__links > li > a:hover,
.nav__drawer__sub-trigger:hover { color: var(--blue); background: var(--blue-faint); }
.nav__drawer__links > li > a.active,
.nav__drawer__sub-trigger.active { color: var(--blue); }

.nav__drawer__chevron { color: var(--grey-400); transition: transform 0.25s ease; flex-shrink: 0; }
.nav__drawer__sub-trigger[aria-expanded="true"] .nav__drawer__chevron { transform: rotate(180deg); }

.nav__drawer__submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--grey-50);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.nav__drawer__submenu.open { max-height: 320px; }
.nav__drawer__submenu li { border-bottom: 1px solid var(--grey-100); }
.nav__drawer__submenu li:last-child { border-bottom: none; }
.nav__drawer__submenu a {
  display: block;
  padding: 13px 24px 13px 36px;
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-700);
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
}
.nav__drawer__submenu a:hover { color: var(--blue); background: var(--blue-faint); }
.nav__drawer__submenu li:first-child a {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--grey-400);
  padding: 10px 24px 10px 36px;
  pointer-events: none;
  cursor: default;
}

.nav__drawer__footer {
  padding: 20px 24px;
  border-top: 1px solid var(--grey-100);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  background: var(--grey-50);
}

/* ==============================
   HERO
============================== */
.hero {
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: 96px;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__eyebrow { margin-bottom: 24px; }

.hero__copy h1 {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--grey-900);
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 18px;
  color: var(--grey-600);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 500px;
}

.hero__bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.hero__bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--grey-700, #374151);
}

.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero__trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--grey-600);
  letter-spacing: 0.01em;
}

/* ---- Dashboard Mock ---- */
.hero__visual {
  position: relative;
}

.dashboard-mock {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--grey-200);
  overflow: hidden;
}

.dashboard-mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--grey-50);
  border-bottom: 1px solid var(--grey-200);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot--red    { background: #EF4444; }
.dot--yellow { background: #F59E0B; }
.dot--green  { background: #22C55E; }

.dashboard-mock__url {
  margin-left: 8px;
  font-size: 11px;
  color: var(--grey-400);
  background: var(--grey-200);
  padding: 2px 10px;
  border-radius: 100px;
}

.dashboard-mock__body {
  display: flex;
  min-height: 380px;
}

.dm-sidebar {
  width: 48px;
  background: var(--blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  gap: 4px;
}
.dm-sidebar__logo { margin-bottom: 16px; }
.dm-nav-item {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.dm-nav-item:hover { background: rgba(255,255,255,0.12); }
.dm-nav-item--active { background: rgba(255,255,255,0.18); }

.dm-main {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dm-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--grey-800);
}
.dm-badge {
  font-size: 11px;
  font-weight: 600;
  background: var(--blue-faint);
  color: var(--blue);
  padding: 2px 8px;
  border-radius: 100px;
}

/* Journey Track */
.journey-track {
  position: relative;
  padding: 10px 0 20px;
}
.journey-track__line {
  position: absolute;
  top: 17px;
  left: 18px;
  right: 18px;
  height: 3px;
  background: var(--grey-200);
  border-radius: 3px;
}
.journey-track__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 3px;
  transition: width 0.6s ease;
}
.journey-track__steps {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.journey-step__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--grey-200);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--grey-200);
  transition: all 0.4s ease;
}
.journey-step.active .journey-step__dot {
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(15,76,129,0.2);
}
.journey-step.done .journey-step__dot {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
}
.journey-step span {
  font-size: 9px;
  font-weight: 600;
  color: var(--grey-400);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.journey-step.active span,
.journey-step.done span {
  color: var(--grey-700, #374151);
}

/* Delivery cards */
.dm-deliveries {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dm-delivery {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-200);
}
.dm-delivery__icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dm-delivery--transit .dm-delivery__icon { background: var(--blue); }
.dm-delivery--nearby  .dm-delivery__icon { background: #F59E0B; }
.dm-delivery--done    .dm-delivery__icon { background: var(--green); }

.dm-delivery__info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.dm-delivery__id {
  font-size: 12px;
  font-weight: 700;
  color: var(--grey-800);
}
.dm-delivery__eta {
  font-size: 10px;
  color: var(--grey-400);
}

.status-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  white-space: nowrap;
}
.status-pill--transit { background: var(--blue-faint); color: var(--blue); }
.status-pill--nearby  { background: #FEF3C7; color: #92400E; }
.status-pill--done    { background: var(--green-faint); color: var(--green-dark); }

.dm-stats {
  display: flex;
  border-top: 1px solid var(--grey-100);
  padding-top: 12px;
  gap: 8px;
}
.dm-stat {
  flex: 1;
  text-align: center;
}
.dm-stat__val {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--grey-900);
  letter-spacing: -0.04em;
}
.dm-stat__label {
  font-size: 9px;
  color: var(--grey-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==============================
   PRODUCT STEPS
============================== */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.steps__track {
  position: absolute;
  left: 59px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: var(--grey-200);
  z-index: 0;
}

.step {
  display: grid;
  grid-template-columns: 80px 64px 1fr;
  align-items: start;
  gap: 24px;
  padding: 32px 0;
  position: relative;
  z-index: 1;
}

.step + .step {
  border-top: 1px solid var(--grey-200);
}

.step__number {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--grey-400);
  text-transform: uppercase;
  padding-top: 20px;
  text-align: right;
}

.step__icon {
  width: 64px;
  height: 64px;
  background: var(--white);
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.step:hover .step__icon {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(15,76,129,0.08);
}

.step__content h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--grey-900);
  margin-bottom: 8px;
  padding-top: 18px;
}

.step__content p {
  font-size: 15px;
  color: var(--grey-600);
  line-height: 1.65;
  margin-bottom: 12px;
}

.step__benefit {
  font-size: 13px;
  line-height: 1.7;
  color: var(--grey-500, #6B7280);
  background: var(--grey-50);
  border-left: 3px solid var(--green);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.step__benefit strong {
  color: var(--grey-800);
}

/* ==============================
   COMPARISON
============================== */
.comparison-table {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--grey-200);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.comparison-table__header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--grey-50);
  border-bottom: 1px solid var(--grey-200);
}

.comparison-table__label { padding: 20px 24px; }

.comparison-table__col {
  padding: 20px 24px;
  text-align: center;
}
.comparison-table__col--bad  { border-left: 1px solid var(--grey-200); }
.comparison-table__col--good { border-left: 1px solid var(--grey-200); background: var(--blue-faint); }

.col-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.col-label--bad  { color: var(--grey-600); }
.col-label--good { color: var(--blue); }

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--grey-100);
  transition: background var(--transition);
}
.comparison-row:hover { background: var(--grey-50); }

.comparison-row__label {
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--grey-700, #374151);
  display: flex;
  align-items: center;
}

.comparison-row__bad,
.comparison-row__good {
  padding: 16px 24px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 1px solid var(--grey-100);
}
.comparison-row__bad  { color: var(--grey-500, #6B7280); }
.comparison-row__good { color: var(--grey-700, #374151); background: rgba(239,246,255,0.4); }

.cmp-icon {
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}
.cmp-icon--no  { color: var(--red); }
.cmp-icon--yes { color: var(--green-dark); }

/* ==============================
   SOCIAL PROOF
============================== */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--grey-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 64px;
}
.metric {
  background: var(--white);
  padding: 36px 28px;
  text-align: center;
}
.metric__value {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
}
.metric__label {
  font-size: 13px;
  color: var(--grey-600);
  font-weight: 500;
  line-height: 1.4;
}

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

.testimonial {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial__stars {
  color: #FBBF24;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial__quote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--grey-700, #374151);
  margin-bottom: 20px;
  font-style: normal;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial__avatar {
  width: 40px;
  height: 40px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--grey-900);
}
.testimonial__role {
  font-size: 12px;
  color: var(--grey-500, #6B7280);
}

.trust-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-600);
}

/* ==============================
   CALCULATOR
============================== */
.calc-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--grey-800);
}

.calc-input-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.calc-input-wrap:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(15,76,129,0.1);
}

.calc-input__prefix,
.calc-input__suffix {
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-400);
  background: var(--grey-50);
  white-space: nowrap;
  border: none;
}
.calc-input__prefix { border-right: 1px solid var(--grey-200); }
.calc-input__suffix { border-left: 1px solid var(--grey-200); }

.calc-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--grey-900);
  font-family: var(--font-sans);
  background: var(--white);
  -moz-appearance: textfield;
}
.calc-input::-webkit-inner-spin-button,
.calc-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.calc-input--prefixed { padding-left: 6px; }

.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 4px;
  background: var(--grey-200);
  outline: none;
  cursor: pointer;
  transition: background var(--transition);
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue);
  cursor: pointer;
  border: 3px solid var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  transition: transform var(--transition);
}
.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.calc-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue);
  cursor: pointer;
  border: 3px solid var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.calc-output {
  background: var(--blue);
  border-radius: var(--radius-xl);
  padding: 36px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-output__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

.calc-results {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.calc-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
}
.calc-result--highlight {
  background: rgba(255,255,255,0.12);
  padding: 18px;
}

.calc-result__label {
  font-size: 14px;
  opacity: 0.8;
  font-weight: 500;
}

.calc-result__value {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.calc-result__value--big {
  font-size: 28px;
  color: #FCD34D;
}

/*.calc-saving {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.5;
  flex-shrink: 0;
}
.calc-saving svg { flex-shrink: 0; margin-top: 1px; }
.calc-saving strong { color: #86EFAC; }
*/

.calc-saving {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: white;
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.5;
  flex-shrink: 0;
  color: var(--grey-900);
}
.calc-saving svg { flex-shrink: 0; margin-top: 1px; }
.calc-saving strong { color: #22C55E; }

/* ==============================
   OBJECTIONS
============================== */
.objection-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.obj-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.obj-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.obj-card__q {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: 16px;
  line-height: 1.4;
}

.obj-card__a {
  font-size: 14px;
  color: var(--grey-600);
  line-height: 1.7;
}

/* ==============================
   FINAL CTA
============================== */
.cta-final {
  background: linear-gradient(145deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-light) 100%);
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 70% 40%, rgba(34,197,94,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-final__inner {
  text-align: center;
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: 16px 0;
}

.cta-final__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FCD34D;
  margin-bottom: 28px;
}

.cta-final__inner h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}
.cta-final__inner h2 em {
  font-style: normal;
  color: #C3EF7A;
}

.cta-final__inner p {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin-bottom: 36px;
}

.cta-final__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cta-final__small {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0;
}

/* ==============================
   FOOTER
============================== */
.footer {
  background: white;
  color: var(--grey-900);
  padding: 64px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand .nav__logo {
  color: var(--white);
  margin-bottom: 14px;
}
.footer__brand p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 240px;
}

/* Social icons */
.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--grey-100);
  color: var(--grey-500);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}
.footer__social a:hover { background: var(--blue); color: var(--white); }
.footer__social svg { width: 16px; height: 16px; display: block; }

.footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--grey-900);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a {
  font-size: 14px;
  color: var(--grey-600);
  transition: color var(--transition);
  text-decoration: none;
}
.footer__col a:hover { color: var(--blue); }

/* Business info column */
.footer__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-style: normal;
  font-size: 13.5px;
  color: var(--grey-600);
  line-height: 1.65;
  margin-bottom: 14px;
}
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer__contact a {
  font-size: 13.5px;
  color: var(--grey-600);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}
.footer__contact a:hover { color: var(--blue); }
.footer__contact svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--blue); }
.footer__contact .footer__whatsapp { color: #25D366; }
.footer__contact .footer__whatsapp:hover { color: #128C7E; }

.footer__bottom {
  border-top: 1px solid var(--grey-200);
  padding: 20px 0;
  display: flex;
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom p {
  font-size: 13px;
  color: var(--grey-400);
}

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


/* ==============================
   RESPONSIVE — TABLET
============================== */
@media (max-width: 900px) {
  .section { padding: 72px 0; }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero__visual { order: -1; }
  .hero__sub { max-width: 100%; }

  .steps { gap: 0; }
  .step {
    grid-template-columns: 48px 52px 1fr;
    gap: 16px;
  }
  .steps__track { left: 47px; }
  .step__icon { width: 52px; height: 52px; }

  .comparison-table__header,
  .comparison-row {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .calc-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .objection-cards {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer__brand { grid-column: 1 / -1; }
  .footer__links { grid-template-columns: repeat(2, 1fr); }
}

/* ==============================
   RESPONSIVE — MOBILE
============================== */
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 40px; }

  /* Hide desktop nav elements on mobile + tablet */
  .nav__links,
  .nav__actions { display: none; }
  /* Show hamburger + drawer */
  .nav__hamburger { display: flex; }
  .nav__overlay { display: block; }
  .nav__drawer  { display: flex; }

  .hero {
    padding-top: calc(var(--nav-h) + 40px);
    padding-bottom: 60px;
  }
  .hero__inner { gap: 32px; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { text-align: center; }

  .step {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }
  .step__number { display: none; }
  .steps__track { left: 27px; }
  .step__icon { width: 48px; height: 48px; }
  .step__content h3 { padding-top: 8px; }

  .comparison-table__header,
  .comparison-row {
    grid-template-columns: 1fr 1fr;
  }
  .comparison-table__label,
  .comparison-row__label { display: none; }
  .comparison-table__col--bad { border-left: none; }

  .metrics { grid-template-columns: 1fr 1fr; }
  .metric { padding: 24px 16px; }

  .objection-cards { max-width: 100%; }

  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__links { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom .container { flex-direction: column; }
}

/* Focus visible for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
