* {
  box-sizing: border-box;
  /* display: inline-block; */
}
a {
  text-decoration: none;
  display: inline-block;
}
ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

body {
  font-family: 'PT Serif', serif;
  font-weight: normal;
  font-size: 14px;
  line-height: 18px;
  color: #5e5e5e;
}
/* _________________HEADER________________ */
.header {
  font-family: 'Roboto', sans-serif;
}
.header-top {
  background-color: #303030;
}
.header-btn {
  float: right;
  font-size: 16px;
  line-height: 36px;
  color: #1b1b1b;
  padding: 5px 20px 4px 50px;
  background-color: #1391ff;
  position: relative;
}
.header-btn::before {
  content: '\f0b1';
  font-family: 'icomoon';
  position: absolute;
  left: 22px;
  color: #1b1b1b;
}

.header-phone,
.header-email {
  color: #cbcacb;
  list-style: 0.25px;
  line-height: 45px;
  position: relative;
}
.header-phone {
  padding-left: 20px;
  padding-right: 30px;
}
.header-phone::before {
  content: '\f095';
  font-family: 'icomoon';
  position: absolute;
  left: 0;
  color: #1391ff;
}
.header-email {
  padding-left: 24px;
}
.header-email::before {
  content: '\f003';
  font-family: 'icomoon';
  position: absolute;
  left: 0;
  color: #1391ff;
}
.header-content {
  padding: 34px 0px 23px;
  background-color: rgb(0, 0, 0); /* negro con 60% opacidad */
}

/*.header-content {
  padding: 34px 0px 23px;
  height: 100px; /* o el alto que desees 
  overflow: hidden;
} 
*/

.header-content-inner {
  display: flex;
  justify-content: space-between;
}

.menu li {
  display: inline-block;
}
.menu a {
  color: #cbcacb;
  font-style: 16px;
  line-height: 36px;
  border: 1px solid transparent;
  padding: 0px 16px;
}
.menu a:hover {
  border-color: #1391ff;
  transition: all 0.3s;
}
.menu li + li {
  padding-left: 10px;
}

.popup-bg {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  z-index: 4;
}
.popup {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  background: #ffffff;
  padding: 20px;
  transform: translate(-50%, -50%);
  padding-top: 60px;
  z-index: 3;
}
.close-popup {
  position: absolute;
  top: 30px;
  right: 30px;
  cursor: pointer;
}
/* --------SLIDER------------ */



.slider {
  background: url(../img/hero.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  min-height: 500px;
  position: relative;
  height: 200px;
  overflow: hidden;
}
.slider::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background: #f0f0f0; /* El mismo color que #services */
  clip-path: ellipse(60% 100% at 50% 100%);
}
.slider-item-content {
  text-align: center;
  padding-top: 50px;
  max-width: 665px;
  margin: 0 auto;
}
.slider-title {
  text-transform: uppercase;
  font-size: 30px;
  color: #ffffff;
  line-height: 36px;
  font-weight: 500;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  font-family: 'Roboto', sans-serif;
}
.slider-text {
  line-height: 24px;
  font-size: 18px;
  color: #d3d2d2;
  margin-bottom: 50px;
}

