/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
  --blue: #01519c;
  --blue2: #003f78;
  --navy: #031b33;
  --red: #ff1726;
  --ice: #eef7ff;
  --white: #fff;
  --ink: #08233e;
  --muted: #5c7185;
  --line: rgba(7, 62, 111, 0.14);
  --shadow: 0 25px 80px rgba(2, 42, 75, 0.15);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
  overflow-x: hidden;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'%3E%3Ccircle cx='14' cy='14' r='9' fill='none' stroke='%2300569d' stroke-width='3'/%3E%3Cpath d='M21 21l8 8' stroke='%23ff1726' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") 12 12, auto;
}

body.catalog-open {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'%3E%3Ccircle cx='14' cy='14' r='9' fill='rgba(255,255,255,.92)' stroke='%23ff1726' stroke-width='3'/%3E%3Cpath d='M21 21l8 8' stroke='%2300569d' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") 12 12, pointer;
}

button,
input,
select,
textarea {
  font: inherit;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'%3E%3Ccircle cx='14' cy='14' r='9' fill='rgba(255,255,255,.92)' stroke='%23ff1726' stroke-width='3'/%3E%3Cpath d='M21 21l8 8' stroke='%2300569d' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") 12 12, pointer;
}

/* ==========================================================================
   2. ELEMENTOS FLOTANTES & UI GLOBALES
   ========================================================================== */
.scroll-progress {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--red);
  box-shadow: 0 0 18px rgba(255, 23, 38, 0.75);
}

.cursor-glow {
  position: fixed;
  z-index: -1;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 81, 156, 0.12), transparent 65%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  mix-blend-mode: multiply;
}

.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 800;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #20d66b;
  color: #fff;
  font-weight: 950;
  font-size: 25px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.22);
  border: 3px solid #fff;
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 800;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 87, 159, 0.15);
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 10px 25px rgba(0, 63, 120, 0.12);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: 0.3s;
}

.back-top.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

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

.reveal.in {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.22s;
}

/* ==========================================================================
   3. ENCABEZADO Y NAVEGACIÓN (HEADER & NAV)
   ========================================================================== */
.site-header {
  height: auto;
  min-height: fit-content;
  position: fixed;
  z-index: 900;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 4px clamp(15px, 3vw, 40px);
  background: #01519c;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transition: 0.35s var(--ease);
}

.site-header.scrolled {
  height: auto;
  background: #01519c;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.16);
}

.brand {
  width: 375px;
  flex: 0 0 375px;
  display: block;
  background-color: #01519c;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: left center;
  margin-top: 0px; /* Ubica la imagen del logo ~1.5cm más abajo */
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(7px, 0.8vw, 15px);
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 700;
  padding: 12px 0;
  transition: 0.25s;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
}

.main-nav a.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  border-radius: 4px;
}

.main-nav .nav-product {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  padding: 12px 2px;
  background: transparent;
  border: 0;
  white-space: nowrap;
  transition: 0.25s var(--ease);
}

.main-nav .nav-product:after {
  content: '↗';
  display: inline-block;
  margin-left: 6px;
  color: var(--red);
  font-size: 11px;
  transform: translate(-3px, 2px);
  opacity: 0;
  transition: 0.25s;
}

.main-nav .nav-product:hover,
.main-nav .nav-product:focus-visible {
  color: #fff;
  outline: none;
}

.main-nav .nav-product:hover:after,
.main-nav .nav-product:focus-visible:after {
  opacity: 1;
  transform: translate(0, 0);
}

.header-cta {
  background: var(--red);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 8px 25px rgba(255, 23, 38, 0.25);
}

.header-cta span {
  margin-left: 8px;
}

.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 25px;
}

/* ==========================================================================
   4. SECCIÓN HERO Y COMPONENTES
   ========================================================================== */
.hero {
  min-height: 410px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(500px, 0.97fr);
  align-items: center;
  padding: 80px clamp(24px, 7vw, 110px) 45px;
  background: linear-gradient(-118deg, #021d38 0%, #004783 47%, #01519c 100%);
  color: #fff;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(-90deg, #000, transparent 80%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.glow-a {
  width: 520px;
  height: 520px;
  right: 28%;
  top: 10%;
  background: radial-gradient(circle, rgba(0, 178, 255, 0.32), transparent 66%);
  animation: float 8s ease-in-out infinite;
}

.glow-b {
  width: 350px;
  height: 350px;
  right: -5%;
  bottom: 0;
  background: radial-gradient(circle, rgba(255, 23, 38, 0.18), transparent 66%);
  animation: float 10s ease-in-out infinite reverse;
}

.hero-copy {
  position: relative;
  z-index: 5;
  max-width: 690px;
  background-color: #01519c;
  padding: 24px;
  border-radius: 12px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 900;
  color: #fff;
  margin: 0 0 16px;
}

.eyebrow.red {
  color: var(--red);
}

.pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-radius: 50%;
  background: #36e17b;
  box-shadow: 0 0 0 0 rgba(54, 225, 123, 0.6);
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: clamp(38px, 4.5vw, 68px);
  line-height: 0.94;
  letter-spacing: -0.055em;
  margin: 0 0 18px;
  font-weight: 950;
}

