/* ==========================================================================
   RK Label Machines — static site stylesheet
   Converted from the Next.js + Tailwind build. Section order in this file
   follows the page order: base → layout chrome → home sections → about
   sections → shared blocks (FAQ, quote form, footer, modals).
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  --rk-red: #e43730;
  --rk-red-dark: #c2281f;
  --rk-text: #616161;
  --rk-dark: #103d33;
  --rk-dark-2: #0b2d25;

  --ink: #1a1c1f;
  --ink-2: #222222;
  --muted: #6b6b6b;
  --body-text: #4c4546;
  --surface-blue: #f3fbff;

  --font-heading: "Barlow Semi Condensed", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --gradient-brand: linear-gradient(90deg, #f9e433 0%, #52afda 50%, #dd268f 100%);
  --gradient-btn: linear-gradient(135deg, #ffd700 0%, #00e676 45%, #ff1493 100%);
  --gradient-bar: linear-gradient(90deg, #ff1493 0%, #00e676 50%, #ffd700 100%);

  --header-h: 100px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

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

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

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* One container for the whole site — every section aligns to the same edge.
   Caps at 1520px = 1440px of content + two 40px gutters. */
.container-page {
  width: 100%;
  max-width: 1520px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container-page {
    padding-inline: 2rem;
  }
}

@media (min-width: 1024px) {
  .container-page {
    padding-inline: 2.5rem;
  }
}

/* Shared section rhythm */
.section {
  position: relative;
  padding-block: 40px;
}

.section--blue {
  background: var(--surface-blue);
}

.section--white {
  background: #fff;
}

/* Shared type scale */
.section-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink-2);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 40px;
  }
}

@media (min-width: 1280px) {
  .section-title {
    font-size: 48px;
  }
}

.section-lead {
  font-size: 16px;
  line-height: 1.636;
  color: var(--muted);
}

@media (min-width: 768px) {
  .section-lead {
    font-size: 18px;
  }
}

/* Red outline pill above a heading ("About Us", "Our Product", …) */
.eyebrow {
  display: inline-flex;
  padding: 1.5px;
  border-radius: 9999px;
  background: var(--rk-red);
}

.eyebrow > span {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 9999px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rk-red);
}

/* --------------------------------------------------------------------------
   Scroll-reveal — the CSS stand-in for framer-motion's whileInView.
   js/main.js toggles .is-visible via IntersectionObserver.
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.reveal--left {
  transform: translateX(-30px);
}

.reveal--right {
  transform: translateX(30px);
}

.reveal--scale {
  transform: scale(0.95);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Staggered-character buttons.

   Each character carries a duplicate of itself 1.3em below via text-shadow;
   hovering the .btn-stagger container rolls every character up by 1.3em, so
   the duplicate slides in from underneath. The solid background layer shrinks
   inward at the same time, widening the gradient ring around it.
   -------------------------------------------------------------------------- */
/* The clip window stays 1.3em tall (that is the roll distance), but the
   characters are centred inside it as flex items rather than sitting on a
   baseline — inline-blocks on a baseline drag the glyphs to the top of the
   box, which is what pushed every button label above centre. */
.stagger-text {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 1.3em;
  overflow: hidden;
  line-height: 1;
}

.stagger-text > span {
  position: relative;
  display: inline-block;
  white-space: pre;
  line-height: 1;
  /* DM Sans has more room above the caps than below the baseline, so trim the
     box to cap-height/baseline — then centring is optically exact. */
  text-box: trim-both cap alphabetic;
  text-shadow: 0 1.3em currentColor;
  transform: translateY(0) rotate(0.001deg);
  transition: transform 0.6s cubic-bezier(0.625, 0.05, 0, 1);
}

.btn-stagger:hover .stagger-text > span {
  transform: translateY(-1.3em) rotate(0.001deg);
}

/* Every button label sits in its own tight box (line-height 1) and centres
   itself, so the text lines up with the icon and the pill instead of riding
   high on whatever line-height it inherited. */
.btn-stagger {
  align-items: center;
  line-height: 1;
}

.btn-stagger .stagger {
  display: inline-block;
  align-self: center;
  line-height: 1;
  /* DM Sans carries more space above the caps than below the baseline, so a
     plain line box centres the text ~2px too high. Trimming the box down to
     cap-height/baseline makes the flex centring optically exact. */
  text-box: trim-both cap alphabetic;
}

/* Chrome < 133 / older Safari: no text-box — nudge the text down instead. */
@supports not (text-box: trim-both cap alphabetic) {
  .btn-stagger .stagger {
    transform: translateY(0.09em);
  }
}

.btn-stagger svg,
.btn-stagger img {
  flex: none;
  align-self: center;
}

.btn-stagger-bg {
  position: absolute;
  inset: 1.5px;
  border-radius: 9999px;
  transition: inset 0.6s cubic-bezier(0.625, 0.05, 0, 1);
}

/* Flush variant — for buttons whose ring is a real border rather than a
   gradient background: the fill sits flush at rest, the gap opens on hover. */
.btn-stagger-bg--flush {
  inset: 0;
}

.btn-stagger:hover .btn-stagger-bg {
  inset: 4px;
}

/* Gradient-ring pill button (Learn More, See All Product, Submit …) */
.btn-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding-inline: 28px;
  border-radius: 9999px;
  background: var(--gradient-btn);
}

.btn-pill__label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--rk-dark);
}

.btn-pill__label svg {
  transition: transform 0.3s;
}

.btn-pill:hover .btn-pill__label svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Scroll progress bar
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 60;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
  background: linear-gradient(90deg, #ffd700 0%, #00e676 35%, #00bcd4 65%, #ff1493 100%);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  font-family: var(--font-body);
}

.site-header__inner {
  display: flex;
  height: var(--header-h);
  align-items: center;
  justify-content: space-between;
}

.site-header__logo img {
  height: 56px;
  width: 56px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .site-header__logo img {
    height: 80px;
    width: 80px;
  }
}

.nav {
  display: none;
  align-items: center;
  gap: 40px;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
  }
}

.nav__item {
  position: relative;
  display: flex;
  height: var(--header-h);
  align-items: center;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 18px;
  font-weight: 400;
  color: var(--rk-text);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s;
}

.nav__link:hover,
.nav__link:hover > a {
  color: var(--rk-red);
}

.nav__link.is-active {
  font-weight: 600;
  color: var(--rk-red);
}

.nav__caret {
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s;
}

.nav__item.is-open .nav__caret {
  transform: rotate(180deg);
}

/* Dropdown — plain list (Company) */
.dropdown {
  position: absolute;
  left: 50%;
  top: 100%;
  z-index: 50;
  transform: translate(-50%, -4px);
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.2s,
    transform 0.2s,
    visibility 0.2s;
}

@media (min-width: 1280px) {
  .dropdown {
    top: 85px;
  }
}

