/* ============================================================
   LIORA — Premium AI Receptionist for Private Clinics
   Design System & Stylesheet
   ============================================================ */

/* --- Import Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Playfair+Display:wght@500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --navy: #0F2A3D;
  --navy-muted: #4A5C66;
  --body-text: #6B7280;
  --teal: #2FA4A9;
  --teal-dark: #268a8e;
  --teal-light: #e8f6f6;
  --white: #FFFFFF;
  --off-white: #F7F9FA;
  --light-border: #E5E9EC;
  --card-shadow: 0 4px 24px rgba(15, 42, 61, 0.07);
  --card-shadow-hover: 0 8px 36px rgba(15, 42, 61, 0.12);
  --btn-shadow: 0 2px 12px rgba(47, 164, 169, 0.25);
  --btn-shadow-hover: 0 6px 20px rgba(47, 164, 169, 0.35);
  --header-shadow: 0 2px 16px rgba(15, 42, 61, 0.06);
  --radius: 10px;
  --radius-lg: 16px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'DM Sans', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --max-width: 1200px;
  --section-pad: 100px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-text);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  color: var(--navy);
  font-weight: 600;
  line-height: 1.25;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-subtitle {
  max-width: 580px;
  margin: 16px auto 0;
  font-size: 1.05rem;
  color: var(--body-text);
}

.text-center { text-align: center; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: var(--btn-shadow);
}
.btn-primary:hover {
  background: var(--teal-dark);
  box-shadow: var(--btn-shadow-hover);
  transform: translateY(-2px);
}
.btn-primary:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--light-border);
}
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: 0 2px 12px rgba(47, 164, 169, 0.1);
  transform: translateY(-1px);
}
.btn-outline:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.btn-white {
  background: var(--white);
  color: var(--teal);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.btn-white:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}



/* ============================================================
   TOP INFO BAR — 33 / 67 split with diagonal separator
   ============================================================ */

   .header-wrap {
  position: relative;
}


.header-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(33.333% - 15px);
  height: 100%;
  width: 12px;
  background: var(--navy);
  transform: skewX(-30deg);
  transform-origin: top;
  z-index: 1001;
  pointer-events: none;
}

.top-bar {
  display: flex;
  width: 100%;
  height: 44px;
  overflow: hidden;
  font-size: 0.8rem;
  line-height: 1;
}

/* Left: white empty panel — 33.333% */
.top-bar-left {
  width: 33.333%;
  background: var(--white);
  flex-shrink: 0;
}

/* Right: navy panel with contact info — 66.667% */
.top-bar-right {
  width: 66.667%;
  background: var(--navy);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: rgba(255,255,255,0.75);
  flex-shrink: 0;
}

.top-bar-right::before {
  content: '';
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: -40px;
  width: 50px;
  background: var(--navy);
  transform: skewX(-30deg);
  transform-origin: bottom left;
  z-index: 1;
}

/* Inner container constrains contact items to max-width alignment */
.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  width: 100%;
  max-width: calc(var(--max-width) * 0.66667);
  padding: 0 24px 0 40px;
  position: relative;
  z-index: 2;
  margin-right: 150px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.top-bar-icon {
  width: 13px;
  height: 13px;
  opacity: 0.6;
  flex-shrink: 0;
}

.top-bar a {
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
  text-decoration: none;
}
.top-bar a:hover { color: var(--teal); }

/* Separator dot between items */
.top-bar-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

/* ============================================================
   MAIN HEADER / NAV — aligned to 33/67 visual grid
   ============================================================ */
.main-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
  border-bottom: 1px solid var(--light-border);
}
.main-header.scrolled {
  box-shadow: var(--header-shadow);
  border-bottom-color: transparent;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  height: 76px;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-left: -140px;
  transform: translateY(-25px);
  padding-bottom: 10px;
}

.logo-img {
  height: 135px;
  width: auto;
  display: block;
  margin-right: -20px;
}


/* NAV LINKS */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy-muted);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-links a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
  border-radius: 2px;
}

.nav-links a.nav-cta::after {
  display: none;
}

.nav-cta { margin-left: 8px; }
.nav-cta.btn-primary {
  padding: 5px 15px;
  color: var(--white);
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.nav-cta.btn-primary:hover {
  background: var(--white);
  color: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 0 12px rgba(47, 164, 169, 0.25);
  transform: translateY(-2px);
}

.nav-cta.btn-primary:active {
  background: var(--white);
  color: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(0) scale(0.97);
   box-shadow: 0 0 16px rgba(47, 164, 169, 0.35);
}


/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* MOBILE NAV */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--white);
  box-shadow: -4px 0 30px rgba(15,42,61,0.12);
  padding: 100px 32px 40px;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1050;
  flex-direction: column;
  gap: 0;
}
.mobile-nav.open { right: 0; }
.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--light-border);
  transition: color var(--transition);
}
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav a:hover { color: var(--teal); }
.mobile-nav .btn {
  margin-top: 24px;
  width: 100%;
  text-align: center;
}
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,42,61,0.3);
  z-index: 1040;
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-overlay.open {
  opacity: 1;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: url('lepsihero.webp') center right / cover no-repeat;
 padding: 80px 0 150px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(47,164,169,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(15,42,61,0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  display: block;
  max-width: var(--max-width);
  position: relative;
  z-index: 1;
}

.hero-content {
transform: translate(-20px, 10px);
  max-width: 540px;
}

.hero-content h1 {
  margin-bottom: 24px;
}
.hero-content h1 span {
  color: var(--teal);
}

.hero-text {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--navy-muted);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   ANIMATED VISUAL BLOCK (shared)
   ============================================================ */
.hiw-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-graphic {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, var(--white), var(--off-white));
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow), 0 1px 0 var(--light-border);
  position: relative;
  overflow: hidden;
}
.hero-graphic::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(47,164,169,0.06) 0%, transparent 50%),
    linear-gradient(225deg, rgba(15,42,61,0.04) 0%, transparent 50%);
}

