/* ===========================
   CONDUSECURE — NOSOTROS CSS
   =========================== */

/* ---- kicker light variant ---- */
.kicker {
  display: inline-block;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}
.kicker--light { color: rgba(255,255,255,.75); }

.h2 {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.08;
  margin: 0 0 12px;
  color: #0f172a;
}

.lead {
  font-size: 16px;
  color: #334155;
  line-height: 1.65;
  max-width: 58ch;
  margin: 0 0 24px;
}

.section {
  padding: 80px 0;
}

.sectionHead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 42px;
}
.sectionHead__left { max-width: 640px; }

/* ---- BANNER (sin texto superpuesto) ---- */
.bannerHero {
  min-height: clamp(300px, 44vw, 540px);
}
.bannerHero__media {
  min-height: inherit;
}
.bannerHero__img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}
.bannerHero__shade {
  display: none !important;
}
.bannerHero__content {
  display: none !important;
}

/* ---- INTRO ---- */
.ns-intro__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 52px;
  align-items: center;
}

.ns-intro__stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.ns-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ns-stat__num {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  color: var(--brand);
  line-height: 1;
  letter-spacing: -.02em;
}

.ns-stat__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  max-width: 14ch;
  line-height: 1.3;
}

/* Highlight card */
.ns-highlight-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.ns-highlight-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), #ff6b6b, var(--brand));
  background-size: 200% 100%;
  animation: gradientShift 3s linear infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.ns-hc__icon-wrap {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: rgba(215,38,27,.08);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  transition: background .3s ease;
}
.ns-hc__icon-wrap:hover { background: rgba(215,38,27,.14); }

.ns-hc__svg {
  width: 36px; height: 36px;
  color: var(--brand);
  animation: rotateSteer 8s linear infinite;
}
@keyframes rotateSteer {
  0% { transform: rotate(0deg); }
  20% { transform: rotate(-15deg); }
  40% { transform: rotate(15deg); }
  60% { transform: rotate(-8deg); }
  80% { transform: rotate(8deg); }
  100% { transform: rotate(0deg); }
}

.ns-highlight-card h3 {
  font-weight: 900;
  font-size: 20px;
  margin: 0 0 12px;
  color: #0f172a;
}
.ns-highlight-card p {
  color: #475569;
  line-height: 1.65;
  font-size: 15px;
  margin: 0 0 20px;
}

.ns-hc__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ns-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(215,38,27,.07);
  border: 1px solid rgba(215,38,27,.14);
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
}

/* ---- PILLARS ---- */
.ns-pillars {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}
.ns-pillars__bg {
  position: absolute;
  inset: 0;
  background: #0b0b0b;
  background-image:
    radial-gradient(900px 600px at 10% 30%, rgba(215,38,27,.22), transparent 60%),
    radial-gradient(700px 500px at 90% 70%, rgba(215,38,27,.12), transparent 60%);
}
.ns-pillars__inner { position: relative; }

.ns-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ns-pillar {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
  animation-delay: var(--delay, 0s);
}
.ns-pillar:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(215,38,27,.35);
  transform: translateY(-4px);
}

.ns-pillar__icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: rgba(215,38,27,.15);
  border: 1px solid rgba(215,38,27,.22);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  transition: background .3s ease, transform .3s ease;
}
.ns-pillar:hover .ns-pillar__icon {
  background: rgba(215,38,27,.25);
  transform: scale(1.08) rotate(-3deg);
}
.ns-pillar__icon svg {
  width: 28px; height: 28px;
  color: #ff8080;
  transition: color .3s ease;
}
.ns-pillar:hover .ns-pillar__icon svg { color: #fff; }

.ns-pillar h3 {
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  margin: 0 0 8px;
}
.ns-pillar p {
  font-size: 14px;
  color: rgba(255,255,255,.68);
  line-height: 1.6;
  margin: 0;
}

/* ---- MISIÓN Y VISIÓN ---- */
.ns-mv__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.ns-mv__card {
  border-radius: var(--radius2);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ns-mv__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.ns-mv__card--mision {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
}
.ns-mv__card--mision::after {
  content: "";
  position: absolute;
  bottom: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(215,38,27,.06);
  pointer-events: none;
  transition: transform .5s ease;
}
.ns-mv__card--mision:hover::after { transform: scale(1.2); }

.ns-mv__card--vision {
  background: linear-gradient(135deg, #0b0b0b, #1a1a1a);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.ns-mv__card--vision .ns-mv__label {
  color: #ff3b30;
  text-shadow: 0 1px 0 rgba(0,0,0,.35);
  opacity: 1;
}
.ns-mv__card--vision h3,
.ns-mv__card--vision p { color: rgba(255,255,255,.9); }
.ns-mv__card--vision p { color: rgba(255,255,255,.7); }

.ns-mv__icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  animation: iconPulse 3s ease-in-out infinite;
}
@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.ns-mv__card--mision .ns-mv__icon {
  background: rgba(215,38,27,.10);
  border: 1px solid rgba(215,38,27,.16);
}
.ns-mv__card--vision .ns-mv__icon {
  background: rgba(215,38,27,.18);
  border: 1px solid rgba(215,38,27,.25);
}
.ns-mv__icon svg {
  width: 36px; height: 36px;
  color: var(--brand);
}

.ns-mv__label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}
.ns-mv__card h3 {
  font-weight: 900;
  font-size: clamp(18px, 1.8vw, 22px);
  margin: 0 0 14px;
  line-height: 1.2;
  color: #0f172a;
}
.ns-mv__card p {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}

/* ---- VALORES ---- */
.ns-values {
  padding: 80px 0;
  background: var(--soft);
}

.ns-values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ns-value {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  animation-delay: var(--delay, 0s);
}
.ns-value:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow2);
  border-color: rgba(215,38,27,.20);
}

