/* Parham Holding — Premium Landing */

@import url('fonts/kalameh/kalameh.css');
@import url('../../css/site-logo.css?v=3');

:root {
  --bg-deep: #0c0c0f;
  --bg-card: #141418;
  --bg-elevated: #1c1c22;
  --text-primary: #f5f3ef;
  --text-secondary: #a8a29e;
  --text-muted: #78716c;
  --gold: #c9a962;
  --gold-light: #e8d5a3;
  --gold-dim: rgba(201, 169, 98, 0.15);
  --accent-teal: #14b8a6;
  --border: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(201, 169, 98, 0.35);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow-glow: 0 0 80px rgba(201, 169, 98, 0.12);
  --font-display: 'Kalameh', system-ui, sans-serif;
  --nav-height: 76px;
  --transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  --surface: var(--bg-card);
  --text: var(--text-primary);
  --bg: var(--bg-deep);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg-deep: #f5f3ef;
  --bg-card: #ffffff;
  --bg-elevated: #ebe8e1;
  --text-primary: #1c1917;
  --text-secondary: #57534e;
  --text-muted: #78716c;
  --border: rgba(0, 0, 0, 0.09);
  --border-gold: rgba(166, 139, 61, 0.45);
  --gold-dim: rgba(201, 169, 98, 0.18);
  --shadow-glow: 0 0 60px rgba(201, 169, 98, 0.1);
  --surface: #ffffff;
  --text: #1c1917;
  --bg: #f5f3ef;
}

html[data-theme="light"] .nav.is-scrolled {
  background: rgba(245, 243, 239, 0.92);
}

