/* =====================================================================
   TSG Seguridad Privada — Página Quiénes somos / nosotros.css
   Archivo separado para la página institucional de la empresa.
   ===================================================================== */

.institutional-page{
  background:#fff;
}

.about-hero{
  min-height:760px;
  display:flex;
  align-items:center;
  padding:calc(var(--header-h) + 92px) 0 96px;
  background:
    linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.80) 44%, rgba(10,10,10,.42) 100%),
    var(--about-hero-img) center/cover no-repeat;
  color:#fff;
  position:relative;
  overflow:hidden;
}

.about-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size:92px 92px;
  opacity:.45;
  pointer-events:none;
  mask-image:linear-gradient(90deg,#000 0%,transparent 78%);
}

.about-hero::after{
  content:"";
  position:absolute;
  right:-120px;
  bottom:-180px;
  width:520px;
  height:520px;
  background:rgba(226,28,33,.32);
  filter:blur(90px);
  border-radius:50%;
  pointer-events:none;
}

.about-hero__grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0, 1fr) 390px;
  gap:54px;
  align-items:center;
}

.breadcrumb{
  display:flex;
  align-items:center;
  gap:10px;
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:26px;
}

.breadcrumb--light{ color:rgba(255,255,255,.72); }
.breadcrumb a:hover{ color:var(--red); }

.about-eyebrow{ color:#fff; }
.about-eyebrow::before{ background:var(--red); }

.about-hero h1{
  color:#fff;
  max-width:760px;
  margin:18px 0 22px;
}

.about-hero__content p{
  max-width:760px;
  color:rgba(255,255,255,.80);
  font-size:clamp(17px, 1.7vw, 21px);
  line-height:1.75;
}

.about-hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:34px;
}

.btn-light-outline{
  border:1px solid rgba(255,255,255,.45);
  color:#fff;
  background:transparent;
}
.btn-light-outline:hover{
  border-color:#fff;
  background:rgba(255,255,255,.08);
}

.about-hero__card{
  background:rgba(255,255,255,.94);
  color:#111;
  border:1px solid rgba(255,255,255,.22);
  border-radius:18px;
  padding:30px;
  box-shadow:0 24px 70px rgba(0,0,0,.32);
  backdrop-filter:blur(16px);
}

.about-hero__card img{
  width:76px;
  height:auto;
  margin-bottom:22px;
}

.about-hero__card h2{
  font-size:32px;
  margin-bottom:12px;
}

.about-hero__card p{
  color:#555;
  line-height:1.75;
  font-size:14px;
}

.about-hero__card ul{
  list-style:none;
  display:grid;
  gap:10px;
  margin-top:20px;
}

.about-hero__card li{
  display:flex;
  gap:10px;
  align-items:center;
  font-size:13px;
  font-weight:700;
  color:#242424;
}
.about-hero__card li::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--red);
  box-shadow:0 0 0 5px rgba(226,28,33,.10);
}

.about-section{
  padding:clamp(68px, 8vw, 118px) 0;
  position:relative;
  overflow:hidden;
}

.about-section--white{ background:#fff; }
.about-section--gray{ background:#f5f5f5; }

.about-section--gray::before,
.about-section--white::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(17,17,17,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,17,.035) 1px, transparent 1px);
  background-size:86px 86px;
  pointer-events:none;
  opacity:.7;
  mask-image:radial-gradient(ellipse 78% 72% at 90% 10%,#000 0%,transparent 70%);
}

.about-section--dark{
  background:#111;
  color:#fff;
}

.about-section--dark::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 15% 20%, rgba(226,28,33,.18), transparent 34%),
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size:auto, 92px 92px, 92px 92px;
  pointer-events:none;
}

.about-section--dark h2,
.about-section--dark h3{ color:#fff; }
.about-section > .container{ position:relative; z-index:2; }

.about-company-grid,
.ceo-grid,
.permits-grid,
.client-commitment-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.05fr) minmax(0, .95fr);
  gap:42px;
  align-items:center;
}

.about-copy-card,
.commitment-panel,
.commitment-aside,
.ceo-content{
  background:#fff;
  border:1px solid #e6e6e6;
  border-radius:18px;
  padding:clamp(26px, 4vw, 42px);
  box-shadow:0 18px 56px rgba(0,0,0,.07);
}

