@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

/************ TABLE OF CONTENTS ***************

1. Reset
2. Global
3. Nav
4. Header
5. Section Title
6. Fact
7. About & Features
8. Sevices
9. Projects
10. Appointment
11. Testimonial Section
12. Footer


**********************************************/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

section {


  scroll-margin-top: 100px;
  /* ajusta seg�n la altura de tu navbar */
}


body {

  overflow-x: hidden;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;




}

:root {
  --primary: #53a09a;
  --secondary: #4c938e;
  --light: #f8f8f8;
  --dark: #252525;
}




h1,
h2,
.h1,
.h2,
.fw-bold {
  font-weight: 600 !important;
  font-family: "Cal Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
  font-weight: 500 !important;
  font-family: "Cal Sans", sans-serif;

  font-style: normal;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
  font-weight: 400 !important;
  font-family: "Cal Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

a {
  text-decoration: none;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;

}


.back-to-top {
  position: fixed;
  display: none;
  right: 40px;
  bottom: 30px;
  z-index: 99;
}

.txt-primary {
  color: var(--primary);

}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  font-weight: 500;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary {
  color: #ffffff;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.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;
}

.btn-outline-body {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-body:hover {
  color: #ffffff;
  background: var(--primary);
  border-color: var(--primary);
}

.btn-inline-body {
  color: #ffffff;
  background: var(--primary);
}

.btn-inline-body:hover {
  color: var(--light);
  background-color: var(--secondary);
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
  position: relative;
}

.dropdown-item:hover {
  background-color: var(--primary);
  color: var(--light);
}

.dropdown-item.active {
  background-color: var(--primary);
}

.nav-link {
  color: var(--dark)
}

.nav-link:hover {
  color: var(--primary)
}

.navbar .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 30px 0;
  color: var(--dark);
  font-weight: 500;
  text-transform: uppercase;
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar.sticky-top {
  top: -100px;
  transition: 0.5s;
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar .navbar-nav {
    border-top: 1px solid #eeeeee;
  }
}


@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    transition: 0.5s;
    opacity: 0;
  }

  .navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/*** Header ***/
.owl-carousel-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .header-carousel .owl-carousel-item {
    position: relative;
    min-height: 500px;
  }

  .header-carousel .owl-carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .header-carousel .owl-carousel-item p {
    font-size: 16px !important;
  }
}

.header-carousel .owl-dots {
  position: absolute;
  width: 60px;
  height: 100%;
  top: 0;
  right: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
  position: relative;
  width: 45px;
  height: 45px;
  margin: 5px 0;
  background: var(--dark);
  transition: 0.5s;
}

.header-carousel .owl-dots .owl-dot.active {
  width: 60px;
  height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 2px;
  transition: 0.5s;
  opacity: 0.3;
}

.header-carousel .owl-dots .owl-dot.active img {
  opacity: 1;
}

.page-header {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../img/carousel-1.jpg) center center no-repeat;
  background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
  color: var(--light);
}

/*** Section Title ***/
.section-title h6 {
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  font-family: "Cal Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.section-title h2 {
  font-size: 40px;
  font-family: "Cal Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/*** Facts ***/
.fact-item {
  cursor: pointer;
  border-radius: 10px;
}

.fact-item:hover .fact-icon i,
.fact-item:hover .fact-icon .material-symbols-outlined {
  color: #ffffff;
}


.fact-item .fact-icon {
  width: 120px;
  height: 120px;
  margin-top: -60px;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 120px;
  transition: 0.5s;
}

.fact-item:hover .fact-icon {
  background: var(--primary);
}

.fact-item .fact-icon {
  color: var(--primary);
  transition: 0.5;
}

.material-symbols-outlined {
  font-size: 60px;
}


.material-symbols-outlined:hover {
  font-size: xxxx-large;
  color: #ffffff;
}

.fact-item:hover .fact-icon i {
  color: #ffffff;
}

/*** About & Feature ***/

.about-img,
.feature-img {
  position: relative;
  height: 100%;
  min-height: 400px;
}

.about-img img,
.feature-img img {
  position: absolute;
  width: 60%;
  height: 80%;
  object-fit: cover;
  border-radius: 15px;
}

.about-img img:last-child,
.feature-img img:last-child {
  margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
  position: absolute;
  content: "";
  width: 60%;
  height: 80%;
  top: 10%;
  left: 20%;
  z-index: -1;
}

/*** Service ***/
.service-item .bg-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  border-radius: 15px;
}

