﻿:root{
  --blue-1:#132D46;
  --blue-2:#204788;
  --gray:#6A6E79;

  --bg:#ffffff;
  --soft:#f3f5f7;
  --text:#0f172a;

  --radius:18px;
  --shadow:0 10px 25px rgba(0,0,0,.08);

  --font:"Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --h2-size: clamp(1.6rem, 2.8vw, 2.3rem);

  /* Navbar height (ajustable en responsive) */
  --nav-h: 90px;
  --pad-x: clamp(14px, 4vw, 50px);
}

*,
*::before,
*::after{ box-sizing:border-box; }

html{
  scroll-behavior:smooth;
  scroll-padding-top: var(--nav-h);
}

html, body{
  margin:0; padding:0;
  overflow-x:hidden;
  max-width:100%;
}

body{
  font-family:var(--font);
  background:var(--bg);
  color:var(--text);
  line-height:1.5;
}

body.menu-open{
  overflow:hidden;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; height:auto; display:block; }
.visually-hidden{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

i.bx, .bx,
i.bx::before, .bx::before,
i.bx::after, .bx::after{
  font-family:"boxicons";
  font-style:normal;
  font-weight:normal;
  speak:none;
  line-height:1;
}

.container{
  width:min(1120px, 92%);
  margin:0 auto;
}

.small{ color:var(--gray); font-size:.95rem; }

/* =========================
   NAVBAR
========================= */
.navbar{
  position:absolute;
  top:0; left:0;
  width:100%;
  max-width:100vw;
  overflow: visible;

  display:flex;
  justify-content:space-between;
  align-items:center;

  min-height:var(--nav-h);
  padding:22px var(--pad-x);
  z-index:1000;

  /* look "hero" */
  background: transparent;
}

/* Links desktop */
.nav-links{
  display:flex;
  align-items:center;
  gap:25px;
}
.nav-links li{
  list-style:none;
  position:relative;
  display:flex;
  align-items:center;
  height:100%;
}
.nav-item--dropdown{ position:relative; }

.nav-links li a{
  color:#fff;
  font-size:16px;
  font-weight:500;
  transition: opacity .25s ease;
  display:inline-flex;
  align-items:center;
  gap:6px;
  position:relative;
  padding:10px 0;
  line-height:1;
  opacity:.95;
}
.nav-links li a:hover{ opacity:.8; }
.nav-links li a i{
  font-size:18px;
  line-height:1;
  transform: translateY(1px);
}
.nav-dropdown__icon{
  font-size:15px;
  opacity:.7;
  transform: translateY(1px);
}

.nav-item--dropdown > a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:100%;
  height:10px;
}

.nav-item--dropdown .dropdown-menu{
  position:absolute;
  top:100%;
  left:0;
  margin-top:6px;
  min-width:240px;
  background:#fff;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow);
  padding:10px;
  opacity:0;
  transform:translateY(8px);
  pointer-events:none;
  transition: opacity .2s ease, transform .2s ease;
  z-index:1100;
}
.nav-item--dropdown:hover .dropdown-menu,
.nav-item--dropdown:focus-within .dropdown-menu{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}
.nav-item--dropdown.is-open .dropdown-menu{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}
.nav-item--dropdown .dropdown-menu a{
  display:block;
  padding:8px 10px;
  border-radius:10px;
  color: var(--blue-1);
  font-weight:600;
}
.nav-item--dropdown .dropdown-menu a:hover{
  background: rgba(19,45,70,.06);
  color: var(--blue-2);
}

