:root {
  --main-50: #fcf3f5;
  --main-100: #fae7eb;
  --main-200: #f2c2cd;
  --main-300: #eb9eaf;
  --main-400: #db5573;
  --main-500: #cc0c37;
  --main-600: #b80b32;
  --main-700: #990929;
  --main-800: #7a0721;
  --main-900: #64061b;

  --gray-1000: #262526;
  --gray-100: #404040;
  --gray-50: #8c8979;
  --gray-0: #f2f2f2;
  --black: #f60a20;

  --white: #ffff;
  --blak: #44403c;
  --border: #e7e5e4;
  --divider: #d6d3d1;
  --_m: conic-gradient(#8c8979 10%, #8c8979),
    linear-gradient(#8c8979 0 0) content-box;

  --cyan300: #67e8f9;
  --cyan500: #06b6d4;
  --cyan700: #0e7490;
  --orange300: #fdba74;
  --orange500: #f97316;
  --orange700: #c2410c;
  --violet300: #c4b5fd;
  --violet500: #8b5cf6;
  --violet700: #6d28d9;
  --rose300: #f9a8d4;
  --rose500: #ec4899;
  --rose700: #be185d;
  --lime300: #bef264;
  --lime500: #84cc16;
  --lime700: #4d7c0f;
  --blue300: #93c5fd;
  --blue500: #3b82f6;
  --blue700: #1d4ed8;
  --green300: #86efac;
  --green500: #22c55e;
  --green700: #15803d;
  --opacity: #fafaf9;
}

body {
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-optical-sizing: auto;
  font-style: normal;
  background-color: var(--white) !important;
}

ul,
ol {
  list-style-type: none;
}

.gradient-custom {
  background: var(--main-500);
  background: linear-gradient(to right, var(--main-900), var(--main-500));
}

.btn {
  text-transform: capitalize;
}

.btn-login {
  font-size: 0.9rem;
  letter-spacing: 0.05rem;
  padding: 0.75rem 1rem;
}

.btn {
  border-radius: 1rem;
}
.btn-danger {
  background-color: var(--main-500);
  color: var(--main-50);
}

.bg-image {
  background-image: url("../images/main/bg-alberca.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.avatar-xs {
  height: 2.3rem;
  width: 2.3rem;
}

.bg-main {
  background-color: var(--main-500);
  color: var(--main-50);
}

@keyframes slideIn {
  0% {
    transform: translateY(1rem);
    opacity: 0;
  }

  100% {
    transform: translateY(0rem);
    opacity: 1;
  }

  0% {
    transform: translateY(1rem);
    opacity: 0;
  }
}

@-webkit-keyframes slideIn {
  0% {
    -webkit-transform: transform;
    -webkit-opacity: 0;
  }

  100% {
    -webkit-transform: translateY(0);
    -webkit-opacity: 1;
  }

  0% {
    -webkit-transform: translateY(1rem);
    -webkit-opacity: 0;
  }
}

.slideIn {
  -webkit-animation-name: slideIn;
  animation-name: slideIn;
}

::selection {
  background: var(--main-500);
  color: var(--white);
}

::-moz-selection {
  background: var(--main-500);
  color: var(--white);
}

@media (max-width: 991px) {
  html,
  body {
    overflow-x: hidden;
  }
  .mobile-top-fix {
    margin-top: 30px;
    margin-bottom: 0px;
  }
  .mobile-bottom-fix {
    margin-bottom: 30px;
  }
  .mobile-bottom-fix-big {
    margin-bottom: 60px;
  }
}

.btn-main {
  margin-top: -10px;
  font-size: 18px;
  color: var(--main-50);
  background-color: var(--main-500);
  padding: 12px 25px;
  width: 100%;
  box-shadow: none;
  border: none;
  display: inline-block;
  border-radius: 3px;
  font-weight: 600;
  transition: all 0.3s;
}

button:hover {
  opacity: 0.9;
}

.bg-gradient-primary-to-secondary {
  background: linear-gradient(
    45deg,
    var(--main-500),
    var(--main-900)
  ) !important;
}

.bg-gradient-secondary-to-primary {
  background: linear-gradient(
    45deg,
    var(--main-900),
    var(--main-500)
  ) !important;
}

.bg-gradient-opacity {
  background: linear-gradient(
    45deg,
    var(--main-400),
    var(--main-50)
  ) !important;
}

.bg-gradient {
  background: linear-gradient(
    45deg,
    var(--main-900),
    var(--main-500)
  ) !important;
}

h1 {
  font-size: 3rem;
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: lighter;
}
h2 {
  font-size: 2.5rem;
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: bolder;
}
h3 {
  font-size: 1rem;
  font-weight: 400;
  font-style: normal;
  margin-bottom: 4rem;
}
h4,
h5,
h6 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4rem;
}
p {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 4rem;
}

.text-white {
  color: var(--main-50);
}
.text-red-main {
  font-weight: 700;
  font-size: 18px;
  background: var(--main-100);
  background: linear-gradient(
    to right,
    var(--main-500) 21%,
    var(--main-900) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-red-gradient {
  background: var(--main-100);
  background: linear-gradient(
    to right,
    var(--main-500) 21%,
    var(--main-900) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.recortar-texto {
  white-space: nowrap;
  /* Evita que el texto se ajuste a la siguiente línea */
  overflow: hidden;
  /* Oculta el contenido desbordado */
  text-overflow: ellipsis;
  /* Muestra tres puntos suspensivos al final */
}
section {
  padding: 50px 0px;
}
.section-heading h6 {
  position: relative;
  font-size: 24px;
  color: var(--main-50);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding-left: 40px;
}
.section-heading h6:before {
  width: 30px;
  height: 1px;
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  background-color: var(--main-50);
}
.section-heading h2 {
  line-height: 40px;
  margin-top: 20px;
  margin-bottom: 25px;
  font-size: 30px;
  font-weight: 900;
  color: var(--black);
}

.opacity {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--blak);
  opacity: 0.5;
  z-index: 1;
}

.btn-square {
  width: 38px;
  height: 38px;
  background-color: var(--main-50);
  color: var(--main-500);
}
.btn-sm-square {
  width: 32px;
  height: 32px;
}
.btn-lg-square {
  width: 48px;
  height: 48px;
}
.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 50px;
}

/** news **/
.border-news {
  border-top-right-radius: 28px;
  border-bottom-right-radius: 28px;
  color: var(--main-50);
  background-color: var(--main-500);
  border-color: var(--main-500);
}

.border-news:hover {
  background-color: var(--main-500);
  border-color: var(--main-500);
}
/** end news **/

/** Nav **/
#mainNav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  border-bottom: 1px solid var(--white);
  background-color: var(--white);
}
#mainNav .navbar-brand {
  font-weight: 800;
}
#mainNav .navbar-toggler {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.75rem;
  text-transform: uppercase;
}
#mainNav .navbar-nav > li.nav-item > a.nav-link {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.0625em;
  text-transform: uppercase;
}
@media (min-width: 992px) {
  #mainNav {
    border-bottom: 1px solid transparent;
    background: transparent;
  }
  #mainNav .navbar-brand {
    color: var(--white);
  }
  #mainNav .navbar-brand:focus,
  #mainNav .navbar-brand:hover {
    color: var(--main-50);
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link {
    color: var(--white);
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:hover {
    color: var(--main-50);
  }
}
@media (min-width: 992px) {
  #mainNav {
    transition: background-color 0.2s;
    /* Force Hardware Acceleration in WebKit */
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  #mainNav.is-fixed {
    /* when the user scrolls down, we hide the header right above the viewport */
    position: fixed;
    top: -83px;
    transition: transform 0.2s;
    border-bottom: 1px solid var(--white);
    background-color: var(--main-50);
  }
  #mainNav.is-fixed .navbar-brand {
    color: var(--gray-100);
  }
  #mainNav.is-fixed .navbar-brand:focus,
  #mainNav.is-fixed .navbar-brand:hover {
    color: var(--main-500);
  }
  #mainNav.is-fixed .navbar-nav > li.nav-item > a {
    color: var(--gray-100);
  }
  #mainNav.is-fixed .navbar-nav > li.nav-item > a:focus,
  #mainNav.is-fixed .navbar-nav > li.nav-item > a:hover {
    color: var(--main-500);
  }
  #mainNav.is-visible {
    /* if the user changes the scrolling direction, we show the header */
    transform: translate3d(0, 100%, 0);
  }
}
/** end Nav **/

