/* =========================
   EMPRESA — premium Biraden-like
   ========================= */

/* Contenedor general */
.p-container{
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* Hero */
.p-hero{
  position: relative;
  min-height: 84vh;
  padding-top: var(--header-h);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #0b1220;
}

.p-hero-media{
  position:absolute;
  inset:0;
  z-index:0;
}

.p-hero-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  transform: scale(1.02);
}

.p-hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    radial-gradient(900px 520px at 18% 42%, rgba(30,136,255,.18), transparent 62%),
    linear-gradient(90deg, rgba(3,7,14,.80) 0%, rgba(3,7,14,.44) 55%, rgba(3,7,14,.14) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.08), rgba(0,0,0,.40));
}

.p-hero-inner{
  position: relative;
  z-index:2;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(70px, 12vh, 140px) 0 56px;
  text-align: center;
}

.p-eyebrow{
  margin:0 0 14px;
  letter-spacing:.22em;
  text-transform: uppercase;
  font-size: 12px;
  opacity: .75;
}

.p-title{
  margin: 0 0 18px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1.06;
  font-size: clamp(28px, 4vw, 56px);
  max-width: 26ch;
  margin-inline: auto;
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.p-lead{
  margin: 0 auto 22px;
  max-width: 74ch;
  color: rgba(255,255,255,.84);
  line-height: 1.65;
  font-size: clamp(15px, 1.35vw, 18px);
}

.p-hero-actions{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
  margin-bottom: 18px;
}

.p-kpis{
  display:flex;
  gap: 12px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top: 10px;
}

.p-kpi{
  min-width: 210px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(10,14,22,.30);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 14px 16px;
}

.p-kpi strong{
  display:block;
  font-size: 28px;
  letter-spacing: -.02em;
}

.p-kpi span{
  display:block;
  margin-top: 2px;
  font-size: 12px;
  opacity: .78;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Sections */
.p-section{
  padding: 72px 0;
  background:#fff;
}

.p-section--alt{
  background: #f4f7fb;
}

.p-head{
  max-width: 820px;
  margin: 0 auto 28px;
  text-align:center;
}

.p-h2{
  margin:0 0 10px;
  font-size: clamp(26px, 2.4vw, 34px);
  letter-spacing: -.02em;
}

.p-sub{
  margin:0;
  opacity: .72;
}

/* Grid 2 columnas */
.p-grid-2{
  display:grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr);
  gap: 32px;
  align-items: start;
}

/* Cards */
.p-card{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  background: #fff;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
}

.p-card--glass{
  background: linear-gradient(135deg, #0d1b2c, #0b1220);
  color:#fff;
  border-color: rgba(255,255,255,.12);
  box-shadow: var(--shadow);
}

.p-h3{
  margin:0 0 10px;
  font-size: 18px;
}

.p-text{
  margin:0;
  opacity:.82;
  line-height: 1.65;
}

.p-points{
  margin-top: 16px;
  display:grid;
  gap: 14px;
}

.p-point h3{
  margin:0 0 6px;
  font-size: 16px;
}

.p-point p{
  margin:0;
  opacity:.78;
  line-height: 1.55;
}

.p-list{
  margin: 10px 0 0;
  padding-left: 18px;
}

.p-list li{
  margin: 8px 0;
  opacity:.86;
}

.p-mini-cta{
  margin-top: 14px;
}

.p-link{
  text-decoration:none;
  font-weight:800;
  color: var(--brand);
}

/* Tarjetas */
.p-cards,
.services-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.p-cards .p-card,
.services-grid .service-card{
  height: 100%;
}

.service-card{
  height: 100%;
}

/* Timeline */
.p-timeline{
  list-style:none;
  padding:0;
  margin: 18px auto 0;
  max-width: 920px;
  display:grid;
  gap: 12px;
}

.p-step{
  display:grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: start;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 16px 18px;
  background:#fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.05);
}

.p-step-n{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  font-weight: 800;
  background: rgba(30,136,255,.10);
  border: 1px solid rgba(30,136,255,.18);
}

.p-step-body h3{
  margin: 2px 0 6px;
}

.p-step-body p{
  margin: 0;
  opacity: .78;
  line-height: 1.55;
}

/* CTA */
.p-cta{
  padding: 70px 0;
  background: #0b1220;
  color:#fff;
}

.p-cta-inner{
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  padding: 28px;
  background:
    radial-gradient(900px 520px at 18% 42%, rgba(30,136,255,.16), transparent 62%),
    rgba(255,255,255,.04);
  backdrop-filter: blur(10px);
}

.p-cta-title{
  margin:0 0 8px;
  font-size: clamp(22px, 2.2vw, 30px);
}

.p-cta-sub{
  margin:0 0 18px;
  opacity:.80;
}

.p-cta-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* Reveal */
.p-reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease;
}

.p-reveal.is-in{
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px){
  .p-container{
    width: min(100% - 28px, 1180px);
  }

  .p-grid-2{
    grid-template-columns: 1fr;
  }

  .p-cards,
  .services-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px){
  .p-hero{
    padding-top: var(--header-h-m);
  }
}

@media (max-width: 560px){
  .p-container{
    width: min(100% - 22px, 1180px);
  }

  .p-cards,
  .services-grid{
    grid-template-columns: 1fr;
  }

  .p-kpi{
    width: 100%;
  }

  .p-hero-inner{
    padding: 12vh 0 50px;
  }

  .p-title{
    max-width: 20ch;
  }
}