.about-copy-card h2,
.ceo-content h2,
.commitment-panel h2{
  margin:14px 0 18px;
}

.about-copy-card p,
.ceo-content p,
.commitment-panel p,
.permits-copy p{
  color:#565656;
  line-height:1.85;
  margin-bottom:14px;
}

.about-mini-stats{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
  margin-top:26px;
}

.about-mini-stats div{
  background:#f7f7f7;
  border:1px solid #e6e6e6;
  border-radius:14px;
  padding:18px;
}

.about-mini-stats strong{
  display:block;
  font-family:var(--display);
  font-size:36px;
  line-height:1;
  color:var(--red);
  margin-bottom:8px;
}

.about-mini-stats span{
  display:block;
  color:#555;
  font-size:12px;
  font-weight:700;
  line-height:1.45;
}

.about-image-panel{
  border-radius:20px;
  overflow:hidden;
  background:#111;
  border:1px solid #e4e4e4;
  box-shadow:0 26px 70px rgba(0,0,0,.15);
}

.about-image-panel img{
  width:100%;
  aspect-ratio:5/4;
  object-fit:cover;
}

.about-image-panel figcaption{
  color:rgba(255,255,255,.78);
  font-size:13px;
  line-height:1.55;
  padding:18px 22px;
  border-top:3px solid var(--red);
}

.about-section-head{
  display:grid;
  grid-template-columns:minmax(0, 430px) minmax(0, 1fr);
  gap:42px;
  align-items:end;
  margin-bottom:36px;
}

.about-section-head h2{ margin-top:14px; }
.about-section-head p{
  color:#5a5a5a;
  line-height:1.8;
  max-width:720px;
}

.mission-grid,
.work-method-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}

.work-method-grid{ grid-template-columns:repeat(4, minmax(0, 1fr)); }

.mission-card,
.work-card,
.permit-card{
  background:#fff;
  border:1px solid #e6e6e6;
  border-radius:16px;
  padding:26px;
  box-shadow:0 14px 44px rgba(0,0,0,.06);
}

.mission-card{
  min-height:318px;
  border-top:4px solid var(--red);
}

.mission-card__number,
.work-card span,
.permit-card span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  height:38px;
  border-radius:999px;
  background:#111;
  color:#fff;
  font-family:var(--mono);
  font-size:12px;
  margin-bottom:18px;
}

.mission-card h3,
.work-card h3,
.permit-card h3{
  font-size:24px;
  margin-bottom:12px;
}

.mission-card p,
.work-card p,
.permit-card p{
  color:#5a5a5a;
  font-size:14px;
  line-height:1.75;
}

.ceo-grid{
  grid-template-columns:minmax(0, .9fr) minmax(0, 1.1fr);
}

.ceo-photo-card{
  margin:0;
}

.ceo-photo-frame{
  position:relative;
  min-height:560px;
  border-radius:22px;
  overflow:hidden;
  background:
    linear-gradient(135deg,#191919,#2b2b2b),
    repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 1px, transparent 1px 14px);
  border:1px solid #e2e2e2;
  box-shadow:0 26px 76px rgba(0,0,0,.16);
}

.ceo-photo-frame img{
  width:100%;
  height:100%;
  min-height:560px;
  object-fit:cover;
  position:absolute;
  inset:0;
  z-index:2;
}

.ceo-photo-frame.is-empty img{ display:none; }

.ceo-photo-placeholder{
  position:absolute;
  inset:0;
  display:grid;
  place-content:center;
  gap:10px;
  text-align:center;
  padding:26px;
  color:#fff;
  z-index:1;
}

.ceo-photo-placeholder::before{
  content:"";
  width:92px;
  height:92px;
  border-radius:50%;
  border:2px dashed rgba(255,255,255,.45);
  margin:0 auto 8px;
}

.ceo-photo-placeholder span{
  font-family:var(--display);
  text-transform:uppercase;
  font-size:28px;
  letter-spacing:.04em;
}

.ceo-photo-placeholder small{
  font-size:13px;
  color:rgba(255,255,255,.68);
}

.ceo-role{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--mono);
  letter-spacing:.18em;
  text-transform:uppercase;
  font-size:12px;
  color:var(--red) !important;
  font-weight:700;
  margin-bottom:20px !important;
}

