:root{
  /* stronger red–orange accent range for buttons and highlights */
  --accent: #ff3f21; /* primary (reddish) */
  --accent-2: #ff7a1a; /* orangey */
  --accent-3: #ff6a00; /* deep orange */
  --dark-bg:#0f1720;
  --glass: rgba(255,255,255,0.04);
}

/* Preload overlay styles (flame animation) */
#preloadOverlay{
  position:fixed;
  inset:0;
  background: rgba(6,8,12,0.92);
  z-index:1080;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:opacity .55s ease, visibility .55s ease;
  opacity:1;
  visibility:visible;
}

/* center content */
.preload-center{
  text-align:center;
  color: #fff;
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:center;
  justify-content:center;
  padding:18px;
}

/* Flame wrapper sizes */
.flame-wrap{ width:96px; height:128px; display:flex; align-items:center; justify-content:center; }

/* subtle idle flame bob + flicker */
.flame{
  display:block;
  will-change: transform, opacity;
  animation: flameBob 1600ms ease-in-out infinite;
  transform-origin: 50% 80%;
}
@keyframes flameBob{
  0% { transform: translateY(0) scale(1); opacity:1; }
  40% { transform: translateY(-3px) scale(1.02); opacity:0.98; }
  100% { transform: translateY(0) scale(1); opacity:1; }
}

/* inner core glow pulse */
.flame-core{ transform-origin: 50% 70%; animation: corePulse 1100ms ease-in-out infinite; }
@keyframes corePulse{
  0% { transform: scale(1); opacity:1; }
  50% { transform: scale(1.04); opacity:0.98; }
  100% { transform: scale(1); opacity:1; }
}

/* outer flame gentle flicker */
.flame-outer{ transform-origin: 50% 80%; animation: outerFlicker 800ms linear infinite; opacity:0.98; }
@keyframes outerFlicker{
  0%{ transform: scaleY(1); }
  50%{ transform: scaleY(1.03); }
  100%{ transform: scaleY(1); }
}

/* glow ellipse */
.flame-glow{ transition: opacity .6s ease, transform .6s ease; }

/* smoke (hidden until extinguish) */
.smoke{ transform-origin: 50% 110%; transition: transform 1100ms cubic-bezier(.2,.9,.2,1), opacity 1100ms ease; }

/* extinguish sequence: shrink flame, fade core, reveal rising smoke */
.flame-wrap.extinguish .flame{ animation: extinguishScale .9s ease forwards; }
@keyframes extinguishScale{
  0% { transform: translateY(0) scale(1); opacity:1; }
  60% { transform: translateY(6px) scale(0.8); opacity:0.9; }
  100% { transform: translateY(16px) scale(0.4); opacity:0.18; }
}
.flame-wrap.extinguish .flame-core{ opacity:0; transform: scale(0.6); transition: opacity .9s ease, transform .9s ease; }
.flame-wrap.extinguish .flame-outer{ opacity:0.06; transform: scale(0.6); transition: opacity .9s ease, transform .9s ease; }

/* smoke reveal */
.flame-wrap.extinguish .smoke{ opacity:1; transform: translateY(-28px); transition-delay: 220ms; }

/* Fade overlay out after animation (kept simple) */
#preloadOverlay.hidden{ opacity:0; visibility:hidden; pointer-events:none; transition-duration:500ms; }

/* Preload text */
.preload-text{
  font-size:43px;
  color: rgba(255,255,255,0.9);
  letter-spacing:0.2px;
}

/* General layout */
body{
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: linear-gradient(180deg,#071020 0%, #08121a 100%);
  color: #e6eef8;
  padding-top: 72px; /* nav height */
  -webkit-font-smoothing:antialiased;
    overflow-x: hidden;

}

/* Ensure main sections occupy at least the viewport height for better visibility */
header.hero-section,
section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Navbar / logo */
.logo-sq{
  width:44px;height:44px;border-radius:.6rem;background:linear-gradient(135deg,var(--accent),var(--accent-2));box-shadow:0 6px 20px rgba(0,0,0,0.4);
}
.logo-sq.small{width:36px;height:36px;border-radius:.5rem}

/* Hero */
.hero-section{
  position:relative;
  overflow:hidden;
}

/* New hero gradient background as requested */
.bg-gradient-hero {
  background: var(--gradient-hero);
      background-image: linear-gradient(160deg, rgb(23 42 94) 0%, rgb(32 52 108) 50%, rgb(27 27 117) 100%);
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: initial;
}

.bg-cerofuego {
  background-image: url('img/fnd-cerofuego.jpg'); /* ← tu imagen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


#nosotros {
      background: brown;
}

/* For sections with light backgrounds keep muted dark text, otherwise force light paragraph color for dark sections */
section.bg-light p,
section.bg-light .text-muted {
  color: #white !important;
}

/* Ensure specific headings on light sections use a dark color as requested */
#servicios .fw-bold.display-6 {
  color: #0b0b0b !important; /* black for "Soluciones Integrales de" */
}

/* Force contact section heading to white and override any gradient/text-clip */
#contacto .fw-bold.display-6 {
  color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Ensure any .text-gradient inside the contact heading is rendered white */
#contacto .fw-bold.display-6 .text-gradient,
#contacto .text-gradient {
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: #ffffff !important;
  color: #ffffff !important;
}

/* Contact section background image and overlay to represent the company while keeping text readable */
#contacto.contacto-bg{
  background-image:  url('https://www.foqus.cl/cerofuego/fnd-contacto.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  /* enable desktop parallax fallback; actual parallax fine-tuned in JS */
  background-attachment: fixed;
  color: #e6eef8;
  min-height: auto;
  padding-top: 64px;
  padding-bottom: 64px;
  position: relative;
}

/* Dark transparent panel style to match the cotización form for small info cards */
.dark-panel{
  background: linear-gradient(180deg, rgba(2,6,10,0.78), rgba(6,10,14,0.82));
  border: 1px solid rgba(255,255,255,0.04);
  backdrop-filter: blur(6px) saturate(1.02);
  color: #e6eef8;
}

/* make sure small meta text on dark panels uses the lighter muted tone */
.dark-panel .text-muted{ color: rgba(230,238,248,0.85) !important; }

/* ensure the light text variants inside contact remain legible over the image */
#contacto.contacto-bg .text-muted { color: rgba(230,238,248,0.9) !important; }
#contacto.contacto-bg .text-warning { color: var(--accent) !important; }

/* Stats labels (Proyectos, Satisfacción) should be white */
.stats small,
.stats .text-muted {
  color: #ffffff !important;
}

/* Other dark-section text rules */
header.hero-section p,
section:not(.bg-light) p,
section:not(.bg-light) .text-muted,
footer p,
footer .text-muted {
  color: #e6eef8 !important;
}

