/* =========================================================================
   VIN CONE — Homepage prototype
   1. Variables      7. Trust          13. Global Reach
   2. Base           8. About          14. Clients
   3. Typography     9. Products       15. Quote
   4. Header        10. Capabilities   16. Footer
   5. Buttons       11. Process        17. Animations
   6. Hero          12. Industries     18. Responsive
   ========================================================================= */


/* =========================================================================
   1. VARIABLES
   ========================================================================= */
:root {
  --red:          #DB251B;
  --red-dark:     #B91E16;
  --red-light:    #FBE9E7;
  --white:        #FFFFFF;
  --ink:          #101418;
  --dark:         #11161B;
  --dark-deep:    #0D1216;
  --muted:        #66707A;
  --soft:         #F7F8FA;
  --border:       #E7EAEE;

  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-lg:    15px;
  --radius:       15px;
  --radius-sm:    15px;
  --radius-pill:  999px;
  --radius-btn:   15px;   /* every button shares this */

  --shadow-card:  0 18px 55px rgba(16, 20, 24, .08);
  --shadow-soft:  0 10px 30px rgba(16, 20, 24, .06);
  --shadow-lift:  0 28px 70px rgba(16, 20, 24, .14);

  --section-pad:  clamp(70px, 7.6vw, 116px);
  --ease:         cubic-bezier(.22, .7, .28, 1);
}


/* =========================================================================
   2. BASE
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }

::selection { background: var(--red); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

.vc-container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: var(--section-pad); }

/* anchor targets clear the fixed header */
section[id], main[id] { scroll-margin-top: 96px; }

.skip-link {
  position: absolute;
  left: 20px;
  top: -60px;
  z-index: 2000;
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 20px; }


/* =========================================================================
   3. TYPOGRAPHY
   ========================================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.08;
  margin: 0;
  color: var(--ink);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow-sep {
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: .45;
}

.section-title {
  font-size: clamp(1.95rem, 3.4vw, 3rem);
  margin-bottom: 22px;
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 28px;
}

/* section head: title left, supporting copy right, hairline underneath */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  padding-bottom: 40px;
  margin-bottom: 52px;
  border-bottom: 1px solid var(--border);
}
.section-head .section-title { margin-bottom: 0; }
.section-head-text {
  max-width: 46ch;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.check-list { display: grid; gap: 12px; margin-bottom: 30px; }
.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--muted);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--red-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23DB251B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.4l3 3 6-6.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.icon-arrow {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
  transition: transform .35s var(--ease);
}

.link-vc {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.link-vc:hover { color: var(--red); border-color: var(--red); }
.link-vc:hover .icon-arrow { transform: translate(3px, -3px); }


/* =========================================================================
   4. HEADER
   ========================================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1040;
  padding-block: 20px;
  transition: padding .35s var(--ease), background-color .35s var(--ease),
              box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header:has(.navbar-collapse.show),
.site-header:has(.navbar-collapse.collapsing) {
  padding-block: 11px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px rgba(16, 20, 24, .05);
}

.vc-nav { padding: 0; }
.vc-nav > .vc-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

/* brand — the supplied Vin Cone logo, background knocked out to transparency
   so the same file works on the white header and the dark footer */
.brand-wordmark {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
}
.brand-wordmark img {
  width: auto;
  height: 38px;
  transition: height .35s var(--ease);
}
.site-header.is-scrolled .brand-wordmark img { height: 34px; }

.vc-menu { gap: 4px; align-items: center; }
.vc-menu .nav-link {
  position: relative;
  padding: 8px 15px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  transition: color .25s var(--ease);
}
.vc-menu .nav-link::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 2px;
  height: 1.5px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.vc-menu .nav-link:hover,
.vc-menu .nav-link.is-active { color: var(--red); }
.vc-menu .nav-link:hover::after,
.vc-menu .nav-link.is-active::after { transform: scaleX(1); }

.vc-nav-cta { margin-left: 22px; }

.vc-toggler {
  display: grid;
  gap: 5px;
  width: 44px;
  height: 40px;
  padding: 0;
  place-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, .7);
  box-shadow: none;
}
.vc-toggler-bar {
  display: block;
  width: 18px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.vc-toggler[aria-expanded="true"] .vc-toggler-bar:first-child { transform: translateY(3.4px) rotate(45deg); }
.vc-toggler[aria-expanded="true"] .vc-toggler-bar:last-child  { transform: translateY(-3.4px) rotate(-45deg); }


/* =========================================================================
   5. BUTTONS
   ========================================================================= */
.btn-vc,
.btn-outline-vc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 28px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: .975rem;
  font-weight: 600;
  letter-spacing: -.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .3s var(--ease), background-color .3s var(--ease),
              box-shadow .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}