.nav__item.is-open .dropdown {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.dropdown__list {
  min-width: 220px;
  padding-block: 8px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  outline: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown__list a {
  display: block;
  padding: 10px 20px;
  font-size: 18px;
  color: var(--rk-text);
  transition:
    background-color 0.2s,
    color 0.2s;
}

.dropdown__list a:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--rk-red);
}

/* Mega menu — Products. Anchored to the page container's right edge so it
   stays aligned with the nav on very wide screens instead of drifting out. */
.mega {
  position: fixed;
  right: max(1rem, calc((100vw - 1520px) / 2 + 2.5rem));
  top: var(--header-h);
  z-index: 50;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.2s,
    transform 0.2s,
    visibility 0.2s;
}

@media (min-width: 1280px) {
  .mega {
    right: max(2rem, calc((100vw - 1520px) / 2 + 2.5rem));
    top: 85px;
  }
}

.nav__item.is-open .mega {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mega__panel {
  width: min(96vw, 1060px);
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.25);
  outline: 1px solid rgba(0, 0, 0, 0.05);
}

.mega__list {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(8, minmax(0, 1fr));
  gap: 2px 12px;
  padding: 16px;
}

.mega__list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 18px;
  line-height: 1.375;
  color: var(--rk-text);
  transition: all 0.2s;
}

.mega__list a::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: rgba(97, 97, 97, 0.25);
  transition: background-color 0.2s;
}

.mega__list a:hover {
  background: rgba(228, 55, 48, 0.07);
  color: var(--rk-red);
}

.mega__list a:hover::before {
  background: var(--rk-red);
}

.mega__list span {
  white-space: nowrap;
}

/* Burger */
.nav-toggle {
  display: inline-flex;
  height: 44px;
  width: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--rk-dark);
  transition: background-color 0.2s;
}

.nav-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle .icon-close,
.nav-toggle.is-open .icon-menu {
  display: none;
}

.nav-toggle.is-open .icon-close {
  display: block;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset-inline: 0;
  top: var(--header-h);
  bottom: 0;
  z-index: 40;
  display: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: #fff;
  animation: menu-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.is-open {
  display: block;
}

@media (min-width: 1024px) {
  .mobile-menu.is-open {
    display: none;
  }
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  padding: 16px 24px;
}

.mobile-row {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-row:last-child {
  border-bottom: 0;
}

.mobile-row__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-row__label {
  flex: 1;
  padding-block: 12px;
  text-align: left;
  font-size: 18px;
  color: var(--rk-text);
}

.mobile-row__label.is-active {
  font-weight: 600;
  color: var(--rk-red);
}

.mobile-row__toggle {
  margin-right: -8px;
  padding: 12px;
  color: var(--rk-text);
}

.mobile-row__toggle svg {
  transition: transform 0.2s;
}

.mobile-row.is-open .mobile-row__toggle svg {
  transform: rotate(180deg);
}

.mobile-sub {
  display: none;
  flex-direction: column;
  padding-bottom: 8px;
}

.mobile-row.is-open .mobile-sub {
  display: flex;
}

.mobile-sub--scroll {
  max-height: 50vh;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-sub a {
  padding: 8px 0 8px 16px;
  font-size: 18px;
  color: var(--rk-text);
}

/* --------------------------------------------------------------------------
   Home — hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: var(--header-h);
  min-height: calc(100vh - var(--header-h));
  background: var(--rk-dark);
  color: #fff;
}

@media (min-width: 1024px) {
  .hero {
    min-height: 800px;
  }
}

/* pointer-events:none across the whole background so nothing ever intercepts
   a click meant for the copy layer above it. */
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__bg img,
.hero__bg video {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

/* The video fades in only once it is actually playing — the photo underneath
   is the LCP layer and covers the load. */
.hero__video {
  opacity: 0;
  transition: opacity 1s;
}

.hero__video.is-playing {
  opacity: 1;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    100deg,
    rgba(11, 45, 37, 0.85) 0%,
    rgba(11, 45, 37, 0.65) 45%,
    rgba(11, 45, 37, 0.35) 75%,
    rgba(11, 45, 37, 0.25) 100%
  );
}

.hero__inner {
  position: relative;
  padding-block: 40px;
}

.hero__copy {
  margin-inline: auto;
  max-width: 900px;
  text-align: center;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  color: #fff;
}

@media (min-width: 640px) {
  .hero__title {
    font-size: 56px;
  }
}

@media (min-width: 1280px) {
  .hero__title {
    font-size: 85px;
  }
}

.hero__title .accent {
  color: var(--rk-red);
}

.hero__text {
  margin: 28px auto 0;
  max-width: 892px;
  font-size: 16px;
  line-height: 1.5;
  color: #dadada;
}

@media (min-width: 640px) {
  .hero__text {
    font-size: 18px;
  }
}

.hero__cta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* Hero entrance — each headline line rises into place with a staggered delay
   (set per element via --d), then the copy and CTAs follow. */
@keyframes hero-enter {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-line {
  display: block;
  opacity: 0;
  transform: translateY(48px);
  animation: hero-enter 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--d, 0s);
}

.hero-rise {
  opacity: 0;
  transform: translateY(16px);
  animation: hero-enter 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--d, 0s);
}

/* Ambient decorative dots — composited (transform/opacity only) */
.hero__dot {
  position: absolute;
  display: none;
  border-radius: 9999px;
  filter: blur(1px);
}

@media (min-width: 1024px) {
  .hero__dot {
    display: block;
  }
}

.hero__dot--1 {
  top: 25%;
  right: 15%;
  height: 12px;
  width: 12px;
  background: rgba(228, 55, 48, 0.7);
  animation: hero-dot-1 5s ease-in-out infinite;
}

.hero__dot--2 {
  top: 40%;
  right: 8%;
  height: 8px;
  width: 8px;
  background: rgba(255, 215, 0, 0.6);
  animation: hero-dot-2 6s ease-in-out 1s infinite;
}

.hero__dot--3 {
  top: 55%;
  right: 20%;
  height: 10px;
  width: 10px;
  background: rgba(0, 230, 118, 0.6);
  animation: hero-dot-3 7s ease-in-out 2s infinite;
}

.hero__dot--4 {
  top: 30%;
  right: 35%;
  height: 6px;
  width: 6px;
  background: rgba(255, 255, 255, 0.7);
  animation: hero-dot-4 5.5s ease-in-out 0.5s infinite;
}

@keyframes hero-dot-1 {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-20px);
    opacity: 0.6;
  }
}

@keyframes hero-dot-2 {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.2;
  }
  50% {
    transform: translateY(-15px);
    opacity: 0.5;
  }
}

@keyframes hero-dot-3 {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.25;
  }
  50% {
    transform: translateY(-25px);
    opacity: 0.55;
  }
}

@keyframes hero-dot-4 {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.2;
  }
  50% {
    transform: translateY(-18px);
    opacity: 0.45;
  }
}

/* CTA halo — a scaling/fading ring (transform + opacity, never box-shadow) */
.pulse-wrap {
  position: relative;
  border-radius: 9999px;
}

.pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  pointer-events: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
  animation: hero-pulse-ring 2s ease-out infinite;
}

@keyframes hero-pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.45;
  }
  100% {
    transform: scale(1.28);
    opacity: 0;
  }
}

.btn-hero-quote {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding-inline: 28px;
  border: 1.5px solid #fff;
  border-radius: 9999px;
}

.btn-hero-quote .btn-stagger-bg {
  background: #fff;
}

.btn-hero-quote__label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--rk-dark);
}

.btn-hero-quote__label svg {
  transition: transform 0.3s;
}

.btn-hero-quote:hover .btn-hero-quote__label svg {
  transform: translateX(4px);
}

.btn-catalogue {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding-inline: 28px;
  border-radius: 9999px;
  background: var(--gradient-btn);
}

.btn-catalogue .btn-stagger-bg {
  background: var(--rk-dark);
}

.btn-catalogue__label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

/* --------------------------------------------------------------------------
   Home — journey
   -------------------------------------------------------------------------- */
.journey {
  position: relative;
  overflow-x: clip;
  background: #fff;
  padding-block: 40px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 140% auto;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.94)),
    url("../assets/Home/Journey_bg-1920.webp");
}

@supports (background-image: image-set(url("i.webp") type("image/webp"))) {
  .journey {
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.94)),
      image-set(
        url("../assets/Home/Journey_bg-1920.avif") type("image/avif"),
        url("../assets/Home/Journey_bg-1920.webp") type("image/webp")
      );
  }
}

@media (max-width: 768px) {
  .journey {
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.94)),
      url("../assets/Home/Journey_bg-1024.webp");
  }
}

.journey__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .journey__grid {
    grid-template-columns: 655fr 735fr;
    gap: 90px;
  }
}

.journey__media {
  position: relative;
  order: 2;
  width: 100%;
  aspect-ratio: 655 / 400;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  outline: 1px solid rgba(0, 0, 0, 0.05);
}

@media (min-width: 1024px) {
  .journey__media {
    order: 1;
  }
}

.journey__copy {
  order: 1;
}

@media (min-width: 1024px) {
  .journey__copy {
    order: 2;
  }
}

.journey__title {
  margin-top: 20px;
  max-width: 735px;
}

.journey__body {
  margin-top: 24px;
  max-width: 735px;
  font-size: 16px;
  line-height: 1.636;
  color: var(--rk-text);
}

@media (min-width: 640px) {
  .journey__body {
    font-size: 18px;
  }
}

/* Proof points under the journey copy — brand-red bullet, matching body type. */
.journey__points {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 735px;
}

.journey__points li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.636;
  color: var(--rk-text);
}

@media (min-width: 640px) {
  .journey__points li {
    font-size: 18px;
  }
}

.journey__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  height: 7px;
  width: 7px;
  border-radius: 9999px;
  background: var(--rk-red);
}

.journey__cta {
  margin-top: 32px;
}

.journey__cta .btn-stagger-bg {
  background: #fff;
}

/* YouTube facade — poster + play button; the real iframe is injected on click */
.yt-facade {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
}

.yt-facade__btn {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
}

.yt-facade__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s;
}

.yt-facade__btn:hover .yt-facade__overlay {
  background: rgba(0, 0, 0, 0.3);
}

.yt-facade__play {
  display: inline-flex;
  height: 64px;
  width: 64px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25);
  color: var(--rk-red);
  transition: transform 0.2s;
}

.yt-facade__btn:hover .yt-facade__play {
  transform: scale(1.1);
}

.yt-facade iframe {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   Home — machinery (tabs + product cards)
   -------------------------------------------------------------------------- */
.machinery__head {
  display: flex;
  flex-direction: column;
}

.machinery__eyebrow {
  align-self: flex-start;
}

.machinery__row {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 1024px) {
  .machinery__row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }
}

.machinery__title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--ink-2);
}

@media (min-width: 640px) {
  .machinery__title {
    font-size: 34px;
  }
}

@media (min-width: 768px) {
  .machinery__title {
    font-size: 38px;
  }
}

@media (min-width: 1280px) {
  .machinery__title {
    font-size: 44px;
    white-space: nowrap;
  }
}

.machinery__cta {
  flex-shrink: 0;
  align-self: flex-start;
}

@media (min-width: 1024px) {
  .machinery__cta {
    align-self: auto;
  }
}

.machinery__cta .btn-stagger-bg {
  background: var(--surface-blue);
}

.machinery__lead {
  margin-top: 16px;
  max-width: 950px;
}

/* Tab strip — bordered top & bottom, horizontally scrollable while the four
   labels overflow (below ~1500px), with a right-edge fade hint. */
.tabs {
  position: relative;
  margin-top: 40px;
}

@media (min-width: 640px) {
  .tabs {
    margin-top: 56px;
  }
}

.tabs__scroller {
  border-block: 1px solid rgba(0, 0, 0, 0.1);
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.tabs__scroller::-webkit-scrollbar {
  display: none;
}

.tabs__list {
  display: flex;
  min-width: max-content;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
}

@media (min-width: 640px) {
  .tabs__list {
    gap: 40px;
  }
}

@media (min-width: 1024px) {
  .tabs__list {
    gap: 64px;
  }
}

@media (min-width: 1280px) {
  .tabs__list {
    gap: 56px;
  }
}

@media (min-width: 1500px) {
  .tabs__list {
    min-width: 0;
    width: 100%;
    justify-content: space-between;
    gap: 0;
  }
}

.tab {
  position: relative;
  padding-block: 20px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  transition: color 0.2s;
}

@media (min-width: 640px) {
  .tab {
    font-size: 14px;
  }
}

@media (min-width: 1280px) {
  .tab {
    font-size: 18px;
  }
}

.tab:hover {
  color: var(--rk-red);
}

.tab.is-active {
  font-weight: 600;
  color: var(--rk-red);
}

.tab::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 9999px;
  background: var(--gradient-bar);
  opacity: 0;
  transform: scaleX(0.6);
  transition:
    opacity 0.25s,
    transform 0.25s;
}

.tab.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.tabs__fade {
  position: absolute;
  right: 0;
  top: 1px;
  bottom: 1px;
  width: 48px;
  pointer-events: none;
  background: linear-gradient(to left, var(--surface-blue), transparent);
}

@media (min-width: 1500px) {
  .tabs__fade {
    display: none;
  }
}