.hero-graphic-inner {
  position: absolute;
  inset: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.hero-bar {
  height: 12px;
  border-radius: 6px;
  background: var(--light-border);
}
.hero-bar:nth-child(1) { width: 70%; background: linear-gradient(90deg, var(--teal), rgba(47,164,169,0.4)); }
.hero-bar:nth-child(2) { width: 90%; }
.hero-bar:nth-child(3) { width: 50%; }
.hero-bar:nth-child(4) { width: 75%; background: rgba(47,164,169,0.15); }

.hero-float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy);
  animation: floatSoft 4.8s ease-in-out infinite;
}
.hero-float-card:nth-child(2) {
  bottom: 30px;
  right: -20px;
  animation-delay: -2s;
}
.hero-float-card:nth-child(3) {
  top: 20px;
  left: -16px;
  animation-delay: -1s;
}

.hero-float-card--third {
  bottom: -8px;
  left: 20px;
  animation: floatDeep 4.2s ease-in-out infinite;
  animation-delay: -0.5s;
}

.float-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.float-icon.teal { background: var(--teal-light); color: var(--teal); }
.float-icon.navy { background: rgba(15,42,61,0.08); color: var(--navy); }

@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes floatDeep {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* Animated bars */
.hero-bar-anim:nth-child(1) { animation: barPulse1 4.2s ease-in-out infinite; }
.hero-bar-anim:nth-child(2) { animation: barPulse2 4.8s ease-in-out infinite; }
.hero-bar-anim:nth-child(3) { animation: barPulse3 3.9s ease-in-out infinite; }
.hero-bar-anim:nth-child(4) { animation: barPulse4 5s ease-in-out infinite; }

@keyframes barPulse1 {
  0%, 100% { width: 70%; }
  50%      { width: 85%; }
}
@keyframes barPulse2 {
  0%, 100% { width: 90%; }
  50%      { width: 65%; }
}
@keyframes barPulse3 {
  0%, 100% { width: 50%; }
  50%      { width: 72%; }
}
@keyframes barPulse4 {
  0%, 100% { width: 75%; }
  50%      { width: 55%; }
}

/* ============================================================
   SECTION DEFAULTS
   ============================================================ */
section {
  padding: var(--section-pad) 0;
}
.bg-off-white { background: var(--off-white); }
.bg-white { background: var(--white); }

[aria-label="Features"] {
  padding-top: 60px;
}

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.video-section {
  background: var(--off-white);
  padding: 60px 0 100px;
}

.video-card {
  max-width: 780px;
  margin: 56px auto 0;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  background: #FFFFFF;
  position: relative;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: box-shadow var(--transition);
   -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.video-card:hover {
  box-shadow: var(--card-shadow-hover);
}

/* Play button */
.play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(47,164,169,0.35);
  transition: all var(--transition);
  position: relative;
  z-index: 2;
}
.play-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent var(--white);
  margin-left: 6px;
  margin-top: 2px;
}
.play-btn {
  animation: pulseGlow 2s ease-in-out infinite;
}


.video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(6px);
  transform: scale(1.05);
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */

@keyframes iconOrbit {
  0%      { transform: translate(3px, 0); }
  6.25%   { transform: translate(2.77px, -1.15px); }
  12.5%   { transform: translate(2.12px, -2.12px); }
  18.75%  { transform: translate(1.15px, -2.77px); }
  25%     { transform: translate(0, -3px); }
  31.25%  { transform: translate(-1.15px, -2.77px); }
  37.5%   { transform: translate(-2.12px, -2.12px); }
  43.75%  { transform: translate(-2.77px, -1.15px); }
  50%     { transform: translate(-3px, 0); }
  56.25%  { transform: translate(-2.77px, 1.15px); }
  62.5%   { transform: translate(-2.12px, 2.12px); }
  68.75%  { transform: translate(-1.15px, 2.77px); }
  75%     { transform: translate(0, 3px); }
  81.25%  { transform: translate(1.15px, 2.77px); }
  87.5%   { transform: translate(2.12px, 2.12px); }
  93.75%  { transform: translate(2.77px, 1.15px); }
  100%    { transform: translate(3px, 0); }
}


.feature-card:hover .feature-icon {
  animation: iconOrbit 2s linear infinite;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-top: 56px;
}


.feature-card {
  background: var(--white);
  border-radius: 2px;
  padding: 36px 28px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--light-border);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), rgba(47,164,169,0.3));
  opacity: 0;
  transition: opacity 0.5s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(15, 42, 61, 0.14);
  z-index: 2;
}
.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--teal);
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ============================================================
   BEFORE VS AFTER — DARK COMPARISON SECTION
   ============================================================ */
.compare-section {
  background: linear-gradient(170deg, var(--navy) 0%, #163548 100%);
  color: rgba(255,255,255,0.85);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.compare-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(47,164,169,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.compare-section h2 {
  color: var(--white);
}
.compare-section .section-subtitle {
  color: rgba(255,255,255,0.6);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 3px 1fr;
  gap: 26px;
  margin-top: 56px;
  align-items: stretch;
}

.compare-divider {
  background: var(--teal);
  border-radius: 2px;
}

.compare-card {
  padding: 40px 36px;
  border-radius: 2px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  text-align: left;
}



.compare-before.visible:hover {
  opacity: 1;
  transform: translateX(0) translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  background: rgba(255,255,255,0.06);
   transition: transform 0.5s ease, box-shadow 0.5s ease, background 0.5s ease;
}

.compare-after.visible:hover {
  opacity: 1;
  transform: translateX(0) translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  background: rgba(47,164,169,0.12);
   transition: transform 0.5s ease, box-shadow 0.5s ease, background 0.5s ease;
}

.compare-before:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  background: rgba(255,255,255,0.06);
}

.compare-after:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  background: rgba(47,164,169,0.12);
}

.compare-before {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}


.compare-after {
  background: rgba(47,164,169,0.08);
  border: 1px solid rgba(47,164,169,0.12);
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.compare-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.compare-title--before {
  color: rgba(255,255,255,0.5);
}
.compare-title--after {
  color: var(--white);
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.compare-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.65);
}
.compare-after .compare-list li {
  color: rgba(255,255,255,0.8);
}

.compare-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.compare-icon--before {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.3);
}
.compare-icon--after {
  background: rgba(47,164,169,0.15);
  color: var(--teal);
}

