:root{
  --bg:#0B0F2F;
  --brand:#00C4B3;
  --text:#0f172a;
  --muted:#64748b;
  --soft:#F4F6F8;
  --white:#ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,.12);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{ font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }

/* NAVBAR */
.inv-navbar{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 9999;
  padding: 14px 18px;
  transition: background .25s ease, box-shadow .25s ease;
}
.inv-navbar.is-solid{
  background: rgba(11,15,47,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
/* ===== NAVBAR ESTILO HABITAE ===== */

.inv-nav-inner{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

/* ===== MARCA CENTRADA ===== */

.inv-brand{
  grid-column: 2;
  text-align: center;
  text-decoration: none;
  color: var(--white);
}

.inv-brand .title{
  font-weight: 800;       /* más grueso */
  font-size: 18px;        /* más grande */
  letter-spacing: .25em;
}

.inv-brand .subtitle{
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .4em;
  opacity: .9;
}

/* ===== MENÚ IZQUIERDA ===== */

.inv-menu{
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 30px;
}

.inv-menu a{
  color: rgba(255,255,255,.9);
  text-decoration: none;
  font-size: 13px;
  text-align: center;
  white-space: nowrap;   /* 🔥 evita que se rompa en dos líneas mal */
  font-weight: 500;
  transition: opacity .2s ease;
}

.inv-menu a:hover{
  opacity: .7;
}

/* ===== BOTONES DERECHA ===== */

.inv-cta{
  grid-column: 3;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
}
.btn-invive{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: transparent;
  color: var(--white);
  text-decoration:none;
  font-size: 13px;
  transition: transform .15s ease, background .2s ease, border .2s ease;
}
.btn-invive:hover{ transform: translateY(-1px); background: rgba(255,255,255,.08); }
.btn-primary-invive{
  background: var(--brand);
  border-color: var(--brand);
  color: #061018;
  font-weight: 700;
}
.btn-primary-invive:hover{ background: #04d6c4; border-color:#04d6c4; }

/* HERO VIDEO */
.inv-hero{
  position: relative;
  height: 100vh;
  min-height: 640px;
  background: var(--bg);
  overflow:hidden;
}
.inv-hero video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.05);
}
.inv-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    180deg,
    rgba(11,15,47,.65) 0%,
    rgba(11,15,47,.60) 35%,
    rgba(11,15,47,.85) 100%
  );
}
.inv-hero::after{
  content:"";
  position:absolute;
  inset:0;
  border: 1px solid rgba(0,196,179,.28);
  outline: 1px solid rgba(255,255,255,.06);
  outline-offset: -18px;
  pointer-events:none;
}

.inv-hero-content{
  position:relative;
  z-index:2;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 120px 18px 40px;
}
.inv-hero-box{
  width: min(720px, 92vw);
  text-align:center;
  color: var(--white);
}
.inv-logo{
  width: clamp(260px, 28vw, 320px);
  height: auto;
  margin: 0 auto 30px;
  display: block;
}
.inv-h1{
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
  margin: 0 0 1px;
  letter-spacing: .08em;
}
.inv-h2{
  margin:0 0 1px;
  font-size: 14px;
  letter-spacing: .40em;
  opacity:.9;
}
.inv-hero-text{
  max-width: 620px;
  margin: 0 auto 22px;
  color: rgba(255,255,255,.88);
  font-size: 15px;
  line-height: 1.6;
}
.inv-hero-actions{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

/* SECTIONS */
.section{
  padding: 70px 18px;
}
.container{
  max-width: 1200px;
  margin: 0 auto;
}
.section-title{
  font-size: 28px;
  margin: 0 0 10px;
  color: var(--text);
}
.section-sub{
  color: var(--muted);
  margin: 0 0 26px;
  max-width: 850px;
  line-height: 1.7;
}

.cards-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card{
  background: var(--white);
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.card h3{ margin: 0 0 8px; font-size: 16px; color: var(--text); }
.card p{ margin:0; color: var(--muted); line-height:1.6; }

.inv-gallery{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.inv-tile{
  position:relative;
  border-radius: 18px;
  overflow:hidden;
  height: 240px;
  box-shadow: var(--shadow);
}
.inv-tile img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition: transform .35s ease;
}
.inv-tile:hover img{ transform: scale(1.06); }
.inv-tile::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.65));
}
.inv-tile .label{
  position:absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  color: var(--white);
}
.inv-tile .tag{
  display:inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(0,196,179,.18);
  border: 1px solid rgba(0,196,179,.35);
  backdrop-filter: blur(6px);
}
.inv-tile .name{
  margin-top: 8px;
  font-weight: 800;
  letter-spacing: .03em;
  font-size: 18px;
}
.inv-tile .meta{
  margin-top: 4px;
  font-size: 13px;
  opacity: .9;
}

/* CTA STRIP */
.cta-strip{
  background: var(--bg);
  color: var(--white);
  padding: 60px 18px;
}
.cta-inner{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  flex-wrap:wrap;
  border: 1px solid rgba(0,196,179,.24);
  border-radius: 22px;
  padding: 22px;
}
.cta-inner h3{ margin:0; font-size: 22px; }
.cta-inner p{ margin: 6px 0 0; color: rgba(255,255,255,.84); }

/* FOOTER */
.inv-footer{
  background: #070A1F;
  color: rgba(255,255,255,.86);
  padding: 60px 18px 22px;
  border-top: 3px solid rgba(0,196,179,.55);
}
.footer-grid{
  max-width: 1200px;
  margin: 0 auto;
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 18px;
}
.footer-title{
  color: var(--white);
  font-weight: 800;
  margin: 0 0 10px;
}
.footer a{
  color: rgba(255,255,255,.86);
  text-decoration:none;
}
.footer a:hover{ color: var(--brand); }
.footer-item{ margin: 8px 0; color: rgba(255,255,255,.78); }

.footer-bottom{
  max-width: 1200px;
  margin: 22px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.10);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
  font-size: 13px;
  color: rgba(255,255,255,.7);
}

/* RESPONSIVE */
@media (max-width: 900px){
  .cards-3{ grid-template-columns: 1fr; }
  .inv-gallery{ grid-template-columns: 1fr; }
  .inv-tile{ height: 220px; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .inv-menu{ display:none; } /* luego hacemos botón hamburguesa */
}

.nav-text{
  color: rgba(255,255,255,.9) !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  transition: opacity .2s ease;
}

.nav-text:hover{
  opacity:.7;
  color: var(--white) !important;
  text-decoration: none !important;
}

.section{
  padding: 90px 20px;
  text-align: center;   /* centra todo el contenido */
}

.section-title{
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-sub{
  max-width: 700px;
  margin: 0 auto 50px auto;  /* centra el texto */
  color: #6c757d;
  font-size: 15px;
  line-height: 1.6;
}
/* ===== Menú hamburguesa (móvil) ===== */
.inv-burger{
  display:none;
  background:transparent;
  border:0;
  color:#fff;
  font-size:28px;
  line-height:1;
  padding:8px 10px;
}