.default-btn {
  font-size: 14px;
  line-height: 24px;
  color: #fff;
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
  padding: 8px 30px 8px 24px;
  border: 1px solid #1391ff;
  border-right-width: 20px;
  position: relative;
  cursor: pointer;
  outline: none;
}
.default-btn::after {
  content: '\f105';
  font-family: 'icomoon';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -12px;
  cursor: pointer;
}
.slider-inner {
  position: relative;
}
.slick-btn {
  position: absolute;
  top: 70%;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 1px solid #fff;
  cursor: pointer;
  outline: none;
  background-color: #1391ff;
}
.slick-btn.slick-disabled {
  cursor: default;
  background-color: transparent;
}
.slick-btn:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'icomoon';
  color: #fff;
}
.slick-next {
  right: 0;
}
.slick-next:before {
  content: '\f105';
}
.slick-prev {
  left: 0;
}
.slick-prev:before {
  content: '\f104';
}
/*---------services------- */
.services {
  padding: 50px 0 30px;
  background-color: #f0f0f0;
  padding: 60px;
  text-align: center;
}
.services-top,
.news-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
}
.services-title-box,
.form-title-box,
.news-title-box {
  max-width: 590px;
  padding-left: 140px;
  position: relative;
}
.services-title-box:before,
.form-title-box:before,
.news-title-box:before {
  content: '';
  position: absolute;
  width: 100px;
  height: 2px;
  background-color: #1391ff;
  left: 0;
  top: 11px;
}
.services-title,
.form-title,
.news-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 24px;
  color: #212020;
  font-family: 'Roboto', sans-serif;
  margin-bottom: 20px;
}
.services-text,
.form-text,
.news-text {
  letter-spacing: 0.1px;
}
.services-btn a,
.news-btn a {
  color: #373636;
  line-height: 24px;
  letter-spacing: 0.25px;
  padding: 5px 38px;
  border: 3px solid #e6e6e6;
}
.services-items {
  display: flex;
  justify-content: space-between;
  /* flex-wrap: wrap; */
}
.services-item {
  max-width: 360px;
  text-align: center;
  padding: 30px 0px 80px;
  position: relative;
  min-height: 375px;
  background-color: #f9f9f9;
  box-shadow: 0px 7px 24.3px 2.7px rgba(91, 89, 89, 0.14);
}
.services-item-title {
  columns: #212020;
  line-height: 24px;
  font-size: 18px;
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
  padding: 24px 0px;
}
.services-item-text {
  letter-spacing: 0.1px;
  padding: 0 30px 30px;
}
.services-item-btn {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
}
.services-item-btn .default-btn {
  color: #373636;
}
.services-item-btn .default-btn:after {
  color: #fff;
}
.services-item-link {
  color: #050505;
  font-family: 'Roboto', sans-serif;
  border-bottom: 1px solid #050505;
  margin-right: 60px;
}
/* ------------------about---------- */
.about {
  background-image: url(../img/about.jpg);
  background-size: cover;
  background-position: top;
  min-height: 300px;
  background-repeat: no-repeat;
  padding: 25px 0 45px;
  position: relative;
  overflow: hidden;
}
.about::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 40px;
  background: #f0f0f0; /* El mismo color que #services */
  clip-path: ellipse(60% 100% at 50% 100%);
}

.about-inner {
  max-width: 545px;
}
.about-title {
  padding: 10px 0px 25px;
  font-size: 24px;
  line-height: 24px;
  color: #fff;
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
}
.about-text {
  margin-bottom: 30px;
  letter-spacing: 0.1px;
  line-height: 24px;
  color: #d3d2d2;
}
.about-btn.default-btn::after {
  color: #000;
}
/* ------------------form---------------- */
.form {
  padding-top: 30px;
  background: #f0f0f0;
}
.form-inner {
  padding-bottom: 40px;
  background-image: url(../img/form.png);
  min-height: 470px;
  background-repeat: no-repeat;
  background-position: bottom right;
}
.form-box {
  max-width: 850px;
  padding-top: 45px;
}
.form-box-inner {
  display: flex;
  justify-content: space-between;
}
.form-box-left {
  max-width: 260px;
  width: 100%;
}
.form-box-right {
  max-width: 555px;
  width: 100%;
}
.form-box-inner label,
.form-box-inner input,
.form-box-inner textarea {
  display: block;
  width: 100%;
   border-radius: 8px;
}
.form-box-inner label {
  line-height: 36px;
  color: #282828;
  font-family: 'Roboto', sans-serif;
}
.form-box-inner input {
  margin-bottom: 8px;
  outline: none;
  border: 1px solid #e6e6e6;
  height: 40px;
  padding: 0px 10px;
}
.form-box-inner select {
  outline: none;
  padding: 0px 10px;
}
.form-box-inner textarea {
  outline: none;
  border: 1px solid #e6e6e6;
  height: 208px;
  resize: none;
  margin-bottom: 40px;
}
.form-box-inner button {
  background-color: transparent;
  color: #282828;
  float: right;
}
.form-box-inner .jq-selectbox.jqselect {
  display: block;
  width: 100%;
}
.form-box-inner .jq-selectbox__select {
  height: 40px;
  border: 1px solid #e6e6e6;
  padding-left: 17px;
}
.form-box-inner .jq-selectbox__trigger:before {
  content: '\f105';
  font-family: 'icomoon';
  position: absolute;
  right: 17px;
  top: 0;
  transform: rotate(90deg);
}

