/* =========================================
   SIBA Medical Instruments — Brand styles
   Palette: deep black + luxe gold
   ========================================= */

:root {
  --bg: #07070a;
  --bg-2: #0d0d12;
  --surface: #14141a;
  --surface-2: #1c1c24;
  --line: rgba(212, 175, 55, 0.15);

  --gold: #d4af37;
  --gold-bright: #f5d77e;
  --gold-deep: #8b7332;
  --gold-grad: linear-gradient(135deg, #f5d77e 0%, #d4af37 35%, #b88a2b 70%, #f5d77e 100%);

  --text: #ecebe8;
  --muted: #9a958c;

  --shadow-gold: 0 18px 50px -12px rgba(212, 175, 55, 0.35);
  --radius: 18px;
  --radius-sm: 12px;

  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(212, 175, 55, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 60%, rgba(212, 175, 55, 0.05), transparent 60%),
    radial-gradient(ellipse 60% 40% at 10% 90%, rgba(212, 175, 55, 0.04), transparent 60%);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* =========================================
   Particles background
   ========================================= */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.particles span {
  position: absolute;
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  box-shadow: 0 0 12px var(--gold), 0 0 24px rgba(212, 175, 55, 0.4);
  animation: float 18s linear infinite;
}
.particles span:nth-child(1)  { left: 5%;  animation-delay: 0s;  width: 4px; height: 4px; }
.particles span:nth-child(2)  { left: 15%; animation-delay: 2s;  width: 8px; height: 8px; }
.particles span:nth-child(3)  { left: 25%; animation-delay: 4s; }
.particles span:nth-child(4)  { left: 35%; animation-delay: 6s;  width: 5px; height: 5px; }
.particles span:nth-child(5)  { left: 45%; animation-delay: 1s; }
.particles span:nth-child(6)  { left: 55%; animation-delay: 3s;  width: 7px; height: 7px; }
.particles span:nth-child(7)  { left: 65%; animation-delay: 5s; }
.particles span:nth-child(8)  { left: 75%; animation-delay: 7s;  width: 4px; height: 4px; }
.particles span:nth-child(9)  { left: 85%; animation-delay: 9s; }
.particles span:nth-child(10) { left: 95%; animation-delay: 11s; width: 6px; height: 6px; }
.particles span:nth-child(11) { left: 10%; animation-delay: 13s; }
.particles span:nth-child(12) { left: 30%; animation-delay: 15s; width: 3px; height: 3px; }
.particles span:nth-child(13) { left: 50%; animation-delay: 8s; }
.particles span:nth-child(14) { left: 70%; animation-delay: 10s; width: 5px; height: 5px; }
.particles span:nth-child(15) { left: 90%; animation-delay: 12s; }

@keyframes float {
  0%   { transform: translateY(110vh) scale(0.5); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.4; }
  100% { transform: translateY(-10vh) scale(1.2); opacity: 0; }
}

/* =========================================
   Navigation
   ========================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(7, 7, 10, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: padding .3s ease, background .3s ease, border-color .3s ease;
}
.nav.is-scrolled {
  padding: 8px 0;
  background: rgba(7, 7, 10, 0.85);
  border-bottom-color: var(--line);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav__brand img {
  height: 48px;
  width: auto;
  transition: transform .3s ease, filter .3s ease;
  filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.35));
}
.nav.is-scrolled .nav__brand img { height: 40px; }
.nav__brand:hover img { transform: scale(1.05); }

.nav__links {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav__links a {
  position: relative;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  padding: 6px 0;
  transition: color .3s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--gold-grad);
  transition: width .3s ease;
}
.nav__links a:hover { color: var(--gold-bright); }
.nav__links a:hover::after { width: 100%; }

.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
}
.nav__toggle span {
  width: 22px; height: 2px;
  background: var(--gold);
  transition: transform .3s, opacity .3s;
}

/* =========================================
   Hero
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 60px;
  overflow: hidden;
  z-index: 1;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  animation: pulse-glow 8s ease-in-out infinite;
}
.hero__glow--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.4), transparent 70%);
  top: -100px; right: -100px;
}
.hero__glow--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.3), transparent 70%);
  bottom: -150px; left: -100px;
  animation-delay: 4s;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.15); opacity: 0.6; }
}

.hero__content {
  text-align: center;
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.hero__logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 28px;
}
.hero__logo {
  width: 280px;
  max-width: 70vw;
  height: auto;
  filter:
    drop-shadow(0 0 35px rgba(212, 175, 55, 0.45))
    drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
  animation: logo-float 5s ease-in-out infinite;
}
.hero__logo-ring {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(212, 175, 55, 0.6), transparent 90deg);
  filter: blur(20px);
  opacity: 0.5;
  animation: rotate 10s linear infinite;
}
@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes rotate {
  to { transform: rotate(360deg); }
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.hero__title-ar {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  background: var(--gold-grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
  animation: shimmer 4s linear infinite;
}
.hero__title-en {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.9rem, 2vw, 1.3rem);
  font-weight: 500;
  letter-spacing: 6px;
  color: var(--muted);
  text-transform: uppercase;
}

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.hero__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 8px auto 24px;
  width: 200px;
}
.hero__divider::before,
.hero__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero__pulse {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
  animation: heartbeat 1.6s ease-in-out infinite;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
  50% { transform: scale(1.4); box-shadow: 0 0 0 14px rgba(212, 175, 55, 0); }
}

.hero__tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  color: var(--text);
  margin-bottom: 36px;
  font-weight: 600;
}
.hero__tagline-en {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85em;
  font-style: italic;
  color: var(--muted);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 1px;
}

.hero__cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 70px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s; }
.btn--gold {
  background: var(--gold-grad);
  background-size: 200% 100%;
  color: #0a0a0a;
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover {
  background-position: 100% 0;
  transform: translateY(-3px);
  box-shadow: 0 24px 60px -10px rgba(212, 175, 55, 0.55);
}
.btn--gold:hover svg { transform: translateX(-4px); }
[dir="rtl"] .btn--gold:hover svg { transform: translateX(4px) scaleX(-1); }
[dir="rtl"] .btn svg { transform: scaleX(-1); }

.btn--ghost {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold-bright);
}
.btn--ghost:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-3px);
}

.hero__scroll {
  width: 26px;
  height: 42px;
  border: 2px solid var(--gold);
  border-radius: 13px;
  margin: 0 auto;
  position: relative;
  opacity: 0.7;
}
.hero__scroll span {
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scroll-dot 2s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%, 100% { top: 6px; opacity: 1; }
  50% { top: 22px; opacity: 0.3; }
}

/* =========================================
   Sections base
   ========================================= */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}
.section__head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.eyebrow {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  padding: 6px 18px;
  border: 1px solid var(--line);
  border-radius: 50px;
  background: rgba(212, 175, 55, 0.05);
}
.section__head h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 14px;
  line-height: 1.2;
}
.section__sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 14px;
}
.gold {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================================
   About
   ========================================= */
.about__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: center;
}
.about__text .lead {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--text);
}
.about__text p {
  color: var(--muted);
  margin-bottom: 16px;
}
.about__text strong {
  color: var(--gold-bright);
  font-weight: 700;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat__num, .stat__plus {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat__label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 8px;
  font-weight: 600;
}

.about__visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.about__card {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  transition: transform .4s ease;
}
.about__card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: var(--radius);
  background: conic-gradient(from 0deg, transparent, var(--gold), transparent 50%);
  z-index: 0;
  animation: rotate 6s linear infinite;
}
.about__card::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: calc(var(--radius) - 2px);
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  z-index: 1;
}
.about__card:hover { transform: translateY(-6px); }
.about__card-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.about__flag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 22px;
}
.flag {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.flag svg {
  width: 64px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5), 0 0 0 1px rgba(212,175,55,0.3);
  display: block;
}
.flag__label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1px;
}
.about__arrow {
  font-size: 1.8rem;
  color: var(--gold);
  margin-top: -22px;
  animation: arrow-pulse 2s ease-in-out infinite;
}
@keyframes arrow-pulse {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-6px); }
}
.about__card-inner h3 {
  font-size: 1.4rem;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.about__card-inner p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* =========================================
   Features
   ========================================= */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
}
.feature:hover {
  transform: translateY(-10px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 30px 60px -20px rgba(212, 175, 55, 0.25);
}
.feature:hover::before { opacity: 1; }
.feature:hover .feature__icon { transform: scale(1.1) rotate(-5deg); }

.feature__icon {
  width: 78px; height: 78px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.05));
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--gold-bright);
  transition: transform .4s ease;
  position: relative;
  z-index: 1;
}
.feature__icon svg { width: 40px; height: 40px; }
.feature h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.feature p {
  color: var(--muted);
  font-size: 0.98rem;
  position: relative;
  z-index: 1;
}
.feature--center {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08), var(--surface-2));
  border-color: rgba(212, 175, 55, 0.25);
}