.btn-vc {
  background: var(--red);
  color: var(--white);
  border: 1px solid var(--red);
  box-shadow: 0 10px 26px rgba(219, 37, 27, .26);
}
.btn-vc:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(219, 37, 27, .32);
}
.btn-vc:hover .icon-arrow { transform: translate(3px, -3px); }

.btn-outline-vc {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-outline-vc:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-vc-sm { height: 44px; padding: 0 20px; font-size: .9rem; }

/* back to top — appears once the hero is behind you */
.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1030;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 12px 30px rgba(219, 37, 27, .32);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .35s var(--ease), transform .35s var(--ease),
              visibility .35s var(--ease), background-color .3s var(--ease);
}
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.scroll-top:hover { background: var(--red-dark); transform: translateY(-3px); }
.scroll-top svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* =========================================================================
   6. HERO
   ========================================================================= */
.hero-vc {
  position: relative;
  padding-top: clamp(126px, 13vw, 168px);
  padding-bottom: clamp(96px, 10vw, 132px);
  overflow: hidden;
  background: var(--white);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(16, 20, 24, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 20, 24, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 5%, transparent 72%);
          mask-image: radial-gradient(120% 90% at 70% 0%, #000 5%, transparent 72%);
  pointer-events: none;
}
/* drifting thread lines, painted by main.js */
.hero-threads {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: -220px;
  right: -160px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(219, 37, 27, .11), transparent 65%);
  pointer-events: none;
}

.hero-copy { position: relative; z-index: 1; }

.hero-title {
  font-size: clamp(2.5rem, 5.1vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: -.038em;
  margin-bottom: 26px;
}
.hero-title em { font-style: normal; color: var(--red); }

.hero-lead {
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  color: var(--muted);
  max-width: 50ch;
  margin: 0 0 34px;
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-proof li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink);
}
.hero-proof li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}

.hero-visual { position: relative; z-index: 1; }
.hero-figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}

.hero-badge {
  position: absolute;
  left: -18px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  animation: float 6s ease-in-out infinite;
}
.hero-badge-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--red);
}
.hero-badge-label {
  font-size: .78rem;
  line-height: 1.4;
  color: var(--muted);
}


/* =========================================================================
   7. TRUST / STATISTICS
   ========================================================================= */
.trust-vc {
  position: relative;
  z-index: 3;
  margin-top: calc(clamp(96px, 10vw, 132px) * -1 + 18px);
}
.trust-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.trust-item {
  padding: 34px 30px;
  border-left: 1px solid var(--border);
}
.trust-item:first-child { border-left: 0; }
.trust-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.1;
  color: var(--ink);
}
.trust-label {
  display: block;
  margin-top: 6px;
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--muted);
}


/* =========================================================================
   8. ABOUT
   ========================================================================= */
.about-figure {
  position: relative;
  margin: 0;
}
.about-figure img {
  width: 100%;
  aspect-ratio: 12 / 13;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-stat {
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: min(250px, 68%);
  padding: 24px 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.about-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--ink);
}
.about-stat-value i { font-style: normal; color: var(--red); }
.about-stat-label {
  display: block;
  margin-top: 8px;
  font-size: .8rem;
  line-height: 1.45;
  color: var(--muted);
}


/* =========================================================================
   9. PRODUCTS
   ========================================================================= */
.products-vc { background: var(--soft); }

.product-card {
  height: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.product-card-link { display: block; height: 100%; }

.product-media {
  position: relative;
  overflow: hidden;
}
.product-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.product-index {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(6px);
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ink);
}

.product-body { padding: 26px 26px 28px; }
.product-name {
  font-size: 1.3rem;
  margin-bottom: 9px;
}
.product-text {
  font-size: .925rem;
  color: var(--muted);
  margin: 0 0 18px;
}
.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--red);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-lift);
}
.product-card:hover .product-media img { transform: scale(1.06); }
.product-card:hover .icon-arrow { transform: translate(3px, -3px); }


/* =========================================================================
   10. CAPABILITIES
   ========================================================================= */
