/********** Template CSS **********/

/*------- Fuente Tipografica------*/
/* Nunito cargada vía HTML para mejor rendimiento */

.top-bar {
  height: 40px;
  overflow: hidden;
}

/* ----- Fuente de Color ---------/
#372C20  cafe oscuro
#6B5033  cafe claro
#CEBFAF  beige oscuro
#E7E8EC  gris claro
#E4DED6  beige claro
#DBAB7B  naranja
#FFFFFF  blanco
*/

:root {
  --primary: #dbab7b;
  --secondary: rgb(84, 84, 84);
  --light: #ffffff;
  --dark: #372c20;
}

body {
  background-color: rgb(245, 245, 247);
  font-family: "Nunito", sans-serif;
  box-shadow: rgb(120, 120, 121);
  line-height: 1.7; /* Mejor legibilidad */
  color: #555;
}

/*-- Cookies Banner Moderno --*/
.cookie-banner-container {
  position: fixed;
  bottom: 30px;
  left: 30px;
  right: 30px;
  max-width: 500px;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 25px;
  z-index: 9999;
  display: none; /* Se activa con JS */
  flex-direction: column;
  gap: 15px;
  animation: slideUp 0.5s ease-out forwards;
  font-family: "Nunito", sans-serif;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.cookie-header h6 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}

.cookie-icon {
  font-size: 1.5rem;
}

.cookie-text {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 5px;
}

.btn-cookie {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  flex: 1;
  text-align: center;
}

.btn-cookie-accept {
  background-color: var(--primary);
  color: #fff;
}

.btn-cookie-accept:hover {
  background-color: #c99b6e; /* Un tono más oscuro del primary */
}

.btn-cookie-settings {
  background-color: transparent;
  border: 1px solid #ddd;
  color: #555;
}

.btn-cookie-settings:hover {
  border-color: var(--dark);
  color: var(--dark);
}

.btn-cookie-reject {
  background-color: #f5f5f5;
  color: #555;
}

.btn-cookie-reject:hover {
  background-color: #e0e0e0;
}

.cookie-policy-link {
  font-size: 0.8rem;
  color: #888;
  margin-top: 5px;
  text-align: center;
}

.cookie-policy-link a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.cookie-policy-link a:hover {
  text-decoration: underline;
}

@media (max-width: 576px) {
  .cookie-banner-container {
    left: 15px;
    right: 15px;
    bottom: 15px;
    padding: 20px;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .btn-cookie {
    width: 100%;
  }
}
/*-- End of the Cookies --*/

h1,
h2,
h3 {
  font-family: "Nunito", sans-serif;
  letter-spacing: -0.02em; /* Toque moderno en títulos */
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
  font-family: "Nunito", sans-serif !important;
  font-weight: 600 !important;
}

.py-6 {
  background-color: rgb(255, 255, 255);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.my-6 {
  margin-top: 6rem;
  margin-bottom: 6rem;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}

/*** 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-what-nav {
  width: 40px;
  height: auto;
  margin-right: 80px;
}

.btn {
  font-weight: 500;
  transition: 0.5s;
}

.btn.btn-primary {
  color: #ffffff;
  border-radius: 50px;
  padding: 12px 30px;
  box-shadow: 0 4px 15px rgba(219, 171, 123, 0.4);
  background: linear-gradient(45deg, var(--primary), #e6c19a);
  border: none;
}

.btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(219, 171, 123, 0.5);
}

.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;
  cursor: pointer;
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
  padding: 45px 20px; /* Aumentado padding vertical y horizontal */
  color: var(--light);
  outline: none;
  font-weight: 600; /* Un poco más de peso visual */
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar.fixed-top {
  transition: 0.5s;
}

.col-6 .img-productos,
.col-6 .img-fluid,
.container-xxl,
.col-lg-4 .product-item {
  border-radius: 20px;
}

.mb-2 .fa {
  color: rgb(220, 171, 123);
  transition: 1ms;
}

.mb-2 {
  color: rgb(220, 171, 123) !important;
  transition: 1ms;
}

.mb-2:hover {
  color: var(--dark) !important;
}

/* ----------- Footer -------------- */

@media (max-width: 991.98px) {
  .navbar .navbar-nav {
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    background: var(--dark);
  }

  .navbar .navbar-nav .nav-link {
    padding: 15px 0; /* Más espacio en móvil */
  }

  h1 {
    text-align: center;
  }
}

@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;
  }

  h1 {
    text-align: center;
  }
}

