/* ==========================================================================
   XCY FOOD (Shandong Xingchangyuan Food Co., Ltd.)
   Global Six-Language Website Design System (LTR + Native Arabic RTL)
   ========================================================================== */

:root {
  /* Brand Palette: Fresh Botanical Health, Warm Sunlight & Gentle Honey Gold */
  --emerald-950: #103d2c;
  --emerald-900: #175940;
  --emerald-800: #1f7253;
  --emerald-700: #2b8a66;
  --emerald-100: #e2f2ea;
  --emerald-50: #f1f9f4;

  --gold-600: #b87e22;
  --gold-500: #d99b38;
  --gold-400: #f0be63;
  --gold-100: #fdf5e4;

  --ivory: #fbfdfb;
  --surface: #ffffff;
  --surface-alt: #f0f6f2;
  --ink-900: #172a22;
  --ink-700: #31493f;
  --ink-500: #5a7268;
  --ink-400: #7f948b;
  --border: #d9e6de;
  --border-dark: rgba(255, 255, 255, 0.18);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 3px 14px rgba(23, 89, 64, 0.06);
  --shadow-md: 0 14px 36px rgba(23, 89, 64, 0.09);
  --shadow-lg: 0 26px 64px rgba(23, 89, 64, 0.14);

  --font-latin: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-zh: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-ar: "Cairo", "Tajawal", "Noto Sans Arabic", Tahoma, sans-serif;
  --font-serif: "Playfair Display", "Noto Serif SC", Georgia, serif;

  --container-max: 1260px;
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-latin), var(--font-zh);
  color: var(--ink-900);
  background-color: var(--ivory);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html[lang="zh"] body {
  font-family: var(--font-zh), var(--font-latin);
}

html[lang="ar"] body {
  font-family: var(--font-ar), var(--font-latin);
  line-height: 1.75;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

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

.ltr-inline {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

/* Utilities & Typography */
.section {
  padding-block: 96px;
  position: relative;
}

.section-dark {
  background: linear-gradient(145deg, #16553d 0%, #1e6c4e 58%, #257d5b 100%);
  color: #ffffff;
}

.section-alt {
  background-color: var(--surface-alt);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
  background: var(--gold-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-dark .eyebrow {
  background: rgba(200, 155, 60, 0.16);
  color: var(--gold-400);
  border: 1px solid rgba(223, 184, 100, 0.28);
}

.section-header {
  max-width: 780px;
  margin-bottom: 52px;
}

.section-header.centered {
  margin-inline: auto;
  text-align: center;
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--ink-500);
  line-height: 1.75;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.76);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.22s var(--ease), background-color 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
  white-space: nowrap;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--emerald-950);
  box-shadow: 0 8px 24px rgba(200, 155, 60, 0.32);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #d6a947, #e8c474);
  box-shadow: 0 12px 30px rgba(200, 155, 60, 0.42);
}

.btn-emerald {
  background: var(--emerald-900);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(10, 54, 40, 0.2);
}

.btn-emerald:hover {
  background: var(--emerald-800);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #ffffff;
}

.btn-outline-dark {
  background: transparent;
  color: var(--emerald-900);
  border-color: var(--emerald-900);
}

.btn-outline-dark:hover {
  background: var(--emerald-900);
  color: #ffffff;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

/* ==========================================================================
   Header & Navigation (Fresh Frosted Sunlight White)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(23, 89, 64, 0.09);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 28px rgba(23, 89, 64, 0.09);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--emerald-950);
  flex-shrink: 0;
}

.site-footer .brand-logo {
  color: #ffffff;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--emerald-800), var(--emerald-700));
  display: grid;
  place-items: center;
  color: var(--gold-400);
  box-shadow: 0 5px 16px rgba(23, 89, 64, 0.24);
}

.site-footer .brand-mark {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--emerald-950);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-sub {
  font-size: 0.7rem;
  color: var(--emerald-700);
  letter-spacing: 0.06em;
  font-weight: 700;
}

.site-footer .brand-sub {
  color: var(--gold-400);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
}

.nav-links a {
  color: var(--ink-700);
  font-size: 0.86rem;
  font-weight: 700;
  transition: color 0.2s ease;
  position: relative;
  padding-block: 6px;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--emerald-800);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 0;
  height: 2.5px;
  border-radius: 2px;
  background: var(--emerald-700);
  transition: width 0.25s var(--ease);
}

.nav-links a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--emerald-50);
  border: 1px solid var(--border);
  color: var(--emerald-900);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.lang-btn:hover {
  background: var(--emerald-100);
  border-color: var(--emerald-700);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  width: 210px;
  background: #ffffff;
  color: var(--ink-900);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s var(--ease);
  z-index: 1020;
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: start;
  transition: background-color 0.15s ease;
}

.lang-option:hover {
  background: var(--emerald-50);
}

.lang-option.active {
  background: var(--emerald-900);
  color: #ffffff;
}

.lang-option .lang-code {
  font-size: 0.72rem;
  opacity: 0.7;
  font-weight: 700;
}

/* Sample Cart Trigger */
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--gold-100);
  border: 1px solid #efd59d;
  color: var(--gold-600);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cart-btn:hover {
  background: #faebd0;
}

.cart-badge {
  min-width: 20px;
  height: 20px;
  padding-inline: 5px;
  border-radius: 999px;
  background: var(--emerald-900);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
}

.mobile-toggle {
  display: none;
  background: var(--emerald-50);
  border: 1px solid var(--border);
  color: var(--emerald-900);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  place-items: center;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section — Dynamic 4-Slide Ken Burns Carousel (Bright & Healthy)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 96vh;
  padding-top: calc(var(--header-h) + 46px);
  padding-bottom: 108px;
  display: flex;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
  background: #17543c;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.35s ease-in-out;
  will-change: opacity;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.0);
  will-change: transform;
}

/* Cinematic Ken Burns Motion (alternating gentle zoom & pan directions) */
.hero-slide.active img {
  animation: kenBurnsA 8.5s ease-out forwards;
}

.hero-slide:nth-child(even).active img {
  animation: kenBurnsB 8.5s ease-out forwards;
}

@keyframes kenBurnsA {
  0%   { transform: scale(1.0) translate3d(0%, 0%, 0); }
  100% { transform: scale(1.11) translate3d(-1.4%, -0.8%, 0); }
}

@keyframes kenBurnsB {
  0%   { transform: scale(1.09) translate3d(-1.2%, 0.6%, 0); }
  100% { transform: scale(1.0) translate3d(0.6%, -0.6%, 0); }
}

/* Soft Fresh Sunlight-Emerald Overlay (Bright & Breathable, High Readability) */
.hero-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    108deg,
    rgba(16, 66, 46, 0.86) 0%,
    rgba(22, 85, 60, 0.64) 48%,
    rgba(26, 94, 67, 0.28) 100%
  );
}

