:root {
  --bg: #0b1220;
  --panel: #0f172a;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --brand: #38bdf8;
  --brand-600: #0891b2;
  --ok: #22c55e;
  --error: #ef4444;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
.main-container{
  width: 100%;
  max-width: 1920px;
  display: block;
  position: relative;
}
.container-loader {
  width: 100%;
  max-width: 1920px;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: #0f172a;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: all 1s ease-in-out;
}
/* HTML: <div class="loader"></div> */
.loader {
  width: 45px;
  aspect-ratio: 1;
  --c: no-repeat linear-gradient(#ffffff 0 0);
  background: 
    var(--c) 0%   50%,
    var(--c) 50%  50%,
    var(--c) 100% 50%;
  background-size: 20% 100%;
  animation: l1 1s infinite linear;
}
@keyframes l1 {
  0%  {background-size: 20% 100%,20% 100%,20% 100%}
  33% {background-size: 20% 10% ,20% 100%,20% 100%}
  50% {background-size: 20% 100%,20% 10% ,20% 100%}
  66% {background-size: 20% 100%,20% 100%,20% 10% }
  100%{background-size: 20% 100%,20% 100%,20% 100%}
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; margin: 0 auto; }
.center { text-align: center; }
.maxw { max-width: 60ch; margin-inline: auto; color: var(--muted); }

/* Header */
.site-header {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,18,32,.7);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(148,163,184,.15);
}
.header-inner { width: 100%;display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-logo { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--brand-600)); color: #00131a; font-weight: 800; }
.brand-name { letter-spacing: .2px; }
#logoTransMichel{
  display: block;
  width: 70px;
  height: 50px;
  padding-left: 1em;
}
.site-nav ul { list-style: none; display: flex; gap: 22px; padding: 0; margin: 0; }
.site-nav .nav-link { padding: 8px 10px; border-radius: 8px; color: var(--muted); }
.site-nav .nav-link:is(:hover,:focus) { color: var(--text); background: rgba(148,163,184,.12); }

#correoNav{display: none;}

.nav-toggle { display: none; background: transparent; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle-bar { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* Sections */
.section {width: 100%; padding: 80px 0; background: var(--bg); }
.section-alt { background: radial-gradient(1200px 500px at 50% -200px, rgba(56,189,248,.15), transparent 50%), var(--panel); }
.headline { font-size: clamp(36px, 6vw, 56px); line-height: 1.1; margin: 0 0 10px; letter-spacing: -.02em; }
.headline.sm { font-size: clamp(24px, 4vw, 36px); }
.subtitle { color: var(--muted); margin: 0 0 24px; font-size: clamp(16px, 2.4vw, 20px); }

.btn { display: inline-block; padding: 12px 18px; border-radius: 12px; border: 1px solid rgba(148,163,184,.2); transition: transform .15s ease, background .2s ease; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-600)); color: #00131a; font-weight: 700; }
.btn-ghost { color: var(--text); background: rgba(148,163,184,.12); }
.btn:is(:hover,:focus) { transform: translateY(-1px); }
.cta-group { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;}

/* Hero */
.hero { width: 100%;position: relative; min-height: 100vh; display: grid; place-items: center; background: url('https://images.unsplash.com/photo-1500482176476-30f8b616f41c?q=80&w=1920&auto=format&fit=crop') center/cover fixed; }
.hero-overlay {width: 100%; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,18,32,.6), rgba(11,18,32,.65)); }
.hero-content { position: relative; text-align: center; }

