/* ==========================================================
   AF Store — Main Design System
   Dark glassmorphism • gradient accents • modern & pretty
   ========================================================== */

:root {
  --bg: #0a0c12;
  --bg-soft: #10141d;
  --card: rgba(255, 255, 255, 0.045);
  --card-solid: #141926;
  --border: rgba(255, 255, 255, 0.09);
  --text: #eef1f8;
  --muted: #98a2b8;
  --accent-1: #7c5cff;
  --accent-2: #22d3ee;
  --accent-3: #f43f8e;
  --gold: #ffc96b;
  --success: #2dd4a7;
  --danger: #ff5d73;
  --grad: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  --grad-hot: linear-gradient(135deg, var(--accent-1), var(--accent-3));
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  --font: 'Sora', 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'Consolas', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ---------- ambient background ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(700px 500px at 12% -8%, rgba(124, 92, 255, 0.22), transparent 60%),
    radial-gradient(700px 500px at 92% 12%, rgba(34, 211, 238, 0.16), transparent 60%),
    radial-gradient(800px 600px at 50% 115%, rgba(244, 63, 142, 0.12), transparent 60%),
    var(--bg);
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent 70%);
}

::selection { background: var(--accent-1); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--accent-1), var(--accent-2));
  border-radius: 20px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

.container { width: min(1180px, 92%); margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px rgba(124, 92, 255, 0.35);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(124, 92, 255, 0.5); }
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
  box-shadow: none;
}
.btn-ghost:hover { border-color: var(--accent-2); color: var(--accent-2); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: 0.55; pointer-events: none; }

/* ---------- section headers ---------- */
.section { padding: 96px 0; position: relative; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 7px 16px;
  border-radius: 40px;
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-sub { color: var(--muted); margin-top: 14px; font-size: 1.02rem; }

/* ---------- top nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 18, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.3rem; }
.brand img { height: 42px; width: auto; }
.brand .logo-fallback {
  width: 42px; height: 42px; border-radius: 13px;
  background: var(--grad);
  display: grid; place-items: center;
  font-weight: 800; color: #fff; font-size: 1.15rem;
}
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  padding: 10px 16px;
  border-radius: 40px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.22s ease;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--card); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 4px; transform: translateX(-50%);
  width: 18px; height: 3px; border-radius: 3px;
  background: var(--grad);
}
.nav-cta { margin-left: 8px; }

/* ---------- language switcher ---------- */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 40px;
  background: var(--card);
}
.lang-opt {
  padding: 6px 13px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.22s ease;
  cursor: pointer;
}
.lang-opt:hover { color: var(--text); }
.lang-opt.active { background: var(--grad); color: #fff; }

/* ---------- RTL overrides ---------- */
body.rtl { font-family: 'Cairo', 'Sora', system-ui, sans-serif; }
body.rtl .slide::before { background: linear-gradient(270deg, rgba(8,10,16,.92) 8%, rgba(8,10,16,.55) 45%, rgba(8,10,16,.15)); }
body.rtl .slider-arrow.prev { left: auto; right: 22px; }
body.rtl .slider-arrow.next { right: auto; left: 22px; }
body.rtl .footer-col a:hover { transform: translateX(-4px); }
body.rtl .contact-card:hover { transform: translateX(-4px); }
body.rtl .specs .k { text-align: right; }
body.rtl .cat-card .more .arr { transform: scaleX(-1); }
body.rtl .cat-card:hover .more .arr { transform: translateX(-4px) scaleX(-1); }
body.rtl .price-row { flex-direction: row; }
body.rtl .gallery-thumbs img { float: right; }
body.rtl .product-card .desc, body.rtl .slide p, body.rtl .section-sub,
body.rtl .footer-about, body.rtl .about-visual, body.rtl .value-card p,
body.rtl .service-card p, body.rtl .news-body p, body.rtl .cta-strip p { text-align: right; }
body.rtl .news-arrow.prev { left: auto; right: 16px; }
body.rtl .news-arrow.next { right: auto; left: 16px; }
body.rtl .news-link { font-family: inherit; }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px;
  position: relative;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text); margin: 5px auto;
  border-radius: 3px; transition: 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 6%;
    background: rgba(10, 12, 18, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-130%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { text-align: center; padding: 14px; }
  .nav-cta { margin: 8px 0 4px; }
  .lang-switch { justify-content: center; margin: 10px 0 4px; }
}

