:root {
  --blue: #0a49a3;
  --sky: #1882cf;
  --red: #ef363b;
  --rose: #cb2f67;
  --ink: #132033;
  --muted: #647084;
  --line: #dfe6ef;
  --soft: #f5f8fc;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(10, 73, 163, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 800;
  color: var(--blue);
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: #34445b;
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--red);
}

.nav-cta,
.primary-button,
.secondary-button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
}

.nav-cta,
.primary-button,
.contact-form button {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--red));
  box-shadow: 0 12px 24px rgba(239, 54, 59, 0.18);
}

.secondary-button {
  color: var(--blue);
  background: var(--white);
  border: 1px solid rgba(10, 73, 163, 0.22);
}

.hero {
  position: relative;
  min-height: calc(100vh - 83px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 72px) 120px;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--white));
  z-index: -1;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.86) 44%, rgba(255,255,255,0.18) 100%),
    url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1800&q=80") center right / cover;
}

.hero-photo {
  position: absolute;
  right: clamp(18px, 7vw, 110px);
  bottom: 58px;
  width: min(34vw, 390px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(135deg, var(--sky), var(--blue), var(--red)) border-box;
  border: 10px solid transparent;
  box-shadow: var(--shadow);
  opacity: 0.96;
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 12%;
  background: url("Beet_Vision_final_Logo.png") center / contain no-repeat;
}

.hero-content {
  max-width: 710px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 820px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: #415169;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

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

.stats {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1120px;
  margin: -64px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.stats div {
  padding: 28px 20px;
  background: var(--white);
  text-align: center;
}

.stats strong {
  display: block;
  color: var(--blue);
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1;
}

.stats span {
  color: var(--muted);
  font-weight: 700;
}

.section,
.split-section,
.jobs-band,
.contact-cta {
  padding: clamp(68px, 9vw, 108px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.service-card,
.job-card,
.testimonial-grid figure {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card {
  min-height: 280px;
  padding: 28px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 54, 59, 0.28);
  box-shadow: var(--shadow);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--red));
  font-weight: 800;
}

.service-card p {
  color: var(--muted);
}

.service-card a,
.job-card a {
  color: var(--red);
  font-weight: 800;
}

.jobs-band {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(10, 73, 163, 0.94), rgba(239, 54, 59, 0.88)),
    url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.section-heading.light .eyebrow,
.jobs-band .eyebrow {
  color: #ffffff;
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.job-card {
  display: grid;
  gap: 22px;
  min-height: 250px;
  padding: 26px;
  color: var(--ink);
}

.tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--blue);
  background: #edf5ff;
  font-size: 0.8rem;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

.split-section p {
  color: var(--muted);
  font-size: 1.06rem;
}

.process-list {
  display: grid;
  gap: 16px;
}

.process-list div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-left: 5px solid var(--red);
  background: var(--soft);
  border-radius: 8px;
}

.process-list span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
}

.process-list p {
  margin-bottom: 0;
}

.testimonials {
  background: var(--soft);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.testimonial-grid figure {
  margin: 0;
  padding: 28px;
}

.clients-marquee {
  padding: clamp(58px, 8vw, 92px) 0;
  overflow: hidden;
  background: var(--white);
}

.clients-marquee .section-heading {
  padding: 0 18px;
}

.marquee-track-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.marquee-track-wrap::before,
.marquee-track-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 2;
  width: min(15vw, 160px);
  height: 100%;
  pointer-events: none;
}

.marquee-track-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0));
}

.marquee-track-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--white), rgba(255, 255, 255, 0));
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: client-scroll 28s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.client-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  height: 92px;
  padding: 0 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(10, 73, 163, 0.08);
}

.client-logo.wide {
  min-width: 270px;
}

.client-logo.extra-wide {
  min-width: 340px;
}

.client-logo img {
  display: block;
  max-width: 190px;
  max-height: 54px;
  object-fit: contain;
}

.client-logo .logo-schaeffler {
  max-width: 230px;
}

