/* ==========================================================
   HMS SPICES — Global Export Website
   White & Red theme · Fraunces + Manrope
   Parallax + GSAP-style motion, zero libraries
   ========================================================== */

:root {
  --paper: #ffffff;
  --paper-2: #fbf6f3;
  --paper-3: #f6ede8;
  --ink: #24170f;
  --muted: #8a7a72;
  --red: #c2281c;
  --red-bright: #e0392b;
  --red-deep: #971d13;
  --line: #efe2db;
  --red-tint: rgba(194, 40, 28, 0.08);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-lg: 0 30px 60px rgba(70, 25, 15, 0.16);
  --shadow-md: 0 18px 40px rgba(70, 25, 15, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.section { padding: 110px 0; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 2px;
  background: var(--red);
  vertical-align: middle;
  margin-right: 12px;
}
.eyebrow.center { text-align: center; }
.eyebrow.center::before { display: none; }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: var(--ink);
}
.section-title.center { text-align: center; }

.section-head {
  max-width: 660px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head .eyebrow::before { display: none; }
.section-sub { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 34px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s var(--ease);
}
.btn-red {
  background: linear-gradient(135deg, var(--red-bright), var(--red-deep));
  color: #fff;
}
.btn-red:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(194, 40, 28, 0.35);
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.btn-white {
  background: #fff;
  color: var(--red);
}
.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}
.btn-full { width: 100%; text-align: center; }

/* ---------- Reveal animations (GSAP-style) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.985);
  filter: blur(6px);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease),
    filter 1s var(--ease);
  will-change: opacity, transform, filter;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* ==========================================================
   NAVBAR — transparent over hero, white on scroll
   ========================================================== */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 22px 0;
  transition: all 0.4s var(--ease);
}
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(70, 25, 15, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  transition: color 0.35s;
}
.navbar.scrolled .brand { color: var(--ink); }
.brand-mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, var(--red-bright), var(--red-deep));
  padding: 8px 12px;
  border-radius: 3px;
}
.brand-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.brand-text em {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red-bright);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  position: relative;
  transition: color 0.3s;
}
.navbar.scrolled .nav-links a { color: var(--ink); }
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--red-bright);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover { color: var(--red-bright); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  border: 1.5px solid var(--red-bright);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 3px;
  transition: all 0.3s var(--ease);
}
.navbar.scrolled .nav-cta { color: var(--red) !important; }
.nav-cta:hover {
  background: var(--red-bright);
  color: #fff !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: #fff;
  transition: all 0.3s var(--ease);
}
.navbar.scrolled .nav-toggle span { background: var(--ink); }

/* ==========================================================
   HERO — dark image, white text, parallax bg
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -12% 0;
  will-change: transform;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 10, 6, 0.6) 0%, rgba(26, 10, 6, 0.42) 50%, rgba(26, 10, 6, 0.82) 100%),
    linear-gradient(90deg, rgba(26, 10, 6, 0.66) 0%, rgba(26, 10, 6, 0.2) 70%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 80px;
  max-width: 820px;
  color: #fff;
  will-change: transform, opacity;
}
.hero-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #ffb3a8;
  font-weight: 700;
  margin-bottom: 26px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.2vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
}
.hero-title span {
  font-style: italic;
  color: #ff8d7d;
}
.hero-sub {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num, .stat-plus {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: #ff8d7d;
  line-height: 1.1;
}
.stat-num { display: inline-block; }
.stat-plus { font-size: 1.5rem; margin-left: 2px; }
.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 6px;
}
.stat-divider {
  width: 1px;
  height: 54px;
  background: rgba(255, 255, 255, 0.25);
}
.scroll-hint {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 44px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  display: flex;
  justify-content: center;
}
.scroll-hint span {
  width: 3px; height: 9px;
  background: #ff8d7d;
  border-radius: 3px;
  margin-top: 8px;
  animation: scrollDot 1.8s infinite var(--ease);
}
@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 0; }
}

/* ==========================================================
   MARQUEE
   ========================================================== */
.marquee {
  background: linear-gradient(135deg, var(--red-bright), var(--red-deep));
  overflow: hidden;
  padding: 16px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: #fff;
  white-space: nowrap;
}
.marquee-track i {
  font-style: normal;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ==========================================================
   ABOUT
   ========================================================== */
.about { background: var(--paper-2); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.about-media { position: relative; }
.about-frame {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 600px;
}
.about-img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  will-change: transform;
}
.about-badge {
  position: absolute;
  right: -26px;
  bottom: 40px;
  background: linear-gradient(135deg, var(--red-bright), var(--red-deep));
  color: #fff;
  padding: 22px 26px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 18px 40px rgba(194, 40, 28, 0.35);
}
.badge-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1;
}
.badge-text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.5;
}
.about-copy p { color: var(--muted); margin-bottom: 18px; }
.about-points {
  list-style: none;
  margin: 26px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-points li {
  color: var(--muted);
  padding-left: 30px;
  position: relative;
}
.about-points li strong { color: var(--ink); font-weight: 700; }
.about-points li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 0.85rem;
}