html[data-theme="light"] .nav {
  background: linear-gradient(180deg, rgba(245, 243, 239, 0.8) 0%, rgba(245, 243, 239, 0.46) 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .nav__links {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .nav__links a {
  color: rgba(28, 25, 23, 0.88);
  text-shadow: none;
}

html[data-theme="light"] .lang-switch {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .lang-switch a {
  color: rgba(28, 25, 23, 0.8);
}

html[data-theme="light"] .mobile-menu {
  background: rgba(245, 243, 239, 0.98);
}

html[data-theme="light"] .contact-form__field input,
html[data-theme="light"] .contact-form__field select,
html[data-theme="light"] .contact-form__field textarea {
  background: #faf9f7;
}

html[data-theme="light"] .nav-search__toggle {
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.75);
  color: rgba(28, 25, 23, 0.85);
}

html[data-theme="light"] .nav-search__toggle:hover {
  color: #1c1917;
}

html[data-theme="light"] .nav-search__panel {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .nav-search__panel input[type="search"] {
  background: #f5f3ef;
  color: #1c1917;
}

html[data-theme="light"] .nav-search__panel input[type="search"]::placeholder {
  color: rgba(28, 25, 23, 0.45);
}

html[data-theme="light"] .mobile-search input[type="search"] {
  border-color: rgba(0, 0, 0, 0.12);
  background: #ffffff;
  color: #1c1917;
}

html[data-theme="light"] .mobile-search input[type="search"]::placeholder {
  color: rgba(28, 25, 23, 0.45);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-display);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

body.is-ltr {
  direction: ltr;
  text-align: left;
}

body.is-ltr .nav__inner,
body.is-ltr .hero__content,
body.is-ltr .section__header,
body.is-ltr .product-detail__breadcrumb,
body.is-ltr .product-specs__row,
body.is-ltr .footer__inner,
body.is-ltr .footer__bottom {
  direction: ltr;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ─── Preloader ─── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader .site-logo {
  filter: drop-shadow(0 4px 24px rgba(201, 169, 98, 0.25));
}

.preloader__bar {
  width: 120px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.preloader__bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  animation: preloadBar 1.4s ease forwards;
}

@keyframes preloadBar {
  to { width: 100%; }
}

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(12, 12, 15, 0.6) 0%, rgba(12, 12, 15, 0.18) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

.nav.is-scrolled {
  background: rgba(12, 12, 15, 0.9);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.nav__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 160px;
  min-width: 0;
}

.nav__brand .site-logo-theme {
  display: block;
  max-width: 100%;
}

.nav__brand .site-logo {
  display: block;
  max-width: 100%;
  height: auto;
}

.nav__brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), #a68b3d);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: var(--bg-deep);
  font-weight: 900;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 8, 10, 0.25);
  backdrop-filter: blur(10px);
  list-style: none;
  flex-shrink: 1;
  min-width: 0;
}

.nav__links a {
  font-size: 0.9rem;
  color: rgba(245, 243, 239, 0.9);
  font-weight: 500;
  transition: color 0.25s;
  position: relative;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav__links a:hover { color: var(--text-primary); }
.nav__links a:hover::after { width: 100%; }

.nav__links a:focus-visible {
  outline: none;
  color: #fff;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.25);
}

.lang-switch a {
  padding: 4px 10px;
  font-size: 0.72rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
}

.lang-switch a.is-active {
  background: var(--gold);
  color: #0f0e0d;
  font-weight: 700;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 1.4rem;
  flex-shrink: 0;
  z-index: 2;
}

/* Mobile nav — hamburger below 900px; Desktop site (~980px) keeps full menu */
@media (max-width: 900px) {
  .nav__inner > .nav__links,
  .nav__links {
    display: none !important;
  }

  .nav__actions .btn--gold,
  .nav__inner > a.btn.btn--gold {
    display: none !important;
  }

  .nav__toggle {
    display: grid !important;
    place-items: center;
  }

  .nav__inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    overflow: hidden;
    max-width: 100%;
    padding-inline: 16px;
  }

  .nav__brand {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 48%;
  }

  .nav__actions {
    display: flex !important;
    flex-shrink: 0;
    gap: 8px;
  }

  .nav__inner > .lang-switch {
    display: inline-flex !important;
    flex-shrink: 0;
  }

  .lang-switch a {
    padding: 4px 7px;
    font-size: 0.65rem;
  }
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold), #a68b3d);
  color: var(--bg-deep);
  box-shadow: 0 4px 24px rgba(201, 169, 98, 0.3);
}

.btn--gold:hover {
  box-shadow: 0 8px 32px rgba(201, 169, 98, 0.45);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
}

.btn--ghost:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.btn--outline:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
}

.btn--lg { padding: 16px 32px; font-size: 1rem; }

.btn__icon { font-size: 1.1em; }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12,12,15,0.55) 0%, rgba(12,12,15,0.75) 50%, var(--bg-deep) 100%),
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(201,169,98,0.12) 0%, transparent 60%);
}

.hero__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle 8s ease-in-out infinite;
}

@keyframes floatParticle {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0); }
  20% { opacity: 0.6; }
  80% { opacity: 0.3; }
  50% { transform: translateY(-120px) scale(1); }
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(40px, 8vw, 80px) clamp(20px, 4vw, 48px);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(201, 169, 98, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 14ch;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.9s 0.5s forwards;
}

.hero__title span {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 52ch;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.9s 0.7s forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
  opacity: 0;
  animation: fadeUp 0.9s 0.9s forwards;
}

.hero__scroll {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
  opacity: 0;
  animation: fadeUp 0.9s 1.1s forwards;
}

.hero__scroll-line {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleX(0.5); transform-origin: right; }
  50% { opacity: 1; transform: scaleX(1); }
}

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

/* ─── Stats ─── */
.stats {
  position: relative;
  z-index: 3;
  margin-top: -60px;
  padding: 0 clamp(20px, 4vw, 48px);
}

.stats__grid {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-glow);
}

.stats__item {
  background: var(--bg-card);
  padding: 32px 24px;
  text-align: center;
  transition: background var(--transition);
}

.stats__item:hover { background: var(--bg-elevated); }

.stats__value {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 8px;
}