/* Gradient text */
.text-gradient{
  background: linear-gradient(90deg,var(--accent),var(--accent-2) 50%, var(--accent-3) 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}

/* Animated gradient buttons: create an animated gradient layer that slowly shifts between red and orange */
.btn-gradient {
  --g1: var(--accent);
  --g2: var(--accent-2);
  color: #fff;
  border: 0;
  /* thicker, more prominent button: increased padding, larger text and stronger shadow */
  padding: 14px 28px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 18px 42px rgba(255,80,40,0.26);
  transition: transform .18s ease, box-shadow .18s ease, filter .12s ease;
  position: relative;
  overflow: hidden;
  z-index: 0;
  background: transparent; /* base transparent, visual from pseudo */
  border-radius: .7rem;
}

/* moving gradient layer - richer stops leaning red → orange */
.btn-gradient::before{
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(120deg, #ff2b2b 0%, #ff3f21 25%, #ff6a00 55%, #ff9a3a 80%);
  background-size: 240% 240%;
  transition: transform .22s ease;
  animation: gradientShift 5.5s ease-in-out infinite;
  mix-blend-mode: normal;
  border-radius: inherit;
  filter: saturate(1.05) contrast(1.02);
}

/* subtle glossy overlay */
.btn-gradient::after{
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  mix-blend-mode: overlay;
  pointer-events: none;
  border-radius: inherit;
}

/* gentle hover lift and warmer glow */
.btn-gradient:hover{
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(255,80,40,0.26);
  filter: brightness(1.02);
}
.btn-gradient:active{ transform: translateY(-1px) scale(.997); }

/* animate gradient by shifting its background-position for a smooth red→orange cycle */
@keyframes gradientShift{
  0%{ background-position: 0% 50%; transform: rotate(0.01deg); }
  30%{ background-position: 50% 60%; transform: rotate(.02deg); }
  60%{ background-position: 100% 50%; transform: rotate(-0.01deg); }
  100%{ background-position: 0% 50%; transform: rotate(0.01deg); }
}

/* Outline variant with subtle gradient border and hover fill */
.btn-gradient-outline{
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,127,63,0.18);
  box-shadow: none;
  transition: background .25s ease, color .25s ease, transform .18s ease;
  position: relative;
  overflow: hidden;
}
.btn-gradient-outline::before{
  content:'';
  position:absolute;
  left:-40%;
  top:0;
  width:40%;
  height:100%;
  background: linear-gradient(90deg, rgba(255,127,63,0.12), rgba(255,63,33,0.06));
  transform: skewX(-12deg);
  transition: left .28s ease;
}
.btn-gradient-outline:hover::before{ left:60%; }
.btn-gradient-outline:hover{ background: linear-gradient(90deg, rgba(255,127,63,0.06), rgba(255,63,33,0.06)); color:#fff; transform: translateY(-3px); }

/* Make hero H1 larger and responsive */
.hero-title{
  font-size: clamp(2.4rem, 6.5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.6px;
  margin-bottom: .6rem;
}

/* glass card */
.glass-card{
  background: rgba(255,255,255,0.02);
  border-radius:1rem;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,0.04);
}

/* icon circle */
.icon-circle{width:96px;height:96px;border-radius:999px;background:linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));display:flex;align-items:center;justify-content:center;margin:0 auto;}
.icon-box{
  height:116px;
  border-radius:0rem;
  background: transparent;
  display:flex;
  align-items:center;
  justify-content:flex-start; /* align icons to the left */
  margin:0; /* remove auto centering so items sit left within the card body */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Large gradient color for icon fonts inside service cards, centered and high contrast */
.service-card .icon-box i{
  font-size:65px; /* larger icon size for stronger emphasis */
  line-height:1;
  display:inline-block;
  background: white;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-align:center;
}


#servicios .card-body  {
  color: white;
  text-align: center;
  background: linear-gradient(90deg, #e1462e, #ff421a 50%, #ff4f00 100%);
    }

/* Increase and color the custom inline SVG alarm icon to match the gradient */
.service-card .alarm-icon{
  width:48px;
  height:48px;
  display:block;
  margin:0; /* remove auto centering so SVG follows left alignment */
  color: var(--accent); /* baseline color for fallback */
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Force SVG shapes to use currentColor so CSS gradient color applies (overrides inline fills/strokes) */
.service-card .alarm-icon *{
  fill: currentColor !important;
  stroke: currentColor !important;
}
.icon-box-sm{width:44px;height:44px;border-radius:.6rem;background:rgba(255,255,255,0.02);display:flex;align-items:center;justify-content:center;font-size:1.15rem}

/* cards */
.service-card{transition:transform .28s ease, box-shadow .28s ease;}
.service-card:hover{transform:translateY(-8px);box-shadow:0 20px 40px rgba(0,0,0,0.5)}

/* stats */
.stat-card{border-radius:.8rem;background:linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));border:1px solid rgba(255,255,255,0.03)}

/* Floating animated stat buttons */
.stats{ min-height: 78px; } /* give some vertical room for floating buttons */
.floating-stat{
  --bg1: linear-gradient(90deg, var(--accent), var(--accent-2));
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  background: var(--bg1);
  color: #fff;
  border: 0;
  /* larger, thicker tactile buttons for visibility */
  padding: 18px 30px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(255,90,40,0.22);
  transform: translateY(0);
  transition: transform .22s ease, box-shadow .22s ease, filter .12s ease;
  min-width: 160px;
  text-align:center;
  z-index: 2;
  cursor: default;
  font-weight:800;
}

/* count styling and subtle entrance polish */
.stat-num { display:flex; align-items:baseline; gap:4px; }
.count{
  font-variant-numeric: tabular-nums;
  font-size: 2.4rem; /* increased base size for stronger numeric emphasis */
  line-height:1;
  font-weight:900;
  transition: transform .36s cubic-bezier(.2,.9,.2,1), opacity .36s ease;
  display:inline-block;
  transform-origin: center;
}
.count-suffix{
  font-size: .9rem;
  opacity: .95;
  margin-left: 2px;
}

/* when interact (hover) slightly emphasize the numbers */
.floating-stat:hover .count{ transform: translateY(-4px) scale(1.02); }

/* larger numeric emphasis inside the floating button */
.floating-stat .stat-num{
  font-size: 1.6rem;
  line-height:1;
  font-weight:800;
  letter-spacing: -0.5px;
}

/* label smaller but clearly visible and white */
.floating-stat .stat-label{
  font-size: 0.85rem;
  opacity: 0.95;
  display:block;
}

/* gentle hover lift (for mouse) and press feedback */
.floating-stat:hover{ transform: translateY(-8px); box-shadow: 0 28px 60px rgba(255,90,40,0.22); }
.floating-stat:active{ transform: translateY(-4px); }

/* floating animation (subtle vertical bob) - different phases for two buttons for variety */
@keyframes floatA{ 0%{ transform: translateY(0) } 50%{ transform: translateY(-8px) } 100%{ transform: translateY(0) } }
@keyframes floatB{ 0%{ transform: translateY(0) } 50%{ transform: translateY(-4px) } 100%{ transform: translateY(0) } }

.stats .floating-stat:nth-child(1){ animation: floatA 4.8s ease-in-out infinite; }
.stats .floating-stat:nth-child(2){ animation: floatB 3.6s ease-in-out infinite; }

/* make them bigger on larger screens and center nicely */
@media (min-width: 992px){
  .floating-stat{ padding: 18px 28px; min-width: 170px; }
  .floating-stat .stat-num{ font-size: 3rem; } /* larger desktop stat numbers */
  .stats{ gap: 20px; }
}

/* ensure labels for Satisfacción / Proyectos remain white as requested */
.stats .stat-label,
.stats .floating-stat .stat-label{
  color: #ffffff !important;
}

/* footer */
footer{border-top:1px solid rgba(255,255,255,0.03)}

/* small utilities */
.backdrop-blur{backdrop-filter: blur(8px)}
.shadow-sm{box-shadow:0 6px 18px rgba(0,0,0,0.45)}
.scroll-hint{position:absolute;left:50%;transform:translateX(-50%);bottom:1rem;}

/* Header shrink on scroll
   - smoothly reduces navbar height, logo and button padding
   - uses transform/opacity for GPU-accelerated animation */
.navbar {
  transition: padding .28s cubic-bezier(.2,.9,.2,1), background-color .28s ease, box-shadow .28s ease;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  will-change: padding, box-shadow;
}

.navbar .navbar-brand { transition: transform .28s cubic-bezier(.2,.9,.2,1); display:flex; align-items:center; gap:0.6rem; }
.navbar .logo-sq { transition: transform .28s cubic-bezier(.2,.9,.2,1), width .28s ease, height .28s ease; }

/* Shrink state */
.navbar-shrink {
  padding-top: 0.18rem !important;
  padding-bottom: 0.18rem !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
    background-color: rgb(253 0 0 / 48%);
  backdrop-filter: blur(6px);
}
.navbar-shrink .logo-sq {
  transform: scale(0.78);
  width:36px;
  height:36px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.38);
}
.navbar-shrink .logo-sq.small {
  transform: scale(0.78);
  width:30px;
  height:30px;
}

