:root {
  --naranja: #FF5F00;
  --naranja-dark: #d94f00;
  --gris: #3D3935;
  --gris-light: #6b6560;
  --gris-lighter: #f5f4f3;
  --gris-superlight:#a5a5a5;
  --blanco: #ffffff;
  --negro: #1a1815;
  --overlay: rgba(26, 24, 21, 0.62);
  --transition: 0.3s ease;
  --shadow: 0 4px 24px rgba(61,57,53,0.10);
  --shadow-strong: 0 8px 40px rgba(61,57,53,0.18);
}

/* ── BASE ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {font-family: 'Oswald', sans-serif; color: var(--gris); background: var(--gris-lighter); overflow-x: hidden;}

h1 { font-size: 4.5em; line-height: 1.2; color: #fff; font-weight: 500; text-transform: uppercase ;text-shadow: 0 2px 12px rgba(0,0,0,0.5); /*transform: skewX(-8deg); */} 

h2 {font-size: 3em; color: var(--gris); font-weight: 100; line-height: 1.3;}

h3 {font-size: 1.8em; color: var(--gris); font-weight: 300; line-height: 1.3;}

h4 {font-size: 1.5em; font-weight: 300; }

p {font-size: 1.2em ; line-height: 1.4; font-weight: 100; }
p small {font-size: 0.8em ; line-height: 1; }

a { text-decoration: none; color: inherit; transition: var(--transition); }

img { max-width: 100%; height: auto; }

.section-pad { padding: 40px 0; }
.section-pad-sm { padding: 60px 0; }

@media (max-width: 992px) {
h1 { font-size: 3em;}
h2 { font-size: 2.3em;}
h3 { font-size: 2em;}
h4 { font-size: 1.5em;}
p { font-size: 1em;}
p small {font-size: 0.8em ; line-height: 1; }
}

/* ── UTILIDADES ────────────────────────────────────────── */
.text-naranja { color: var(--naranja) !important; }
.text-gris-superlight { color: #a5a5a5!important; }
.bg-naranja { background-color: var(--naranja) !important; }
.bg-gris { background-color: var(--gris) !important; }
.bg-gris-light { background-color: var(--gris-lighter) !important; }
.fw-light { font-weight: 300; }
.fw-regular { font-weight: 400; }
.fw-bold { font-weight: 700; }

.seccion-tag {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--naranja);
  border-left: 3px solid var(--naranja);
  padding-left: 10px;
  margin-bottom: 16px;
}

.seccion-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--gris);
  margin-bottom: 20px;
}

.seccion-title-white {
  color: var(--blanco);
}

.seccion-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--gris-light);
  max-width: 620px;
  line-height: 1.8;
}

/* ── BOTONES ───────────────────────────────────────────── */
.btn-onway { display: inline-flex; align-items: center; gap: 8px; font-family: 'Oswald', sans-serif; font-weight: 300; font-size: 1.3em; padding: 10px 40px 12px 40px; border: none; cursor: pointer; transition: var(--transition); border-radius: 0; text-decoration: none; transform: skewX(-8deg); }

.btn-naranja { background: var(--naranja); color: var(--blanco); }
.btn-naranja:hover { background: var(--naranja-dark); color: var(--blanco); transform: skewX(-8deg) translateX(5px); box-shadow: -12px 6px 5px rgba(0,0,0,0.5);  }

.btn-blanco { background: var(--blanco); color: var(--gris); }
.btn-blanco:hover { background: var(--gris-lighter); color: var(--gris); transform: translateY(-3px); }

.btn-outline-blanco { background: transparent; color: var(--blanco); border: 2px solid var(--blanco); }
.btn-outline-blanco:hover {background: var(--blanco); color: var(--gris); transform: skewX(-8deg) translateX(5px); box-shadow: -12px 6px 5px rgba(0,0,0,0.5);  }

.btn-outline-naranja {
  background: transparent;
  color: var(--naranja);
  border: 2px solid var(--naranja);
}
.btn-outline-naranja:hover {
  background: var(--naranja);
  color: var(--blanco);
  transform: translateY(-2px);
}


