html, body {
  margin: 0;
  padding: 0;
}

:root {
  --primary-dark: #2E2D2C;
  --secondary-color: #503617;
  --secondary-light: #6a4c2d;
  --white: #FFFFFF;
  --accent-gold: #d4af37;
  --primary-color: #231F1E;
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body{
  font-family: "Montserrat", sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  overflow-x: hidden;
}

.contenedor{
  max-width: 120rem;
  margin: 0 auto;
}

.encabezado, 
.encabezado-arriba, 
.fondo-header-superior,
.encabezado-abajo,
.encabezado-contenido {
  margin: 0;
  padding: 0;
}

.image-container {
    position: relative;
    width: fit-content;
    margin: 20px;
    
}



/* .image-frame {
    position: relative;
    z-index: 2;
} */

.image-frame img {
    display: block;
    max-width: 100%;
    height: 42rem;
}

.decorative-corner {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background-color: #FFA500; 
    z-index: 1;
}


.encabezado{
  width: 100%; 
  background-color: white;
  display: block; 
  margin-top: 0; 
  border: 0; 
}


.fondo-header-superior {
  width: 100%;
  background-color: var(--primary-dark);
  display: block; 
  margin-top: 0; 
  border: 0; 
  position: relative;
}


.encabezado-arriba{
  display: flex;
  padding: 1rem 5%;
  justify-content: space-between;
  color: var(--white);
  max-width: 120rem;
  margin: 0 auto;
}

.encabezado-arriba .top{
  display: flex;
}

.encabezado-arriba-left{
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 2rem;
}

.soporte-item {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.soporte-item p {
  margin: 0;
}

.encabezado-arriba-right{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 3rem;
}

.encabezado-arriba-right-flex{
  display: flex;
  align-items: center;
  gap: 3rem;
}

.encabezado-arriba-right-flex p {
  margin: 0;
  margin-right: 0.5rem;
}

.encabezado-arriba-right-flex a {
  margin: 0 0.3rem;
}

.logo-header-arriba{
  height: 1.6rem;
  width: 1.6rem;
  fill: var(--white);
  filter: brightness(1.2);
  display: inline-block;
}


svg {
  display: block;
}

.encabezado-arriba-right-flex a:hover .logo-header-arriba {
  transform: scale(1.2);
  transition: transform 0.3s ease;
}


.soporte-item img,
.encabezado-arriba-right-flex img {
  vertical-align: middle;
}


.encabezado-abajo {
  width: 100%;
  background-color: #323232;
  border-bottom: 3px solid #323232;
  margin: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); 
}


.encabezado-fijo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #323232;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}


body.con-encabezado-fijo .contenido-principal {
  padding-top: 10rem; 
}

.encabezado-contenido {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem; 
  max-width: 120rem;
  margin: 0 auto; 
  padding: 0 2rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 8rem; 
  max-width: 100%;
}


.logo-principal {
  height: 8rem;
  width: 25rem;
  max-height: 8rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  object-fit: cover; 
  display: block; 
  transition: transform 0.3s ease;
}

.logo:hover .logo-principal {
  transform: scale(1.05);
}

.logo-texto h2 {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary-dark);
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.5px;
}

.logo-texto p {
  margin: 0;
  font-size: 1.4rem;
  color: var(--secondary-color); 
  font-weight: 500;
}

.navegacion {
  display: flex;
  gap: 2rem;
}

.navegacion a {
  text-decoration: none;
  color: #cc964d;
  font-weight: 500;
  padding-bottom: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.navegacion a:hover {
  color: #ffffff;
}

.navegacion a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

.navegacion a:hover::after {
  width: 50%;
}

.navegacion a.activo {
  color: #ffffff;
  font-weight: 600;
  transition: all 0.3s ease;
}

.navegacion a.activo::after {
  width: 100%;
  background-color: #ffffff;
  transition: width 0.5s ease;
}

.navegacion a:hover {
  color: #ffffff;
}



.boton-busqueda img {
  width: 2rem;
  height: 2rem;
  transition: all 0.3s ease;
  stroke: var(--primary-dark); 
}

.slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 0;
  padding: 0;
}