.dropdown-menu--stack{
  min-width:260px;
  padding:12px;
}
.dropdown-submenu{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.dropdown-submenu__trigger{
  width:100%;
  border:none;
  background:transparent;
  color: var(--blue-1);
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:8px 10px;
  border-radius:10px;
  cursor:pointer;
}
.dropdown-submenu__trigger:hover{
  background: rgba(19,45,70,.06);
  color: var(--blue-2);
}
.dropdown-submenu__icon{
  font-size:14px;
  opacity:.75;
}
.dropdown-submenu__menu{
  display:none;
  padding-left:10px;
}
.dropdown-submenu__menu a{
  padding:6px 10px;
  font-weight:600;
}
.dropdown-submenu.is-open .dropdown-submenu__menu{
  display:block;
}

.slidebar .nav-item--dropdown > .dropdown-menu{
  position:static;
  margin-top:6px;
  min-width:0;
  padding:6px 0 0;
  background:transparent;
  border:none;
  box-shadow:none;
  display:none;
}
.slidebar .nav-item--dropdown.is-open > .dropdown-menu{
  display:block;
}
.slidebar .nav-subitem{
  display:flex;
  flex-direction:column;
}
.slidebar .nav-subitem__row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0;
  width:100%;
  position:relative;
  cursor:pointer;
}
.slidebar .nav-subitem__label{
  display:block;
  flex:1;
  padding:10px 36px;
  font-weight:700;
  font-size:.7rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#dbe3f1;
  text-align:center;
}
.slidebar .nav-subitem__toggle{
  width:28px;
  height:28px;
  border-radius:6px;
  border:none;
  background:transparent;
  color:#f1f1f1;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: background .2s ease, color .2s ease;
  position:absolute;
  right:12px;
}
.slidebar .nav-subitem__toggle:hover{
  background: rgba(255,255,255,.12);
  color:#fff;
}
.slidebar .nav-subitem--dropdown > .dropdown-menu{
  display:none;
  position:static;
  width:100%;
  margin-top:4px;
  padding:6px 0 0;
  background:transparent;
  border:none;
  box-shadow:none;
  opacity:1;
  transform:none;
  pointer-events:auto;
}
.slidebar .nav-subitem--dropdown.is-open > .dropdown-menu{
  display:block;
}
.slidebar .nav-item__row .nav-dropdown__icon,
.slidebar .nav-subitem__row .nav-dropdown__icon{
  transition: transform .2s ease;
  transform: rotate(-90deg);
}
.slidebar .nav-item--dropdown.is-open > .nav-item__row .nav-dropdown__icon{
  transform: rotate(0deg);
}
.slidebar .nav-subitem--dropdown.is-open > .nav-subitem__row .nav-dropdown__icon{
  transform: rotate(0deg);
}
.slidebar .dropdown-menu a{
  padding:8px 12px;
  font-weight:600;
}


/* CTA + logo mobile */
.nav-cta{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.hire-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  background: rgba(255,255,255,.12);
  color:#fff;

  padding:10px 14px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:10px;

  font-size:16px;
  font-weight:600;
  cursor:pointer;

  transition: background .25s ease, border-color .25s ease, transform .2s ease;
}
.hire-btn:hover{
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.28);
  transform: translateY(-1px);
}

.menu-icon{
  display:none;
  font-size:2rem;
  color:#fff;
  cursor:pointer;
  background:transparent;
  border:none;
  flex: 0 0 auto;
}

/* =========================
   OVERLAY + SLIDEBAR (oscuro)
========================= */
.page-overlay{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.55);
  opacity:0;
  pointer-events:none;
  transition: opacity .25s ease;
  z-index:1200;
}
.page-overlay.active{
  opacity:1;
  pointer-events:auto;
}

.slidebar{
  position:fixed;
  top:0; right:0;
  width:70%;
  height:100%;

  background: var(--gray);
  color:#f1f1f1;
  padding:26px 22px 28px;

  display:flex;
  flex-direction:column;
  align-items:center;
  overflow-y:auto;
  -webkit-overflow-scrolling: touch;

  z-index:1300;
  transform: translateX(110%);
  opacity:0;

  transition: transform .6s cubic-bezier(0.25, 1, 0.5, 1), opacity .3s ease;
  box-shadow: -8px 0 26px rgba(0,0,0,.45);
  border-left:1px solid rgba(255,255,255,.12);

  max-width:min(340px, 80vw);
}

.slidebar.active{
  transform: translateX(0);
  opacity:1;
}

.close-icon{
  align-self:center;
  font-size:1.7rem;
  color:#f1f1f1;
  cursor:pointer;
  margin-bottom:22px;
  background:transparent;
  border:none;
}

.slidebar ul{
  list-style:none;
  padding:0;
  margin: 6px 0 0;
  width:100%;
}
.slidebar nav{
  width:100%;
}
.slidebar ul li{
  margin:0;
  text-align:center;
  border-bottom:none;
}
.slidebar nav > ul > li::after{
  content:"";
  display:block;
  width:72%;
  height:1px;
  margin:12px auto 0;
  background: rgba(255,255,255,.28);
}
.slidebar ul li a{
  color:#f1f1f1;
  font-weight:700;
  font-size:.74rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  transition: color .25s ease, background .2s ease;
  display:block;
  padding:10px 36px;
  border-radius:0;
  text-align:center;
}
.slidebar ul li a:hover{
  background: rgba(255,255,255,.08);
  color:#fff;
}

