* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #182333;
  background: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* HEADER */

.site-header {
  min-height: 100vh;
  color: #ffffff;
  background: linear-gradient(120deg, rgba(16, 24, 39, .88), rgba(16, 24, 39, .58)), url('../_IMG/carousel-1.jpg') center / cover no-repeat;
}

/* NAVEGACIÓN */

.nav {
  position: relative;
  z-index: 4;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 5vw, 72px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  font-weight: 900;
  letter-spacing: .04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 700;
}

.nav-links a {
  opacity: .9;
}

.nav-links a:hover {
  color: #f59e0b;
  opacity: 1;
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #101827 !important;
}

.menu-btn {
  display: none;
  border: 0;
  background: none;
  color: #ffffff;
  font-size: 30px;
}

/* HERO */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .85fr);
  gap: 46px;
  align-items: center;
  padding: 80px clamp(20px, 5vw, 72px) 100px;
}

.hero-content {
  max-width: 980px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 900;
  color: #f59e0b;
  font-size: .82rem;
}

.hero h1 {
  max-width: 980px;
  margin: 12px 0 22px;
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  line-height: .94;
}

.hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.trust-row span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
}

/* BOTONES */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 15px 24px;
  font-weight: 900;
  cursor: pointer;
  transition: .2s transform, .2s box-shadow;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #f59e0b;
  color: #111111;
  box-shadow: 0 14px 30px rgba(245, 158, 11, .32);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .12);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.btn-light {
  background: #ffffff;
  color: #111111;
}

/* SECCIONES GENERALES */

.section-pad {
  padding: 90px clamp(20px, 5vw, 72px);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head h2 {
  margin: 8px 0 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.section-head p {
  color: #6b7280;
  line-height: 1.65;
}

/* ESTADÍSTICAS */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: #f8fafc;
}

.stats div {
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 28px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(16, 24, 39, .06);
}

.stats strong {
  display: block;
  color: #b45309;
  font-size: 2.4rem;
}

.stats span {
  color: #6b7280;
  font-weight: 700;
}

/* SERVICIOS */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(16, 24, 39, .08);
  transition: .25s transform, .25s box-shadow;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(16, 24, 39, .16);
}

.service-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.service-card h3 {
  margin: 22px 22px 8px;
  font-size: 1.35rem;
}

.service-card p {
  margin: 0 22px 24px;
  color: #6b7280;
  line-height: 1.65;
}

/* BLOQUE DIVIDIDO */

.split {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: 56px;
  align-items: center;
  background: #f8fafc;
}

.split-img img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: 0 24px 60px rgba(16, 24, 39, .16);
}

.split-content h2 {
  margin: 8px 0 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.split-content p {
  color: #6b7280;
  line-height: 1.75;
}

/* LISTA CHECK */

.check-list {
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 11px 0 11px 34px;
  font-weight: 700;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #b45309;
  font-weight: 900;
}

/* ZONAS DE SERVICIO */

.service-areas {
  background: #ffffff;
}

.area-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}

.area-list span {
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 16px 20px;
  background: #f8fafc;
  text-align: center;
  font-weight: 900;
  color: #182333;
}

/* SECCIÓN OSCURA */

.dark {
  background: #101827;
  color: #ffffff;
}

.dark .section-head p {
  color: rgba(255, 255, 255, .74);
}

/* GALERÍA */

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-auto-rows: 250px;
  gap: 18px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.gallery img:first-child {
  grid-row: span 2;
}

/* PROCESO */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-grid article {
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 28px;
  background: #ffffff;
}

.process-grid span {
  color: #b45309;
  font-weight: 1000;
  font-size: 2rem;
}

.process-grid p {
  color: #6b7280;
  line-height: 1.65;
}

/* FAQ */

.faq-section {
  background: #f8fafc;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.faq-card {
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 28px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(16, 24, 39, .06);
}

.faq-card h3 {
  margin-top: 0;
}

.faq-card p {
  color: #6b7280;
  line-height: 1.65;
}

/* CTA */

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 0 clamp(20px, 5vw, 72px);
  border-radius: 34px;
  padding: 48px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #111111;
  box-shadow: 0 24px 60px rgba(16, 24, 39, .16);
}

.cta-band h2 {
  margin: 8px 0 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.cta-band .eyebrow {
  color: #111111;
}

.cta-band p {
  max-width: 700px;
}

/* CONTACTO */

.contact {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: 30px;
}

.contact-card {
  border: 1px solid #e5e7eb;
  border-radius: 32px;
  padding: 34px;
  background: #ffffff;
  box-shadow: 0 14px 45px rgba(16, 24, 39, .08);
}

.contact-card h2 {
  margin: 8px 0 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.contact-lines {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-lines a {
  padding: 16px;
  border-radius: 18px;
  background: #f8fafc;
  font-weight: 900;
}

/* FORMULARIO */

.form {
  display: grid;
  gap: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 32px;
  padding: 34px;
  background: #ffffff;
  box-shadow: 0 14px 45px rgba(16, 24, 39, .08);
}

.form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.form input {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
}

.form select {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
}

.form textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
}

.form input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, .16);
}

.form select:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, .16);
}

.form textarea:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, .16);
}

.form-check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px !important;
  color: #6b7280;
  font-size: .95rem;
  font-weight: 700 !important;
  line-height: 1.45;
}

.form-check input {
  width: auto;
  margin-top: 4px;
}

.form-check a {
  color: #b45309;
  text-decoration: underline;
}

.form-note {
  margin: 0;
  color: #6b7280;
  font-size: .95rem;
  line-height: 1.5;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px !important;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* FOOTER */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(20px, 5vw, 72px);
  background: #0b1220;
  color: #ffffff;
}

.footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, .65);
}

.footer div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

/* WHATSAPP */

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #22c55e;
  color: #ffffff;
  font-weight: 1000;
  font-size: 24px;
  box-shadow: 0 18px 36px rgba(34, 197, 94, .35);
}

/* INICIO */
    
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f59e0b;
  color: #111111;
  font-size: 26px;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(16, 24, 39, .22);
}

.back-to-top:hover {
  transform: translateY(-2px);
} 


/* TABLET */

@media (max-width: 980px) {
  .menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 82px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    border-radius: 20px;
    padding: 18px;
    background: #ffffff;
    color: #111111;
    box-shadow: 0 24px 60px rgba(16, 24, 39, .16);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    background: #f59e0b !important;
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .split-img img {
    height: 380px;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }

  .area-list {
    grid-template-columns: 1fr 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .gallery img:first-child {
    grid-row: auto;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* MÓVIL */

@media (max-width: 620px) {
  .stats {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .area-list {
    grid-template-columns: 1fr;
  }

  .nav {
    padding-inline: 16px;
  }

  .brand img {
    width: 210px;
  }

  .section-pad {
    padding: 64px 16px;
  }

  .hero {
    padding-inline: 16px;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .cta-band {
    margin: 0 16px;
    padding: 30px;
  }

.footer {
    flex-direction: column;
    align-items: flex-start;
  }

}