.hero h1 em,
.section h2 em,
.prevention h2 em {
  font-style: normal;
  color: var(--red);
}

.lead {
  max-width: 580px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 20px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 20px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 900;
  transition: 0.28s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: translateX(-110%);
  transition: 0.6s;
}

.btn:hover:before {
  transform: translateX(110%);
}

.btn.primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 32px rgba(255, 23, 38, 0.28);
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(255, 23, 38, 0.35);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-3px);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  font-weight: 700;
}

.trust-row b {
  color: #fff;
  margin-right: 7px;
}

/* Escenario e Ilustración del Hero */
.hero-stage {
  position: relative;
  min-height: 295px;
}

.stage-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  animation: spin 20s linear infinite;
}

.ring-1 {
  width: 350px;
  height: 350px;
  right: 8%;
  top: 10%;
}

.ring-2 {
  width: 450px;
  height: 450px;
  right: -6%;
  top: -4%;
  border-style: dashed;
  animation-duration: 35s;
}

.scene-floor {
  position: absolute;
  left: 5%;
  right: -10%;
  bottom: 30px;
  height: 90px;
  transform: skewY(-5deg);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.15));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: -20px 80px rgba(0, 0, 0, 0.18);
}

.tech-shadow {
  position: absolute;
  width: 310px;
  height: 55px;
  right: 25%;
  bottom: 83px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  filter: blur(20px);
}

.technician-art {
  position: absolute;
  width: 230px;
  height: 330px;
  right: 24%;
  bottom: 92px;
  transform: rotate(5deg) scale(0.65);
  transform-origin: bottom right;
  filter: drop-shadow(0 25px 24px rgba(0, 0, 0, 0.22));
  animation: techFloat 5s ease-in-out infinite;
}

.technician-art > div {
  position: absolute;
}