.service-item .service-text {
  background: var(--light);
  transition: 0.5s;
  border-radius: 15px;
}

.service-item .service-text i {
  color: var(--primary);
}

.service-item .icons {
  width: 120px;
  height: 120px;
}

.service-item .mb-3 {
  padding-top: 50px;
}

.service-item:hover .service-text {
  background: rgba(0, 0, 0, 0.7);
}

.service-item * {
  transition: 0.5;
}

.service-item:hover * {
  color: #ffffff;
}

.service-item .btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  color: var(--dark);
  background: var(--light);
  white-space: nowrap;
  overflow: hidden;
  transition: 0.5s;
}

.service-item:hover .btn {
  width: 165px;
}

/*** Project ***/
.project .nav .nav-link {
  background: var(--light);
  color: var(--primary);
  transition: 0.5s;
  font-size: 24px;
}

.project .nav .nav-link.active {
  background: var(--primary);
  color: var(--light)
}

.project .nav .nav-link.active h3 {
  color: #ffffff !important;
}



/*** Team ***/
.team-items {
  margin: -0.75rem;
}

.team-item {
  padding: 0.75rem;
}

.team-item::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  background: #ffffff;
  transition: 0.5s;
  z-index: -1;
}

.team-item:hover::after {
  height: 100%;
  background: var(--primary);
}

.team-item .team-social {
  position: absolute;
  width: 100%;
  bottom: -20px;
  left: 0;
}

.team-item .team-social .btn {
  display: inline-flex;
  margin: 0 2px;
  color: var(--primary);
  background: var(--light);
}

.team-item .team-social .btn:hover {
  color: #ffffff;
  background: var(--primary);
}

/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
  top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
  border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
  font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
  padding: 10px;
  border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
  background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
  border-bottom-color: var(--primary);
}