.ceo-role::before{
  content:"";
  width:28px;
  height:1px;
  background:var(--red);
}

.ceo-signature-box{
  margin-top:24px;
  padding:22px;
  border-left:4px solid var(--red);
  background:#f7f7f7;
  border-radius:0 14px 14px 0;
}

.ceo-signature-box strong{
  display:block;
  color:#111;
  margin-bottom:6px;
}

.ceo-signature-box span{
  display:block;
  color:#5a5a5a;
  font-size:14px;
  line-height:1.65;
}

.permits-grid{
  align-items:start;
}

.permits-copy{
  position:sticky;
  top:100px;
}

.permits-copy h2{
  margin:14px 0 18px;
}

.about-section--dark .permits-copy p{ color:rgba(255,255,255,.72); }

.permits-cards{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
}

.permit-card{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.13);
  box-shadow:none;
}

.permit-card span{
  background:var(--red);
}

.permit-card p{ color:rgba(255,255,255,.68); }

.permit-card--document{
  border-style:dashed;
}

.permit-card.is-active{
  border-color:rgba(226,28,33,.78);
  background:rgba(226,28,33,.12);
}

.work-card{
  border-left:4px solid var(--red);
  min-height:250px;
}

.about-check-list{
  list-style:none;
  display:grid;
  gap:12px;
  margin-top:22px;
}

.about-check-list li{
  display:flex;
  gap:12px;
  align-items:flex-start;
  color:#404040;
  line-height:1.65;
}

.about-check-list li::before{
  content:"✓";
  display:grid;
  place-items:center;
  width:22px;
  height:22px;
  flex:0 0 22px;
  border-radius:50%;
  background:rgba(226,28,33,.10);
  color:var(--red);
  font-weight:800;
  font-size:12px;
  margin-top:2px;
}

.commitment-aside{
  background:#111;
  color:#fff;
  border-color:#111;
}

.commitment-aside h3{
  color:#fff;
  margin-bottom:18px;
}

.values-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:28px;
}

.values-list span{
  display:inline-flex;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.86);
  border-radius:999px;
  padding:10px 13px;
  font-size:13px;
  font-weight:700;
}

.about-section--cta{
  background:#f5f5f5;
  padding-top:0;
}

.about-cta-band{
  background:#111;
  color:#fff;
  border-radius:22px;
  padding:clamp(32px, 5vw, 56px);
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:28px;
  align-items:center;
  position:relative;
  overflow:hidden;
}

.about-cta-band::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 90% 20%, rgba(226,28,33,.32), transparent 38%);
}

.about-cta-band > *{ position:relative; z-index:1; }
.about-cta-band h2{ color:#fff; margin:14px 0 12px; }
.about-cta-band p{ color:rgba(255,255,255,.72); line-height:1.75; max-width:760px; }

[data-reveal]{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .7s ease, transform .7s ease;
}
[data-reveal].is-in{
  opacity:1;
  transform:translateY(0);
}

@media (max-width: 1100px){
  .about-hero__grid,
  .about-company-grid,
  .ceo-grid,
  .permits-grid,
  .client-commitment-grid,
  .about-section-head{
    grid-template-columns:1fr;
  }

  .about-hero__card{
    max-width:560px;
  }

  .mission-grid,
  .work-method-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .permits-copy{
    position:relative;
    top:auto;
  }
}

@media (max-width: 720px){
  .about-hero{
    min-height:auto;
    padding:calc(var(--header-h) + 58px) 0 70px;
  }

  .about-hero__grid{
    gap:32px;
  }

  .breadcrumb{
    font-size:10px;
    flex-wrap:wrap;
  }

  .about-hero__actions .btn,
  .about-cta-band .btn{
    width:100%;
    justify-content:center;
  }

  .about-hero__card,
  .about-copy-card,
  .commitment-panel,
  .commitment-aside,
  .ceo-content,
  .mission-card,
  .work-card,
  .permit-card{
    padding:22px;
  }

  .about-mini-stats,
  .mission-grid,
  .work-method-grid,
  .permits-cards{
    grid-template-columns:1fr;
  }

  .ceo-photo-frame,
  .ceo-photo-frame img{
    min-height:420px;
  }

  .about-cta-band{
    grid-template-columns:1fr;
  }
}