.stats__label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ─── Sections common ─── */
.section {
  padding: clamp(80px, 12vw, 140px) clamp(20px, 4vw, 48px);
}

.section--alt { background: var(--bg-card); }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section__desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── About ─── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.about__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid var(--border-gold);
  pointer-events: none;
}

.about__visual-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  left: 24px;
  padding: 20px 24px;
  background: rgba(12, 12, 15, 0.85);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.about__visual-badge strong {
  display: block;
  color: var(--gold-light);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.about__visual-badge span {
  font-size: 0.85rem;
  color: rgba(245, 243, 239, 0.86);
}

.about__text .section__title { text-align: right; margin-bottom: 24px; }

.about__text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about__highlight {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-size: 0.9rem;
}

.about__highlight strong {
  display: block;
  color: var(--gold-light);
  margin-bottom: 4px;
}

/* ─── Brands ─── */
.brands__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.brand-card {
  position: relative;
  padding: 40px 32px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.brand-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: var(--brand-accent, var(--gold));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.brand-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-glow);
}

.brand-card:hover::before { transform: scaleX(1); }

.brand-card__tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-accent, var(--gold));
  margin-bottom: 12px;
}

.brand-card__name {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.brand-card__desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ─── Categories ─── */
.categories__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--border);
  transition: transform var(--transition);
}

.category-card:hover { transform: scale(1.02); }

.category-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
}

.category-card:hover .category-card__bg { transform: scale(1.08); }

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12,12,15,0.95) 0%, rgba(12,12,15,0.4) 60%, rgba(12,12,15,0.2) 100%);
}

.category-card__content {
  position: relative;
  z-index: 2;
  padding: 32px;
  color: #fff;
}

.category-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.category-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.category-card__items {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-card__items li {
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ─── Services ─── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  padding: 36px;
  border-radius: var(--radius-md);
  background: var(--bg-deep);
  border: 1px solid var(--border);
  transition: border-color var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
}

.section--alt .service-card { background: var(--bg-elevated); }

.service-card::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--gold-dim);
  filter: blur(40px);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  border-color: var(--border-gold);
}

.service-card:hover::after { opacity: 1; }

.service-card__num {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(201, 169, 98, 0.15);
  line-height: 1;
  margin-bottom: 16px;
}

.service-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}

.service-card__desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  position: relative;
}

/* ─── Videos ─── */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.video-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}

.video-card__media {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: #000;
}

.video-card__body {
  padding: 16px 18px 20px;
}

.video-card__body h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.video-card__body p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

/* ─── Projects ─── */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.project-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  border: 1px solid var(--border);
  cursor: pointer;
}

.project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.project-card:hover .project-card__img { transform: scale(1.1); }

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12,12,15,0.9) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: background var(--transition);
}

.project-card:hover .project-card__overlay {
  background: linear-gradient(0deg, rgba(12,12,15,0.95) 0%, rgba(201,169,98,0.15) 100%);
}

.project-card__cat {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.project-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.project-card__overlay p {
  color: rgba(245, 243, 239, 0.84);
}

/* ─── Features roadmap ─── */
.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-block {
  padding: 36px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.feature-block__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.feature-block__num {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.feature-block__title {
  font-size: 1.2rem;
  font-weight: 700;
}

.feature-block__list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.feature-block__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.feature-block__list li::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ─── Software CTA ─── */
.software {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(48px, 8vw, 80px);
  background:
    linear-gradient(135deg, rgba(20, 184, 166, 0.12) 0%, rgba(201, 169, 98, 0.08) 100%),
    var(--bg-elevated);
  border: 1px solid var(--border-gold);
  text-align: center;
}

.software__glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20,184,166,0.15) 0%, transparent 70%);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.software__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-teal), #0d9488);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
}