/*** Testimonial ***/
.testimonial-carousel {
  display: flex !important;
  flex-direction: column-reverse;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-carousel .owl-dots {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 5px;
  transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
  width: 100px;
  height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
  position: absolute;
  width: 40px;
  height: 40px;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  content: "\f10d";
  font-family: Poppins;
  font-weight: 900;
  color: var(--primary);
  background: #ffffff;
  border-radius: 40px;
  transition: 0.5s;
  opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
  opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
  opacity: 0.4;
  transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
  opacity: 1;
}

/*** Footer ***/

.footer {
  background-color: #1c4c5b;
  max-width: 100%;
  overflow-x: hidden;
}

.footer-content a {
  text-decoration: none;
}

.footer .btn-outline-body {
  padding: 10px;
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #777777;
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: Poppins;
  font-weight: 900;
  color: var(--primary);
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--primary);
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .form-control {
  border-color: #777777;
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: var(--light);
}

.footer .copyright a:hover {
  color: var(--primary);
}

.parallax-container {
  position: relative;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  align-items: center;
}

.parallax-container .col-sm-6 {
  padding-top: 25px;
  padding-left: 120px;
}

/* Media Queries para Responsividad */
@media (max-width: 992px) {
  .parallax-container {
    height: 350px;
  }

  .parallax-container .col-sm-6 {
    padding-top: 80px;
    padding-left: 60px;
  }
}

@media (max-width: 768px) {
  .parallax-container {
    height: auto;
    padding: 60px 30px;
    background-position: top;
  }

  .parallax-container .col-sm-6 {
    padding-top: 0;
    padding-left: 0;
    text-align: center;
  }

  .button-group {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .button-group a {
    width: 100%;
    max-width: 400px;
  }
}



section.has-bg-img {
  background-image: url(../img/VIDEO/1.png);
  background-size: cover;
  background-position: center;
  min-height: 500px;
  position: relative;
  margin-bottom: 100px;
  margin-top: 60px;

}

section.has-bg-img .overlay {
  position: absolute;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

section.has-bg-img a {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  border: 4px solid #53a09a;
  border-radius: 50%;
  width: 75px;
  height: 75px;
  padding: 13px 0 4px 23px;
}

section.has-bg-img a i {
  display: inline-block;
  height: 0;
  width: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 30px solid #6fcdc6;
}

.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 0.5rem;
  pointer-events: none;
}

.modal.fade .modal-dialog {
  -webkit-transition: -webkit-transform 0.3s ease-out;
  transition: -webkit-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
  -webkit-transform: translate(0, -50px);
  -ms-transform: translate(0, -50px);
  transform: translate(0, -50px);
}

@media (prefers-reduced-motion: reduce) {
  .modal.fade .modal-dialog {
    -webkit-transition: none;
    transition: none;
  }
}

.modal.show .modal-dialog {
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
}

.modal-dialog-scrollable {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  max-height: calc(100% - 1rem);
}

.modal-dialog-scrollable .modal-content {
  max-height: calc(100vh - 1rem);
  overflow: hidden;
}

.modal-dialog-scrollable .modal-header,
.modal-dialog-scrollable .modal-footer {
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.modal-dialog-scrollable .modal-body {
  overflow-y: auto;
}

.modal-dialog-centered {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  min-height: calc(100% - 1rem);
}

.modal-dialog-centered::before {
  display: block;
  height: calc(100vh - 1rem);
  content: "";
}

.modal-dialog-centered.modal-dialog-scrollable {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 100%;
}

.modal-dialog-centered.modal-dialog-scrollable .modal-content {
  max-height: none;
}

.modal-dialog-centered.modal-dialog-scrollable::before {
  content: none;
}

.modal-content {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.15rem;
  outline: 0;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100%;
  height: 100%;
  background-color: #000;
}

.modal-backdrop.fade {
  opacity: 0;
}

.modal-backdrop.show {
  opacity: 0.5;
}

.modal-header {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 1rem 1rem;
  border-bottom: 1px solid #495057;
  border-top-left-radius: 0.15rem;
  border-top-right-radius: 0.15rem;
}

.modal-header .close {
  padding: 1rem 1rem;
  margin: -1rem -1rem -1rem auto;
}

.modal-title {
  margin-bottom: 0;
  line-height: 1.5;
}

.modal-body {
  position: relative;
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1rem;
}

.modal-footer {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding: 1rem;
  border-top: 1px solid #495057;
  border-bottom-right-radius: 0.15rem;
  border-bottom-left-radius: 0.15rem;
}

.modal-footer> :not(:first-child) {
  margin-left: .25rem;
}

.modal-footer> :not(:last-child) {
  margin-right: .25rem;
}

.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 500px;
    margin: 1.75rem auto;
  }

  .modal-dialog-scrollable {
    max-height: calc(100% - 3.5rem);
  }

  .modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - 3.5rem);
  }

  .modal-dialog-centered {
    min-height: calc(100% - 3.5rem);
  }

  .modal-dialog-centered::before {
    height: calc(100vh - 3.5rem);
  }

  .modal-sm {
    max-width: 300px;
  }
}

@media (min-width: 992px) {

  .modal-lg,
  .modal-xl {
    max-width: 800px;
  }
}

@media (min-width: 1200px) {
  .modal-xl {
    max-width: 1140px;
  }
}


.galeria-env {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 30px;
  background: #fff;
}

