@font-face {
  font-family: "Ethnocentric";
  src: url("/assets/ethnocentric-rg.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #05070b;
  --bg-2: #0a0e15;
  --surface: #0f141c;
  --surface-2: #151b25;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f7fb;
  --muted: #9aa3b2;
  --dim: #6b7383;
  --blue: #1f7ae0;
  --blue-bright: #3fb6ff;
  --blue-soft: rgba(63, 182, 255, 0.12);
  --green: #25d366;
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1220px;
  --gutter: clamp(16px, 4vw, 40px);
  --display: "Ethnocentric", "Inter", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.energybox-menu-open,
body.energybox-modal-open {
  overflow: hidden;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
}

p {
  margin: 0;
}

.accent {
  background: linear-gradient(90deg, var(--blue-bright), #7fd3ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow,
.tag {
  margin: 0 0 14px;
  color: var(--blue-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  letter-spacing: 0.12em;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  box-shadow: 0 10px 30px rgba(31, 122, 224, 0.35);
}

.button.primary:hover {
  box-shadow: 0 14px 40px rgba(63, 182, 255, 0.45);
}

.button.ghost {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.button.ghost:hover {
  border-color: var(--blue-bright);
}

.button.whatsapp {
  color: #fff;
  background: transparent;
  border-color: rgba(37, 211, 102, 0.5);
}

.button.whatsapp:hover {
  background: rgba(37, 211, 102, 0.12);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
  padding: 0 var(--gutter);
  transition: background 0.25s ease, border-color 0.25s ease, height 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  height: 66px;
  background: rgba(5, 7, 11, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img,
.footer-brand img {
  width: 158px;
  height: auto;
  filter: brightness(0) invert(1);
}

.brand .brand-badge {
  width: 40px;
  filter: none;
  transition: transform 0.4s ease;
}

.brand:hover .brand-badge {
  transform: rotate(-12deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.main-nav .nav-cta {
  margin-left: 10px;
  padding: 10px 20px;
  color: #fff;
  background: var(--blue);
}

.main-nav .nav-cta:hover {
  background: var(--blue-bright);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 0.25s ease;
}

.energybox-menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.energybox-menu-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  padding: 130px var(--gutter) 40px;
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 75% 35%, rgba(31, 122, 224, 0.22), transparent 70%),
    radial-gradient(40% 40% at 10% 10%, rgba(63, 182, 255, 0.08), transparent 70%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 80%);
  opacity: 0.6;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  max-width: var(--max);
  margin: 0 auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.18);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 7px rgba(37, 211, 102, 0.05);
  }
}

.hero h1 {
  font-size: clamp(30px, 4.3vw, 56px);
  line-height: 1.08;
}

.hero-lead {
  max-width: 540px;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 18px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.hero-checks li::before,
.check-list li::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: -3px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%233fb6ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / 100% no-repeat,
    var(--blue-soft);
}

.hero-visual {
  position: relative;
}

.hero-glow {
  position: absolute;
  inset: 12% 8% 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 122, 224, 0.45), transparent 65%);
  filter: blur(40px);
}

.hero-visual img {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.6));
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(15, 20, 28, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  animation: float 6s ease-in-out infinite;
}

.float-card strong {
  display: block;
  font-size: 15px;
}

.float-card span {
  color: var(--muted);
  font-size: 13px;
}

.float-card--top {
  top: 14%;
  right: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.float-card--top strong {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
  color: var(--blue-bright);
}

.float-card--bottom {
  bottom: 12%;
  left: 0;
  animation-delay: -3s;
}

.float-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(37, 211, 102, 0.15);
  color: var(--green) !important;
  font-size: 18px !important;
  font-weight: 700;
}

@keyframes float {
  50% {
    transform: translateY(-10px);
  }
}

.trust {
  position: relative;
  max-width: var(--max);
  margin: 50px auto 0;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.trust p {
  margin-bottom: 16px;
  color: var(--dim);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 40px;
}

.trust-logos span {
  color: #c4cad4;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 800;
  letter-spacing: -0.02em;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.trust-logos span:hover {
  opacity: 1;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin: 40px auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  overflow: hidden;
}

@media (min-width: 0) {
  .stats {
    margin-inline: max(var(--gutter), calc((100% - var(--max)) / 2));
  }
}

.stat {
  padding: 30px 24px;
  text-align: center;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
}

.stat span {
  color: var(--muted);
  font-size: 14px;
}

/* Sections */
.section {
  padding: clamp(80px, 10vw, 130px) var(--gutter);
}

.section > * {
  max-width: var(--max);
  margin-inline: auto;
}

.section--panel {
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(31, 122, 224, 0.1), transparent 70%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.12;
}

.section-head p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
}

.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  max-width: var(--max);
  text-align: left;
}

.section-head--row > div:first-child {
  max-width: 660px;
}

/* Machines */
.machine-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.machine-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.machine-card:hover {
  border-color: rgba(63, 182, 255, 0.35);
  transform: translateY(-4px);
}

.machine-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 500px;
  padding: 28px 28px 20px;
  background: radial-gradient(60% 70% at 50% 70%, rgba(31, 122, 224, 0.3), transparent 70%);
  overflow: hidden;
}

.machine-media img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.machine-card:hover .machine-media img {
  transform: scale(1.04);
}

.machine-body {
  padding: 32px;
  border-top: 1px solid var(--line);
}

.machine-body h3 {
  margin-bottom: 14px;
  font-size: 24px;
  font-weight: 800;
}

.machine-body > p:not(.tag) {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
}

/* Process */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 auto 28px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -17px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg-2);
  color: var(--blue-bright);
  transform: translateY(-50%);
}

