/* ═══════════════════════════════════════════════════════════
   Vultronix Industries — Home Optima (#p-homeoptima)
═══════════════════════════════════════════════════════════ */

.domain-home .ho-eyebrow,
#p-homeoptima .eyebrow {
  color: var(--d-prime);
}

/* ── Typography ──────────────────────────────────────────────── */
.ho-h1 {
  font-family: var(--fd);
  font-size: clamp(2.1rem, 4.5vw, 3.45rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -.03em;
  color: var(--t1);
  margin-bottom: 1.25rem;
}

.ho-h1 em {
  color: var(--d-prime);
  font-style: normal;
}

.ho-h2 {
  font-family: var(--fd);
  font-size: clamp(1.55rem, 3.2vw, 2.45rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--t1);
  margin-bottom: .75rem;
}

.ho-h2 em {
  color: var(--d-prime);
  font-style: normal;
}

.ho-lead {
  font-size: clamp(.9rem, 1.5vw, 1rem);
  color: var(--t2);
  line-height: 1.8;
  max-width: 52ch;
}

.ho-section-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.ho-section-head .ho-lead {
  margin-top: .75rem;
  max-width: 58ch;
}

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.ho-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(3.5rem, 6vw, 4.5rem);
  background: linear-gradient(160deg, #0a0810 60%, rgba(212,169,106,.05) 100%);
}

.ho-hero__grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(212,169,106,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,169,106,.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 15%, transparent 100%);
}

.ho-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  animation: float 14s ease-in-out infinite;
}

.ho-hero__orb--1 {
  width: 560px;
  height: 560px;
  top: -150px;
  right: -100px;
  background: radial-gradient(circle, rgba(212,169,106,.16), transparent 70%);
}

.ho-hero__orb--2 {
  width: 380px;
  height: 380px;
  bottom: -90px;
  left: -70px;
  background: radial-gradient(circle, rgba(124,58,237,.1), transparent 70%);
  animation-delay: -5s;
}

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

.ho-hero__scan::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212,169,106,.3), transparent);
  animation: ho-scan 7s linear infinite;
}

@keyframes ho-scan {
  0% { top: -2px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.ho-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.ho-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .38rem .85rem;
  margin-bottom: 1.25rem;
  font-family: var(--fm);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--d-prime);
  background: var(--d-bg);
  border: 1px solid var(--d-bd);
  border-radius: 99px;
}

.ho-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin: 1.75rem 0 2rem;
}

.ho-btn-primary {
  color: var(--ink);
  background: linear-gradient(135deg, #d4a96a, #e2c99a);
  box-shadow: 0 8px 28px var(--d-btn-shadow);
}

.ho-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px var(--d-btn-shadow);
}

.ho-btn-login {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .75rem 1.25rem;
  font-size: .84rem;
  font-weight: 600;
  color: var(--t2);
  background: var(--glass);
  border: 1px solid var(--edge2);
  border-radius: var(--r);
  transition: border-color .2s, color .2s, transform .2s, box-shadow .2s;
}

.ho-btn-login:hover {
  color: var(--d-prime);
  border-color: var(--d-bd);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--d-glow);
}

.ho-btn-login svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.ho-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--edge);
}

.ho-stat__num {
  font-family: var(--fd);
  font-size: clamp(1.65rem, 2.8vw, 2rem);
  font-weight: 800;
  line-height: 1;
  color: var(--d-prime);
  margin-bottom: .35rem;
}

.ho-stat__label {
  font-size: .72rem;
  color: var(--t3);
  line-height: 1.45;
  max-width: 14ch;
}

.ho-hero__visual {
  position: relative;
}

.ho-hero__frame {
  border-radius: var(--r3);
  overflow: hidden;
  border: 1px solid var(--d-bd);
  background: #0a0810;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(212,169,106,.08),
    0 32px 80px rgba(0,0,0,.55),
    0 0 48px rgba(212,169,106,.1);
  transition: transform .4s, box-shadow .4s;
}

.ho-hero__frame:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(212,169,106,.2),
    0 40px 96px rgba(0,0,0,.6),
    0 0 64px rgba(212,169,106,.14);
}

.ho-hero__frame img {
  width: 100%;
  display: block;
  object-fit: contain;
  object-position: top center;
  aspect-ratio: 3 / 4;
  max-height: clamp(320px, 42vw, 520px);
  background: #0a0810;
}

/* ═══════════════════════════════════════════════════════════
   INTELLIGENCE BENTO
═══════════════════════════════════════════════════════════ */
.ho-intelligence {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  background: var(--ink2);
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
}

.ho-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.ho-bento__wide {
  grid-column: span 2;
}

.ho-bento-card {
  padding: 1.5rem;
  background: var(--glass);
  border: 1px solid var(--edge);
  border-radius: var(--r2);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}

.ho-bento-card:hover {
  border-color: var(--d-bd);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,.4);
}

.ho-bento-card--featured {
  background: linear-gradient(135deg, rgba(212,169,106,.08), var(--glass));
}