.software__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.software__desc {
  color: var(--text-secondary);
  max-width: 56ch;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

.software__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ─── CTA ─── */
.cta {
  text-align: center;
  padding: clamp(80px, 12vw, 120px) clamp(20px, 4vw, 48px);
  position: relative;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(201,169,98,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  position: relative;
}

.cta__desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 50ch;
  margin: 0 auto 40px;
  position: relative;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  position: relative;
}

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px clamp(20px, 4vw, 48px) 32px;
  background: var(--bg-card);
}

.footer__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 36ch;
}

.footer__col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.footer__col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer__col a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.25s;
}

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

.footer__bottom {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ─── Mobile menu ─── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(12, 12, 15, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.25s;
}

.mobile-menu a:hover { color: var(--gold-light); }

.mobile-menu__close {
  position: absolute;
  top: 20px;
  inset-inline-start: 20px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 1.5rem;
}

.footer__address { margin-top: 12px; color: var(--text-secondary); font-size: 0.88rem; line-height: 1.8; }

/* ─── Gallery ─── */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.gallery-filter {
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  cursor: pointer;
  transition: 0.25s;
}

.gallery-filter:hover,
.gallery-filter.is-active {
  border-color: var(--border-gold);
  color: var(--gold-light);
  background: var(--gold-dim);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  border: 1px solid var(--border);
}

.gallery-item.is-hidden,
.gallery-grid > .admin-edit-wrap.gallery-item.is-hidden,
.gallery-grid > .admin-edit-wrap.gallery-item[hidden] {
  display: none !important;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12,12,15,0.92) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

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

.gallery-item__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}

.gallery-item__overlay p {
  font-size: 0.82rem;
  color: rgba(245, 243, 239, 0.84);
  line-height: 1.6;
}

.gallery-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 0;
}

/* ─── Contact cards ─── */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto 32px;
  position: relative;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: right;
}

.contact-card__label {
  display: block;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

.contact-card a { color: var(--gold-light); }

@media (max-width: 768px) {
  .contact-cards { grid-template-columns: 1fr; }
}

.gallery-item__link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.gallery-item--link {
  text-decoration: none;
  color: inherit;
}

/* ─── Product detail page ─── */
.product-page .nav__inner { justify-content: space-between; }

.product-detail {
  max-width: 1100px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 32px) 24px 80px;
}

.product-detail__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.product-detail__breadcrumb a:hover { color: var(--gold-light); }

.product-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.product-detail__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.product-detail__media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

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

.product-gallery__main {
  display: block;
  width: 100%;
  border: 0;
  background: none;
  overflow: hidden;
  cursor: zoom-in;
}

.product-gallery__main img {
  transition: transform 0.35s ease;
}

.product-gallery__main:hover img {
  transform: scale(1.09);
}

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

.product-gallery__thumb {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  padding: 0;
  opacity: 0.75;
}

.product-gallery__thumb img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.product-gallery__thumb.is-active {
  opacity: 1;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-dim);
}

.product-detail__cat {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}

.product-detail__info h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}

.product-detail__desc {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.8;
}

.product-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.product-detail__meta {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.product-detail__meta p { margin-bottom: 8px; }
.product-detail__meta a { color: var(--gold-light); }

.product-detail__related {
  margin-top: 64px;
}

.product-detail__related h2 {
  font-size: 1.25rem;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .product-detail__grid { grid-template-columns: 1fr; }
  .product-gallery__thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ─── Blog ─── */
.blog-page .nav__links .is-active { color: var(--gold-light); }

.blog-index {
  padding: 120px 0 80px;
}

.blog-index__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.blog-index__header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 12px 0;
}

.blog-index__header p {
  color: var(--text-muted);
  line-height: 1.8;
}

.blog-empty,
.gallery-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 48px 0;
}

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

.blog-grid--compact {
  grid-template-columns: repeat(3, 1fr);
}

.blog-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s, border-color .3s;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,169,98,.35);
}

.blog-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.blog-card__media {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.05);
}

.blog-card__body {
  padding: 24px;
}

.blog-card__body time {
  font-size: .8rem;
  color: var(--gold);
}