.step-num {
  display: block;
  margin-bottom: 26px;
  font-family: var(--display);
  font-size: 34px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(63, 182, 255, 0.7);
}

.step h3 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 800;
}

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

.service-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.service-item {
  display: flex;
  gap: 18px;
  padding: 28px;
  background: var(--surface);
}

.service-item h3 {
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 700;
}

.service-item p {
  color: var(--muted);
  font-size: 15px;
}

.icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue-bright);
}

.icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.needs {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--blue), #0d4f9e);
  box-shadow: 0 30px 60px rgba(31, 122, 224, 0.25);
}

.needs h3 {
  margin-bottom: 22px;
  font-size: 22px;
  font-weight: 800;
}

.needs ul {
  display: grid;
  gap: 12px;
  margin: 0 0 auto;
  padding: 0;
  list-style: none;
}

.needs li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 700;
}

.needs li span {
  font-size: 12px;
  opacity: 0.7;
}

.needs p {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

/* Cocktails slider */
.slider-controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
}

.slider-button {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.slider-button:hover:not(:disabled) {
  border-color: var(--blue-bright);
  background: var(--blue-soft);
}

.slider-button:disabled {
  opacity: 0.3;
  cursor: default;
}

.slider-count {
  min-width: 64px;
  color: var(--muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.slider-count span:first-child {
  color: var(--text);
  font-weight: 700;
}

.slider-sep {
  margin: 0 4px;
}

#cocktails {
  overflow: hidden;
}

.product-track {
  display: grid;
  grid-auto-columns: minmax(280px, calc((100% - 60px) / 4));
  grid-auto-flow: column;
  gap: 20px;
  padding-bottom: 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  outline: none;
}

.product-track::-webkit-scrollbar {
  display: none;
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 18px 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  scroll-snap-align: start;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.product-card:hover,
.product-card.is-active {
  border-color: rgba(63, 182, 255, 0.35);
}

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

.product-image {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  margin-bottom: 20px;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 60%, rgba(63, 182, 255, 0.2), transparent 70%), var(--surface-2);
  overflow: hidden;
}

.product-image img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.06) rotate(-2deg);
}