@media (max-width: 640px) {
  .compare-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .compare-divider {
    height: 3px;
    width: 100%;
  }
  .compare-card {
    padding: 32px 24px;
  }
}

.compare-before {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 1.6s ease, transform 1.6s ease, box-shadow 0.5s ease, background 0.5s ease;
  
}

.compare-after {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 1.6s ease, transform 1.6s ease, box-shadow 0.5s ease, background 0.5s ease;
  
}

.compare-before.visible,
.compare-after.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing-section {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.pricing-box {
  max-width: 620px;
  margin: 48px auto 0;
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: 2px;
  box-shadow: 0 8px 36px rgba(15, 42, 61, 0.12);
  padding: 52px 48px 48px;
  text-align: center;
    opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.8s ease, transform 1.8s ease;
}

.pricing-box.visible {
  opacity: 1;
  transform: translateY(0);
}

.pricing-blocks {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pricing-block {
  padding: 20px 0;
}

.pricing-block:first-child {
  padding-top: 0;
}
.pricing-block:last-child {
  padding-bottom: 8px;
}

.pricing-divider {
  height: 1px;
  background: var(--light-border);
}

.pricing-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy-muted);
  margin-bottom: 8px;
}

.pricing-value {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.pricing-term {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--navy-muted);
}

.pricing-includes {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  margin-top: 4px;
}

.pricing-includes li {
  font-size: 0.9rem;
  color: var(--navy);
  position: relative;
  padding-left: 18px;
}

.pricing-includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-light);
  border: 2px solid var(--teal);
}

.pricing-note {
  margin-top: 24px;
  margin-bottom: 28px;
  font-size: 0.8rem;
  color: var(--navy-muted);
  opacity: 0.7;
}

.pricing-reassurance {
  font-size: 0.82rem;
  color: var(--teal-dark);
  font-weight: 500;
  margin-bottom: 28px;
  opacity: 0.8;
}

.pricing-box .btn {
  width: 100%;
  max-width: 260px;
}

.pricing-box .btn-primary {
  border: 1px solid var(--teal);
}

.pricing-box .btn-primary:hover {
  background: var(--white);
  color: var(--teal);
  border-color: var(--teal);
}

.pricing-box .btn-primary:active {
  transform: scale(0.96);
}

@media (max-width: 640px) {
  .pricing-box {
    padding: 32px 24px;
  }
  .pricing-includes {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
}

/* ============================================================
   REALITY / PROOF SECTION
   ============================================================ */
.reality-section {
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
  height: auto !important;
  min-height: 0;
}

.reality-section .container {
  position: relative;
  z-index: 1;
}



.reality-deco {
  position: absolute;
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
  width: 140px;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.reality-deco span {
  position: absolute;
  left: 0;
  border-radius: 0 100px 100px 0;
  border: none;
}

.reality-deco span:nth-child(1) {
  top: 10%;
  width: 100px;
  height: 180px;
  background: linear-gradient(160deg, var(--teal), transparent);
  opacity: 0.5;
}

.reality-deco span:nth-child(2) {
  top: 30%;
  width: 130px;
  height: 240px;
  border: 3px solid var(--teal);
  background: none;
  opacity: 0.17;
}

.reality-deco span:nth-child(3) {
  top: 50%;
  width: 60px;
  height: 120px;
  background: var(--navy);
  opacity: 0.13;
  border-radius: 0 60px 60px 0;
}

.reality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap:6px;
  margin-top: 56px;
  padding-bottom: 30px;
 
}

.reality-card {
  background: var(--white);
  padding: 40px 32px;
  box-shadow: var(--card-shadow);
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
  z-index: 0;
  background-clip: padding-box;
   border: 1px solid var(--light-border);

overflow: hidden;
border-radius: 2px;
}

.reality-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(var(--teal) 0deg, var(--teal) 270deg, transparent 270deg, transparent 360deg);
  transform-origin: center;
  transform: translate(-50%, -50%) rotate(0deg);
  animation: borderChase 5s linear infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -2;
}

.reality-card::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--white);
  border-radius: 1px;
  z-index: -1;
}

.reality-card:hover::before {
  opacity: 1;
}

@keyframes borderChase {
  0%   { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.reality-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15, 42, 61, 0.14);
  z-index: 2;
}

.reality-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.reality-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--body-text);
}

.reality-footnote {
  margin-top: 40px;
  font-size: 0.92rem;
  color: var(--navy-muted);
  font-weight: 500;
  font-style: italic;
}

@media (max-width: 640px) {
  .reality-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .reality-card {
    padding: 32px 24px;
  }
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  background: #EEF0F4;
  text-align: center;
  margin-bottom:-40px;
   padding-top: 50px;

}
.final-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}
.final-cta h2 {
  margin-top: 12px;
  margin-bottom: 12px;
}
.final-cta .section-subtitle {
  margin-bottom: 46px;
}

/* ============================================================
   PAGE HERO (for sub-pages)
   ============================================================ */
.page-hero {
  background: url('lepsihow.webp') center right / cover no-repeat;
  background-position: 980px -625px;
  padding: 135px 0 115px;
  text-align: center;
  position: relative;
  overflow: hidden;
    border-bottom: 1px solid var(--light-border);
    background-color: #F0F5F9;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(47,164,169,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero h1 {
  margin-bottom: 16px;
  position: relative;
  margin-bottom:25px;
}
.page-hero p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--navy-muted);
  position: relative;
}

/* ============================================================
   CONTENT SECTIONS (sub-pages)
   ============================================================ */