/* ---------- hero / slider ---------- */
.hero { position: relative; overflow: hidden; padding: 60px 0 110px; }
.hero .blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.35; z-index: -1;
  animation: float 9s ease-in-out infinite;
}
.hero .blob.b1 { width: 420px; height: 420px; background: var(--accent-1); top: -80px; right: -60px; }
.hero .blob.b2 { width: 340px; height: 340px; background: var(--accent-2); bottom: -60px; left: -40px; animation-delay: -4s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.06); }
}

.slider { position: relative; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.slide {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 70px 6%;
  isolation: isolate;
}
.slide > * { position: relative; z-index: 2; }
.slide-bg { position: absolute; inset: 0; z-index: 0; object-fit: cover; width: 100%; height: 100%; }
.slide-bg-placeholder {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(120deg, #1b1035, #0e1f3a 55%, #14263a);
}
.slide-bg-placeholder::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
}
.slide::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(8, 10, 16, 0.92) 8%, rgba(8, 10, 16, 0.55) 45%, rgba(8, 10, 16, 0.15));
}
.slide-content { max-width: 600px; }
.slide-tag {
  display: inline-block; font-family: var(--mono); font-size: 0.75rem;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(255, 201, 107, 0.4);
  background: rgba(255, 201, 107, 0.08); padding: 7px 15px; border-radius: 40px;
  margin-bottom: 22px;
}
.slide h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.12; letter-spacing: -1px; }
.slide p { color: #cfd7e8; margin: 18px 0 30px; font-size: 1.08rem; max-width: 480px; }
.slide .actions { display: flex; gap: 14px; flex-wrap: wrap; }

.slider-dots { display: flex; gap: 10px; justify-content: center; margin-top: 26px; }
.slider-dots button {
  width: 11px; height: 11px; border-radius: 20px; border: 0;
  background: rgba(255,255,255,0.22); cursor: pointer; transition: all 0.3s ease;
}
.slider-dots button.active { width: 34px; background: var(--grad); }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid var(--border);
  color: #fff; font-size: 1.3rem; cursor: pointer;
  backdrop-filter: blur(10px);
  display: grid; place-items: center;
  transition: 0.25s ease;
}
.slider-arrow:hover { background: var(--grad); border-color: transparent; }
.slider-arrow.prev { left: 22px; }
.slider-arrow.next { right: 22px; }

/* ---------- category cards ---------- */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 22px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0,0,0,0.45); }
.cat-card .thumb { height: 150px; overflow: hidden; background: var(--bg-soft); }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.cat-card:hover .thumb img { transform: scale(1.08); }
.cat-card .thumb .no-img {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(124,92,255,0.18), rgba(34,211,238,0.12));
  font-size: 2.4rem;
}
.cat-card .body { padding: 18px 20px 22px; }
.cat-card .body h3 { font-size: 1.08rem; font-weight: 700; }
.cat-card .body p { color: var(--muted); font-size: 0.85rem; margin: 6px 0 14px; min-height: 2.4em; }
.cat-card .more { font-size: 0.85rem; font-weight: 600; color: var(--accent-2); display: inline-flex; align-items: center; gap: 6px; }
.cat-card .more .arr { transition: transform 0.25s ease; }
.cat-card:hover .more .arr { transform: translateX(4px); }