/* Card grid */
.product-grid {
  margin-top: 40px;
  display: grid;
  gap: 24px;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Product card */
.product-card {
  position: relative;
  display: flex;
  height: 340px;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}

@media (min-width: 640px) {
  .product-card {
    height: 360px;
  }
}

@media (min-width: 1024px) {
  .product-card {
    height: 380px;
  }
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.product-card__media {
  position: relative;
  margin: 12px;
  flex: 1;
  overflow: hidden;
  border-radius: 12px;
  background: radial-gradient(ellipse at center, #e8f4f8 0%, #c5dde8 65%, #a8c8d8 100%);
}

.product-card__img {
  position: absolute;
  inset: 0;
  padding: 8px;
}

@media (min-width: 640px) {
  .product-card__img {
    padding: 12px;
  }
}

.product-card__img img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card__img img {
  transform: scale(1.1) translateY(-8px);
}

/* Specs overlay — hidden by default; desktop reveals on hover, touch reveals
   on the first tap (a second tap then follows the link, see js/main.js). */
.product-card__specs {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(3px);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card__specs.is-revealed {
  transform: translateY(0);
}

@media (min-width: 1024px) {
  .product-card:hover .product-card__specs {
    transform: translateY(0);
  }
}

.product-card__specs-bar {
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  padding: 12px 0 4px;
}

@media (min-width: 640px) {
  .product-card__specs-bar {
    padding-top: 16px;
  }
}

.product-card__specs-bar span {
  display: block;
  height: 3px;
  width: 64px;
  border-radius: 9999px;
  background: var(--gradient-bar);
}

.product-card__specs dl {
  display: flex;
  height: 100%;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 0 20px 12px;
}

@media (min-width: 640px) {
  .product-card__specs dl {
    padding-inline: 24px;
  }
}

.product-card__spec {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 12px;
  padding-block: 4px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.product-card__spec:first-child {
  border-top: 0;
}

@media (min-width: 640px) {
  .product-card__spec {
    grid-template-columns: 110px 1fr;
    gap: 16px;
  }
}

.product-card__spec dt,
.product-card__spec dd {
  margin: 0;
  font-weight: 600;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(255, 255, 255, 0.7);
}

.product-card__spec dt {
  font-size: 12.5px;
  line-height: 1.25;
  color: #000;
}

.product-card__spec dd {
  text-align: right;
  font-size: 11.5px;
  line-height: 1.375;
  color: var(--ink);
}

@media (min-width: 640px) {
  .product-card__spec dt {
    font-size: 14px;
  }
  .product-card__spec dd {
    font-size: 13px;
  }
}

@media (min-width: 768px) {
  .product-card__spec dt {
    font-size: 16px;
  }
}

@media (min-width: 1280px) {
  .product-card__spec dt {
    font-size: 18px;
  }
}

/* Title row — fixed height + 2-line clamp so every card's image area is
   identical and the arrows line up across the grid. */
.product-card__foot {
  display: flex;
  height: 84px;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-inline: 24px;
}

.product-card__foot h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--ink);
}

@media (min-width: 768px) {
  .product-card__foot h3 {
    font-size: 18px;
  }
}

.product-card__arrow {
  display: inline-flex;
  height: 40px;
  width: 40px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #0f0f0f;
  color: #fff;
  transition: transform 0.5s;
}

.product-card:hover .product-card__arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Home — why precision
   -------------------------------------------------------------------------- */
.why__grid {
  display: grid;
  gap: 48px;
  align-items: start;
}

@media (min-width: 1024px) {
  .why__grid {
    grid-template-columns: 440fr 900fr;
    gap: 40px;
  }
}

@media (min-width: 1280px) {
  .why__grid {
    gap: 80px;
  }
}

.why__title {
  margin-top: 20px;
  max-width: 456px;
}

.why__lead {
  margin-top: 20px;
  max-width: 490px;
}

.why__cards {
  display: grid;
  gap: 32px;
}

@media (min-width: 640px) {
  .why__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.why-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  border-radius: 16px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}

@media (min-width: 768px) {
  .why-card {
    flex-direction: row;
  }
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.why-card__icon {
  display: inline-flex;
  height: 44px;
  width: 44px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.why-card__body {
  flex: 1;
  min-width: 0;
}

.why-card h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  color: #000;
}

@media (min-width: 768px) {
  .why-card h3 {
    font-size: 24px;
  }
}

@media (min-width: 1280px) {
  .why-card h3 {
    font-size: 28px;
  }
}

.why-card p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.636;
  color: var(--body-text);
}

@media (min-width: 768px) {
  .why-card p {
    font-size: 18px;
  }
}

/* --------------------------------------------------------------------------
   Stats (home + about)
   -------------------------------------------------------------------------- */
.stats {
  position: relative;
  overflow: hidden;
  background: var(--surface-blue);
  padding-block: 64px;
}

@media (min-width: 768px) {
  .stats {
    padding-block: 80px;
  }
}

@media (min-width: 1280px) {
  .stats {
    padding-block: 96px;
  }
}

/* About page uses the compact rhythm */
.stats--compact {
  padding-block: 40px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 40px;
}

@media (min-width: 768px) {
  .stats__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-inline: 16px;
}

@media (min-width: 1024px) {
  .stat {
    padding-inline: 32px;
  }
}

/* Vertical divider on the right of every item except the last */
.stat::after {
  content: "";
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 112px;
  width: 1px;
  background: var(--rk-red);
}

@media (min-width: 1024px) {
  .stat:not(:last-child)::after {
    display: block;
  }
}

.stat:first-child::after {
  background: #9e9e9e;
}

.stat__value {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

@media (min-width: 768px) {
  .stat__value {
    font-size: 38px;
  }
}

@media (min-width: 1280px) {
  .stat__value {
    font-size: 60px;
  }
}

.stat__value .suffix {
  color: var(--rk-red);
}

.stat__label {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  white-space: pre-line;
}

@media (min-width: 1280px) {
  .stat__label {
    font-size: 15px;
  }
}

/* --------------------------------------------------------------------------
   Home — global reach (globe + region cards)
   -------------------------------------------------------------------------- */
.globe-section {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding-block: 48px;
}

.globe-section__head {
  margin-bottom: 48px;
  text-align: center;
}

.globe-section__head .section-lead {
  margin: 20px auto 0;
  max-width: 900px;
}

.globe-section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 1024px) {
  .globe-section__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  }
}

.globe-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e4e9f0;
  box-shadow: 0 12px 34px -18px rgba(15, 22, 35, 0.22);
}

.globe-host {
  position: relative;
  height: 100%;
  width: 100%;
  min-height: clamp(380px, 42vw, 560px);
  cursor: grab;
  touch-action: none;
}

.globe-host canvas {
  position: absolute;
  inset: 0;
  display: block;
}

.globe-pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.globe-tip {
  position: absolute;
  z-index: 20;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  transform: translateX(-50%);
  pointer-events: none;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e4e9f0;
  box-shadow: 0 10px 30px rgba(15, 22, 35, 0.18);
}

.globe-tip.is-on {
  display: flex;
}

.globe-tip span {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  color: #1d2733;
}

.globe-hint {
  position: absolute;
  right: 16px;
  top: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 30px;
  font-size: 11.5px;
  letter-spacing: 0.3px;
  color: #5b6776;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 22, 35, 0.1);
  transition: opacity 0.5s;
}

@keyframes globe-pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.4);
    opacity: 0.7;
  }
  70% {
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.6);
    opacity: 0;
  }
}