.slidebar .nav-item--dropdown{
  display:flex;
  flex-direction:column;
  align-items:center;
}
.slidebar .nav-item__row{
  display:flex;
  align-items:center;
  gap:0;
  justify-content:center;
  width:100%;
  position:relative;
}
.slidebar .nav-item__row a{
  flex:1;
  text-align:center;
  padding:10px 36px;
}
.slidebar .nav-dropdown__toggle{
  width:24px;
  height:24px;
  border-radius:6px;
  border:none;
  background:transparent;
  color:#f1f1f1;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: background .2s ease, color .2s ease;
  position:absolute;
  right:12px;
}
.slidebar .nav-dropdown__toggle:hover{
  background: rgba(255,255,255,.1);
  color:#fff;
}
.slidebar .nav-item--dropdown > .dropdown-menu{
  width:100%;
}
.slidebar .nav-item--dropdown .dropdown-menu a{
  padding:10px 6px;
  font-weight:600;
  font-size:.68rem;
  letter-spacing:.07em;
  text-transform:uppercase;
  color:#d9d9d9;
  border-bottom:none;
  text-align:center;
}
.slidebar .nav-item--dropdown.is-open > .dropdown-menu{
  margin-top:4px;
}
.slidebar .nav-item--dropdown .dropdown-menu a:hover{
  background: rgba(255,255,255,.08);
  color:#fff;
}


/* =========================
   HERO
========================= */
#inicio .hero{
  position:relative;
  overflow:hidden;

  background-image:url("../img/heromobile.jpeg");
  background-size:cover;
  background-position:50% 50%;
  background-repeat:no-repeat;

  min-height:100vh;

  padding: calc(var(--nav-h) + 34px) var(--pad-x) 24px;

  max-width:100vw;
  pointer-events:none;
}

#inicio{
  position:relative;
  z-index:0;
}

#inicio .hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      180deg,
      rgba(5,12,22,.22) 0%,
      rgba(5,12,22,.08) 30%,
      rgba(5,12,22,.08) 72%,
      rgba(5,12,22,.14) 100%
    );
  pointer-events:none;
}

/* =========================
   SECTIONS
========================= */
.section{
  padding:90px 0;
  background: var(--bg);
  border-top:1px solid rgba(0,0,0,.06);
}
.section--soft{ background: var(--soft); }

.section__head{
  text-align:center;
  margin-bottom:28px;
}
.section__head h2{
  margin:0;
  font-size:var(--h2-size);
  color: var(--blue-1);
}
.section__head p{
  margin:10px auto 0;
  color: var(--gray);
  max-width:720px;
}

/* ABOUT */
.about{
  padding:90px 0;
  border-top:1px solid rgba(0,0,0,.06);
  background: var(--soft);
}

.about__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:26px;
  align-items:center;
}

.about__media{
  height:100%;
  display:flex;
}
.about__media img{
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  height:100%;
  min-height:360px;
  width:100%;
  object-fit:cover;
}


.about__text{
  display:flex;
  flex-direction:column;
  justify-content:center;
}


.about__text h2{ margin:0; color:var(--blue-1); font-size:var(--h2-size); }
.about__text h3{ margin:10px 0; color:var(--blue-2); }
.about__text p{ color:var(--gray); margin:0 0 14px; font-size:1.05rem; line-height:1.65; }

.team-card{
  background:#fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border:1px solid rgba(0,0,0,.06);
  display:flex;
  flex-direction:column;
  width:clamp(260px, 34vw, 340px);
  padding:14px;
}
.team-card__media{
  border-radius:14px;
  overflow:hidden;
  height:240px;
  background:#f3f5f7;
  display:flex;
  align-items:center;
  justify-content:center;
}
.team-card__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  border-radius:14px;
}
.team-card__media .team-card__photo--down{
  object-position:center 15%;
}
.team-card__body{
  padding:12px 4px 6px;
  display:flex;
  flex-direction:column;
  gap:6px;
  text-align:center;
  align-items:center;
  flex:1;
}
.team-card__body h4{
  margin:0;
  color: var(--blue-1);
  font-size:1.2rem;
}
.team-card__role{
  margin:0;
  color: var(--blue-2);
  font-weight:600;
  font-size:.95rem;
}
.team-card__meta{
  margin:0 0 6px;
  color: var(--gray);
  font-size:.92rem;
}
.team-card__cv-btn{
  margin-top:auto;
  cursor:pointer;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid rgba(19,45,70,.12);
  background: rgba(19,45,70,.08);
  color: var(--blue-1);
  font-weight:700;
  display:inline-flex;
  align-items:center;
  gap:8px;
  justify-content:center;
  width:auto;
  align-self:center;
}
.team-card__cv-btn:hover{
  background: rgba(19,45,70,.14);
}
/* TEAM SPLIT */
.team-split{
  display:grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap:26px;
  align-items:start;
}
.team-split__text h2{
  margin:0;
  color:var(--blue-1);
  font-size:var(--h2-size);
}
.team-split__subtitle{
  margin:8px 0 18px;
  color:var(--gray);
  font-weight:600;
  font-size:1rem;
  line-height:1.5;
}
.team-split__text p{
  color:var(--gray);
  margin:0 0 14px;
  font-size:1rem;
  line-height:1.5;
}
.team-split__cards{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
  align-items:center;
}
.team-split__cards .team-card{
  width:100%;
}

