@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #0d0d0d;
  --bg-alt: #111111;
  --card: #1a1a1a;
  --card-soft: rgba(255, 255, 255, 0.04);
  --text: #ffffff;
  --muted: #bbbbbb;
  --accent: #ff7a00;
  --accent-soft: rgba(255, 122, 0, 0.14);
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 24px;
  --radius-lg: 32px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background:
    radial-gradient(circle at top, rgba(255, 122, 0, 0.12), transparent 30%),
    linear-gradient(180deg, #111111 0%, #0d0d0d 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 90%);
  opacity: 0.4;
}

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

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

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

.page-loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #0b0b0b;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.page-loading.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-ring {
  width: 74px;
  height: 74px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.site-shell {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section--tight {
  padding: 72px 0;
}

.section--products-top {
  padding-top: 48px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 36px;
}

.section-heading h2,
.hero h1,
.page-hero h1,
.welcome-title {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-heading h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
}

.section-heading p,
.hero p,
.page-hero p,
.welcome-copy p,
.product-hero p {
  color: var(--muted);
  max-width: 62ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.74rem;
  color: var(--accent);
  font-weight: 700;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}

.glass-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ff9f43);
  color: #111;
  font-weight: 700;
  box-shadow: 0 16px 34px rgba(255, 122, 0, 0.24);
}

.btn-outline,
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn-outline:hover,
.btn-ghost:hover {
  border-color: rgba(255, 122, 0, 0.4);
  color: white;
  background: rgba(255, 122, 0, 0.1);
}

.btn__ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple 0.7s ease-out;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(18px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand__mark {
  width: 62px;
  height: 62px;
  border-radius: 0;
  background: transparent;
  padding: 0;
  display: grid;
  place-items: center;
  color: #111;
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: none;
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}

.brand__meta {
  display: flex;
  flex-direction: column;
}

.brand__meta span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
}

.brand__meta > span:first-child {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}

.language-switcher__button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.language-switcher__button:hover {
  color: #ffffff;
}

.language-switcher__button.is-active {
  background: linear-gradient(135deg, var(--accent), #ff9f43);
  color: #111;
}

.site-nav__links {
  display: flex;
  gap: 26px;
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
}

.site-nav__links a {
  position: relative;
  padding-bottom: 6px;
}

.site-nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav__links a:hover::after,
.site-nav__links a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}

.hero,
.page-hero,
.welcome-page {
  position: relative;
  overflow: hidden;
}

.hero {
  padding: 88px 0 42px;
}

.hero-layout,
.page-hero-layout,
.welcome-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: center;
}

.hero-copy,
.page-hero-copy,
.welcome-copy {
  grid-column: 1 / span 6;
}

.hero-copy h1,
.page-hero-copy h1,
.welcome-title {
  font-size: clamp(2.5rem, 6vw, 5.1rem);
}

.hero .hero-copy {
  display: grid;
  gap: 18px;
}

.hero .hero-copy h1 {
  font-size: clamp(1.8rem, 4.2vw, 3.4rem);
  color: var(--accent);
  margin: 2px 0 0;
}

