@charset "UTF-8";
/* =========================
   BASE
========================= */
body {
  font-family: "Barlow Semi Condensed", sans-serif;
  overflow-x: hidden;
  font-size: 17px;
  line-height: 1.7;
}

html,
body {
  width: 100%;
}

/* =========================
   NAVBAR
========================= */
.navbar .nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.navbar .nav-link:hover {
  color: #fff;
  transform: translateY(-2px);
}

/* línea hover */
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--bs-secondary);
  transition: width 0.3s ease;
}

.navbar .nav-link:hover::after {
  width: 100%;
}

.navbar-sticky .nav-link {
  color: rgba(255, 255, 255, 0.7);
}

.navbar-sticky .nav-link:hover {
  color: #fff;
}

/* social icons navbar */
.navbar-social {
  margin-left: 24px;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.navbar-social-icon:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.04);
}

.navbar-social-icon i {
  font-size: 16px;
}

/* =========================
   HEADER HERO
========================= */
.header {
  position: relative;
  height: 600px;
  overflow: hidden;
}

/* slides */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  animation: heroSlider 18s infinite;
  transform: scale(1);
}

/* imagen 1 */
.hero-slide:nth-child(1) {
  background-image: url("../images/pittamiglio-hero-image-3.jpg");
  animation-delay: 0s;
}

/* imagen 2 */
.hero-slide:nth-child(2) {
  background-image: url("../images/pittamiglio-hero-image-2.jpg");
  animation-delay: 6s;
}

/* imagen 3 */
.hero-slide:nth-child(3) {
  background-image: url("../images/pittamiglio-hero-image.jpg");
  animation-delay: 12s;
}

/* overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(20, 20, 30, 0.72), rgba(20, 20, 30, 0.55));
  z-index: 1;
}

/* contenido */
.header .container {
  min-height: 600px;
  display: flex;
  align-items: center;
}

/* animación hero */
@keyframes heroSlider {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  8% {
    opacity: 1;
  }
  30% {
    opacity: 1;
    transform: scale(1.05);
  }
  38% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}
/* =========================
   SECTION HEADER
========================= */
.section-header {
  padding-left: 10px;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.section-kicker span {
  width: 3px;
  height: 18px;
  background: var(--bs-primary);
}

/* empresa/contacto */
.empresa .section-kicker span,
.contacto .section-kicker span {
  background: var(--bs-secondary);
}

.empresa .section-divider,
.contacto .section-divider {
  background: var(--bs-secondary);
}

.section-kicker h6 {
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bs-gray-600);
  font-weight: 600;
}

.section-title {
  font-size: 32px;
  font-weight: 600;
  color: var(--bs-dark);
}

.section-title-oscuro {
  font-size: 32px;
  font-weight: 600;
  color: rgba(var(--bs-white-rgb), 0.82);
}

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--bs-primary);
  margin-bottom: 20px;
}

.section-intro {
  font-size: 18px;
  color: #6c757d;
}

/* =========================
   EMPRESA
========================= */
.empresa {
  background: var(--bs-primary);
  border-top: 10px solid var(--bs-secondary);
  border-bottom: 1px solid rgba(var(--bs-secondary-rgb), 0.4);
}

.empresa p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  line-height: 1.8;
}

/* accordion */
.empresa-item {
  border-bottom: 1px solid rgba(var(--bs-secondary-rgb));
}

.empresa-toggle {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-size: 20px;
  font-weight: 600;
  color: rgba(var(--bs-white-rgb), 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 15px;
}

.empresa-toggle::before,
.empresa-toggle::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.empresa-toggle:hover {
  color: rgba(var(--bs-white-rgb), 0.9);
}

.empresa-item.active .empresa-toggle {
  color: rgba(var(--bs-white-rgb));
  font-weight: 700;
}

.empresa-item.active .empresa-toggle::before,
.empresa-item.active .empresa-toggle::after {
  background: #fff;
}

.empresa-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.3s ease;
}

.empresa-item.active .empresa-content {
  max-height: 10000px;
  opacity: 1;
}

/* imagen hover */
.empresa-img-wrapper {
  position: relative;
  overflow: hidden;
}

.empresa-img {
  width: 100%;
  display: block;
  transition: opacity 0.8s ease, transform 1.2s ease;
}

.img-2 {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.empresa-img-wrapper:hover .img-2 {
  opacity: 1;
}

.empresa-img-wrapper:hover .img-1 {
  opacity: 0;
}

.empresa-img-wrapper:hover .empresa-img {
  transform: scale(1.03);
}

/* =========================
   EQUIPO
========================= */
.equipo-pro {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
  padding-top: 40px;
}

.equipo-row {
  padding-bottom: 50px;
  margin-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.equipo-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* contenedor cuadrado */
.equipo-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
}

/* imagen */
.equipo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.8s ease;
}

/* hover */
.equipo-row:hover .equipo-img img {
  transform: scale(1.06);
}

/* texto */
.equipo-texto {
  padding-left: 10px;
}

.equipo-nombre {
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 25px;
}

/* lista */
.equipo-lista {
  list-style: none;
  padding: 0;
  margin: 0;
}

.equipo-lista li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.equipo-lista li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 10px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

#equipo {
  scroll-margin-top: 160px;
}

/* =========================
   CREDIBILIDAD
========================= */
.credibilidad {
  background: #f8f9fb;
}

.credibilidad p {
  color: var(--bs-dark);
}