/* ==========================================================
   PRODUCTS
   ========================================================== */
.products { background: var(--paper); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
}
.product-card:hover {
  transform: translateY(-10px);
  border-color: rgba(194, 40, 28, 0.35);
  box-shadow: var(--shadow-lg);
}
.product-media {
  height: 250px;
  overflow: hidden;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.09); }
.product-info { padding: 22px 22px 26px; }
.product-info h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.botanical {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--red);
  margin-bottom: 12px;
}
.product-desc {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 16px;
}
.product-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-tint);
  padding: 6px 12px;
  border-radius: 3px;
}
.products-note {
  text-align: center;
  color: var(--muted);
  margin-top: 48px;
  font-size: 0.95rem;
}
.products-note a {
  color: var(--red);
  text-decoration: none;
  font-weight: 700;
}
.products-note a:hover { text-decoration: underline; }

/* ==========================================================
   GLOBAL REACH — WORLD MAP
   ========================================================== */
.regions {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(194, 40, 28, 0.05), transparent),
    var(--paper-2);
}
.world-map {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  padding: 10px;
  margin-bottom: 42px;
  overflow: hidden;
}
.map-scene {
  position: relative;
  transition: transform 1.1s var(--ease);
  will-change: transform;
}
.map-reset {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 9px 16px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.4s, transform 0.4s var(--ease);
}
.world-map.zoomed .map-reset {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.map-hint {
  position: absolute;
  bottom: 14px; left: 20px;
  z-index: 20;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
  transition: opacity 0.4s;
}
.world-map.zoomed .map-hint { opacity: 0; }
/* real world map (injected inline SVG) */
#mapHost {
  background-image: radial-gradient(rgba(194, 40, 28, 0.07) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  border-radius: 8px;
  overflow: hidden;
}
#mapHost svg {
  display: block;
  width: 100%;
  height: auto;
}
/* all land: warm neutral
   NOTE: no transition here — transitions on hundreds of SVG paths
   get stuck in this engine and stall rendering/screenshots */
#mapHost svg .land,
#mapHost svg path {
  fill: #ecdcd4;
  stroke: #ffffff;
  stroke-width: 0.8;
}
/* countries we export to: red tint + hover-lift */
#mapHost svg .country-export,
#mapHost svg .country-export path {
  fill: #e5988b;
  cursor: pointer;
}
#mapHost svg g.country-export:hover,
#mapHost svg path.country-export:hover,
#mapHost svg .country-export.lifted,
#mapHost svg .country-export.lifted path {
  fill: #d4523f;
  transform: translateY(-16px);
  filter: drop-shadow(0 18px 10px rgba(120, 30, 18, 0.35));
}
/* origin: India in brand red */
#mapHost svg .country-origin,
#mapHost svg .country-origin path {
  fill: var(--red) !important;
  cursor: pointer;
}
/* hide Antarctica */
#mapHost svg .aq,
#mapHost svg #aq { display: none; }

/* dashed flight trajectories */
.routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.routes path {
  fill: none;
  stroke: rgba(194, 40, 28, 0.45);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 2 8;
  animation: routeFlow 1.4s linear infinite;
}
@keyframes routeFlow {
  to { stroke-dashoffset: -10; }
}