/* =========================================
   Products
   ========================================= */
.products__showcase {
  margin: 0 auto 60px;
  max-width: 720px;
  position: relative;
}
.products__image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(212, 175, 55, 0.15);
  transition: transform .5s ease;
}
.products__image:hover { transform: translateY(-6px) scale(1.01); }
.products__image img {
  width: 100%;
  height: auto;
  display: block;
}
.products__shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shine 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shine {
  0%, 50% { left: -100%; }
  60%, 100% { left: 150%; }
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
  cursor: default;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.5);
  background: linear-gradient(180deg, var(--surface-2), rgba(212, 175, 55, 0.05));
}
.product-card__icon {
  display: inline-block;
  font-size: 2.4rem;
  margin-bottom: 14px;
  filter: drop-shadow(0 4px 10px rgba(212, 175, 55, 0.3));
}
.product-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--gold-bright);
}
.product-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* =========================================
   Contact
   ========================================= */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 24px 50px -15px rgba(212, 175, 55, 0.25);
}
.contact-card__icon {
  width: 60px; height: 60px;
  flex-shrink: 0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
  color: var(--gold-bright);
  transition: transform .35s;
}
.contact-card__icon svg { width: 28px; height: 28px; }
.contact-card:hover .contact-card__icon { transform: scale(1.1) rotate(-6deg); }
.contact-card h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.contact-card p {
  color: var(--text);
  font-weight: 700;
  margin-bottom: 6px;
  direction: ltr;
  text-align: start;
}
.contact-card__cta {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
}