.product-type {
  margin-bottom: 6px;
  color: var(--blue-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-card h3 {
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 800;
}

.product-short {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.flavors-label {
  margin: 16px 0 8px;
  color: var(--dim);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.chips span {
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.link-button {
  align-self: flex-start;
  margin-top: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue-bright);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.link-button::after {
  content: " →";
  transition: margin 0.2s ease;
}

.link-button:hover::after {
  margin-left: 4px;
}

/* Wins */
.wins-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.wins-copy h2 {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.15;
}

.wins-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 34px;
  margin-top: 44px;
}

.wins-list article {
  padding-left: 18px;
  border-left: 2px solid var(--blue);
}

.wins-list h3 {
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 700;
}

.wins-list p {
  color: var(--muted);
  font-size: 15px;
}

.growth-card {
  padding: 32px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.growth-head h3 {
  font-size: 22px;
  font-weight: 800;
}

.growth-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 180px;
  margin: 30px 0;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--line-strong);
}

.growth-chart span {
  flex: 1;
  height: var(--h);
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(180deg, rgba(63, 182, 255, 0.55), rgba(31, 122, 224, 0.12));
}

.growth-chart .is-peak {
  background: linear-gradient(180deg, var(--blue-bright), var(--blue));
  box-shadow: 0 0 30px rgba(63, 182, 255, 0.5);
}

.growth-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: g;
}

.growth-steps li {
  display: grid;
  grid-template-columns: 30px 1fr;
  column-gap: 12px;
  counter-increment: g;
  font-size: 14px;
}

.growth-steps li::before {
  content: "0" counter(g);
  grid-row: span 2;
  color: var(--blue-bright);
  font-weight: 800;
}

.growth-steps span {
  color: var(--muted);
}

/* Locations */
.map-wrap {
  position: relative;
  height: 620px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

#locations-map {
  position: absolute;
  inset: 0;
  isolation: isolate;
  z-index: 0;
  background: #0b0f15;
}

.locations-loading {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 500;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(5, 7, 11, 0.85);
  color: var(--muted);
  font-size: 13px;
}

.locations-panel {
  position: absolute;
  top: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 360px;
  min-height: 0;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(10, 14, 21, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.locations-panel-head {
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.locations-panel-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}

.locations-panel-title small {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.location-controls {
  display: grid;
  gap: 8px;
}

.location-controls input,
.location-controls select,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.location-controls select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239aa3b2' stroke-width='1.6'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-repeat: no-repeat;
  background-size: 12px;
}

.location-controls input:focus,
.location-controls select:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 4px rgba(63, 182, 255, 0.15);
}

.location-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
}

.location-item {
  display: grid;
  gap: 2px;
  width: 100%;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.location-item:hover,
.location-item.is-active {
  background: var(--surface-2);
  border-color: var(--line-strong);
}

.location-item b {
  font-size: 15px;
}

.location-item span {
  color: var(--muted);
  font-size: 13px;
}

.location-item .location-type-badge,
.location-item .location-badge {
  justify-self: start;
  margin-top: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-bright);
  font-size: 11px;
  font-weight: 700;
}

.location-item .location-badge {
  display: none;
}

.location-item .location-badge.warning {
  display: inline-block;
  background: rgba(251, 146, 60, 0.12);
  color: #fb923c;
}

.location-type-badge--vending {
  background: rgba(37, 211, 102, 0.12) !important;
  color: var(--green) !important;
}

.map-location-marker {
  background: none;
  border: 0;
}

.map-location-pin {
  position: relative;
  display: block;
  width: 26px;
  height: 26px;
  margin: 4px auto 0;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--blue-bright);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  transform: rotate(-45deg);
}

.map-location-marker--vending .map-location-pin {
  background: var(--green);
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: var(--surface-2);
  color: var(--text);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.leaflet-popup-content-wrapper {
  border: 1px solid var(--line-strong);
  border-radius: 14px;
}

.leaflet-container a.leaflet-popup-close-button {
  color: var(--muted);
}

.map-popup-title {
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 800;
}

.map-popup-line {
  color: var(--muted);
  font-size: 13px;
}

.map-popup-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.map-popup-badge {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-bright);
  font-size: 11px;
  font-weight: 700;
}

.leaflet-control-zoom a {
  background: var(--surface-2) !important;
  color: var(--text) !important;
  border-color: var(--line-strong) !important;
}

.leaflet-control-attribution {
  background: rgba(5, 7, 11, 0.6) !important;
  color: var(--dim) !important;
}

/* Vendvivo */
.vendvivo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  margin-inline: max(var(--gutter), calc((100% - var(--max)) / 2));
  padding: 30px 36px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}

.vendvivo .eyebrow {
  margin-bottom: 6px;
}

.vendvivo h3 {
  font-size: 20px;
  font-weight: 700;
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  max-width: var(--max);
  margin: clamp(80px, 10vw, 130px) auto;
  margin-inline: max(var(--gutter), calc((100% - var(--max)) / 2));
  padding: clamp(28px, 5vw, 60px);
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(31, 122, 224, 0.28), transparent 70%),
    var(--surface);
}

.contact-copy h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.12;
}

.contact-copy > p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
}

.contact-direct {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.contact-direct a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  font-weight: 700;
  transition: border-color 0.2s ease;
}

.contact-direct a:hover {
  border-color: var(--blue-bright);
}

.contact-direct small {
  display: block;
  color: var(--dim);
  font-size: 12px;
  font-weight: 600;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: start;
}