/* Slider */
.slider { position: relative; width: 100%; margin: 0px auto 0;margin-top: -80px; }
.slides { width:100%; position: relative; overflow: hidden; border-radius: 14px; border: 1px solid rgba(148,163,184,.15); box-shadow: var(--shadow); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.slide.is-active { position: relative; opacity: 1; }
.slide img { width: 100%; height: 100vh; object-fit: cover; display: block; }
.slide-caption {width: 100%;  font-size:2em; position: absolute; left: 0px; bottom: 0em; padding: 8px 12px; border-radius: 0px; background: rgba(2,6,23,.6); border: 1px solid rgba(148,163,184,.25); }
.slider-control { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(15,23,42,.8); color: var(--text); border: 1px solid rgba(148,163,184,.25); width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; cursor: pointer; }
.slider-control.prev { left: 10px; }
.slider-control.next { right: 10px; }
.slider-dots { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.slider-dots button { width: 8px; height: 8px; border-radius: 999px; background: rgba(148,163,184,.35); border: 0; cursor: pointer; }
.slider-dots button[aria-selected="true"] { background: var(--brand); }

/* Cards / Servicios */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
.service-card { background: rgba(2,6,23,.6); border: 1px solid rgba(148,163,184,.12); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); transform: translateY(10px); opacity: 0; transition: transform .5s ease, opacity .5s ease; }
.service-card .icon { font-size: 28px; margin-bottom: 8px; }
.service-card.show { transform: translateY(0); opacity: 1; }

/* Empresa */
.grid.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; }
.checks { padding-left: 18px; color: var(--muted); }
.checks li { margin: 8px 0; }
.card { border-radius: 18px; overflow: hidden; border: 1px solid rgba(148,163,184,.15); box-shadow: var(--shadow); }
.parallax-card { will-change: transform; }

/* Divider parallax */
/* 
.divider { position: relative; background: url('../../img/servicios/porta contenedor.jpg'); }
.divider-overlay { position: absolute; inset: 0; background: rgba(11,18,32,.5); }
#servicios-parallax { background: url('../img/servicios/porta contenedor.jpg') center/cover fixed; } */
.content{
  padding: 10px;
}
#servicios-parallax{
  width: 100%;
  display: flex;
  height: 250px;
  justify-content: center;
  align-items: center;
  background:linear-gradient(rgba(0, 0, 0, 0.763), rgba(13, 5, 121, 0.75)), url('../img/servicios/portacontenedor 2.jpg') fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat; 
}
/* Galería */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.gallery-item { overflow: hidden; border-radius: 14px; border: 1px solid rgba(148,163,184,.15); }
.gallery-item img { width: 100%; height: 230px; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
/* contactanos */
.container-contactanos{
  width: 100%;
  display: flex;
  height: 200px;
  margin-top: 100px;
  justify-content: space-evenly;
}
.container-contactanos img{
  width: 23%;
  display: block;
  height: 60%;
  border-radius: 50%;
  border: 4px solid white;
  transition: all .3s;
}

@keyframes bordeanimado {
  from{
    margin-top: 0em;
  }
  to{
    margin-top: -2em;
  }
}
.container-contactanos img:hover{
  animation: bordeanimado .3s ease-in forwards;
}
/* Form */
.form { background: rgba(2,6,23,.6); border: 1px solid rgba(148,163,184,.12); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
label { font-weight: 600; }
input, textarea { background: rgba(148,163,184,.08); color: var(--text); border: 1px solid rgba(148,163,184,.2); border-radius: 10px; padding: 12px 12px; outline: none; }
input:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(56,189,248,.2); }
.error { color: var(--error); height: 16px; }
.actions { display: flex; align-items: center; gap: 12px; }
.form-status { color: var(--muted); min-height: 20px; }

/* Footer */
.site-footer { border-top: 1px solid rgba(148,163,184,.15); background: #070c16; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.to-top { padding: 8px 10px; border-radius: 8px; border: 1px solid rgba(148,163,184,.2); }

/* Back to top floating */
.back-to-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 42px; height: 42px; border-radius: 999px; border: 1px solid rgba(148,163,184,.25);
  background: rgba(2,6,23,.75); color: var(--text); box-shadow: var(--shadow);
  display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}
.back-to-top.show { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 900px) {
  .grid.two-col { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  /* .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 62px 0 auto 0; background: rgba(11,18,32,.95); transform: translateY(-200%); transition: transform .25s ease; border-bottom: 1px solid rgba(148,163,184,.15); }
  .site-nav.open { transform: translateY(0); }
  .site-nav ul { flex-direction: column; padding: 12px; } */
  #linkNav{
    display: none;
  }
  #correoNav{
    display: block;
    margin-right: 1em;
  }
  .header-inner { padding: 10px 0; }
  .slide img { height: 70vh; }
  .gallery-grid { grid-template-columns: 1fr; }

  .container-contactanos img{
    border: 1px solid transparent;
  }

  
}

/* Pills */
.pill-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 12px 0 14px; }
.pill { background: rgba(2,6,23,.6); border: 1px solid rgba(148,163,184,.12); border-radius: 14px; padding: 14px; }
@media (max-width: 760px) { .pill-grid { grid-template-columns: 1fr; } }