/* ---------- product cards ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 26px;
}
.product-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(124, 92, 255, 0.45); }
.product-card .media { position: relative; height: 210px; background: var(--bg-soft); overflow: hidden; }
.product-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .media img { transform: scale(1.07); }
.product-card .media .no-img {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(124,92,255,0.16), rgba(34,211,238,0.1));
  font-size: 3rem;
}
.badge {
  position: absolute; top: 14px; left: 14px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1px;
  padding: 6px 12px; border-radius: 30px; text-transform: uppercase;
}
.badge.hot { background: var(--grad-hot); color: #fff; }
.badge.sale { background: var(--gold); color: #1a1206; }
.product-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card .cat-label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent-2); }
.product-card .name { font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
.product-card .desc { color: var(--muted); font-size: 0.86rem; }
.product-card .meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 12px; }
.price-row { display: flex; align-items: baseline; gap: 9px; }
.price { font-weight: 800; font-size: 1.15rem; }
.price.old { color: var(--muted); text-decoration: line-through; font-size: 0.9rem; font-weight: 500; }
.price-row.discount .price:not(.old) { color: var(--success); }

.product-card .view {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--card-solid); border: 1px solid var(--border);
  color: var(--text); transition: 0.25s ease; font-size: 1rem;
}
.product-card:hover .view { background: var(--grad); border-color: transparent; }

/* ---------- category filter pills ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.filter-pill {
  padding: 10px 22px; border-radius: 40px;
  border: 1px solid var(--border);
  background: var(--card); color: var(--muted);
  font-weight: 600; font-size: 0.9rem;
  transition: all 0.25s ease; cursor: pointer;
}
.filter-pill:hover { color: var(--text); border-color: var(--accent-2); }
.filter-pill.active { background: var(--grad); color: #fff; border-color: transparent; }

/* ---------- product detail ---------- */
.breadcrumb { color: var(--muted); font-size: 0.9rem; padding: 34px 0 8px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--accent-2); }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; padding: 30px 0 90px; align-items: start; }
.product-detail .gallery-main {
  border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border);
  height: 460px; background: var(--bg-soft);
}
.product-detail .gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.gallery-thumbs img {
  width: 76px; height: 76px; object-fit: cover; border-radius: 12px;
  cursor: pointer; border: 2px solid transparent; transition: 0.2s ease; opacity: 0.7;
}
.gallery-thumbs img.active { border-color: var(--accent-1); opacity: 1; }
.product-detail .info h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.2; }
.product-detail .short { color: var(--muted); margin-top: 12px; font-size: 1.02rem; }
.prices { display: flex; align-items: baseline; gap: 16px; margin: 20px 0; }
.prices .now { font-size: 2.2rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prices .was { font-size: 1.2rem; color: var(--muted); text-decoration: line-through; }
.prices .save {
  background: rgba(45, 212, 167, 0.12); color: var(--success);
  padding: 5px 12px; border-radius: 30px; font-size: 0.82rem; font-weight: 700;
}
.specs { margin: 26px 0; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.specs .row { display: flex; padding: 13px 18px; }
.specs .row:nth-child(odd) { background: rgba(255,255,255,0.03); }
.specs .k { width: 42%; color: var(--muted); font-size: 0.88rem; }
.specs .v { flex: 1; font-weight: 600; font-size: 0.92rem; }
.product-detail .desc-block h3 { margin: 8px 0 12px; font-size: 1.15rem; }
.product-detail .desc-block p { color: var(--muted); }

/* ---------- gallery page ---------- */
.gallery-grid { columns: 3 280px; column-gap: 22px; }
.gallery-item {
  break-inside: avoid;
  margin-bottom: 22px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  cursor: pointer;
}
.gallery-item img { width: 100%; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .cap {
  position: absolute; inset: auto 0 0 0;
  padding: 40px 20px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff; font-weight: 600; font-size: 0.95rem;
  opacity: 0; transform: translateY(10px);
  transition: 0.3s ease;
}
.gallery-item:hover .cap { opacity: 1; transform: translateY(0); }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(5, 7, 12, 0.94);
  display: none; align-items: center; justify-content: center;
  flex-direction: column; gap: 18px;
  backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; animation: fadeIn 0.3s ease; }
.lightbox img { max-width: 88vw; max-height: 78vh; border-radius: 14px; box-shadow: var(--shadow); }
.lightbox .lb-title { color: #fff; font-weight: 600; }
.lightbox .lb-close {
  position: absolute; top: 26px; right: 30px;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--border); background: rgba(255,255,255,0.07);
  color: #fff; font-size: 1.2rem; cursor: pointer;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- about ---------- */
.about-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; padding: 30px 0 0; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 70px; }
.stat {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--card); padding: 26px 20px; text-align: center;
  transition: transform 0.3s ease;
}
.stat:hover { transform: translateY(-6px); }
.stat .num { font-size: 2.3rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { color: var(--muted); font-size: 0.88rem; margin-top: 6px; }
.about-visual {
  border-radius: 24px; overflow: hidden; border: 1px solid var(--border);
  position: relative; min-height: 360px;
  background: linear-gradient(135deg, #1a1035, #0f2240);
  display: grid; place-items: center;
}
.about-visual .ring {
  position: absolute; border: 1px dashed rgba(124, 92, 255, 0.5); border-radius: 50%;
  animation: spin 30s linear infinite;
}
.ring.r1 { width: 260px; height: 260px; }
.ring.r2 { width: 360px; height: 360px; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.about-visual .core { font-size: 3.6rem; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); padding: 28px; transition: 0.3s ease; }
.value-card:hover { transform: translateY(-6px); border-color: rgba(124, 92, 255, 0.5); }
.value-card .ico {
  width: 54px; height: 54px; border-radius: 15px;
  background: var(--grad); display: grid; place-items: center;
  font-size: 1.4rem; margin-bottom: 18px;
}
.value-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 0.92rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; }
.contact-cards { display: grid; gap: 16px; margin-top: 28px; }
.contact-card {
  display: flex; gap: 16px; align-items: center;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--card); padding: 18px 20px;
  transition: 0.25s ease;
}
.contact-card:hover { border-color: rgba(34, 211, 238, 0.5); transform: translateX(4px); }
.contact-card .ico {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 13px;
  display: grid; place-items: center; font-size: 1.2rem;
  background: linear-gradient(135deg, rgba(124,92,255,0.2), rgba(34,211,238,0.15));
}
.contact-card .t { color: var(--muted); font-size: 0.8rem; }
.contact-card .v { font-weight: 600; font-size: 0.95rem; }
.form-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--card); padding: 34px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 7px; color: #c6cde0; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(10, 12, 18, 0.55);
  color: var(--text); font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent-1);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.15);
}
.field select { appearance: none; }
.g-recaptcha { margin: 6px 0 18px; }
.g-recaptcha > div { border-radius: 12px; overflow: hidden; margin: 0 auto; }