.btn-onway-2 { background: var(--blanco); color: var(--gris); display: inline-flex; align-items: center; gap: 8px; font-family: 'Oswald', sans-serif; font-weight: 300; font-size: 1.3em; padding: 10px 40px 12px 40px; border: none; cursor: pointer; transition: var(--transition); border-radius: 0; text-decoration: none;  border: 2px solid var(--blanco); border-radius: 6px; }
.btn-onway-2:hover { background: var(--gris-lighter); color: var(--gris); transform: translateX(5px); box-shadow: -12px 12px 5px rgba(0,0,0,0.5); }

.btn-onway-2-outline { background: transparent; color: var(--blanco); display: inline-flex; align-items: center; gap: 8px; font-family: 'Oswald', sans-serif; font-weight: 300; font-size: 1.3em; padding: 10px 40px 12px 40px; border: none; cursor: pointer; transition: var(--transition); border-radius: 0; text-decoration: none;  border: 2px solid var(--blanco); border-radius: 6px;  }
.btn-onway-2-outline:hover { background: var(--gris-lighter); color: var(--gris); transform: translateX(5px); box-shadow: -12px 12px 5px rgba(0,0,0,0.5); }

.btn-onway-2-naranja { background: var(--naranja); color: var(--blanco); display: inline-flex; align-items: center; gap: 8px; font-family: 'Oswald', sans-serif; font-weight: 300; font-size: 1.3em; padding: 10px 40px 12px 40px; border: none; cursor: pointer; transition: var(--transition); border-radius: 0; text-decoration: none;   border-radius: 6px; }
.btn-onway-2-naranja:hover { background: var(--naranja); transform: translateX(5px); box-shadow: -12px 12px 5px rgba(0,0,0,0.5); }

@media (max-width: 992px) {
.btn-onway { font-size: 1em !important;  }
}


/* ////////////////////////////////////////////////////////// */
/* ── NAVBAR ────────────────────────────────────────────── */
/* ////////////////////////////////////////////////////////// */


#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--blanco);
  box-shadow: 0 2px 16px rgba(61,57,53,0.10);
  transition: var(--transition);
  /* necesario para el collapse absolute en mobile */
  isolation: isolate;
}

.navbar-brand img {
  height: 38px;
  transition: var(--transition);
}

/* Links desktop */
.navbar-nav .nav-link {
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gris) !important;
  padding: 8px 12px !important;
  position: relative;
  transition: var(--transition);
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--naranja);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: left;
}
.navbar-nav .nav-link:hover { color: var(--naranja) !important; }
.navbar-nav .nav-link:hover::after { transform: scaleX(1); }

/* Redes desktop */
.navbar-redes {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid #e5e3e1;
}
.navbar-redes a {
  color: var(--gris);
  font-size: 1.05rem;
  padding: 4px 6px;
  transition: var(--transition);
  display: flex;
  align-items: center;
}
.navbar-redes a:hover { color: var(--naranja); transform: translateY(-2px); }

/* Toggler */
.navbar-toggler {
  border: none;
  outline: none;
  box-shadow: none !important;
  color: var(--gris);
  font-size: 1.4rem;
  padding: 2px 6px;
}

/* ── NAVBAR MOBILE ─────────────────────────────────────── */
@media (max-width: 992px) {
  /* El collapse se expande a todo el ancho debajo del navbar */
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--naranja);
    padding: 0px 0px 0px 0px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    z-index: 999;
  }

  /* Links mobile */
  #navbarNav .navbar-nav {
    padding-top: 8px;    
  }
  #navbarNav .nav-link {
    color: var(--blanco) !important;
    font-size: 1rem;
    padding: 12px 0px 12px 30px !important;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    letter-spacing: 0.1em;
  }
  #navbarNav .nav-link::after { display: none; }
  #navbarNav .nav-link:hover { color: rgba(255,255,255,0.75) !important; }

  /* Redes mobile */
  .navbar-redes {
    border-left: none;  
    margin: 0;
    padding: 10px 0px 10px 30px;
    gap: 8px;
  }
  .navbar-redes a {
    color: var(--blanco);
    font-size: 1.2rem;
  }
  .navbar-redes a:hover { color: rgba(255,255,255,0.7); }
}


