/* Fuente local */
@font-face {
  font-family: '__DM_Sans_6fe068';
  src: url('fonts/DMSans-Regular.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TT Supermolot Neue';
  src: url('fonts/TTSupermolotNeue-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

.logo {
  font-family: 'TT Supermolot Neue', sans-serif;
  font-size: 26px;
  font-weight: 900;
   
  letter-spacing: -0.5px;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: '__DM_Sans_6fe068', sans-serif;
  background-color: #fff;
  color: #1a1a1a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.header {
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  padding: 20px 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 26px;
  font-weight: 700;
  color: #528db9;
  letter-spacing: -0.5px;
}

.nav a {
  margin-left: 30px;
  text-decoration: none;
  color: #222;
  font-weight: 500;
  font-size: 16px;
  position: relative;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #ff9459;
}

/* Hero */
.hero {
  padding: 120px 0;
  background-color: #ffffff;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 768px) {
  .hero-grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.hero-text {
  flex: 1;
}

.hero-subtitle {
  color: #6b7280;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 500;
}

.hero h1 {
  font-size: 68px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.5px;
  color: #1f2937;
  margin-bottom: 30px;
}

.hero-image img {
  max-width: 100%;
  height: auto;
}
.slogan {
  font-size: 22px;
  font-weight: 600;
  color: #0e4f83;
  margin-bottom: 30px;
}
/* Botón */
.btn-contact {
  display: inline-block;
  background-color: #0e4f83; /* nuevo azul */
  color: white;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-contact:hover {
  background-color: #093a63; /* versión más oscura para hover */
  transform: translateY(-2px);
}

/* Sección ¿Por qué elegirnos? */
.why-choose-us {
  padding: 100px 0 80px;
  background-color: #f9fafb;
  text-align: center;
}

.why-choose-us .section-title {
  font-size: 32px;
  margin-bottom: 20px;
}

.why-subtitle {
  font-size: 20px;
  color: #4b5563;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  justify-content: center;
  align-items: start;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: #0e4f83;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.5;
}

/* section clientes
/* Fondo blanco para sección de clientes */
.section.white {
  background-color: #ffffff;
}
.our-clients {
  padding: 100px 0; /* mismo que otras secciones */
  background-color: #ffffff;
}
.slider-clientes {
  overflow: hidden;
  position: relative;
  margin-top: 30px;
  padding: 10px 0;
}

.slider-track {
  display: flex;
  width: calc(200px * 8); /* ajusta si cambias cantidad de logos */
  animation: scroll 30s linear infinite;
}

.slide {
  flex: 0 0 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.slide img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.8;
}

.slide img:hover {
  transform: scale(1.05);
  opacity: 1;
}

/* Animación suave infinita tipo Stripe */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* SECTION ABOUT 
/* Reajustar el grid */
.about-modern {
  padding: 80px 0;
  background-color: #f9fafb;
}

.about-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
  background-color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.about-card.reverse {
  flex-direction: column;
}

.about-image,
.about-text {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ajustes para escritorio */
@media (min-width: 992px) {
  .about-card {
    flex-direction: row;
    min-height: 450px;
  }

  .about-card.reverse {
    flex-direction: row-reverse;
  }

  .about-image,
  .about-text {
    height: auto;
  }

  .about-image img {
    height: 100%;
  }

  .about-text {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.about-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #0e4f83;
}

.about-text p {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.6;
}

/* Sección Servicios */
.services {
  padding: 80px 0;
  background-color: #ffffff;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  color: #1f2937;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.service-card h3 {
  font-size: 22px;
    text-align: center;
  margin-bottom: 15px;
  color: #111827;
}

 
.service-card p {
  font-size: 16px;
  color: #4b5563;
}

/* Sección Proceso */

.process {
padding: 80px 0 100px; /* top right-left bottom */
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.article-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  text-decoration: none;
  color: #1f2937;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.article-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #0e4f83;
}

.article-card p {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 8px;
}

.article-card .meta {
  font-size: 13px;
  color: #9ca3af;
}


/* Footer */
.footer {
  background-color: #1f2937;
  color: #f3f4f6;
  padding: 50px 0 30px;
  font-size: 14px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ff9459;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  color: #9ca3af;
}