/* Ticker de Noticias (Barra Superior) */
.news-ticker-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  /* Fondo oscuro para que coincida con el tema */
  background-color: var(--dark);
}

.news-ticker-wrapper {
  display: flex;
  white-space: nowrap;
  /* La animación mueve el contenido hacia la izquierda */
  animation: scrollText 30s linear infinite;
  /* Necesitamos suficiente ancho para que no se corte, fit-content ayuda */
  width: max-content; /* Usar max-content para asegurar que ocupe todo lo necesario */
}

/* Estilo para los bloques de contenido duplicados */
.ticker-content {
  display: flex;
  align-items: center;
  flex-shrink: 0; /* Evitar que se encogan */
  white-space: nowrap; /* Asegurar que el texto no salte de línea */
}

.news-ticker-wrapper p {
  display: inline-block;
  margin: 0;
  /* Espaciado uniforme a ambos lados del item */
  padding: 0 40px; 
  color: var(--light);
  font-family: "Nunito", sans-serif;
  font-size: 0.9rem;
}

.news-ticker-wrapper p strong {
  color: var(--primary);
  font-weight: 700;
}

/* Detener animación al pasar el ratón */
.news-ticker-container:hover .news-ticker-wrapper {
  animation-play-state: paused;
}

@keyframes scrollText {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Mueve el contenedor la mitad de su ancho total (asumiendo que hemos duplicado el contenido exactamente una vez) */
    transform: translateX(-50%);
  }
}

/*** Header ***/
.header-carousel .owl-carousel-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  text-align: center;
}

.header-carousel .owl-carousel-item {
  position: relative;
  height: 75vh;
  min-height: 500px;
  max-height: 700px;
}

.header-carousel .owl-carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.owl-carousel-inner .container .row {
  margin: 0 !important;
  padding: 0 !important;
}

.hero-description {
  font-size: 1.25rem;
  font-weight: 400;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .header-carousel .owl-carousel-item {
    position: relative;
    min-height: 600px;
  }

  .header-carousel .owl-carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .header-carousel .owl-carousel-item p {
    font-size: 1.1rem !important;
    margin-bottom: 2rem !important;
  }

  .owl-carousel-inner .container {
    padding-top: 60px; /* Añadido para evitar que el texto suba demasiado cerca del logo en móviles */
  }

  /* Optimización de espacios en secciones */
  .py-6, .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .footer .container.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 1rem !important;
  }

  /* Reducir gutters de Bootstrap que son muy anchos en móvil */
  .row.g-5 {
    --bs-gutter-y: 2rem !important;
  }
}

/*** FAQ Accordion Styles ***/
.modern-accordion .accordion-item {
  background-color: #fcfcfc;
  transition: all 0.3s ease;
  border-left: 4px solid transparent !important;
}

.modern-accordion .accordion-item:hover {
  border-left: 4px solid var(--primary) !important;
  transform: translateX(5px);
}

.modern-accordion .accordion-button {
  background-color: transparent;
  color: var(--dark);
  font-weight: 700;
  padding: 1.25rem;
  box-shadow: none !important;
}

.modern-accordion .accordion-button:not(.collapsed) {
  color: var(--primary);
  background-color: transparent;
}

.modern-accordion .accordion-button::after {
  background-size: 1rem;
}

.modern-accordion .accordion-body {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  padding-top: 0;
}

.header-carousel .owl-nav {
  position: relative;
  width: 80px;
  height: 80px;
  margin: -40px auto 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-carousel .owl-nav::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #ffffff;
  transform: rotate(45deg);
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  position: relative;
  font-size: 40px;
  color: var(--primary);
  transition: 0.5s;
  z-index: 1;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
  color: var(--dark);
}

.page-header {
  margin-bottom: 6rem;
  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);
}