/* MODAL CV */
.modal{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  pointer-events:none;
  transition: opacity .2s ease;
  z-index:1400;
}
.modal.is-open{
  opacity:1;
  pointer-events:auto;
}
.modal__overlay{
  position:absolute;
  inset:0;
  background: rgba(15, 23, 42, .55);
}
.modal__content{
  position:relative;
  width:min(480px, 92vw);
  max-height:80vh;
  overflow:auto;
  background:#fff;
  border-radius:18px;
  padding:20px 20px 16px;
  box-shadow:0 18px 40px rgba(0,0,0,.22);
  border:1px solid rgba(0,0,0,.08);
  display:flex;
  flex-direction:column;
}
.modal__close{
  position:absolute;
  top:10px;
  right:12px;
  border:none;
  background:transparent;
  font-size:1.4rem;
  cursor:pointer;
  color: var(--blue-1);
}
.modal__content h4{
  margin:0 28px 6px 0;
  color: var(--blue-1);
}
.modal__subtitle{
  margin:0;
  color: var(--blue-2);
  font-weight:600;
}
.modal__meta{
  margin:4px 0 10px;
  color: var(--gray);
}
.modal__body{ margin-top:6px; }
.modal__action{
  margin:14px 0 0;
  width:auto;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid rgba(19,45,70,.12);
  background: rgba(19,45,70,.08);
  color: var(--blue-1);
  font-weight:700;
  cursor:pointer;
  align-self:flex-end;
}
body.modal-open{
  overflow:hidden;
}

/* CARDS */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}
.cards--3{ grid-template-columns: repeat(3, 1fr); }

.services-carousel{
  position:relative;
}

.cards--carousel{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:clamp(240px, 38vw, 320px);
  grid-template-columns:none;
  gap:18px;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  padding:4px 2px 16px;
}
.cards--carousel .card{ scroll-snap-align:start; }

.cards--carousel::-webkit-scrollbar{ height:8px; }
.cards--carousel::-webkit-scrollbar-thumb{
  background:rgba(19,45,70,.28);
  border-radius:999px;
}
.cards--carousel::-webkit-scrollbar-track{
  background:rgba(0,0,0,.05);
  border-radius:999px;
}

.carousel-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:38px;
  height:38px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  color:var(--blue-1);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:var(--shadow);
  transition:transform .2s ease, opacity .2s ease;
  z-index:2;
}
.carousel-btn:hover{ transform:translateY(-50%) scale(1.03); }
.carousel-btn:disabled{
  opacity:.4;
  cursor:not-allowed;
  box-shadow:none;
}
.carousel-btn--prev{ left:-56px; }
.carousel-btn--next{ right:-56px; }

.services-carousel.carousel--static .carousel-btn{ display:none; }

@media (max-width: 980px){
  .carousel-btn{ display:none; }
  .cards--carousel{
    grid-auto-columns:clamp(230px, 70vw, 320px);
  }
  .card__body h3{
    text-align:center;
    font-size:1.15rem;
  }
}

.services__transition{
  margin:32px auto 0;
  text-align:center;
  max-width:860px;
}
.services__transition h2{
  margin:0 0 8px;
  color:var(--blue-1);
  font-weight:700;
  font-size:var(--h2-size);
}
.services__transition p{
  margin:0 0 12px;
  color:var(--gray);
  font-size:1rem;
  line-height:1.5;
}

.card{
  background:#fff;
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow:none;
  border:1px solid rgba(0,0,0,.06);
  transition:.2s ease;
  display:flex;
  flex-direction:column;
  height:100%;
}
.card:hover{ transform: translateY(-4px); }

.card img{ height:170px; width:100%; object-fit:cover; border-radius:12px; }