/* tighten nav items and buttons slightly for compact header */
.navbar-shrink .nav-link { padding-top: .35rem; padding-bottom: .35rem; opacity: .95; transition: opacity .2s ease; }
.navbar-shrink .btn-gradient, .navbar-shrink .btn-gradient-outline {
  transform: translateY(0);
  padding: 10px 20px;
  font-size: .95rem;
  box-shadow: 0 12px 30px rgba(255,80,40,0.18);
}

/* subtle brand text reduction on shrink for better balance */
.navbar-shrink .navbar-brand > div.d-none.d-sm-block { transform: translateY(-1px) scale(.96); transition: transform .28s ease; opacity:.98; }

/* ensure transitions remain smooth on mobile */
@media (max-width: 767px){
  .navbar { padding-top: .22rem; padding-bottom: .22rem; }
  .navbar-shrink .logo-sq { transform: scale(0.88); }
}

/* Animated outline badge: larger, more prominent transparent background, animated gradient border and subtle inner sheen */
.badge-outline-animated{
  --bd1: linear-gradient(90deg, rgba(255,63,33,0.95), rgba(255,122,26,0.95));
  display:inline-block;
  background:transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.06);
  position:relative;
  border-radius: .7rem;
  padding: .65rem 1.2rem; /* increased padding to enlarge button */
  font-weight:700;
  font-size: 0.98rem; /* larger text */
  letter-spacing:0.3px;
  overflow:hidden;
  transition:transform .18s ease, box-shadow .18s ease, font-size .18s ease;
  box-shadow: 0 8px 22px rgba(0,0,0,0.36), inset 0 1px 0 rgba(255,255,255,0.02);
}

/* animated border glow using an ::before layer */
.badge-outline-animated::before{
  content:'';
  position:absolute;
  inset:-2px;
  z-index:-1;
  border-radius: inherit;
  padding:2px;
  background: linear-gradient(90deg, rgba(255,43,43,0.95) 0%, rgba(255,63,33,0.95) 30%, rgba(255,106,0,0.95) 60%, rgba(255,154,58,0.95) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: badgeBorderShift 6s linear infinite;
  opacity: 0.95;
  filter: blur(.8px) saturate(1.05);
  pointer-events:none;
}

/* subtle sheen on hover and slight lift */
.badge-outline-animated:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(255,90,40,0.12);
}

/* small inner sheen */
.badge-outline-animated::after{
  content:'';
  position:absolute;
  left:-40%;
  top:0;
  width:40%;
  height:100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.00));
  transform: skewX(-12deg);
  transition: left .28s ease;
  pointer-events:none;
}
.badge-outline-animated:hover::after{ left:60%; }

/* keyframes for smooth shifting of the gradient border */
@keyframes badgeBorderShift{
  0%{ background-position: 0% 50%; }
  50%{ background-position: 100% 50%; }
  100%{ background-position: 0% 50%; }
}

/* Responsive tweaks */
@media (max-width: 991px){
  header.hero-section,
  section {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .logo-sq{width:40px;height:40px}
}

/* Contact form modern panel */
.contact-panel-wrapper{
  position: relative;
  padding: 12px;
}
.contact-panel{
  position: relative;
  border-radius: 1rem;
  overflow: visible;
  /* darken and slightly increase opacity for better contrast over background image */
  background: linear-gradient(180deg, rgba(2,6,10,0.78), rgba(6,10,14,0.82));
  border: 1px solid rgba(255,255,255,0.04);
  backdrop-filter: blur(8px) saturate(1.05);
  transition: transform .28s cubic-bezier(.2,.9,.2,1), box-shadow .28s ease;
}
.contact-panel:hover{ transform: translateY(-6px); box-shadow: 0 28px 60px rgba(6,12,24,0.6); }

.panel-accent{
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 24px rgba(255,90,40,0.09);
}

.panel-inner{
  position: relative;
  z-index: 2;
  padding: 1.25rem;
}

/* floating modern input style */
.form-floating-modern{
  position: relative;
}
.form-floating-modern .modern{
  width:100%;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  padding: 12px 14px;
  border-radius: .6rem;
  color: var(--light, #e6eef8);
  transition: box-shadow .18s ease, transform .12s ease, border-color .18s ease, background .18s ease;
  outline: none;
  -webkit-appearance: none;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.01);
}
.form-floating-modern label{
  position: absolute;
  left: 14px;
  top: 10px;
  font-size: .86rem;
  color: rgba(255,255,255,0.65);
  pointer-events: none;
  transition: transform .16s ease, font-size .16s ease, top .16s ease, opacity .12s ease;
  background: transparent;
  padding: 0 6px;
}

/* when input has content or focus, lift the label */
.form-floating-modern .modern:focus + label,
.form-floating-modern .modern:not(:placeholder-shown) + label,
.form-floating-modern .modern:-webkit-autofill + label{
  transform: translateY(-12px);
  font-size: .72rem;
  opacity: .95;
  top: 6px;
  color: var(--accent-2);
}

/* focus ring and glow */
.form-floating-modern .modern:focus{
  border-color: rgba(255,122,26,0.9);
  box-shadow: 0 6px 28px rgba(255,122,26,0.08), 0 0 0 4px rgba(255,122,26,0.06);
  background: rgba(255,255,255,0.018);
}

/* select wrapper to keep label placed similarly */
.select-wrap .modern{
  appearance: none;
  padding-right: 38px;
  /* orange tint for selected value and caret */
  color: var(--accent-2); /* text of selected value */
  background-color: rgba(255,122,26,0.04);
  border: 1px solid rgba(255,122,26,0.12);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

/* style the dropdown arrow (kept in pseudo element) to match orange */
.select-wrap:after{
  content:'';
  position:absolute;
  right:12px;
  top:50%;
  width:10px;
  height:10px;
  transform:translateY(-50%) rotate(45deg);
  border-right:2px solid var(--accent-2);
  border-bottom:2px solid var(--accent-2);
  opacity:0.95;
  pointer-events:none;
}

/* options in native dropdown: give orange accent for selected and hover where supported */
.select-wrap .modern option {
  color: #2b2b2b; /* readable text on light option bg */
  background-color: #fff;
}

/* some browsers allow styling selected option */
.select-wrap .modern option:checked,
.select-wrap .modern option[selected]{
  color: #ffffff;
  background-color: var(--accent-2);
}

/* focus ring uses orange glow */
.select-wrap .modern:focus{
  border-color: rgba(255,122,26,0.95);
  box-shadow: 0 6px 28px rgba(255,122,26,0.08), 0 0 0 4px rgba(255,122,26,0.06);
  background-color: rgba(255,122,26,0.03);
}

/* ensure label color when select has value remains orange-leaning */
.form-floating-modern .modern:focus + label,
.form-floating-modern .modern:not(:placeholder-shown) + label,
.form-floating-modern .modern:-webkit-autofill + label{
  transform: translateY(-12px);
  font-size: .72rem;
  opacity: .95;
  top: 6px;
  color: var(--accent-2);
}

/* small right icon for select (pure CSS) */
.select-wrap{ position: relative; }
.select-wrap:after{
  content:'';
  position:absolute;
  right:12px;
  top:50%;
  width:10px;
  height:10px;
  transform:translateY(-50%) rotate(45deg);
  border-right:2px solid rgba(255,255,255,0.6);
  border-bottom:2px solid rgba(255,255,255,0.6);
  opacity:0.9;
  pointer-events:none;
  border-color: rgba(255,255,255,0.55);
}

/* panel decorative svg position */
.panel-decor{
  position: absolute;
  right: -14px;
  bottom: -14px;
  opacity: 0.9;
  z-index: 1;
  filter: blur(1px) saturate(1.02);
  pointer-events: none;
}

/* compact panel icon */
.panel-icon{
  width:52px;height:52px;border-radius:.7rem;background:linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); display:flex; align-items:center; justify-content:center;
}

/* Increase size and weight of the "Solicitar Cotización" title inside the contact panel */
.contact-panel .card-title.solicitar{
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.2px;
}

/* ensure the submit button stands out on this panel */
.contact-panel .btn-gradient{
  box-shadow: 0 20px 50px rgba(255,90,40,0.22);
  padding: 12px 20px;
  font-size: 1rem;
}

/* responsive tweaks */
@media (max-width: 991px){
  .panel-accent{ display: none; }
  .panel-decor{ display: none; }
  .contact-panel{ border-radius: .8rem; }
}

/* Certificates section styles */
#productos-certificados{
  /* use same hero gradient as the main hero to create visual continuity */
  min-height: auto;
  padding-top: 64px;
  padding-bottom: 64px;
}

