.container{width:min(1180px,calc(100% - 32px));margin:0 auto}
.site-header{position:sticky;top:0;z-index:100;box-shadow:0 10px 30px rgba(7,19,35,.08)}
.top-bar{background:var(--nb-blue);color:var(--nb-white);font-size:13px}
.top-bar__inner{display:flex;gap:18px;align-items:center;justify-content:flex-end;min-height:34px;flex-wrap:wrap}
.top-bar a{text-decoration:none;color:#fff;opacity:.95}
.main-nav{background:#fff;border-bottom:1px solid rgba(11,31,77,.08)}
.nav-inner{min-height:96px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:inline-flex;align-items:center;text-decoration:none;color:var(--nb-blue);max-width:360px}
.brand img,.custom-logo,.custom-logo-link img,.default-logo{display:block;max-height:72px;width:auto}
.primary-menu ul{list-style:none;display:flex;gap:8px;align-items:center;margin:0;padding:0}
.primary-menu a{display:inline-block;padding:12px 14px;color:var(--nb-blue);font-weight:700;text-decoration:none;border-radius:999px}
.primary-menu a:hover,.primary-menu .current-menu-item a{color:var(--nb-red)}
.menu-toggle{display:none;border:0;background:var(--nb-blue);color:#fff;padding:10px 13px;border-radius:10px;font-size:20px}
.hero-section{position:relative;color:#fff;overflow:hidden;background:linear-gradient(90deg,rgba(8,27,68,.96) 0%,rgba(8,27,68,.94) 42%,rgba(8,27,68,.25) 70%,rgba(8,27,68,.1) 100%)}
.hero-bg{position:absolute;inset:0;background-image:linear-gradient(90deg,rgba(7,19,35,.9) 0%,rgba(7,19,35,.75) 45%,rgba(7,19,35,.1) 70%,rgba(7,19,35,0) 100%),url('../img/hero-security-team.png');background-size:cover;background-position:center right}
.hero-grid{position:relative;min-height:680px;display:flex;align-items:center;padding:70px 0 50px}
.hero-copy{max-width:610px;padding:12px 0}
.eyebrow{display:inline-block;font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:#c8d8ff;font-weight:800;margin-bottom:12px}
.eyebrow.red{color:var(--nb-red)}
.hero-copy h1{font-size:clamp(42px,6vw,72px);line-height:.96;margin:0 0 20px;font-weight:300;text-transform:uppercase}
.hero-copy h1 strong{font-weight:900;display:block}
.hero-copy p{font-size:19px;line-height:1.7;color:rgba(255,255,255,.92);max-width:620px}
.hero-actions,.contact-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:26px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border-radius:10px;text-decoration:none;font-weight:800;transition:transform .2s ease, box-shadow .2s ease, background .2s ease}
.btn:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(0,0,0,.18)}
.btn-red{background:var(--nb-red);color:#fff}
.btn-red:hover{background:var(--nb-red-dark)}
.btn-blue{background:var(--nb-blue);color:#fff}
.btn-outline{border:1px solid rgba(255,255,255,.55);color:#fff;background:transparent}
.hero-features{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:34px}
.hero-features div{display:grid;gap:6px;align-content:start}
.hero-features strong{display:block;color:#fff;font-size:18px}
.hero-features span{color:rgba(255,255,255,.85);line-height:1.55;font-size:15px}
.section-title{text-align:center;max-width:780px;margin:0 auto 42px}
.section-title h2,.about-copy h2,.why-panel h2,.contact-panel h2{font-size:clamp(32px,4vw,52px);line-height:1.05;margin:0 0 18px;color:var(--nb-blue)}
.section-title p,.about-copy p,.why-item p,.contact-panel p,.contact-list li{color:var(--nb-gray);line-height:1.75;font-size:17px}
.services-section,.about-section,.why-section{padding:84px 0}
.services-section{background:var(--nb-light)}
.cards-grid{display:grid;gap:20px}
.cards-grid.five-cols{grid-template-columns:repeat(5,1fr)}
.service-card{background:#fff;padding:26px 22px;border-radius:18px;box-shadow:0 12px 32px rgba(11,31,77,.08);border:1px solid rgba(11,31,77,.08);text-align:center;transition:transform .2s ease}
.service-card:hover{transform:translateY(-5px)}
.service-icon{display:grid;place-items:center;width:72px;height:72px;border-radius:999px;margin:0 auto 16px;border:1px solid rgba(11,31,77,.1);font-size:30px;background:#f8faff}
.service-card h3{color:var(--nb-blue);font-size:26px;margin:8px 0 12px}
.service-card p{color:var(--nb-gray);line-height:1.65;font-size:16px}
.split-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}
.about-copy .text-link{color:var(--nb-red);font-weight:800;text-decoration:none}
.visual-card{border-radius:28px;padding:36px;min-height:460px;display:flex;flex-direction:column;justify-content:flex-end;color:#fff;box-shadow:0 20px 60px rgba(11,31,77,.18)}
.image-card{background-image:linear-gradient(180deg,rgba(7,19,35,.05) 0%,rgba(7,19,35,.75) 65%,rgba(7,19,35,.92) 100%),url('../img/control-room.png');background-size:cover;background-position:center}
.badge{display:inline-flex;width:fit-content;background:#fff;color:var(--nb-red);border-radius:999px;padding:8px 14px;font-size:12px;font-weight:900;letter-spacing:.12em;margin-bottom:16px}
.visual-card h3{font-size:34px;margin:0 0 12px}.visual-card p{color:rgba(255,255,255,.88)}
.why-section{background:#fff}
.why-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:0;background:#fff;border-radius:28px;overflow:hidden;box-shadow:0 20px 60px rgba(11,31,77,.09)}
.why-panel{background:linear-gradient(180deg,rgba(8,27,68,.96),rgba(8,27,68,.92)),url('../img/hero-security-team.png');background-size:cover;background-position:center;padding:48px;color:#fff}
.why-panel h2,.why-panel .eyebrow{color:#fff}.why-panel .eyebrow{opacity:.85}
.why-items{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;margin-top:28px}
.why-item{padding:18px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:rgba(255,255,255,.06)}
.why-item h3{margin:0 0 8px;font-size:22px;color:#fff}.why-item p{color:rgba(255,255,255,.82);font-size:15px;line-height:1.6;margin:0}
.contact-panel{padding:48px;background:#fff}
.contact-list{list-style:none;padding:0;margin:18px 0 0;display:grid;gap:14px}
.site-footer{background:#06101f;color:#fff}
.footer-grid{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:32px;padding:52px 0;align-items:start}
.footer-logo{max-width:300px;margin-bottom:12px}
.site-footer h3,.site-footer h4{margin-top:0}.site-footer p,.site-footer a{color:rgba(255,255,255,.8)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:18px 0;color:rgba(255,255,255,.65);font-size:14px}
.content-area{padding:70px 0}.page-card,.post-card{max-width:900px;margin:0 auto}.entry-content{line-height:1.75}
@media (max-width:1080px){.cards-grid.five-cols{grid-template-columns:repeat(3,1fr)}.hero-features{grid-template-columns:1fr}.hero-copy{max-width:560px}.why-items{grid-template-columns:1fr}}
@media (max-width:900px){.menu-toggle{display:inline-flex}.primary-menu{display:none;position:absolute;left:16px;right:16px;top:120px;background:#fff;border-radius:20px;padding:12px;box-shadow:0 20px 60px rgba(0,0,0,.15)}.primary-menu.is-open{display:block}.primary-menu ul{flex-direction:column;align-items:stretch}.split-grid,.why-grid,.footer-grid{grid-template-columns:1fr}.hero-grid{min-height:inherit;padding:58px 0 36px}.hero-copy h1{font-size:44px}.cards-grid.five-cols{grid-template-columns:1fr 1fr}.top-bar__inner{justify-content:center}.brand img,.custom-logo,.custom-logo-link img,.default-logo{max-height:58px}}
@media (max-width:640px){.cards-grid.five-cols,.why-items{grid-template-columns:1fr}.hero-copy p,.section-title p,.about-copy p,.contact-list li{font-size:16px}.section-title h2,.about-copy h2,.why-panel h2,.contact-panel h2{font-size:32px}.contact-panel,.why-panel,.visual-card{padding:28px}.top-bar{display:none}.nav-inner{min-height:82px}}


.clients-section{padding:84px 0;background:#fff}
.client-logo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;align-items:center}
.client-logo-card{min-height:150px;background:#fff;border:1px solid rgba(11,31,77,.10);border-radius:22px;display:flex;align-items:center;justify-content:center;padding:24px;box-shadow:0 12px 34px rgba(11,31,77,.07);transition:transform .2s ease, box-shadow .2s ease}
.client-logo-card:hover{transform:translateY(-4px);box-shadow:0 18px 44px rgba(11,31,77,.12)}
.client-logo-card img{max-width:100%;max-height:110px;object-fit:contain}
.center-action{text-align:center;margin-top:32px}
.page-hero{background:linear-gradient(110deg,rgba(7,19,35,.96),rgba(11,31,77,.92)),url('../img/hero-security-team.png');background-size:cover;background-position:center;color:#fff}
.compact-hero{padding:90px 0}
.page-hero h1{font-size:clamp(42px,6vw,72px);line-height:1;margin:0 0 16px}
.page-hero p{max-width:720px;color:rgba(255,255,255,.84);font-size:19px;line-height:1.7}
.three-cols{grid-template-columns:repeat(3,1fr)}
.trust-strip{margin-top:42px;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.trust-strip div{background:var(--nb-light);border-left:6px solid var(--nb-red);border-radius:18px;padding:22px}
.trust-strip strong{display:block;color:var(--nb-blue);font-size:20px;margin-bottom:8px}
.trust-strip span{color:var(--nb-gray);line-height:1.6}
.cv-section{padding:84px 0;background:var(--nb-light)}
.cv-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:42px;align-items:start}
.cv-info h2{font-size:42px;line-height:1.05;color:var(--nb-blue);margin-top:0}
.cv-info p{color:var(--nb-gray);font-size:17px;line-height:1.75}
.requirements-box{background:#fff;border-radius:22px;padding:28px;border-left:6px solid var(--nb-red);box-shadow:0 12px 34px rgba(11,31,77,.07)}
.requirements-box h3{margin-top:0;color:var(--nb-blue)}
.requirements-box li{margin-bottom:10px;color:var(--nb-gray);line-height:1.6}
.cv-form-card{background:#fff;border-radius:26px;padding:32px;box-shadow:0 18px 48px rgba(11,31,77,.10)}
.cv-form{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.cv-form label{display:grid;gap:8px;color:var(--nb-blue);font-weight:700}
.cv-form label:nth-child(n+8){grid-column:1/-1}
.cv-form input,.cv-form select,.cv-form textarea{width:100%;box-sizing:border-box;border:1px solid rgba(11,31,77,.18);border-radius:12px;padding:13px 14px;font:inherit;color:var(--nb-dark);background:#fff}
.cv-form textarea{resize:vertical}
.cv-form button{border:0;cursor:pointer;width:fit-content}
.form-notice{padding:14px 16px;border-radius:14px;margin-bottom:18px;font-weight:700}
.form-success{background:#e8f7ef;color:#176b3a}
.form-error{background:#fdecec;color:#9b111e}
@media (max-width:900px){.client-logo-grid,.three-cols,.trust-strip,.cv-grid{grid-template-columns:1fr}.cv-form{grid-template-columns:1fr}.compact-hero{padding:70px 0}}


/* =========================================================
   OPTIMIZACIÓN RESPONSIVE PARA MÓVILES Y TABLETS
   ========================================================= */

/* Mejor comportamiento general en pantallas pequeñas */
* { box-sizing: border-box; }
html, body { overflow-x: hidden; }

/* Tablets */
@media (max-width: 1024px) {
  .container {
    width: min(100% - 28px, 960px);
  }

  .nav-inner {
    min-height: 86px;
  }

  .brand {
    max-width: 260px;
  }

  .brand img,
  .custom-logo,
  .custom-logo-link img,
  .default-logo {
    max-height: 62px;
    max-width: 250px;
    object-fit: contain;
  }

  .hero-grid {
    min-height: 560px;
  }

  .hero-copy {
    max-width: 560px;
  }

  .hero-copy h1 {
    font-size: clamp(38px, 7vw, 58px);
  }

  .hero-features {
    grid-template-columns: 1fr;
    max-width: 430px;
  }

  .cards-grid.five-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Celulares */
@media (max-width: 768px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .top-bar {
    display: none;
  }

  .nav-inner {
    min-height: 78px;
    padding: 8px 0;
  }

  .brand {
    max-width: 210px;
  }

  .brand img,
  .custom-logo,
  .custom-logo-link img,
  .default-logo {
    max-height: 54px;
    max-width: 210px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }

  .primary-menu {
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: 84px;
    background: #ffffff;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 20px 60px rgba(7,19,35,.18);
    z-index: 999;
  }

  .primary-menu.is-open {
    display: block;
  }

  .primary-menu ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .primary-menu a {
    display: block;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f4f7fb;
  }

  .hero-section {
    background: #071323;
  }

  .hero-bg {
    background-image:
      linear-gradient(180deg, rgba(7,19,35,.88) 0%, rgba(7,19,35,.86) 55%, rgba(7,19,35,.96) 100%),
      url('../img/hero-security-team.png');
    background-position: center top;
  }

  .hero-grid {
    min-height: auto;
    padding: 72px 0 48px;
    align-items: flex-end;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 11vw, 46px);
    line-height: 1.02;
    margin-bottom: 16px;
  }

  .hero-copy p {
    font-size: 17px;
    line-height: 1.6;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
    min-height: 50px;
    border-radius: 12px;
  }

  .hero-features {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
  }

  .hero-features div {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    padding: 14px;
  }

  .services-section,
  .about-section,
  .why-section,
  .clients-section,
  .cv-section {
    padding: 58px 0;
  }

  .section-title {
    margin-bottom: 30px;
  }

  .section-title h2,
  .about-copy h2,
  .why-panel h2,
  .contact-panel h2,
  .cv-info h2 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .section-title p,
  .about-copy p,
  .contact-panel p,
  .cv-info p {
    font-size: 16px;
  }

  .cards-grid.five-cols,
  .cards-grid.three-cols,
  .split-grid,
  .why-grid,
  .cv-grid,
  .footer-grid,
  .trust-strip,
  .client-logo-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 24px 20px;
  }

  .service-card h3 {
    font-size: 22px;
  }

  .visual-card {
    min-height: 360px;
    padding: 26px;
  }

  .visual-card h3 {
    font-size: 28px;
  }

  .why-panel,
  .contact-panel,
  .cv-form-card,
  .requirements-box,
  .contact-card {
    padding: 26px;
  }

  .why-items {
    grid-template-columns: 1fr;
  }

  .client-logo-card {
    min-height: 120px;
    padding: 22px;
  }

  .client-logo-card img {
    max-height: 82px;
  }

  .page-hero h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .page-hero p {
    font-size: 17px;
  }

  .compact-hero {
    padding: 68px 0;
  }

  .cv-form {
    grid-template-columns: 1fr;
  }

  .cv-form label {
    grid-column: 1 / -1;
  }

  .footer-logo {
    max-width: 230px;
  }

  .site-footer {
    text-align: left;
  }
}

/* Celulares pequeños */
@media (max-width: 420px) {
  .container {
    width: calc(100% - 24px);
  }

  .brand {
    max-width: 185px;
  }

  .brand img,
  .custom-logo,
  .custom-logo-link img,
  .default-logo {
    max-height: 48px;
    max-width: 185px;
  }

  .hero-grid {
    padding: 58px 0 40px;
  }

  .hero-copy h1 {
    font-size: 33px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: .13em;
  }

  .service-icon {
    width: 62px;
    height: 62px;
    font-size: 26px;
  }

  .client-logo-card img {
    max-height: 70px;
  }

  .cv-form-card,
  .why-panel,
  .contact-panel,
  .requirements-box,
  .visual-card,
  .contact-card {
    padding: 22px;
    border-radius: 20px;
  }
}
