:root{
  --bg:#1f1f1f;
  --bg2:#171717;
  --teal:#17b7b0;
  --white:#ffffff;
  --soft:#f3f4f6;
  --text:#e9ecef;
  --muted:rgba(255,255,255,.65);
  --shadow: 0 18px 50px rgba(0,0,0,.25);
  --radius: 22px;

  /* Fondo del header (igual al logo) */
  --nav-bg:#0f0f0f;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* Helpers */
.fw-800{ font-weight:800; }
.fw-700{ font-weight:700; }
.text-acento{ color: var(--teal) !important; }
.text-white-90{ color: rgba(255,255,255,.92); }

/* =========================================================
   NAV (FIX: fondo sólido + logo sin recorte)
   ========================================================= */

/* Anulamos el blur/transparencia para que no "rompa" el logo */
.nav-blur{
  background: var(--nav-bg) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 8px 30px rgba(0,0,0,.45);
}

/* Aseguramos altura suficiente */
.navbar{
  background: var(--nav-bg) !important;
  min-height: 80px;
  padding: 0;
}

/* Container vertical centrado */
.navbar .container{
  min-height: 80px;
  display:flex;
  align-items:center;
  overflow: visible;
}

/* Brand */
.navbar-brand{
  padding: 0 !important;
  margin: 0;
  line-height: 1 !important;
  display:flex;
  align-items:center;
  overflow: visible;
}

/* Logo grande y sin recorte */
.brand-logo{
  height: 56px;
  width: auto;
  display:block;
  object-fit: contain;
  max-height: none;
  image-rendering: -webkit-optimize-contrast;
}

/* Links */
.navbar .nav-link{
  color: rgba(255,255,255,.88);
  font-weight: 600;
  padding: .45rem .8rem;
  transition: color .2s ease;
}
.navbar .nav-link:hover{
  color: #fff;
}

/* Toggler */
.navbar-toggler{
  border: 0;
  padding: .25rem .5rem;
}
.navbar-toggler:focus{
  box-shadow:none;
}

/* Evitar cualquier recorte raro */
.navbar, .navbar *{
  overflow: visible !important;
}

@media (max-width: 991px){
  .navbar{ min-height: 72px; }
  .navbar .container{ min-height: 72px; }
  .brand-logo{ height: 46px; }
}

/* Buttons */
.btn-acento{
  background: var(--teal);
  border: 1px solid var(--teal);
  color: #0b0f10;
  font-weight: 800;
  border-radius: 999px;
  padding: .65rem 1.15rem;
  box-shadow: 0 14px 34px rgba(23,183,176,.22);
  transition: transform .2s ease, filter .2s ease;
}
.btn-acento:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.btn-outline-light{
  border-radius: 999px;
}
.btn-outline-dark{
  border-radius: 999px;
}

/* HERO / SLIDER */
.hero,
.hero-swiper,
.hero-slide{
  height: 100vh;
  min-height: 680px;
}

.hero-slide{
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.68));
  z-index:1;
}

.hero-inner{
  position: relative;
  z-index:2;
  padding-top: 110px; /* espacio por navbar */
  padding-bottom: 60px;
}

.tag{
  display:inline-block;
  border: 1px solid rgba(255,255,255,.18);
  padding: .35rem .75rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .08em;
  font-size: .75rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 14px;
}

.hero .swiper-button-prev,
.hero .swiper-button-next{
  color: rgba(255,255,255,.85);
}
.hero .swiper-pagination-bullet{
  background: rgba(255,255,255,.55);
  opacity: 1;
}
.hero .swiper-pagination-bullet-active{
  background: var(--teal);
}

/* scroll hint */
.scroll-hint{
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  z-index: 5;
  pointer-events:none;
}
.scroll-hint .mouse{
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255,255,255,.35);
  border-radius: 999px;
  position: relative;
}
.scroll-hint .mouse::after{
  content:"";
  position:absolute;
  left:50%;
  top: 7px;
  width:4px;
  height:4px;
  background: rgba(255,255,255,.7);
  border-radius:999px;
  transform: translateX(-50%);
  animation: wheel 1.3s infinite;
}
@keyframes wheel{
  0%{ opacity:.2; transform: translateX(-50%) translateY(0); }
  40%{ opacity:1; }
  100%{ opacity:.2; transform: translateX(-50%) translateY(12px); }
}

/* SECTIONS */
.section{
  padding: 82px 0;
}
.section--light{
  background: var(--soft);
  color: #111;
}
.section--teal{
  background-color: #00A199;
}