.helmet {
  width: 90px;
  height: 46px;
  right: 105px;
  top: 15px;
  border-radius: 55px 55px 20px 20px;
  background: linear-gradient(145deg, #0b2e4e, #001728);
  box-shadow: inset 0 5px rgba(255, 255, 255, 0.1);
}

.head {
  width: 73px;
  height: 78px;
  right: 115px;
  top: 48px;
  border-radius: 38px;
  background: linear-gradient(145deg, #d9e8ef, #8096a4);
}

.mask {
  width: 60px;
  height: 25px;
  right: 120px;
  top: 91px;
  border-radius: 8px;
  background: #f2f7fa;
}

.torso {
  width: 165px;
  height: 205px;
  right: 76px;
  top: 125px;
  border-radius: 55px 55px 25px 25px;
  background: linear-gradient(145deg, #0a416e, #032542);
  transform: rotate(-8deg);
}

.torso:after {
  content: "PROCPLAG";
  position: absolute;
  top: 88px;
  left: 35px;
  color: #fff;
  font-weight: 950;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.arm {
  width: 54px;
  height: 180px;
  border-radius: 35px;
  background: linear-gradient(145deg, #0a416e, #021e37);
}

.arm-a {
  right: 43px;
  top: 140px;
  transform: rotate(-37deg);
}

.arm-b {
  right: 205px;
  top: 145px;
  transform: rotate(55deg);
}

.leg {
  width: 66px;
  height: 190px;
  border-radius: 35px;
  background: linear-gradient(145deg, #0a416e, #021d34);
}

.leg-a {
  right: 111px;
  top: 295px;
  transform: rotate(19deg);
}

.leg-b {
  right: 205px;
  top: 286px;
  transform: rotate(38deg);
}

.boot {
  width: 82px;
  height: 42px;
  border-radius: 25px 12px 12px 25px;
  background: #061726;
}

.boot-a {
  right: 72px;
  top: 448px;
  transform: rotate(8deg);
}

.boot-b {
  right: 207px;
  top: 426px;
  transform: rotate(32deg);
}

.sprayer-art {
  position: absolute;
  right: 7%;
  bottom: 75px;
  width: 130px;
  height: 300px;
  transform: rotate(4deg) scale(0.65);
  transform-origin: bottom right;
  animation: float 4s ease-in-out infinite reverse;
}

.tank {
  position: absolute;
  bottom: 0;
  left: 14px;
  width: 90px;
  height: 170px;
  border-radius: 25px 25px 34px 34px;
  background: linear-gradient(145deg, #f5f7f8, #9eb1bb);
  box-shadow: inset -12px 0 20px rgba(0, 0, 0, 0.12), 0 15px 35px rgba(0, 0, 0, 0.2);
}

.tank:after {
  content: "PROCPLAG";
  position: absolute;
  left: 12px;
  top: 77px;
  transform: rotate(-90deg);
  font-size: 10px;
  font-weight: 950;
  color: #01519c;
}

.tank-cap {
  position: absolute;
  left: 38px;
  bottom: 164px;
  width: 42px;
  height: 18px;
  border-radius: 8px;
  background: #263f51;
}

.hose {
  position: absolute;
  width: 100px;
  height: 135px;
  border: 6px solid #1d2932;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 70%;
  right: -35px;
  bottom: 112px;
  transform: rotate(24deg);
}

.wand {
  position: absolute;
  width: 12px;
  height: 145px;
  background: #e31b2d;
  right: -48px;
  bottom: 180px;
  transform: rotate(35deg);
  border-radius: 8px;
  box-shadow: 0 0 14px rgba(255, 23, 38, 0.3);
}

.scan-line {
  position: absolute;
  right: 2%;
  top: 20%;
  width: 56%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #47d9ff, transparent);
  box-shadow: 0 0 16px #47d9ff;
  animation: scan 4s ease-in-out infinite;
}

.floating-card {
  position: absolute;
  background: rgba(2, 27, 51, 0.68);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.17);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  border-radius: 18px;
}

.pest-radar {
  left: 0;
  top: 10px;
  width: 175px;
  padding: 16px;
  transform: scale(0.8);
  transform-origin: left top;
}

.radar-head {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.radar-head b {
  color: #4ff0a1;
}

.radar {
  height: 110px;
  position: relative;
  margin: 8px auto;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(66, 228, 167, 0.22), transparent 58%),
              conic-gradient(from 180deg, transparent, #33d69b, transparent 35%);
  border: 1px solid rgba(66, 228, 167, 0.5);
  overflow: hidden;
}

.radar:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 50%;
  background: #45e7a0;
  transform-origin: top;
  animation: radar 2.5s linear infinite;
}

.radar i {
  position: absolute;
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 12px #45e7a0;
}

.radar i:nth-child(1) { left: 30%; top: 36%; }
.radar i:nth-child(2) { left: 66%; top: 27%; }
.radar i:nth-child(3) { left: 56%; top: 72%; }
.radar i:nth-child(4) { left: 26%; top: 68%; }

.radar span {
  position: absolute;
  left: 48%;
  top: 48%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #45e7a0;
  box-shadow: 0 0 12px #45e7a0;
}

.pest-radar small {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  line-height: 1.4;
}

.mini-stat {
  right: 1%;
  top: 10%;
  padding: 10px 14px;
  display: grid;
  gap: 2px;
  transform: scale(0.8);
  transform-origin: right top;
}

.mini-stat strong {
  font-size: 20px;
}

.mini-stat span {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.58);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pest-list {
  right: 0;
  bottom: 20px;
  width: 190px;
  padding: 14px;
  transform: scale(0.8);
  transform-origin: right bottom;
}

.pest-list strong {
  display: block;
  font-size: 12px;
  margin-bottom: 8px;
}

.pest-list button {
  display: flex;
  width: 100%;
  justify-content: space-between;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  padding: 9px 2px;
  font-size: 10px;
  text-align: left;
}

.pest-list button:hover {
  color: #fff;
  padding-left: 6px;
}

.pest-list button span {
  color: var(--red);
}

.scroll-cue {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  z-index: 8;
}

.scroll-cue span {
  width: 18px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  position: relative;
}

.scroll-cue span:after {
  content: "";
  position: absolute;
  width: 3px;
  height: 6px;
  border-radius: 5px;
  background: #fff;
  left: 50%;
  top: 5px;
  transform: translateX(-50%);
  animation: scrollDot 1.7s infinite;
}

.hero-bottom-wave {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -42px;
  height: 95px;
  border-radius: 50% 50% 0 0;
  background: #fff;
}

/* MARQUEE STRIP */
.marquee-strip {
  height: 65px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--red);
  color: #fff;
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  gap: 28px;
  align-items: center;
  min-width: max-content;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.18em;
  animation: marquee 24s linear infinite;
}

.marquee-track i {
  font-style: normal;
  font-size: 16px;
}

/* ==========================================================================
   5. SECCIONES GENERALES & PLAGAS (PESTS)
   ========================================================================== */
.section {
  position: relative;
  padding: 120px clamp(24px, 7vw, 110px);
}

.section-intro {
  max-width: 500px;
}

.section h2 {
  font-size: clamp(39px, 4.4vw, 67px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 0 0 22px;
  font-weight: 950;
}

.section-intro > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}

.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 900;
  font-size: 13px;
}

.text-btn span {
  transition: 0.2s;
}

.text-btn:hover span {
  transform: translateX(5px);
}

.pests {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 70px;
  align-items: center;
  background: #fff;
}

.pest-carousel-wrap {
  position: relative;
  min-width: 0;
}

.pest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  overflow: hidden;
}

.pest-card {
  position: relative;
  min-height: 185px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #f6fbff;
  transition: 0.35s var(--ease);
  cursor: pointer;
}

.pest-card:hover {
  transform: translateY(-9px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 87, 159, 0.3);
}

.pest-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 15%, rgba(0, 87, 159, 0.18), transparent 36%),
              linear-gradient(145deg, #dff2ff, #fff);
  transition: 0.35s;
}

.pest-card:hover:before {
  transform: scale(1.08);
}

.pest-symbol {
  position: relative;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 58px;
  filter: drop-shadow(0 10px 10px rgba(0, 35, 66, 0.12));
  transition: 0.35s;
}

.pest-card:hover .pest-symbol {
  transform: translateY(-8px) scale(1.07);
}

.pest-info {
  position: relative;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid var(--line);
}

.pest-info strong {
  display: block;
  font-size: 12px;
}

.pest-info small {
  color: #6d8193;
  font-size: 9px;
}

.slider-btn {
  position: absolute;
  top: 44%;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue);
  box-shadow: 0 10px 25px rgba(0, 63, 120, 0.1);
  font-weight: 900;
}

.slider-btn:hover {
  background: var(--blue);
  color: #fff;
}

.slider-btn.prev {
  left: -19px;
}

.slider-btn.next {
  right: -19px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 18px;
}

.slider-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c8d8e5;
}

