/* ============================================================
   LEMENO LABS — Professional Technology Company
   v15 — Progressive reveal fix + hero two-column layout
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand */
  --orange:      #FAA319;
  --orange-dim:  rgba(250,163,25,0.15);

  /* Navy (hero, footer, why-section) */
  --navy:        #0B1526;
  --navy-mid:    #0F1F3D;
  --navy-card:   rgba(255,255,255,0.04);
  --navy-border: rgba(255,255,255,0.08);

  /* Blue (primary action) */
  --blue:        #2563EB;
  --blue-dark:   #1D4ED8;
  --blue-light:  #EFF6FF;
  --blue-mid:    #BFDBFE;
  --blue-glow:   rgba(37,99,235,0.25);

  /* Grays */
  --gray-900:    #0F172A;
  --gray-800:    #1E293B;
  --gray-700:    #334155;
  --gray-600:    #475569;
  --gray-500:    #64748B;
  --gray-400:    #94A3B8;
  --gray-300:    #CBD5E1;
  --gray-200:    #E2E8F0;
  --gray-100:    #F1F5F9;
  --gray-50:     #F8FAFC;
  --white:       #FFFFFF;

  /* Semantic */
  --green:       #059669;
  --green-bg:    #D1FAE5;
  --green-border:#6EE7B7;
  --red:         #DC2626;

  /* Type */
  --font:        'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --section-py:  96px;
  --container:   1200px;

  /* Radii */
  --r-xs:  4px;
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-2xl: 32px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15,23,42,0.06);
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.10), 0 1px 2px rgba(15,23,42,0.06);
  --shadow-md: 0 4px 6px -1px rgba(15,23,42,0.10), 0 2px 4px -1px rgba(15,23,42,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(15,23,42,0.10), 0 4px 6px -2px rgba(15,23,42,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(15,23,42,0.10), 0 10px 10px -5px rgba(15,23,42,0.04);
  --shadow-blue: 0 4px 14px rgba(37,99,235,0.30);
}

/* ============================================================
   BASE
   ============================================================ */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font); }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

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

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  z-index: 9999;
  width: 0;
  transition: width 0.1s linear;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.2s;
}

.navbar.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.4px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
}

.nav-logo-accent { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  padding: 8px 16px;
  border-radius: var(--r-sm);
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover { color: var(--blue); background: var(--blue-light); }

.nav-links .nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  margin-left: 10px;
  box-shadow: var(--shadow-blue);
}

.nav-links .nav-cta:hover {
  background: var(--blue-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.35) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  border-radius: var(--r-sm);
  padding: 12px 24px;
  font-size: 0.9375rem;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn:active { transform: translateY(1px) !important; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37,99,235,0.40);
}

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

.btn-ghost-light {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.20);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.40);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-white-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-white-outline:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.65);
  transform: translateY(-1px);
}

.btn-lg { font-size: 1rem; padding: 14px 28px; }
.btn-full { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--navy);
  padding: 88px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Gradient blobs */
.hero-bg-glow {
  position: absolute;
  top: -150px; right: -50px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-bg-glow-2 {
  position: absolute;
  bottom: -100px; left: 20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(250,163,25,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Two-column layout */
.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* ---- Left: text ---- */
.hero-text {}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-dim);
  border: 1px solid rgba(250,163,25,0.30);
  color: #FCC55A;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--white);
  margin-bottom: 22px;
}

.hero-title-accent { color: #60A5FA; }

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #94A3B8;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---- Right: visual ---- */
.hero-visual {
  position: relative;
  height: 420px;
}

.hv-card {
  position: absolute;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.hv-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37,99,235,0.40);
}
.hv-card-5:hover {
  transform: translateX(-50%) translateY(-4px);
}

.hv-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hv-card-body  { display: flex; flex-direction: column; min-width: 0; }
.hv-card-label,
.hv-card-title { font-size: 0.8rem; font-weight: 700; color: var(--white); white-space: nowrap; }
.hv-card-sub   { font-size: 0.68rem; color: #94A3B8; margin-top: 2px; white-space: nowrap; }

/* Card positions — widths set to avoid text wrapping */
.hv-card-1 { top: 16px;   left: 10px;  width: 210px; animation: floatA 5s ease-in-out infinite; }
.hv-card-2 { top: 16px;   right: 0;    width: 205px; animation: floatB 5.5s ease-in-out infinite; }
.hv-card-3 { top: 165px;  left: 0;     width: 210px; animation: floatA 6s ease-in-out infinite; }
.hv-card-4 { top: 165px;  right: 0;    width: 210px; animation: floatB 5s ease-in-out infinite; }
.hv-card-5 { bottom: 16px; left: 50%; transform: translateX(-50%); width: 210px; animation: floatA 5.8s ease-in-out infinite; }

@keyframes floatA {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(-8px); }
  50%       { transform: translateY(0); }
}
/* card-5 is centered horizontally via translateX, preserve that in float */
.hv-card-5 { animation: floatC 5.8s ease-in-out infinite; }
@keyframes floatC {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-8px); }
}