.ho-bento-card__icon {
  font-size: 1.5rem;
  margin-bottom: .85rem;
}

.ho-bento-card h3 {
  font-family: var(--fd);
  font-size: .95rem;
  font-weight: 800;
  margin-bottom: .55rem;
}

.ho-bento-card p {
  font-size: .84rem;
  color: var(--t2);
  line-height: 1.65;
  margin-bottom: .85rem;
}

.ho-bento-card__metric {
  font-family: var(--fm);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--d-prime);
  padding-top: .75rem;
  border-top: 1px solid var(--edge);
}

/* ═══════════════════════════════════════════════════════════
   IMAGE GALLERY
═══════════════════════════════════════════════════════════ */
.ho-gallery {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.ho-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.ho-gallery__item {
  position: relative;
  border-radius: var(--r2);
  overflow: hidden;
  border: 1px solid var(--edge);
  background: #0a0810;
  cursor: pointer;
  transition: transform .35s, border-color .35s, box-shadow .35s;
  display: flex;
  flex-direction: column;
}

.ho-gallery__item:hover {
  border-color: var(--d-bd);
  transform: translateY(-4px);
  box-shadow: 0 22px 56px rgba(0,0,0,.5);
}

.ho-gallery__media {
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: clamp(220px, 24vw, 320px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: #0a0810;
  overflow: hidden;
}

.ho-gallery__item--dashboard .ho-gallery__media {
  aspect-ratio: 16 / 9;
  min-height: clamp(260px, 30vw, 400px);
}

@media (min-width: 768px) {
  .ho-gallery__item--dashboard {
    grid-column: 1 / -1;
  }

  .ho-gallery__item--dashboard .ho-gallery__media {
    min-height: clamp(280px, 36vw, 480px);
  }
}

.ho-gallery__item--logo .ho-gallery__media {
  aspect-ratio: 1 / 1;
  min-height: clamp(200px, 22vw, 280px);
  align-items: center;
}

.ho-gallery__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: top center;
  background: #0a0810;
  transition: transform .45s;
}

.ho-gallery__item--logo .ho-gallery__media img {
  object-position: center;
  padding: 1.25rem;
}

.ho-gallery__item:hover .ho-gallery__media img {
  transform: scale(1.02);
}

.ho-gallery__caption {
  position: static;
  padding: .85rem 1rem;
  background: var(--ink3);
  border-top: 1px solid var(--edge);
}

.ho-gallery__tag {
  display: block;
  font-family: var(--fm);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--d-prime);
  margin-bottom: .25rem;
}

.ho-gallery__title {
  font-family: var(--fd);
  font-size: .82rem;
  font-weight: 700;
  color: var(--t1);
  line-height: 1.35;
}

/* ═══════════════════════════════════════════════════════════
   TESTIMONIAL
═══════════════════════════════════════════════════════════ */
.ho-testi {
  padding: 0 0 clamp(3rem, 6vw, 4rem);
  background: var(--ink);
}

.ho-testi__block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: linear-gradient(135deg, rgba(212,169,106,.09), rgba(124,58,237,.05));
  border: 1px solid var(--d-bd);
  border-radius: var(--r2);
  box-shadow: 0 20px 52px rgba(0,0,0,.35);
}

.ho-testi__avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fd);
  font-size: .85rem;
  font-weight: 800;
  color: var(--ink);
  background: linear-gradient(135deg, #d4a96a, #b8860b);
  flex-shrink: 0;
}

.ho-testi__block blockquote {
  font-size: clamp(.95rem, 1.6vw, 1.05rem);
  color: var(--t2);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1rem;
}

.ho-testi__name {
  font-size: .88rem;
  font-weight: 700;
  color: var(--t1);
  margin-bottom: .2rem;
}

.ho-testi__role {
  font-size: .78rem;
  color: var(--t3);
}

/* ═══════════════════════════════════════════════════════════
   CTA STRIP
═══════════════════════════════════════════════════════════ */
.ho-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 4.5rem) 0 clamp(4rem, 8vw, 5.5rem);
  background: linear-gradient(135deg, rgba(212,169,106,.09), var(--ink));
  border-top: 1px solid var(--edge);
}

.ho-cta__grid-bg {
  position: absolute;
  inset: 0;
  opacity: .28;
  pointer-events: none;
  background:
    linear-gradient(rgba(212,169,106,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,169,106,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.ho-cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.ho-cta__inner .ho-kicker {
  margin-bottom: 1rem;
}

.ho-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .85rem;
  margin-top: 1.75rem;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 960px) {
  .ho-hero__inner {
    grid-template-columns: 1fr;
  }

  .ho-hero__visual {
    order: -1;
  }

  .ho-bento {
    grid-template-columns: 1fr;
  }

  .ho-bento__wide {
    grid-column: span 1;
  }

  .ho-gallery__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ho-hero__stats {
    gap: 1.25rem;
  }

  .ho-testi__block {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ho-testi__avatar {
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ho-hero__scan::after {
    animation: none;
  }
}