/* =========================================
   Footer
   ========================================= */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 30px;
  background: var(--bg-2);
  position: relative;
  z-index: 1;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer__brand img { height: 48px; }
.footer__brand p { font-weight: 700; line-height: 1.4; }
.footer__brand span {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 2px;
  font-weight: 500;
}
.footer__copy {
  color: var(--muted);
  font-size: 0.9rem;
}
.footer__social {
  display: flex;
  gap: 12px;
}
.footer__social a {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--gold);
  transition: all .3s;
}
.footer__social a svg { width: 18px; height: 18px; }
.footer__social a:hover {
  background: var(--gold-grad);
  color: #0a0a0a;
  transform: translateY(-3px);
  border-color: transparent;
}

/* =========================================
   Floating WhatsApp
   ========================================= */
.wa-fab {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: 99;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform .3s;
}
.wa-fab svg { width: 30px; height: 30px; position: relative; z-index: 2; }
.wa-fab:hover { transform: scale(1.1) rotate(-8deg); }
.wa-fab__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.5);
  animation: wa-pulse 2s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* =========================================
   Reveal animations
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: .1s; }
.reveal:nth-child(3) { transition-delay: .2s; }
.reveal:nth-child(4) { transition-delay: .3s; }
.reveal:nth-child(5) { transition-delay: .4s; }
.reveal:nth-child(6) { transition-delay: .5s; }

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 960px) {
  .section { padding: 70px 0; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__visual { order: -1; }
  .features__grid { grid-template-columns: 1fr; gap: 16px; }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav__links {
    position: fixed;
    top: 70px;
    inset-inline-end: 16px;
    inset-inline-start: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    background: rgba(7, 7, 10, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease;
  }
  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__links a {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    text-align: start;
  }
  .nav__links a:last-child { border-bottom: none; }
  .nav__links a::after { display: none; }
  .nav__toggle { display: flex; }
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 110px 20px 40px; min-height: 95vh; }
  .hero__logo { width: 220px; }
  .hero__cta { gap: 12px; flex-direction: column; align-items: stretch; max-width: 320px; margin-inline: auto; margin-bottom: 50px; }
  .btn { justify-content: center; }
  .hero__scroll { display: none; }

  .about__stats { grid-template-columns: 1fr; gap: 18px; }
  .products__grid { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }

  .wa-fab { bottom: 18px; inset-inline-end: 18px; width: 54px; height: 54px; }
  .wa-fab svg { width: 26px; height: 26px; }
}

@media (max-width: 380px) {
  .container { padding: 0 18px; }
  .hero__logo { width: 190px; }
  .section__head { margin-bottom: 40px; }
}

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