.hv-icon-red    { background: rgba(220,38,38,0.20);   color: #FCA5A5; }
.hv-icon-blue   { background: rgba(37,99,235,0.20);  color: #60A5FA; }
.hv-icon-green  { background: rgba(5,150,105,0.20);  color: #34D399; }
.hv-icon-orange { background: rgba(250,163,25,0.18); color: #FCC55A; }
.hv-icon-purple { background: rgba(139,92,246,0.20); color: #A78BFA; }
.hv-icon-teal   { background: rgba(8,145,178,0.20);  color: #22D3EE; }

/* Connector dots */
.hv-connector {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hv-connector::before {
  content: '';
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(37,99,235,0.25);
  border: 1px solid rgba(37,99,235,0.40);
  animation: pulse-ring 2.5s ease-in-out infinite;
}

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

/* Stats bar */
.hero-stats-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 56px;
  padding-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.hero-stat {
  padding: 0 24px 0 0;
  border-right: 1px solid rgba(255,255,255,0.07);
}

.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child  { border-right: none; }

.hero-stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: #94A3B8;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  padding: 18px 0;
  gap: 0;
  flex-wrap: wrap;
}

.trust-bar-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-400);
  padding-right: 28px;
  border-right: 1.5px solid var(--gray-200);
  margin-right: 24px;
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-items {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
  transition: border-color 0.15s, background 0.15s;
}

.trust-chip:hover {
  border-color: var(--blue);
  background: var(--blue-light);
  color: var(--blue);
}

.trust-chip svg { color: var(--blue); flex-shrink: 0; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.75;
  max-width: 600px;
}

.section-header { margin-bottom: 56px; }

.section-header.center {
  text-align: center;
}

.section-header.center .section-desc {
  margin: 0 auto;
}

/* ============================================================
   SOLUTIONS / INDUSTRIES
   ============================================================ */
.solutions-section { background: var(--white); }

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.solution-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.25s ease;
  border-radius: 4px 0 0 4px;
}

.solution-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.solution-card:hover::before { transform: scaleY(1); }

.solution-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border: 1.5px solid var(--blue-mid);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: background 0.2s;
}

.solution-card:hover .solution-icon {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.solution-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.solution-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.72;
  margin-bottom: 20px;
  flex: 1;
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.solution-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-light);
  border: 1px solid var(--blue-mid);
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.03em;
}

.solutions-grid-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

/* ============================================================
   TECHNOLOGY CAPABILITIES
   ============================================================ */
.tech-section { background: var(--gray-50); }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.tech-cell {
  background: var(--white);
  padding: 36px 32px;
  border-right: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  transition: background 0.2s;
  position: relative;
}

/* Remove right border from last in each row, bottom from last row */
.tech-cell:nth-child(3n)  { border-right: none; }
.tech-cell:nth-child(n+4) { border-bottom: none; }

.tech-cell:hover { background: var(--blue-light); }

.tech-cell::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--blue), #60A5FA);
  opacity: 0;
  transition: opacity 0.2s;
}

.tech-cell:hover::after { opacity: 1; }

.tech-cell-icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60A5FA;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.tech-cell h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.tech-cell p {
  font-size: 0.855rem;
  color: var(--gray-500);
  line-height: 1.68;
}

/* ============================================================
   PROCESS — HOW WE WORK
   ============================================================ */
.process-section { background: var(--white); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue-mid), var(--blue), var(--blue-mid));
  border-radius: 2px;
}

.process-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.process-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 0 0 6px var(--blue-light), var(--shadow-blue);
  position: relative;
  z-index: 1;
}

.process-step h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.process-step p {
  font-size: 0.845rem;
  color: var(--gray-500);
  line-height: 1.68;
}

/* ============================================================
   WHY CHOOSE LEMENO — dark section
   ============================================================ */
.why-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.why-section-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.why-section-bg-glow {
  position: absolute;
  bottom: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%);
}

