/* =========================================================
   MENU (Topbar) estilo como tu captura
   - fondo blanco
   - logo a la izquierda
   - links centrados (Inicio / Trámites / Contacto)
   - icono usuario a la derecha
   ========================================================= */

:root{
  --pv-primary:#0b3b6f;
  --pv-text:#0f172a;
  --pv-muted:#475569;
  --pv-border:#e6eef8;
  --pv-shadow:0 10px 26px rgba(2,8,23,.08);
}

.pv-topbar{
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--pv-border);
  box-shadow: var(--pv-shadow);
}

.pv-topbar .pv-nav{
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* brand | menu | user */
  align-items: center;
  gap: 14px;
}

/* Brand (izquierda) */
.pv-brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
  justify-self: start;
}
.pv-brand img{
  width: 354px;
  height: 54px;
  object-fit: contain;
}
.pv-brand .pv-brand-title{
  color: var(--pv-primary);
  font-weight: 900;
  letter-spacing: -.3px;
  line-height: 1.05;
  font-size: 1.05rem;
}
.pv-brand .pv-brand-sub{
  display:block;
  margin-top: 2px;
  color: var(--pv-muted);
  font-weight: 800;
  font-size: .85rem;
}

/* Menu centrado */
.pv-menu{
  justify-self: center;
  display:flex;
  align-items:center;
  gap: 26px;
}
.pv-menu a{
  text-decoration:none;
  color: var(--pv-text);
  font-weight: 800;
  padding: 10px 12px;
  border-radius: 999px;
  transition: background .12s ease, color .12s ease;
}
.pv-menu a:hover{
  background: rgba(11,59,111,.08);
  color: var(--pv-primary);
}

/* Estado activo (pon la clase .is-active al link actual) */
.pv-menu a.is-active{
  background: rgba(11,59,111,.12);
  color: var(--pv-primary);
}

/* Icono usuario (derecha) */
.pv-user{
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
  justify-self: end;
  width: 200px;
  height: 44px;
  border-radius: 50px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: #fff;
  border: 1px solid var(--pv-border);
  color: var(--pv-primary);
  box-shadow: 0 12px 22px rgba(2,8,23,.08);
  transition: transform .12s ease, box-shadow .12s ease;
}
.pv-user:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(2,8,23,.12);
}

/* Responsive */
@media (max-width: 860px){
  .pv-topbar .pv-nav{
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand user"
      "menu  menu";
    row-gap: 10px;
  }
  .pv-brand{ grid-area: brand; }
  .pv-user{ grid-area: user; }
  .pv-menu{
    grid-area: menu;
    justify-self: start;
    gap: 10px;
    flex-wrap: wrap;
  }
}

/* ===== HERO / BANNER (imagen de fondo + texto + Lottie) ===== */
/* Requisitos:
   - Fondo con imagen
   - Texto a la izquierda
   - Lottie (JSON) a la derecha (responsivo)
   - Tipografía Verdana
   - Compatible con el HTML que te di: .pv-hero, .pv-hero__inner, .pv-hero__content, .pv-hero__media
*/

/* HERO */
.pv-hero{
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  position: relative;
  width: 100%;
  min-height: 260px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Imagen fondo */
.pv-hero-bg{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Capa oscura encima */
.pv-hero__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,35,64,.9) 0%, rgba(10,35,64,.6) 45%, rgba(10,35,64,.3) 100%);
  z-index: 2;
}

/* Contenido */
.pv-hero__inner{
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 20px;
}

.pv-hero__content{
  color: #fff;
  max-width: 520px;
}

.pv-hero__content h1{
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.pv-hero__content p{
  font-size: 16px;
}

/* Lottie */
.pv-lottie{
  width: 560px;
  height: 460px;
  margin-bottom: -30px;
}

/* RESPONSIVE */
@media (max-width: 768px){
  .pv-hero__inner{
    flex-direction: column;
    text-align: center;
  }

  .pv-lottie{
    width: 180px;
    height: 180px;
    margin-top: 10px;
  }
}

/* ===== Responsive (teléfonos) ===== */
@media (max-width: 768px){
  .pv-hero{
    padding: 22px 0;
    min-height: 260px;
    background-position: center;
  }

  .pv-hero__inner{
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: left;
  }

  .pv-hero__media{
    justify-content: center; /* Lottie centrado abajo */
  }

  .pv-hero__media lottie-player{
    width: min(360px, 92vw);
  }

  .pv-hero__lottie-placeholder{
    width: min(360px, 92vw);
  }
  .pv-lottie{
    max-width: 260px;
    margin-top: 25px;
  }
}

@media (max-width: 420px){
  .pv-hero{
    padding: 18px 0;
  }
  .pv-hero__content p{
    max-width: 100%;
  }
}




/* =========================================================
   SECCIÓN: Cards (izq) + Beneficios (der)
   Replica el diseño de tu imagen (cards con borde y sombra,
   botones full, y beneficios en círculos)
   Requiere HTML con estas clases:
   .pv-grid, .pv-cards, .pv-card(.pv-card--blue|--green),
   .pv-card__body, .pv-card__header, .pv-card__image,
   .pv-btn(.pv-btn--primary|--success),
   .pv-benefits, .pv-benefits__grid, .pv-benefit,
   .pv-benefit__icon, .pv-benefit__label
========================================================= */

/* Layout general */
.pv-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items:start;
  padding: 34px 0;
}