.regions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.region-card {
  cursor: pointer;
  border-radius: 16px;
  padding: 12px 16px;
  background: #fbfcfe;
  border: 1px solid #e8ecf2;
  transition: all 0.2s;
}

.region-card:hover {
  background: rgba(236, 0, 140, 0.05);
  border-color: rgba(236, 0, 140, 0.45);
  box-shadow: 0 10px 26px -14px rgba(236, 0, 140, 0.45);
  transform: translateX(-3px);
}

/* The card whose arc-wave is currently in flight gets a soft ring */
.region-card.is-waving:not(:hover) {
  border-color: rgba(236, 0, 140, 0.35);
  box-shadow: 0 0 0 3px rgba(236, 0, 140, 0.08);
}

.region-card--india {
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(236, 0, 140, 0.09), rgba(236, 0, 140, 0.02));
  border: 1.5px solid rgba(236, 0, 140, 0.3);
}

.region-card--india:hover {
  background: linear-gradient(135deg, rgba(236, 0, 140, 0.09), rgba(236, 0, 140, 0.02));
  border-color: #ec008c;
  box-shadow: 0 10px 26px -14px rgba(236, 0, 140, 0.5);
}

.region-card--india .india-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.region-card--india img {
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.region-card--india .india-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ec008c;
}

.region-card--india .india-sub {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #5b6776;
}

.region-card__head {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.region-card__name {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1d2733;
  transition: color 0.2s;
}

.region-card:hover .region-card__name {
  color: #ec008c;
}

.region-card__count {
  border-radius: 9999px;
  padding: 2px 8px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  background: #f1f4f8;
  color: #5b6776;
  transition: all 0.2s;
}

.region-card:hover .region-card__count,
.region-card.is-waving .region-card__count {
  background: rgba(236, 0, 140, 0.1);
  color: #ec008c;
}

.region-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 9999px;
  border: 1px solid #e4e9f0;
  background: #fff;
  padding: 4px 8px;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 600;
  color: #3a4756;
  transition: all 0.15s;
}

.chip:hover {
  border-color: rgba(236, 0, 140, 0.5);
  background: rgba(236, 0, 140, 0.07);
  color: #ec008c;
}

.chip img {
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
}

/* HQ modal inside the globe card */
.hq-modal {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.hq-modal.is-open {
  display: flex;
}

@media (min-width: 640px) {
  .hq-modal {
    padding: 20px;
  }
}

.hq-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.hq-modal__panel {
  position: relative;
  display: flex;
  max-height: 100%;
  width: 100%;
  max-width: 420px;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hq-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e8ecf2;
  padding: 14px 20px;
}

.hq-modal__head > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hq-modal__head h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: #11161f;
}

.hq-modal__close {
  border-radius: 6px;
  padding: 6px;
  color: #5b6776;
  transition: background-color 0.2s;
}

.hq-modal__close:hover {
  background: #f1f4f8;
}

.hq-modal__body {
  padding: 16px 20px;
  overflow-y: auto;
}

.hq-office {
  border-radius: 12px;
  border: 1px solid #e8ecf2;
  background: #fbfcfe;
  padding: 14px;
}

.hq-office + .hq-office {
  margin-top: 10px;
}

.hq-office__title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #ec008c;
}

.hq-office__addr {
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: #1d2733;
}

/* --------------------------------------------------------------------------
   Home — testimonials
   -------------------------------------------------------------------------- */
.testimonials {
  position: relative;
  overflow: hidden;
  background: var(--surface-blue);
  padding-block: 40px;
}

.testimonials__head {
  margin-inline: auto;
  max-width: 900px;
  text-align: center;
}

.testimonials__title {
  color: #000;
}

.testimonials__head .section-lead {
  margin-top: 20px;
}

/* overflow-x:clip hides the off-screen slides horizontally while letting each
   card's shadow and hover-lift show vertically. */
.testimonials__viewport {
  margin-top: 48px;
  overflow-x: clip;
  padding-block: 8px;
}

.testimonials__track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonials__slide {
  display: flex;
  flex-shrink: 0;
  padding-inline: 12px;
}

.testimonial {
  position: relative;
  display: flex;
  height: 100%;
  width: 100%;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}

.testimonial:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.testimonial__bar {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
}

.testimonial__stars {
  display: flex;
  gap: 4px;
  color: #ffd700;
}

.testimonial__quote {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.6;
  color: #4a4a4a;
}

@media (min-width: 768px) {
  .testimonial__quote {
    font-size: 16px;
  }
}

@media (min-width: 1280px) {
  .testimonial__quote {
    font-size: 18px;
  }
}