.hero-branding {
  width: clamp(240px, 30vw, 420px);
  max-width: 100%;
  margin: 2px 0 0;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.hero-brand {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-copy p,
.page-hero-copy p,
.welcome-copy p,
.product-hero p {
  font-size: 1.05rem;
  margin: 20px 0 0;
}

.hero .hero-copy p,
.hero .hero-copy .hero-arabic {
  margin: 0;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero .hero-actions {
  margin-top: 6px;
}

.hero-panel,
.welcome-card {
  grid-column: 8 / -1;
  padding: 34px;
  position: relative;
}

.hero-panel--visual {
  display: grid;
  gap: 18px;
}

.hero-visual-stack {
  position: relative;
  min-height: 360px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 122, 0, 0.2), transparent 40%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.hero-visual {
  position: absolute;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 15, 15, 0.8);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.45);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.hero-visual--front {
  inset: 16px 16px 90px 16px;
  animation: heroFloat 6.5s ease-in-out infinite;
}

.hero-visual--pack {
  right: 16px;
  bottom: 14px;
  width: 36%;
  min-width: 140px;
  aspect-ratio: 1 / 1;
  animation: heroFloatAlt 7s ease-in-out infinite;
}

.hero-visual img {
  transition: transform 0.32s ease;
}

.hero-visual:hover img {
  transform: scale(1.03);
}

.hero-arabic {
  margin: 0;
  text-align: center;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.02em;
  font-family: "Cairo", "Tajawal", "Noto Sans Arabic", "Segoe UI", sans-serif;
}

.footer-arabic-brand {
  font-size: 0.98rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.hero-panel::before,
.welcome-card::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: calc(var(--radius-lg) - 8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.hero-panel__stat,
.info-chip {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-panel__stat strong,
.info-chip strong {
  font-size: 1.1rem;
}

.hero-panel__stat span,
.info-chip span {
  color: var(--muted);
}

.hero-panel__list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.section-grid,
.value-grid,
.feature-grid,
.contact-grid,
.footer-grid,
.content-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.about-card,
.feature-card,
.value-card,
.contact-card,
.mini-card,
.content-card,
.product-card {
  padding: 28px;
}

.about-card,
.feature-card,
.value-card,
.contact-card,
.mini-card {
  grid-column: span 4;
}

.about-card h3,
.feature-card h3,
.value-card h3,
.content-card h2,
.mini-card h3,
.product-card h3 {
  margin: 16px 0 10px;
}

.about-card p,
.feature-card p,
.value-card p,
.contact-card p,
.mini-card p,
.product-card p,
.content-card p {
  color: var(--muted);
}

.product-card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.product-card__media {
  display: block;
  position: relative;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-card__actions {
  margin-top: auto;
  padding-top: 18px;
}

.image-frame {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top, rgba(255, 122, 0, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.95;
  padding: 14px;
}

.image-placeholder {
  position: absolute;
  inset: auto 18px 18px 18px;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(13, 13, 13, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.image-frame.is-loaded .image-placeholder {
  opacity: 0;
}

.image-frame.is-missing img {
  opacity: 0;
}

.product-hero {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  padding-top: 30px;
}

.product-hero__copy {
  grid-column: 1 / span 4;
  min-width: 0;
  padding: 30px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-hero__copy .eyebrow {
  margin-bottom: 8px;
}

.product-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  word-break: normal;
  text-wrap: balance;
}

.product-hero__gallery {
  grid-column: 5 / -1;
}

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

.gallery-grid--duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.gallery-grid--duo .image-frame {
  min-height: 520px;
}

.image-frame--product {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: zoom-in;
  text-align: left;
  background:
    radial-gradient(circle at top, rgba(255, 122, 0, 0.26), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.image-frame--product:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 122, 0, 0.48);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.35);
}

.image-frame--product img {
  padding: 18px;
}

.image-zoom-hint {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(15, 15, 15, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
}

.product-gallery {
  display: grid;
  gap: 18px;
}

.image-frame--main {
  min-height: 640px;
}

.image-frame--main img {
  opacity: 0;
  transition: opacity 0.28s ease;
}

.image-frame--main img.is-visible,
.image-frame--main.is-loaded img {
  opacity: 0.97;
}

.image-frame--main.is-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.16) 50%, transparent 80%);
  transform: translateX(-120%);
  animation: shimmer 1.1s ease infinite;
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product-gallery__thumb {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  padding: 8px;
  cursor: pointer;
  transition: border-color 0.24s ease, transform 0.24s ease, background 0.24s ease;
}

.product-gallery__thumb:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 122, 0, 0.45);
}

.product-gallery__thumb.is-active {
  border-color: rgba(255, 122, 0, 0.9);
  background: rgba(255, 122, 0, 0.14);
}

.product-gallery__thumb img {
  width: 100%;
  height: 120px;
  object-fit: contain;
}

body.lightbox-open {
  overflow: hidden;
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.product-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.product-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  cursor: zoom-out;
}

.product-lightbox__panel {
  position: absolute;
  inset: 4vh 4vw;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.96), rgba(10, 10, 10, 0.95));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.52);
  display: grid;
  grid-template-columns: 74px 1fr 74px;
  grid-template-rows: 1fr auto;
  align-items: center;
  overflow: hidden;
}

.product-lightbox__viewport {
  grid-column: 2;
  grid-row: 1;
  height: 100%;
  width: 100%;
  padding: 28px;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: zoom-in;
}

.product-lightbox__viewport.is-zoomed {
  cursor: grab;
}

.product-lightbox__image {
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  transform-origin: center center;
  opacity: 0;
  transition: transform 0.16s ease, opacity 0.22s ease;
  will-change: transform;
}

.product-lightbox__image.is-visible {
  opacity: 1;
}

.product-lightbox__nav,
.product-lightbox__close,
.product-lightbox__tool {
  border: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: background 0.22s ease, transform 0.22s ease;
}

.product-lightbox__nav:hover,
.product-lightbox__close:hover,
.product-lightbox__tool:hover {
  background: rgba(255, 122, 0, 0.28);
  transform: translateY(-1px);
}

.product-lightbox__nav {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  place-self: center;
  font-size: 2rem;
  line-height: 1;
}

.product-lightbox__nav--prev {
  grid-column: 1;
  grid-row: 1;
}

.product-lightbox__nav--next {
  grid-column: 3;
  grid-row: 1;
}

.product-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
}

.product-lightbox__toolbar {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px 18px;
}

.product-lightbox__tool {
  min-width: 44px;
  height: 38px;
  border-radius: 10px;
  font-size: 1.2rem;
}

.home-carousel {
  position: relative;
  padding: 28px;
  overflow: hidden;
}

.home-carousel__track {
  position: relative;
  min-height: 460px;
}

.home-carousel__slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 24px;
  align-items: center;
  opacity: 0;
  transform: translateX(40px) scale(0.98);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
  border-radius: 20px;
  padding: 12px;
  border: 1px solid transparent;
}

.home-carousel__slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.home-carousel__slide:hover {
  border-color: rgba(255, 122, 0, 0.24);
  background: rgba(255, 255, 255, 0.02);
}