/** index Vide background**/
.video-background-holder {
  position: relative;
  background-color: var(--main-500);
  height: 100vh;
  min-height: 25rem;
  max-width: 100%;
  overflow: hidden;
}
.video-background-holder video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100vh;
  min-height: 100vh;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}
.video-background-content {
  position: relative;
  z-index: 2;
}
.video-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--main-500);
  opacity: 0.2;
  z-index: 1;
}
/** end index vide background**/

.navbar {
  background-color: var(--gray-0);
}

/** Hero header **/
header.masthead {
  position: relative;
  margin-bottom: 3rem;
  padding-top: calc(8rem + 57px);
  padding-bottom: 8rem;
  background: no-repeat center center;
  background-color: var(--main-500);
  background-size: cover;
  background-attachment: scroll;
}
header.masthead:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--blak);
  opacity: 0.5;
}
header.masthead .page-heading,
header.masthead .post-heading,
header.masthead .site-heading {
  color: var(--white);
}
header.masthead .page-heading,
header.masthead .site-heading {
  text-align: center;
}
header.masthead .page-heading h1,
header.masthead .page-heading .h1,
header.masthead .site-heading h1,
header.masthead .site-heading .h1 {
  font-size: 3rem;
}
header.masthead .page-heading .subheading,
header.masthead .site-heading .subheading {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.1;
  display: block;
  margin-top: 0.625rem;
}
header.masthead .post-heading h1,
header.masthead .post-heading .h1 {
  font-size: 2.25rem;
}
header.masthead .post-heading .meta,
header.masthead .post-heading .subheading {
  line-height: 1.1;
  display: block;
}
header.masthead .post-heading .subheading {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0.75rem 0 2rem;
}
header.masthead .post-heading .meta {
  font-size: 1.25rem;
  font-weight: 300;
  font-style: italic;
}
header.masthead .post-heading .meta a {
  color: #fff;
}
@media (min-width: 992px) {
  header.masthead {
    padding-top: 12.5rem;
    padding-bottom: 12.5rem;
  }
  header.masthead .page-heading h1,
  header.masthead .page-heading .h1,
  header.masthead .site-heading h1,
  header.masthead .site-heading .h1 {
    font-size: 5rem;
  }
  header.masthead .post-heading h1,
  header.masthead .post-heading .h1 {
    font-size: 3.5rem;
  }
  header.masthead .post-heading .subheading {
    font-size: 1.875rem;
  }
}
/** end Hero header **/