/* Author is pinned to the bottom so every card is equal height */
.testimonial__author {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  display: inline-flex;
  height: 44px;
  width: 44px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.testimonial__name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

@media (min-width: 768px) {
  .testimonial__name {
    font-size: 16px;
  }
}

@media (min-width: 1280px) {
  .testimonial__name {
    font-size: 18px;
  }
}

.testimonial__role {
  margin-top: 2px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.testimonials__dots {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.testimonials__dots button {
  height: 8px;
  width: 32px;
  border-radius: 9999px;
  background: #d0d0d0;
  transition: all 0.3s;
}

.testimonials__dots button:hover {
  background: #a0a0a0;
}

.testimonials__dots button.is-active {
  width: 40px;
  background: var(--ink);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq {
  background: #fff;
  padding-block: 40px;
}

.faq .container-page {
  max-width: 896px;
}

.faq__head {
  text-align: center;
}

.faq__head-inner {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
}

.faq__title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--ink);
}

@media (min-width: 768px) {
  .faq__title {
    font-size: 40px;
  }
}

@media (min-width: 1024px) {
  .faq__title {
    font-size: 44px;
  }
}

@media (min-width: 1280px) {
  .faq__title {
    font-size: 48px;
  }
}

.faq__underline {
  margin: 12px auto 0;
  height: 3px;
  width: 96px;
  border-radius: 9999px;
  background: var(--gradient-brand);
}

.faq__list {
  margin-top: 40px;
  border-block: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-item + .faq-item {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-item__q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
  text-align: left;
}

.faq-item__q span {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.375;
  color: var(--ink);
  transition: color 0.2s;
}

@media (min-width: 768px) {
  .faq-item__q span {
    font-size: 18px;
  }
}

.faq-item.is-open .faq-item__q span {
  color: var(--rk-red);
}

.faq-item__q svg {
  flex-shrink: 0;
  color: var(--rk-red);
  transition: transform 0.3s;
}

.faq-item.is-open .faq-item__q svg {
  transform: rotate(180deg);
}

/* Always in the DOM (height-animated) so the answers stay crawlable */
.faq-item__a {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition:
    height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.is-open .faq-item__a {
  opacity: 1;
}

.faq-item__a p {
  padding: 0 32px 20px 0;
  font-size: 14px;
  line-height: 1.625;
  color: var(--rk-text);
}

@media (min-width: 768px) {
  .faq-item__a p {
    font-size: 16px;
  }
}

@media (min-width: 1280px) {
  .faq-item__a p {
    font-size: 18px;
  }
}

/* --------------------------------------------------------------------------
   Quote form
   -------------------------------------------------------------------------- */
.quote {
  position: relative;
  overflow: hidden;
  padding-block: 40px;
}

.quote__grid {
  display: grid;
  gap: 48px;
  align-items: start;
}

@media (min-width: 1024px) {
  .quote__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 80px;
  }
}

.quote__title {
  max-width: 624px;
}

.quote__lead {
  margin-top: 20px;
  max-width: 480px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.quote__contacts {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.quote__contact {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s;
}

.quote__contact:hover {
  color: var(--rk-red);
}

.quote__contact svg {
  color: var(--rk-red);
}

.quote__ctas {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn-wa,
.btn-call {
  display: inline-flex;
  height: 48px;
  min-width: 180px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 6px;
  padding-inline: 24px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s;
}

/* Both icons occupy the same 20px box so the labels line up across the two
   buttons even though the source SVGs differ in size. */
.btn-wa img,
.btn-call img {
  flex: none;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.btn-wa .stagger,
.btn-call .stagger {
  display: inline-block;
  line-height: 1;
}

.btn-wa {
  background: #25d366;
}

.btn-wa:hover {
  background: #1fb957;
}

.btn-call {
  background: #103d33;
}

.btn-call:hover {
  background: #0b2d25;
}

/* Gradient-border card wrapping the form */
.quote__card {
  position: relative;
  border-radius: 24px;
  padding: 2px;
  background: var(--gradient-brand);
}

.quote__card-inner {
  position: relative;
  border-radius: 24px;
  background: #fff;
  padding: 32px;
}

@media (min-width: 768px) {
  .quote__card-inner {
    padding: 40px;
  }
}

@media (min-width: 1024px) {
  .quote__card-inner {
    padding: 48px;
  }
}

.form {
  display: grid;
  gap: 16px;
}

.form__row {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .form__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  color: var(--body-text);
}

@media (min-width: 1280px) {
  .field label {
    font-size: 16px;
  }
}

.field label .req {
  color: var(--rk-red);
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  background: transparent;
  padding-block: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  transition: border-color 0.2s;
}

.field textarea {
  resize: none;
  line-height: 1.4;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6b7280;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
}

/* Phone field — the underline moves to the wrapper so it spans the country
   prefix and the input together. */
.field__wrap {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  transition: border-color 0.2s;
}

.field__wrap:focus-within {
  border-color: var(--ink);
}

.field__wrap input {
  border-bottom: 0;
}

.field__prefix {
  padding-right: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.field.has-error input,
.field.has-error textarea,
.field.has-error .field__wrap {
  border-color: var(--rk-red);
}

.field__error {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--rk-red);
  display: none;
}

.field.has-error .field__error {
  display: block;
}

.form__submit {
  position: relative;
  margin-top: 16px;
  display: inline-flex;
  height: 52px;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--gradient-brand);
}

.form__submit .btn-stagger-bg {
  background: #fff;
}

.form__submit-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink-2);
}

@media (min-width: 1280px) {
  .form__submit-label {
    font-size: 18px;
  }
}

.form__submit-label svg {
  transition: transform 0.3s;
}

.form__submit:hover .form__submit-label svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   About — hero + tagline
   -------------------------------------------------------------------------- */
.about-hero {
  position: relative;
  min-height: 50vh;
  overflow: hidden;
  background: var(--rk-dark);
  color: #fff;
}

@media (min-width: 1024px) {
  .about-hero {
    min-height: 460px;
  }
}

.about-hero__bg {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.4) 100%),
    url("../assets/Home/hero_bg-1920.webp");
}

@supports (background-image: image-set(url("i.webp") type("image/webp"))) {
  .about-hero__bg {
    background-image:
      linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.4) 100%),
      image-set(
        url("../assets/Home/hero_bg-1920.avif") type("image/avif"),
        url("../assets/Home/hero_bg-1920.webp") type("image/webp")
      );
  }
}

@media (max-width: 768px) {
  .about-hero__bg {
    background-image:
      linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.4) 100%),
      url("../assets/Home/hero_bg-1024.webp");
  }
}

.about-hero__inner {
  position: relative;
  display: flex;
  min-height: 50vh;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 48px;
}

@media (min-width: 1024px) {
  .about-hero__inner {
    min-height: 460px;
    padding-top: 140px;
  }
}

.about-hero__title {
  max-width: 896px;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
}

@media (min-width: 768px) {
  .about-hero__title {
    font-size: 40px;
  }
}

@media (min-width: 1280px) {
  .about-hero__title {
    font-size: 48px;
  }
}

.tagline {
  margin-inline: auto;
  max-width: 1024px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--ink);
}

@media (min-width: 768px) {
  .tagline {
    font-size: 40px;
  }
}

@media (min-width: 1280px) {
  .tagline {
    font-size: 48px;
  }
}

.tagline .accent {
  color: var(--rk-red);
}

/* --------------------------------------------------------------------------
   About — vision / mission / goal
   -------------------------------------------------------------------------- */
.vmg {
  position: relative;
  overflow-x: clip;
  background: #fff;
  padding-block: 40px;
}

.vmg__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.vmg__item {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .vmg__item {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px;
  }

  /* Alternating rows put the image on the right */
  .vmg__item--reverse .vmg__media {
    order: 2;
  }
}

.vmg__media {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .vmg__media {
    max-width: 420px;
  }
}

/* From lg up the photo hugs the outer edge of its column — the same left/right
   edge as the header — instead of floating in the middle of the column. */
@media (min-width: 1024px) {
  .vmg__media {
    max-width: 520px;
    margin-inline: 0 auto;
  }

  .vmg__item--reverse .vmg__media {
    margin-inline: auto 0;
  }

  .vmg__main {
    aspect-ratio: 1 / 0.98;
  }
}

.vmg__main {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  border-radius: 32px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition:
    box-shadow 0.7s,
    transform 0.7s;
}

.vmg__media:hover .vmg__main {
  transform: scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Small overlapping photo — floats gently, and its overhang lands in the side
   gutter (the main image is narrower on phones) so the page never scrolls. */
.vmg__overlay {
  position: absolute;
  top: 25%;
  height: 130px;
  width: 120px;
  overflow: hidden;
  border-radius: 20px;
  background: #1a1a1a;
  background-size: cover;
  background-position: center;
  outline: 6px solid #fff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: vmg-float 4s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
  transition: transform 0.5s;
}

@media (min-width: 640px) {
  .vmg__overlay {
    height: 160px;
    width: 150px;
  }
}

@media (min-width: 1024px) {
  .vmg__overlay {
    height: 265px;
    width: 270px;
    border-radius: 24px;
    outline-width: 8px;
  }
}

.vmg__overlay--right {
  right: 0;
  translate: 18% 0;
}

.vmg__overlay--left {
  left: 0;
  translate: -18% 0;
}

@media (min-width: 640px) {
  .vmg__overlay--right {
    translate: 22% 0;
  }
  .vmg__overlay--left {
    translate: -22% 0;
  }
}

@media (min-width: 1024px) {
  .vmg__overlay--right {
    translate: 38% 0;
  }
  .vmg__overlay--left {
    translate: -38% 0;
  }
}

.vmg__media:hover .vmg__overlay {
  transform: scale(1.1);
}

@keyframes vmg-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.vmg__copy h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #000;
}