.credibilidad h6 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.cred-item {
  padding: 30px;
  border: 1px solid #e5e5e5;
  border-bottom: 3px solid var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), 0.08);
  transition: all 0.3s ease;
}

.cred-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.cred-icon {
  width: 60px;
  height: 60px;
  background: var(--bs-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cred-icon i {
  color: #fff;
  font-size: 22px;
}

/* =========================
   SECTORES
========================= */
.sectores-wrapper {
  overflow: hidden;
  margin-top: 50px;
}

.sectores-intro {
  font-size: 18px;
  line-height: 1.8;
  color: var(--bs-gray-600);
}

.sectores-slider:hover .sectores-track {
  animation-play-state: paused;
}

.sectores-track {
  display: flex;
  gap: 50px;
  width: max-content;
  animation: scrollSectores 30s linear infinite;
}

.sectores-track span {
  font-size: 18px;
  font-weight: 500;
  color: rgba(var(--bs-dark-rgb), 0.7);
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.sectores-track i {
  font-size: 18px;
  margin-right: 8px;
  color: rgba(var(--bs-dark-rgb), 0.35);
}

.sectores-track span::after {
  content: "•";
  margin-left: 50px;
  color: rgba(var(--bs-dark-rgb), 0.25);
}

@keyframes scrollSectores {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/* =========================
   SERVICIOS
========================= */
.servicios {
  background: var(--bs-secondary);
}

.servicio-row {
  position: relative;
}

.servicio-dark {
  background: rgba(0, 0, 0, 0.2);
}

.servicio-img {
  position: relative;
  min-height: 350px;
  overflow: hidden;
}

.servicio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.servicio-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
}

.servicio-text {
  display: flex;
  align-items: center;
}

.contenido {
  background: var(--bs-primary);
  padding: 40px;
  width: 100%;
}

.servicio-text h4 {
  margin-bottom: 15px;
}

/* lista */
.servicio-lista-pro {
  list-style: none;
  padding: 0;
}

.servicio-lista-pro li {
  padding-left: 22px;
  margin-bottom: 10px;
  position: relative;
}

.servicio-lista-pro li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.servicio-lista-pro li::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

/* =========================
   DIFERENCIALES
========================= */
.diferenciales {
  background: #f8f9fb;
}

.diferencial-item {
  padding: 25px;
  border-top: 2px solid var(--bs-primary);
}

.diferencial-item h6 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--bs-dark);
}

.diferencial-item p {
  font-size: 18px;
  line-height: 1.7;
  color: #6c757d;
  margin-bottom: 0;
}

/* =========================
   CONTACTO
========================= */
.contacto {
  border-top: 3px solid rgba(255, 255, 255, 0.4);
}

.contacto-mapa {
  width: 100%;
  height: 100%;
}

.contacto-mapa iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.contacto .form-control {
  border-radius: 0;
}

/* =========================
   FOOTER
========================= */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
}

.footer-text,
.footer-contact p,
.footer a {
  font-size: 15px;
  line-height: 1.8;
}

.footer-title {
  color: #fff;
  font-size: 15px;
  text-align: center;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.footer-contact p {
  margin-bottom: 16px;
  line-height: 1.7;
}

.footer a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #fff;
}

/* nav */
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* =========================
   FOOTER SOCIAL
========================= */
.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social-icon:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.04);
}

.footer-social-icon i {
  font-size: 16px;
}

/* bottom */
.footer-bottom {
  margin-top: 70px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* imagina */
.footer-imagina a {
  text-decoration: none;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.35);
  transition: all 0.3s ease;
}

.footer-imagina a:hover {
  color: #fff;
}

/* legal */
.footer-legal {
  position: relative;
  margin-left: 14px;
}

.footer-legal-trigger {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.3s ease;
}

.footer-legal-trigger:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* popup */
.footer-legal-box {
  position: absolute;
  left: 0;
  bottom: 28px;
  width: 260px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  font-size: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.35s ease;
  z-index: 20;
}

.footer-legal:hover .footer-legal-box {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* =========================
   REVEAL
========================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   TABLET
========================= */
@media (max-width: 991px) {
  .navbar-collapse {
    text-align: center;
    padding-top: 20px;
  }
  .navbar-nav {
    width: 100%;
  }
  .navbar .nav-item {
    width: 100%;
  }
  .navbar .nav-link {
    padding: 6px 10px;
    border-radius: 4px;
  }
  .navbar .nav-link::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .navbar .nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
  }
  .navbar .fa-stack {
    margin: 15px auto 0;
    display: block;
    border-left: none;
    padding-left: 0;
  }
}
/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .nav-item .btn {
    margin-top: 1rem;
  }
  .header {
    height: 650px;
  }
  .header .container {
    min-height: 650px;
  }
  /* mobile hero */
  .hero-slide:nth-child(1) {
    background-image: url("../images/pittamiglio-hero-image-mobile-3.jpg");
  }
  .hero-slide:nth-child(2) {
    background-image: url("../images/pittamiglio-hero-image-mobile-2.jpg");
  }
  .hero-slide:nth-child(3) {
    background-image: url("../images/pittamiglio-hero-image-mobile.jpg");
  }
  .header h1 {
    font-size: 42px;
  }
  .header .lead {
    font-size: 18px;
  }
  .fundador img {
    max-width: 70%;
    height: auto;
    display: block;
    margin-bottom: 1rem;
  }
  .navbar-social {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    justify-content: center;
    margin-top: 20px;
  }
  .footer-nav a {
    text-align: start;
  }
  .footer .footer-title h6 {
    text-align: start;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
}