[dir="rtl"] .hero-carousel::after {
  background: linear-gradient(
    252deg,
    rgba(16, 66, 46, 0.86) 0%,
    rgba(22, 85, 60, 0.64) 48%,
    rgba(26, 94, 67, 0.28) 100%
  );
}

/* Subtle Floating Sunlight Glow Orbs */
.hero-ambient {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 22%, rgba(245, 206, 122, 0.22), transparent 44%),
    radial-gradient(circle at 20% 80%, rgba(122, 224, 178, 0.16), transparent 42%);
  animation: sunlightPulse 7s ease-in-out infinite alternate;
}

@keyframes sunlightPulse {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.04); }
}

/* Bottom Interactive Carousel Controls & Animated Progress Bars */
.hero-controls {
  position: absolute;
  bottom: 24px;
  inset-inline: 0;
  z-index: 5;
}

.hero-controls .container {
  padding-inline-end: 245px;
}

@media (max-width: 960px) {
  .hero-controls .container {
    padding-inline-end: 24px;
  }
}

.hero-controls-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(16, 61, 44, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  padding: 12px 18px;
}

.hero-progress-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  flex: 1;
}

.hero-prog-btn {
  background: transparent;
  border: none;
  text-align: start;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.72);
  padding: 4px 2px;
  transition: color 0.2s ease;
}

.hero-prog-btn.active,
.hero-prog-btn:hover {
  color: #ffffff;
}

.hero-prog-track {
  height: 3.5px;
  background: rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}

.hero-prog-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-400), #fff1cc);
  border-radius: 999px;
}

.hero-prog-btn.active .hero-prog-fill {
  animation: slideProgress 6.5s linear forwards;
}

.hero-controls.paused .hero-prog-btn.active .hero-prog-fill {
  animation-play-state: paused;
}

@keyframes slideProgress {
  from { width: 0%; }
  to   { width: 100%; }
}

.hero-prog-title {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-nav-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.hero-ctrl-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  transition: background-color 0.2s ease;
}

.hero-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.26);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(200, 155, 60, 0.16);
  border: 1px solid rgba(223, 184, 100, 0.38);
  color: var(--gold-400);
}

.hero-pill.pill-green {
  background: rgba(25, 100, 76, 0.35);
  border-color: rgba(114, 214, 174, 0.35);
  color: #a9f0d1;
}