/* ////////////////////////////////////////////////////////// */
/* ── SECCIÓN 01 — HERO CON VIDEO DE FONDO ──────────────── */
/* ////////////////////////////////////////////////////////// */


.hero-video-section {
  position: relative;
  overflow: hidden;
  margin-top: 65px;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: url('../img/textura.png') repeat, rgba(0, 0, 0, 0.5);
  z-index: 1;
}

#carousel-inicio {
  position: relative;
  z-index: 2;
}

#carousel-inicio .carousel-item { height: 600px; position: relative; overflow: hidden; }

.carousel-content {position: absolute; inset: 0; display: flex; align-items: center; }

.carousel-btns { display: flex; flex-wrap: wrap; gap: 20px; }

/* Indicadores — bullets redondas */
.carousel-indicators button { width: 10px !important; height: 10px!important; border-radius: 50%; background-color: rgba(255,255,255,.5);   border-top: none; border-bottom: none; transition: transform .2s, background-color .2s;}
.carousel-indicators button.active {background-color: var(--naranja);}

/* Flechas — sin recuadro, solo ícono */
.carousel-control-prev-icon, .carousel-control-next-icon { filter: none; background: none;}
.carousel-control-prev, .carousel-control-next {
  width: 80px;
  height: 80px;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  background: transparent;
  border: none;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.75);
  transition: var(--transition);
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.carousel-control-prev { left: 8px; }
.carousel-control-next { right: 8px; }
.carousel-control-prev:hover, .carousel-control-next:hover { color: var(--blanco); transform: translateY -50%) scale(1.15);}


@media (max-width: 992px) {
  .hero-video-section { margin-top: 58px; }
  #carousel-inicio .carousel-item { height: 600px; }
  .carousel-content { padding: 0px 10px; }
  .carousel-control-prev, .carousel-control-next { display: none; }
}


/* ////////////////////////////////////////////////////////// */
/* ── SECCIÓN 02 — EL PROBLEMA ─────────────────────────── */
/* ////////////////////////////////////////////////////////// */


#el-problema { background: var(--blanco); }

.problema-highlight { border-left: 4px solid var(--naranja); padding: 10px 20px 10px 20px; margin: 30px 0; background: var(--gris-lighter); border-radius: 0px 20px 20px 0px;}

.elproblema_txt img {height: 40px; margin: 10px 0px 5px -10px} 

.elproblema_txt { padding-left: 50px;}

.problema_img { display: flex; }

.problema-img-wrap { position: relative; overflow: hidden; border-radius: 15px; width: 100%; align-self: stretch; transition: transform 0.5s ease, box-shadow 0.5s ease; }

.problema-img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease; display: block;}

.problema-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(255,95,0,0.7) 0%, rgba(255,95,0,0) 100%); opacity: 0;
  transition: opacity 0.5s ease; pointer-events: none;
  z-index: 1;}

.problema-img-wrap:hover { transform: translateY(-8px); box-shadow: 0 16px 10px rgba(0,0,0,0.3); }
.problema-img-wrap:hover img { transform: scale(1.1); }
.problema-img-wrap:hover .problema-img-overlay { opacity: 1; }


@media (max-width: 992px) {
.problema_img { padding: 0px 20px;}
.elproblema_txt {padding: 0px 20px 0px 20px;}
}


/* ////////////////////////////////////////////////////////// */
/* ── SECCIÓN 03 — SERVICIOS ────────────────────────────── */
/* ////////////////////////////////////////////////////////// */


#servicios { background: var(--gris-lighter); margin-bottom: 50px; }

.servicio-card { background: var(--blanco); overflow: hidden; height: 100%; border-radius: 15px; box-shadow: var(--shadow); transition: transform 0.5s ease, box-shadow 0.5s ease;}

.servicio-card-img { position: relative; overflow: hidden;}

.servicio-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;}

.servicio-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(255,95,0,0.7) 0%, rgba(255,95,0,0) 100%); opacity: 0; transition: opacity 0.5s ease; pointer-events: none; z-index: 1;}

.servicio-card-body { padding: 35px 25px 35px 25px; border-top: 4px solid var(--naranja);text-align: center; }