.client-logo .logo-tekwissen {
  max-width: 210px;
}

.client-logo .logo-manipal {
  max-width: 300px;
  max-height: 64px;
}

@keyframes client-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 9px));
  }
}

blockquote {
  margin: 0 0 22px;
  color: #33445d;
  font-size: 1.02rem;
}

figcaption {
  color: var(--blue);
  font-weight: 800;
}

.contact-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 74px);
  align-items: start;
  background:
    radial-gradient(circle at 12% 22%, rgba(24, 130, 207, 0.14), transparent 32%),
    linear-gradient(180deg, #ffffff, #f7faff);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #34445b;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #ccd7e5;
  border-radius: 6px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

textarea {
  resize: vertical;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 30px;
  padding: 44px clamp(18px, 5vw, 72px);
  color: #d9e6f7;
  background: #0b1d35;
}

.site-footer img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  padding: 8px;
  border-radius: 50%;
  background: var(--white);
}

.site-footer h3 {
  color: var(--white);
  font-size: 1rem;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0 0 10px;
  color: #d9e6f7;
}

.google-reviews {
  background:
    linear-gradient(180deg, #ffffff, #f7faff);
}

.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto 24px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(10, 73, 163, 0.08);
}

.reviews-summary strong {
  display: block;
  color: var(--blue);
  font-size: 2.7rem;
  line-height: 1;
}

.reviews-summary p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
}

.stars {
  display: inline-flex;
  color: #f6b91a;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.google-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.google-review-card {
  display: grid;
  gap: 18px;
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.google-review-card p {
  margin-bottom: 0;
  color: #33445d;
}

.google-review-card strong,
.google-review-card span:last-child {
  display: block;
}

.google-review-card strong {
  color: var(--ink);
}

.google-review-card span:last-child {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 20%, rgba(24, 130, 207, 0.16), transparent 34%),
    linear-gradient(135deg, #ffffff, #f6f9fe);
}

.thank-you {
  width: min(680px, 100%);
  padding: clamp(28px, 6vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.thank-you img {
  width: 124px;
  height: 124px;
  object-fit: contain;
  margin-bottom: 18px;
}

.thank-you h1 {
  margin-bottom: 16px;
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.thank-you p:not(.eyebrow) {
  margin-bottom: 26px;
  color: var(--muted);
}

@media (max-width: 940px) {
  .site-header {
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
    padding-top: 70px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.8) 60%, rgba(255,255,255,0.34) 100%),
      url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1500&q=80") center / cover;
  }

  .hero-photo {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(70vw, 280px);
    margin-top: 34px;
  }

  .stats,
  .service-grid,
  .job-grid,
  .testimonial-grid,
  .google-review-grid,
  .split-section,
  .contact-cta,
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .split-section,
  .contact-cta {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding: 46px 16px 96px;
  }

  h1 {
    font-size: 2.6rem;
  }

  .hero-actions,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .stats,
  .service-grid,
  .job-grid,
  .testimonial-grid,
  .google-review-grid,
  .split-section,
  .contact-cta,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .reviews-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .stats {
    margin-left: 16px;
    margin-right: 16px;
  }

  .section,
  .split-section,
  .jobs-band,
  .clients-marquee,
  .contact-cta {
    padding-left: 16px;
    padding-right: 16px;
  }

  .clients-marquee {
    padding-left: 0;
    padding-right: 0;
  }

  .client-logo {
    min-width: 210px;
    height: 82px;
    padding: 0 20px;
  }

  .client-logo.wide {
    min-width: 230px;
  }

  .client-logo.extra-wide {
    min-width: 280px;
  }

  .client-logo img {
    max-width: 170px;
    max-height: 48px;
  }

  .client-logo .logo-schaeffler,
  .client-logo .logo-tekwissen {
    max-width: 200px;
  }

  .client-logo .logo-manipal {
    max-width: 240px;
    max-height: 54px;
  }
}