.hero-title {
  font-size: clamp(2.35rem, 4.6vw, 3.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-title .accent {
  color: var(--gold-400);
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.84);
  max-width: 620px;
  margin-bottom: 32px;
  line-height: 1.75;
}

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

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.74);
}

.hero-trust-strip strong {
  color: #ffffff;
}

/* Hero Right Executive Scorecard */
.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: #8df0c4;
  font-weight: 600;
}

.live-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3be099;
  box-shadow: 0 0 10px #3be099;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.kpi-box {
  background: rgba(6, 33, 25, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 16px;
}

.kpi-val {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1.15;
  margin-bottom: 4px;
}

.kpi-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.35;
}

.hero-cert-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-cert-tag {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* ==========================================================================
   Certifications Hub (Core Moat)
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 32px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-tab {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #ffffff;
  color: var(--ink-700);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.filter-tab:hover {
  border-color: var(--emerald-800);
  color: var(--emerald-900);
}

.filter-tab.active {
  background: var(--emerald-900);
  color: #ffffff;
  border-color: var(--emerald-900);
}

.section-dark .filter-tab {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.86);
}

.section-dark .filter-tab.active {
  background: var(--gold-400);
  border-color: var(--gold-400);
  color: var(--emerald-950);
}

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

.cert-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
  position: relative;
  overflow: hidden;
}

.cert-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--emerald-800), var(--gold-500));
  opacity: 0.85;
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-500);
}

.cert-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.cert-emblem {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--emerald-50);
  color: var(--emerald-900);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.78rem;
  border: 1px solid var(--emerald-100);
  flex-shrink: 0;
}

.cert-card.is-halal .cert-emblem {
  background: #fef7e6;
  color: var(--gold-600);
  border-color: #f4dfad;
}

.cert-grade {
  font-size: 0.74rem;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--emerald-900);
  color: var(--gold-400);
}

.cert-title {
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--ink-900);
}

.cert-issuer {
  font-size: 0.82rem;
  color: var(--emerald-700);
  font-weight: 700;
  margin-bottom: 10px;
}

.cert-desc {
  font-size: 0.9rem;
  color: var(--ink-500);
  margin-bottom: 18px;
  line-height: 1.6;
}

.cert-meta {
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--ink-500);
  margin-bottom: 16px;
}

.cert-meta strong {
  color: var(--ink-900);
}

.cert-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cert-region {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--emerald-800);
  background: var(--emerald-50);
  padding: 4px 10px;
  border-radius: 6px;
}

.cert-view-btn {
  background: transparent;
  border: none;
  color: var(--gold-600);
  font-weight: 800;
  font-size: 0.84rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cert-view-btn:hover {
  text-decoration: underline;
}

/* Global Compliance Banner */
.compliance-banner {
  margin-top: 32px;
  background: linear-gradient(135deg, var(--emerald-900), var(--emerald-950));
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.compliance-banner h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
  color: var(--gold-400);
}

.compliance-banner p {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 720px;
}

/* ==========================================================================
   Products Showcase & Sample Cart
   ========================================================================== */
.halal-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fef7e6;
  border: 1.5px solid #ead196;
  color: var(--gold-600);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}

.halal-toggle input {
  accent-color: var(--emerald-900);
  width: 16px;
  height: 16px;
}

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

.product-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--emerald-950);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.06);
}

.product-badges {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.p-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.p-badge-cat {
  background: rgba(6, 33, 25, 0.82);
  color: #ffffff;
}

.p-badge-halal {
  background: rgba(200, 155, 60, 0.94);
  color: var(--emerald-950);
}

.p-badge-rte {
  background: rgba(25, 100, 76, 0.92);
  color: #ffffff;
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--ink-900);
}

.product-desc {
  font-size: 0.88rem;
  color: var(--ink-500);
  margin-bottom: 14px;
  flex: 1;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.spec-chip {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--surface-alt);
  color: var(--ink-700);
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.product-actions .btn {
  flex: 1;
}

/* Custom Expansion Banner */
.expansion-strip {
  margin-top: 40px;
  background: #ffffff;
  border: 1.5px dashed var(--gold-500);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.expansion-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.expansion-tag {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--emerald-50);
  color: var(--emerald-900);
  border: 1px solid var(--emerald-100);
}

/* ==========================================================================
   Dual-Circulation Solutions & 14-Day ODM
   ========================================================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.solution-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}

.solution-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(223, 184, 100, 0.45);
}

.sol-num {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold-400);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.solution-card h3 {
  font-size: 1.16rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.solution-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 16px;
}

.sol-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.88);
}

.sol-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.sol-list li::before {
  content: "✓";
  color: var(--gold-400);
  font-weight: 800;
  flex-shrink: 0;
}

/* 14-Day ODM Timeline */
.odm-panel {
  background: rgba(6, 33, 25, 0.65);
  border: 1px solid rgba(223, 184, 100, 0.25);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.odm-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}

.odm-head h3 {
  font-size: 1.45rem;
  color: #ffffff;
}

.odm-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.odm-step {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 20px;
  border-top: 3px solid var(--gold-400);
}

.odm-day {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--emerald-950);
  background: var(--gold-400);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.odm-step h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #ffffff;
}