.servicio-card:hover { transform: translateY(-8px); box-shadow: 0 16px 10px rgba(0,0,0,0.3); }

.servicio-card:hover .servicio-card-img img { transform: scale(1.1); }
.servicio-card:hover .servicio-card-overlay { opacity: 1; }

@media (max-width: 992px) {
#servicios .container .row { padding: 0px 10px;}
.servicio-card-img { width:100%; height: auto; }
}


/* ////////////////////////////////////////////////////////// */
/* ── SECCIÓN 04 — METODOLOGÍA ─────────────────────────── */
/* ////////////////////////////////////////////////////////// */


#metodologia { background: var(--gris); padding: 40px 0px 80px 0px;}

.etapa-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.etapa-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--naranja);
  color: var(--blanco);
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.fase-card {
  background: rgba(255,255,255,0.06);
  border-radius: 15px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.fase-card-img {
  position: relative;
  overflow: hidden;
  height: 150px;
  background: var(--naranja);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fase-card-img img {
  height: 100%;
  width: auto;
  transition: transform 0.5s ease;
}

.fase-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(61,57,53,0.7) 0%, rgba(61,57,53,0) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.fase-card-body {
  padding: 20px 20px 24px;
  border-top: 3px solid var(--naranja);
}

.fase-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.35);
}

.fase-card:hover .fase-card-img img { transform: scale(1.1); }
.fase-card:hover .fase-card-overlay { opacity: 1; }

.fase-badge {
  display: inline-block;
  background: var(--naranja);
  color: var(--blanco);
  padding: 3px 10px;
  margin-bottom: 10px;
  border-radius: 5px;
}

.fase-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fase-list li {
  padding: 4px 0 0px 10px;
  position: relative;
  line-height: 1.6;
  margin: 0 !important;
}

.fase-list li p { margin-bottom: 0px; }

.fase-list li::before {
  content: '.';
  position: absolute;
  left: 0;
  color: var(--naranja);
  font-size: 1rem;
}

.divider-metodo {
  height: 1px;
  background:var(--naranja);
  margin: 30px 0px 50px 0px;
}


@media (max-width: 992px) {
#metodologia { padding: 40px 10px;}
.fase_fase { margin-bottom: 20px;}
}


/* ////////////////////////////////////////////////////////// */
/* ── SECCIÓN 05 — DANIEL ───────────────────────────────── */
/* ////////////////////////////////////////////////////////// */


.daniel-section {
  position: relative;
  background-image: url(../img/OnWay_Fondo.jpg);
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* Overlay naranja sobre el fondo, detrás de la foto y el texto */
.daniel-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  background: linear-gradient(0deg,rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
}

/* Capa 1: container-fluid con la foto — encima del overlay */
.daniel-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.daniel-bg-layer .row { height: 100%; }

.daniel-foto-col {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.daniel-foto {
  display: block;
  height: 92%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(-12px 6px 24px rgba(0,0,0,0.2));
}

/* Capa 2: container con texto — relative, define la altura */
.daniel-txt-layer {
  position: relative;
  z-index: 3;
  padding: 40px 0px 80px 0px;
}

/* Credenciales */
.daniel-credenciales {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 32px;
}

.daniel-cred-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255,255,255,0.12);
  border-left: 3px solid var(--blanco);
  padding: 8px 10px 12px 10px;
  border-radius: 0px 10px 10px 0px;
}

.daniel-cred-item i {
  flex-shrink: 0;
  font-size: 1.5em;
  margin-right: 10px;
}

.daniel-cred-item span {
  margin-top: -5px;
}

.danielin_2 {display: none;}


/* ── DANIEL FOTO — animación slide desde derecha ────────── */
.daniel-foto-animated {
  transform: translateX(150px);
  opacity: 1;
  transition: transform 1s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 1s ease;
}

.daniel-foto-animated.slide-in {
  transform: translateX(0);
  opacity: 1;
}


@media (max-width: 992px) {
.daniel-txt-layer { padding: 50px 20px 0px 20px;}
.danielin {display: none;}
.danielin_2 {display: block ; height: auto; width: 100%;}
}


