/* ==========================================================================
   VIJAY GLOBAL EXPORTS — Shared Components
   ========================================================================== */

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.9rem 1.9rem;
  border-radius: var(--radius-pill);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast), color var(--dur-fast);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--color-orange);
  color: var(--color-white);
  box-shadow: var(--shadow-orange);
}
.btn--primary:hover {
  background: var(--color-orange-dark);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(244,121,32,0.34);
}

.btn--outline {
  background: transparent;
  color: var(--color-blue-dark);
  border: 1.6px solid var(--color-blue-deep);
}
.btn--outline:hover {
  background: var(--color-blue-deep);
  color: var(--color-white);
  transform: translateY(-3px);
}

.btn--ghost-light {
  background: rgba(255,255,255,0.12);
  color: var(--color-white);
  border: 1.6px solid rgba(255,255,255,0.45);
}
.btn--ghost-light:hover {
  background: var(--color-white);
  color: var(--color-blue-dark);
  transform: translateY(-3px);
}

/* ---- Section divider wave ---- */
.wave-divider {
  display: block;
  width: 100%;
  height: clamp(40px, 6vw, 90px);
}

/* ---- Port-stamp badge (signature motif) ---- */
.port-stamp {
  position: relative;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 1.6px dashed var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: spin-slow 26s linear infinite;
}
.port-stamp__inner {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--color-blue-dark);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  animation: spin-slow-reverse 26s linear infinite;
}
.port-stamp__inner strong { font-size: 1.5rem; line-height: 1; }
.port-stamp__inner span { font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }

@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes spin-slow-reverse { to { transform: rotate(-360deg); } }

/* ---- Cards ---- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-line);
  padding: var(--space-md);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), border-color var(--dur-fast);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.icon-tile {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-blue-deep), var(--color-blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  flex-shrink: 0;
}
.icon-tile svg { width: 26px; height: 26px; color: var(--color-white); }
.icon-tile--orange { background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark)); }

/* ---- Stat block ---- */
.stat {
  text-align: center;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem);
  font-weight: 700;
  color: var(--color-blue-dark);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.stat__num .unit { font-size: 1.4rem; color: var(--color-orange); }
.stat__label {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--color-ink-soft);
  margin-top: 0.35rem;
}

/* ---- Reveal-on-scroll utility ---- */
.reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- Breadcrumb / page header ---- */
.page-hero {
  position: relative;
  background: linear-gradient(155deg, var(--color-blue-dark), var(--color-blue-deep) 70%);
  color: var(--color-white);
  padding-block: calc(var(--space-2xl) * 0.85) var(--space-xl);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  bottom: -60px; left: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,121,32,0.22), transparent 70%);
}
.page-hero__inner { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-sm);
}
.breadcrumb a { transition: color var(--dur-fast); }
.breadcrumb a:hover { color: var(--color-orange); }
.breadcrumb .current { color: var(--color-orange); font-weight: 600; }
.page-hero h1 { color: var(--color-white); }
.page-hero .lead { color: rgba(255,255,255,0.78); }

/* ---- Tag chip ---- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-cream-deep);
  border: 1px solid var(--color-line);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-blue-dark);
}

/* ---- Floating WhatsApp / call button ---- */
.float-actions {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.float-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur-fast) var(--ease-out);
  color: var(--color-white);
}
.float-btn:hover { transform: scale(1.08); }
.float-btn--whatsapp { background: #2DAF5E; }
.float-btn--call { background: var(--color-orange); }
.float-btn svg { width: 26px; height: 26px; }