.cert-card{
  border-radius:1rem;
  border:1px solid rgba(255,255,255,0.04);
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));
  transition: transform .25s ease, box-shadow .25s ease;
}
.cert-card:hover{ transform: translateY(-8px); box-shadow: 0 24px 50px rgba(0,0,0,0.45); }

/* Make certification titles use a red→orange gradient like site highlights */
.cert-card h5.fw-bold{
  background: linear-gradient(90deg, var(--accent), var(--accent-2) 50%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 700;
}

/* keep supporting layout for logos/badges */
.cert-logo{ display:flex; align-items:center; justify-content:center; height:84px; }
.cert-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:84px;
  height:84px;
  border-radius:14px;
  font-weight:700;
  color:#fff;
  font-size:20px;
  box-shadow:0 10px 30px rgba(0,0,0,0.35);
}

/* distinct badges with subtle gradients */
.cert-badge.nfpa{ background: linear-gradient(135deg, #ff3f21, #ff7a1a); }
.cert-badge.fm{ background: linear-gradient(135deg, #ff6a00, #ff9a3a); }
.cert-badge.ul{ background: linear-gradient(135deg, #ff2b2b, #ff6a00); }

/* responsive tweak: stack padding and center text on small screens */
@media (max-width: 767px){
  #productos-certificados { padding-top: 40px; padding-bottom: 40px; }
  .cert-card { text-align: center; }
}


/*
 *  STYLE scroll
 */
body::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #ccc;
}

body::-webkit-scrollbar {
  width: 10px;
  background-color: #ccc;
}

body::-webkit-scrollbar-thumb {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background: #e54c4c;
}

/* small spacing for form labels */
label { margin: .2rem 0 !important; }

a {text-decoration: none; color: inherit; }
a:hover {text-decoration: none; color: inherit; }

/*
 *  STYLE scroll
 */
 



 .bg-azulclaro {
    background-color: #134FC5;
    background-image: url(data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 1500'%3E%3Cdefs%3E%3CradialGradient id='a' gradientUnits='objectBoundingBox'%3E%3Cstop offset='0' stop-color='%231F7BFF'/%3E%3Cstop offset='1' stop-color='%23134FC5'/%3E%3C/radialGradient%3E%3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x1='0' y1='750' x2='1550' y2='750'%3E%3Cstop offset='0' stop-color='%231965e2'/%3E%3Cstop offset='1' stop-color='%23134FC5'/%3E%3C/linearGradient%3E%3Cpath id='s' fill='url(%23b)' d='M1549.2 51.6c-5.4 99.1-20.2 197.6-44.2 293.6c-24.1 96-57.4 189.4-99.3 278.6c-41.9 89.2-92.4 174.1-150.3 253.3c-58 79.2-123.4 152.6-195.1 219c-71.7 66.4-149.6 125.8-232.2 177.2c-82.7 51.4-170.1 94.7-260.7 129.1c-90.6 34.4-184.4 60-279.5 76.3C192.6 1495 96.1 1502 0 1500c96.1-2.1 191.8-13.3 285.4-33.6c93.6-20.2 185-49.5 272.5-87.2c87.6-37.7 171.3-83.8 249.6-137.3c78.4-53.5 151.5-114.5 217.9-181.7c66.5-67.2 126.4-140.7 178.6-218.9c52.3-78.3 96.9-161.4 133-247.9c36.1-86.5 63.8-176.2 82.6-267.6c18.8-91.4 28.6-184.4 29.6-277.4c0.3-27.6 23.2-48.7 50.8-48.4s49.5 21.8 49.2 49.5c0 0.7 0 1.3-0.1 2L1549.2 51.6z'/%3E%3Cg id='g'%3E%3Cuse href='%23s' transform='scale(0.12) rotate(60)'/%3E%3Cuse href='%23s' transform='scale(0.2) rotate(10)'/%3E%3Cuse href='%23s' transform='scale(0.25) rotate(40)'/%3E%3Cuse href='%23s' transform='scale(0.3) rotate(-20)'/%3E%3Cuse href='%23s' transform='scale(0.4) rotate(-30)'/%3E%3Cuse href='%23s' transform='scale(0.5) rotate(20)'/%3E%3Cuse href='%23s' transform='scale(0.6) rotate(60)'/%3E%3Cuse href='%23s' transform='scale(0.7) rotate(10)'/%3E%3Cuse href='%23s' transform='scale(0.835) rotate(-40)'/%3E%3Cuse href='%23s' transform='scale(0.9) rotate(40)'/%3E%3Cuse href='%23s' transform='scale(1.05) rotate(25)'/%3E%3Cuse href='%23s' transform='scale(1.2) rotate(8)'/%3E%3Cuse href='%23s' transform='scale(1.333) rotate(-60)'/%3E%3Cuse href='%23s' transform='scale(1.45) rotate(-30)'/%3E%3Cuse href='%23s' transform='scale(1.6) rotate(10)'/%3E%3C/g%3E%3C/defs%3E%3Cg transform='rotate(0 0 0)'%3E%3Cg transform='rotate(0 0 0)'%3E%3Ccircle fill='url(%23a)' r='3000'/%3E%3Cg opacity='0.5'%3E%3Ccircle fill='url(%23a)' r='2000'/%3E%3Ccircle fill='url(%23a)' r='1800'/%3E%3Ccircle fill='url(%23a)' r='1700'/%3E%3Ccircle fill='url(%23a)' r='1651'/%3E%3Ccircle fill='url(%23a)' r='1450'/%3E%3Ccircle fill='url(%23a)' r='1250'/%3E%3Ccircle fill='url(%23a)' r='1175'/%3E%3Ccircle fill='url(%23a)' r='900'/%3E%3Ccircle fill='url(%23a)' r='750'/%3E%3Ccircle fill='url(%23a)' r='500'/%3E%3Ccircle fill='url(%23a)' r='380'/%3E%3Ccircle fill='url(%23a)' r='250'/%3E%3C/g%3E%3Cg transform='rotate(0 0 0)'%3E%3Cuse href='%23g' transform='rotate(10)'/%3E%3Cuse href='%23g' transform='rotate(120)'/%3E%3Cuse href='%23g' transform='rotate(240)'/%3E%3C/g%3E%3Ccircle fill-opacity='0.1' fill='url(%23a)' r='3000'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E);
    background-attachment: fixed;
    background-size: cover;
}

.clientes-slider {
  position: relative;
  width: 100%;
}

.slide-track {
  display: flex;
  width: max-content;
  animation: scroll 15s linear infinite;
}

.slide-track img {
  opacity: 0.6;
  transition: all 0.3s ease;
  filter: grayscale(100%);
}

.slide-track img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* pausa al pasar el mouse */
.clientes-slider:hover .slide-track {
  animation-play-state: paused;
}

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

.fusion-card {
  background: #fff;
  border-radius: 18px;
  transition: all 0.35s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  position: relative;
}

.fusion-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.fusion-icon {
  width: 80px;
  height: 80px;
  margin: auto;
  border-radius: 50%;
    background: linear-gradient(135deg, #ff2f00, #ce743d);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  animation: pulse 2.5s infinite;
}

.fusion-result {
  background: linear-gradient(135deg, #0d6efd, #6610f2);
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  display: inline-block;
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* efecto suave */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

#proyectos {
  position: relative;
}

/* =====================================================
   HERO CAROUSEL
=====================================================*/

#experiencia{
    position:relative;
    min-height:75vh;
    overflow:hidden;
    background:#0b0d12;
}

.carousel,
.carousel-inner,
.carousel-item{
    height:75vh;
    min-height:520px;
}

.carousel-item{
    position:relative;
    overflow:hidden;
}

/*==================================
FONDO
==================================*/

.slide-bg{
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    transform:scale(1);
    transition:transform 8s ease;
    z-index:1;
}

/* efecto Ken Burns */
.carousel-item.active .slide-bg{
    transform:scale(1.08);
}

/*==================================
OVERLAY
==================================*/

.slide-bg::before{
    content:"";
    position:absolute;
    inset:0;

    background:
    radial-gradient(circle at top right,
    rgba(255,115,0,.22),
    transparent 45%),

    linear-gradient(90deg,
    rgba(6,8,12,.94) 0%,
    rgba(6,8,12,.82) 35%,
    rgba(6,8,12,.45) 65%,
    rgba(6,8,12,.18) 100%);

    z-index:2;
}

/* pequeña textura */

.slide-bg::after{
    content:"";
    position:absolute;
    inset:0;
    opacity:.08;

    background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);

    background-size:70px 70px;

    z-index:3;
}

/*==================================
CONTENIDO
==================================*/

.carousel-item .container{
    position:relative;
    z-index:10;
}

.project-card{

    position:relative;

    background:rgba(15,18,24,.62);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.08);

    border-left:6px solid #ff7b00;

    border-radius:22px;

    padding:45px;

    box-shadow:
    0 20px 60px rgba(0,0,0,.45);

}

/*==================================
ANIMACIONES
==================================*/

.carousel-item h2{

    animation:fadeUp .8s;

}

.carousel-item p{

    animation:fadeUp .8s .15s both;

}

.carousel-item .badge{

    animation:fadeUp .8s .25s both;
        font-size: medium;


}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(30px);

    }

    to{

        opacity:1;

        transform:none;

    }

}

/*==================================
CONTROLES
==================================*/

.carousel-control-prev,
.carousel-control-next{

    width:72px;

    opacity:1;

}

.carousel-control-prev-icon,
.carousel-control-next-icon{

    width:58px;
    height:58px;

    border-radius:50%;

    background-color:rgba(255,123,0,.92);

    background-size:40%;

    transition:.35s;

    box-shadow:
    0 10px 25px rgba(255,123,0,.35);

}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon{

    transform:scale(1.12);

    background-color:#ff8c1a;

}

/*==================================
INDICADORES
==================================*/

.carousel-indicators{

    margin-bottom:30px;

}

.carousel-indicators button{

    width:12px !important;
    height:12px !important;

    border-radius:50%;

    border:none;

    background:#ffffff55;

    transition:.35s;

}

.carousel-indicators .active{

    width:42px !important;

    border-radius:30px;

    background:#ff7b00;

}

/*==================================
RESPONSIVE
==================================*/

@media (max-width:991px){

    #experiencia{
        min-height:600px;
    }

    .carousel,
    .carousel-inner,
    .carousel-item{

        height:600px;
        min-height:600px;

    }

    .project-card{

        padding:30px;

    }

}

@media (max-width:768px){

    .carousel-control-prev,
    .carousel-control-next{

        display:none;

    }

    .project-card{

        padding:25px;

        border-left-width:4px;

    }

}

/* Contenedor llama */
.flame-wrap{
  width:110px;
  height:140px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}

/* 🔥 Llama */
.flame{
  width:96px;
  height:128px;
  animation: flameBob 1600ms ease-in-out infinite;
  transform-origin: 50% 80%;
}

@keyframes flameBob{
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.03); }
  100% { transform: translateY(0) scale(1); }
}