.contact-form label span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form-full,
.contact-form-actions,
.contact-form-note,
.contact-form-status {
  grid-column: 1 / -1;
}

.contact-form-trap {
  position: absolute;
  left: -9999px;
}

.contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.contact-form-note {
  color: var(--dim);
  font-size: 13px;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  width: min(680px, 100%);
  max-height: 88vh;
  padding: 36px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  overflow-y: auto;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s ease;
}

.modal.is-open .modal-card {
  transform: none;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
}

.modal-card h2 {
  margin-bottom: 14px;
  font-family: "Inter", sans-serif;
  font-size: 28px;
  font-weight: 800;
  text-transform: none;
}

.modal-card [data-modal-description] {
  color: var(--muted);
}

.modal-card ul {
  margin: 18px 0;
  padding-left: 20px;
  color: var(--muted);
}

.nutrition-block h3 {
  margin: 22px 0 12px;
  font-size: 16px;
}

.nutrition-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.nutrition-block table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.nutrition-block th,
.nutrition-block td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.nutrition-block tr:last-child td {
  border-bottom: 0;
}

.nutrition-group th {
  background: var(--surface-2);
  color: var(--blue-bright);
}

.nutrition-note {
  margin: 10px 0 22px;
  color: var(--dim);
  font-size: 12px;
}