h1 {
  text-align: center;
}

.row h2 {
  text-align: center;
}

@media (max-width: 576px) {
  .owl-carousel-inner .container .row {
    margin-bottom: 60%;
  }
  .navbar-brand img {
    width: 145px;
  }
}

/*** Facts ***/
.fact-item {
  transition: 0.5s;
}

.fact-item:hover {
  margin-top: -10px;
  background: #ffffff !important;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
}

/*** About ***/
.img-twice::before {
  position: absolute;
  content: "";
  width: 60%;
  height: 80%;
  top: 10%;
  left: 20%;
  background: var(--primary);
  border: 25px solid var(--light);
  border-radius: 6px;
  z-index: -1;
}

.container-about {
  background-color: #372c20;
}

.container .bg-primary {
  background: var(--primary) !important;
}

.row-title {
  justify-content: center;
  text-align: center;
}

/*** Product & Gallery Modern Cards ***/
.product-item, .gallery-item {
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-item {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.product-item:hover, .gallery-item:hover {
  transform: translateY(-10px);
}

.product-item:hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08); /* Sombra más suave y difusa */
  border-color: rgba(219, 171, 123, 0.5);
  transform: translateY(-8px);
}

.product-item .img-wrapper, .gallery-item .img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background: #fff; /* Fondo blanco interno para cargar imágenes */
}

.gallery-item {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.product-item img, .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-item:hover img, .gallery-item:hover img {
  transform: scale(1.1);
}

.product-info {
  padding: 25px;
  text-align: center;
}

.product-price-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(219, 171, 123, 0.9);
  color: white;
  padding: 8px 15px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(219, 171, 123, 0.3);
  backdrop-filter: blur(5px);
}

.product-overlay, .gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(55, 44, 32, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 3;
  padding: 20px;
  text-align: center;
}

.product-item:hover .product-overlay, 
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.btn-modern-action {
  width: 55px;
  height: 55px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transform: scale(0.5);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-bottom: 15px;
  cursor: pointer;
  border: none;
}

.product-item:hover .btn-modern-action,
.gallery-item:hover .btn-modern-action {
  transform: scale(1);
}

.gallery-overlay h4 {
    color: white;
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: 700;
    transform: translateY(10px);
    transition: all 0.4s ease 0.1s;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    transform: translateY(10px);
    transition: all 0.4s ease 0.2s;
}

.gallery-item:hover .gallery-overlay h4,
.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

/*** Lightbox Modal ***/
.modal-lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
}

.modal-content-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.modal-img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-lightbox.active .modal-img {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: 0.3s;
}

.modal-close:hover {
    color: var(--primary);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 576px) {
    .modal-close {
        top: -40px;
        right: 10px;
    }
}

/*** Team ***/
.team-item .team-text {
  position: relative;
  height: 100px;
  overflow: hidden;
}

.team-item .team-title {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--light);
  transition: 0.5s;
}

.team-item:hover .team-title {
  top: -100px;
}

.team-item .team-social {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 100px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  transition: 0.5s;
}

.team-item .team-social .btn {
  margin: 0 3px;
}

.team-item:hover .team-social {
  top: 0;
}

/*** Footer ***/
.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: var(--light);
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--light);
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--primary);
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .btn-cookie-settings-link {
  color: var(--light);
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  opacity: 0.7;
  transition: 0.3s;
}

.footer .btn-cookie-settings-link:hover {
  color: var(--primary);
  opacity: 1;
}

.copyright {
  background: #111111;
  font-size: 0.85rem; /* Reducir tamaño de letra */
  color: #777; /* Color gris oscuro para el texto general */
}

/* Enlaces del copyright (Tu nombre) */
.copyright a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.copyright a:hover {
  color: var(--light);
}

/* Estilo específico para los créditos de la plantilla para hacerlos discretos */
.col-md-6.text-md-end {
  font-size: 0.75rem; /* Un poco más pequeño que el resto */
  opacity: 0.6; /* Semitransparente */
}

.col-md-6.text-md-end a {
  color: #999; /* Gris suave, no el primario llamativo */
  font-weight: 400; /* Peso normal */
  border-bottom: 1px dotted #555; /* Subrayado sutil */
}