.galeria-scroll {
  overflow-x: auto;
  scroll-behavior: smooth;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.galeria-scroll::-webkit-scrollbar {
  display: none;
}

.galeria-lista {
  display: flex;
  gap: 30px;
  transition: transform 0.3s ease;
  padding: 0 15px;
}

.galeria-item {
  min-width: 200px;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.galeria-item img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.4s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.galeria-item:hover img {
  transform: scale(1.08);
}

.galeria-boton {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 1;
}

.galeria-boton.izq {
  left: 10px;
}

.galeria-boton.der {
  right: 10px;
}

.galeria-lightbox {
  display: none;
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.galeria-lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.galeria-lightbox-cerrar {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #d31e26;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
}

.zoomable {
  transition: transform 0.3s ease;
  max-width: 100%;
  max-height: 100%;
  cursor: zoom-in;
}

/* === RESPONSIVE === */
@media screen and (max-width: 768px) {
  .galeria-item {
    min-width: 160px;
  }

  .galeria-boton {
    font-size: 1.5rem;
    padding: 8px 12px;
  }
}

@media screen and (max-width: 450px) {
  .galeria-env {
    width: 100%;
  }

  .galeria-item img {
    width: 320px;
    height: 200px;
  }

  .galeria-lista {
    gap: 16px;
  }

  .galeria-boton {
    font-size: 1.2rem;
    padding: 6px 10px;
  }

  .galeria-lightbox img {
    max-width: 85%;
    max-height: 70%;
  }

  .galeria-lightbox {
    width: auto;
  }

}

.whatsapp-float {
  position: fixed;
  width: 50px;
  height: 50px;
  bottom: 140px;
  right: 40px;
  z-index: 100;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: transparent;
  border-radius: 50%;
  transition: box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.00);
}

.whatsapp-image {
  width: 200px;
  height: 200px;
  object-fit: contain;
}

.whatsapp-message {
  position: absolute;
  right: 10px;
  bottom: 10px;
  /* ← también tenías "bottom: 20" sin unidad, lo corrijo */
  background: none;
  /* sin fondo */
  border: none;
  /* sin borde */
  box-shadow: none;
  /* sin sombra */
  padding: 0;
  white-space: nowrap;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.whatsapp-bubble-img {
  display: block;
  height: 200px;
  /* ajusta según el tamaño de tu imagen */
  width: 200px;
}

/* Ocultar mensaje con clase */
.whatsapp-message.hide {
  opacity: 0;
  transform: translateY(10px);
}

@media (max-width: 768px) {

  .whatsapp-float {
    width: 55px;
    height: 105px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-image {
    width: 150px;
    height: 150px;
  }

  .whatsapp-message {
    right: 80px;
    bottom: 25px;
    font-size: 15px;
    padding: 10px 10px;
    border-width: 5px;
    max-width: 100px;
    white-space: normal;
    text-align: center;
  }

  .whatsapp-bubble-img {
    display: block;
    height: 150px;
    /* ajusta según el tamaño de tu imagen */
    width: 150px;
  }


  /* Ocultar mensaje con clase */
  .whatsapp-message.hide {
    opacity: 0;
    transform: translateY(10px);
  }

  .back-to-top {
    display: none;
  }
}




:root {
  --banner-white: #ffffff;
  --banner-text-sub: rgba(255, 255, 255);
}

.gesem-banner {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 500px;
  border-radius: 0;
  overflow: hidden;
  background-image: url('../img/b.jpg');
  /* <-- comillas y diagonal al inicio */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  /* <-- agrega esto */
  display: flex;
  align-items: stretch;
}

/* Grid texture overlay */
.gesem-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
}

/* Soft radial glow left */
.gesem-banner::after {
  content: '';
  position: absolute;
  left: -80px;
  top: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Content side */
.gesem-content {
  position: relative;
  z-index: 2;
  flex: 1 1 55%;
  padding: 48px 48px 40px 52px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

/* Image side */
.gesem-image-side {
  position: relative;
  flex: 0 0 42%;
  z-index: 2;
  overflow: hidden;
}

.gesem-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  mix-blend-mode: luminosity;
  opacity: 0.85;
  filter: saturate(0.3) brightness(1.1);
}

/* Fade image into gradient */
.gesem-image-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #21a07a 0%, transparent 35%, transparent 100%);
  z-index: 1;
}

.gesem-image-side::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(26, 122, 94, 0.5) 100%);
  z-index: 1;
}

/* Logo */
.gesem-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeUp 0.5s ease both;
}