/* Núcleo */
.flame-core{
  transform-origin:50% 70%;
  animation: corePulse 1100ms ease-in-out infinite;
}

@keyframes corePulse{
  0% { transform:scale(1); }
  50% { transform:scale(1.05); }
  100% { transform:scale(1); }
}

/* Exterior */
.flame-outer{
  transform-origin:50% 80%;
  animation: outerFlicker 800ms linear infinite;
}

@keyframes outerFlicker{
  0%{ transform:scaleY(1); }
  50%{ transform:scaleY(1.04); }
  100%{ transform:scaleY(1); }
}

/* 🚫 Símbolo prohibido */
.no-fire{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  width:120px;
  height:120px;
  z-index:2;
  pointer-events:none;

  opacity:0.65; /* clave para ver la llama */

  animation: noFirePulse 1.8s ease-in-out infinite;
}

@keyframes noFirePulse{
  0%{ transform:translate(-50%, -50%) scale(1); }
  50%{ transform:translate(-50%, -50%) scale(1.05); }
  100%{ transform:translate(-50%, -50%) scale(1); }
}

/* Texto */
.preload-text{
  font-size:42px;
  color:rgba(255,255,255,0.9);
}




/* Servicios */ 

.glow { position: absolute; width: 500px; height: 500px; background: rgba(255, 69, 0, 0.15); filter: blur(120px); top: -100px; right: -100px; animation: float 6s ease-in-out infinite; } @keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(30px); } } .card-dark { background: #111826; border: 1px solid rgba(255,255,255,0.08); transition: 0.3s; } .card-dark:hover { transform: translateY(-5px); border-color: rgba(255,69,0,0.5); box-shadow: 0 10px 30px rgba(255,69,0,0.15); } .cta { background: linear-gradient(90deg, #ff3b30, #ff6a00); } .section-title { font-weight: 700; letter-spacing: -0.5px; } .icon-box { font-size: 2rem; color: #ff6a00; }


.hero-alarmas{
    background:
    radial-gradient(circle at top left, rgba(220,53,69,.18), transparent 40%),
    radial-gradient(circle at bottom right, rgba(0,123,255,.10), transparent 45%),
    #0b0f14;

    color:#fff;
}

/* GLOW */
.glow{
    position:absolute;
    border-radius:50%;
    filter:blur(120px);
}

.glow-red{
    width:420px;
    height:420px;
    background:rgba(220,53,69,.25);
    top:-120px;
    right:-120px;
}

.glow-blue{
    width:300px;
    height:300px;
    background:rgba(13,110,253,.12);
    bottom:-100px;
    left:-100px;
}

/* CONTROL CENTER */
.control-center{
    position:relative;
    width:420px;
    height:420px;
    margin:auto;
}

/* core */
.core-system{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);

    width:170px;
    height:170px;

    border-radius:50%;

    background:linear-gradient(135deg,#dc3545,#ff6a00);

    display:flex;
    align-items:center;
    justify-content:center;

    box-shadow:0 0 70px rgba(220,53,69,.4);
    z-index:3;
}

.core-system i{
    font-size:4.5rem;
}

/* nodos */
.node{
    position:absolute;

    padding:12px 16px;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.1);

    border-radius:14px;

    backdrop-filter:blur(18px);

    display:flex;
    align-items:center;
    gap:8px;

    animation:floatNode 4s ease-in-out infinite;
}

.node i{
    color:#dc3545;
}

.node-1{ top:10%; left:10%; }
.node-2{ top:15%; right:10%; animation-delay:.8s; }
.node-3{ bottom:15%; left:5%; animation-delay:1.2s; }
.node-4{ bottom:10%; right:10%; animation-delay:1.8s; }

@keyframes floatNode{
    0%,100%{ transform:translateY(0); }
    50%{ transform:translateY(-10px); }
}

/* ondas */
.wave{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    border-radius:50%;
    border:1px solid rgba(220,53,69,.3);
    animation:pulse 3s infinite;
}

.wave-1{
    width:260px;
    height:260px;
}

.wave-2{
    width:340px;
    height:340px;
    animation-delay:1.5s;
}

@keyframes pulse{
    0%{
        transform:translate(-50%,-50%) scale(.8);
        opacity:1;
    }
    100%{
        transform:translate(-50%,-50%) scale(1.4);
        opacity:0;
    }
}