.odm-step p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.74);
}

/* ==========================================================================
   Smart Factory & Global Ports
   ========================================================================== */
.factory-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.factory-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.factory-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.factory-float-card {
  position: absolute;
  bottom: 20px;
  inset-inline: 20px;
  background: rgba(6, 33, 25, 0.9);
  backdrop-filter: blur(12px);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.f-stat-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold-400);
}

.f-stat-lbl {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.78);
}

.milestone-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 26px;
}

.milestone-item {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.milestone-year {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--emerald-900);
  background: var(--gold-100);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  height: fit-content;
  flex-shrink: 0;
}

.milestone-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.milestone-item p {
  font-size: 0.88rem;
  color: var(--ink-500);
}

/* ==========================================================================
   Partners & Honors Wall
   ========================================================================== */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.partner-tile {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  text-align: center;
  transition: all 0.22s var(--ease);
}

.partner-tile:hover {
  border-color: var(--gold-500);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.partner-name {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--emerald-900);
  margin-bottom: 4px;
}

.partner-type {
  font-size: 0.76rem;
  color: var(--ink-500);
}

.honor-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.honor-card {
  background: linear-gradient(135deg, #ffffff, var(--emerald-50));
  border: 1px solid var(--emerald-100);
  border-radius: var(--radius-md);
  padding: 20px;
}

.honor-year {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gold-600);
  margin-bottom: 6px;
}

.honor-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--emerald-950);
  margin-bottom: 4px;
}

.honor-org {
  font-size: 0.8rem;
  color: var(--ink-500);
}

/* ==========================================================================
   Global Inquiry & Partnership Form
   ========================================================================== */
.inquiry-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.contact-panel {
  background: linear-gradient(155deg, var(--emerald-950), var(--emerald-900));
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 36px;
}

.contact-panel h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
  color: var(--gold-400);
}

.contact-panel > p {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 26px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(200, 155, 60, 0.16);
  color: var(--gold-400);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-item small {
  display: block;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2px;
}

.contact-item strong {
  font-size: 0.94rem;
  color: #ffffff;
}

.trade-terms {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.form-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

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

.form-group label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-700);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--ivory);
  font-size: 0.92rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--emerald-800);
  background: #ffffff;
}

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

.selected-samples-box {
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.84rem;
  color: var(--emerald-900);
}

.receipt-box {
  display: none;
  margin-top: 20px;
  background: var(--emerald-50);
  border: 1.5px solid var(--emerald-700);
  border-radius: var(--radius-md);
  padding: 22px;
}

.receipt-box.show {
  display: block;
}

.receipt-box h4 {
  color: var(--emerald-900);
  margin-bottom: 8px;
}

.receipt-box p {
  font-size: 0.88rem;
  color: var(--ink-700);
  margin-bottom: 12px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--emerald-950);
  color: rgba(255, 255, 255, 0.76);
  padding-top: 64px;
  padding-bottom: 92px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.96rem;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--gold-400);
}

.footer-lang-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-lang-pill {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 0.8rem;
  cursor: pointer;
}

.footer-lang-pill:hover,
.footer-lang-pill.active {
  background: var(--gold-400);
  color: var(--emerald-950);
  border-color: var(--gold-400);
  font-weight: 700;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.54);
}