.gesem-logo-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}



/* Headline */
.gesem-headline-block {
  animation: fadeUp 0.55s 0.1s ease both;
}

.gesem-h1 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 4.5vw, 56px);
  color: var(--banner-white);
  line-height: 1.05;
  letter-spacing: -0.5px;
  text-shadow: 0 12px 18px rgba(0, 0, 0, 0.65);
}

.gesem-subtitle {
  margin-top: 14px;
  font-size: clamp(22px, 2.4vw, 16px);
  color: var(--banner-text-sub);
  line-height: 1.6;
  max-width: 440px;
  font-weight: 600;
  text-shadow: 0 5px 6px rgba(0, 0, 0, 0.24);
}

/* Buttons */
.gesem-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeUp 0.55s 0.2s ease both;
}

.gesem-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: clamp(17px, 1.2vw, 20px);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-decoration: none;
  border: none;
  white-space: nowrap;
}

.gesem-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.gesem-btn-primary {
  background: #70B586;
  color: var(--banner-white);
  backdrop-filter: blur(4px);
}

.gesem-btn-primary:hover {
  background: #70b58694;
  color: var(--banner-white);
}

.gesem-btn-secondary {
  background: #137c79;
  color: var(--banner-white);
  border: 2px solid #c2723b;
}

.gesem-btn-secondary:hover {
  background: #137c785e;
  color: var(--banner-white);
}

/* Features row */
.gesem-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  animation: fadeUp 0.55s 0.3s ease both;
}

.gesem-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 600;
}

.gesem-feature-icon {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}


/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── MOBILE ─── */
@media (max-width: 700px) {
  body {
    padding: 0;
  }

  .gesem-h1 {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: clamp(40px, 4.5vw, 56px);
    color: var(--banner-white);
    line-height: 1.05;
    letter-spacing: -0.5px;
    text-shadow: 0 8px 12px rgba(0, 0, 0, 0.45);
  }

  .gesem-headline-block {
    align-items: center;
    align-content: center;
    text-align: center;
  }

  .gesem-banner {
    flex-direction: column;
    height: 90vh;
  }

  .gesem-image-side {
    flex: 0 0 220px;
    height: 220px;
    width: 100%;
  }

  .gesem-image-side::before {
    background: linear-gradient(180deg, transparent 40%, #21a07a 100%);
  }

  .gesem-content {
    padding: 18px 22px 32px;
    gap: 18px;
  }

  .gesem-logo {
    display: block;
    margin: 0 auto;
    align-items: center;
    align-content: center;
    text-align: center;
    justify-content: center;
    max-width: 40%;
  }

  .gesem-btn-group {
    flex-direction: column;
  }

  .gesem-btn {
    width: 100%;
    padding: 15px 20px;
  }

  .gesem-features {
    gap: 12px 24px;
  }
}

@media (min-width: 701px) and (max-width: 950px) {
  .gesem-content {
    padding: 32px 30px 30px;
  }

  h1 {
    font-size: 36px;
  }

  .gesem-image-side {
    flex: 0 0 38%;
  }
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&display=swap');

#modalPromocional {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
}

#modalPromocional .modal-contenido {
  background-image: url(../img/modi.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 520px;
  /* ⬆ antes 350px */
  border-radius: 22px;
  max-width: 960px;
  /* ⬆ antes 680px */
  width: 95%;
  /* ⬆ antes 92% */
  margin: auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

#modalPromocional .modal-contenido::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2ecc71, #00ff88, #2ecc71);
}

#modalPromocional .btn-cerrar-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 20px;
  line-height: 38px;
  text-align: center;
  cursor: pointer;
  z-index: 10;
  font-family: Arial, sans-serif;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

#modalPromocional .btn-cerrar-x:hover {
  background: rgba(255, 255, 255, 0.3);
}