.slider-dots i.active {
  width: 20px;
  border-radius: 5px;
  background: var(--red);
}

/* ==========================================================================
   6. SERVICIOS (SERVICES)
   ========================================================================== */
.services {
  background: linear-gradient(135deg, #021c36, #07599e);
  color: #fff;
  display: grid;
  grid-template-columns: 0.72fr 1.5fr;
  gap: 60px;
  overflow: hidden;
}

.services:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.04)),
              radial-gradient(circle at 80% 10%, rgba(35, 192, 255, 0.18), transparent 35%);
  pointer-events: none;
}

.section-intro.light {
  position: relative;
  z-index: 2;
}

.section-intro.light > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
}

.light-btn {
  margin-top: 16px;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  position: relative;
  z-index: 2;
}

.service-card {
  position: relative;
  min-height: 445px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  transition: 0.4s var(--ease);
}

.service-card:hover {
  transform: translateY(-12px);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.service-number {
  position: absolute;
  z-index: 4;
  right: 14px;
  top: 14px;
  font-size: 11px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
}

.service-art {
  height: 230px;
  position: relative;
  overflow: hidden;
}

.service-art:before,
.article-art:before {
  content: "";
  position: absolute;
  inset: 0;
}

.service-art:after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  right: -30px;
  bottom: -50px;
  background: rgba(255, 255, 255, 0.11);
  filter: blur(2px);
}

.service-art.home {
  background: linear-gradient(135deg, #6e9fc1, #dbeaf1 48%, #6d91a2);
}

.service-art.home:before {
  background: linear-gradient(160deg, transparent 20%, rgba(255, 255, 255, 0.75) 20% 25%, transparent 25% 40%, rgba(2, 48, 82, 0.65) 40% 44%, transparent 44%);
}

.service-art.restaurant {
  background: linear-gradient(135deg, #4d3024, #e0ad73 52%, #211713);
}

.service-art.restaurant:before {
  background: repeating-linear-gradient(90deg, transparent 0 45px, rgba(255, 255, 255, 0.12) 46px 49px);
}

.service-art.industry {
  background: linear-gradient(135deg, #304b59, #9bb8c2 45%, #24323b);
}

.service-art.industry:before {
  background: linear-gradient(90deg, transparent 0 14%, rgba(255, 255, 255, 0.16) 14% 16%, transparent 16% 35%, rgba(255, 255, 255, 0.13) 35% 37%, transparent 37% 58%, rgba(255, 255, 255, 0.13) 58% 60%, transparent 60%);
}

.service-body {
  padding: 20px;
}

.service-body small {
  color: #8fdcff;
  font-weight: 900;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.service-body h3 {
  margin: 6px 0 8px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.service-body p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.5;
}

.service-body a {
  font-size: 11px;
  font-weight: 900;
  color: #fff;
}

.service-body a span {
  color: var(--red);
  margin-left: 6px;
}

.service-orbit {
  position: absolute;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  right: -180px;
  bottom: -230px;
}

/* ==========================================================================
   7. MÉTODO PROCPLAG
   ========================================================================== */
.method {
  background: #f5faff;
  overflow: hidden;
}

.method:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 87, 159, 0.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0, 87, 159, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(90deg, #000, transparent);
}

.method-head {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.method-progress {
  height: 2px;
  background: #d7e4ee;
  position: relative;
  margin: 60px 0 0;
}

.method-progress span {
  display: block;
  height: 100%;
  width: 20%;
  background: var(--red);
  transition: 0.5s var(--ease);
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 0;
}

.step {
  position: relative;
  padding: 35px 20px 25px;
  border-right: 1px solid var(--line);
  min-height: 220px;
  transition: 0.4s var(--ease);
}

.step:last-child {
  border-right: 0;
}

.step:before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #d6e3ed;
  border: 4px solid #f5faff;
  transition: 0.3s;
}

.step.active:before {
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(255, 23, 38, 0.12);
}

.step b {
  font-size: 12px;
  color: #7890a2;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: #e8f3fb;
  color: var(--blue);
  font-size: 25px;
  margin: 20px 0 16px;
  transition: 0.35s;
}

.step.active .step-icon {
  background: var(--blue);
  color: #fff;
  transform: rotate(-4deg) scale(1.06);
  box-shadow: 0 12px 28px rgba(0, 87, 159, 0.2);
}

.step h3 {
  font-size: 15px;
  margin: 0 0 8px;
}

.step p {
  font-size: 11px;
  color: #718394;
  line-height: 1.5;
  margin: 0;
}

.method-detail {
  display: flex;
  gap: 22px;
  align-items: center;
  position: relative;
  margin-top: 28px;
  padding: 18px 22px;
  border-left: 3px solid var(--red);
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 63, 120, 0.08);
  font-size: 11px;
  color: #65798b;
}

.method-detail strong {
  color: var(--blue);
  font-size: 10px;
  white-space: nowrap;
}

/* ==========================================================================
   8. ¿POR QUÉ ELEGIRNOS? Y PREVENCIÓN
   ========================================================================== */
.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
  background: #fff;
}

.why-panel {
  padding: 110px clamp(24px, 7vw, 100px);
}

.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin: 35px 0;
}

.benefits span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  color: #31516a;
}