@media (min-width: 768px) {
  .vmg__copy h2 {
    font-size: 40px;
  }
}

@media (min-width: 1280px) {
  .vmg__copy h2 {
    font-size: 48px;
  }
}

.vmg__paras {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vmg__paras p {
  font-size: 16px;
  line-height: 1.636;
  color: var(--muted);
}

.vmg__paras strong {
  font-weight: 600;
  color: var(--ink);
}

@media (min-width: 768px) {
  .vmg__paras p {
    font-size: 18px;
  }
}

/* --------------------------------------------------------------------------
   About — timeline
   -------------------------------------------------------------------------- */
.timeline-section {
  position: relative;
  overflow: hidden;
  background: var(--surface-blue);
  padding-block: 40px;
}

.timeline-section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.25;
  background-image: url("../assets/about/Frame.svg");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

.timeline {
  position: relative;
  margin: 64px auto 0;
  max-width: 1100px;
}

@media (min-width: 1024px) {
  .timeline {
    margin-top: 80px;
  }
}

/* Centre line — gray base with a scroll-driven red fill (js/main.js sets the
   scaleY on .timeline__fill as the section passes through the viewport). */
.timeline__line {
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #d9d9d9;
}

@media (min-width: 768px) {
  .timeline__line {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline__fill {
  position: absolute;
  inset: 0;
  transform-origin: top;
  transform: scaleY(0);
  background: var(--rk-red);
}

.timeline__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .timeline__list {
    gap: 0;
  }
}

.milestone {
  position: relative;
}

@media (min-width: 768px) {
  .milestone {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px;
    align-items: start;
    margin-bottom: -32px;
  }
}

@media (min-width: 1024px) {
  .milestone {
    gap: 96px;
  }
}

/* Red dot marker on the centre line — pops in, then pulses */
.milestone__dot,
.milestone__pulse {
  position: absolute;
  left: 20px;
  top: 12px;
  height: 10px;
  width: 10px;
  border-radius: 9999px;
  background: var(--rk-red);
}

@media (min-width: 768px) {
  .milestone__dot,
  .milestone__pulse {
    left: 50%;
  }
}

.milestone__dot {
  z-index: 10;
  transform: translateX(-50%) scale(0);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
}

.milestone.is-visible .milestone__dot {
  transform: translateX(-50%) scale(1);
}

.milestone__pulse {
  background: rgba(228, 55, 48, 0.4);
  animation: timeline-pulse 2s ease-out infinite;
}

@keyframes timeline-pulse {
  0% {
    transform: translateX(-50%) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translateX(-50%) scale(3.5);
    opacity: 0;
  }
}

/* Year + title + body sharpen into focus together: blur + rise + slight scale */
.milestone__body {
  padding-left: 48px;
  opacity: 0;
  transform: translateY(32px) scale(0.94);
  filter: blur(10px);
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
    filter 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.milestone.is-visible .milestone__body {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

@media (min-width: 768px) {
  .milestone__body {
    padding-left: 0;
    padding-right: 8px;
    text-align: right;
  }

  .milestone--right .milestone__body {
    grid-column-start: 2;
    padding-left: 8px;
    padding-right: 0;
    text-align: left;
  }
}

.milestone__year {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}

@media (min-width: 768px) {
  .milestone__year {
    font-size: 30px;
  }
}

@media (min-width: 1280px) {
  .milestone__year {
    font-size: 38px;
  }
}

.milestone__title {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}

@media (min-width: 768px) {
  .milestone__title {
    font-size: 18px;
  }
}

.milestone__text {
  margin-top: 12px;
  max-width: 570px;
  font-size: 16px;
  line-height: 1.636;
  color: var(--body-text);
}

@media (min-width: 768px) {
  .milestone__text {
    font-size: 18px;
    margin-left: auto;
  }

  .milestone--right .milestone__text {
    margin-left: 0;
  }
}

/* --------------------------------------------------------------------------
   About — founder
   -------------------------------------------------------------------------- */
.founder__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .founder__grid {
    grid-template-columns: 1fr 520px;
    gap: 80px;
  }
}

.founder__name {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink-2);
}

@media (min-width: 768px) {
  .founder__name {
    font-size: 40px;
  }
}

@media (min-width: 1280px) {
  .founder__name {
    font-size: 48px;
  }
}

.founder__role {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.636;
  color: var(--rk-red);
}

@media (min-width: 768px) {
  .founder__role {
    font-size: 18px;
  }
}

.founder__body {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.636;
  color: var(--muted);
}

@media (min-width: 768px) {
  .founder__body {
    font-size: 18px;
  }
}

.founder__photo-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .founder__photo-wrap {
    margin-inline: 0;
  }
}

/* Matches the source file's aspect ratio (2088×2168) so the photo shows
   uncropped — the head already touches the top edge, so no hover zoom. */
.founder__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 2088 / 2168;
  overflow: hidden;
  border-radius: 28px;
  background-size: cover;
  background-position: center;
}

/* --------------------------------------------------------------------------
   About — why industries trust
   -------------------------------------------------------------------------- */
.trust__head {
  display: grid;
  gap: 32px;
  align-items: start;
}

/* Same 3-column grid + gap as the cards below, so the paragraph occupies
   exactly the third card's column. */
@media (min-width: 1024px) {
  .trust__head {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

.trust__title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
  color: #000;
}

@media (min-width: 768px) {
  .trust__title {
    font-size: 40px;
  }
}

@media (min-width: 1024px) {
  .trust__title {
    grid-column: span 2;
  }
}

@media (min-width: 1280px) {
  .trust__title {
    font-size: 48px;
  }
}

.trust__lead {
  align-self: end;
  font-size: 16px;
  line-height: 1.636;
  color: var(--muted);
}

@media (min-width: 768px) {
  .trust__lead {
    font-size: 18px;
  }
}

.trust__grid {
  margin-top: 56px;
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .trust__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }
}

/* Large card: full-width on tablet, left column spanning both rows from lg */
.trust-card--lg {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition:
    box-shadow 0.5s,
    transform 0.5s;
}

@media (min-width: 768px) {
  .trust-card--lg {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .trust-card--lg {
    grid-column: span 1;
    grid-row: span 2;
    min-height: 520px;
    padding: 40px;
  }
}

.trust-card--lg:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(221, 38, 143, 0.18);
}

/* Soft pink glow bottom-right, cool tint top-left */
.trust-card--lg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      70% 60% at 100% 100%,
      rgba(221, 38, 143, 0.12) 0%,
      rgba(221, 38, 143, 0.05) 40%,
      rgba(221, 38, 143, 0) 70%
    ),
    radial-gradient(40% 30% at 0% 0%, rgba(82, 175, 218, 0.08) 0%, rgba(82, 175, 218, 0) 70%);
}