.ns-value__icon {
  width: 60px; height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  transition: transform .35s ease;
}
.ns-value:hover .ns-value__icon { transform: rotate(10deg) scale(1.1); }

.ns-value__icon svg {
  width: 28px; height: 28px;
  transition: color .35s ease;
}

/* Colorful icons with animation */
.ns-value__icon--1 {
  background: rgba(215,38,27,.10);
  border: 1px solid rgba(215,38,27,.18);
  animation: colorCycle1 5s ease-in-out infinite;
}
.ns-value__icon--1 svg { color: #d7261b; }

.ns-value__icon--2 {
  background: rgba(59,130,246,.10);
  border: 1px solid rgba(59,130,246,.18);
  animation: colorCycle2 5s ease-in-out infinite;
}
.ns-value__icon--2 svg { color: #3b82f6; }

.ns-value__icon--3 {
  background: rgba(16,185,129,.10);
  border: 1px solid rgba(16,185,129,.18);
  animation: colorCycle3 5s ease-in-out infinite;
}
.ns-value__icon--3 svg { color: #10b981; }

.ns-value__icon--4 {
  background: rgba(245,158,11,.10);
  border: 1px solid rgba(245,158,11,.18);
  animation: colorCycle4 5s ease-in-out infinite;
}
.ns-value__icon--4 svg { color: #f59e0b; }

@keyframes colorCycle1 {
  0%, 100% { background: rgba(215,38,27,.10); border-color: rgba(215,38,27,.18); }
  50% { background: rgba(215,38,27,.18); border-color: rgba(215,38,27,.30); box-shadow: 0 0 22px rgba(215,38,27,.25); }
}
@keyframes colorCycle2 {
  0%, 100% { background: rgba(59,130,246,.10); border-color: rgba(59,130,246,.18); }
  50% { background: rgba(59,130,246,.18); border-color: rgba(59,130,246,.30); box-shadow: 0 0 22px rgba(59,130,246,.25); }
}
@keyframes colorCycle3 {
  0%, 100% { background: rgba(16,185,129,.10); border-color: rgba(16,185,129,.18); }
  50% { background: rgba(16,185,129,.18); border-color: rgba(16,185,129,.30); box-shadow: 0 0 22px rgba(16,185,129,.25); }
}
@keyframes colorCycle4 {
  0%, 100% { background: rgba(245,158,11,.10); border-color: rgba(245,158,11,.18); }
  50% { background: rgba(245,158,11,.18); border-color: rgba(245,158,11,.30); box-shadow: 0 0 22px rgba(245,158,11,.25); }
}

.ns-value h4 {
  font-weight: 900;
  font-size: 16px;
  color: #0f172a;
  margin: 0 0 8px;
}
.ns-value p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* CTA Final (inherited from home.css, extra dark bg) */
.ctaFinal {
  position: relative;
  background: linear-gradient(135deg, #0b0b0b 0%, #1a0606 100%);
  overflow: hidden;
}
.ctaFinal__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  opacity: .5;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.ctaFinal__inner {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 40px;
  align-items: center;
  padding: 72px 0;
}
.ctaFinal__left h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 900;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -.02em;
}
.ctaFinal__left p {
  color: rgba(255,255,255,.78);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 24px;
}
.ctaFinal__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.ctaCard {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius2);
  padding: 24px 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
.ctaCard__top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.ctaCard__mid {
  display: grid;
  gap: 14px;
  margin: 18px 0 22px;
}
.ctaCard__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,.85);
  font-size: 14px;
}
.ctaCard__rowText a { color: inherit; }
.ctaCard__rowText a:hover { color: #fff; }

/* Footer from home.css — reusing */
.footer {
  background: #0b0b0b;
  color: rgba(255,255,255,.88);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 40px;
  padding: 50px 0;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1000px) {
  .ns-intro__grid { grid-template-columns: 1fr; gap: 32px; }
  .ns-pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .ns-mv__grid { grid-template-columns: 1fr; }
  .ns-values__grid { grid-template-columns: repeat(2, 1fr); }
  .ctaFinal__inner { grid-template-columns: 1fr; padding: 48px 0; gap: 28px; }
}
@media (max-width: 580px) {
  .ns-pillars__grid { grid-template-columns: 1fr; }
  .ns-values__grid { grid-template-columns: 1fr; }
  .ns-intro__stats { gap: 18px; }
  .ns-mv__card { padding: 28px 20px; }
}
