
:root{
  --bg:#000101;
  --text:#ffffff;
  --muted: rgba(219,221,222,.82);
  --accent:#AEEE2A;   /* verde lim車n */
  --accent2:#4E8906;  /* verde oscuro */
  --card:#0b0c0d;
  --line: rgba(255,255,255,.10);
  --shadow: 0 18px 55px rgba(0,0,0,.55);
}

.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl{
    
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  background:var(--bg);
  color:var(--text);
  font-family: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

h1,h2,h3,h4,h5,h6{ font-family: "Rubik", system-ui, sans-serif; }

.text-accent{ color: var(--accent) !important; }
.text-muted-2{ color: var(--muted) !important; }
.link-accent{ color: var(--accent); text-decoration:none; }
.link-accent:hover{ text-decoration: underline; }

.divider{ height:1px; background: var(--line); width:100%; }

/* Topbar */
.topbar{
  background: #050606;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.topbar-left, .topbar-center, .topbar-right{ color: rgba(255,255,255,.82); font-size: .95rem; }
.topbar-icon{ color: rgba(255,255,255,.75); margin-left: 8px; }
.topbar-icon:hover{ color: var(--accent); }
.topbar-right a{ color: var(--accent); text-decoration:none; font-weight:700; }

/* Navbar */
.nav-glass{
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.navbar .nav-link{
  color: rgba(255,255,255,.84) !important;
  font-weight: 600;
  padding: 14px 12px;
}
.navbar .nav-link:hover{ color: var(--accent) !important; }
.navbar .nav-link.active{ color: var(--accent) !important; }
.brand-logo{ height: 70px; width:auto; object-fit:contain; }

.sociat-toggler{
  filter: invert(1);
  opacity: .9;
}

/* Buttons */
.btn-accent{
  background: var(--accent);
  border: 1px solid rgba(0,0,0,.35);
  color: #0b0c0d;
  font-weight: 900;
}
.btn-accent:hover{ filter: brightness(.95); }

.btn-ghost{
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  color: var(--text);
  font-weight: 700;
}
.btn-ghost:hover{
  border-color: rgba(174,238,42,.55);
  box-shadow: 0 0 0 4px rgba(174,238,42,.10);
  color: var(--text);
}

/* Floating actions */
.sociat-float{
  position: fixed;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  display:flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(174,238,42,.18);
  padding: 10px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
}
.sociat-float-btn{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  color: #0b0c0d;
  background: var(--accent);
  text-decoration:none;
  font-size: 1.2rem;
  font-weight: 900;
}
.sociat-float-btn:hover{ filter: brightness(.95); }

/* HERO */
.hero{
  position: relative;
  min-height: 90vh;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.hero-bg{
  position:absolute;
  inset:0;
  overflow:hidden;
}
.hero-video{
  width:100%;
  height:100%;
  object-fit: cover;
  opacity: 1;
  filter: grayscale(10%) contrast(150%);
}
.hero-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(1200px 650px at 12% 22%, rgba(174,238,42,.22), transparent 60%),
    linear-gradient(90deg, rgba(0,0,0,.68), rgba(0,0,0,.35)),
    rgba(0,0,0,.22);
}
.hero-content{
  position: relative;
  padding: 68px 0;
}
.hero-list{
  list-style:none;
  padding-left:0;
  margin: 14px 0 0;
  color: rgba(255,255,255,.88);
}
.hero-list li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin-bottom: 10px;
}
.hero-list i{ color: var(--accent); margin-top: 2px; }

/* Badges */
.badge-line{ display:flex; gap:10px; flex-wrap:wrap; }
.badge-soft{
  display:inline-flex;
  align-items:center;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  border-radius: 999px;
  font-size: .90rem;
  color: rgba(255,255,255,.86);
}

/* KPIs */
.kpis{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}
.kpi-card{
  border: 1px solid var(--line);
  background: rgba(0,0,0,.35);
  border-radius: 16px;
  padding: 12px;
}
.kpi-num{ font-weight: 900; font-size: 1.15rem; color: var(--accent); }
.kpi-txt{ font-size: .85rem; color: rgba(255,255,255,.78); }

/* Sections */
.section{ padding: 80px 0; }
.section-soft{
  background: linear-gradient(180deg, rgba(174,238,42,.06), transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head{ margin-bottom: 18px; }
.eyebrow{
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 800;
  font-size: .85rem;
  margin-bottom: 8px;
}

/* Cards */
.card-dark{
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.card-glow{
  background: linear-gradient(180deg, rgba(174,238,42,.10), rgba(0,0,0,.25));
  border: 1px solid rgba(174,238,42,.22);
}
.card-icon{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(174,238,42,.12);
  border: 1px solid rgba(174,238,42,.25);
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

/* Lists */
.mini-list{
  padding-left: 18px;
  margin: 10px 0 0;
  color: rgba(255,255,255,.78);
}
.mini-list li{ margin-bottom: 6px; }

/* Images / Gallery */
.media-stack{ position: relative; min-height: 320px; }
.media-img{
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.media-img-2{
  position: absolute;
  width: 72%;
  right: 0;
  bottom: -18px;
  opacity: .98;
}

.gal-img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  filter: grayscale(10%) contrast(108%);
}

/* Forms */
.form-dark{
  background: rgba(0,0,0,.35) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.14) !important;
}
.form-dark::placeholder{ color: rgba(255,255,255,.55); }
.form-label{ color: rgba(255,255,255,.78); font-weight: 600; }

.map-frame{
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* Footer */
.footer{
  padding: 18px 0;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.55);
}

/* Responsive */
@media (max-width: 991px){
  body{ padding-top: 70px; }
  .kpis{ grid-template-columns: 1fr; }
  .hero{ min-height: auto; }
  .media-stack{ min-height: auto; }
  .media-img-2{ position: static; width: 100%; margin-top: 12px; }
  .sociat-float{ right: 8px; }
}






/* HERO SERVICES ICONS */
.hero-services{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  margin-top: 28px;
  max-width: 760px;
}

.hero-service-card{
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  padding: 20px 16px 22px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all .25s ease;
}

.hero-service-card:hover{
  transform: translateY(-4px);
  border-color: rgba(174,238,42,.55);
  box-shadow: 0 0 0 4px rgba(174,238,42,.12);
}

.hero-service-icon{
  width: 72px;
  height: 72px;
  margin: 0px;
  margin-bottom:5px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(174,238,42,.22), rgba(174,238,42,.05));
  border: 1px solid rgba(174,238,42,.45);
  color: var(--accent);
  font-size: 2rem;
}

.hero-service-card h6{
  font-weight: 800;
  margin-bottom: 6px;
}

.hero-service-card p{
  font-size: .9rem;
  color: rgba(255,255,255,.78);
  margin: 0;
}

/* Responsive */
@media (max-width: 991px){
  .hero-services{
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}





/* ===== NAVBAR: oculto en HERO, visible al scrollear ===== */

/* Altura real aproximada del navbar (aj迆stala si cambia) */
:root{
  --nav-h: 76px;
}

/* Por defecto: navbar oculto (pero sigue en el DOM) */
#mainNav{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s ease, opacity .25s ease, background .25s ease;
  z-index: 9999;
}

/* Cuando ya pasaste el HERO: navbar visible */
#mainNav.is-visible{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Durante hero, queremos que el video quede perfecto */
.hero{
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

/* Si quieres que el contenido del hero no quede pegado arriba */
.hero-content{
  padding-top: 80px; /* ajusta si quieres m芍s aire */
}

/* Sentinel no debe ocupar espacio visible */
#navSentinel{
  height: 1px;
}






.service-card {
  padding: 18px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 0 1px rgba(174,238,42,.25),
              0 25px 60px rgba(0,0,0,.6);
}

.service-img {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}

.service-img img {
  width: 100%;
  aspect-ratio: 1 / 1; /* fuerza 500x500 visual */
  object-fit: cover;
}

/* Detalle verde lim車n sutil */
.service-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(174,238,42,.25),
    rgba(174,238,42,0)
  );
  opacity: .35;
  pointer-events: none;
}

.service-card:hover .service-img img {
  transform: scale(1.05);
  filter: grayscale(70%) contrast(1.1);
}




/* ===== SOCIAT TICKER (m芍x 70px alto) ===== */
.sociat-ticker{
  height: 70px;
  max-height: 70px;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker-wrap{
  width: 100%;
  overflow: hidden;
}

.ticker-track{
  display: inline-flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
  will-change: transform;
  animation: sociatTicker 122s linear infinite;
  padding-left: 50%;
}

.ticker-item{
  font-family: "Rubik", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: .6px;
  font-size: 60px;
  line-height: 1;
  color: #555;
  text-transform: uppercase;
}

.ticker-sep{
  font-weight: 900;
  font-size: 18px;
  color: rgba(255,255,255,.55);
  line-height: 1;
}

@keyframes sociatTicker{
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Responsive */
@media (max-width: 576px){
  .ticker-item{ font-size: 16px; }
}





/* Contenedor del "icono" ahora como imagen */
  .card-icon-img{
    width: 100%;
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    overflow: hidden;
    background: rgba(255,255,255,.06); /* se ve pro en dark */
    border: 1px solid rgba(255,255,255,.10);
  }

  .card-icon-img img{
    width: 100%;
    height: 100%;
    object-fit: cover; /* llena bonito */
    display: block;
  }

  /* Opcional: hover sutil para que se sienta "más nutrido" */
  .card-dark{
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }
  .card-dark:hover{
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0,0,0,.35);
    border-color: rgba(255,255,255,.18);
  }
  
  