.section-title{
  font-weight: 800;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.05;
  margin: 0 0 14px 0;
}
.section-title--dark{
  color:#0e1112;
}

.section--light .text-dark-emphasis{
  color: rgba(0,0,0,.72) !important;
}

/* Cards */
.glass{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.section--light .glass{
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,0,0,.08);
}

.card.soft{
  border: 0;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 42px rgba(0,0,0,.10);
}

/* Timeline */
.timeline{
  display:flex;
  flex-direction:column;
  gap: 14px;
}
.step{
  display:flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}
.section--light .step{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
}
.step-n{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(23,183,176,.18);
  border: 1px solid rgba(23,183,176,.35);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  color: var(--teal);
  flex: 0 0 auto;
}
.step-t{
  font-weight: 800;
  margin-bottom: 2px;
}

/* PILL GRID (Servicios) */
.pill-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 18px;
}

.pill{
  border-radius: 999px;
  padding: 14px 18px;
  display:flex;
  gap: 6px;
  align-items:center;
  justify-content:center;
  text-align:center;
  line-height: 1.25;
  min-height: 56px;
  font-size: 15px;
}

.pill-white{
  background:#fff;
  color:#111;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.pill-dark{
  background: transparent;
  color:#fff;
  border: 2px solid var(--teal);
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
}

/* EQUIPO (orgánico / irregular) */
.team-grid-free{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 28px;
}

.team-card{
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background:#fff;
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
  transition: transform .6s ease, box-shadow .6s ease;
}

.team-card:nth-child(odd){
  transform: translateY(18px);
}

.team-card:hover{
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 22px 60px rgba(0,0,0,.16);
}

.team-photo{
  width: 100%;
  height: 360px;
  object-fit: cover;
  display:block;
}

.team-pill{
  position:absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(23,183,176,.92);
  color: #071012;
  font-weight: 900;
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(23,183,176,.25);
}

/* Why list */
.why-list{
  display:flex;
  flex-direction:column;
  gap: 14px;
}
.why-item{
  display:flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}
.why-icon{
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--teal);
  margin-top: 6px;
  flex: 0 0 auto;
}
.why-title{
  font-weight: 900;
}

/* Contact */
.contact-photo{
  max-height: 260px;
  object-fit: cover;
}

.contact-box{
  display:flex;
  flex-direction:column;
  gap: 10px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.06);
}
.contact-line{
  display:flex;
  align-items:center;
  gap: 10px;
}
.contact-line a{
  color:#111;
  font-weight: 800;
  text-decoration:none;
}
.contact-line a:hover{ text-decoration: underline; }

.contact-ico{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display:inline-block;
}
.contact-ico--wa{ background: #25D366; }
.contact-ico--ig{ background: #E1306C; }
.contact-ico--mail{ background: #111; }

/* Footer */
.footer{
  padding: 18px 0;
  background: #121212;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* Responsive */
@media (max-width: 991px){
  .hero-inner{
    padding-top: 100px;
  }

  .pill-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-grid-free{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .team-photo{
    height: 320px;
  }
}

@media (max-width: 560px){
  .pill-grid{
    grid-template-columns: 1fr;
  }
  .team-grid-free{
    grid-template-columns: 1fr;
  }
  .team-photo{
    height: 320px;
  }
}


/* =========================
   MARCAS (igual estilo PDF)
   ========================= */

.section--white{
  background: #ffffff;
  color: #111;
}

#marcas .marcas-wrap{
  text-align: center;
}

#marcas .marcas-title{
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 52px);
  line-height: 1.1;
  margin: 0 0 10px 0;
  color: var(--teal); /* título turquesa como el PDF */
}

#marcas .marcas-sub{
  margin: 0 auto 28px auto;
  max-width: 860px;
  color: rgba(0,0,0,.65);
  font-size: 18px;
}

#marcas .marcas-logos{
  padding: 10px 0 0 0;
}

#marcas .marcas-logos img{
  width: min(1100px, 100%);
  height: auto;
  display: block;
  margin: 0 auto;
}


/* =========================
   CONTACTO (fondo blanco + estilo PDF)
   ========================= */

.section--white{
  background:#fff;
  color:#111;
}

/* Alineación exacta arriba */
#contacto .row{
  align-items: flex-start !important;
}

.contact-title{
  font-weight: 900;
  font-size: clamp(30px, 3.2vw, 56px);
  line-height: 1.05;
  margin: 0 0 14px 0;
  color: #111;
}