.benefits b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #e9f4fc;
  color: var(--blue);
  font-size: 15px;
}

.prevention {
  position: relative;
  overflow: hidden;
  padding: 110px clamp(24px, 7vw, 100px);
  color: #fff;
  background: linear-gradient(135deg, #062c4d, #0067ad);
}

.prevention:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.12), transparent),
              radial-gradient(circle at 72% 35%, rgba(255, 255, 255, 0.15), transparent 28%);
}

.prevention > * {
  position: relative;
  z-index: 2;
}

.prevention p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  max-width: 420px;
  line-height: 1.6;
}

.prevention-grid {
  position: absolute !important;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, transparent, #000);
}

.prevention-orb {
  position: absolute !important;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  right: -160px;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 80px rgba(255, 255, 255, 0.025), 0 0 0 160px rgba(255, 255, 255, 0.018);
}

/* ==========================================================================
   9. DIAGNÓSTICO / WIZARD
   ========================================================================== */
.diagnostic {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
  background: #031c34;
  color: #fff;
  overflow: hidden;
}

.diagnostic:before {
  content: "";
  position: absolute;
  width: 800px;
  height: 800px;
  right: -300px;
  top: -350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 150, 255, 0.24), transparent 65%);
}

.diagnostic-copy {
  position: relative;
  z-index: 2;
}

.diagnostic-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.diag-counter {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 35px;
}

.diag-counter > span {
  font-size: 35px;
  font-weight: 950;
  color: var(--red);
}

.diag-counter div {
  display: grid;
}

.diag-counter b {
  font-size: 11px;
}

.diag-counter small {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
}

.wizard {
  position: relative;
  z-index: 2;
  min-height: 475px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 25px;
  padding: 25px;
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.2);
}

.wizard-progress {
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 20px;
}

.wizard-progress span {
  display: block;
  width: 33.33%;
  height: 100%;
  background: var(--red);
  transition: 0.45s var(--ease);
}

.wizard-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
}

.wizard-top i {
  height: 1px;
  flex: 1;
  background: rgba(255, 255, 255, 0.13);
}

.wizard-dot {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.wizard-dot.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.wizard-step {
  display: none;
  padding: 45px 15px 10px;
}

.wizard-step.active {
  display: block;
  animation: stepIn 0.45s var(--ease);
}

.wizard-step h3 {
  font-size: 26px;
  margin: 0 0 25px;
}

.wizard-note {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-bottom: 25px;
}

.options button {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-radius: 12px;
  padding: 15px 10px;
  font-size: 11px;
  font-weight: 800;
  transition: 0.25s;
}

.options button:hover,
.options button.selected {
  background: #fff;
  color: var(--blue);
  transform: translateY(-2px);
}

.mini-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.mini-form label,
.contact-form label {
  display: grid;
  gap: 7px;
  font-size: 10px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.72);
}

.mini-form input,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border-radius: 10px;
  padding: 13px 14px;
  outline: none;
  transition: 0.2s;
}

.mini-form input::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.mini-form input:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #4fc7ff;
  box-shadow: 0 0 0 3px rgba(79, 199, 255, 0.1);
}

.wizard-step small {
  display: block;
  color: #65e4a0;
  margin-top: 12px;
}

.wizard-result {
  display: none;
  min-height: 300px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 30px;
}

.wizard-result.show {
  display: flex;
  animation: stepIn 0.45s var(--ease);
}

.wizard-result > span {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #3fe69b;
  color: #002e25;
  font-size: 28px;
  font-weight: 900;
}

.wizard-result h3 {
  font-size: 28px;
  margin: 20px 0 7px;
}

.wizard-result p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

/* ==========================================================================
   10. BLOG & ARTÍCULOS
   ========================================================================== */
.blog {
  background: #fff;
}

.articles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 60px;
}

.article {
  border: 1px solid var(--line);
  border-radius: 17px;
  overflow: hidden;
  background: #fff;
  transition: 0.35s var(--ease);
  padding-bottom: 20px;
}

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

.article-art {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.article-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(0, 55, 95, 0.05), rgba(0, 55, 95, 0.45));
}

.article-art span {
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 13px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
}