.blog-card__body h2,
.blog-card__body h3 {
  font-size: 1.1rem;
  margin: 10px 0;
  line-height: 1.5;
}

.blog-card__body p {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.blog-card__more {
  color: var(--gold-light);
  font-size: .88rem;
}

.blog-article {
  padding: 120px 0 80px;
}

.blog-article__header {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.blog-article__header time {
  color: var(--gold);
  font-size: .9rem;
}

.blog-article__header h1 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin: 12px 0;
  line-height: 1.4;
}

.blog-article__excerpt {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.blog-article__cover {
  max-width: 900px;
  margin: 0 auto 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.blog-article__cover img {
  width: 100%;
  display: block;
}

.blog-article__content {
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.9;
  color: var(--text);
}

.blog-article__content h2 {
  font-size: 1.25rem;
  margin: 32px 0 12px;
  color: var(--gold-light);
}

.blog-article__content p {
  margin-bottom: 16px;
  color: var(--text-muted);
}

.blog-article__related {
  max-width: 960px;
  margin: 64px auto 0;
}

.blog-article__related h2 {
  font-size: 1.25rem;
  margin-bottom: 24px;
}

.blog-article__cta {
  max-width: 760px;
  margin: 48px auto 0;
  text-align: center;
  padding: 32px;
  border: 1px solid rgba(201,169,98,.25);
  border-radius: var(--radius-lg);
  background: rgba(201,169,98,.05);
}

.blog-article__cta p {
  margin-bottom: 20px;
  color: var(--text-muted);
}

/* ─── Category landing ─── */
.category-page .category-landing {
  padding: 120px 0 80px;
}

.category-landing__header {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.category-landing__header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 12px 0;
}

.category-landing__intro {
  color: var(--text-muted);
  line-height: 1.9;
  font-size: 1.02rem;
}

.category-landing__cta {
  margin-top: 56px;
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.08);
  background: var(--surface);
}

.category-landing__cta h2 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.category-landing__cta p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.category-landing__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.category-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

/* ─── Enhancements: testimonials, FAQ, contact, widgets ─── */
.hero__bg-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__bg-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  transform: scale(1.15);
}

.cert-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin-top: 20px;
  padding: 0;
}

.cert-strip li {
  font-size: 0.8rem;
  padding: 6px 14px;
  border: 1px solid rgba(201,169,98,.35);
  border-radius: 999px;
  color: var(--gold-light);
}

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

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 0;
}

.testimonial-card__stars {
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-card p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.testimonial-card footer strong {
  display: block;
  margin-bottom: 4px;
}

.testimonial-card footer span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.gallery-filters--brands {
  margin-top: -8px;
  margin-bottom: 24px;
}

.gallery-item.is-hidden,
.gallery-grid > .admin-edit-wrap.gallery-item.is-hidden,
.gallery-grid > .admin-edit-wrap.gallery-item[hidden] {
  display: none !important;
}

.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  background: var(--surface);
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  padding: 0 20px 18px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 32px 0;
  text-align: right;
}

.contact-map {
  margin-top: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/10;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.contact-form__field {
  margin-bottom: 16px;
}

.contact-form__field label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
}

.contact-form__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.contact-flash {
  max-width: 560px;
  margin: 16px auto;
  padding: 14px 18px;
  border-radius: 10px;
  text-align: center;
}

.contact-flash--ok {
  background: rgba(16,185,129,.15);
  border: 1px solid rgba(16,185,129,.4);
  color: #6ee7b7;
}

.contact-flash--err {
  background: rgba(239,68,68,.12);
  border: 1px solid rgba(239,68,68,.35);
  color: #fca5a5;
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold-light);
}

.float-wa {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: transform .2s;
}

.float-wa:hover { transform: scale(1.08); }

.fab-stack {
  position: fixed;
  left: 24px;
  bottom: 92px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fab-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, opacity 0.3s, visibility 0.3s, background 0.3s;
}

