* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: #222; background: #fff; }
.container { width: min(1200px, 92%); margin: 0 auto; }
.site-header { background: #fff; border-bottom: 1px solid #e5e5e5; position: sticky; top: 0; z-index: 10; }
.header-content { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 0; }
.brand img { max-height: 58px; display: block; }
.main-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px; }
.main-nav a { color: #222; text-decoration: none; font-size: 14px; font-weight: 600; }
.main-nav a:hover { color: #0b6fb3; }
.hero { position: relative; min-height: 480px; overflow: hidden; display: grid; place-items: center; text-align: center; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.hero-overlay { position: relative; z-index: 1; color: #fff; padding: 32px; }
.hero-overlay h1 { margin: 0 0 12px; font-size: clamp(28px, 5vw, 54px); line-height: 1.1; }
.hero-overlay p { margin: 0; font-size: clamp(18px, 2.5vw, 28px); }
.clients { padding: 48px 0; }
.clients h2 { margin: 0; font-size: 28px; }
@media (max-width: 768px) { .header-content { align-items: flex-start; flex-direction: column; } .main-nav { justify-content: flex-start; gap: 10px 14px; } .hero { min-height: 360px; } }

html {
  scroll-behavior: smooth;
}

.content-section {
  padding-top: 80px;
  padding-bottom: 80px;
  scroll-margin-top: 90px;
}

.content-section:nth-child(even) {
  background: #f7f7f7;
}

.content-section h2 {
  margin-bottom: 16px;
}


/* Footer */
.site-footer {
  background: #1f1f1f;
  color: #ffffff;
  padding: 28px 10%;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
}

.site-footer .footer-content {
  max-width: 1100px;
  margin: 0 auto;
}

.site-footer p {
  margin: 4px 0;
}


/* Ajuste de tamaño del logo */
.logo img,
header img,
.navbar img,
.site-logo img {
  width: 100px;
  max-width: 100px;
  height: 140px;
}


.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: #f4f4f4;
  font-size: 15px;
}

.contact-link {
  color: #222;
  text-decoration: none;
}

.contact-link:hover {
  color: #005a9e;
  text-decoration: underline;
}

.contact-icon {
  margin-right: 6px;
}


.contact-info-section {
  background: transparent;
  justify-content: flex-start;
  padding-left: 0;
  padding-right: 0;
}


.contact-info-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}

.contact-info-section .contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info-section .contact-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1;
}

.outlook-icon {
  background: #0078d4;
  color: #ffffff;
  font-family: Arial, sans-serif;
}

.facebook-icon {
  background: #1877f2;
  color: #ffffff;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.phone-icon {
  font-size: 22px;
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.service-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
  margin-bottom: 14px;
}

.service-card ul {
  margin: 0;
  padding-left: 20px;
}

.service-card li {
  margin-bottom: 8px;
}

.carousel {
  overflow: hidden;
  width: 100%;
  margin-top: 28px;
  background: #ffffff;
  border-radius: 14px;
  padding: 24px 0;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: clientes-carousel 22s linear infinite;
}

.carousel-slide {
  width: 260px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
}

.carousel-slide img {
  max-width: 100%;
  max-height: 90px;
  object-fit: contain;
}

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

@keyframes clientes-carousel {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}


.content-section {
  padding: 70px 10%;
}

#servicios,
#clientes {
  padding: 70px 10%;
}

#servicios h2,
#clientes h2 {
  text-align: left;
  margin-bottom: 24px;
}