/* mini features */
.mini-feature{
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    padding:14px;
    border-radius:12px;
    display:flex;
    align-items:center;
    gap:10px;
}

.mini-feature i{
    color:#dc3545;
    font-size:1.4rem;
}

/* scroll */
.scroll-down{
    position:absolute;
    bottom:25px;
    left:50%;
    transform:translateX(-50%);
    text-align:center;
    color:rgba(255,255,255,.6);
    animation:bounce 2s infinite;
}

@keyframes bounce{
    0%,100%{ transform:translateX(-50%) translateY(0); }
    50%{ transform:translateX(-50%) translateY(8px); }
}

@media(max-width:991px){
    .control-center{
        width:300px;
        height:300px;
        margin-top:40px;
    }

    .core-system{
        width:130px;
        height:130px;
    }

    .core-system i{
        font-size:3rem;
    }
}

.hero-deteccion{
    background:
    radial-gradient(circle at top left, rgba(255,69,0,.18), transparent 40%),
    radial-gradient(circle at bottom right, rgba(255,255,255,.06), transparent 45%),
    #0b0f14;

    color:#fff;
}

/* glow */
.glow{
    position:absolute;
    border-radius:50%;
    filter:blur(120px);
}

.glow-fire{
    width:420px;
    height:420px;
    background:rgba(255,69,0,.25);
    top:-120px;
    right:-120px;
}

.glow-smoke{
    width:300px;
    height:300px;
    background:rgba(255,255,255,.06);
    bottom:-100px;
    left:-100px;
}

/* CORE DETECCIÓN */
.detection-core{
    position:relative;
    width:420px;
    height:420px;
    margin:auto;
}

/* centro */
.core{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:170px;
    height:170px;

    border-radius:50%;

    background:linear-gradient(135deg,#ff3b30,#ff6a00);

    display:flex;
    align-items:center;
    justify-content:center;

    box-shadow:0 0 70px rgba(255,69,0,.45);
    z-index:3;
}

.core i{
    font-size:4.5rem;
}

/* sensores */
.sensor{
    position:absolute;

    padding:12px 16px;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.1);

    border-radius:14px;

    backdrop-filter:blur(18px);

    display:flex;
    align-items:center;
    gap:8px;

    animation:floatSensor 4s ease-in-out infinite;
}

.sensor i{
    color:#ff6a00;
}

.sensor-1{ top:10%; left:8%; }
.sensor-2{ top:15%; right:8%; animation-delay:.6s; }
.sensor-3{ bottom:15%; left:6%; animation-delay:1.2s; }
.sensor-4{ bottom:10%; right:10%; animation-delay:1.8s; }

@keyframes floatSensor{
    0%,100%{ transform:translateY(0); }
    50%{ transform:translateY(-10px); }
}

/* anillos */
.ring{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    border-radius:50%;
    border:1px solid rgba(255,69,0,.3);
    animation:pulse 3s infinite;
}

.ring-1{
    width:260px;
    height:260px;
}

.ring-2{
    width:340px;
    height:340px;
    animation-delay:1.5s;
}

@keyframes pulse{
    0%{
        transform:translate(-50%,-50%) scale(.8);
        opacity:1;
    }
    100%{
        transform:translate(-50%,-50%) scale(1.4);
        opacity:0;
    }
}

/* mini boxes */
.mini-box{
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    padding:14px;
    border-radius:12px;
    display:flex;
    align-items:center;
    gap:10px;
}

.mini-box i{
    color:#ff6a00;
    font-size:1.4rem;
}

/* scroll */
.scroll-down{
    position:absolute;
    bottom:25px;
    left:50%;
    transform:translateX(-50%);
    text-align:center;
    color:rgba(255,255,255,.6);
    animation:bounce 2s infinite;
}

@keyframes bounce{
    0%,100%{ transform:translateX(-50%) translateY(0); }
    50%{ transform:translateX(-50%) translateY(8px); }
}

@media(max-width:991px){
    .detection-core{
        width:300px;
        height:300px;
        margin-top:40px;
    }

    .core{
        width:130px;
        height:130px;
    }

    .core i{
        font-size:3rem;
    }
}

.benefits-section{
    background:
    radial-gradient(circle at top left, rgba(255,255,255,.04), transparent 40%),
    radial-gradient(circle at bottom right, rgba(220,53,69,.10), transparent 45%),
    #e22719;
}

/* CARD MODERNA CLARA */
.benefit-card{
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.10);

    border-radius:20px;

    padding:35px;

    height:100%;

    color:#fff;

    backdrop-filter:blur(18px);

    position:relative;

    overflow:hidden;

    transition:.35s ease;
}

/* glow interno suave */
.benefit-card::before{
    content:"";
    position:absolute;
    top:-80px;
    right:-80px;

    width:200px;
    height:200px;

    background:rgba(220,53,69,.18);

    border-radius:50%;

    filter:blur(40px);

    transition:.4s;
}

/* hover */
.benefit-card:hover{
    transform:translateY(-10px);
    border-color:rgba(220,53,69,.4);
    box-shadow:0 25px 70px rgba(220,53,69,.15);
}

.benefit-card:hover::before{
    transform:scale(1.3);
}

/* ICONO CIRCULAR */
.icon-circle{
    width:65px;
    height:65px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:16px;

    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);

    margin-bottom:20px;

    transition:.3s;
}

.icon-circle i{
    font-size:1.8rem;
    color:#dc3545;
}

/* hover icono */
.benefit-card:hover .icon-circle{
    background:rgba(220,53,69,.15);
    transform:scale(1.05);
}

/* textos */
.benefit-card h4{
    font-weight:600;
    margin-bottom:12px;
}

.benefit-card p{
    color:rgba(255,255,255,.65);
    margin-bottom:0;
}

/* micro interacción de “respiración” */
@keyframes floatSoft{
    0%,100%{ transform:translateY(0); }
    50%{ transform:translateY(-6px); }
}

.benefit-card{
    animation:floatSoft 6s ease-in-out infinite;
}

.benefit-card:nth-child(2){
    animation-delay:1s;
}

.benefit-card:nth-child(3){
    animation-delay:2s;
}

.seo-section{
    background:
    radial-gradient(circle at top right, rgba(220,53,69,.10), transparent 40%),
    #0b0f14;

    color:#fff;
}

/* INFO BOX */
.info-box{
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    padding:25px;

    backdrop-filter:blur(15px);
}

/* ITEM */
.info-item{
    display:flex;
    gap:15px;

    padding:15px 0;

    border-bottom:1px solid rgba(255,255,255,.06);
}

.info-item:last-child{
    border-bottom:none;
}

.info-item i{
    font-size:1.6rem;
    color:#dc3545;
    margin-top:3px;
}

.info-item h6{
    margin:0;
    font-weight:600;
}

.info-item small{
    color:rgba(255,255,255,.6);
}