.cockroach {
  background: radial-gradient(circle at 65% 45%, #2f1b0d 0 7%, transparent 8%),
              linear-gradient(135deg, #bdc9c2, #4d695e);
}

.rodent {
  background: radial-gradient(circle at 58% 52%, #46362c 0 12%, transparent 13%),
              linear-gradient(135deg, #c5a995, #4f6064);
}

.food {
  background: linear-gradient(135deg, #3e2518, #c89a62 50%, #21140e);
}

.termite {
  background: radial-gradient(circle at 50% 52%, #b87b34 0 11%, transparent 12%),
              linear-gradient(135deg, #e1b37a, #614229);
}

.article small,
.article h3,
.article a {
  margin-left: 17px;
  margin-right: 17px;
}

.article small {
  display: block;
  color: var(--red);
  font-size: 9px;
  letter-spacing: 0.1em;
  font-weight: 900;
  margin-top: 17px;
}

.article h3 {
  font-size: 17px;
  line-height: 1.2;
  margin-top: 7px;
  min-height: 42px;
}

.article a {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  color: var(--blue);
  margin-top: 10px;
}

/* ==========================================================================
   11. CONTACTO
   ========================================================================== */
.contact {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  padding: 120px clamp(24px, 7vw, 110px);
  background: #042440;
  color: #fff;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  opacity: 0.4;
}

.contact-bg span {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.contact-bg span:nth-child(1) { width: 650px; height: 650px; right: -250px; top: -200px; }
.contact-bg span:nth-child(2) { width: 420px; height: 420px; right: -130px; top: -85px; }
.contact-bg span:nth-child(3) { width: 250px; height: 250px; right: -45px; top: 0; }

.contact-copy,
.contact-form {
  position: relative;
  z-index: 2;
}

.contact-copy h2 {
  font-size: clamp(42px, 4.7vw, 70px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin: 0 0 20px;
}

.contact-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.67);
  line-height: 1.6;
  max-width: 420px;
}

.contact-links {
  display: grid;
  gap: 8px;
  margin-top: 35px;
}

.contact-links a {
  width: max-content;
  display: flex;
  gap: 25px;
  justify-content: space-between;
  min-width: 200px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 800;
}

.contact-links a span {
  color: var(--red);
}

.contact-form {
  padding: 28px;
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.2);
}

.form-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.form-heading > span {
  font-size: 29px;
  font-weight: 950;
  color: var(--red);
}

.form-heading div {
  display: grid;
}

.form-heading strong {
  font-size: 15px;
}

.form-heading small {
  color: rgba(255, 255, 255, 0.45);
  font-size: 9px;
  margin-top: 3px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.contact-form label {
  margin-bottom: 12px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-form select {
  appearance: auto;
}

.form-msg {
  font-size: 11px;
  color: #66e8a0;
  min-height: 16px;
}

/* ==========================================================================
   12. PIE DE PÁGINA (FOOTER)
   ========================================================================== */
.footer {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.9fr 0.8fr;
  gap: 40px;
  padding: 55px clamp(24px, 7vw, 110px);
  background: #02182d;
  color: rgba(255, 255, 255, 0.62);
}

.footer > div {
  display: grid;
  align-content: start;
  gap: 10px;
  font-size: 10px;
}

.footer strong {
  color: #fff;
  font-size: 11px;
  margin-bottom: 7px;
}

.footer-brand img {
  width: 180px;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: left center;
}

.footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
}

.footer a:hover {
  color: #fff;
}

/* ==========================================================================
   13. MODAL DE CATÁLOGO Y OVERLAY (V2.1, V2.2)
   ========================================================================== */
.catalog-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  opacity: 0;
}

.catalog-overlay.open {
  display: block;
  animation: catalogFade 0.35s ease forwards;
}

.catalog-overlay .magnetic {
  transition: transform 0.2s ease, box-shadow 0.28s var(--ease);
}

.catalog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 12, 25, 0.78);
  backdrop-filter: blur(12px);
}

.catalog-panel {
  position: absolute;
  inset: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: linear-gradient(125deg, #f8fbff 0%, #eef6fc 42%, #dcecf8 100%);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
  transform: translateY(24px) scale(0.985);
  animation: catalogPanelIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.04s forwards;
}

.catalog-close {
  position: absolute;
  z-index: 10;
  right: 24px;
  top: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(0, 43, 77, 0.18);
  background: rgba(255, 255, 255, 0.82);
  color: #002b4d;
  font-size: 32px;
  line-height: 1;
  box-shadow: 0 12px 30px rgba(0, 43, 77, 0.12);
  transition: 0.25s;
}

.catalog-close:hover {
  background: var(--red);
  color: #fff;
  transform: rotate(90deg) scale(1.05);
}

.catalog-progress {
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: rgba(0, 81, 156, 0.08);
}

.catalog-progress span {
  display: block;
  height: 100%;
  width: 16.66%;
  background: linear-gradient(90deg, var(--red), #0068b5);
  transition: width 0.45s ease;
}

.catalog-content {
  min-height: 0;
  flex: 1;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(24px, 5vw, 78px);
  padding: clamp(76px, 7vw, 104px) clamp(30px, 7vw, 110px) 28px;
  align-items: center;
}

.catalog-copy {
  position: relative;
  z-index: 3;
  max-width: 600px;
}

.catalog-index {
  margin: 0 0 15px;
  color: #01519c;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.catalog-copy h2 {
  font-size: clamp(40px, 5.3vw, 76px);
  line-height: 0.94;
  letter-spacing: -0.055em;
  color: #062c4d;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.catalog-lead {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.6;
  color: #36526a;
  max-width: 560px;
  margin: 0 0 25px;
}

.catalog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 30px;
}

.catalog-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 81, 156, 0.12);
  color: #164b70;
  font-size: 11px;
  font-weight: 850;
  box-shadow: 0 6px 18px rgba(0, 63, 120, 0.06);
}

.catalog-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.dark-btn {
  border-color: rgba(0, 63, 120, 0.25) !important;
  color: #073655 !important;
  background: #fff !important;
}

.dark-btn:hover {
  background: #eef7ff !important;
}

.catalog-visual {
  position: relative;
  height: min(68vh, 700px);
  min-height: 390px;
  border-radius: 28px;
  overflow: hidden;
  background: #062c4d;
  box-shadow: 0 28px 70px rgba(0, 63, 120, 0.22);
}

.catalog-visual:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(1, 22, 39, 0.72), transparent 48%, rgba(0, 18, 32, 0.08)),
              linear-gradient(0deg, rgba(0, 21, 38, 0.58), transparent 42%);
}

.catalog-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.02);
  transition: opacity 0.3s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.catalog-visual.swap img {
  opacity: 0.2;
  transform: scale(1.08);
}

