html {
  scroll-behavior: smooth;
}

:root {
  --bg: #eef3f8;
  --white: #ffffff;
  --text: #162033;
  --muted: #5f6b7a;
  --line: #d7e0ea;
  --primary: #1e4fae;
  --primary-2: #24427d;
  --primary-dark: #143975;
  --dark: #0d1830;
  --dark-2: #13213f;
  --soft-blue: #e8eff9;
  --soft-panel: #f7faff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.06);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, #f8fbff 0%, #eef3f8 46%, #e7edf5 100%);
  color: var(--text);
}

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

.container {
  width: min(92%, 1240px);
  margin: 0 auto;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(215, 224, 234, 0.95);
}

.header-container {
  min-height: 92px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.logo {
  height: 108px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-nav a {
  text-decoration: none;
  color: #263247;
  font-weight: 500;
  font-size: 15px;
  padding: 11px 14px;
  border-radius: 10px;
  transition: 0.25s ease;
}

.main-nav a:hover {
  color: var(--primary);
  background: rgba(30, 79, 174, 0.07);
}

.main-nav .nav-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(30, 79, 174, 0.16);
}

.main-nav .nav-btn:hover {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

/* HERO */

/* HERO */

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 90px;
  min-height: 720px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f1b34 0%, #12254a 50%, #1f3c70 100%);
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s ease, transform 6s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(8, 15, 28, 0.78), rgba(8, 15, 28, 0.42)),
    linear-gradient(to top, rgba(8, 15, 28, 0.25), rgba(8, 15, 28, 0.15));
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 52px;
  align-items: center;
}

.hero-copy {
  color: var(--white);
  max-width: 720px;
}

.hero-tag {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.hero-text {
  margin: 22px 0 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.metric {
  min-width: 132px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.metric strong {
  display: block;
  font-size: 24px;
  color: var(--white);
}

.metric span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: 0.25s ease;
}

.hero-dot.active {
  background: #ffffff;
  transform: scale(1.15);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.25s ease;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 14px 30px rgba(30, 79, 174, 0.24);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.13);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.metric {
  min-width: 132px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.metric strong {
  display: block;
  font-size: 24px;
  color: var(--white);
}

.metric span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  width: min(100%, 520px);
  padding: 14px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 28px 70px rgba(4, 10, 28, 0.32);
  backdrop-filter: blur(14px);
}

.hero-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 20px;
}

/* INTRO BAND */

.intro-band {
  margin-top: -38px;
  position: relative;
  z-index: 3;
}

.intro-band-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.intro-item {
  padding: 28px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98));
  border: 1px solid rgba(215, 224, 234, 0.85);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.intro-item h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.intro-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

/* SECTIONS */

.section {
  padding: 96px 0;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(232, 239, 249, 0.82));
}

.section-white {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.section-accent {
  background:
    linear-gradient(135deg, #112242 0%, #16305b 54%, #27477e 100%);
  color: var(--white);
}

.section-dark {
  background:
    linear-gradient(135deg, #0d1830 0%, #101f3d 100%);
  color: var(--white);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kicker-light {
  color: #b9cff9;
}

.section-head h2,
.benefits-copy h2,
.cotizacion-copy h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-head p,
.benefits-copy p,
.contact-copy p {
  margin: 16px auto 0;
  color: var(--muted);
  line-height: 1.8;
  max-width: 660px;
}

.section-accent .benefits-copy p,
.section-dark .contact-copy p {
  color: rgba(255, 255, 255, 0.78);
}

/* SECTORES */

.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.sector-card {
  padding: 28px 24px 26px;
  border: 1px solid rgba(215, 224, 234, 0.86);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow: var(--shadow-soft);
  transition: 0.3s ease;
}

.sector-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.sector-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(30, 79, 174, 0.12), rgba(30, 79, 174, 0.04));
  color: var(--primary);
  font-weight: 800;
  font-size: 20px;
}

.sector-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.sector-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* UNIFORMES */

.uniform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.uniform-card {
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(215, 224, 234, 0.92);
  box-shadow: var(--shadow-soft);
  transition: 0.35s ease;
}

.uniform-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.uniform-image {
  position: relative;
  overflow: hidden;
}

.uniform-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: 0.45s ease;
}

.uniform-card:hover .uniform-image img {
  transform: scale(1.04);
}

.uniform-content {
  padding: 22px 20px 24px;
}

.uniform-content h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.uniform-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* BENEFITS */

.benefits-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.benefit-card {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.benefit-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.benefit-card p {
  margin: 0;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.76);
}

/* PROCESS */

.process-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.process-card {
  padding: 26px 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid rgba(215, 224, 234, 0.9);
  box-shadow: var(--shadow-soft);
}

.step {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.process-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* COTIZACION */

.cotizacion-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.cotizacion-copy {
  padding-top: 6px;
}

.nota {
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}

.nota-strong {
  margin-top: 12px;
  color: var(--text);
  font-weight: 700;
}

.form-cotizacion {
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid rgba(215, 224, 234, 0.94);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 14px;
  padding: 15px 16px;
  font: inherit;
  color: var(--text);
  outline: none;
  transition: 0.2s ease;
}

input:focus,
textarea:focus {
  border-color: rgba(30, 79, 174, 0.65);
  box-shadow: 0 0 0 4px rgba(30, 79, 174, 0.08);
}

textarea {
  min-height: 132px;
  resize: vertical;
  margin-top: 16px;
}

button {
  width: 100%;
  margin-top: 18px;
  min-height: 54px;
  border: none;
  border-radius: 14px;
  font: inherit;
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 14px 28px rgba(30, 79, 174, 0.18);
  transition: 0.25s ease;
}

button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

/* CONTACT */

.contact-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
}

.contacto-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contacto-links a {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: 0.25s ease;
}

.contacto-links a:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.13);
}

.contacto-links img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

/* FOOTER */

.site-footer {
  background: #091124;
  color: rgba(255, 255, 255, 0.9);
}

.footer-content {
  min-height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-content p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

/* FLOAT */

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
  z-index: 999;
  transition: 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* ANIMACIONES */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* RESPONSIVE */

@media (max-width: 1100px) {
  .hero-layout,
  .benefits-wrap,
  .cotizacion-wrap {
    grid-template-columns: 1fr;
  }

  .uniform-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-line {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-card img {
    height: 420px;
  }

  .contact-panel {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 820px) {
  .header-container {
    flex-direction: column;
    justify-content: center;
    padding: 14px 0 18px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .intro-band-grid,
  .sector-grid,
  .benefits-grid,
  .form-grid,
  .process-line,
  .uniform-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 56px 0 72px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-card img {
    height: 320px;
  }

  .logo {
    height: 92px;
  }

  .section {
    padding: 76px 0;
  }

  .footer-content {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 24px 0;
  }
}