.content-section {
  padding: var(--section-pad) 0;
}

/* ============================================================
   CALL FLOW — HEXAGON DECO (LEFT)
   ============================================================ */
.hiw-callflow {
  position: relative;
  overflow: hidden;
}

.callflow-deco {
  position: absolute;
  top: 0;
  left: -40px;
  width: 280px;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hiw-callflow .container {
  position: relative;
  z-index: 1;
}

/* Hexagons */
.cdeco-hex {
  position: absolute;
}

.cdeco-hex--1 {
  width: 72px;
  height: 62px;
  top: 8%;
  left: 45px;
  opacity: 0.14;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 62'%3E%3Cpolygon points='36,2 70,16 70,46 36,60 2,46 2,16' fill='none' stroke='%230F2A3D' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center / contain;
}

.cdeco-hex--2 {
  width: 110px;
  height: 95px;
  top: 38%;
  left: -8px;
  opacity: 0.16;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 95'%3E%3Cpolygon points='55,2 108,25 108,70 55,93 2,70 2,25' fill='rgba(47,164,169,0.04)' stroke='%232FA4A9' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center / contain;
}

.cdeco-hex--3 {
  width: 52px;
  height: 45px;
  top: 68%;
  left: 60px;
  opacity: 0.23;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 45'%3E%3Cpolygon points='26,2 50,12 50,33 26,43 2,33 2,12' fill='none' stroke='%232FA4A9' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center / contain;
}

.cdeco-hex--4 {
  width: 72px;
  height: 62px;
  top: 8%;
  left: 56px;
  opacity: 0.19;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 62'%3E%3Cpolygon points='36,2 70,16 70,46 36,60 2,46 2,16' fill='none' stroke='%230F2A3D' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center / contain;
}

.cdeco-hex--5 {
  width: 110px;
  height: 95px;
  top: 36%;
  left: -18px;
  opacity: 0.19;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 95'%3E%3Cpolygon points='55,2 108,25 108,70 55,93 2,70 2,25' fill='rgba(47,164,169,0.04)' stroke='%232FA4A9' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center / contain;
}

.cdeco-hex--6 {
  width: 52px;
  height: 45px;
  top: 67%;
  left: 53px;
  opacity: 0.13;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 45'%3E%3Cpolygon points='26,2 50,12 50,33 26,43 2,33 2,12' fill='none' stroke='%232FA4A9' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Dots */
.cdeco-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--teal);
}

.cdeco-dot--1 { width: 4px; height: 4px; top: 17%; left: 80px; opacity: 0.25; }
.cdeco-dot--2 { width: 6px; height: 6px; top: 35%; left: 100px; opacity: 0.3; }
.cdeco-dot--3 { width: 3px; height: 3px; top: 55%; left: 20px; opacity: 0.22; }
.cdeco-dot--4 { width: 5px; height: 5px; top: 78%; left: 115px; opacity: 0.26; }

.cdeco-dot--5 { width: 4px; height: 4px; top: 18%; left: 83px; opacity: 0.35; }
.cdeco-dot--6 { width: 6px; height: 6px; top: 34%; left: 99px; opacity: 0.2; }
.cdeco-dot--7 { width: 3px; height: 3px; top: 56%; left: 23px; opacity: 0.32; }
.cdeco-dot--8 { width: 5px; height: 5px; top: 77%; left: 122px; opacity: 0.16; }



@media (max-width: 1024px) {
  .callflow-deco {
    width: 180px;
    left: -60px;
  }
}

@media (max-width: 768px) {
  .callflow-deco {
    display: none;
  }
}

/* ============================================================
   AGENCY FLOW — ENHANCED
   ============================================================ */
.agency-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  transition: all 0.4s ease;
  
}

.flow-track {
  display: flex;
  align-items: center;
  gap: 0;
}

/* Nodes */
.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 100px;
  transition: all 0.3s ease;
}

.flow-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.flow-label--strong {
  font-weight: 700;
  font-size: 0.9rem;
}

.flow-sub {
  font-size: 0.7rem;
  color: var(--navy-muted);
  text-align: center;
  max-width: 110px;
  line-height: 1.35;
}

/* Base dots — upgraded size */
.flow-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--off-white);
  border: 2px solid var(--light-border);
  box-shadow: 0 2px 8px rgba(15, 42, 61, 0.06);
  transition: all 0.4s ease;
}

/* LIORA — dominant center node */
.flow-dot--primary {
  width: 72px;
  height: 72px;
  background: var(--teal-light);
  border: 2.5px solid var(--teal);
  box-shadow:
    0 0 0 6px rgba(47, 164, 169, 0.08),
    0 0 20px rgba(47, 164, 169, 0.1),
    0 4px 16px rgba(47, 164, 169, 0.08);
}

.flow-node--liora .flow-label {
  font-size: 0.95rem;
  font-weight: 700;
}

.flow-node--liora .flow-sub {
  max-width: 130px;
}

/* Clinic group — upgraded */
.flow-dot-group {
  display: flex;
  gap: 0;
}

.flow-dot--sm {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--off-white);
  border: 2px solid var(--light-border);
  box-shadow: 0 1px 6px rgba(15, 42, 61, 0.05);
  transition: all 0.4s ease;
}
.flow-dot--sm:nth-child(2) {
  margin-left: -10px;
  z-index: 1;
  background: var(--white);
}
.flow-dot--sm:nth-child(3) {
  margin-left: -10px;
  z-index: 2;
  background: var(--off-white);
  border-color: rgba(47, 164, 169, 0.3);
}

/* Revenue dot — slightly larger */
.flow-dot--revenue {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--off-white);
  border: 2px solid var(--light-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(15, 42, 61, 0.06);
  transition: all 0.4s ease;
}

