/* ================================================
   LA CATALANA DIGITAL — Hero & Page Header
   ================================================ */

/* ── Home Hero ──────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
  padding: var(--s24) 0 var(--s20);
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 0%,   rgba(211,47,47,.55)  0%, transparent 50%),
    radial-gradient(ellipse at 100% 80%, rgba(255,193,7,.25)  0%, transparent 50%),
    radial-gradient(ellipse at 50% 120%, rgba(211,47,47,.2)   0%, transparent 60%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s12);
  align-items: center;
}

.hero-content { display: flex; flex-direction: column; gap: var(--s6); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  padding: .375rem 1rem;
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  width: fit-content;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -.03em;
}
.hero h1 .accent { color: var(--amber); }

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  align-items: center;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding-top: var(--s4);
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 0.875rem;
  color: rgba(255,255,255,.65);
}
.hero-trust-dots {
  display: flex;
  gap: -4px;
}
.hero-trust-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--dark);
  background: linear-gradient(135deg, var(--red-light), var(--amber-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--dark);
  margin-left: -6px;
}
.hero-trust-dot:first-child { margin-left: 0; }

/* ── Hero visual ────────────────────────────────── */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  padding: var(--s8);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: var(--s6);
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
}
.hero-visual-stat {
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding: var(--s4) var(--s5);
  background: rgba(255,255,255,.08);
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.08);
}
.hero-visual-stat .icon { font-size: 2rem; }
.hero-visual-stat .num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero-visual-stat .lbl { font-size: 0.8125rem; color: rgba(255,255,255,.6); }

/* floating blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.hero-blob-1 {
  width: 300px; height: 300px;
  background: rgba(211,47,47,.4);
  top: -80px; right: -80px;
}
.hero-blob-2 {
  width: 200px; height: 200px;
  background: rgba(255,193,7,.25);
  bottom: -60px; left: -60px;
}

/* ── Page header (sub-pages) ────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--gray-9) 100%);
  color: var(--white);
  padding: var(--s16) 0 var(--s12);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(211,47,47,.3) 0%, transparent 70%);
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 400px; height: 300px;
  background: radial-gradient(ellipse, rgba(255,193,7,.15) 0%, transparent 70%);
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: var(--s4);
}
.page-header .lead {
  font-size: 1.25rem;
  color: rgba(255,255,255,.8);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 0;
}
.page-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-top: var(--s6);
}

/* ── Floating shapes (decorative) ───────────────── */
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-shapes span {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  animation: floatShape 8s ease-in-out infinite;
}
.hero-shapes span:nth-child(1) { width:180px; height:180px; top:10%; right:5%;  animation-delay: 0s; }
.hero-shapes span:nth-child(2) { width:120px; height:120px; bottom:20%; right:20%; animation-delay: 2s; }
.hero-shapes span:nth-child(3) { width: 80px; height: 80px;  top:50%; right:35%; animation-delay: 4s; }

@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-20px) rotate(10deg); }
}

/* ── Responsive hero ────────────────────────────── */
@media (max-width: 900px) {
  .hero { min-height: auto; padding: var(--s16) 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
}