.trust-card--lg img {
  position: relative;
  height: 100px;
  width: 100px;
}

@media (min-width: 1024px) {
  .trust-card--lg img {
    height: 130px;
    width: 130px;
  }
}

.trust-card--lg .trust-card__text {
  position: relative;
  margin-top: 48px;
}

.trust-card--lg h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink-2);
}

@media (min-width: 768px) {
  .trust-card--lg h3 {
    font-size: 26px;
  }
}

@media (min-width: 1280px) {
  .trust-card--lg h3 {
    font-size: 32px;
  }
}

.trust-card--lg p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.636;
  color: var(--muted);
}

@media (min-width: 768px) {
  .trust-card--lg p {
    font-size: 18px;
  }
}

.trust-card {
  border-radius: 16px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}

@media (min-width: 1024px) {
  .trust-card {
    padding: 28px;
  }
}

.trust-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.trust-card img {
  height: 50px;
  width: 50px;
}

.trust-card h3 {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink-2);
}

.trust-card p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

@media (min-width: 768px) {
  .trust-card h3,
  .trust-card p {
    font-size: 16px;
  }
}

@media (min-width: 1280px) {
  .trust-card h3,
  .trust-card p {
    font-size: 18px;
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--surface-blue);
  color: var(--ink);
}

.site-footer .container-page {
  padding-block: 40px;
}

/* 4 columns with a narrow spacer between the logo and Connect, so the logo
   column reads as visually centred. */
.footer__top {
  display: grid;
  gap: 40px;
  align-items: start;
}

@media (min-width: 768px) {
  .footer__top {
    grid-template-columns: 1fr 1.2fr 0.3fr 1fr;
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .footer__top {
    gap: 56px;
  }
}

.footer__heading {
  margin-bottom: 24px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  color: #000;
}

@media (min-width: 768px) {
  .footer__heading {
    font-size: 24px;
  }
}

@media (min-width: 1280px) {
  .footer__heading {
    font-size: 28px;
  }
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__links a {
  font-size: 16px;
  line-height: 1;
  color: var(--rk-text);
  transition: color 0.2s;
}

@media (min-width: 768px) {
  .footer__links a {
    font-size: 18px;
  }
}

.footer__links a:hover {
  color: var(--rk-red);
}

.footer__links a.is-active {
  font-weight: 600;
  color: var(--rk-red);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.footer__brand img {
  height: 128px;
  width: 128px;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .footer__brand img {
    height: 180px;
    width: 180px;
  }
}

.footer__brand p {
  margin-top: 20px;
  max-width: 400px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--body-text);
}

@media (min-width: 768px) {
  .footer__brand p {
    font-size: 16px;
  }
}

@media (min-width: 1280px) {
  .footer__brand p {
    font-size: 18px;
  }
}

.footer__spacer {
  display: none;
}

@media (min-width: 768px) {
  .footer__spacer {
    display: block;
  }
}

.footer__connect {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--rk-text);
  word-break: break-all;
  transition: color 0.2s;
}

@media (min-width: 768px) {
  .footer__contact a {
    font-size: 18px;
  }
}

.footer__contact a:hover {
  color: var(--rk-red);
}

.footer__contact svg {
  flex-shrink: 0;
  color: var(--rk-red);
}

.footer__socials {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__socials a {
  display: inline-flex;
  height: 32px;
  width: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--rk-red);
  color: #fff;
  transition: all 0.2s;
}

.footer__socials a:hover {
  background: var(--rk-red-dark);
  transform: scale(1.08);
}

.footer__feedback {
  position: relative;
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  background: var(--rk-red);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 8px 22px rgba(228, 55, 48, 0.28);
  transition: background-color 0.2s;
}

.footer__feedback:hover {
  background: var(--rk-red-dark);
}

.footer__offices {
  margin-top: 48px;
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .footer__offices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .footer__offices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

.footer__office {
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.4);
  padding: 24px 20px;
  text-align: center;
}

.footer__office h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink);
}

@media (min-width: 768px) {
  .footer__office h3 {
    font-size: 17px;
  }
}

@media (min-width: 1280px) {
  .footer__office h3 {
    font-size: 18px;
  }
}

.footer__office a {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--body-text);
  transition: color 0.2s;
}

@media (min-width: 768px) {
  .footer__office a {
    font-size: 16px;
  }
}

@media (min-width: 1280px) {
  .footer__office a {
    font-size: 18px;
  }
}

.footer__office a:hover {
  color: var(--rk-red);
}

.footer__bottom {
  margin-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #6b6b6b;
}

@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
    font-size: 14px;
  }
}

.footer__bottom a {
  font-weight: 600;
  color: var(--rk-red);
}

.footer__bottom a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Floating actions
   -------------------------------------------------------------------------- */
.floating {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

@media print {
  .floating {
    display: none;
  }
}

.floating__top {
  display: inline-flex;
  height: 48px;
  width: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--rk-red);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all 0.3s;
}

.floating__top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.floating__top:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

.floating__wa {
  display: inline-flex;
  height: 56px;
  width: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  transition: all 0.3s;
}

.floating__wa:hover {
  transform: scale(1.1);
  background: #1ebe5a;
}

/* --------------------------------------------------------------------------
   Modals (catalogue form + submit confirmation)
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal.is-open {
  display: flex;
}

.modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

/* Gradient border wrapper — matches the quote form's card */
.modal__frame {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 512px;
  border-radius: 24px;
  padding: 2px;
  background: var(--gradient-brand);
}

.modal__panel {
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 24px;
  background: #fff;
  padding: 24px;
}

@media (min-width: 640px) {
  .modal__panel {
    padding: 32px;
  }
}

@media (min-width: 768px) {
  .modal__panel {
    padding: 40px;
  }
}

.modal__close {
  position: absolute;
  right: 16px;
  top: 16px;
  border-radius: 6px;
  padding: 6px;
  color: rgba(0, 0, 0, 0.4);
  transition: all 0.2s;
}

.modal__close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #000;
}

.modal__title {
  padding-right: 32px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--ink-2);
}

@media (min-width: 768px) {
  .modal__title {
    font-size: 28px;
  }
}

.modal__lead {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.modal__form {
  margin-top: 24px;
}

/* Success modal */
.modal--success .modal__panel {
  text-align: center;
}

.modal__check {
  margin: 0 auto;
  display: inline-flex;
  height: 72px;
  width: 72px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(0, 230, 118, 0.12);
  color: #00b248;
}

.modal__ok {
  margin-top: 24px;
  display: inline-flex;
  height: 46px;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-box: trim-both cap alphabetic;
  border-radius: 9999px;
  background: var(--rk-red);
  padding-inline: 32px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  transition: background-color 0.2s;
}

.modal__ok:hover {
  background: var(--rk-red-dark);
}