/* TAGS SEO */
.seo-tags{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.seo-tags span{
    font-size:.8rem;

    padding:6px 12px;

    border-radius:50px;

    background:rgba(220,53,69,.08);
    border:1px solid rgba(220,53,69,.2);

    color:#fff;

    transition:.3s;
}

.seo-tags span:hover{
    background:rgba(220,53,69,.18);
    transform:translateY(-2px);
}

/* hover efecto box */
.info-box:hover{
    border-color:rgba(220,53,69,.3);
    box-shadow:0 20px 60px rgba(220,53,69,.12);
}

.applications-section{
    background:
    radial-gradient(circle at top left, rgba(220,53,69,.12), transparent 40%),
    #0b0f14;
}

/* CARD */
.app-card{
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;

    padding:30px;
    height:100%;

    color:#fff;

    transition:.35s ease;

    position:relative;
    overflow:hidden;

    backdrop-filter:blur(15px);
}

/* glow interno */
.app-card::before{
    content:"";
    position:absolute;
    width:200px;
    height:200px;
    background:rgba(220,53,69,.15);
    border-radius:50%;
    top:-80px;
    right:-80px;
    filter:blur(40px);
    transition:.4s;
}

/* hover */
.app-card:hover{
    transform:translateY(-10px);
    border-color:rgba(220,53,69,.4);
    box-shadow:0 20px 60px rgba(220,53,69,.15);
}

.app-card:hover::before{
    transform:scale(1.4);
}

/* ICONO */
.icon-wrapper{
    width:60px;
    height:60px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:rgba(220,53,69,.1);
    margin-bottom:18px;
    transition:.3s;
}

.icon-wrapper i{
    font-size:3.8rem;
    color:#dc3545;
}

.app-card:hover .icon-wrapper{
    background:rgba(220,53,69,.2);
    transform:scale(1.1);
}

/* TITULO */
.app-card h5{
    font-weight:600;
    margin-bottom:10px;
}

/* TEXTO */
.app-card p{
    color:rgba(255,255,255,.65);
    margin-bottom:0;
    font-size:.95rem;
}

/* responsive polish */
@media(max-width:768px){
    .app-card{
        padding:25px;
    }
}
.seo-section{
    background:
    radial-gradient(circle at top right, rgba(220,53,69,.10), transparent 40%),
    #0b0f14;

    color:#fff;
}

/* INFO BOX */
.info-box{
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    padding:25px;

    backdrop-filter:blur(15px);
}

/* ITEM */
.info-item{
    display:flex;
    gap:15px;

    padding:15px 0;

    border-bottom:1px solid rgba(255,255,255,.06);
}

.info-item:last-child{
    border-bottom:none;
}

.info-item i{
    font-size:1.6rem;
    color:#dc3545;
    margin-top:3px;
}

.info-item h6{
    margin:0;
    font-weight:600;
}

.info-item small{
    color:rgba(255,255,255,.6);
}

/* TAGS SEO */
.seo-tags{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.seo-tags span{
    font-size:.8rem;

    padding:6px 12px;

    border-radius:50px;

    background:rgba(220,53,69,.08);
    border:1px solid rgba(220,53,69,.2);

    color:#fff;

    transition:.3s;
}

.seo-tags span:hover{
    background:rgba(220,53,69,.18);
    transform:translateY(-2px);
}

/* hover efecto box */
.info-box:hover{
    border-color:rgba(220,53,69,.3);
    box-shadow:0 20px 60px rgba(220,53,69,.12);
}


/* 
.hero-extincion
*/

.hero-extincion{
    background:
    radial-gradient(circle at top right,
    rgba(220,53,69,.15),
    transparent 35%),
    radial-gradient(circle at bottom left,
    rgba(255,255,255,.05),
    transparent 40%),
    #112e5a;

    color:white;
}

.hero-glow{
    position:absolute;
    border-radius:50%;
    filter:blur(120px);
}

.hero-glow-1{
    width:400px;
    height:400px;
    background:rgba(220,53,69,.20);
    top:-150px;
    right:-100px;
}

.hero-glow-2{
    width:300px;
    height:300px;
    background:rgba(255,255,255,.05);
    bottom:-100px;
    left:-100px;
}

.hero-system-card{
    position:relative;
    width:420px;
    height:420px;
    margin:auto;
}

.system-core{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);

    width:180px;
    height:180px;

    border-radius:50%;

    background:
    linear-gradient(135deg,#dc3545,#ff6b35);

    display:flex;
    align-items:center;
    justify-content:center;

    z-index:3;
    box-shadow:0 0 60px rgba(220,53,69,.4);
}

.system-core i{
    font-size:5rem;
    color:white;
}

.pulse-ring{
    position:absolute;
    top:50%;
    left:50%;

    width:280px;
    height:280px;

    border:1px solid rgba(220,53,69,.4);
    border-radius:50%;

    transform:translate(-50%,-50%);

    animation:pulseRing 3s infinite;
}

.pulse-delay{
    animation-delay:1.5s;
}

@keyframes pulseRing{

    0%{
        opacity:1;
        transform:translate(-50%,-50%) scale(.8);
    }

    100%{
        opacity:0;
        transform:translate(-50%,-50%) scale(1.5);
    }

}

.floating-card{
    position:absolute;

    padding:15px 20px;

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.1);

    border-radius:15px;

    display:flex;
    align-items:center;
    gap:10px;

    color:white;

    animation:floatCard 4s ease-in-out infinite;
}

.floating-card i{
    color:#dc3545;
    font-size:1.3rem;
}

.floating-1{
    top:10%;
    left:0;
}

.floating-2{
    top:25%;
    right:0;
    animation-delay:1s;
}

.floating-3{
    bottom:10%;
    left:50%;
    transform:translateX(-50%);
    animation-delay:2s;
}

@keyframes floatCard{

    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-10px);
    }

}

.feature-mini{

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);

    border-radius:12px;

    padding:15px;

    display:flex;
    align-items:center;
    gap:12px;

    height:100%;
}

.feature-mini i{
    color:#dc3545;
    font-size:1.5rem;
}

.scroll-indicator{

    position:absolute;

    bottom:30px;
    left:50%;

    transform:translateX(-50%);

    display:flex;
    flex-direction:column;

    align-items:center;

    gap:8px;

    color:rgba(255,255,255,.6);

    animation:bounce 2s infinite;
}

@keyframes bounce{

    0%,100%{
        transform:translateX(-50%) translateY(0);
    }

    50%{
        transform:translateX(-50%) translateY(8px);
    }

}

@media(max-width:991px){

    .hero-system-card{
        width:300px;
        height:300px;
        margin-top:50px;
    }

    .system-core{
        width:140px;
        height:140px;
    }

    .system-core i{
        font-size:3rem;
    }

    .floating-card{
        font-size:.8rem;
    }

    .display-2{
        font-size:2.8rem;
    }

}


.hero-agentes{
    background:
    radial-gradient(circle at top right, rgba(13,110,253,.18), transparent 40%),
    radial-gradient(circle at bottom left, rgba(255,255,255,.06), transparent 45%),
    #0b0f14;

    color:#fff;
}

/* glow general */
.glow{
    position:absolute;
    border-radius:50%;
    filter:blur(120px);
}

.glow-clean-1{
    width:420px;
    height:420px;
    background:rgba(13,110,253,.25);
    top:-120px;
    right:-120px;
}

.glow-clean-2{
    width:300px;
    height:300px;
    background:rgba(255,255,255,.05);
    bottom:-120px;
    left:-120px;
}

/* CORE */
.clean-core{
    position:relative;
    width:420px;
    height:420px;
    margin:auto;
}

/* centro */
.core-clean{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);

    width:170px;
    height:170px;

    border-radius:50%;

    background:linear-gradient(135deg,#0d6efd,#00d4ff);

    display:flex;
    align-items:center;
    justify-content:center;

    box-shadow:0 0 70px rgba(13,110,253,.4);
    z-index:3;
}

.core-clean i{
    font-size:4.5rem;
}

/* partículas (sensación de “limpieza molecular”) */
.particle{
    position:absolute;
    width:10px;
    height:10px;
    border-radius:50%;
    background:rgba(255,255,255,.6);
    animation:floatParticle 4s infinite ease-in-out;
}

.p1{ top:10%; left:20%; }
.p2{ top:25%; right:15%; animation-delay:.8s; }
.p3{ bottom:20%; left:10%; animation-delay:1.2s; }
.p4{ bottom:15%; right:20%; animation-delay:1.6s; }

@keyframes floatParticle{
    0%,100%{ transform:translateY(0); opacity:.5; }
    50%{ transform:translateY(-12px); opacity:1; }
}

/* módulos */
.clean-module{
    position:absolute;

    padding:12px 16px;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.1);

    border-radius:14px;

    backdrop-filter:blur(18px);

    display:flex;
    align-items:center;
    gap:8px;

    animation:floatModule 4s ease-in-out infinite;
}

.clean-module i{
    color:#0d6efd;
}