.col-md-6.text-md-end a:hover {
  color: #bbb; /* Cambio sutil al hover */
  border-bottom-color: #bbb;
}

@media (min-width: 575px) {
  .navbar-brand img {
    width: 145px;
  }
}

/* WhatsApp Button Floating */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  color: #fff;
}

/* Animation for WhatsApp Button */
@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Mobile Adjustment */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 25px;
  }
}

/*** Modern Form Styles ***/
.modern-form .form-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--light);
  padding: 12px 15px;
  transition: all 0.3s ease;
}

.modern-form .form-input:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(219, 171, 123, 0.2);
  color: var(--light);
  outline: none;
}

.modern-form .form-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

#form-feedback.success {
  color: #28a745;
  font-weight: 600;
}

#form-feedback.error {
  color: #dc3545;
  font-weight: 600;
}

/*** Contact Info Modern Styles ***/
.contact-info-list .btn-square {
  width: 35px;
  height: 35px;
  transition: all 0.3s ease;
}

.contact-link:hover .btn-square {
  transform: scale(1.1);
  background-color: var(--light) !important;
}

.contact-link:hover .btn-square i {
  color: var(--primary) !important;
}

.social-btn-modern {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--light);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-btn-modern:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(219, 171, 123, 0.3);
  border-color: var(--primary);
}

.btn-cookie-settings-link {
  background: transparent;
  border: none;
  color: #777; /* Mismo color que el texto del copyright */
  font-size: 0.85rem;
  padding: 0;
  text-decoration: underline;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-cookie-settings-link:hover {
  color: var(--primary);
}

/*** Navbar Mobile Optimization ***/
/* Hamburger Toggle Button - Glassmorphism style for visibility */
@media (max-width: 991.98px) {
  .navbar-toggler {
    padding: 8px 10px !important;
    background: rgba(0, 0, 0, 0.3) !important; /* Fondo oscuro sutil */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }

  .navbar-toggler:hover {
    background: rgba(0, 0, 0, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
  }

  #nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  #nav-overlay.active {
    display: block;
    opacity: 1;
  }

  /* Hamburger Icon Animation */
  .hamburger-icon {
    width: 25px;
    height: 20px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .hamburger-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  /* Transición a X */
  .navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .navbar-collapse {
    background: #fff;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
}

/* Asegurar que el navbar collapse esté encima del overlay */
.navbar-collapse {
  z-index: 999;
}


/*** Testimonials Cards - Wow Effect ***/
.testimonial-carousel {
  padding-bottom: 2rem;
}

.testimonial-item {
  position: relative;
  background: #1f2937; /* Fondo oscuro estilo Tailwind gray-800 */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);

  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Efecto rebote suave */
  margin: 15px; /* Espacio para que la sombra no se corte */
  min-height: 280px; /* Altura mínima ajustada */
  height: 100%; /* Ocupar altura completa */
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Alinear contenido arriba */
}

/* Efecto Hover WOW */
.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  background: #111827; /* Fondo más oscuro al hover */
  border-color: rgba(255, 255, 255, 0.2);
}

.testimonial-item p {
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
}

.testimonial-item h5 {
  font-weight: 700;
  color: var(--dark);
}

/* Google Icon Wrapper */
.google-icon-wrapper {
  width: 50px;
  height: 50px;
  min-width: 50px; /* Prevenir aplastamiento */
  background: #fff; /* Fondo blanco para que destaque el logo de Google */
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: 0.3s;
}

.testimonial-item:hover .google-icon-wrapper {
  background: #fff;
  transform: rotate(360deg); /* Pequeña animación divertida */
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}



/* Estrellas */
.text-primary i {
  color: #ffc107 !important; /* Color dorado estándar de review */
  margin-right: 2px;
  font-size: 0.9rem;
}

/* Ajustes Owl Carousel Dots si se activaran */
.testimonial-carousel .owl-dots {
  margin-top: 25px;
  text-align: center;
}

.testimonial-carousel .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  transition: 0.3s;
}

.testimonial-carousel .owl-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}