.visual-glow {
  position: absolute;
  z-index: 2;
  width: 340px;
  height: 340px;
  right: -90px;
  top: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 177, 255, 0.35), transparent 65%);
  filter: blur(4px);
}

.visual-scan {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.4);
  opacity: 0.6;
  animation: visualScan 5s ease-in-out infinite;
}

.visual-caption {
  position: absolute;
  z-index: 4;
  left: 24px;
  right: 24px;
  bottom: 20px;
  padding: 15px 17px;
  border-radius: 16px;
  background: rgba(2, 27, 51, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  line-height: 1.5;
}

.catalog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(24px, 7vw, 110px);
  border-top: 1px solid rgba(0, 63, 120, 0.12);
  color: #49677e;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.catalog-footer div {
  display: flex;
  gap: 8px;
}

.catalog-footer button {
  border: 0;
  background: transparent;
  color: #01519c;
  font-weight: 900;
  font-size: 11px;
  padding: 8px 12px;
  border-radius: 999px;
}

.catalog-footer button:hover {
  background: rgba(0, 81, 156, 0.08);
}

/* MINI-EXPERIENCIAS (JOURNEY) */
.catalog-journey {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 25px;
  max-width: 610px;
}

.journey-step {
  display: grid;
  grid-template-columns: 30px 1fr;
  grid-template-rows: auto auto;
  column-gap: 9px;
  padding: 10px 11px;
  border: 1px solid rgba(0, 81, 156, 0.12);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 7px 18px rgba(0, 63, 120, 0.04);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.journey-step:hover {
  transform: translateY(-3px);
  background: #fff;
  border-color: rgba(0, 81, 156, 0.24);
}

.journey-step b {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #01519c;
  color: #fff;
  font-size: 9px;
  font-weight: 950;
}

.journey-step strong {
  font-size: 10px;
  letter-spacing: 0.07em;
  color: #062c4d;
}

.journey-step span {
  font-size: 9px;
  line-height: 1.35;
  color: #61788a;
  margin-top: 2px;
}

.catalog-source-note {
  font-size: 9px;
}

/* ==========================================================================
   14. ANIMACIONES KEYFRAMES
   ========================================================================== */
@keyframes float {
  50% { transform: translateY(-16px); }
}

@keyframes techFloat {
  50% { transform: rotate(3deg) translateY(-9px); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes scan {
  0%, 100% { transform: translateY(-90px); opacity: 0; }
  20%, 80% { opacity: 1; }
  50% { transform: translateY(240px); }
}

@keyframes radar {
  to { transform: rotate(360deg); }
}

@keyframes scrollDot {
  50% { transform: translate(-50%, 8px); opacity: 0.2; }
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes stepIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: none; }
}

@keyframes catalogFade {
  to { opacity: 1; }
}

@keyframes catalogPanelIn {
  to { transform: none; }
}

@keyframes visualScan {
  0%, 100% { transform: translateY(-170px); opacity: 0; }
  18%, 75% { opacity: 0.6; }
  50% { transform: translateY(170px); opacity: 0.9; }
}

/* ==========================================================================
   15. MEDIA QUERIES (RESPONSIVE DESIGN)
   ========================================================================== */

/* Laptop / Desktop pequeños (Max 1250px) */
@media (max-width: 1250px) {
  .site-header {
    gap: 14px;
  }
  .brand {
    width: 315px;
    flex-basis: 315px;
  }
  .main-nav .nav-product {
    font-size: 11px;
  }
  .header-cta {
    display: none;
  }
}

/* Tablets horizontales / Pantallas medianas (Max 1080px) */
@media (max-width: 1080px) {
  .site-header {
    height: auto;
  }
  .site-header.scrolled {
    height: auto;
  }
  .brand {
    width: 250px;
    flex-basis: 250px;
  }
  .brand img {
    margin-top: 50px;
  }
  .main-nav .nav-product {
    font-size: 10.5px;
    padding: 12px 1px;
  }
  .catalog-content {
    grid-template-columns: 1fr 1fr;
    padding-left: clamp(25px, 4vw, 55px);
    padding-right: clamp(25px, 4vw, 55px);
  }
  .catalog-copy h2 {
    font-size: clamp(36px, 5vw, 60px);
  }
}

/* Tablets en vertical (Max 1050px) */
@media (max-width: 1050px) {
  .main-nav {
    gap: 16px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 75px;
  }
  .hero-stage {
    min-height: 260px;
    margin-top: 10px;
  }
  .hero-copy {
    max-width: 760px;
  }
  .pests,
  .services,
  .diagnostic,
  .contact {
    grid-template-columns: 1fr;
  }
  .service-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .why {
    grid-template-columns: 1fr;
  }
  .why-panel,
  .prevention {
    padding-top: 85px;
    padding-bottom: 85px;
  }
  .articles {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Dispositivos móviles (Max 760px) */
@media (max-width: 760px) {
  body {
    cursor: auto;
  }
  a,
  button,
  input,
  select,
  textarea {
    cursor: pointer;
  }
  .site-header {
    height: auto;
    gap: 8px;
    padding: 6px 18px;
  }
  .site-header.scrolled {
    height: auto;
  }
  .brand {
    width: 180px;
    flex-basis: 180px;
  }
  .brand img {
    margin-top: 20px;
  }
  .main-nav {
    display: none;
  }
  .main-nav.mobile-open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    padding: 12px 20px 22px;
    background: rgba(3, 27, 51, 0.98);
    backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    max-height: calc(100vh - 64px);
  }
  .main-nav.mobile-open a {
    padding: 13px 4px;
  }
  .main-nav.mobile-open a.active:after {
    left: 0;
    right: auto;
    bottom: 5px;
    width: 35px;
  }
  .main-nav.mobile-open .nav-product {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    padding: 15px 4px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .main-nav.mobile-open .nav-product:after {
    opacity: 1;
  }
  .header-cta {
    display: none;
  }
  .menu-btn {
    display: block;
    margin-left: auto;
  }
  .hero {
    min-height: 460px;
    padding: 60px 20px 35px;
    display: block;
  }
  .hero h1 {
    font-size: 42px;
  }
  .lead {
    font-size: 15px;
  }
  .trust-row {
    gap: 10px;
    display: grid;
  }
  .hero-stage {
    min-height: 235px;
    margin-top: 15px;
  }
  .technician-art {
    right: 22%;
    transform: scale(0.5) rotate(5deg);
    transform-origin: bottom right;
  }
  .sprayer-art {
    right: 0;
    transform: scale(0.48);
  }
  .ring-1 {
    width: 240px;
    height: 240px;
    right: 5%;
    top: 13%;
  }
  .ring-2 {
    width: 320px;
    height: 320px;
    right: -10%;
    top: 3%;
  }
  .pest-radar {
    left: -3px;
    top: 20px;
    transform: scale(0.6);
    transform-origin: left top;
  }
  .pest-list {
    right: -2px;
    bottom: 40px;
    transform: scale(0.64);
    transform-origin: right bottom;
  }
  .mini-stat {
    right: 5px;
    top: 11%;
    transform: scale(0.6);
    transform-origin: right top;
  }
  .scroll-cue {
    display: none;
  }
  .marquee-strip {
    height: 55px;
  }
  .section {
    padding: 80px 20px;
  }
  .section h2 {
    font-size: 41px;
  }
  .pest-carousel-wrap {
    margin-top: 20px;
  }
  .pest-grid {
    display: flex;
    gap: 12px;
    overflow: hidden;
  }
  .pest-card {
    flex: 0 0 calc(50% - 6px);
  }
  .slider-btn.prev { left: -8px; }
  .slider-btn.next { right: -8px; }
  .services {
    gap: 35px;
  }
  .service-cards {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: 390px;
  }
  .service-art {
    height: 205px;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: 200px;
  }
  .step:nth-child(odd) {
    border-right: 1px solid var(--line);
  }
  .method-progress {
    margin-top: 35px;
  }
  .method-detail {
    display: grid;
    gap: 6px;
  }
  .benefits,
  .articles {
    grid-template-columns: 1fr;
  }
  .article h3 {
    min-height: 0;
  }
  .diagnostic {
    gap: 30px;
  }
  .wizard {
    padding: 18px;
    min-height: 520px;
  }
  .wizard-step {
    padding: 35px 5px 5px;
  }
  .options {
    grid-template-columns: 1fr 1fr;
  }
}