/* ---------- alerts / flash ---------- */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 0.92rem; border: 1px solid; }
.alert.success { background: rgba(45, 212, 167, 0.1); border-color: rgba(45, 212, 167, 0.35); color: var(--success); }
.alert.error { background: rgba(255, 93, 115, 0.1); border-color: rgba(255, 93, 115, 0.35); color: var(--danger); }
.alert.info { background: rgba(34, 211, 238, 0.1); border-color: rgba(34, 211, 238, 0.35); color: var(--accent-2); }

/* ---------- page header (inner pages) ---------- */
.page-head { text-align: center; padding: 74px 0 24px; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -1px; }
.page-head p { color: var(--muted); margin-top: 12px; max-width: 560px; margin-inline: auto; }

/* ---------- empty state ---------- */
.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty .emoji { font-size: 3rem; margin-bottom: 14px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-soft); margin-top: 40px; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 46px; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.3rem; margin-bottom: 14px; }
.footer-brand img { height: 40px; width: auto; }
.footer-brand .logo-fallback { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: #fff; }
.footer-about { color: var(--muted); font-size: 0.92rem; max-width: 320px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--border); background: var(--card);
  color: var(--muted); font-size: 0.95rem; transition: 0.25s ease;
}
.socials a:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-3px); }
.footer-col h4 { font-size: 0.98rem; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--muted); font-size: 0.92rem; transition: 0.2s ease; display: inline-flex; align-items: center; gap: 7px; }
.footer-col a:hover { color: var(--accent-2); transform: translateX(4px); }
.footer-contact li { display: flex; gap: 10px; color: var(--muted); font-size: 0.9rem; margin-bottom: 12px; align-items: flex-start; }
.footer-contact .ico { color: var(--accent-2); }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; text-align: center; color: var(--muted); font-size: 0.88rem; }