/** breadcrumb **/

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--main-50);
}

.breadcrumb-item,
.breadcrumb-item > a {
  font-size: 18px;
  color: var(--main-50);
}

.breadcrumb-item + .active {
  font-size: 18px;
  color: var(--main-50);
}
/** end breadcrumb **/

/** Actividades **/
section.cta {
  position: relative;
  padding: 15rem 0;
  background-image: url("../images/main/bg-acti.jpg");
  background-position: center;
  background-size: cover;
}
section.cta .cta-content {
  position: relative;
  z-index: 1;
}
section.cta:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
/** end Actividades **/

/** Tramites **/
.tramite {
  background-color: var(--white);
  color: var(--main-500);
}
.tramite:hover {
  background-color: var(--main-500);
  color: var(--main-50);
  /* transform: translate(0px, -5px);*/
  cursor: pointer;
}

.feature-row a:hover {
  background-color: var(--main-500);
  color: var(--white);
}

.tra {
  transition: transform 0.3s, box-shadow 0.3s;
}

.tra:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.tra > img {
  height: 200px;
  object-fit: cover;
}

/** end Tramites **/

/*** Project ***/
.project-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
}

.project-item .project-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  padding-top: 60px;
  transition: 0.5s;
}

.project-item:hover .project-overlay {
  opacity: 1;
  padding-top: 0;
}

.project-carousel .owl-nav {
  position: absolute;
  top: -100px;
  right: 0;
  display: flex;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
  margin-left: 15px;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  border-radius: 55px;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.15);
  font-size: 25px;
  transition: 0.5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
  background: var(--primary);
  color: #ffffff;
}