.flow-dot--revenue span {
  display: block;
  height: 2.5px;
  border-radius: 1px;
  background: var(--teal);
  transition: width 0.3s ease;
}
.flow-dot--revenue span:nth-child(1) { width: 18px; opacity: 0.9; }
.flow-dot--revenue span:nth-child(2) { width: 14px; opacity: 0.6; }
.flow-dot--revenue span:nth-child(3) { width: 10px; opacity: 0.35; }

/* Connectors — enhanced */
.flow-connector {
  width: 56px;
  height: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.flow-connector span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--teal), var(--navy));
  border-radius: 2px;
  position: relative;
  box-shadow: 0 0 6px rgba(47, 164, 169, 0.1);
  transition: all 0.4s ease;
}

.flow-connector span::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 0 4px 6px;
  border-color: transparent transparent transparent var(--navy);
  opacity: 0.4;
  transition: opacity 0.4s ease;
}

/* ============================================================
   FLOW HOVER — SYSTEM BRIGHTENS
   ============================================================ */
.flow-track:hover .flow-connector span {
  box-shadow: 0 0 12px rgba(47, 164, 169, 0.25);
}

.flow-track:hover .flow-connector span::after {
  opacity: 0.7;
}

.flow-track:hover .flow-dot--primary {
  box-shadow:
    0 0 0 8px rgba(47, 164, 169, 0.1),
    0 0 28px rgba(47, 164, 169, 0.15),
    0 4px 20px rgba(47, 164, 169, 0.1);
}

/* Individual node hover */
.flow-node:hover {
  transform: scale(1.05);
}

.flow-node:hover .flow-dot,
.flow-node:hover .flow-dot--sm {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(47, 164, 169, 0.1), 0 0 12px rgba(47, 164, 169, 0.08);
}

.flow-node:hover .flow-dot--revenue {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(47, 164, 169, 0.1), 0 0 12px rgba(47, 164, 169, 0.08);
}

.flow-node:hover .flow-dot--revenue span:nth-child(1) { width: 20px; }
.flow-node:hover .flow-dot--revenue span:nth-child(2) { width: 16px; }
.flow-node:hover .flow-dot--revenue span:nth-child(3) { width: 12px; }

.flow-node--liora:hover .flow-dot--primary {
  box-shadow:
    0 0 0 10px rgba(47, 164, 169, 0.12),
    0 0 32px rgba(47, 164, 169, 0.18),
    0 4px 24px rgba(47, 164, 169, 0.12);
}

/* ============================================================
   FLOW RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .flow-track {
    flex-direction: column;
    gap: 0;
  }

  .flow-connector {
    width: 3px;
    height: 36px;
    flex-direction: column;
  }

  .flow-connector span {
    width: 2.5px;
    height: 100%;
    background: linear-gradient(180deg, var(--teal), var(--navy));
  }

  .flow-connector span::after {
    right: auto;
    bottom: -1px;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px 4px 0 4px;
    border-color: var(--navy) transparent transparent transparent;
  }

  .agency-flow {
    padding: 32px 0;
  }
}


.hero-graphic {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}




/* ============================================================
   RELIABILITY SECTION
   ============================================================ */
.reliability-section {
  padding: var(--section-pad) 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.reliability-icon {
  transition: transform 0.75s ease;
}

.reliability-card:hover .reliability-icon {
  transform: translateX(calc(50% + 50px));
}
.reliability-deco {
  position: absolute;
  top: 0;
  right: -40px;
  width: 320px;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
}

/* Hexagons as outlined shapes */
.rdeco-hex {
  position: absolute;
  background: none;
  border: none;
}

.rdeco-hex--1 {
  width: 120px;
  height: 104px;
  top: 18%;
  right: 20px;
  opacity: 0.22;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 104'%3E%3Cpolygon points='60,2 118,27 118,77 60,102 2,77 2,27' fill='none' stroke='%232FA4A9' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center / contain;
}

.rdeco-hex--2 {
  width: 80px;
  height: 69px;
  top: 50%;
  right: 80px;
  opacity: 0.19;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 69'%3E%3Cpolygon points='40,2 78,18 78,51 40,67 2,51 2,18' fill='none' stroke='%230F2A3D' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center / contain;
}

.rdeco-hex--3 {
  width: 56px;
  height: 48px;
  top: 72%;
  right: 10px;
  opacity: 0.24;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 48'%3E%3Cpolygon points='28,2 54,13 54,35 28,46 2,35 2,13' fill='rgba(47,164,169,0.08)' stroke='%232FA4A9' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Dots */
.rdeco-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--teal);
}

.rdeco-dot--1 { width: 6px; height: 6px; top: 17%; right: 90px; opacity: 0.3; }
.rdeco-dot--2 { width: 4px; height: 4px; top: 44%; right: 105px; opacity: 0.25; }
.rdeco-dot--3 { width: 5px; height: 5px; top: 65%; right: 60px; opacity: 0.32; }
.rdeco-dot--4 { width: 3px; height: 3px; top: 82%; right: 130px; opacity: 0.22; }


@media (max-width: 1024px) {
  .reliability-deco {
    width: 200px;
    right: -60px;
  }
}

@media (max-width: 768px) {
  .reliability-deco {
    display: none;
  }
}

.rdeco-hex--4 {
  width: 120px;
  height: 104px;
  top: 17%;
  right: 14px;
  opacity: 0.12;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 104'%3E%3Cpolygon points='60,2 118,27 118,77 60,102 2,77 2,27' fill='none' stroke='%232FA4A9' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center / contain;
}

.rdeco-hex--5 {
  width: 80px;
  height: 69px;
  top: 51%;
  right: 86px;
  opacity: 0.1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 69'%3E%3Cpolygon points='40,2 78,18 78,51 40,67 2,51 2,18' fill='none' stroke='%230F2A3D' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center / contain;
}

.rdeco-hex--6 {
  width: 56px;
  height: 48px;
  top: 73%;
  right: 16px;
  opacity: 0.14;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 48'%3E%3Cpolygon points='28,2 54,13 54,35 28,46 2,35 2,13' fill='rgba(47,164,169,0.08)' stroke='%232FA4A9' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center / contain;
}