.contact-card{
  width: 100%;
  background: #f4f5f7;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 14px 16px;
}

.contact-item{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 10px 6px;
}

.contact-item + .contact-item{
  border-top: 1px solid rgba(0,0,0,.06);
}

.contact-icon{
  width: 26px;
  height: 26px;
  object-fit: contain;
  display:block;
  flex: 0 0 auto;
}

.contact-item a{
  color:#111;
  font-weight: 800;
  text-decoration: none;
}

.contact-item a:hover{
  text-decoration: underline;
}

.contact-text{
  margin: 14px 0 0 0;
  color: rgba(0,0,0,.70);
  font-size: 15px;
  line-height: 1.5;
}

.contact-address{
  margin: 10px 0 0 0;
  color: rgba(0,0,0,.55);
  font-size: 12px;
  line-height: 1.5;
}

/* Formulario en blanco, sin sombra pesada */
.form-card{
  background:#fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  padding: 22px 22px;
  box-shadow: 0 14px 36px rgba(0,0,0,.08);
}

#contacto .form-label{
  font-weight: 700;
  color: rgba(0,0,0,.72);
}

#contacto .form-control{
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
}

#contacto .form-control:focus{
  border-color: rgba(23,183,176,.55);
  box-shadow: 0 0 0 .25rem rgba(23,183,176,.15);
}
/* =========================
   POR QUÉ ELEGIRNOS – GRID 2x2
   ========================= */

.why-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px 22px;
  max-width: 900px;
  margin: 0 auto;
}

.why-item{
  display:flex;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}

.why-icon{
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--teal);
  margin-top: 6px;
  flex: 0 0 auto;
}

.why-title{
  font-weight: 900;
  margin-bottom: 2px;
}

/* Texto + CTA abajo */
.why-cta{
  margin-top: 36px;
}

.why-text{
  max-width: 780px;
  margin: 0 auto 18px auto;
  font-size: 18px;
  line-height: 1.5;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 768px){
  .why-grid{
    grid-template-columns: 1fr;
  }

  .why-text{
    font-size: 16px;
  }
}


/* FORZAR 2x2 (2 izquierda / 2 derecha) */
.why-grid-2x2{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px 22px !important;
  max-width: 980px;
  margin: 0 auto;
}

/* Asegurar que cada item no se estire a full row por reglas viejas */
.why-grid-2x2 > .why-item{
  width: auto !important;
  max-width: none !important;
}

/* Responsive */
@media (max-width: 768px){
  .why-grid-2x2{
    grid-template-columns: 1fr !important;
  }
}
/* POR QUÉ ELEGIRNOS: 2 columnas verticales (2 items izq / 2 items der) */
.why-stack{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* CTA abajo */
.why-cta{
  margin-top: 22px;
}

.why-text{
  max-width: 780px;
  margin: 0 auto 14px auto;
  font-size: 18px;
  line-height: 1.5;
  color: #fff;
}

/* Mobile */
@media (max-width: 991px){
  .why-text{ font-size: 16px; }
}


/* CONTACTO – LISTA SIN RECUADRO */
.contact-list{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-item{
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-icon{
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex: 0 0 auto;
}

.contact-item a{
  color: #111;
  font-weight: 800;
  text-decoration: none;
}

.contact-item a:hover{
  text-decoration: underline;
}

/* Texto */
.contact-text{
  color: rgba(0,0,0,.70);
  font-size: 15px;
  line-height: 1.5;
}

.contact-address{
  color: rgba(0,0,0,.55);
  font-size: 12px;
  line-height: 1.5;
}

/* Asegurar fondo blanco total */
.section--white{
  background: #fff;
  color: #111;
}



/* =========================
   HERO – bajar textos al nivel de las flechas
   ========================= */

/* Usamos flex para centrar y luego bajamos un poco */
.hero-inner{
  min-height: calc(100vh - 110px); /* descuenta navbar */
  display: flex;
  align-items: center;
  padding-top: 0 !important; /* anulamos el padding viejo */
  padding-bottom: 0;
  transform: translateY(20px); /* 👈 AJUSTE FINO */
}

/* En mobile bajamos un poco menos */
@media (max-width: 991px){
  .hero-inner{
    transform: translateY(24px);
    min-height: calc(100vh - 90px);
  }
}

@media (max-width: 575px){
  .hero-inner{
    transform: translateY(16px);
  }
}