.form-box-inner .jq-selectbox__dropdown {
  width: 100%;
  margin: 2px 0 0;
  padding: 0;
  border: 1px solid #e6e6e6;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.form-box-inner .jq-selectbox li {
  min-height: 18px;
  padding: 5px 17px 6px;
  color: #231f20;
}
.jq-selectbox li.selected {
  background-color: #a3abb1;
  color: #fff;
}
.form-box-inner .jq-selectbox li:hover {
  background-color: #1391ff;
  color: #fff;
}
.form-box-inner .jq-selectbox li.disabled {
  color: #aaa;
}
.form-box-inner .jq-selectbox li.disabled:hover {
  background: none;
}
.form-box-inner .jq-selectbox li.optgroup {
  font-weight: bold;
}
.form-box-inner .jq-selectbox li.optgroup:hover {
  background: none;
  color: #231f20;
  cursor: default;
}
.form-box-inner .jq-selectbox li.option {
  padding-left: 25px;
}
/* ------------advantages------------------ */
.advantages {
  padding: 55px 0px 40px;
  background-image: url(../img/advantages.jpg);
  background-repeat: no-repeat;
  background-position: bottom;
  min-height: 305px;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 25px 0 45px;
  position: relative;
  overflow: hidden;
}
.advantages::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 40px;
  background: #f0f0f0; /* El mismo color que #services */
  clip-path: ellipse(60% 100% at 50% 100%);
}
.advantages-inner {
  color: #fff;
  display: flex;
  text-align: center;
  justify-content: space-between;
}
.advantages-item {
  max-height: 360px;
  padding: 0px 20px;
}
.advantages-title {
  font-style: 18px;
  line-height: 24px;
  font-family: 'Roboto', sans-serif;
  padding: 60px 0px 15px;
  position: relative;
}
.advantages-text {
  line-height: 24px;
  color: #d3d2d2;
  letter-spacing: 0.1px;
}
.advantages-title:before {
  position: absolute;
  content: '';
  width: 40px;
  height: 40px;
  border: 2px solid #1391ff;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.advantages-title:after {
  content: '\f00c';
  font-family: 'icomoon';
  position: absolute;
  top: 10px;
  font-style: 14px;
  left: 50%;
  transform: translateX(-50%);
}
/* --------------------news-----------------   */
.news {
  padding: 55px 0px 110px;
  background-color: #f0f0f0;
}
.news-inner {
  display: flex;
  justify-content: space-between;
}
.news-slider {
  max-width: 555px;
  width: 100%;
  background-color: #fff;
  box-shadow: 0px 5px 15.36px 0.64px rgba(128, 127, 127, 0.13);
  padding: 60px 35px 45px 70px;
  position: relative;
}
.news-slider:before {
  position: absolute;
  top: 0;
  left: 70px;
  content: '\f10e';
  font-family: 'icomoon';
  color: #fff;
  font-style: 16px;
  width: 65px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  background-color: #1391ff;
}
.news-blog {
  max-width: 260px;
  width: 100%;
}
.news-images {
  position: relative;
  overflow: hidden;
}
.news-images img {
  max-height: 190px;
}
.news-date {
  position: absolute;
  background-color: #1391ff;
  height: 55px;
  width: 50px;
  color: #fff;
  text-align: center;
  font-weight: 700px;
  top: 0;
  left: 10px;
}
.news-blog-title {
  font-style: 16px;
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
  letter-spacing: 0.5px;
  color: #242424;
  padding: 12px 0px;
}
.news-blog-text {
  letter-spacing: 0.1px;
  color: #5e5e5e;
}
.news-slider-title {
  font-style: 18px;
  line-height: 24px;
  color: #242424;
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}
.news-slider-text {
  margin-bottom: 30px;
}
.news-slider-author {
  letter-spacing: 0.1px;
  color: #212020;
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
}
.news-slider-inner .slick-btn {
  top: auto;
  bottom: -110px;
}
.news-slider-inner .slick-next {
  right: -35px;
}