/* Footer */
.site-footer {
  padding: 70px var(--gutter) 30px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.footer-grid,
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand img {
  width: 160px;
  margin-bottom: 18px;
}

.footer-brand .footer-badge {
  width: 130px;
  height: auto;
  margin-bottom: 20px;
  filter: none;
}

.footer-brand p {
  max-width: 360px;
  color: var(--muted);
  font-size: 14px;
}

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

.footer-col h3 {
  margin-bottom: 6px;
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col a {
  color: var(--muted);
  font-size: 15px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.footer-socials a {
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 1180px) {
  .menu-toggle {
    display: block;
    position: relative;
    z-index: 2;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
    padding: 90px 24px 40px;
    background: rgba(5, 7, 11, 0.97);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .energybox-menu-open .main-nav {
    opacity: 1;
    visibility: visible;
  }

  /* backdrop-filter on the scrolled header would make it the containing block of
     the fixed menu, squeezing the menu into the header bar. */
  .site-header,
  .site-header.is-scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header.is-scrolled {
    background: rgba(5, 7, 11, 0.96);
  }

  .main-nav {
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    background: var(--bg);
  }

  .main-nav a {
    padding: 14px 18px;
    font-size: 20px;
    text-align: center;
  }

  .main-nav .nav-cta {
    margin: 16px 0 0;
  }
}

@media (max-width: 1080px) {
  .product-track {
    grid-auto-columns: minmax(260px, calc((100% - 40px) / 3));
  }

  .service-wrap,
  .wins-layout {
    grid-template-columns: 1fr;
  }

  .locations-panel {
    width: 320px;
  }
}

@media (max-width: 920px) {
  .hero {
    padding-top: 110px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-checks {
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(3) {
    border-left: 0;
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .machine-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .step:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -17px;
    transform: translateX(50%) rotate(90deg);
  }

  .map-wrap {
    height: 760px;
  }

  .locations-panel {
    top: auto;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    height: 350px;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .brand .brand-word {
    width: 124px;
  }

  .brand .brand-badge {
    width: 34px;
  }

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

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

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .float-card {
    padding: 10px 14px;
  }

  .float-card--top strong {
    font-size: 20px;
  }

  .float-card--bottom {
    display: none;
  }

  .stat {
    padding: 22px 12px;
  }

  .machine-media {
    height: 400px;
  }

  .machine-body,
  .step,
  .service-item,
  .needs,
  .growth-card {
    padding: 24px;
  }

  .service-grid,
  .wins-list,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .product-track {
    grid-auto-columns: 82%;
  }

  .vendvivo {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .contact-form-actions .button {
    flex: 1 1 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---------- Shared: links, status, breadcrumbs ---------- */
.product-link:hover {
  color: var(--blue-bright);
}

.form-status {
  grid-column: 1 / -1;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
}

.form-status.is-success {
  border: 1px solid rgba(37, 211, 102, 0.4);
  background: rgba(37, 211, 102, 0.1);
  color: #7ff0ab;
}

.form-status.is-error {
  border: 1px solid rgba(251, 113, 133, 0.4);
  background: rgba(251, 113, 133, 0.1);
  color: #fda4af;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--dim);
  font-size: 13px;
  font-weight: 600;
}

.crumbs a {
  color: var(--muted);
}

.crumbs a:hover {
  color: var(--text);
}

.crumbs span[aria-hidden] {
  opacity: 0.5;
}

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  padding: 140px var(--gutter) 60px;
  overflow: hidden;
  background: radial-gradient(50% 80% at 80% 0%, rgba(31, 122, 224, 0.2), transparent 70%);
  border-bottom: 1px solid var(--line);
}

.page-hero > div {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 860px;
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.1;
}

.page-hero .lead {
  max-width: 680px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

/* ---------- Prose (policies, about, news) ---------- */
.prose-wrap {
  padding: clamp(50px, 7vw, 90px) var(--gutter);
}

.prose {
  max-width: 820px;
  margin: 0 auto;
  color: #c9cfd9;
  font-size: 16px;
  line-height: 1.75;
}

.prose h2 {
  margin: 48px 0 16px;
  font-family: "Inter", sans-serif;
  font-size: 26px;
  font-weight: 800;
  text-transform: none;
  color: var(--text);
}

.prose h3 {
  margin: 36px 0 12px;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.02em;
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 14px;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose a {
  color: var(--blue-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose img {
  width: 100%;
  height: auto;
  margin: 30px 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.prose strong {
  color: var(--text);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
}

.news-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.news-card:hover {
  border-color: rgba(63, 182, 255, 0.35);
  transform: translateY(-4px);
}

.news-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.news-card div {
  padding: 22px;
}

.news-card time {
  color: var(--dim);
  font-size: 13px;
}

.news-card h2 {
  margin-top: 6px;
  font-family: "Inter", sans-serif;
  font-size: 19px;
  font-weight: 800;
  text-transform: none;
}

/* ---------- Product page ---------- */
.product-hero {
  position: relative;
  padding: 120px var(--gutter) 60px;
  overflow: hidden;
  background:
    radial-gradient(45% 60% at 78% 45%, rgba(31, 122, 224, 0.28), transparent 70%),
    radial-gradient(40% 40% at 0% 0%, rgba(63, 182, 255, 0.08), transparent 70%);
}

.product-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.product-hero h1 {
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.05;
}

.product-hero .lead {
  max-width: 600px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
}

.product-hero .lead p {
  margin: 0;
}

.product-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 32px;
}

.product-stat {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(15, 20, 28, 0.7);
}

.product-stat strong {
  display: block;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: break-word;
  hyphens: auto;
}

.product-stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.product-media {
  position: relative;
  display: grid;
  place-items: center;
}

.product-media::before {
  content: "";
  position: absolute;
  width: 86%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 182, 255, 0.35), transparent 65%);
  filter: blur(20px);
}

.product-media img {
  position: relative;
  width: min(480px, 100%);
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.product-section {
  padding: clamp(50px, 7vw, 90px) var(--gutter);
  border-top: 1px solid var(--line);
}

.product-section:nth-of-type(even) {
  background: var(--bg-2);
}

.product-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 70px);
  max-width: var(--max);
  margin: 0 auto;
  align-items: start;
}

.product-grid h2 {
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.15;
}

.product-copy {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.product-copy > * + * {
  margin-top: 16px;
}

.product-copy strong {
  color: var(--text);
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 16px 18px 16px 50px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  line-height: 1.55;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%233fb6ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / 100% no-repeat,
    var(--blue-soft);
}

.flavors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.warning {
  padding: 16px 18px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 14px;
  background: rgba(251, 191, 36, 0.08);
  color: #fcd98a;
  font-size: 15px;
}

.warning strong {
  color: #fde68a;
}

.usage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: var(--max);
  margin: 30px auto 0;
}

.use {
  padding: 22px;
  border: 1px solid rgba(63, 182, 255, 0.2);
  border-radius: 16px;
  background: var(--blue-soft);
}

.use h3 {
  margin-bottom: 8px;
  color: var(--blue-bright);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.use p {
  color: var(--muted);
  font-size: 15px;
}

.accordion {
  display: grid;
  gap: 12px;
}

.accordion details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--blue-bright);
  font-size: 18px;
  transition: transform 0.2s ease;
}

.accordion details[open] summary::after {
  transform: rotate(45deg);
}

.detail-body {
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 15px;
}

.detail-body h3 {
  margin: 18px 0 10px;
  color: var(--text);
  font-size: 15px;
}

.detail-body p {
  margin: 0 0 10px;
}

.detail-body strong {
  color: var(--text);
}

.table-wrap {
  margin: 10px 0 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.spec-table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table th,
.spec-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.spec-table thead th {
  background: var(--surface-2);
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-table td:not(:first-child),
.spec-table th:not(:first-child) {
  white-space: nowrap;
}

.related {
  padding: clamp(60px, 8vw, 100px) var(--gutter);
  border-top: 1px solid var(--line);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
}

.related-card {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.related-card:hover {
  border-color: rgba(63, 182, 255, 0.35);
  transform: translateY(-4px);
}

.related-card .product-image {
  margin-bottom: 14px;
}

.related-card h3 {
  font-size: 16px;
  font-weight: 800;
}

.related-card span {
  color: var(--blue-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Refund form ---------- */
.refund-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(50px, 7vw, 90px) var(--gutter);
  align-items: start;
}

.refund-aside {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 14px;
}

.refund-aside .card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.refund-aside h2 {
  margin-bottom: 8px;
  font-family: "Inter", sans-serif;
  font-size: 17px;
  font-weight: 800;
  text-transform: none;
}

.refund-aside p {
  color: var(--muted);
  font-size: 15px;
}

.refund-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
}

.refund-form label,
.refund-form .field {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.refund-form input:not([type="checkbox"]),
.refund-form select,
.refund-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--bg-2);
  color: var(--text);
  font: inherit;
  font-size: 15px;
}

.refund-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239aa3b2' stroke-width='1.6'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-repeat: no-repeat;
  background-size: 12px;
}

.refund-form input:focus,
.refund-form select:focus,
.refund-form textarea:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 4px rgba(63, 182, 255, 0.15);
}

.refund-form textarea {
  min-height: 110px;
  resize: vertical;
}

.refund-form .full {
  grid-column: 1 / -1;
}

.refund-form .help {
  color: var(--dim);
  font-size: 12px;
  font-weight: 500;
}

.refund-form .check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
}

.refund-form .check input {
  margin-top: 3px;
  accent-color: var(--blue);
}

.refund-form .trap {
  position: absolute;
  left: -9999px;
}

.refund-form [hidden] {
  display: none;
}

/* ---------- Presentation ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  transition: border-color 0.3s ease;
}

.price-card:hover {
  border-color: rgba(63, 182, 255, 0.35);
}

.price-card-kicker {
  color: var(--blue-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.price-card h4 {
  margin: 0;
  font-size: 17px;
}

.price-card strong {
  flex: 0 0 auto;
  color: var(--text);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 400;
}

.price-card p {
  color: var(--muted);
  font-size: 14px;
}

.price-note {
  margin-top: 18px;
  color: var(--dim);
  font-size: 14px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: var(--max);
  margin: clamp(60px, 8vw, 100px) auto;
  margin-inline: max(var(--gutter), calc((100% - var(--max)) / 2));
  padding: clamp(28px, 5vw, 50px);
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background:
    radial-gradient(60% 100% at 0% 0%, rgba(31, 122, 224, 0.3), transparent 70%),
    var(--surface);
}

.cta-band h2 {
  font-size: clamp(22px, 2.8vw, 34px);
}

.cta-band p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 12px;
  color: var(--muted);
}

.cta-band .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 404 ---------- */
.not-found {
  display: grid;
  place-items: center;
  min-height: 70vh;
  padding: 140px var(--gutter) 80px;
  text-align: center;
}

.not-found strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(80px, 16vw, 180px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(63, 182, 255, 0.6);
}

.not-found p {
  margin: 16px 0 28px;
  color: var(--muted);
}

/* ---------- Inner pages responsive ---------- */
@media (max-width: 920px) {
  .product-hero-inner,
  .product-grid,
  .refund-wrap {
    grid-template-columns: 1fr;
  }

  .product-hero {
    padding-top: 100px;
  }

  .product-media {
    order: -1;
    max-width: 380px;
    margin: 0 auto;
  }

  .product-stats,
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .refund-aside {
    position: static;
    order: 2;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .usage,
  .refund-form {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding-top: 110px;
  }

  .product-actions .button,
  .cta-band .actions .button {
    flex: 1 1 100%;
  }
}

/* ---------- App section ---------- */
.app-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background:
    radial-gradient(60% 80% at 100% 50%, rgba(63, 182, 255, 0.22), transparent 70%),
    radial-gradient(50% 70% at 0% 0%, rgba(31, 122, 224, 0.18), transparent 70%),
    var(--surface);
  overflow: hidden;
}

.app-copy h2 {
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.12;
}

.app-copy > p:not(.eyebrow):not(.app-note) {
  max-width: 520px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
}

.app-copy .check-list {
  margin-top: 24px;
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px 0 16px;
  border-radius: 14px;
  background: #fff;
  color: #000;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.15);
}

.store-badge svg {
  width: 28px;
  height: 28px;
}

.store-badge span {
  display: grid;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.store-badge small {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
}

.app-note {
  margin-top: 16px;
  color: var(--dim);
  font-size: 13px;
}

.app-phones {
  position: relative;
  height: 520px;
}

.phone {
  position: absolute;
  top: 50%;
  width: 240px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 38px;
  background: #0b0e13;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: 30px;
}

.phone--front {
  left: 50%;
  transform: translate(-30%, -50%) rotate(4deg);
}

.phone--back {
  left: 50%;
  transform: translate(-95%, -46%) rotate(-6deg) scale(0.9);
  opacity: 0.75;
}

@media (max-width: 920px) {
  .app-card {
    grid-template-columns: 1fr;
  }

  .app-phones {
    height: 460px;
  }
}

@media (max-width: 640px) {
  .app-phones {
    height: 400px;
  }

  .phone {
    width: 190px;
    border-radius: 30px;
  }

  .phone img {
    border-radius: 23px;
  }

  .store-badge {
    flex: 1 1 100%;
    justify-content: center;
  }

  .app-actions .button {
    flex: 1 1 100%;
  }
}

.store-badge--soon {
  border: 1px dashed var(--line-strong);
  background: transparent;
  color: var(--muted);
  cursor: default;
}

.store-badge--soon:hover {
  transform: none;
  box-shadow: none;
}

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.faq-layout .section-head {
  position: sticky;
  top: 100px;
  margin: 0;
  text-align: left;
}

.faq-layout .section-head .button {
  margin-top: 26px;
}

.faq-list summary {
  gap: 16px;
  line-height: 1.4;
}

.faq-list summary::after {
  flex: 0 0 auto;
}

.faq-list .detail-body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 920px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-layout .section-head {
    position: static;
  }
}

/* ---------- Machine stripes (the wrap pattern on Energybox machines) ---------- */
.machine-stripes {
  position: absolute;
  inset: -10%;
  background: repeating-linear-gradient(118deg, transparent 0 22px, rgba(63, 182, 255, 0.55) 22px 26px, transparent 26px 48px, rgba(255, 255, 255, 0.35) 48px 50px);
  -webkit-mask-image: radial-gradient(70% 60% at 70% 55%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 70% 55%, #000 0%, transparent 75%);
  opacity: 0.55;
  pointer-events: none;
}

.hero .machine-stripes {
  inset: 0 0 0 45%;
  opacity: 0.18;
}

/* ---------- Take it (visitors) ---------- */
.takeit-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 5vw, 60px);
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  overflow: hidden;
}

.takeit-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
}

.takeit-glow {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 182, 255, 0.45), transparent 65%);
  filter: blur(30px);
}

.takeit-visual img {
  position: relative;
  width: min(330px, 80%);
  height: auto;
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.55));
  transform: rotate(-4deg);
  transition: transform 0.5s ease;
}

.takeit-card:hover .takeit-visual img {
  transform: rotate(0deg) translateY(-6px);
}

.takeit-stamp {
  position: absolute;
  right: 6%;
  bottom: 10%;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  color: #05070b;
  font-family: var(--display);
  font-size: clamp(16px, 2vw, 22px);
  transform: rotate(-8deg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.takeit-copy h2 {
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.12;
}

.takeit-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
}

.takeit-steps {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.takeit-steps li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.takeit-num {
  flex: 0 0 auto;
  font-family: var(--display);
  font-size: 26px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(63, 182, 255, 0.8);
}

.takeit-steps h3 {
  font-size: 17px;
  font-weight: 800;
}

.takeit-steps p {
  color: var(--muted);
  font-size: 15px;
}

.takeit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 920px) {
  .takeit-card {
    grid-template-columns: 1fr;
  }

  .takeit-visual {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .takeit-visual {
    min-height: 300px;
  }

  .takeit-actions .button {
    flex: 1 1 100%;
  }
}

/* Machine cards with lifestyle photos */
.machine-media--photo {
  height: auto;
  aspect-ratio: 5 / 6;
  padding: 0;
  background: #0b0f15;
}

.machine-media--photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 60%;
}

.machine-media--photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(transparent, rgba(15, 20, 28, 0.85));
  pointer-events: none;
}

.machine-card:hover .machine-media--photo img {
  transform: scale(1.03);
}

@media (max-width: 640px) {
  .machine-media--photo {
    height: auto;
  }
}

/* ---------- Hero photo / video ---------- */
.hero-media {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(63, 182, 255, 0.08);
}

.hero-visual .hero-media img,
.hero-media .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.hero-media .hero-video {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-media .hero-video.is-playing {
  opacity: 1;
}

.hero-visual .float-card--top {
  right: -14px;
}

.hero-visual .float-card--bottom {
  left: -14px;
}

/* ---------- Visitor photo ---------- */
.takeit-visual {
  min-height: 0;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
}

.takeit-visual .takeit-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transform: none;
}

.takeit-card:hover .takeit-visual .takeit-photo {
  transform: scale(1.03);
}

/* ---------- Real club photos ---------- */
.clubs {
  margin-top: 56px;
}

.clubs-head {
  margin-bottom: 20px;
}

.clubs-head .eyebrow {
  margin-bottom: 6px;
}

.clubs-head h3 {
  font-size: 22px;
  font-weight: 800;
}

.clubs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.clubs-grid figure {
  margin: 0;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

.clubs-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.clubs-grid figure:hover img {
  transform: scale(1.04);
}

@media (max-width: 920px) {
  .takeit-visual {
    min-height: 0;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .takeit-visual {
    min-height: 0;
  }

  .clubs-grid {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 72%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .clubs-grid figure {
    scroll-snap-align: start;
  }

  .hero-visual .float-card--top {
    right: 0;
  }
}

/* ---------- Footer v2 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: 0;
}

.site-footer > *:not(.footer-stripes) {
  position: relative;
}

.footer-stripes {
  inset: 0 -10% 0 40%;
  -webkit-mask-image: radial-gradient(60% 70% at 85% 30%, #000 0%, transparent 70%);
  mask-image: radial-gradient(60% 70% at 85% 30%, #000 0%, transparent 70%);
  opacity: 0.22;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto 64px;
  padding: clamp(26px, 4vw, 40px) clamp(24px, 4vw, 44px);
  border-radius: 0 0 28px 28px;
  background: linear-gradient(120deg, var(--blue), #0d4f9e 70%);
  box-shadow: 0 30px 70px rgba(31, 122, 224, 0.25);
}

.footer-cta .eyebrow {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-cta h2 {
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.15;
}

.footer-cta .accent {
  background: none;
  color: #fff;
  -webkit-text-fill-color: currentColor;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-cta .button.primary {
  background: #fff;
  color: #05070b;
  box-shadow: none;
}

.footer-cta .button.ghost {
  border-color: rgba(255, 255, 255, 0.45);
  background: transparent;
}

.footer-facts {
  margin-top: 14px;
  color: var(--blue-bright) !important;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer-col a:not(.footer-socials a) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
}

.footer-col a:not(.footer-socials a)::after {
  content: "→";
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  color: var(--blue-bright);
}

.footer-col a:not(.footer-socials a):hover::after {
  opacity: 1;
  transform: none;
}

.footer-socials {
  gap: 10px;
  margin-top: 12px;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-socials a:hover {
  border-color: var(--blue-bright);
  background: var(--blue);
  transform: translateY(-2px);
}

.footer-socials svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-wordmark {
  max-width: var(--max);
  margin: 56px auto -0.12em;
  font-family: var(--display);
  font-size: clamp(56px, 15vw, 210px);
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(63, 182, 255, 0.25);
  opacity: 0.4;
  transform: translateY(30px);
  transition: opacity 1.2s ease, transform 1.2s ease, -webkit-text-stroke-color 1.2s ease;
  user-select: none;
}

.footer-wordmark.is-visible {
  opacity: 1;
  transform: none;
  -webkit-text-stroke-color: rgba(63, 182, 255, 0.75);
}

.footer-bottom {
  margin-top: 0;
}

@media (max-width: 920px) {
  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .footer-cta {
    margin-bottom: 44px;
    border-radius: 0 0 22px 22px;
  }

  .footer-cta-actions .button {
    flex: 1 1 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 20px;
  }

  .footer-brand,
  .footer-contacts {
    grid-column: 1 / -1;
  }

  .footer-col a {
    font-size: 14px;
  }

  .footer-wordmark {
    margin-top: 40px;
  }
}