@media (max-width: 768px) {
  .project-carousel .owl-nav {
    top: -70px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .project-carousel .owl-nav .owl-prev,
  .project-carousel .owl-nav .owl-next {
    margin: 0 7px;
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
}

/*** end Project ***


/** treamite index **/

/*** end Project ***

/** instalacion index **/
section.inst {
  position: relative;
  padding: 15rem 0;
  background-image: url("../images/main/bg5.jpg");
  background-position: center;
  background-size: cover;
}
section.inst .inst-content {
  position: relative;
  z-index: 1;
}
section.inst:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
#panel-one {
  background-image: url("../images/main/bg-area-verde.jpg");
}
#panel-two {
  background-image: url("../images/main/bg-alberca.jpg");
}
#panel-three {
  background-image: url("../images/main/bg-tenis.jpg");
}
#panel-four {
  background-image: url("../images/main/bg-cafe.jpg");
}
#panel-five {
  background-image: url("../images/main/bg-canchas.jpg");
}
.containerpanel {
  display: flex;
}
.panel {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 60vh;
  border-radius: 50px;
  cursor: pointer;
  flex: 0.5;
  margin: 10px;
  position: relative;
  transition: flex 0.7s ease-in;
}
.panel h2 {
  font-size: 24px;
  background-color: var(--main-500);
  padding: 3px;
  color: var(--main-50);
  position: absolute;
  bottom: 20px;
  left: 20px;
  opacity: 0;
}
.panel.active {
  flex: 5;
}
.panel.active h2 {
  opacity: 1;
  transition: opacity 0.3s ease-in 0.4s;
}
@media (max-width: 480px) {
  .container {
    width: 100vw;
  }
  .panel:nth-of-type(4),
  .panel:nth-of-type(5) {
    display: none;
  }
}
/** end instalacion index **/

/** services **/

.service-card {
  transition: all 0.3s ease;
  border: none;
  border-radius: 15px;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff, #f3f3f3);
  box-shadow: 5px 5px 15px #d9d9d9, -5px -5px 15px #ffffff;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 8px 8px 20px #d1d1d1, -8px -8px 20px #ffffff;
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--main-500), var(--main-500));
}

.custom-badge {
  background: linear-gradient(135deg, var(--main-500), var(--main-500));
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.service-title {
  color: #2d3748;
  font-weight: 600;
}

.service-text {
  color: #718096;
  font-size: 0.95rem;
}
/** end services **/

/** Modal custom **/
.portfolio-modal .modal-dialog {
  margin: 1rem;
  max-width: 100vw;
}
.portfolio-modal-h .modal-dialog {
  margin: 1rem;
  max-width: 70vw;
}
.portfolio-modal .modal-content {
  padding-top: 6rem;
  padding-bottom: 6rem;
  text-align: center;
}
.portfolio-modal .modal-content h2,
.portfolio-modal .modal-content .h2 {
  font-size: 3rem;
  line-height: 3rem;
}
.portfolio-modal .modal-content p.item-intro {
  font-style: italic;
  margin-bottom: 2rem;
}
.portfolio-modal .modal-content p {
  margin-bottom: 2rem;
}
.portfolio-modal .modal-content img {
  margin-bottom: 2rem;
  width: 100%;
  height: 80%;
}
.portfolio-modal .close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  cursor: pointer;
  background-color: transparent;
}
.portfolio-modal .close-modal:hover {
  opacity: 0.3;
}
/** end Modal custom **/

/** Footer **/
footer {
  width: 100%;
}

.site-footer {
  background: var(--main-500);
}
.site-footer .copyright-text {
  color: var(--white);
  font-size: 16px;
}
.social-icon {
  margin: 0;
  padding: 0;
}
.social-icon li {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}
.social-icon-link {
  background: var(--white);
  border-radius: 20px;
  font-size: 16px;
  color: var(--main-500);
  display: inline-block;
  vertical-align: top;
  margin: 2px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
}
.social-icon-link:hover {
  color: var(--white);
  background-color: var(--main-500);
}
/** End footer **/