.m1{ top:12%; left:8%; }
.m2{ top:18%; right:10%; animation-delay:1s; }
.m3{ bottom:12%; left:50%; transform:translateX(-50%); animation-delay:2s; }

@keyframes floatModule{
    0%,100%{ transform:translateY(0); }
    50%{ transform:translateY(-10px); }
}

/* mini features */
.mini-clean{
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    padding:14px;
    border-radius:12px;

    display:flex;
    align-items:center;
    gap:10px;
}

.mini-clean i{
    color:#0d6efd;
    font-size:1.4rem;
}

/* responsive */
@media(max-width:991px){
    .clean-core{
        width:300px;
        height:300px;
        margin-top:40px;
    }

    .core-clean{
        width:130px;
        height:130px;
    }

    .core-clean i{
        font-size:3rem;
    }
}



.hero-aseguradoras{
    background:
    radial-gradient(circle at top left, rgba(25,135,84,.18), transparent 40%),
    radial-gradient(circle at bottom right, rgba(255,255,255,.06), transparent 45%),
    #0b0f14;

    color:#fff;
}

/* glow */
.glow{
    position:absolute;
    border-radius:50%;
    filter:blur(120px);
}

.glow-insurance-1{
    width:420px;
    height:420px;
    background:rgba(25,135,84,.25);
    top:-120px;
    right:-120px;
}

.glow-insurance-2{
    width:300px;
    height:300px;
    background:rgba(255,255,255,.05);
    bottom:-120px;
    left:-120px;
}

/* CORE */
.insurance-core{
    position:relative;
    width:420px;
    height:420px;
    margin:auto;
}

/* centro */
.core-insurance{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);

    width:170px;
    height:170px;

    border-radius:50%;

    background:linear-gradient(135deg,#198754,#20c997);

    display:flex;
    align-items:center;
    justify-content:center;

    box-shadow:0 0 70px rgba(25,135,84,.4);
    z-index:3;
}

.core-insurance i{
    font-size:4.5rem;
}

/* nodos flujo */
.node-ins{
    position:absolute;

    padding:12px 16px;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.1);

    border-radius:14px;

    backdrop-filter:blur(18px);

    display:flex;
    align-items:center;
    gap:8px;

    animation:floatInsurance 4s ease-in-out infinite;
}

.node-ins i{
    color:#20c997;
}

.n1{ top:10%; left:8%; }
.n2{ top:18%; right:10%; animation-delay:.8s; }
.n3{ bottom:18%; left:10%; animation-delay:1.2s; }
.n4{ bottom:10%; right:8%; animation-delay:1.8s; }

@keyframes floatInsurance{
    0%,100%{ transform:translateY(0); }
    50%{ transform:translateY(-10px); }
}

/* flujo circular */
.flow-ring{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    border-radius:50%;
    border:1px solid rgba(25,135,84,.3);
    animation:pulse 3s infinite;
}

.r1{
    width:260px;
    height:260px;
}

.r2{
    width:340px;
    height:340px;
    animation-delay:1.5s;
}

@keyframes pulse{
    0%{
        transform:translate(-50%,-50%) scale(.8);
        opacity:1;
    }
    100%{
        transform:translate(-50%,-50%) scale(1.4);
        opacity:0;
    }
}

/* mini features */
.mini-insurance{
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    padding:14px;
    border-radius:12px;

    display:flex;
    align-items:center;
    gap:10px;
}

.mini-insurance i{
    color:#20c997;
    font-size:1.4rem;
}

/* responsive */
@media(max-width:991px){
    .insurance-core{
        width:300px;
        height:300px;
        margin-top:40px;
    }

    .core-insurance{
        width:130px;
        height:130px;
    }

    .core-insurance i{
        font-size:3rem;
    }
}

.certifications-section{

    position:relative;

    background: radial-gradient(circle at top right, rgba(255, 120, 0, .08), transparent 45%), linear-gradient(180deg, #28436a, #2e0c0c);

}

.hero-badge{

    display:inline-flex;
    align-items:center;
    gap:.6rem;

    background:rgba(255,122,0,.12);
    color:#ff8b1f;

    padding:10px 18px;
    border-radius:50px;

    font-weight:700;
    letter-spacing:.8px;

    border:1px solid rgba(255,122,0,.25);

}

.cert-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
    align-items:center;

}

.cert-card-modern{

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);

    border-radius:24px;

    padding:35px 25px;

    text-align:center;

    transition:.4s;

    backdrop-filter:blur(18px);

}

.cert-card-modern img{

    height:85px;

    object-fit:contain;

    margin-bottom:25px;

    filter:grayscale(.15);

}

.cert-card-modern h4{

    color:#fff;
    margin-bottom:12px;
    font-weight:700;

}

.cert-card-modern p{

    color:#9da7b3;
    font-size:.92rem;
    margin:0;

}

.cert-card-modern:hover{

    transform:translateY(-12px);

    border-color:#ff7a00;

    box-shadow:
    0 20px 45px rgba(255,122,0,.25);

}

.featured{

    transform:scale(1.08);

    border:2px solid #ff7a00;

    background:
    linear-gradient(180deg,
    rgba(255,122,0,.10),
    rgba(255,255,255,.04));

}

.featured:hover{

    transform:scale(1.08) translateY(-12px);

}

.trust-box{

    background:#151c24;

    border-left:4px solid #ff7a00;

    padding:18px;

    border-radius:16px;

}

.trust-box h3{

    color:#ff7a00;
    margin:0;
    font-size:2rem;
    font-weight:800;

}

.trust-box span{

    color:#b7c1cc;
    font-size:.9rem;

}

@media(max-width:991px){

.cert-grid{

grid-template-columns:1fr;

}

.featured{

transform:none;

}

}

.about-section{

position:relative;

background:
radial-gradient(circle at right top,
rgba(255,120,0,.08),
transparent 45%);

}

.feature-card{

height:100%;

padding:28px;

border-radius:22px;

background:rgba(255,255,255,.04);

border:1px solid rgba(255,255,255,.08);

transition:.35s;

backdrop-filter:blur(15px);

}

.feature-card:hover{

transform:translateY(-10px);

border-color:#ff7a00;

box-shadow:0 20px 45px rgba(255,122,0,.18);

}

.feature-card i{

font-size:2rem;

color:#ff7a00;

margin-bottom:18px;

display:block;

}

.feature-card h5{

color:#fff;

font-weight:700;

margin-bottom:12px;

}

.feature-card p{

color:#9da7b3;

margin:0;

font-size:.95rem;

}

.stats-panel{

position:relative;

height:620px;

background:

linear-gradient(135deg,
rgba(255,122,0,.08),
rgba(255,255,255,.02));

border-radius:35px;

border:1px solid rgba(255,255,255,.08);

overflow:hidden;

}

.stats-panel::before{

content:"";

position:absolute;

width:380px;
height:380px;

border-radius:50%;

background:

radial-gradient(circle,
rgba(255,122,0,.18),
transparent);

top:-120px;
right:-120px;

}

.floating-card{

position:absolute;

background:#131922;

border-radius:22px;

padding:28px;

min-width:220px;

box-shadow:0 25px 50px rgba(0,0,0,.35);

border:1px solid rgba(255,255,255,.08);

transition:.35s;

}

.floating-card:hover{

transform:translateY(-10px);

border-color:#ff7a00;

}

.floating-card h2{

color:#ff7a00;

font-size:3rem;

font-weight:800;

margin-bottom:8px;

}

.floating-card span{

color:#c4ccd6;

}

.card-1{

top:45px;
left:40px;

}

.card-2{

top:120px;
right:40px;

}

.card-3{

bottom:120px;
left:70px;

}

.card-4{

bottom:40px;
right:60px;

}

@media(max-width:991px){

.stats-panel{

height:auto;

padding:25px;

display:grid;

grid-template-columns:1fr 1fr;

gap:20px;

}

.floating-card{

position:relative;

top:auto;
left:auto;
right:auto;
bottom:auto;

min-width:100%;

}

}