/* planes flying the routes */
.planes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.plane {
  position: absolute;
  top: 0; left: 0;
  width: 30px;
  height: auto;
  offset-rotate: auto;
  transform: scale(calc(1 / var(--mapZoom, 1)));
  filter: drop-shadow(0 4px 5px rgba(120, 30, 18, 0.35));
  animation: planeFly 9s linear infinite;
  opacity: 0;
}
@keyframes planeFly {
  0% { offset-distance: 0%; opacity: 0; }
  6% { opacity: 1; }
  94% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* --- Pins (HTML layer over SVG) --- */
.pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  /* counter-scale so pins stay the same size when the map zooms */
  transform: translate(-50%, -50%) scale(calc(1 / var(--mapZoom, 1)));
  transform-origin: center;
  pointer-events: auto;
  cursor: pointer;
  z-index: 2;
  transition: transform 1.1s var(--ease);
}
.pin-dot {
  display: block;
  width: 13px; height: 13px;
  background: linear-gradient(135deg, var(--red-bright), var(--red-deep));
  border: 2.5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(194, 40, 28, 0.45);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.pin-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(194, 40, 28, 0.5);
  animation: pulse 2s infinite var(--ease);
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
/* hover-lift: country pin rises up */
.pin:hover, .pin.hover { z-index: 10; }
.pin:hover .pin-dot, .pin.hover .pin-dot {
  transform: translateY(-10px) scale(1.35);
  box-shadow: 0 16px 24px rgba(194, 40, 28, 0.4);
}
.pin-card {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 14px) scale(0.9);
  opacity: 0;
  pointer-events: none;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  white-space: nowrap;
  text-align: center;
  box-shadow: 0 16px 34px rgba(36, 23, 15, 0.35);
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}
.pin-card::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--ink);
}
.pin-card strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.pin-card em {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  color: #ffb3a8;
  margin-top: 2px;
}
/* card rises with the pin */
.pin:hover .pin-card, .pin.hover .pin-card {
  opacity: 1;
  transform: translate(-50%, -10px) scale(1);
}
/* origin pin — India */
.pin-origin .pin-dot {
  width: 17px; height: 17px;
  background: var(--ink);
  border-color: #ffb3a8;
}
.pin-label {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.region-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.region-chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px 18px;
  cursor: pointer;
  user-select: none;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s, background 0.35s;
}
.region-chip:hover {
  transform: translateY(-5px);
  border-color: rgba(194, 40, 28, 0.35);
  box-shadow: var(--shadow-md);
}
.region-chip.active {
  background: linear-gradient(135deg, var(--red-bright), var(--red-deep));
  border-color: transparent;
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(194, 40, 28, 0.35);
}
.region-chip.active strong { color: #fff; }
.region-chip.active span { color: rgba(255, 255, 255, 0.8); }
.region-chip strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--red);
  margin-bottom: 2px;
}
.region-chip span {
  font-size: 0.76rem;
  color: var(--muted);
}

/* ==========================================================
   PROCESS
   ========================================================== */
.process { background: var(--paper); }
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: start;
}
.process-copy p { color: var(--muted); margin-bottom: 30px; }
.process-frame {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 370px;
}
.process-img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  object-position: center 60%;
  will-change: transform;
}
.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.step {
  display: flex;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.step:first-child { padding-top: 6px; }
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--red);
  flex-shrink: 0;
  width: 52px; height: 52px;
  background: var(--red-tint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.step p { color: var(--muted); font-size: 0.94rem; }

/* ==========================================================
   CERTIFICATIONS
   ========================================================== */
.certs {
  background: var(--paper-2);
  padding: 90px 0;
}
.cert-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.cert {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.35s, transform 0.35s var(--ease), box-shadow 0.35s;
}
.cert:hover {
  border-color: rgba(194, 40, 28, 0.35);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.cert span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--red);
}
.cert em {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ==========================================================
   CTA BAND
   ========================================================== */
.cta-band {
  background: linear-gradient(135deg, var(--red-bright) 0%, var(--red-deep) 100%);
  padding: 64px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: #fff;
  margin-bottom: 8px;
}
.cta-inner p { color: rgba(255, 255, 255, 0.85); font-weight: 500; }

/* ==========================================================
   CONTACT
   ========================================================== */
.contact { background: var(--paper); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: start;
}
.contact-copy > p { color: var(--muted); margin-bottom: 36px; }
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.ci {
  width: 46px; height: 46px;
  flex-shrink: 0;
  background: var(--red-tint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 1.05rem;
}
.contact-list strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.contact-list a, .contact-list div > span {
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
}
.contact-list a:hover { color: var(--red); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.contact-form h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 26px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px 15px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(194, 40, 28, 0.12);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #bcaaa2; }
.form-note {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--red);
  text-align: center;
  min-height: 1.2em;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  background: #23100b;
  padding: 70px 0 0;
}
.footer .brand { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 54px;
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
  margin-top: 20px;
  max-width: 320px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: #ff8d7d;
  margin-bottom: 6px;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.3s;
}
.footer-col a:hover { color: #fff; }
.footer-muted { color: rgba(255, 255, 255, 0.45); font-size: 0.85rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .region-strip { grid-template-columns: repeat(3, 1fr); }
  .cert-row { grid-template-columns: repeat(3, 1fr); }
  .about-grid, .process-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .about-frame { height: 460px; }
  .about-badge { right: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 82vw);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 40px;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    border-left: 1px solid var(--line);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.05rem; color: var(--ink) !important; }
  .nav-cta { color: var(--red) !important; }
  .nav-toggle { display: flex; z-index: 110; }
  .nav-toggle.open span { background: var(--ink); }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-stats { gap: 24px; }
  .stat-divider { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .region-strip { grid-template-columns: repeat(2, 1fr); }
  .pin-card { display: none; } /* touch devices: labels too small */
  .cert-row { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-inner { flex-direction: column; text-align: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .marquee-track, .arcs path, .pin-pulse { animation: none; }
  html { scroll-behavior: auto; }
}