.slider {
  width: 100%;
  position: relative;
  height: 100vh; 
  max-height: 100vh;
}

.slide {
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  display: none;
  transform: scale(1);
  transition: opacity 1s ease-in-out, transform 5s ease; 
}


.slide:nth-child(1) .slide-content {
  background-image: url('../img/slider1.jpg');
  background-image: -webkit-image-set(url('../img/slider1.jpg') 1x);
  background-image: image-set(url('../img/slider1.jpg') 1x);
}

.slide:nth-child(2) .slide-content {
  background-image: url('../img/slider2.jpg');
  background-image: -webkit-image-set(url('../img/slider2.jpg') 1x);
  background-image: image-set(url('../img/slider2.jpg') 1x);
}

.slide:nth-child(3) .slide-content {
  background-image: url('../img/slider3.jpg');
  background-image: -webkit-image-set(url('../img/slider3.jpg') 1x);
  background-image: image-set(url('../img/slider3.jpg') 1x);
}

.slide:nth-child(4) .slide-content {
  background-image: url('../img/slider4.jpg');
  background-image: -webkit-image-set(url('../img/slider4.jpg') 1x);
  background-image: image-set(url('../img/slider4.jpg') 1x);
}

.slide-content {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  
  background-attachment: scroll;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.slide-text {
  position: absolute;
  top: 50%;
  left: 15%; 
  transform: translateY(-50%); 
  text-align: left; 
  color: var(--white);
  width: 60%; 
  max-width: 650px;
  z-index: 2;
  padding: 2rem;
}

.slide-text h2 {
  font-size: 4.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  font-family: "Raleway", sans-serif;
  color: var(--white);
  line-height: 1.2;
}


.slide-text h2 .highlight {
  color: #ffa500; 
  font-weight: 800;
}

.slide-text p {
  font-size: 1.7rem;
  margin-bottom: 3rem;
  line-height: 1.7;
  opacity: 0.9; 
  max-width: 90%;
}

.btn-container {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.btn-slide {
  display: inline-block;
  padding: 1.2rem 3rem;
  color: var(--white);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid;
}

.btn-primary {
  background-color: #ffa500; 
  border-color: #ffa500;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--white);
}

.btn-slide:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


.slider-arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  z-index: 3;
  transform: translateY(-50%);
}

.arrow {
  cursor: pointer;
  position: absolute;
  width: 50px;
  height: 50px;
  background-color: #312f2f57;
  color: #f3f2ed5c;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  outline: none;
}

.arrow:hover {
  background-color: #ffa50042;
}

.arrow-left {
  left: 20px;
}

.arrow-right {
  right: 20px;
}


.fade {
  animation-name: fade;
  animation-duration: 1s;
}

@keyframes fade {
  from {opacity: 0.3}
  to {opacity: 1}
}


.slide.active {
  opacity: 1;
  display: block;
  transform: scale(1.05);
}


.about-company {
  padding: 4rem 0;
  position: relative;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text {
  padding-right: 20px;
}

.about-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #231F1E;
  margin-bottom: 30px;
  line-height: 1.2;
  font-family: "Montserrat", sans-serif;
}

.highlight-orange {
  color: #f39c12;
}

.highlight-texto_es {
  color: #231F1E;
}

.highlight-white {
  color: #FFFFFF;
}

.about-description {
  font-size: 1.6rem;
  color: #ffffff;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.stats-container {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: 4rem;
  font-weight: 700;
  color: #24201F;
  margin: 0;
  margin-bottom: 5px;
  font-family: "Montserrat", sans-serif;
}

.stat-label {
  font-size: 1.4rem;
  color: #ffffff;
  margin: 0;
  font-weight: 500;
}

.about-image {
  position: relative;
}

/* .image-frame {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
} */

.image-frame::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  background: var(--primary-dark);
  z-index: -1;
}