/* Columna cards */
.pv-cards{
  display:grid;
  gap: 18px;
}

/* Card base */
.pv-card{
  background: linear-gradient(180deg,#ffffff 0%, #fbfdff 100%);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(12, 48, 80, .14);
  overflow:hidden;
  position:relative;
   height: 250px;        /* 🔹 ALTURA TOTAL DE LA TARJETA */
  display: flex;   
}

/* borde coloreado suave */
.pv-card--blue{
  border: 2px solid rgba(59,130,246,.35);
}
.pv-card--green{
  border: 2px solid rgba(34,197,94,.35);
}

/* Cuerpo */
.pv-card__body{
  padding: 20px 22px 18px;
}

/* Header */
.pv-card__header h3{
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}
.pv-card--green .pv-card__header h3{
  color:#15803d;
}
.pv-card__header p{
  margin:0;
  font-size: 14px;
  color:#334155;
  line-height:1.35;
  max-width: 260px;
}

/* Imagen tipo nube/lupa (placeholder) */
.pv-card__image{
  position:absolute;
  top: 40px;
  right: 30px;
  width: 262px;
  height: 150px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.pv-card__image img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

/* Botón ancho total como en maqueta */
.pv-btn{
  display:flex;
  width: 250px;
  justify-content:center;
  align-items:center;
  margin-top: 90px;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration:none;
  border: 0;
  transition: transform .08s ease, filter .15s ease;
  user-select:none;
}

.pv-btn--primary{
  background: linear-gradient(180deg,#3b82f6 0%, #2563eb 100%);
  color:#ffffff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.pv-btn--success{
  background: linear-gradient(180deg,#22c55e 0%, #16a34a 100%);
  color:#ffffff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.pv-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
}
.pv-btn:active{
  transform: translateY(0);
}

/* =========================================================
   BENEFICIOS (derecha)
========================================================= */
.pv-benefits{
  padding-top: 8px;
}
.pv-benefits h2{
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .3px;
  color:#0f172a;
}

.pv-benefits__grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 26px;
}

/* item */
.pv-benefit{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap: 10px;
}

/* círculo blanco con icono */
.pv-benefit__icon{
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(12, 48, 80, .12);
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(15, 23, 42, .06);
}
.pv-benefit__icon i{
  font-size: 22px;
  color:#0b2e4d;
}

/* texto label */
.pv-benefit__label{
  font-size: 14px;
  color:#0f172a;
  font-weight: 500;
}

/* =========================================================
   Fondo suave tipo “panel” (opcional) para que se vea
   como en la maqueta (gris/azul claro)
========================================================= */
.pv-main{
  background: radial-gradient(1200px 520px at 70% 20%, rgba(37,99,235,.08) 0%, rgba(255,255,255,0) 55%),
              radial-gradient(900px 420px at 30% 60%, rgba(34,197,94,.07) 0%, rgba(255,255,255,0) 55%),
              linear-gradient(180deg,#f3f7fb 0%, #ffffff 100%);
}


/* =========================================================
   FOOTER moderno institucional (compatible con tu HTML actual)
   Usa:
   <footer class="pv-footer">
     <div class="container">
       <div class="pv-footer__inner"> ... </div>
     </div>
   </footer>
========================================================= */

.pv-footer{
  margin-top: 22px;
  background: linear-gradient(180deg,#0b2e4d 0%, #08263f 100%);
  color: rgba(255,255,255,.92);
  border-top: 1px solid rgba(255,255,255,.08);
}

.pv-footer .container{
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Contenido en 2 columnas (izq info / der enlaces) */
.pv-footer__inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 18px;
  flex-wrap:wrap;
}

/* Bloque izquierda */
.pv-footer__brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 260px;
}

.pv-footer__brand img{
  width: 44px;
  height: 44px;
  object-fit:contain;
  display:block;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.22));
}

.pv-footer__brand h4{
  margin:0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .3px;
}
.pv-footer__brand p{
  margin: 2px 0 0;
  font-size: 12.5px;
  color: rgba(255,255,255,.75);
  line-height: 1.35;
}

/* Bloque derecha (links + redes) */
.pv-footer__links{
  display:flex;
  align-items:center;
  gap: 14px;
  flex-wrap:wrap;
}

.pv-footer__links a{
  color: rgba(255,255,255,.85);
  text-decoration:none;
  font-weight:600;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
}

.pv-footer__links a:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
  transform: translateY(-1px);
}

/* Línea inferior */
.pv-footer__bottom{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.10);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 10px;
  flex-wrap:wrap;
  font-size: 12.5px;
  color: rgba(255,255,255,.72);
}

/* Chip institucional (tipo “badge”) */
.pv-footer__badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.84);
  font-weight: 700;
  font-size: 12px;
}

.pv-footer__badge i{
  font-size: 12px;
}

/* Responsive */
@media (max-width: 576px){
  .pv-footer .container{
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .pv-footer__links a{
    padding: 7px 9px;
    font-size: 12.5px;
  }
}


/* =========================================================
   Responsive
========================================================= */
@media (max-width: 992px){
  .pv-grid{
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 26px 0;
  }
  .pv-benefits__grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 576px){
  .pv-card__image{
    width: 78px;
    height: 62px;
    top: 14px;
    right: 14px;
  }
  .pv-card__header h3{
    font-size: 18px;
  }
  .pv-benefits__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
  }
  .pv-benefit__icon{
    width: 58px;
    height: 58px;
  }
}