/* ==========================================================================
   Modals & Sample Cart Drawer
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 33, 25, 0.68);
  backdrop-filter: blur(6px);
  z-index: 1200;
  display: none;
  place-items: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: grid;
}

.modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 620px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: popIn 0.25s var(--ease);
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-head {
  background: var(--emerald-900);
  color: #ffffff;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-close {
  background: rgba(255, 255, 255, 0.14);
  border: none;
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.modal-body {
  padding: 24px;
  max-height: 75vh;
  overflow-y: auto;
}

.modal-kv {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-block: 16px;
}

.kv-box {
  background: var(--surface-alt);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}

.kv-box small {
  display: block;
  font-size: 0.74rem;
  color: var(--ink-500);
}

.kv-box strong {
  font-size: 0.9rem;
  color: var(--ink-900);
}

/* Sample Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 33, 25, 0.56);
  z-index: 1250;
  display: none;
}

.drawer-backdrop.open {
  display: block;
}

.sample-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  inset-inline-end: 0;
  width: min(410px, 92vw);
  background: #ffffff;
  z-index: 1260;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.3s var(--ease);
}

[dir="rtl"] .sample-drawer {
  transform: translateX(-105%);
}

.sample-drawer.open {
  transform: translateX(0);
}

.drawer-body {
  padding: 20px 24px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--ivory);
}

.drawer-item-remove {
  background: transparent;
  border: none;
  color: #b42318;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.82rem;
}

.drawer-foot {
  padding: 18px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid,
  .factory-grid,
  .inquiry-grid {
    grid-template-columns: 1fr;
  }
  .cert-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .solutions-grid,
  .odm-steps,
  .honor-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .nav-links {
    position: fixed;
    top: var(--header-h);
    inset-inline: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 14px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .mobile-toggle {
    display: grid;
  }
  .header-cta-desktop {
    display: none;
  }
  .hero-progress-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .section {
    padding-block: 68px;
  }
  .cert-grid,
  .product-grid,
  .solutions-grid,
  .odm-steps,
  .honor-row,
  .form-grid,
  .modal-kv {
    grid-template-columns: 1fr;
  }
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .factory-float-card {
    grid-template-columns: 1fr;
    position: static;
    border-radius: 0;
  }
}


/* ==========================================================================
   Global Partner Program & STELVORA Group Architecture Extension
   ========================================================================== */
.hero-group-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 14px;
  padding-inline-start: 12px;
  border-inline-start: 3px solid var(--gold-400);
}

.gp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.gp-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  position: relative;
}

.gp-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-500);
}

.gp-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--emerald-900);
  background: var(--gold-100);
  border: 1px solid #ecd6a1;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.gp-card.is-strategic .gp-tag {
  background: var(--emerald-50);
  border-color: var(--emerald-100);
  color: var(--emerald-800);
}

.gp-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--ink-900);
  margin-bottom: 8px;
}

.gp-card p {
  font-size: 0.88rem;
  color: var(--ink-500);
  line-height: 1.65;
}

.gp-benefits-box {
  background: linear-gradient(145deg, var(--emerald-950), var(--emerald-900));
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 34px;
  border: 1px solid rgba(223, 184, 100, 0.28);
}

.gp-benefits-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.gp-benefits-head h3 {
  font-size: 1.35rem;
  color: var(--gold-400);
}

.gp-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gp-benefit-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 18px;
}

.gp-benefit-item h4 {
  font-size: 0.94rem;
  color: var(--gold-400);
  margin-bottom: 6px;
}

.gp-benefit-item p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
}

@media (max-width: 1080px) {
  .gp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gp-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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


/* ==========================================================================
   Footer Social Media Matrix & Floating One-Click WhatsApp Widget
   ========================================================================== */
.footer-social-wrap {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-social-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
}

.footer-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  display: inline-grid;
  place-items: center;
  transition: transform 0.22s var(--ease), background-color 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
}

.social-icon-btn:hover {
  transform: translateY(-3px);
  background: var(--gold-400);
  border-color: var(--gold-400);
  color: var(--emerald-950);
  box-shadow: 0 6px 18px rgba(240, 190, 99, 0.35);
}

/* Floating Automated WhatsApp Button (RTL-safe) */
.wa-float-btn {
  position: fixed;
  bottom: 26px;
  inset-inline-end: 26px;
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 18px 10px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366, #1ca851);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(28, 168, 81, 0.38);
  border: 2px solid rgba(255, 255, 255, 0.32);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.wa-float-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 36px rgba(28, 168, 81, 0.5);
}

.wa-float-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
}

.wa-float-icon::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  animation: waPulse 2.2s ease-out infinite;
}

@keyframes waPulse {
  0%   { transform: scale(0.95); opacity: 0.9; }
  100% { transform: scale(1.38); opacity: 0; }
}

.wa-float-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.wa-float-text strong {
  font-size: 0.85rem;
  font-weight: 800;
}

.wa-float-text small {
  font-size: 0.72rem;
  opacity: 0.92;
  font-weight: 600;
}

@media (max-width: 640px) {
  .wa-float-btn {
    bottom: 18px;
    inset-inline-end: 16px;
    padding: 10px;
  }
  .wa-float-text {
    display: none;
  }
}
