
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f5f7fa;
  color: #111827;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* HERO */

.hero {
  position: relative;
  height: 85vh;
  min-height: 520px;
  background: url('../img/hero-bg.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.35);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 0 8%;
  max-width: 640px;
}

.hero-kicker {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 10px;
  color: #23395b;
}

.hero h1 {
  font-size: 40px;
  line-height: 1.15;
  color: #111827;
}

.hero h1 span {
  display: block;
}

.hero-subtitle {
  font-size: 18px;
  margin: 18px 0 28px;
  color: #374151;
}

.btn-primary {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  background: #114488;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #0c3669;
}

/* NAV */

.main-nav {
  background: #111827;
  color: #e5e7eb;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.main-nav a {
  color: #e5e7eb;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.main-nav a:hover {
  color: #ffffff;
}

/* SECTIONS */

.section {
  padding: 70px 16px;
}

.section-light {
  background: #ffffff;
}

.section-grey {
  background: #eef0f4;
}

.section-dark {
  background: #111827;
  color: #e5e7eb;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section h2 {
  font-size: 28px;
  margin-bottom: 18px;
}

.section p {
  margin: 0 0 14px;
  line-height: 1.7;
}

.section-number {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: #6b7280;
  margin-bottom: 8px;
}

/* LAYOUT */

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 38px;
  align-items: center;
}

.two-columns.reverse {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 2fr);
}

/* IMAGES / PLACEHOLDERS */

.image {
  width: 100%;
}

.image img {
  max-width: 100%;
  display: block;
}

.image-centered {
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-placeholder {
  width: 100%;
  min-height: 210px;
  border-radius: 12px;
  border: 1px dashed #c4c7d1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #6b7280;
  background: #f9fafb;
  font-size: 14px;
  padding: 12px;
}

.image-placeholder.dark {
  border-color: #4b5563;
  background: rgba(31, 41, 55, 0.75);
  color: #e5e7eb;
}

/* CLIENTES */

#clientes h2 {
  text-align: center;
}

.intro {
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: center;
}

.clientes-lista {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  justify-content: center;
  font-size: 15px;
}

.clientes-lista li::before {
  content: "• ";
  color: #114488;
}

/* CAROUSEL */

.carousel {
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
}

.carousel-track {
  display: flex;
  gap: 60px;
  animation: scroll 28s linear infinite;
}

.carousel img {
  width: 150px;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: all 0.3s ease;
}

.carousel img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* CONTACTO */

.form-wrapper {
  background: #020617;
  border-radius: 12px;
  padding: 22px 22px 26px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.form-wrapper h3 {
  margin-top: 0;
  margin-bottom: 14px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.contact-form label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-form input,
.contact-form textarea {
  border-radius: 8px;
  border: 1px solid #374151;
  padding: 8px 10px;
  font-size: 14px;
  font-family: inherit;
  background: #020617;
  color: #e5e7eb;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #2563eb;
  outline-offset: 1px;
}

/* FOOTER */

.footer {
  background: #020617;
  color: #9ca3af;
  padding: 22px 16px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  font-size: 14px;
}

.footer-name {
  font-weight: 600;
  color: #e5e7eb;
  margin: 0 0 4px;
}

.footer-tagline {
  margin: 0;
}

.footer-contact p {
  margin: 0;
}

.footer a {
  color: #e5e7eb;
}

/* WHATSAPP */

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #22c55e;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.6);
  z-index: 40;
}

.whatsapp-float:hover {
  background: #16a34a;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero {
    height: 70vh;
    min-height: 420px;
  }

  .hero-inner {
    padding: 0 24px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .two-columns,
  .two-columns.reverse {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-wrapper {
    margin-top: 24px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .nav-inner {
    justify-content: flex-start;
    gap: 12px;
  }

  .main-nav a {
    font-size: 11px;
  }

  .carousel img {
    width: 120px;
  }
}