.rdeco-dot--5 { width: 6px; height: 6px; top: 16%; right: 85px; opacity: 0.2; }
.rdeco-dot--6 { width: 4px; height: 4px; top: 45%; right: 100px; opacity: 0.15; }
.rdeco-dot--7 { width: 5px; height: 5px; top: 64%; right: 57px; opacity: 0.22; }
.rdeco-dot--8 { width: 3px; height: 3px; top: 83%; right: 133px; opacity: 0.12; }


.reliability-section .container {
  position: relative;
  z-index: 1;
}

.reliability-section .section-label {
  margin-bottom: 16px;
}

.reliability-section h2 {
  margin-bottom: 16px;
}

.reliability-section .section-subtitle {
  margin-bottom: 0;
  max-width: 520px;
}

.reliability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 52px;
}

@media (max-width: 1024px) {
  .reliability-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .reliability-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.reliability-card {
  background: var(--white);
  border-radius: 4px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(15, 42, 61, 0.07);
  border: 1px solid var(--light-border);
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.reliability-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(15, 42, 61, 0.13);
  z-index: 2;
}

.reliability-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.reliability-card h3 {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.reliability-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--body-text);
  opacity: 0.8;
}

.content-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.content-text h2 {
  margin-bottom: 16px;
}

.content-text p {
  font-size: 1rem;
  line-height: 1.75;
}


/* Numbered list for process steps */
.process-list {
  counter-reset: process;
  display: flex;
  flex-direction: column;
  
  margin-top: 40px;
}
.process-item {
  counter-increment: process;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--off-white);
  border-radius: 1px;
  padding: 35px;

  

  transition: all 0.5s ease;
}
.process-item:hover {
  box-shadow: 0 14px 44px rgba(0,0,0,0.2);
  transform: translateY(-4px);
  background: var(--white);
}
/* Process number pulse on hover */
.process-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-indent: -1px;
  line-height: 1;
  padding-bottom: 4px;
  transition: box-shadow 0.5s ease;
}

.process-item h3 {
  margin-bottom: 4px;
  font-size: 1.05rem;
  padding-left: 15px;
}
.process-item p {
  font-size: 0.9rem;
  padding-left: 15px;
}

.hiw-setup {
  background: linear-gradient(170deg, var(--navy) 0%, #163548 100%);
  color: rgba(255,255,255,0.85);
  position: relative;
  overflow: hidden;
}

.hiw-setup h2 {
  color: var(--white);
}

.hiw-setup p {
  color: rgba(255,255,255,0.7);
}

.hiw-setup .section-label {
  color: rgba(47,164,169,0.9);
}

.hiw-setup .section-subtitle {
  color: rgba(255,255,255,0.6);
}

.hiw-setup .process-item {
  background: var(--off-white);
  color: var(--body-text);
}

.hiw-setup .process-item h3 {
  color: var(--navy);
}

.hiw-setup .process-item p {
  color: var(--body-text);
}

/* ============================================================
   CALL SUMMARY CARD
   ============================================================ */
.summary-card {
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(15, 42, 61, 0.1);
  border: 1px solid var(--light-border);
  overflow: hidden;
  transition: all 0.4s ease;
}
.summary-card:hover {
  box-shadow: 0 12px 40px rgba(15, 42, 61, 0.16);
  transform: translateY(-3px);
}

.summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--light-border);
  background: var(--off-white);
}

.summary-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
   position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

.summary-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  opacity: 0.6;
  transition: width 0.5s ease;
}

.summary-card:hover .summary-title::after {
  width: 100%;
}

.summary-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  background: var(--teal-light);
  color: var(--teal);
  letter-spacing: 0.02em;
}

.summary-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.summary-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.summary-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--navy-muted);
  opacity: 0.6;
}

.summary-value {
  font-size: 16px;
  color: var(--navy);
  line-height: 1.5;
  font-weight: 500;
}

.summary-divider {
  height: 1px;
  background: var(--light-border);
  margin: 4px 0;
  opacity: 0.8;
}

@media (max-width: 640px) {
  .summary-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

/* ============================================================
   BENEFITS — PILLARS
   ============================================================ */
.pillars-section {
  padding: var(--section-pad) 0;
  background: 
      radial-gradient(ellipse at 10% 20%, rgba(47, 164, 169, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(15, 42, 61, 0.03) 0%, transparent 50%),
    var(--off-white);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 64px;
}

.pillar {
  padding: 0 52px;
 border-left: 1px solid var(--teal);
  transition: all 0.35s ease;
}

.pillar:first-child {
  padding-left: 0;
  border-left: none;
}

.pillar:last-child {
  padding-right: 0;
}

.pillar:hover {
   background: rgba(47, 164, 169, 0.02);
  transform: translateY(-2px);
}

.pillar-accent {
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, teal, transparent);
  border-radius: 2px;
  margin-bottom: 20px;
  transition: width 0.45s ease, opacity 0.45s ease;
  opacity: 0.6;
}

.pillar:hover .pillar-accent {
  width: 100%;
  opacity: 1;
}

.pillar h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.pillar:hover h3 {
  color: var(--teal);
}

.pillar p {
  font-size: 0.92rem;
  line-height: 1.65;
    color: var(--body-text);
}

@media (max-width: 768px) {
  .pillars {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .pillar {
    padding: 28px 0;
    border-left: none;
    border-top: 1px solid var(--light-border);
  }

  .pillar:first-child {
    border-top: none;
    padding-top: 0;
  }

  .pillar:hover {
    transform: none;
  }
}
/* ============================================================
   AGENCY TIMELINE — ENHANCED
   ============================================================ */
.agency-timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin-top: 72px;
  padding: 0 40px;
}

.timeline-line {
  position: absolute;
  top: 24px;
  left: 80px;
  right: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--light-border), var(--teal), var(--navy), var(--teal), var(--light-border));
  background-size: 200% 100%;
  animation: flowGradient 4s linear infinite;
  z-index: 0;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(47, 164, 169, 0.15);
}