/* ////////////////////////////////////////////////////////// */
/* ── SECCIÓN 06 — TESTIMONIOS (Carrusel) ─────────────── */
/* ////////////////////////////////////////////////////////// */


.testimonios { overflow: hidden; padding: 30px 0px 30px 0px;}
.testimonio_titulo { margin-bottom: 0px;}
.testimonio_titulo h2 { margin-bottom: 0px !important;}

.testimonio_item { padding: 0px 30px;}
.testimonio_item p { margin-bottom: 0px;}

.testimonio_foto { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; /*filter: grayscale(20%);*/ transition: filter 0.4s ease;}

.testimonio_disclaimer { margin-top: 20px;}

/* Carrusel de testimonios (desktop y mobile, independiente del hero) */
.testimonios-carousel { position: relative; padding: 0px 0px;}

.testimonios-carousel .carousel-control-prev,
.testimonios-carousel .carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  opacity: 1;
  text-shadow: none;
}

.testimonios-carousel .carousel-control-prev { left: 0; }
.testimonios-carousel .carousel-control-next { right: 0; }

.testimonios-carousel .carousel-control-prev:hover,
.testimonios-carousel .carousel-control-next:hover {
  }

.carousel-icon-dark {
  color: var(--gris-light);
  font-size: 1.5rem;
  transition: color 0.2s ease;
}

.testimonios-carousel .carousel-control-prev:hover .carousel-icon-dark,
.testimonios-carousel .carousel-control-next:hover .carousel-icon-dark {
  color: var(--naranja);
}

.testimonios-indicators {
  position: static;
  margin-top: 10px;
}

.testimonios-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color:var(--gris-light);
  border: 0;
  opacity: 0.5;
  margin: 0 5px;
}

.testimonios-indicators .active {
  background-color:var(--gris) !important; opacity: 1;
}

@media (max-width: 767px) {
  .testimonios-carousel { padding: 0px 10px; }
  .testimonios-carousel .carousel-control-prev,
  .testimonios-carousel .carousel-control-next {
    width: 36px;
    height: 36px;
  }
  .carousel-icon-dark { font-size: 1rem; }
  .testimonio_item { padding: 0px 20px 10px 20px;}
  .testimonio_disclaimer { margin-top: 0px;}
}


/* ////////////////////////////////////////////////////////// */
/* ── SECCIÓN 07 — PROFESIONALES ───────────────────────── */
/* ////////////////////////////////////////////////////////// */


#profesionales { background: var(--naranja); position: relative; overflow: hidden; padding: 80px 0px 100px 0px;}

.prof-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.prof-list li {
  padding: 3px 0px 3px 20px;
  position: relative;
}
.prof-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

@media (max-width: 991.98px) {
#profesionales { padding: 40px 10px 60px 10px;}
.empujaa { margin-bottom: 20px;}
}


/* ////////////////////////////////////////////////////////// */
/* ── SECCIÓN 08 — MAPA ─────────────────────────────────── */
/* ////////////////////////////////////////////////////////// */


/* ── MAPA — Card superpuesta alineada al container ──────── */
.mapa-overlay-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.mapa-overlay-layer .container {
  display: flex;
  align-items: center;
}

.mapa-card {
  pointer-events: auto;
  background: var(--blanco);
  padding: 28px 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  border-radius: 15px;
  border-top: 4px solid var(--naranja);
  max-width: 300px;
}

.mapa-card-logo {
  height: 25px;
  margin-bottom: 14px;
}

.mapa-card-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gris);
  margin-bottom: 12px;
}

.mapa-card-dir,
.mapa-card-tel {
  font-size: var(--fs-body-sm);
  font-weight: 300;
  color: var(--gris-light);
  margin-bottom: 8px;
  line-height: 1.5;
}

.mapa-card-tel a {
  color: var(--gris-light);
}

.mapa-card-tel a:hover { color: var(--naranja); }

@media (max-width: 991.98px) {
.mapa-overlay-layer {padding-left: 10px;}
}


/* ////////////////////////////////////////////////////////// */
/* ── SECCIÓN 09 — CONTACTO ─────────────────────────────── */
/* ////////////////////////////////////////////////////////// */