.security-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}


.why-choose-us {
  padding: 4rem 0;
  background: #CC964D;
  position: relative;
}

.why-choose-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.why-choose-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-choose-image {
  position: relative;
}

.security-agent-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.why-choose-text {
  padding-left: 20px;
}

.why-choose-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 40px;
  line-height: 1.2;
  font-family: "Montserrat", sans-serif;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.feature-item {
  padding: 20px 0;
}

.feature-icon {
  margin-bottom: 15px;
}

.feature-icon svg {
  width: 48px;
  height: 48px;
}

.feature-title {
  font-size: 2.8rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 12px;
  margin-top: 0;
}

.feature-description {
  font-size: 1.4rem;
  color: #ffffff;
  line-height: 1.6;
  margin: 0;
}


.services-section {
  background-color: var(--primary-color);
  color: #fff;
  padding: 4px 0;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  overflow-x: hidden;
  position: relative;
  left: 0;
  right: 0;
}

.services-container {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.services-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 30px;
  line-height: 1.2;
  font-family: "Montserrat", sans-serif;
  text-align: center;
}

.services-description {
  font-size: 1.6rem;
  color: #bdc3c7;
  line-height: 1.8;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.services-slider {
  display: flex;
  width: 100%;
  gap: .2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  margin: 0 auto;
  scrollbar-width: none; /* Firefox */
}

.services-slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.service-slide {
  flex: 1;
  position: relative;
  height: 65rem;
  overflow: hidden;
  border-right: 1px solid rgba(128, 128, 128, 0.4);
  transition: all 0.4s ease;
}

.service-slide:last-child {
  border-right: none;
}

.service-slide:hover {
  flex: 1.2; /* Reducimos la expansión de 1.5 a 1.2 */
  outline: none;
  border-color: rgba(128, 128, 128, 0.4);
}

.service-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  z-index: 1;
  transform: scale(1.0); 
  transition: transform 0.4s ease;
}

.service-slide:nth-child(1) .service-image-container {
  background-image: url('../src/servicio1.webp');
}

.service-slide:nth-child(2) .service-image-container {
  background-image: url('../src/servicio2.webp');

}

.service-slide:nth-child(3) .service-image-container {
  background-image: url('../src/service3.webp');
}

.service-slide:nth-child(4) .service-image-container {
  background-image: url('../src/service4.webp');
}

.service-slide:nth-child(5) .service-image-container {
  background-image: url('../src/service5.webp');
}

.service-slide:hover .service-image-container {
  transform: scale(0.95); 
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 30px;
  transition: opacity 0.3s ease;
}

.service-slide:hover .service-overlay {
  opacity: 0;
}

.service-icon {
  margin-bottom: 20px;
}

.service-icon svg {
  width: 48px;
  height: 48px;
  fill: #d8d8d8; 
}

.service-title {
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.service-detail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; 
  background: #cc964d;
  padding: 40px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-slide:hover .service-detail {
  opacity: 1;
}

.service-detail-inner {
  text-align: left; 
  max-width: 90%;
}

.service-title-hover {
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: 600;
}

.service-description {
  font-size: 1.4rem;
  color: #e0e0e0;
  margin-bottom: 25px;
  line-height: 1.6;
}

.service-link {
  display: inline-block;
  padding: 10px 25px;
  background-color: #c0392b;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 1.4rem;
  transition: background-color 0.3s;
  text-align: left; 
}

.service-link:hover {
  background-color: #e74c3c;
}

.service-description {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.6;
}

.service-link {
  font-size: 1.4rem;
  color: #f39c12;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

.service-link:hover {
  color: #e67e22;
  text-decoration: underline;
}

.footer-main {
  background-color: var(--primary-color);
  color: #fff;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  position: relative;
  overflow: hidden;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}


.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}


.footer-logo-img {
  height: auto;
  width: 20rem;
  max-height: 8rem;
  margin-right: 1.5rem;
  object-fit: cover;
  filter: brightness(1.5);
}


.footer-logo .logo-principal {
  height: auto ;
  max-height: 4.5rem;
  width: auto;
  margin-right: 1rem;
  object-fit: contain;
  filter: brightness(1.5) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.07));
}

