/* ============================================================
   PRECISA CONSULTANTS â€” Minimal Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --navy: #104E90;
  --navy-dark: #0B3A6B;
  --navy-light: #1A6BC4;
  --accent: #0A3DAF;
  --accent-orange: #CF4630;
  /* New Blue */
  --accent-hover: #0540cc;
  --text-dark: #121212;
  --text-body: #4A4A4A;
  --text-muted: #7A7A7A;
  --bg-cream: #F8F6F1;
  --bg-white: #ffffff;
  --bg-light: #F2F0EB;
  --bg-dark: #0F1E36;
  --border-color: #E2DFD7;
  --border-light: rgba(0, 0, 0, 0.06);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --transition: all 0.3s ease;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* ---------- 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);
  color: var(--text-body);
  background: var(--bg-cream);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(34px, 4.5vw, 50px);
}

h2 {
  font-size: clamp(26px, 3.2vw, 38px);
}

h3 {
  font-size: clamp(20px, 2.2vw, 26px);
}

h4 {
  font-size: 18px;
}

h5 {
  font-size: 16px;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Utility Classes ---------- */
.section-padding {
  padding: 90px 0;
}

.section-padding-sm {
  padding: 50px 0;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-8 {
  margin-bottom: 8px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-24 {
  margin-bottom: 24px;
}

.mb-32 {
  margin-bottom: 32px;
}

.mb-48 {
  margin-bottom: 48px;
}

.mb-64 {
  margin-bottom: 64px;
}

.mb-80 {
  margin-bottom: 80px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-32 {
  margin-top: 32px;
}

.mt-48 {
  margin-top: 48px;
}

/* ---------- Dotted Grid Background Pattern ---------- */
.hero-section,
.process-section,
.services-section,
.cta-section,
.section-padding {
  background-image: radial-gradient(rgba(18, 18, 18, 0.08) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
}

.problem-section,
.logo-reel-section,
.site-footer,
.breadcrumb-hero,
.features-section,
.stats-section {
  background-image: none;
}

/* ---------- HERO SECTION ---------- */
.hero-section {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background-color: var(--bg-cream);
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 8% 80px 10%;
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.hero-left .hero-title {
  font-size: clamp(36px, 4.2vw, 52px);
  line-height: 1.15;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.hero-accent-text {
  color: var(--accent);
  font-style: normal;
  font-weight: 500;
}

.hero-left .hero-description {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-right-video {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-right-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- SECTION HEADERS ---------- */
.section-header {
  max-width: 600px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-header.text-left {
  margin-left: 0;
  text-align: left;
}

.section-label {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 16px;
  font-weight: 500;
}

.section-desc {
  font-size: 16px;
  color: var(--text-body);
}

/* ---------- PROBLEM STATEMENT SECTION (Typography Split) ---------- */
.problem-section {
  background: var(--bg-white);
  padding: 120px 0;
  /* Gave it a bit more breathing room */
  border-bottom: 1px solid var(--border-color);
}

.text-split-grid {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 60px;
  /* Widened the gap slightly so the text doesn't choke the wider image */
  align-items: start;
  padding: 0 5%;
  /* This perfectly aligns the left edge with the 10% padding of your hero section */
}

.statement-text {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.25;
  font-family: var(--font-heading);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

/* The lighter, thinner part of the headline */
.statement-text .muted-text {
  color: var(--accent);
  font-weight: 500;
}

/* The darker, heavier punchline */
.statement-text .bold-text {
  color: var(--accent);
  /* Deep brand color */
  font-weight: 500;
}

.statement-body {
  font-size: 17px;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 800px;
  /* Keeps the body copy from stretching too far and looking like shit */
}

/* Responsive adjustments for mobile so it doesn't break */
@media (max-width: 900px) {
  .text-split-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 24px;
    /* Reset padding for mobile screens */
  }

  .split-left {
    margin-bottom: 16px;
  }

  .statement-text {
    font-size: 28px;
  }
}

/* ---------- FEATURES / WHAT WE DELIVER ---------- */
.features-section {
  background-color: var(--bg-white);
  padding: 90px 0;
  border-bottom: 1px solid var(--border-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature-card {
  text-align: left;
}

.feature-icon {
  font-size: 86px;
  color: var(--accent);
  margin-bottom: 20px;
  perspective: 1000px;
}

.feature-icon img {
  height: 120px;
  width: auto;
  object-fit: contain;
  opacity: 0.5;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.feature-card:hover .feature-icon img {
  transform: rotateY(180deg);
}

.feature-card h4 {
  margin-bottom: 10px;
  font-size: 18px;
}

.feature-card p {
  color: var(--text-body);
  font-size: 15px;
  margin: 0;
}

/* ---------- HOW IT WORKS / PROCESS ---------- */
.process-section {
  background-color: var(--bg-cream);
  padding: 90px 0;
  border-bottom: 1px solid var(--border-color);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: process-step-counter;
}

.process-step {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 48px 32px;
  text-align: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease, border-color 0.5s ease;
  overflow: hidden;
  z-index: 1;
  counter-increment: process-step-counter;
}

.process-step::after {
  content: "0" counter(process-step-counter);
  position: absolute;
  bottom: -20px;
  right: -10px;
  font-size: 140px;
  font-family: var(--font-heading);
  line-height: 1;
  color: var(--text-dark);
  opacity: 0.03;
  z-index: 0;
  transition: all 0.5s ease;
  pointer-events: none;
}

.process-step:hover::after {
  opacity: 0.15;
  color: #fff;
  transform: translateY(-10px);
}

.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--navy);
  background-image:
    radial-gradient(at 0% 0%, var(--accent) 0px, transparent 50%),
    radial-gradient(at 100% 0%, var(--navy-light) 0px, transparent 50%),
    radial-gradient(at 100% 100%, var(--navy-light) 0px, transparent 50%),
    radial-gradient(at 0% 100%, var(--navy-light) 0px, transparent 50%);
  background-size: 150% 150%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: scale(0.95);
}

@keyframes meshMovement {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 100% 100%;
  }
}

.process-step:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: transparent;
  box-shadow: 0 24px 48px rgba(16, 78, 144, 0.15);
}

.process-step:hover::before {
  opacity: 1;
  transform: scale(1);
  animation: meshMovement 8s ease-in-out infinite alternate;
}

.process-step h4 {
  font-size: 24px;
  margin-bottom: 16px;
  transition: color 0.5s ease, transform 0.5s ease;
  position: relative;
  z-index: 2;
}

.process-step p {
  font-size: 16px;
  color: var(--text-body);
  margin: 0;
  line-height: 1.6;
  transition: color 0.5s ease, transform 0.5s ease;
  position: relative;
  z-index: 2;
}

.process-step:hover h4,
.process-step:hover p {
  color: #fff;
  transform: translateY(-4px);
}

/* ---------- SERVICES CARDS ---------- */
.services-section {
  background-color: var(--bg-cream);
  padding: 90px 0;
  border-bottom: 1px solid var(--border-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  padding: 32px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--accent);
}

.service-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 20px;
}

.service-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 14px;
  line-height: 1.5;
}

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 13px;
  color: var(--navy);
  text-decoration: underline;
}

.service-card .learn-more:hover {
  color: var(--accent);
}

/* ---------- STATS / COUNTER SECTION ---------- */
.stats-section {
  background: var(--bg-white);
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
}

.stat-number-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}

.stat-prefix,
.stat-suffix {
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 500;
}

.stat-label {
  font-size: 16px;
  color: var(--text-body);
  margin: 0;
  font-weight: 600;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-section {
  background: var(--bg-cream);
  padding: 90px 0;
}

.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  cursor: grab;
  user-select: none;
}

.testimonial-carousel:active {
  cursor: grabbing;
}

.testimonial-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.testimonial-slide {
  min-width: 100%;
  padding: 40px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  text-align: left;
}

.quote-icon {
  font-family: serif;
  font-size: 48px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 24px;
  display: block;
}

.testimonial-quote {
  font-size: 22px;
  line-height: 1.5;
  color: var(--text-dark);
  margin-bottom: 32px;
  font-weight: 500;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-author .name {
  font-weight: 500;
  font-size: 16px;
  color: var(--navy);
}

.testimonial-author .role {
  font-size: 14px;
  color: var(--text-muted);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  padding: 10px 0;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

/* ---------- PROBLEM SECTION IMAGE ---------- */
.problem-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 511px;
  min-width: 51px;
  overflow: hidden;
}

.skeleton-loader {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f5f5f5 25%, #e0e0e0 50%, #f5f5f5 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.problem-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.problem-image-wrapper:hover .problem-image {
  transform: scale(1.05);
}

/* ---------- TESTIMONIAL QUOTE ICON ---------- */
.quote-icon-svg {
  display: inline-block;
  color: var(--accent);
  margin-bottom: 24px;
}

.quote-icon-svg svg {
  fill: currentColor;
}

/* ---------- CLIENT LOGO REEL ---------- */
.logo-reel-section {
  padding: 80px 0;
  background: var(--bg-white);
  /* Flipped from --bg-cream to maintain the alternating scheme */
  overflow: hidden;
}

.logo-reel-container {
  display: flex;
  overflow-x: auto;
  /* Allows native horizontal scrolling */
  white-space: nowrap;
  scrollbar-width: none;
  /* Hides scrollbar in Firefox */
  -ms-overflow-style: none;
  /* Hides scrollbar in IE/Edge */
  cursor: grab;
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.logo-track {
  display: inline-flex;
  gap: 60px;
  /* Tightened the gap slightly since the logos will be bigger */
  padding-right: 60px;
  flex-shrink: 0;
  align-items: center;
}

.logo-track img {
  height: 180px;
  /* Cranked up from 140px */
  width: auto;
  object-fit: contain;
  filter: none;
  /* Kills the greyscale effect */
  opacity: 1;
  /* Forces full visibility by default */
  transition: transform 0.3s ease;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

/* New hover effect since the color change is gone */
.logo-track img:hover {
  transform: scale(1.05);
}




@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  position: relative;
  padding: 140px 0;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 78, 144, 0.85);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: left;
}

.cta-content h2 {
  font-size: clamp(36px, 4.2vw, 52px);
  font-weight: 500;
  margin-bottom: 24px;
  color: #fff;
  line-height: 1.15;
}

.cta-content h2 em {
  color: #fff;
  font-style: normal;
}

.cta-content p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 650px;
}

.btn-cta {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-size: 18px;
  padding: 16px 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-cta:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

/* Add this right under the .cta-section block */
.cta-align-wrapper {
  padding: 0 5%;
  /* Matches the hero left alignment perfectly */
}

/* Add this to your mobile media queries at the bottom of the file (e.g., inside @media (max-width: 900px)) */
@media (max-width: 900px) {
  .cta-align-wrapper {
    padding: 0 24px;
    /* Resets to standard padding on small screens */
  }
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  /* Shifted the ratios: gives the logo more room, and widens the address columns so text doesn't awkwardly wrap */
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: start;
  /* Forces all columns to align perfectly at the top edge */
}

.footer-brand img {
  height: 200px;
  /* Cranked way up */
  width: auto;
  /* Heavy negative margins to slice off the invisible padding on the image file */
  margin-top: -60px;
  margin-left: -24px;
  margin-bottom: -10px;
  /* Pulls the paragraph text up closer to the actual logo */
  filter: brightness(0) invert(1);
  object-fit: contain;
  object-position: left;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  font-size: 15px;
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.footer-column h5 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: var(--transition);
}

.footer-links li a:hover {
  color: #fff;
}

.footer-address {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.footer-address a {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   LARKO NAVIGATION CONVERTED STYLES
   ============================================================ */
.larko-shell {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, calc(100% - 40px));
  z-index: 1000;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(16, 78, 144, 0.07);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.larko-shell.scrolled {
  background: var(--bg-white);
  box-shadow: 0 10px 30px rgba(16, 78, 144, 0.08);
  border-color: rgba(16, 78, 144, 0.15);
}

.larko-nav {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.larko-base {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}

.larko-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.larko-logo-img {
  height: 200px;
  width: auto;
  margin: -35px -20px;
  transition: transform 0.2s ease;
  object-fit: contain;
}

.larko-logo-img:hover {
  transform: scale(1.03);
}

.larko-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.larko-link,
.larko-pages {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: none;
  transition: color 0.2s ease;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 0;
}

.larko-link:hover,
.larko-pages:hover,
.larko-link.active,
.larko-pages[aria-expanded='true'] {
  color: var(--accent);
  outline: none;
}

.larko-pages svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.larko-pages[aria-expanded='true'] svg {
  transform: rotate(180deg);
}

.larko-page-wrap {
  position: relative;
}

.larko-menu {
  position: absolute;
  z-index: 100;
  top: 48px;
  right: -18px;
  width: 240px;
  padding: 8px;
  border: 1px solid var(--border-color);
  background: #fff;
  box-shadow: 0 14px 30px rgba(16, 78, 144, 0.1);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.larko-menu a {
  display: block;
  padding: 9px 12px;
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.larko-menu a:hover,
.larko-menu a.active {
  background: var(--bg-light);
  color: var(--accent);
  outline: none;
}

.larko-mobile-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--accent);
  padding: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.larko-mobile-toggle svg {
  width: 26px;
  height: 26px;
}

.larko-mobile-panel {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 24px;
  border: 1px solid var(--border-color);
  background: var(--bg-cream);
  position: absolute;
  top: 76px;
  left: 0;
  right: 0;
  z-index: 999;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.larko-mobile-panel>a {
  padding: 12px 0;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-submenu-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-light);
  transition: color 0.2s ease;
}

.mobile-submenu-trigger:hover {
  color: var(--accent);
}

.larko-mobile-submenu {
  display: none;
  flex-direction: column;
  padding-left: 16px;
  background: rgba(7, 82, 255, 0.03);
  margin: 4px 0;
}

.larko-mobile-submenu a {
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  color: var(--text-body);
  font-family: var(--font-body);
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
}

.larko-mobile-submenu a:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .larko-base {
    padding: 0 24px;
  }

  .larko-links {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .larko-shell {
    top: 12px;
    width: calc(100% - 24px);
  }

  .larko-nav {
    height: 60px;
  }

  .larko-base {
    height: 46px;
    padding: 0 20px;
  }

  .larko-logo-img {
    height: 180px;
    /* Cranked up from 120px */
    width: auto;
    margin: -65px -30px;
    /* Heavy negative margin to chop off the extra whitespace */
    transition: transform 0.2s ease;
    object-fit: contain;
  }

  .larko-links,
  .larko-base>.precisa-btn {
    display: none;
  }

  .larko-mobile-toggle {
    display: inline-flex;
  }

  .larko-mobile-panel {
    top: 66px;
  }
}

/* ============================================================
   PRECISA BUTTON COMPONENT (NEW 0 RADIUS)
   ============================================================ */
.precisa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--accent);
  color: #fff !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: 0 !important;
  /* Force Sharp Edges */
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
}

.precisa-btn:hover {
  background: var(--navy);
  transform: translateY(-2px);
}

.precisa-btn:active {
  transform: scale(0.98);
}

/* Base outline button for secondary actions */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border-color);
  border-radius: 0 !important;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- SCROLL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.reveal-delay-4 {
  transition-delay: 0.32s;
}

/* ---------- RESPONSIVE OVERRIDES ---------- */
@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-left {
    padding: 130px 40px 60px;
    max-width: 100%;
  }

  .hero-right-video {
    height: 450px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-left {
    padding: 110px 24px 50px;
  }

  .hero-left .hero-title {
    font-size: 32px;
  }

  .hero-right-video {
    height: 350px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .larko-logo-img {
    height: 130px;
    margin: -40px -10px;
  }

  .cta-box {
    padding: 40px 24px;
  }

  /* Shrinks the massive testimonial cards on phones */
  .testimonial-slide {
    padding: 24px;
    /* Drops down from the desktop 40px padding */
  }

  .testimonial-quote {
    font-size: 16px;
    /* Shrinks the text so it doesn't wrap into 20 lines */
    margin-bottom: 20px;
  }

  .quote-icon-svg {
    margin-bottom: 16px;
    /* Tightens the gap under the quote marks */
  }
}

/* Blur-in Typewriter Effect */
.blur-char {
  opacity: 0;
  filter: blur(8px);
  display: inline-block;
  animation: blurInChar 0.4s forwards;
}

@keyframes blurInChar {
  to {
    opacity: 1;
    filter: blur(0);
  }
}