.why-section .section-eyebrow { color: #FCC55A; }
.why-section .section-title   { color: var(--white); }
.why-section .section-desc    { color: #94A3B8; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96,165,250,0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.why-card:hover {
  background: rgba(37,99,235,0.08);
  border-color: rgba(96,165,250,0.25);
  transform: translateY(-3px);
}

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

.why-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(37,99,235,0.18);
  border: 1px solid rgba(96,165,250,0.20);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60A5FA;
  margin-bottom: 20px;
}

.why-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.why-card p {
  font-size: 0.875rem;
  color: #94A3B8;
  line-height: 1.72;
}

/* ============================================================
   STORY CARDS
   ============================================================ */
.stories-section { background: var(--gray-50); }

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.story-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.story-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--gray-300);
}

.story-card-header {
  background: linear-gradient(145deg, var(--navy-mid), var(--navy));
  padding: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.story-industry-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37,99,235,0.18);
  border: 1px solid rgba(96,165,250,0.25);
  color: #93C5FD;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.story-card-header blockquote {
  font-size: 0.895rem;
  color: #CBD5E1;
  line-height: 1.72;
  font-style: italic;
  border-left: 2px solid rgba(96,165,250,0.35);
  padding-left: 14px;
}

.story-card-footer {
  padding: 24px 28px;
  flex: 1;
}

.story-solution-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.story-solution-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

.story-card-footer p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.68;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 65%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.cta-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { background: var(--white); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-eyebrow { margin-bottom: 10px; }

.contact-info h2 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.contact-info > p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.78;
  margin-bottom: 36px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-md);
  color: var(--gray-700);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.contact-channel:hover {
  border-color: var(--blue);
  background: var(--blue-light);
  transform: translateX(4px);
}

.contact-channel-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border: 1.5px solid var(--blue-mid);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}

.contact-channel-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 3px;
}

.contact-channel-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-800);
}

/* FORM */
.contact-form-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  font-size: 0.875rem;
  font-family: var(--font);
  color: var(--gray-900);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.10);
}

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

.form-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 13px;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
  box-shadow: var(--shadow-blue);
}

.form-submit:hover {
  background: var(--blue-dark);
  box-shadow: 0 6px 20px rgba(37,99,235,0.40);
  transform: translateY(-1px);
}

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green);
  margin-top: 12px;
}

.form-success.visible { display: flex; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-brand-logo img {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
}

.footer-brand-logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.3px;
}

.footer-brand-logo-text span { color: var(--orange); }

.footer-brand > p {
  font-size: 0.855rem;
  color: #64748B;
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h5 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 0.855rem;
  color: #64748B;
  transition: color 0.15s;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom-left p {
  font-size: 0.8rem;
  color: var(--gray-600);
}

.footer-bottom-right {
  display: flex;
  gap: 24px;
}

.footer-bottom-right a {
  font-size: 0.8rem;
  color: var(--gray-600);
  transition: color 0.15s;
}

.footer-bottom-right a:hover { color: #94A3B8; }

/* ============================================================
   BACK TO TOP + WHATSAPP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-blue);
  transition: background 0.2s, transform 0.2s;
  z-index: 900;
}

.back-to-top.visible { display: flex; }
.back-to-top:hover { background: var(--blue-dark); transform: translateY(-3px); }

.whatsapp-float {
  position: fixed;
  bottom: 90px; right: 32px;
  width: 50px; height: 50px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,211,102,0.40);
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 900;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37,211,102,0.50);
}

/* ============================================================
   REVEAL ANIMATION (progressive enhancement)
   Elements are visible by default. JS adds .js-ready to <html>
   which enables the hidden-until-scrolled behaviour.
   ============================================================ */
.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js-ready [data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }
  .container { padding: 0 28px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-stats-bar { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero-stat { border-right: none; }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-cell:nth-child(3n) { border-right: 1px solid var(--gray-200); }
  .tech-cell:nth-child(2n) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  :root { --section-py: 56px; }
  .container { padding: 0 20px; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 20px 20px;
    box-shadow: var(--shadow-md);
    z-index: 999;
  }
  .nav-hamburger { display: flex; }

  .hero { padding: 56px 0 48px; }
  .hero-stats-bar { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .solutions-grid,
  .solutions-grid-bottom { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .tech-cell:nth-child(n) { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .tech-cell:last-child { border-bottom: none; }

  .process-steps {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
  .process-steps::before { display: none; }

  .why-grid { grid-template-columns: 1fr; }
  .stories-grid { grid-template-columns: 1fr; }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }

  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .hero-stats-bar { grid-template-columns: repeat(2, 1fr); }
}