#contacto { background: var(--gris-lighter); padding-bottom: 80px; background-image: url(../img/OnWay_Fondo_Contacto.jpg); background-size: cover; background-position: right bottom;}

.contacto-card {
  background: var(--naranja);
  padding: 30px 40px 30px 40px;
  height: 100%;
  box-shadow: var(--shadow);
  border-radius: 15px;
}

.contacto-card-whatsapp {
  background: #25D366;
  padding: 30px 40px 30px 40px;
  height: 100%;
  box-shadow: var(--shadow);
  border-radius: 15px;
}

.form-control, .form-select {
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: 1.2rem;
  border: 0px ;
  border-radius: 10px;
  padding: 10px 20px;
  color: var(--gris);
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--naranja);
  box-shadow: 0 0 0 3px rgba(255,95,0,0.1);
  outline: none;
}

.wsp-preview {
  background: #f0fdf4;
  border: 0px;
  border-left: 4px solid #22c55e;
  padding: 14px 16px 10px 16px;  
  font-size: 0.8rem;
  color: #166534;
  font-weight: 300;
  line-height: 1.7;
}

@media (max-width: 991.98px) {
#contacto { padding: 40px 10px 60px 10px; }
.contacto-card, .contacto-card-whatsapp {padding: 20px 20px 30px 20px ;}
}


/* ////////////////////////////////////////////////////////// */
/* ── WHATSAPP FLOTANTE ─────────────────────────────────── */
/* ////////////////////////////////////////////////////////// */


.wsp-float {
  position: fixed;
  bottom: 50px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 9999;
  transition: var(--transition);
  animation: pulse-wsp 2.5s infinite;
}

.wsp-float i { margin-top: -5px;}
.wsp-float:hover {
  transform: scale(1.1);
  color: white;
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}

@keyframes pulse-wsp {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.12); }
}


/* ////////////////////////////////////////////////////////// */
/* ── FOOTER ────────────────────────────────────────────── */
/* ////////////////////////////////////////////////////////// */


#footer { background: var(--negro); padding: 40px 0px 0px 0px; }

.footer-logo img { height: 36px; margin-bottom: 20px; }

.footer-col-title { padding-bottom: 5px; border-bottom: 2px solid rgba(255,95,0,0.25); margin-bottom: 0px;}

.footer-redes-iconos a { padding-right: 5px; }
.footer-redes-iconos a:hover { color: var(--naranja); margin-bottom: 5px; }

.footer-redes a {
  color: var(--gris-superlight);
  transition: var(--transition);
}
.footer-redes a:hover {
  color: var(--naranja);
  padding-left: 4px; 
}

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08);}

.footer-bottom a { color: var(--gris-superlight);}
.footer-bottom a:hover { color: #fff;}
.footer-bottom a:hover img { opacity: 1;}
.footer-bottom img {opacity: 0.5; transition: var(--transition);}

@media (max-width: 991.98px) {
#footer { padding: 60px 20px 0px 20px; }
}


/* ////////////////////////////////////////////////////////// */
/* ── SCROLL REVEAL ─────────────────────────────────────── */
/* ////////////////////////////////////////////////////////// */


.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}






/* ── BOTÓN VOLVER ARRIBA ────────────────────────────────── */
.btn-top {
  position: fixed;
  bottom: 120px;
  right: 42px;
  width: 40px;
  height: 40px;
  background: var(--blanco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gris);
  font-size: 1.1rem;
  z-index: 9998;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 3px 12px rgba(0,0,0,0.2);
}

.btn-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.btn-top:hover {
  background: var(--naranja);
  color: var(--blanco);
  transform: translateY(-3px);
}
/* ── PRELOADER ──────────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--blanco);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.preloader-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  width: 70px;
  height: 70px;
  animation: preloader-pulse 1.2s ease-in-out infinite;
}

.preloader-bar {
  width: 160px;
  height: 3px;
  background: var(--gris-lighter);
  border-radius: 3px;
  overflow: hidden;
}

.preloader-bar-fill {
  height: 100%;
  width: 30%;
  background: var(--naranja);
  border-radius: 3px;
  animation: preloader-slide 1s ease-in-out infinite;
}

@keyframes preloader-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.7; }
}

@keyframes preloader-slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(530%); }
}