.fab-btn:hover {
  transform: scale(1.08);
  background: var(--gold-dim);
}

.fab-btn--top[hidden] {
  display: none;
}

html[data-theme="light"] .fab-btn {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.fab-btn__icon--moon { display: none; }

html[data-theme="light"] .fab-btn__icon--sun { display: none; }
html[data-theme="light"] .fab-btn__icon--moon { display: block; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.92);
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox[hidden] { display: none !important; }

.lightbox__img {
  width: 96vw;
  max-width: 1100px;
  max-height: 90vh;
  border-radius: var(--radius-md);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  left: 20px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
}

.product-specs {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.product-specs__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.product-specs__row:last-child { border-bottom: none; }

.product-specs__row dt {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.product-price-table {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.product-price-table__title {
  font-size: 1.05rem;
  margin-bottom: 14px;
  color: var(--gold-light);
}

.product-price-table__wrap { overflow-x: auto; }

.product-price-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
}

.product-price-table th,
.product-price-table td {
  text-align: right;
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.product-price-table th {
  color: var(--text-muted);
  font-weight: 600;
}

.product-price { color: var(--text-primary); font-weight: 700; }
.product-price--sale { color: var(--gold-light); margin-inline-end: 8px; }
.product-price--old {
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 500;
  font-size: 0.86rem;
}
.product-price__badge {
  display: inline-block;
  margin-inline-start: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--gold-dim);
  color: var(--gold-light);
  font-size: 0.75rem;
}

.about-landing { padding: 120px 0 80px; }
.about-landing__header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.about-landing__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.about-landing__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.about-landing__stats div { text-align: center; padding: 16px; border: 1px solid var(--border); border-radius: 12px; }
.about-landing__stats strong { display: block; font-size: 1.4rem; color: var(--gold-light); }
.about-landing__stats span { font-size: 0.8rem; color: var(--text-muted); }
.cert-list { list-style: none; padding: 0; }
.cert-list li { padding: 14px 0; border-bottom: 1px solid var(--border); }
.cert-list li span { display: block; font-size: 0.88rem; color: var(--text-muted); margin-top: 4px; }
.about-landing__cta { text-align: center; margin-top: 48px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}

.error-page__inner h1 { font-size: 4rem; color: var(--gold); margin: 16px 0; }
.error-page__actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; }

@media (max-width: 1024px) {
  .blog-grid,
  .blog-grid--compact { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .about-landing__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .blog-grid,
  .blog-grid--compact { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .about-landing__stats { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .brands__grid { grid-template-columns: 1fr; }
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .nav,
  .hero,
  .section,
  .cta,
  .footer,
  .stats,
  main {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .nav__inner,
  .hero__content,
  .container,
  .footer__inner,
  .footer__bottom {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }
}

@media (max-width: 768px) {
  .nav__brand { max-width: 120px; }

  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__visual { aspect-ratio: 16/10; }
  .about__highlights { grid-template-columns: 1fr; }

  .categories__grid,
  .services__grid,
  .features__grid { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: 1fr; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .projects__grid { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .projects__grid { grid-template-columns: 1fr; }
  .stats__item { padding: 24px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ─── Site search ─── */
.nav-search {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-search__toggle {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}

.nav-search__toggle:hover {
  border-color: var(--gold);
  color: #fff;
}

.nav-search__panel {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: min(320px, 72vw);
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 12, 15, 0.96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 30;
}

.nav-search.is-open .nav-search__panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-search__panel input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

.nav-search__panel input[type="search"]::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.nav-search__submit {
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  background: var(--gold);
  color: #0f0e0d;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.mobile-search {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.mobile-search input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}

.mobile-search button {
  border: 0;
  border-radius: 12px;
  padding: 0 16px;
  background: var(--gold);
  color: #0f0e0d;
  font-weight: 700;
}

.search-landing {
  padding: 120px 0 80px;
}

.search-landing__header {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.search-landing__header h1 {
  margin: 12px 0 24px;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
}

.search-landing__form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.search-landing__form input[type="search"] {
  flex: 1;
  min-width: min(100%, 280px);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
}

.search-landing__hint,
.search-landing__summary,
.search-landing__empty,
.search-landing__back {
  color: var(--text-muted);
}

.search-landing__hint {
  margin-top: 12px;
  font-size: 0.92rem;
}

.search-landing__summary {
  margin-bottom: 28px;
}

.search-landing__empty {
  text-align: center;
  padding: 32px 0;
}

.search-landing__section {
  margin-bottom: 40px;
}

.search-landing__section h2 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.search-landing__section h2 span {
  color: var(--text-muted);
  font-weight: 500;
}

.search-results {
  display: grid;
  gap: 14px;
}

.search-result {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s, transform 0.2s;
}

.search-result:hover {
  border-color: rgba(201, 169, 98, 0.45);
  transform: translateY(-2px);
}

.search-result__link {
  display: contents;
  color: inherit;
  text-decoration: none;
}

.search-result__image {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.04);
}

.search-result__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result__body h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.search-result__meta {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.search-result__body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.search-result__cta {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
}

@media (max-width: 900px) {
  .nav-search__panel {
    display: none;
  }

  .nav-search__toggle {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 640px) {
  .search-result {
    grid-template-columns: 72px 1fr;
    gap: 12px;
    padding: 12px;
  }

  .search-landing__form {
    flex-direction: column;
  }

  .search-landing__form .btn {
    width: 100%;
  }
}

/* ─── Admin front-end edit tools (logged-in admin only) ─── */
body.has-admin-toolbar {
  padding-bottom: 88px;
}

.admin-front-toolbar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  z-index: 1200;
  pointer-events: none;
  max-width: 960px;
  margin-inline: auto;
}

.admin-front-toolbar__inner {
  pointer-events: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(184, 148, 63, 0.45);
  background: rgba(18, 17, 15, 0.94);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.admin-front-toolbar__badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #f5d78e;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(184, 148, 63, 0.2);
}

.admin-front-toolbar__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #c9a962;
  color: #1a1814;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.admin-front-toolbar__btn:hover {
  background: #dbb96e;
  transform: translateY(-1px);
}

.admin-front-toolbar__btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #f5f3ef;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-front-toolbar__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.admin-edit-chip {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(18, 17, 15, 0.88);
  border: 1px solid rgba(201, 169, 98, 0.55);
  color: #f5d78e;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: background 0.2s, transform 0.2s;
}

.admin-edit-chip:hover {
  background: rgba(28, 25, 23, 0.96);
  transform: translateY(-1px);
}

.admin-edit-chip span {
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-item.admin-edit-wrap,
.project-card.admin-edit-wrap,
.video-card.admin-edit-wrap,
.testimonial-card.admin-edit-wrap,
.blog-card.admin-edit-wrap,
.faq-item.admin-edit-wrap,
.cert-list li.admin-edit-wrap,
.search-result.admin-edit-wrap,
.gallery-grid > .admin-edit-wrap,
.admin-edit-wrap {
  position: relative;
}

.gallery-grid > .admin-edit-wrap {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  border: 1px solid var(--border);
}

.gallery-grid > .admin-edit-wrap > .gallery-item,
.gallery-grid > .admin-edit-wrap > a.gallery-item {
  height: 100%;
  border: none;
  border-radius: 0;
}

.section__header {
  position: relative;
}

.admin-section-edit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px dashed rgba(201, 169, 98, 0.55);
  color: #c9a962;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.admin-section-edit:hover {
  background: rgba(201, 169, 98, 0.12);
  border-color: rgba(201, 169, 98, 0.85);
}

.product-detail__grid {
  position: relative;
}

@media (max-width: 640px) {
  .admin-front-toolbar__inner {
    justify-content: center;
  }

  .admin-edit-chip span {
    display: none;
  }
}