.news-slider-inner .slick-prev {
  right: 20px;
  left: auto;
}
.news-slider-inner .slick-disabled {
  color: #dadada;
  border-color: #dadada;
}
.news-slider-inner .slick-disabled:before {
  color: #dadada;
}
/* ------------footer--------- */
.footer-content {
  background-color: rgba(0, 0, 0, 0.952);
  padding: 20px 0px 30px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
}
.footer-map {
  padding-top: 10px;
  max-width: 630px;
  width: 100%;
}
.footer-map iframe {
  width: 100%;
}
.footer-inner .header-btn {
  float: none;
  display: inline-block;
}
.footer-title {
  font-size: 16px;
  color: #cbcacb;
  line-height: 36px;
  font-weight: 500;
  letter-spacing: 0.5px;
  font-family: 'Roboto', sans-serif;
}
.footer-text {
  color: #cbcacb;
  margin-bottom: 20px;
}
.footer-info {
  max-width: 360px;
}
.footer-list {
  padding-top: 10px;
}
.footer-list li {
  margin-top: 10px;
}
.footer-list a {
  font-style: 16px;
  line-height: 24px;
  letter-spacing: 0.25px;
  color: #cbcacb;
  font-weight: 400;
  font-family: 'Roboto', sans-serif;
  padding-left: 33px;
  position: relative;
}
.footer-list a:before {
  content: '\f003';
  font-family: 'icomoon';
  position: absolute;
  left: 0;
  color: #1391ff;
}
.footer-copy {
  background-color: #000000;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-style: 12px;
  line-height: 24px;
  font-weight: 400;
  padding: 8px 0px;
}
.footer-list .footer-phone:before {
  content: '\f095';
  left: 3px;
}
.footer-list .footer-adress:before {
  content: '\f041';
  left: 3px;
}
.popup {
  width: 300px;
}
.popup input {
  display: block;
  width: 100%;
  margin-bottom: 20px;
  outline: none;
  border: 1px solid #e6e6e6;
  height: 40px;
  padding: 0px 10px;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  cursor: pointer;
}
.popup input[type='submit'] {
  background-color: #1391ff;
}
.header-btn-menu {
  display: none;
  font-size: 28px;
}

.header-logo img {
  width: 100%;
  height: fit-content;
  max-width: 100px; /* o lo que tú quieras */
  display: flex;
}


.services-carousel .services-item {
  background: #fff;            /* Fondo blanco para destacar */
  border-radius: 8px;          /* Bordes redondeados */
  padding: 20px;               /* Espacio interno */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Sombra suave */
  margin: 0 10px;              /* Margen horizontal para separación */
  box-sizing: border-box;      /* Para que padding no aumente tamaño */
  height: 100%;                /* Que ocupe todo el alto disponible */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Para que Slick no corte los márgenes */
.services-carousel .slick-list {
  margin: 0 -10px;  /* Negativo para compensar margen de slides */
}

/* Ajusta imágenes para que se adapten y tengan margen inferior */
.services-item img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
  border-radius: 4px;
}

/* Títulos con espacio y mejor tipografía */
.services-item-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Texto con mejor legibilidad */
.services-item-text {
  font-size: 1rem;
  line-height: 1.4;
  color: #444;
  margin-bottom: 15px;
}


.about-title {
  font-family: 'Playfair Display', serif; /* Tipografía elegante */
  font-weight: 700;
  font-size: 36px;
  color: #ffffff; /* Azul oscuro elegante */
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

/* Línea decorativa debajo del título */
.about-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background-color: #007bff; /* Azul brillante */
  border-radius: 2px;
}




/* Para pantallas pequeñas, que el tamaño sea responsive */
@media (max-width: 768px) {
  .slider-title {
    font-size: 2.2rem;
    letter-spacing: 1px;
  }
}


.services-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.services-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.services-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.233);
}


@keyframes fadeInSlide {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.slider-title {
  animation: fadeInSlide 0.8s ease-out forwards;
  opacity: 0;
  animation-delay: 0.3s;
}

.slider-text {
  animation: fadeInSlide 1s ease-out forwards;
  opacity: 0;
  animation-delay: 0.6s;
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.services-title-box {
  opacity: 0; /* por defecto oculto */
  animation: slideInLeft 1s ease-out forwards;
  animation-delay: 0.3s;
}


html {
  scroll-behavior: smooth;
}


.social-floating {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1001;
}

.social-icon {
  display: block;
  width: 40px;
  height: 40px;
  background-color: #fff;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  
  padding: 5px;
}

.social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-icon:hover {
  background-color: #f0f0f0;
}

@media (max-width: 768px) {
  .header-content-inner {
    flex-direction: column;
    align-items: center;
  }

  .menu ul {
    display: none;
    flex-direction: column;
    background-color: black;
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  .menu ul.active {
    display: flex;
  }

  .header-btn-menu {
    display: block;
    color: white;
    cursor: pointer;
    margin-top: 10px;
  }

  .menu li {
    display: block;
    margin: 10px 0;
  }
}