.home-carousel__media {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.38);
  overflow: hidden;
  min-height: 400px;
  display: grid;
  place-items: center;
}

.home-carousel__media-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.9fr;
  gap: 16px;
}

.home-carousel__media--front {
  min-height: 380px;
}

.home-carousel__media--packaging {
  min-height: 300px;
}

.home-carousel__media img {
  width: auto;
  height: auto;
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  padding: 0;
  margin: auto;
  transition: transform 0.35s ease;
  display: block;
}

.home-carousel__slide:hover .home-carousel__media img {
  transform: scale(1.02);
}

.home-carousel__caption h3 {
  margin: 20px 0 6px;
  font-size: clamp(1.4rem, 2.9vw, 2rem);
}

.home-carousel__caption p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.home-carousel__dots {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.home-carousel__dot {
  width: 34px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.home-carousel__dot.is-active {
  background: var(--accent);
  transform: scaleX(1.15);
}

.home-showcase {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  padding: 18px;
}

.home-showcase__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: showcaseSlide 36s linear infinite;
}

.home-showcase:hover .home-showcase__track {
  animation-play-state: paused;
}

.showcase-card {
  margin: 0;
  flex: 0 0 220px;
  min-height: 220px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(14, 14, 14, 0.75);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.showcase-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 0, 0.5);
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.spec-list {
  display: grid;
  gap: 16px;
}

.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-list dt {
  color: var(--muted);
}

.spec-list dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
}

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

.clean-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

.clean-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.content-grid > * {
  grid-column: span 6;
}

.content-grid--split > * {
  grid-column: span 6;
}

.content-card h2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.45rem;
}

.content-card h2::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--accent), #ffb066);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.16);
}

.timeline,
.contact-stack,
.footer-links {
  display: grid;
  gap: 16px;
}

.page-hero {
  padding: 76px 0 20px;
}

.page-hero-copy {
  grid-column: 1 / span 7;
}

.page-hero-visual {
  grid-column: 9 / -1;
  padding: 28px;
}

.welcome-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 0;
}

.welcome-card {
  grid-column: 7 / -1;
}

.welcome-logo {
  width: 140px;
  height: 140px;
  border-radius: 0;
  background: transparent;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 2rem;
  color: #111;
  box-shadow: none;
}

.welcome-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.welcome-layout {
  width: min(1120px, calc(100% - 36px));
}

.welcome-copy {
  grid-column: 1 / span 6;
}

.welcome-card {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.welcome-card__caption {
  color: var(--muted);
  max-width: 34ch;
}

.footer {
  padding: 48px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.footer-grid > * {
  grid-column: span 3;
}

.footer small,
.footer p,
.footer a {
  color: var(--muted);
}

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

.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(17, 17, 17, 0.82);
  color: white;
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  z-index: 50;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

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

.field {
  display: grid;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--muted);
  font-size: 0.92rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: white;
  padding: 16px 18px;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(255, 122, 0, 0.52);
  background: rgba(255, 122, 0, 0.05);
}

.field textarea {
  resize: vertical;
  min-height: 160px;
}

.form-status {
  margin: 0;
  color: var(--muted);
}

.map-placeholder {
  min-height: 380px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  padding: 28px;
}

.map-placeholder strong {
  display: block;
  color: white;
  margin-bottom: 8px;
}

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.12s; }
.stagger-3 { transition-delay: 0.18s; }

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-panel,
.page-hero-visual,
.welcome-card,
.content-card,
.product-card,
.mini-card,
.feature-card,
.value-card,
.contact-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hero-panel:hover,
.page-hero-visual:hover,
.welcome-card:hover,
.content-card:hover,
.product-card:hover,
.mini-card:hover,
.feature-card:hover,
.value-card:hover,
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 0, 0.24);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes ripple {
  from { transform: scale(0); opacity: 0.35; }
  to { transform: scale(2.5); opacity: 0; }
}

@keyframes shimmer {
  to { transform: translateX(120%); }
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes heroFloatAlt {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

@keyframes showcaseSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* ── Made in Tunisia Badge ─────────────────────────────── */
.mit-badge {
  display: inline-block;
  flex-shrink: 0;
  opacity: 0;
  animation: mitFadeIn 0.6s ease forwards;
}

.mit-badge img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Size variants */
.mit-badge--sm  { width: 90px; }
.mit-badge--md  { width: 120px; }
.mit-badge--lg  { width: 150px; }

/* Hover lift */
.mit-badge:hover { transform: translateY(-2px); transition: transform 0.25s ease; }

/* Overlay variant — sits inside image frames */
.mit-badge--overlay {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 4;
  width: 80px;
  opacity: 0;
  animation: mitFadeIn 0.7s ease 0.3s forwards;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
  pointer-events: none;
}

@keyframes mitFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Keep old class working for static HTML */
.made-in-badge {
  display: block;
  width: 120px;
  height: auto;
  flex-shrink: 0;
  opacity: 0;
  animation: mitFadeIn 0.6s ease forwards;
}
