:root {
  --pv-green: #0b3d24;
  --pv-green-2: #198754;
  --pv-gold: #c9a227;
  --pv-dark: #17231f;
  --pv-muted: #6b7b73;
  --pv-soft: #f5f7f4;
}

* {
  box-sizing: border-box
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  color: var(--pv-dark);
  background: #fff;
}

a {
  text-decoration: none
}

.pv-navbar {
  background: linear-gradient(90deg, #07361f, #0b4d2a);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  min-height: 70px
}

.pv-navbar .nav-link {
  color: rgba(255, 255, 255, .86);
  font-weight: 700
}

.pv-navbar .nav-link:hover,
.pv-navbar .nav-link.active {
  color: var(--pv-gold)
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, .4)
}

.pv-brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  color: #fff !important
}

.pv-brand img {
  height: 46px;
  width: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 3px
}

.pv-brand-text,
.pv-brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.12
}

.pv-brand-text strong,
.pv-brand strong {
  font-size: .98rem;
  font-weight: 850
}

.pv-brand-text small,
.pv-brand small {
  font-size: .70rem;
  color: rgba(255, 255, 255, .86)
}

.pv-brand-text small:last-child {
  color: var(--pv-gold);
  font-weight: 800
}

.pv-hero {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(7, 54, 31, .95), rgba(11, 77, 42, .8)), url('../img/about2.png') center/cover;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  padding-top: 70px
}

.pv-badge,
.pv-section-tag {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(201, 162, 39, .14);
  border: 1px solid rgba(201, 162, 39, .35);
  color: var(--pv-gold);
  font-weight: 800;
  border-radius: 999px;
  padding: .42rem .9rem;
  margin-bottom: 1rem
}

.pv-hero h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 950;
  line-height: .95;
  max-width: 900px
}

.pv-hero .lead {
  font-size: 1.2rem;
  max-width: 760px;
  color: rgba(255, 255, 255, .88)
}

.btn-pv-green {
  background: var(--pv-green);
  color: #fff;
  border: 0
}

.btn-pv-green:hover {
  background: #092f1d;
  color: #fff
}

.btn-pv-gold {
  background: var(--pv-gold);
  color: #13221b;
  border: 0;
  font-weight: 800
}

.btn-pv-gold:hover {
  background: #d8b84b;
  color: #13221b
}

.pv-institution-card {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(12px);
  border-radius: 28px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .25)
}

.pv-institution-card img {
  max-height: 110px;
  margin-bottom: 1rem
}

.pv-institution-card h2 {
  font-size: 1.4rem;
  font-weight: 900
}

.pv-soft {
  background: var(--pv-soft)
}

.pv-stat {
  background: #fff;
  border: 1px solid #e2ebe5;
  border-radius: 24px;
  padding: 1.5rem;
  text-align: center;
  height: 100%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .06);
  transition: .3s
}

.pv-stat:hover {
  transform: translateY(-6px)
}

.pv-stat i {
  font-size: 2rem;
  color: var(--pv-green-2)
}

.pv-stat strong {
  display: block;
  font-size: 2.35rem;
  color: var(--pv-green);
  font-weight: 950
}

.pv-stat span {
  font-weight: 750;
  color: var(--pv-muted)
}

.pv-check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0
}

.pv-check-list li {
  margin: .7rem 0;
  color: var(--pv-muted)
}

.pv-check-list i {
  color: var(--pv-green-2);
  margin-right: .5rem
}

.pv-map-preview {
  height: 360px;
  border-radius: 30px;
  background: #eaf2ec;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .12);
  border: 1px solid #dfeae3
}

.pv-map-toolbar {
  height: 46px;
  background: #fff;
  display: flex;
  gap: .45rem;
  align-items: center;
  padding: 0 1rem
}

.pv-map-toolbar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d8dedb
}

.pv-map-grid {
  height: 314px;
  position: relative;
  background: linear-gradient(45deg, #dce9df 25%, transparent 25%), linear-gradient(-45deg, #dce9df 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #dce9df 75%), linear-gradient(-45deg, transparent 75%, #dce9df 75%);
  background-size: 42px 42px;
  background-position: 0 0, 0 21px, 21px -21px, -21px 0
}

.pv-map-layer {
  position: absolute;
  inset: 60px 80px;
  border: 4px solid var(--pv-green);
  border-radius: 48% 52% 42% 58%;
  background: rgba(25, 135, 84, .12)
}

.pv-map-layer.second {
  inset: 120px 150px 70px 120px;
  border-color: var(--pv-gold);
  background: rgba(201, 162, 39, .12)
}

.pv-map-pin {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: var(--pv-green)
}

.pv-service,
.pv-info-panel {
  background: #fff;
  border-radius: 24px;
  padding: 1.5rem;
  height: 100%;
  border: 1px solid #e0eae4;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .06);
  transition: all .8s ease
}

.pv-service {
  opacity: 0;
  transform: translateY(40px)
}

.pv-service.show {
  opacity: 1;
  transform: translateY(0)
}

.pv-service:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .12)
}