@keyframes flowGradient {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Nodes */
.timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 220px;
}

/* Markers */
.timeline-marker {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
  box-shadow: 0 2px 12px rgba(47, 164, 169, 0.1), 0 0 0 4px rgba(47, 164, 169, 0.05);
  transition: box-shadow 0.8s ease, background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.timeline-node:hover .timeline-marker {
  background: var(--teal);
  color: var(--white);

}

/* Highlight step 3 */
.timeline-node--highlight .timeline-marker {
  box-shadow: 0 2px 16px rgba(47, 164, 169, 0.2), 0 0 0 6px rgba(47, 164, 169, 0.08);
}

.timeline-node--highlight h3 {
  font-weight: 700;
}

/* Stem connector */
.timeline-stem {
  width: 1.5px;
  height: 20px;
  background: linear-gradient(180deg, var(--teal), var(--light-border));
  margin-bottom: 14px;
}

/* Text */
.timeline-node h3 {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}

.timeline-node p {
  font-size: 0.82rem;
  color: var(--body-text);
  line-height: 1.55;
  max-width: 180px;
}

/* Responsive — vertical */
@media (max-width: 768px) {
  .agency-timeline {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
    margin-top: 48px;
  }



  .timeline-node {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
    max-width: 100%;
    padding-bottom: 40px;
  }

  .timeline-node:last-child {
    padding-bottom: 0;
  }

  .timeline-marker {
    flex-shrink: 0;
  }

  .timeline-stem {
    display: none;
  }

  .timeline-node h3 {
    margin-bottom: 4px;
  }

  .timeline-node p {
    max-width: 100%;
  }
}

/* Call flow visual */
.call-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.call-flow-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 32px;
}
.call-flow-step:last-child { padding-bottom: 0; }
.call-flow-line {
  flex-shrink: 0;
  width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.call-flow-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid var(--teal-light);
  flex-shrink: 0;
  margin-top: 4px;
  position: relative;
  transition: transform 0.4s ease-out;
  box-shadow: 0 0 0 6px transparent;
}
.call-flow-connector {
  width: 2px;
  flex: 1;
  background: var(--light-border);
  margin-top: 8px;
}
.call-flow-step:last-child .call-flow-connector { display: none; }
.call-flow-content h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.call-flow-content p {
  font-size: 0.88rem;
  color: var(--body-text);
}

/* ============================================================
   WHY PARTNER — SPLIT LAYOUT
   ============================================================ */
.partner-section {
  padding: var(--section-pad) 0;
  background: linear-gradient(170deg, var(--navy) 0%, #163548 100%);
  position: relative;
  overflow: hidden;
  color: rgba(255,255,255,0.85);
}

.partner-section .container {
  position: relative;
  z-index: 1;
}

/* Subtle deco — right side */
.partner-deco {
  position: absolute;
  top: 0;
  right: -30px;
  width: 200px;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.partner-deco span {
  position: absolute;
  right: 0;
}

.partner-deco span:nth-child(1) {
  top: 20%;
  width: 140px;
  height: 1px;
   background: linear-gradient(90deg, transparent, var(--teal));
   opacity: 0.08;
}

.partner-deco span:nth-child(2) {
  top: 55%;
  width: 90px;
  height: 1px;
   background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
opacity: 0.05;
}

/* Grid */
.partner-grid {
  display: grid;
    grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

/* Left */
.partner-left {
  position: sticky;
  top: 120px;
}

.partner-left .section-label {
  color: rgba(47,164,169,0.9);
}

.partner-left h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-bottom: 16px;
  line-height: 1.2;
    color: var(--white);
}

.partner-left p {
  font-size: 1rem;
  line-height: 1.7;
   color: rgba(255,255,255,0.6);
  max-width: 320px;

}

/* Right */
.partner-right {
  display: flex;
  flex-direction: column;
  padding-left: 50px;
}

.partner-block {
  padding: 28px 0;
  transition: all 0.3s ease;
}

.partner-block:first-child {
  padding-top: 0;
}

.partner-block:last-child {
  padding-bottom: 0;
}

.partner-block:hover {
  padding-left: 16px;
}

.partner-block h3 {
  font-size: 1.1rem;
  font-weight: 700;
   color: var(--white);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.partner-block:hover h3 {
 color: var(--teal);
}

.partner-block p {
  font-size: 0.92rem;
  line-height: 1.65;
    color: rgba(255,255,255,0.6);
  max-width: 440px;
}

.partner-divider {
  height: 1px;
   background: linear-gradient(90deg, white, transparent);
  width: 100%;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 860px) {
  .partner-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .partner-left {
    position: static;
  }

  .partner-left p {
    max-width: 100%;
  }

  .partner-block:hover {
    padding-left: 0;
  }

  .partner-deco {
    display: none;
  }
}


/* ============================================================
   VISUAL RIBBON SEPARATOR
   ============================================================ */
.ribbon-section {
  width: 100%;
  overflow: hidden;
  background: var(--white);
}

.ribbon-img {
 
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: -8.9%;
  margin-top:-130px;
    max-height:350px;
  filter: blur(0.6px) saturate(85%) brightness(98%);

object-position: center;
}



/* ============================================================
   BOOK A DEMO PAGE
   ============================================================ */

/* Hero */
.demo-hero {
  background: url('lepsidemo.webp') center right / cover no-repeat;
  padding: 110px 0 130px;
  background-position: -10px -80px ;
background-color: #EAEEEF;
  text-align: center;
  border-bottom: 1px solid var(--light-border);
}

.demo-hero-inner {
  max-width: 580px;
  margin: 0 auto;
}

.demo-hero h1 {
  margin-bottom: 16px;
}

.demo-hero-sub {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--navy-muted);
  margin-bottom: 12px;
}


/* Main section */
.demo-main {
  padding: 80px 0;
  background: var(--white);
}

.demo-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 130px;
  align-items: flex-start;
}

/* Left — expectations */
.demo-expect h2 {
  font-size: 1.4rem;
  margin-bottom: 24px;
  line-height: 1.25;
}

.demo-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.demo-list li {
  font-size: 0.92rem;
  color: var(--navy);
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}

.demo-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.6;
}

