/* ==========================================================
   Components
   ========================================================== */

/* ---------- Logo ---------- */

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  width: clamp(132px, 12vw, 168px);
  height: auto;
}

/* ---------- Buttons ----------
   Primary: solid brand blue; its icon tile slides on hover.
   Secondary: steel outline. Same height, same radius. */

.btn {
  --h: 56px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: var(--h);
  padding: 0 8px 0 24px;
  border-radius: var(--r-md);
  font-size: var(--fs-16);
  font-weight: 600;
  font-variation-settings: "wdth" 108;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med), background var(--t-fast), color var(--t-fast);
}

.btn__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  transition: transform var(--t-med) var(--ease-out), background var(--t-fast);
}

.btn__icon svg {
  width: 20px;
  height: 20px;
}

/* sheen that sweeps across on hover — reads as light on metal */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 800ms var(--ease-out);
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 18px 40px -16px var(--blue-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn--primary .btn__icon {
  background: rgba(255, 255, 255, 0.16);
}

.btn--primary:hover {
  background: #3a8bff;
  box-shadow: 0 22px 50px -14px rgba(47, 127, 240, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn--primary:hover .btn__icon {
  background: #fff;
  color: var(--blue);
  transform: rotate(-8deg);
}

.btn--ghost {
  padding: 0 24px;
  border: 1px solid var(--line-strong);
  background: rgba(10, 19, 45, 0.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--ink-dark);
  border-color: var(--ink);
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: #062b14;
}

.btn--whatsapp .btn__icon {
  background: rgba(0, 0, 0, 0.12);
}

.btn--whatsapp:hover {
  background: #3ee07c;
}

.btn--sm {
  --h: 44px;
  padding: 0 18px;
  font-size: var(--fs-14);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Text link with underline draw ---------- */

.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
}

.link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.35);
  transform-origin: left;
  opacity: 0.6;
  transition: transform var(--t-med) var(--ease-out), opacity var(--t-fast);
}

.link:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.link svg {
  width: 18px;
  height: 18px;
}

/* ---------- Nav pills ---------- */

.nav-pills {
  display: flex;
  gap: 2px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(10, 19, 45, 0.55);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.nav-pills a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding-inline: 16px;
  border-radius: 10px;
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--ink-2);
  transition: color var(--t-fast), background var(--t-med) var(--ease-out);
}

.nav-pills a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.nav-pills a[aria-current="true"] {
  color: #fff;
  background: linear-gradient(180deg, rgba(47, 127, 240, 0.55), rgba(23, 42, 95, 0.8));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* ---------- Chip ---------- */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding-inline: 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: rgba(10, 19, 45, 0.5);
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--ink-2);
}

.chip svg {
  width: 16px;
  height: 16px;
  color: var(--blue-hi);
}

/* ---------- Steel plate (product photo frame) ----------
   The supplier photos come on grey/white cards; multiply blends
   them into a brushed-steel face so every product sits on the same material. */

.plate {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: var(--r-lg);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px 3px),
    var(--steel-face);
  box-shadow: var(--shadow-plate), inset 0 1px 0 #fff;
  overflow: hidden;
  isolation: isolate;
}

.plate img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 900ms var(--ease-out);
}

/* moving reflection */
.plate::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.55) 50%, transparent 60%);
  transform: translateX(var(--sheen, -60%));
  mix-blend-mode: soft-light;
  pointer-events: none;
}

/* ---------- Glass panel ---------- */

.glass {
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

/* ---------- Icon tile ---------- */

.icon-tile {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(47, 127, 240, 0.25), rgba(47, 127, 240, 0.06));
  border: 1px solid rgba(109, 180, 255, 0.25);
  color: var(--blue-hi);
}

.icon-tile svg {
  width: 24px;
  height: 24px;
}

/* ---------- Ticker (steel band) ---------- */

.ticker {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 48s linear infinite;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__track span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 22px 14px;
  font-size: var(--fs-28);
  font-weight: 700;
  font-variation-settings: "wdth" var(--wdth-display);
  letter-spacing: -0.02em;
  color: var(--steel-400);
  white-space: nowrap;
}

.ticker__track span::after {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid var(--blue);
  border-radius: 50%;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ---------- Callout (tracks a 3D point) ---------- */

.callout {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  gap: 0;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}

.callout__dot {
  position: relative;
  width: 12px;
  height: 12px;
  margin: 0 0 -6px -6px;
  border-radius: 50%;
  background: var(--blue-hi);
  box-shadow: 0 0 0 4px rgba(109, 180, 255, 0.25), 0 0 20px var(--blue-hi);
}

.callout__line {
  width: 72px;
  height: 52px;
  border-top: 1px solid var(--blue-hi);
  transform: skewX(-40deg);
  transform-origin: bottom left;
  margin-left: -1px;
  opacity: 0.8;
  border-left: 1px solid var(--blue-hi);
}

.callout__label {
  margin: 0 0 40px 10px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  background: rgba(6, 12, 31, 0.72);
  border: 1px solid rgba(109, 180, 255, 0.35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

.callout__label strong {
  display: block;
  font-size: var(--fs-14);
  font-weight: 700;
}

.callout__label span {
  font-size: var(--fs-12);
  color: var(--ink-2);
}

.callout--left {
  flex-direction: row-reverse;
}

.callout--left .callout__dot {
  margin: 0 -6px -6px 0;
}

.callout--left .callout__line {
  transform: skewX(40deg);
  transform-origin: bottom right;
  margin: 0 -1px 0 0;
  border-left: 0;
  border-right: 1px solid var(--blue-hi);
}

.callout--left .callout__label {
  margin: 0 10px 40px 0;
}

/* ---------- Social icons (Instagram | Facebook) ----------
   Steel tiles; on hover the tile lifts, a blue light fills it from below
   and the glyph turns a few degrees, like a valve handle. */

.socials {
  display: flex;
  gap: 10px;
}

.social {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: rgba(10, 19, 45, 0.5);
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-med) var(--ease-out), border-color var(--t-med), box-shadow var(--t-med);
}

.social::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, var(--blue-hi), var(--blue));
  transform: translateY(101%);
  transition: transform var(--t-med) var(--ease-out);
}

.social svg {
  width: 22px;
  height: 22px;
  transition: transform var(--t-med) var(--ease-out);
}

.social:hover {
  transform: translateY(-3px);
  border-color: var(--blue-hi);
  box-shadow: 0 14px 30px -12px var(--blue-glow);
}

.social:hover::before {
  transform: none;
}

.social:hover svg {
  transform: rotate(-10deg) scale(1.08);
}

.social:active {
  transform: translateY(-1px) scale(0.97);
}

.menu .socials {
  justify-content: center;
  margin-top: 8px;
}

/* ---------- Floating WhatsApp ---------- */

.wa-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 18px 0 16px;
  border-radius: var(--r-pill);
  background: var(--whatsapp);
  color: #062b14;
  font-weight: 700;
  font-size: var(--fs-14);
  box-shadow: 0 16px 40px -12px rgba(37, 211, 102, 0.55);
  transform: translateY(120%);
  opacity: 0;
  transition: transform var(--t-med) var(--ease-out), opacity var(--t-med), background var(--t-fast);
}

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

.wa-float:hover {
  background: #3ee07c;
}

.wa-float svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 560px) {
  .wa-float {
    width: 56px;
    padding: 0;
    justify-content: center;
  }

  .wa-float span {
    display: none;
  }
}