.pv-service i {
  font-size: 2.2rem;
  color: var(--pv-green-2)
}

.pv-service h3 {
  font-size: 1.2rem;
  font-weight: 900;
  margin-top: .8rem
}

.pv-service p {
  color: var(--pv-muted)
}

.pv-info-panel {
  opacity: 0;
  transform: translateX(-50px);
  background: linear-gradient(135deg, #fff, #f6fbf8)
}

.pv-info-panel.gold {
  transform: translateX(50px);
  background: linear-gradient(135deg, #fffaf0, #fff)
}

.pv-info-panel.show {
  opacity: 1;
  transform: translateX(0) !important
}

.pv-cta {
  background: linear-gradient(135deg, #0b3d24, #198754);
  color: #fff
}

.pv-footer {
  background: #071f14;
  color: #fff
}

.pv-footer h3 {
  font-size: 1.2rem;
  font-weight: 900
}

.pv-footer p,
.pv-footer span {
  color: rgba(255, 255, 255, .82)
}

.developer-credit {
  color: rgba(255, 255, 255, .75);
  letter-spacing: .3px
}

.developer-credit strong {
  color: var(--pv-gold)
}

.page-header {
  padding: 130px 0 60px;
  background: linear-gradient(135deg, #07361f, #0b4d2a);
  color: #fff
}

.page-header h1 {
  font-weight: 950
}

.contact-card {
  background: #fff;
  border-radius: 24px;
  padding: 1.4rem;
  border: 1px solid #e2ebe5;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .06);
  height: 100%
}

.contact-card i {
  font-size: 1.8rem;
  color: var(--pv-green-2)
}

@media(max-width:991px) {
  .pv-brand img {
    height: 40px
  }

  .pv-brand strong {
    font-size: .78rem
  }

  .pv-brand small {
    font-size: .58rem
  }

  .pv-hero {
    text-align: center
  }

  .pv-institution-card {
    margin-top: 1rem
  }

  .navbar-collapse {
    background: #0b3d24;
    padding: 1rem;
    border-radius: 16px;
    margin-top: .8rem
  }
}

/* Sección institucional: organigrama y personal */
.pv-org-chart {
  max-width: 760px;
  margin: 0 auto;
  text-align: center
}

.pv-org-box {
  background: #fff;
  border: 1px solid #e0eae4;
  border-radius: 22px;
  padding: 1rem 1.25rem;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .06);
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--pv-dark);
  font-weight: 800
}

.pv-org-box i {
  font-size: 1.35rem;
  color: var(--pv-green-2)
}

.pv-org-box.main {
  background: linear-gradient(135deg, #fff, #f8fbf8)
}

.pv-org-box.highlight {
  background: linear-gradient(135deg, #0b3d24, #198754);
  color: #fff;
  border-color: #0b3d24
}

.pv-org-box.highlight i {
  color: var(--pv-gold)
}

.pv-org-line {
  width: 3px;
  height: 28px;
  background: linear-gradient(var(--pv-green-2), var(--pv-gold));
  margin: .4rem auto
}

.pv-subtitle {
  font-size: 1.25rem;
  font-weight: 950;
  color: var(--pv-green);
  border-left: 5px solid var(--pv-gold);
  padding-left: .85rem
}

.pv-person-card {
  height: 100%;
  background: #fff;
  border: 1px solid #e0eae4;
  border-radius: 22px;
  padding: 1.2rem;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .06);
  transition: .3s;
  position: relative;
  overflow: hidden
}

.pv-person-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: var(--pv-green-2)
}

.pv-person-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .12)
}

.pv-person-card h3,
.pv-person-card h4 {
  font-weight: 900;
  color: var(--pv-dark);
  margin: .35rem 0 0
}

.pv-person-card h3 {
  font-size: 1.35rem
}

.pv-person-card h4 {
  font-size: 1.02rem;
  line-height: 1.35
}

.pv-role {
  display: inline-flex;
  font-size: .78rem;
  font-weight: 900;
  color: var(--pv-green);
  background: rgba(25, 135, 84, .10);
  border: 1px solid rgba(25, 135, 84, .18);
  border-radius: 999px;
  padding: .28rem .7rem;
  margin-bottom: .45rem
}

.pv-chief-card {
  background: linear-gradient(135deg, #0b3d24, #198754);
  color: #fff;
  border-color: #0b3d24
}

.pv-chief-card:before {
  background: var(--pv-gold)
}

.pv-chief-card h3 {
  color: #fff
}

.pv-chief-card .pv-role {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .25);
  color: var(--pv-gold)
}

.pv-person-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .25);
  font-size: 2rem;
  color: var(--pv-gold)
}

.pv-person-card.area i,
.pv-person-card.admin i {
  font-size: 2rem;
  color: var(--pv-green-2);
  display: block;
  margin-bottom: .8rem
}

.pv-person-card.featured {
  background: linear-gradient(135deg, #fffaf0, #fff);
  border-color: rgba(201, 162, 39, .35)
}

.pv-person-card.featured:before {
  background: var(--pv-gold)
}

.pv-person-card.featured i {
  color: var(--pv-gold)
}