.capability-row {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(180px, 1fr) 2fr;
  align-items: start;
  gap: 8px 24px;
  padding: 34px 20px 34px 4px;
  border-top: 1px solid var(--border);
  transition: background-color .4s var(--ease), padding-left .4s var(--ease);
}
.capability-list li:last-child { border-bottom: 1px solid var(--border); }

.capability-row::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--red);
  transition: width .55s var(--ease);
}
.capability-row:hover::after { width: 100%; }
.capability-row:hover {
  background: var(--soft);
  padding-left: 20px;
}
.capability-row:hover .capability-index { color: var(--red); }

.capability-index {
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--muted);
  padding-top: 6px;
  transition: color .4s var(--ease);
}
.capability-title { font-size: clamp(1.25rem, 1.9vw, 1.6rem); }
.capability-text {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}


/* =========================================================================
   11. PROCESS
   ========================================================================= */
.process-vc {
  position: relative;
  background: var(--dark);
  color: rgba(255, 255, 255, .72);
  overflow: hidden;
}
.process-vc::before {
  content: "";
  position: absolute;
  top: -180px;
  left: -140px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(219, 37, 27, .16), transparent 62%);
  pointer-events: none;
}
.process-vc > .vc-container { position: relative; }
.process-vc .section-title { color: var(--white); }
.process-vc .section-lead { color: rgba(255, 255, 255, .66); }

.process-figure {
  position: relative;
  margin: 0;
}
.process-figure img {
  width: 100%;
  aspect-ratio: 11 / 14;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.process-figure::after {
  content: "";
  position: absolute;
  left: -10px;
  top: 40px;
  bottom: 40px;
  width: 3px;
  border-radius: 3px;
  background: var(--red);
}

.process-steps {
  display: grid;
  gap: 0;
  margin: 8px 0 38px;
}
.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.process-step:first-child { border-top: 0; padding-top: 0; }
.process-index {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--red);
}
.process-name {
  font-size: 1.075rem;
  color: var(--white);
  margin-bottom: 4px;
}
.process-text {
  margin: 0;
  font-size: .925rem;
  color: rgba(255, 255, 255, .6);
}


/* =========================================================================
   12. INDUSTRIES
   ========================================================================= */
.industry-card {
  position: relative;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.industry-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .7s var(--ease), opacity .4s var(--ease);
  opacity: .82;
}
.industry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 18, 22, .92) 8%, rgba(13, 18, 22, .34) 52%, rgba(13, 18, 22, .12) 100%);
  pointer-events: none;
}
.industry-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 24px 24px 26px;
}
.industry-index {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--red);
}
.industry-name {
  font-size: 1.22rem;
  color: var(--white);
  margin-bottom: 6px;
}
.industry-text {
  margin: 0;
  font-size: .875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .68);
}

.industry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.industry-card:hover img { transform: scale(1.06); opacity: .95; }


/* =========================================================================
   13. GLOBAL REACH
   ========================================================================= */
.global-vc { background: var(--soft); }

.market-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.market-tags li {
  padding: 9px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: .875rem;
  font-weight: 500;
}