/* ---------- services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--card); padding: 26px 22px;
  transition: 0.3s ease; position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; inset: auto -30% -50% auto; width: 70%; height: 70%;
  background: radial-gradient(circle, rgba(124,92,255,0.18), transparent 70%); opacity: 0; transition: 0.3s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(34, 211, 238, 0.45); }
.service-card:hover::after { opacity: 1; }
.service-card .s-ico {
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(124,92,255,0.22), rgba(34,211,238,0.16));
  border: 1px solid rgba(124,92,255,0.35);
  display: grid; place-items: center; font-size: 1.6rem;
}
.service-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: 0.9rem; }
.cta-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 56px; padding: 30px 34px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(124,92,255,0.14), rgba(34,211,238,0.1));
}
.cta-strip h3 { font-size: 1.25rem; }
.cta-strip p { color: var(--muted); font-size: 0.9rem; }

/* ---------- news & offers banner ---------- */
.news-strip { padding: 46px 0 4px; }
.news-slider {
  position: relative;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(135deg, #171230, #0e2236);
  overflow: hidden;
}
.news-viewport { overflow: hidden; }
.news-track { display: flex; transition: transform 0.55s cubic-bezier(0.6, 0, 0.2, 1); }
.news-slide {
  flex: 0 0 100%; min-width: 100%;
  display: flex; align-items: center; gap: 18px; padding: 24px 72px;
}
.news-slide .news-tag {
  flex-shrink: 0; padding: 7px 15px; border-radius: 40px;
  background: var(--grad-hot); color: #fff;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
}
.news-body { flex: 1; min-width: 0; }
.news-body h3 { font-size: 1.08rem; margin-bottom: 3px; }
.news-body p { color: var(--muted); font-size: 0.9rem; }
.news-link {
  flex-shrink: 0; padding: 10px 18px; border-radius: 40px;
  border: 1px solid rgba(34,211,238,0.4); color: var(--accent-2);
  font-size: 0.85rem; font-weight: 700; transition: 0.25s ease; white-space: nowrap;
}
.news-link:hover { background: var(--grad); color: #fff; border-color: transparent; }
.news-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border); background: rgba(10,12,18,0.6); color: var(--text);
  cursor: pointer; font-size: 1.1rem; transition: 0.22s ease;
  display: grid; place-items: center;
}
.news-arrow:hover { background: var(--grad); border-color: transparent; color: #fff; }
.news-arrow.prev { left: 16px; }
.news-arrow.next { right: 16px; }
.news-dots { display: flex; justify-content: center; gap: 7px; padding: 12px 0 16px; }
.news-dots button {
  width: 26px; height: 5px; border-radius: 4px; border: 0;
  background: rgba(255,255,255,0.18); cursor: pointer; transition: 0.25s ease;
}
.news-dots button.active { background: var(--grad); width: 42px; }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .product-detail { grid-template-columns: 1fr; gap: 30px; }
  .about-hero { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
  .slide { min-height: 440px; padding: 54px 7%; }
  .news-slide { padding: 20px 58px; flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .slider-arrow { display: none; }
  .product-detail .gallery-main { height: 340px; }
  .services-grid { grid-template-columns: 1fr; }
  .news-slide { padding: 18px 14px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .news-arrow { display: none; }
  .news-link { align-self: stretch; text-align: center; }
}