/* Homepage Premium (institutional / cinematic) — 2026
   Scoped to homepage via .hp-* classes to avoid side effects. */

:root {
  --hp-ink: #071022;
  --hp-ink-2: rgba(13, 21, 38, 0.96);
  --hp-metal: rgba(255, 255, 255, 0.06);
  --hp-metal-2: rgba(255, 255, 255, 0.10);
  --hp-border: rgba(255, 255, 255, 0.12);
  --hp-border-dark: rgba(0, 0, 0, 0.08);
  --hp-shadow: 0 18px 70px rgba(0, 0, 0, 0.16);
  --hp-glow: 0 0 0 1px rgba(255, 107, 0, 0.20), 0 28px 110px rgba(255, 107, 0, 0.16);
  --hp-blue-glow: 0 0 0 1px rgba(0, 184, 255, 0.18), 0 28px 110px rgba(0, 184, 255, 0.12);
}

/* ---------- HERO ---------- */
.hp-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(1100px 540px at 18% 30%, rgba(255, 107, 0, 0.16), transparent 60%),
    radial-gradient(900px 520px at 85% 20%, rgba(0, 184, 255, 0.14), transparent 55%),
    linear-gradient(135deg, rgba(26, 43, 95, 0.98) 0%, rgba(13, 21, 38, 0.96) 58%, rgba(255, 107, 0, 0.10) 100%);
}

.hp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.35;
  mask-image: radial-gradient(720px 440px at 24% 32%, #000 20%, transparent 70%);
  pointer-events: none;
}

.hp-hero::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(900px 520px at 25% 35%, rgba(255, 107, 0, 0.26), transparent 58%),
    radial-gradient(900px 520px at 75% 15%, rgba(0, 184, 255, 0.18), transparent 60%);
  opacity: 0.8;
  pointer-events: none;
}

.hp-hero-media {
  position: absolute;
  inset: 0;
  opacity: 0.26;
  filter: saturate(1.05) contrast(1.05);
  transform: translate3d(calc(var(--hp-mx, 0) * 12px), calc(var(--hp-my, 0) * 12px), 0) scale(1.05);
  transition: transform 220ms ease;
  background-size: cover;
  background-position: center;
}

.hp-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 21, 38, 0.15) 0%, rgba(13, 21, 38, 0.88) 62%, rgba(13, 21, 38, 0.98) 100%);
}

.hp-hero .container {
  position: relative;
  z-index: 2;
}

.hp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hp-title {
  font-size: clamp(2.95rem, 5.8vw, 6.2rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
  line-height: 0.95;
  text-transform: uppercase;
}

.hp-title .accent {
  color: var(--primary);
  text-shadow: 0 16px 50px rgba(255, 107, 0, 0.22);
}

.hp-subtitle {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
  max-width: 920px;
}

.hp-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.hp-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hp-label i {
  color: var(--primary);
}

.hp-hero-card {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(13, 21, 38, 0.92), rgba(13, 21, 38, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--hp-shadow);
}

.hp-hero-card .mini-stat {
  display: grid;
  gap: 0.25rem;
  padding: 0.8rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.hp-hero-card .mini-stat:first-child {
  border-top: none;
}

.hp-hero-card .mini-stat strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.hp-hero-card .mini-stat span {
  color: rgba(255, 255, 255, 0.74);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
}

/* ---------- Section skins ---------- */
.hp-skin-dark {
  background: linear-gradient(180deg, rgba(13, 21, 38, 0.98), rgba(13, 21, 38, 0.98));
  color: #fff;
}

.hp-skin-dark .section-title,
.hp-skin-dark .section-title::after {
  color: #fff;
}

.hp-skin-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.72);
}

.hp-soft {
  background: linear-gradient(180deg, rgba(245, 247, 250, 0.78), rgba(255, 255, 255, 1));
}

/* ---------- Media blocks ---------- */
.hp-media {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
}

.hp-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hp-media-cap {
  padding: 0.85rem 1rem;
  font-weight: 800;
  color: var(--secondary);
  background: rgba(255, 255, 255, 0.92);
}

.hp-mosaic {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.hp-mosaic-right {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
}

.hp-mosaic .hp-media {
  min-height: 240px;
}

/* ---------- Pillars cards ---------- */
.hp-pillar {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--hp-shadow);
  min-height: 360px;
  background: #0b1020;
  transition: var(--transition);
}

.hp-pillar:hover {
  transform: translateY(-10px);
  box-shadow: var(--hp-glow);
}

.hp-pillar-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
  opacity: 0.92;
}

.hp-pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 21, 38, 0.20) 0%, rgba(13, 21, 38, 0.88) 65%, rgba(13, 21, 38, 0.98) 100%);
}

.hp-pillar-body {
  position: relative;
  z-index: 2;
  padding: 1.8rem;
  color: #fff;
  display: grid;
  height: 100%;
  align-content: end;
  gap: 0.8rem;
}

.hp-pillar-body h3 {
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
}

.hp-pillar-body p {
  opacity: 0.82;
  margin: 0;
}

.hp-pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hp-tag {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  font-family: "Rajdhani", sans-serif;
}

.hp-tag i {
  color: var(--primary);
}

/* ---------- Why us ---------- */
.hp-why {
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.08);
  padding: 1.25rem;
  height: 100%;
  transition: var(--transition);
}

.hp-why:hover {
  transform: translateY(-10px);
  box-shadow: var(--hp-blue-glow);
}

.hp-why .ico {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.18);
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

/* ---------- Trust logos ---------- */
.hp-logo {
  border-radius: 999px;
  padding: 0.8rem 1.1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  letter-spacing: 0.3px;
  font-family: "Rajdhani", sans-serif;
}

.hp-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

/* ---------- CTA finale ---------- */
.hp-cta {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 2.5rem 2.2rem;
  background: radial-gradient(900px 360px at 20% 20%, rgba(255, 107, 0, 0.26), transparent 55%),
    radial-gradient(900px 360px at 85% 10%, rgba(0, 184, 255, 0.16), transparent 55%),
    linear-gradient(135deg, rgba(26, 43, 95, 0.98) 0%, rgba(13, 21, 38, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--hp-shadow);
}

.hp-cta h2,
.hp-cta p {
  color: #fff;
}
.hp-cta p {
  opacity: 0.82;
}

@media (max-width: 768px) {
  .hp-mosaic {
    grid-template-columns: 1fr;
  }
  .hp-cta {
    padding: 1.9rem 1.25rem;
  }
}