#modalPromocional .modal-titulo {
  text-align: center;
  padding: 38px 40px 12px;
  /* ⬆ antes 30px 32px 10px */
  color: #fff;
  font-size: 38px;
  /* ⬆ antes 28px */
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-shadow: 4px 4px 0px #7c7c7c;
}

#modalPromocional .modal-titulo span {
  color: #36e47e;
  text-shadow: 0 0 10px #0c9947;

}

#modalPromocional .modal-cuerpo {
  display: flex;
  gap: 0;
  padding: 20px 32px 36px;
  /* ⬆ antes 16px 32px 28px */
  align-items: center;
}

#modalPromocional .modal-izquierda {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 100px;

  /* ⬆ antes 16px */
}


#modalPromocional .modal-i {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 5px 60px 50px 60px;

  /* ⬆ antes 16px */
}

#modalPromocional .caja-inversion {
  background: #137c78;
  border: 1px solid rgba(46, 204, 113, 0.4);
  border-radius: 14px;
  text-align: center;
  padding: 20px 22px;
  width: 300px;
  /* ⬆ antes 20px 22px */
}

#modalPromocional .caja-inversion h3 {
  color: #fff;
  font-size: 36px;
  /* ⬆ antes 22px */
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0 0 8px;
}

#modalPromocional .caja-inversion h3 span {
  color: #ffffff;
}

#modalPromocional .caja-inversion p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 20px;
  /* ⬆ antes 13px */
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}

#modalPromocional .modal-botones {
  display: flex;
  gap: 14px;
  /* ⬆ antes 12px */
  flex-wrap: wrap;
}

#modalPromocional .btn-cotizar {
  flex: 1;
  min-width: 160px;
  /* ⬆ antes 140px */
  background: #002c6e;
  border: 2.5px solid #fff;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  /* ⬆ antes 13px */
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 15px 18px;
  /* ⬆ antes 15px 18px */
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
}

#modalPromocional .btn-cotizar:hover {
  background: #fff;
  color: #0147b1;
}

#modalPromocional .btn-whatsapp {
  flex: 1;
  min-width: 160px;
  /* ⬆ antes 140px */
  background: linear-gradient(135deg, #2ecc71, #00b894);
  border: none;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  /* ⬆ antes 13px */
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 17px 20px;
  /* ⬆ antes 15px 18px */
  border-radius: 50px;
  border: 2.5px solid #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: all 0.2s;
}

#modalPromocional .btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(46, 204, 113, 0.5);
}

#modalPromocional .btn-whatsapp svg {
  width: 22px;
  /* ⬆ antes 20px */
  height: 22px;
  fill: white;
  flex-shrink: 0;
}


#modalPromocional .modal-imagen img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 0 22px 0;
}

@media (max-width: 768px) {
  #modalPromocional .modal-contenido {
    max-width: 95%;
    min-height: 360px;
  }

  #modalPromocional .modal-titulo {
    font-size: 26px;
    padding: 28px 24px 10px;
  }

  #modalPromocional .modal-cuerpo {
    padding: 14px 24px 24px;
  }

  #modalPromocional .modal-imagen {
    width: 200px;
  }
}

@media (max-width: 520px) {
  #modalPromocional .modal-imagen {
    display: none;
  }

  #modalPromocional .modal-titulo {
    font-size: 22px;
  }

  #modalPromocional .modal-izquierda {
    padding-left: 10px;
    padding-right: 10px;
  }

  #modalPromocional .caja-inversion h3 {
    font-size: 22px;
  }
}