.globe-panel {
  padding: clamp(14px, 2vw, 26px);
  background:
    radial-gradient(rgba(16, 20, 24, .07) 1px, transparent 1px) 0 0 / 22px 22px,
    var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.globe-svg { display: block; width: 100%; height: auto; }

.globe-rings circle {
  fill: none;
  stroke: var(--border);
  stroke-width: 1;
}
.globe-routes path {
  fill: none;
  stroke: var(--red);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 5 7;
  opacity: .75;
  animation: route-flow 2.4s linear infinite;
}
.globe-nodes .node { fill: var(--red); opacity: .85; }
.globe-nodes .node-origin { fill: var(--red); }
.globe-nodes .node-origin-pulse {
  fill: var(--red);
  opacity: .25;
  transform-origin: 470px 252px;
  animation: pulse 2.8s ease-out infinite;
}
.globe-labels text {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  fill: var(--muted);
}
.globe-labels .label-origin {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  fill: var(--ink);
}


/* =========================================================================
   14. CLIENTS
   ========================================================================= */
.clients-head { text-align: center; margin-bottom: 40px; }
.clients-title {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.client-grid li {
  display: grid;
  place-items: center;
  height: 104px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.client-grid img {
  width: auto;
  max-height: 42px;
  opacity: .48;
  transition: opacity .35s var(--ease);
}
.client-grid li:hover { border-color: #d5d9e0; box-shadow: var(--shadow-soft); }
.client-grid li:hover img { opacity: 1; }


/* =========================================================================
   15. QUOTE
   ========================================================================= */
.quote-vc { background: var(--soft); border-top: 1px solid var(--border); }

/* decorative "requirement → factory" illustration under the intro copy */
.quote-art {
  margin-top: 40px;
  max-width: 460px;
}
.quote-art svg { display: block; width: 100%; height: auto; overflow: visible; }

.qa-doc rect { fill: var(--white); stroke: var(--border); stroke-width: 1.5; }
.qa-doc .qa-chip { fill: var(--red); stroke: none; }
.qa-doc .qa-line { fill: #E2E6EB; stroke: none; }
.qa-doc > rect:first-child { filter: drop-shadow(0 12px 26px rgba(16, 20, 24, .10)); }

.qa-route {
  fill: none;
  stroke: var(--red);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 6 8;
  opacity: .5;
  animation: route-flow 2.4s linear infinite;
}

.qa-node { fill: var(--red); }
.qa-check {
  fill: none;
  stroke: var(--white);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.qa-ring {
  fill: none;
  stroke: var(--red);
  stroke-width: 1.5;
  opacity: 0;
  transform-origin: 372px 150px;
  animation: qa-ping 3.2s ease-out infinite;
}
.qa-ring-2 { animation-delay: 1.6s; }

.qa-plane {
  fill: var(--red);
  offset-path: path("M168 152 C 224 92, 286 96, 328 140");
  offset-rotate: auto;
  animation: qa-fly 3.2s var(--ease) infinite;
}

.qa-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  fill: var(--muted);
}

.quote-form {
  padding: clamp(24px, 3.4vw, 40px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--ink);
}
.field label span[aria-hidden] { color: var(--red); }
.field-note { font-weight: 400; color: var(--muted); }

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.quote-form textarea { resize: vertical; min-height: 120px; }
.quote-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2366707A' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M4 6.5l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 15px;
  padding-right: 44px;
}
.quote-form input::placeholder,
.quote-form textarea::placeholder { color: #9aa3ac; }

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px var(--red-light);
}
.quote-form input:focus-visible,
.quote-form select:focus-visible,
.quote-form textarea:focus-visible { outline: none; }

.quote-form input[type="file"] { padding: 9px 12px; color: var(--muted); font-size: .9rem; }
.quote-form input[type="file"]::file-selector-button {
  margin-right: 14px;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--soft);
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .25s var(--ease);
}
.quote-form input[type="file"]::file-selector-button:hover { background: #eef0f4; }

.field.has-error input,
.field.has-error textarea { border-color: var(--red); }
.field-error {
  margin: 7px 0 0;
  font-size: .8rem;
  color: var(--red);
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 6px;
}
.form-note {
  margin: 0;
  font-size: .82rem;
  color: var(--muted);
}
.form-note.is-success { color: #157347; font-weight: 500; }


/* =========================================================================
   16. FOOTER
   ========================================================================= */
.site-footer {
  background: var(--dark-deep);
  color: rgba(255, 255, 255, .62);
  padding-top: clamp(56px, 6vw, 84px);
}
.footer-main { padding-bottom: 52px; }
.footer-brand { margin-bottom: 18px; }
.footer-brand img { height: 42px; }

.social-links { display: flex; gap: 10px; }
.social-links a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  transition: background-color .3s var(--ease), border-color .3s var(--ease),
              transform .3s var(--ease);
}
.social-links svg {
  width: 16px;
  height: 16px;
  fill: rgba(255, 255, 255, .68);
  transition: fill .3s var(--ease);
}
.social-links a:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-3px);
}
.social-links a:hover svg { fill: var(--white); }

.footer-text {
  font-size: .92rem;
  max-width: 34ch;
  margin: 0 0 20px;
}
.footer-heading {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-links { display: grid; gap: 11px; }
.footer-links a {
  font-size: .92rem;
  transition: color .25s var(--ease);
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 24px 30px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  font-size: .85rem;
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: var(--white); }


/* =========================================================================
   17. ANIMATIONS
   ========================================================================= */
/* Content is visible by default; it only starts hidden once JS is confirmed,
   so a script failure can never leave the page blank. */
.reveal { transition: opacity .75s var(--ease), transform .75s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(20px); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
@keyframes pulse {
  0%   { transform: scale(1);   opacity: .3; }
  70%  { transform: scale(2.6); opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}
@keyframes route-flow {
  to { stroke-dashoffset: -48; }
}
@keyframes qa-ping {
  0%   { transform: scale(1);   opacity: .55; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}
@keyframes qa-fly {
  0%        { offset-distance: 0%;   opacity: 0; }
  12%, 80%  { opacity: 1; }
  100%      { offset-distance: 100%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .qa-plane, .qa-ring, .hero-threads { display: none; }
}


/* =========================================================================
   18. RESPONSIVE
   ========================================================================= */

/* ---- ≤ 1199px ---- */
@media (max-width: 1199.98px) {
  .capability-row { grid-template-columns: 74px minmax(160px, 1fr) 1.6fr; }
  .hero-badge { left: 16px; }
}

/* ---- ≤ 991px : tablet / collapsed nav ---- */
@media (max-width: 991.98px) {
  .site-header { padding-block: 14px; }

  .navbar-collapse {
    width: 100%;
    margin-top: 14px;
    padding: 8px 4px 6px;
    border-top: 1px solid var(--border);
  }
  .vc-menu { gap: 0; align-items: stretch; margin-bottom: 14px; }
  .vc-menu .nav-link { padding: 12px 4px; font-size: 1rem; }
  .vc-menu .nav-link::after { left: 4px; right: auto; width: 24px; }
  .vc-nav-cta { margin-left: 0; width: 100%; }

  .hero-vc { padding-top: 118px; }
  .hero-copy { margin-bottom: 56px; }
  .hero-lead, .hero-title { max-width: 34ch; }
  .hero-figure img { aspect-ratio: 4 / 3.4; }
  .hero-badge { bottom: -20px; left: 20px; }

  .trust-vc { margin-top: 0; padding-top: 8px; }
  .trust-card { grid-template-columns: repeat(2, 1fr); }
  .trust-item { padding: 26px 24px; }
  .trust-item:nth-child(3), .trust-item:nth-child(4) { border-top: 1px solid var(--border); }
  .trust-item:nth-child(3) { border-left: 0; }

  .section-head { padding-bottom: 30px; margin-bottom: 40px; }

  .about-figure { margin-bottom: 30px; }
  .about-stat { right: 0; bottom: -18px; }

  .capability-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 26px 16px 26px 4px;
  }
  .capability-row:hover { padding-left: 14px; }
  .capability-index { padding-top: 0; }

  .process-figure { margin-bottom: 34px; max-width: 460px; }
  .process-figure img { aspect-ratio: 4 / 3.6; }

  .client-grid { grid-template-columns: repeat(3, 1fr); }
  .client-grid li { height: 92px; }

  .globe-labels text { font-size: 13px; }

  .quote-art { margin: 34px auto 0; }
}

/* ---- ≤ 767px ---- */
@media (max-width: 767.98px) {
  .hero-proof { gap: 10px 20px; }
  .hero-proof li { font-size: .82rem; }
  .hero-badge { padding: 13px 17px; }
  .hero-badge-value { font-size: 1.5rem; }

  .section-head { flex-direction: column; align-items: flex-start; }

  .product-body { padding: 22px 22px 24px; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---- ≤ 575px : phone ---- */
@media (max-width: 575.98px) {
  .vc-container { padding-inline: 20px; }

  .brand-wordmark img,
  .site-header.is-scrolled .brand-wordmark img { height: 30px; }
  .footer-brand img { height: 36px; }

  .scroll-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }

  .qa-label { font-size: 13px; }

  .hero-actions { gap: 12px; }
  .hero-actions .btn-vc,
  .hero-actions .btn-outline-vc { width: 100%; }

  .hero-figure img { aspect-ratio: 4 / 4.4; }
  .hero-badge { position: static; margin-top: 16px; animation: none; }

  .trust-card { grid-template-columns: 1fr; }
  .trust-item { border-left: 0; border-top: 1px solid var(--border); padding: 22px 24px; }
  .trust-item:first-child { border-top: 0; }
  .trust-item:nth-child(3) { border-left: 0; }

  .about-stat { position: static; width: 100%; margin-top: 16px; }

  .client-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .client-grid li { height: 84px; padding: 16px; }
  .client-grid img { max-height: 34px; }

  .globe-labels text { font-size: 15px; }

  .form-foot .btn-vc { width: 100%; }
}