.footer-logo-text h2 {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
}

.footer-logo-text p {
  margin: 0;
  font-size: 1.4rem;
  color: #fff;
}

.footer-description {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #bdc3c7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #f39c12;
  background-color: transparent;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background: #f39c12;
}

.social-icon img {
  width: 16px;
  height: 16px;
  filter: brightness(0) saturate(100%) invert(72%) sepia(50%) saturate(1095%) hue-rotate(352deg) brightness(99%) contrast(94%);
}

.social-icon:hover img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(32deg) brightness(107%) contrast(101%);
}


.footer-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #f39c12;
}


.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links li a {
  color: #bdc3c7;
  text-decoration: none;
  font-size: 1.4rem;
  transition: color 0.3s;
  display: flex;
  align-items: center;
}

.footer-links li a:hover {
  color: #f39c12;
}

.footer-links li a i {
  margin-right: 10px;
  color: #f39c12;
  font-size: 1.2rem;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  margin-bottom: 15px;
  color: #bdc3c7;
  font-size: 1.4rem;
}

.footer-contact li i {
  color: #f39c12;
  margin-right: 15px;
  font-size: 1.6rem;
  min-width: 20px;
}


.footer-bottom {
  background-color: #1d1d1d;
  padding: 20px 0;
}

.footer-bottom .footer-container {
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  margin: 0;
  color: #bdc3c7;
  font-size: 1.3rem;
  text-align: center;
}

.back-to-top {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: #f39c12;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.3s;
}

.back-to-top:hover {
  background-color: #e67e22;
}

.back-to-top i {
  font-size: 1.6rem;
}


h1, h2, h3, h4, h5 {
  font-family: "Montserrat", sans-serif;
}