.demo-reassure {
  display: flex;
  flex-direction: column;
  gap: 8px;
 
    border-top: none;
  background-image: linear-gradient(90deg, var(--teal), transparent);
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: top;
  padding-top: 45px;
  
}

.demo-reassure span {
  font-size: 0.82rem;
  color: var(--navy-muted);
  padding-left: 26px;
  position: relative;
}

.demo-reassure span::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 1.1rem;
  font-weight: 700;
   top: -4px;
}

.demo-float-card {
  margin-top: 209px;
 
  padding: 20px 24px;
  background: var(--white);

  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.5;
  opacity: 0.8;

  position: relative;
    padding-left: 27px;
}

.demo-float-card::before {
  content: '';
  position: absolute;
  left: 0;
  width: 2px;
  background: var(--teal);
  border-radius: 2px;
  animation: leftBorder 6s ease-in-out infinite;
}

.demo-float-card::after {
  content: '';
  position: absolute;
  right: 0;
  width: 2px;
  background: var(--teal);
  border-radius: 2px;
  animation: rightBorder 6s ease-in-out infinite;
}

@keyframes leftBorder {
  0%   { top: 100%; bottom: 0; }
  25%  { top: 0; bottom: 0; }
  50%  { top: 0; bottom: 100%; }
  75%  { top: 0; bottom: 0; }
  100% { top: 100%; bottom: 0; }
}

@keyframes rightBorder {
  0%   { top: 0; bottom: 100%; }
  25%  { top: 0; bottom: 0; }
  50%  { top: 100%; bottom: 0; }
  75%  { top: 0; bottom: 0; }
  100% { top: 0; bottom: 100%; }
}


/* Right — form */
.demo-form-wrap {
  position: relative;
}

.demoheading {
  margin-bottom: 8px;
}

.demo-form-container {
  background: var(--off-white);
  margin-top: 20px;
  border: 1px solid var(--light-border);
  border-radius: 4px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.demo-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.demo-field label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy-muted);
}



.demo-field input,
.demo-field textarea {
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 12px 16px;
  border: 1px solid var(--light-border);
  border-radius: 3px;
  background: var(--white);
  color: var(--navy);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}

.demo-field input:focus,
.demo-field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(47, 164, 169, 0.08);
}

.demo-field input::placeholder,
.demo-field textarea::placeholder {
  color: var(--navy-muted);
  opacity: 0.4;
}

.demo-field textarea {
  resize: vertical;
  min-height: 80px;
}

.demo-submit {
  align-self: flex-start;
  margin-top: 8px;
}



/* Footnote */
.demo-footnote {
  padding: 40px 0;
  background: var(--off-white);
  text-align: center;
  border-top: 1px solid var(--light-border);
}

.demo-footnote p {
  font-size: 0.91rem;
  color: var(--navy-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
  font-style: italic;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 860px) {
  .demo-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .demo-form-container {
    padding: 32px 24px;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo {
  color: var(--white);  
  margin-bottom: 16px;
  margin-left: 1px;
 
}


.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--teal); }
.footer-links a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
  border-radius: 2px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.88rem;
}
.footer-contact-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--teal);
  margin-top: 2px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   LEGAL PAGE
   ============================================================ */
.legal-hero {
  background: var(--off-white);
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--light-border);
}

.legal-hero-inner {
  max-width: 580px;
  margin: 0 auto;
}

.legal-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.legal-hero p {
  font-size: 1rem;
  color: var(--navy-muted);
}

.legal-content {
  padding: 80px 0;
  background: var(--white);
}

.legal-body {
  max-width: 720px;
  margin: 0 auto;
}

.legal-block {
  padding: 8px 0;
}

.legal-block h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.legal-block p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--body-text);
}

.legal-block a {
  color: var(--teal);
  transition: color 0.25s ease;
}

.legal-block a:hover {
  color: var(--teal-dark);
}

.legal-item {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 8px;
}

.legal-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy-muted);
  min-width: 160px;
  flex-shrink: 0;
}

.legal-divider {
  height: 1px;
  background: linear-gradient(90deg, var(--light-border), transparent);
  margin: 32px 0;
}

@media (max-width: 640px) {
  .legal-item {
    flex-direction: column;
    gap: 2px;
  }

  .legal-label {
    min-width: unset;
  }

  .legal-body {
    padding: 0 8px;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {

  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --section-pad: 72px; }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-graphic { max-width: 400px; margin: 0 auto; }
  .hero-float-card:nth-child(2) { right: 0; }
  .hero-float-card:nth-child(3) { left: 0; }

  .content-grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }

  /* Top bar: collapse to full-width navy strip on mobile */
  .top-bar { height: auto; }
  .top-bar-left { display: none; }
  .top-bar-right {
    width: 100%;
  }
  .top-bar-right::before { display: none; }
  .top-bar-content {
    max-width: 100%;
    justify-content: center;
    padding: 10px 20px;
    flex-wrap: wrap;
    gap: 12px 20px;
  }
.header-wrap::before { display: none; }
.top-bar-right::before { display: none; }

}

@media (max-width: 640px) {
  :root { --section-pad: 56px; }

  /* Hide separator dots on small screens */
  .top-bar-dot { display: none; }
  .top-bar-content { gap: 8px 16px; font-size: 0.75rem; }

  
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .hero-graphic { max-width: 320px; }
  .hero-float-card { display: none; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .btn { padding: 12px 24px; font-size: 0.88rem; }
}

/* --- Utility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}


@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(47, 164, 169, 0.4);
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
  70% {
    box-shadow: 0 0 20px 12px rgba(47, 164, 169, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(47, 164, 169, 0);
    transform: scale(1);
  }
}