.card__body{
  padding:16px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.card__body h3{ margin:0 0 6px; color:var(--blue-1); }
.card__body h3 i{
  font-size:22px;
  vertical-align:-3px;
  margin-right:8px;
  color:var(--blue-2);
}
.card__body p{ margin:0 0 8px; color:var(--gray); }
.card__body ul{ margin:0 0 10px; padding-left:18px; }
.card,
.card__body,
.card__body h3,
.card__body p,
.card__body ul,
.card__body li,
.card__body h3 i{
  color:var(--blue-1);
}
.card__body .btn{ margin-top:auto; align-self:center; }

#servicios .card__body{
  text-align:center;
  align-items:center;
}
#capacitaciones .card__body{
  text-align:center;
  align-items:center;
}

.formation__closing{
  margin:26px auto 0;
  text-align:center;
  max-width:760px;
}
.formation__closing h2{
  margin:0 0 8px;
  color:var(--blue-1);
  font-weight:700;
  font-size:var(--h2-size);
}
.formation__closing p{
  margin:0 0 12px;
  color:var(--gray);
}

/* BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:700;
  cursor:pointer;
  transition:.2s ease;
}
.btn i{
  font-size:18px;
  margin-left:8px;
  margin-right:0;
  order:2;
  line-height:1;
}
.btn--primary{
  background: var(--blue-1);
  color:#fff;
}
.btn--primary i{
  color:#fff;
}
.btn--primary:hover{ background: var(--blue-2); }

/* WHATSAPP FLOAT */
.whatsapp-float{
  position:fixed;
  right:20px;
  bottom:20px;
  width:64px;
  height:64px;
  border-radius:50%;
  background:#25D366;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 12px 24px rgba(0,0,0,.18);
  z-index:1500;
  text-decoration:none;
  transition:transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.whatsapp-float i{ font-size:30px; line-height:1; }
.whatsapp-float:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 28px rgba(0,0,0,.2);
}
.whatsapp-float.is-hidden{
  opacity:0;
  pointer-events:none;
  transform:translateY(8px);
}

@media (max-width: 780px){
  .whatsapp-float{
    right:16px;
    bottom:16px;
    width:56px;
    height:56px;
  }
  .whatsapp-float i{ font-size:26px; }
}

.btn--small{
  padding:10px 14px;
  font-size:.95rem;
  background: rgba(19,45,70,.08);
  color: var(--blue-1);
  border:1px solid rgba(19,45,70,.12);
}
.btn--small:hover{ background: rgba(19,45,70,.12); }

/* TOAST FORM */
.form-toast{
  margin-top:0;
  font-size:.95rem;
  color:#22c55e;
  font-weight:600;
  text-align:center;
  opacity:0;
  max-height:0;
  overflow:hidden;
  transition: opacity .25s ease, max-height .25s ease, margin-top .25s ease;
}
.form-toast.is-visible{
  opacity:1;
  max-height:64px;
  margin-top:12px;
}

/* CONTACT */
.contactGrid{ display:flex; justify-content:center; align-items:flex-start; }

.form{
  background:#fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border:1px solid rgba(0,0,0,.06);
  padding:18px;
  width:100%;
  max-width:560px;
}
.form-submit-frame{
  display:none;
}
.form__grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.form__full{ grid-column:1 / -1; }

.form label{
  display:block;
  font-weight:700;
  color: var(--blue-1);
  margin-bottom:12px;
}
.form input, .form textarea{
  width:100%;
  margin-top:8px;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.12);
  font-family: var(--font);
  outline:none;
}
.form textarea{
  min-height:120px;
  resize:vertical;
}

