/*!
Theme Name:  RayTheme
Theme URI: https://raylinaquino.com/
Author: Raylin Aquino
Author URI: https://raylinaquino.com/
Description:  RayTheme Template 
Version: 1.0.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: raytheme
*/
:root {
  font-size: 10px;
  --gray: #d5d5d5;
  --gray2: #c6c6c6;
  --primary: #000;
  --secondary: #c70000;
  --white: #fff;
  --yellow: #fcc00c;
  --coolgrey: #8594a0;
  --green: #44c551;
}
body {
  padding: 0;
  margin: 0;
  line-height: 1.4;
}
.boxes-metters {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
}
.box1 .elementor-image-box-wrapper {
  background: #4d4d4d;
  background: linear-gradient(311deg, #3c3c3c 0%, #3e3e3e 100%);
  border-radius: 3rem;
  overflow: hidden;
  border-radius: 4.2rem;
  padding: 3rem 3rem 3rem;
  min-height: 33rem;
}

.box3 .elementor-image-box-wrapper {
  background: #4d4d4d;
  background: linear-gradient(311deg, #400606 0%, #c70000 100%);
  border-radius: 3rem;
  overflow: hidden;
}
.box3 .elementor-image-box-wrapper .elementor-image-box-content {
  border-radius: 4.2rem;
  padding: 0 3rem 3rem;
}
.box3
  .elementor-image-box-wrapper
  .elementor-image-box-content
  .elementor-image-box-title {
  margin-bottom: 1rem;
}
.box3 .elementor-image-box-wrapper .elementor-image-box-img {
  border-bottom-left-radius: 3rem;
  border-bottom-right-radius: 3rem;
  overflow: hidden;
}
.box2 .elementor-image-box-wrapper {
  background: #4d4d4d;
  background: linear-gradient(
    360deg,
    rgb(35 35 35 / 56%) 0%,
    rgba(199, 0, 0, 1) 100%
  );
  border-radius: 4.2rem;
  padding: 3rem;
  min-height: 35rem;
}
.box2 .elementor-image-box-wrapper .elementor-image-box-img {
  background: var(--white);
  border-radius: 50%;
  width: 8rem !important;
  height: 8rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.phone-border a:hover {
  text-decoration: underline;
}
.head-title h3 {
  margin: 0;
}
.ws-btn .elementor-icon-box-wrapper {
  gap: 0 !important;
}
.ws-btn .elementor-icon-box-icon i {
  background: var(--green);
  border-radius: 50%;
  width: 3.5rem;
  height: 3.5rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 80%;
}
.news-options a {
  font-size: 2rem;
  display: inline-block;
  color: var(--primary);
  padding: 0 1rem;
  line-height: 1;
}
.news-options a:first-child {
  padding-left: 0;
  padding-right: 1.3rem;
  border-right: 1px solid var(--primary);
}
.news-options a:hover {
  text-decoration: underline;
}
.news-options a.active {
  font-weight: bold;
}
.mobile-menu .elementor-item:after {
  display: block;
  opacity: 1;
  background: #ffffff38 !important;
}

.mobile-menu .elementor-item:hover:after,
.mobile-menu .current-menu-item .elementor-item-active:after {
  background: #fff !important;
}
/* Form Cotizar */
.form-cotizar_wrapper .gform_fields {
  gap: 2rem !important;
}
.form-cotizar_wrapper .gfield .ginput_password.large,
.form-cotizar_wrapper .gfield input.large,
.form-cotizar_wrapper .gfield select.large {
  border: 2px solid #8594a06e;
  outline: none !important;
  transition: all 0.3s ease;
  border-radius: 0.5rem;
  font-weight: 600;
}
.form-cotizar_wrapper .gfield .ginput_password.large::placeholder,
.form-cotizar_wrapper .gfield input.large::placeholder,
.form-cotizar_wrapper .gfield select.large::placeholder {
  color: #8594a0;
}
.form-cotizar_wrapper .gfield .ginput_password.large:focus,
.form-cotizar_wrapper .gfield input.large:focus,
.form-cotizar_wrapper .gfield select.large:focus {
  border-color: var(--coolgrey);
}
.form-cotizar_wrapper .gform_button {
  width: 100% !important;
  display: block;
  font-weight: bold !important;
  text-transform: uppercase !important;
  border-radius: 4rem !important;
  background-color: var(--secondary) !important;
}
.form-cotizar_wrapper .gform_button:hover {
  background-color: var(--primary) !important;
}
.ra-language-flags {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ra-language-flags a {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.ra-language-flags img {
  width: 26px;
  height: auto;
  display: block;
  transition: opacity 0.2s ease;
}

.ra-language-flags a:hover img {
  opacity: 0.7;
}
/* News Swiper */
.news-swiper {
  display: flex;
  position: relative;
}
.news-swiper .left-content {
  flex: 0 0 80%;
  width: 80%;
}
.news-swiper .right-content {
  flex: 1;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.news-swiper .right-content .controls {
  display: flex;
  gap: 5rem;
}
.news-swiper .swiper-button-lock {
  display: inherit;
}
.news-swiper .right-content .buttons {
  position: relative;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--white);
}
.news-swiper .right-content .buttons:hover {
  background: var(--secondary);
  color: var(--white);
}
.news-swiper .right-content .buttons:after {
  font-size: 2rem;
  font-weight: 800;
}
.news-swiper .right-content .all {
  margin-top: 4rem;
}
.news-swiper .right-content .all a {
  display: inline-block;
  color: var(--white);
  font-weight: bold;
}
.news-swiper .right-content .all a:hover {
  text-decoration: underline;
}
.news-swiper article {
  border-radius: 2rem;
  background: var(--white);
  padding: 1.2rem;
  font-size: 1.3rem;
  margin-bottom: 3rem;
  min-height: 44rem;
  position: relative;
  box-shadow: 0 3px 26px rgba(0, 0, 0, 0.1);
}
.news-swiper article .img {
  display: block;
  height: 18rem;
  border-radius: 1.3rem;
  background-size: cover;
  background-position: center;
  transition: all 0.3s ease;
}
.news-swiper article .img:hover {
  opacity: 0.78;
}
.news-swiper article.event-card {
  position: relative;
}
.news-swiper article.event-card a.img {
  display: flex;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  align-items: end;
  justify-content: flex-end;
  flex-direction: column;
  background-size: cover;
  overflow: hidden;
}
.news-swiper article.event-card a.img:before {
  background: #000000;
  background: linear-gradient(
    360deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  position: absolute;
  content: "";
  z-index: 0;
  opacity: 0.5;
}
.news-swiper article.event-card .badge-event {
  display: flex;
  gap: 1rem;
  background: var(--white);
  border-radius: 1.3rem;
  width: calc(100% - 6rem);
  margin: 0 auto;
  box-shadow: 0 0px 1.2rem rgba(0, 0, 0, 0.2);
  padding: 1.2rem 1.5rem;
  color: var(--primary);
  font-weight: bold;
  margin-bottom: 1rem;
  z-index: 2;
}
.news-swiper article.event-card .badge-event .wrap-icon {
  color: var(--secondary);
  font-size: 3rem;
}
.news-swiper article.event-card .badge-event .date {
  font-size: 120%;
}
.news-swiper article.event-card .title {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--white);
  padding: 0 3rem;
  margin-bottom: 6rem;
  z-index: 2;
  width: 100%;
  min-height: 5rem;
}
.news-swiper article .content {
  padding: 1rem 2rem;
}
.news-swiper article .date {
  font-size: 1.2rem;

  font-weight: 600;
}
.news-swiper article h3 {
  font-weight: 700;
  margin: 0.5rem 0 1rem;
  font-size: 1.7rem;
}
.news-swiper article .cta {
  position: absolute;
  bottom: -1rem;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
}
.news-swiper article .cta a {
  border-radius: 5rem;
  color: var(--primary);
  background-color: var(--yellow);
  padding: 0.7rem 0.7rem 0.7rem 2rem;
  display: block;
  font-weight: bold;
  font-size: 1.4rem;
  max-width: 18rem;
  text-align: right;
  transition: all 0.3s ease;
}
.news-swiper article .cta a i {
  margin-left: 1rem;
  background-color: var(--primary);
  color: var(--yellow);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.news-swiper article .cta a:hover {
  background-color: var(--primary);
  color: var(--yellow);
}
.news {
  display: block;
}
body .elementor-widget-search .e-search .e-search-submit {
  background: none !important;
  position: relative;
  margin-left: -5rem;
}
.news .grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(28rem, 1fr));
  gap: 2rem;
}
.search-news .wrap-input {
  position: relative;
}
.search-news .wrap-input input {
  display: block;
  width: 100%;
  border-radius: 3rem;
  border: 0;
  height: 5rem;
  padding: 0 2rem;
  font-family: Montserrat, sans-serif;
  outline: none;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}
.search-news .wrap-input input:focus {
  border-color: var(--secondary);
}
.search-news .wrap-input i {
  position: absolute;
  right: 2rem;
  top: 1.5rem;
  font-size: 2rem;
  color: var(--secondary);
}
/* Pagination */
.pagination {
  text-align: center;
  margin-top: 5rem;
}
.pagination ul {
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: center;
  background: red;
  display: inline-flex;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}
.pagination ul li .page-numbers {
  color: var(--primary);
  font-weight: 500;
  padding: 0.8rem 1.5rem;
  background: var(--white);
  display: block;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.pagination ul li .page-numbers.current,
.pagination ul li .page-numbers:hover {
  background: var(--secondary);
  color: var(--white);
}
/* Process Group */

.process-group {
  counter-reset: step;
}
.process-group .elementor-widget-icon-box {
  min-height: 27rem;
  counter-increment: step;
  background-color: var(--white);
}
.process-group .elementor-widget-icon-box:before {
  content: counter(step);
  display: block;
  width: 4rem;
  height: 4rem;
  line-height: 4rem;
  background: var(--secondary);
  border-radius: 50%;
  color: var(--white);
  font-weight: bold;
  font-size: 1.6rem;
  text-align: center;
  position: absolute;
  right: -2rem;
  bottom: -2rem;
}
.process-group .elementor-widget-icon-box .elementor-icon i {
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}
.process-group .elementor-widget-icon-box .elementor-icon-box-title {
  margin: 0 0 6px !important;
}
.process-group .elementor-widget-icon-box .elementor-icon-box-wrapper {
  gap: 7px !important;
}
.card-one .elementor-icon i {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  background-color: var(--white);
}

/* Products Grid Home */
body .home-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1rem;
}
body .home-products-grid .elementor-image-box-wrapper .elementor-image-box-img {
  width: 100% !important;
  padding: 0.5rem;
  margin: 0 !important;
}
body .home-products-grid .elementor-image-box-wrapper {
  transition: all 0.3s ease;
  position: relative;
  top: 0;
}

body .home-products-grid .elementor-image-box-wrapper:hover {
  background-color: var(--primary);
  color: var(--white);
  top: -1rem;
}
body
  .home-products-grid
  .elementor-image-box-wrapper
  .elementor-image-box-img
  img {
  border-radius: 3rem;
  box-shadow: 0 10px 16px #0000001a;
}
body .home-products-grid .elementor-image-box-wrapper {
  background-color: var(--white);
  border-radius: 3rem;
}
body
  .home-products-grid
  .elementor-image-box-wrapper
  .elementor-image-box-title {
  font-weight: bold;
  padding: 0rem 2rem 1rem;
  font-size: 1.3rem;
  min-height: 5rem;
  display: inline-flex;
  align-items: center;
}
/*
FAQ
*/
.cs-faqs .faq-wrapper .wrap-title i {
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.cs-faqs .faq-wrapper.active .wrap-title i {
  transform: rotate(-180deg);
}
.cs-faqs .faq-wrapper .wrap-title {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #d6d6d6;
  padding: 2rem 0;
  cursor: pointer;
  transition: all 0.3s ease;
}
.cs-faqs .faq-wrapper .wrap-title:hover {
  border-bottom-color: var(--primary);
}
.cs-faqs .faq-wrapper .wrap-title .title {
  font-weight: bold;
  font-size: 1.6rem;
  line-height: 1.4;
}
.cs-faqs .faq-wrapper .wrap-content {
  display: none;
}
/*
Testimonials
*/
.cs-testimonials {
  position: relative;
}
.cs-testimonials .swiper-button-next,
.cs-testimonials .swiper-button-prev {
  background: var(--gray2);
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.cs-testimonials .swiper-button-next:hover,
.cs-testimonials .swiper-button-prev:hover {
  background-color: var(--secondary);
}
.cs-testimonials .swiper-button-next:after,
.cs-testimonials .swiper-button-prev:after {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 800;
}
.cs-testimonials .wrapper {
  max-width: 100rem;
  margin: 0 auto;
}

.card-testimonial {
  padding: 2rem 2.3rem;
  box-shadow: 0 3px 2rem hsl(0deg 0% 0% / 16%);
  border-radius: 1.5rem;
  margin: 2rem;
  min-height: 40rem;
  display: flex;
  flex-direction: column;
  color: var(--primary);
  line-height: 1.3em;
  background-color: var(--white);
}
.card-testimonial .img {
  height: 12rem;
  border-radius: 1.2rem;
  background-position: center;
  background-size: cover;
  background-color: #f5f5f5;
}
.card-testimonial .desc {
  font-size: 1.3rem;
}
.card-testimonial .bottom {
  margin-top: auto;
  border-top: 1px solid var(--gray);
  padding-top: 1rem;
}
.card-testimonial .bottom .name {
  font-weight: bold;
  font-size: 1.8rem;
}

@media (max-width: 700px) {
  .cs-testimonials .swiper-button-next,
  .cs-testimonials .swiper-button-prev {
    bottom: -6rem;
    top: inherit;
    width: 3rem;
    height: 3rem;
  }
  .cs-testimonials .swiper-button-next:after,
  .cs-testimonials .swiper-button-prev:after {
    font-size: 80%;
  }
}

@media (max-width: 600px) {
  .joinchat--btn {
    bottom: 7rem !important;
    display: none !important;
  }
  .cs-faqs .faq-wrapper .wrap-content {
    font-size: 1.3rem;
  }
  .news-swiper {
    flex-wrap: wrap;
  }
  .news-swiper .left-content {
    flex: 1;
    margin-bottom: 4rem;
  }
  .news-swiper article .cta {
    left: 0;
    text-align: center;
  }
  .news-swiper article .cta a {
    display: inline-block;
    max-width: 20rem;
    text-align: center;
  }
}
@media (max-width: 400px) {
  .tdp-video-more a {
    text-align: left;
  }
  body .home-products-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Inicio diagramación: TDP - Video Slider */
.tdp-video-slider {
  position: relative;
  min-width: 0;
}
.tdp-video-slider .swiper {
  overflow: hidden;
}
.tdp-video-slider .swiper-slide {
  height: auto;
}
.tdp-video-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 5;
  overflow: hidden;
  border-radius: 1.8rem;
  background: #222;
  color: #fff;
  text-decoration: none;
}
.tdp-video-card .tdp-video-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.tdp-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 35%,
    rgba(0, 0, 0, 0.4) 65%,
    #000 100%
  );
  opacity: 1;
  transition: opacity 0.5s ease;
}
.tdp-video-content {
  position: absolute;
  inset: auto 0 0;
  padding: 2.4rem;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.85);
}
.tdp-video-title {
  display: block;
  margin-bottom: 4rem;
  line-height: 1.35;
  text-align: center;
  white-space: pre-line;
}
.tdp-video-cta {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: center;
}
.tdp-video-play {
  position: relative;
  display: inline-flex;
  flex: 0 0 3.2rem;
  width: 3.2rem;
  height: 3.2rem;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  font-size: 1.3rem;
}
.tdp-video-play::before,
.tdp-video-play::after {
  content: "";
  position: absolute;
  inset: -2px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: tdp-video-wave 3s ease-out infinite;
}
.tdp-video-play::after {
  animation-delay: 1.5s;
}

.tdp-video-card:hover .tdp-video-image,
.tdp-video-card:focus-visible .tdp-video-image {
  transform: scale(1.06);
}
.tdp-video-card:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: -4px;
}
.tdp-video-navigation {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}
.tdp-video-navigation button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  padding: 0;
  border: 1px solid rgb(255 255 255);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.tdp-video-navigation .swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}
.tdp-video-navigation .swiper-button-lock {
  display: none;
}
.tdp-video-more {
  margin-top: 3rem;
  margin-bottom: 2rem;
  text-align: center;
}
.tdp-video-more a {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  color: inherit;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--white);
  transition: all 0.3s ease;
}
.tdp-video-more a:hover {
  opacity: 0.7;
}
.tdp-video-more i {
  font-size: 3rem;
}
@keyframes tdp-video-wave {
  from {
    transform: scale(1);
    opacity: 0.6;
  }
  to {
    transform: scale(1.85);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tdp-video-play::before,
  .tdp-video-play::after {
    animation: none;
  }
  .tdp-video-card .tdp-video-image,
  .tdp-video-overlay {
    transition: none;
  }
}