@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-text {
    padding-right: 0;
    text-align: center;
  }
  
  .about-title {
    font-size: 2.8rem;
  }
  
  .stats-container {
    justify-content: center;
    gap: 30px;
  }
  
  .stat-item {
    text-align: center;
  }
  
  .security-image {
    height: 300px;
  }
  
  .why-choose-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .why-choose-text {
    padding-left: 0;
  }
  
  .why-choose-title {
    font-size: 2.8rem;
    text-align: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .security-agent-image {
    height: 350px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  
  .services-title {
    font-size: 2.8rem;
  }
  
  .services-description {
    font-size: 1.5rem;
  }
  
  .footer-logo-img {
    max-height: 5rem; 
  }
}

/* Estilos responsivos adicionales para el encabezado */
@media (max-width: 768px) {
  .encabezado-arriba {
    flex-direction: column;
    align-items: center;
    padding: 0.8rem 5%;
  }
  
  .encabezado-arriba-left,
  .encabezado-arriba-right {
    width: 100%;
    justify-content: center;
  }
  
  .encabezado-arriba-left {
    margin-bottom: 1rem;
  }
  
  .encabezado-contenido {
    padding: 1rem 5%;
    justify-content: space-between;
  }
  
  .logo {
    max-width: 70%;
    justify-content: center;
    margin: 0 auto;
  }
  
  .logo img {
    height: 8rem;
    max-width: 100%;
}

  .logo-principal {
    max-width: 100%;
    padding-left: 0;
    object-fit: cover;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .encabezado-arriba {
    padding: 0.5rem 3%;
  }
  
  .encabezado-arriba-right-flex p {
    display: none;
  }
  
  .encabezado-contenido {
    padding: 1rem 3%;
  }
  
 .soporte-item {
  font-size: 1.4rem;
}

.soporte-item a {
  text-decoration: none;  /* Quita el subrayado */
  color: inherit;         /* Usa el mismo color del texto que lo rodea */
}

.soporte-item p {
  font-size: 1.4rem;
  margin: 0; /* Opcional: mejora alineación */
}
  
  .logo-header-arriba {
    width: 1.8rem;
  }
}

.footer-logo-img {
  transition: all 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
  transform: scale(1.05);
}

@media (max-width: 480px) {
  .stats-container {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  
  .about-title {
    font-size: 2.4rem;
  }
  
  .about-description {
    font-size: 1.4rem;
  }
  
  .why-choose-title {
    font-size: 2.4rem;
  }
  
  .feature-title {
    font-size: 1.6rem;
  }
  
  .feature-description {
    font-size: 1.3rem;
  }
  
  .security-image {
    height: 300px;
  }
  
  .security-agent-image {
    height: 300px;
  }
}


html, body {
  overflow-x: hidden; 
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  position: relative;
}


.contenido-principal {
  border-top: .1rem solid #e1e1e1;
  width: 100%;
  overflow: visible;
  position: relative;
}


.services-section {
  width: 100vw !important; 
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  position: relative;
  overflow: hidden;
}


@media (max-width: 1200px) {
  .services-grid {
    padding: 0 20px;
  }
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}


@media (max-width: 768px) {
  .slide-content {
    background-position: center center;
  }
}


.slider-container {
  overflow: hidden;
}

.feature-icon .goal-icon {
  filter: brightness(0) saturate(100%) invert(66%) sepia(79%) saturate(1603%) hue-rotate(359deg) brightness(103%) contrast(92%);
  -webkit-filter: brightness(0) saturate(100%) invert(66%) sepia(79%) saturate(1603%) hue-rotate(359deg) brightness(103%) contrast(92%);
  fill: rgb(243, 156, 18);
  color: rgb(243, 156, 18);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.contact-section {
  padding: 3rem 0;
  background-color: #f8f8f8;
  position: relative;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('https://images.unsplash.com/photo-1582139329536-e7284fece509?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80');
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.contact-container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-title {
  font-size: 3.8rem;
  text-align: center;
  color: var(--primary-dark);
  margin-bottom: 2rem;
  font-weight: 700;
}

.highlight-orange {
  color: #f39c12;
}

.contact-description {
  text-align: center;
  max-width: 80rem;
  margin: 0 auto 5rem;
  font-size: 1.8rem;
  color: #666;
  line-height: 1.6;
}

.contact-content {
  display: flex;
  gap: 5rem;
  align-items: flex-start;
}

.contact-form-container {
  flex: 2;
  background-color: var(--white);
  border-radius: 8px;
  padding: 3rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.form-title {
  font-size: 2.4rem;
  color: var(--primary-dark);
  margin-bottom: 2.5rem;
  font-weight: 600;
}

.form-row {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.form-group {
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1.2rem 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 1.6rem;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 1.5rem;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #f39c12;
  outline: none;
  box-shadow: 0 0 0 2px rgba(243, 156, 18, 0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 12rem;
}

.btn-submit {
  background-color: #f39c12;
  color: white;
  padding: 1.2rem 3rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1.6rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 1px;
  display: inline-block;
  text-transform: uppercase;
}

.btn-submit:hover {
  background-color: #e67e22;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-info {
  flex: 1 1 100%;
  padding: 3rem;
  background-color: var(--primary-dark);
  border-radius: 8px;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);

  min-width: 0;
}

.info-section {
  margin-bottom: 3rem;
}

.info-section h3 {
  font-size: 2.2rem;
  color: #f39c12;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.info-section p {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  color: #e0e0e0;
}

.whatsapp-float {
  position: fixed;
  width: 6rem;
  height: 6rem;
  bottom: 3rem;
  right: 3rem;
  background-color: #54d46f;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 1.2rem;
  backdrop-filter: blur(3px);
}

.whatsapp-float:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: #128C7E;
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.2);
  border: 1px solid rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
  width: 100%;
  height: 100%;
}

.floating-btn {
  position: fixed;
  width: 6rem;
  height: 6rem;
  background-color: #ccc;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 1.2rem;
  backdrop-filter: blur(3px);
}

.floating-btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-5px);
}

/* Posiciones individuales */
.whatsapp {
  bottom: 3rem;
  right: 3rem;
  background-color: #25D366;
}
.whatsapp:hover {
  color: #128C7E;
  border: 1px solid rgba(37, 211, 102, 0.4);
}

.instagram {
  bottom: 10rem;
  right: 3rem;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.instagram:hover {
  color: #d6249f;
  border: 1px solid rgba(214, 36, 159, 0.4);
}

.facebook {
  bottom: 17rem;
  right: 3rem;
  background-color: #3b5998;
}
.facebook:hover {
  color: #3b5998;
  border: 1px solid rgba(59, 89, 152, 0.4);
}

.floating-btn svg {
  width: 100%;
  height: 100%;
}


@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.whatsapp-float:active {
  animation: pulse 0.3s linear;
}


@media (max-width: 768px) {
  .whatsapp-float {
    width: 5rem;
    height: 5rem;
    bottom: 2rem;
    right: 2rem;
    font-size: 2.5rem;
  }
   .contact-content {
    flex-direction: column;
  }

  .contact-form-container,
  .contact-info {
    width: 100%;
  }
}



@media (max-width: 480px) {
  .whatsapp-float {
    width: 4.5rem;
    height: 4.5rem;
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 1rem;
  }
}


section[id] {
  scroll-margin-top: 90px; 
}

.about-company2 {
  padding-top: 2rem;
  background-color: #CC964D;
}


html {
  scroll-behavior: smooth;
}


.submit-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
  width: 100%;
}

.btn-submit {
  background-color: #f39c12;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 1.2rem 3rem;
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
}

.btn-submit:hover {
  background-color: #e67e22;
}


.error-message {
  color: #d32f2f;
  font-size: 1.4rem;
  margin-top: 0.5rem;
  display: none;
}

@media (min-width: 768px) {
  .submit-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  
  .g-recaptcha {
    transform: scale(0.9);
    transform-origin: left center;
  }
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 100;
}

.bar {
  height: 3px;
  width: 100%;
  background-color: #f39c12;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
}


@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .encabezado-contenido {
    position: relative;
  }
  
  .navegacion {
    position: fixed;
    top: 0;
    right: -100%;
    flex-direction: column;
    background-color: var(--white);
    width: 80%;
    max-width: 300px;
    height: 100vh;
    padding: 80px 20px 40px;
    z-index: 90;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease-in-out;
    align-items: center;
  }
  
  .navegacion.show {
    right: 0;
  }
  
  .navegacion a {
    padding: 15px 0;
    font-size: 2rem;
    width: 100%;
    text-align: center;
  }
  
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  body.menu-open {
    overflow: hidden;
  }
}


@media (max-width: 768px) {
  body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 80;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  body.menu-open::after {
    opacity: 1;
    visibility: visible;
  }
}


@media (max-width: 992px) {
  .slider-container {
    height: 500px;
  }
  
  .slide-text {
    width: 70%;
    left: 10%;
  }
  
  .slide-text h2 {
    font-size: 3.8rem;
  }
}

@media (max-width: 768px) {
  .slider-container {
    height: 500px; 
  }
  
  .slider {
    height: 500px; 
  }
  
  .slide-text {
    width: 80%;
    left: 5%;
    padding: 1.5rem;
    top: 45%; 
  }
  
  .slide-text h2 {
    font-size: 3.2rem;
  }
  
  .slide-text p {
    font-size: 1.5rem;
    margin-bottom: 1.5rem; 
  }
  
  .btn-container {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 250px;
    margin-top: 1rem; 
  }
  
  .btn-slide {
    text-align: center;
    padding: 1rem 2rem;
  }
  
  .arrow {
    width: 40px;
    height: 40px;
  }
  

  .slider-arrows {
    transform: none; 
    position: absolute;
    bottom: 20px;
    top: auto;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 50px; 
  }
  
  .arrow-left {
    position: relative;
    left: auto;
    bottom: auto;
  }
  
  .arrow-right {
    position: relative;
    right: auto;
    bottom: auto;
  }
}

@media (max-width: 480px) {
  .slider-container {
    height: 520px; 
  }
  
  .slider {
    height: 520px;
  }
  
  .slide-text {
    width: 90%;
    left: 5%;
    padding: 1rem;
    top: 35%;
  }
  
  .slide-text h2 {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
  }
  
  .slide-text p {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    line-height: 1.5;
  }
  
  .btn-slide {
    font-size: 1.3rem;
    padding: 0.9rem 1.5rem;
    letter-spacing: 0.5px;
  }
  
  .arrow {
    width: 36px;
    height: 36px;
    position: relative;
  }
  
  .slider-arrows {
    bottom: 15px; 
  }
}


/* Media queries para el slider de servicios */
@media screen and (max-width: 1200px) {
  .service-slide {
    flex: 1;
  }
  
  .service-slide:hover {
    flex: 1.2;
  }
}

@media screen and (max-width: 992px) {
  .service-slide {
    flex: 1;
  }
  
  .service-slide:hover {
    flex: 1.15;
  }
  
  .service-detail-inner {
    max-width: 95%;
  }
}

@media screen and (max-width: 768px) {
  .services-slider {
    flex-wrap: wrap;
  }
  
  .service-slide {
    flex: 0 0 50%;
    height: 55rem; 
    border-right: 1px solid rgba(128, 128, 128, 0.4);
    border-bottom: 1px solid rgba(128, 128, 128, 0.4);
  }
  
  .service-slide:nth-child(2n) {
    border-right: none;
  }
  
  .service-slide:hover {
    flex: 0 0 50%;
    outline: none;
    border-color: rgba(128, 128, 128, 0.4);
  }
  
  .service-title {
    font-size: 1.6rem;
  }
  
  .service-title-hover {
    font-size: 1.6rem;
  }
  
  .service-description {
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 576px) {
  .service-slide {
    flex: 0 0 100%;
    height: 45rem; 
    border-right: none;
  }
  
  .service-slide:hover {
    flex: 0 0 100%;
    outline: none;
    border-color: rgba(128, 128, 128, 0.4);
  }
  
  .service-overlay {
    padding: 20px;
  }
  
  .service-icon svg {
    width: 36px;
    height: 36px;
  }
}

.service-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 25%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-slide:hover::before {
  opacity: 1;
}

.service-slide {
  position: relative;
  overflow: hidden;
}

.service-slide::before {
  pointer-events: none;
}

.service-shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20%; 
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 3;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.service-slide:hover .service-shine {
  opacity: 0.7;
  transition: opacity 0.6s ease;
}

/* Media queries para hacer el footer responsive */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    gap: 20px;
  }
  
  .footer-column {
    margin-bottom: 20px;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-logo-text {
    text-align: center;
  }

  .footer-description {
    text-align: center;
  }
  
  .footer-title {
    text-align: center;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-links {
    text-align: center;
  }
  
  .footer-links li a {
    justify-content: center;
  }
  
  .footer-contact {
    text-align: center;
  }
  
  .footer-contact li {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-contact li i {
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .footer-bottom .footer-container {
    padding: 0 20px;
    text-align: center;
    flex-direction: column;
  }
  
  .copyright {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  
  .footer-social {
    justify-content: center;
    margin-top: 15px;
  }
}