/* FOOTER */
.footer{
  padding:48px 0 28px;
  background: var(--gray);
  color:#fff;
  border-top:1px solid rgba(0,0,0,.06);
  text-align:center;
}
.footer__inner{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:34px;
}
.footer__logo{
  width:140px;
  height:140px;
  object-fit:contain;
}
.footer__nav{
  width:100%;
}
.footer__nav--columns{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:28px 40px;
  width:100%;
  max-width:1100px;
  text-align:left;
  align-items:start;
}
.footer__col{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.footer__title{
  margin:0;
  font-size:.9rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.85;
}
.footer__links{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.footer__links a{
  display:block;
  padding:3px 0 3px 16px;
  position:relative;
  opacity:.9;
  line-height:1.45;
  transition: opacity .2s ease, transform .2s ease;
}
.footer__links a::before{
  content:"›";
  position:absolute;
  left:0;
  top:3px;
  color: rgba(255,255,255,.7);
}
.footer__links a:hover{
  opacity:1;
  transform: translateX(2px);
}
.footer__nav a{
  color:#fff;
  opacity:.9;
  transition: opacity .2s ease, transform .2s ease;
  line-height:1;
}
.footer__nav a:hover{
  opacity:1;
  transform: translateY(-1px);
}
.footer__bar{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  gap:18px;
  width:100%;
}
.footer__brand{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:16px;
}
.footer__meta{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
}
.footer__meta-line{
  margin:0;
  color: rgba(255,255,255,.88);
  font-size:.98rem;
}
.footer__rule{
  width:min(220px, 70%);
  height:1px;
  background: rgba(255,255,255,.22);
  border:none;
  display:none;
}
.footer__bottom{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.14);
}
.footer__social{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:16px;
}
.footer__social a{
  width:38px;
  height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  color:#fff;
  background: rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.12);
  transition: transform .2s ease, background .2s ease;
}
.footer__social a:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.2);
}
.footer__social i{ font-size:20px; line-height:1; }
.footer__bottom p{
  margin:0;
  color: rgba(255,255,255,.78);
  font-size:.95rem;
}
.footer .small{ color: rgba(255,255,255,.7); }

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 980px){
  .about__grid{ grid-template-columns:1fr; }
  .about__media{
    height:auto;
    justify-content:center;
  }
  .about__media picture{
    width:min(100%, 360px);
  }
  

.about__text{
  display:flex;
  flex-direction:column;
  justify-content:center;
}

  .team-split{ grid-template-columns:1fr; }
  .team-split__text{
    text-align:center;
  }
  .team-split__subtitle{
    margin-left:auto;
    margin-right:auto;
  }
  .team-split__cards{
    grid-template-columns:1fr;
    max-width:360px;
    margin:0 auto;
  }
  .cards:not(.cards--carousel){ grid-template-columns:1fr; }
  .cards--3{ grid-template-columns:1fr; }
  .form__grid{ grid-template-columns:1fr; }

  #capacitaciones .cards{
    grid-template-columns:none;
    grid-auto-flow:column;
    grid-auto-columns:clamp(240px, 80vw, 320px);
    gap:18px;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    padding:4px 2px 16px;
  }
  #capacitaciones .cards .card{ scroll-snap-align:start; }
  #capacitaciones .cards::-webkit-scrollbar{ height:8px; }
  #capacitaciones .cards::-webkit-scrollbar-thumb{
    background:rgba(19,45,70,.28);
    border-radius:999px;
  }
  #capacitaciones .cards::-webkit-scrollbar-track{
    background:rgba(0,0,0,.05);
    border-radius:999px;
  }
}

@media (max-width: 780px){
  :root{ --nav-h: 92px; }

  .navbar{
    justify-content: space-between;
    gap:10px;
    padding: 10px var(--pad-x);
  }

  .nav-links{ display:none; }
  .navbar nav{ display:none; }

  .menu-icon{ display:block; }

  .nav-cta{
    flex:1;
    justify-content:flex-start;
  }

  .nav-cta .hire-btn{ display:none; }

  #inicio .hero{
    padding: calc(var(--nav-h) + 22px) var(--pad-x) 16px;
    background-position: 50% 50%;
  }

    .about__text h2{
      display:block;
      text-align:center;
      font-size:var(--h2-size);
      margin-bottom:8px;
    }
  .about__text h3{
    display:none;
  }

  .team-card{
    width:min(100%, 320px);
  }

  .footer{ padding:40px 0 24px; }
  .footer__logo{ width:110px; height:110px; }
  .footer__nav{ display:none; }
  .footer__bar{
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "social brand"
      "meta meta";
    justify-items:center;
    text-align:center;
    gap:16px;
  }
  .footer__brand{
    grid-area: brand;
    justify-content:center;
  }
  .footer__social{
    grid-area: social;
    justify-content:center;
  }
  .footer__meta{
    grid-area: meta;
  }
  .footer__rule{
    width:min(240px, 70%);
    display:block;
  }
}

@media (max-width: 425px){
  :root{ --nav-h: 86px; }
  #inicio .hero{
    background-position: 50% 50%;
    background-image:url("../img/heromobile2.png");
  }

  .footer__logo{ width:96px; height:96px; }
  .footer__nav{ gap:10px 14px; }
}

@media (max-width: 360px){
  #inicio .hero{
    background-size: cover;
    background-position: 50% 50%;
  }
}
