
@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Patua+One:400|Montserrat:400,600");

:root {
  --primary: rgb(1, 96, 53);
  --secondary: rgb(191, 211, 171);
  --light-grey: rgba(0, 0, 0, 0.1);
  --white: rgb(255, 255, 255);

  --primary-light: rgba(1, 96, 53, 0.07);
  --primary-mid: rgba(1, 96, 53, 0.25);
  --secondary-light: rgba(191, 211, 171, 0.5);

  --text-l: 32px;
  --text-m: 22px;
  --text-sm: 20px;
  --text-s: 16px;

  --line-height: 1.5;
  --radius: 10px;
  --padding-xxs: 0.4rem;
  --padding-xs: 0.7rem;
  --padding-s: 1rem;
  --padding: 2rem;

  --shadow: 0 0.1rem var(--radius) 0.1rem var(--light-grey);
  --border: 0.02rem solid rgba(255, 255, 255, 0.4);

  --transition: 0.4s;

  --calc-100: calc(100%);
  --calc-80: calc(80%);
  --calc-50: calc(50% - var(--padding-xxs));
  --calc-40: calc(38% - var(--padding-xxs));
  --calc-45: calc(45% - var(--padding-xxs));
  --calc-33: calc(33.33% - var(--padding) - var(--padding));
  --calc-25: calc(25% - var(--padding-xs));

  --font-title: Patua One, serif;
  --font-text: Montserrat, serif;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  line-height: var(--line-height);
  background-color: #fff;
  scroll-behavior: smooth;
  font-family: var(--font-text);
  font-weight: 400;
  color: black;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  font-size: var(--text-s);
  padding-top: 63px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-spacer {
  display: block;
  width: 100%;
}

@media (max-width: 768px) {
  .espacio {
    padding-top: 130px;
  }
}

.img-background {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 300px;
  background-image: url('../media/cocinas/cocina-fondo.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.img-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.img-background h1,
.img-background p {
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: fadeInSlideUp 1s ease-out forwards;
}

.img-background h1 {
  animation-delay: 0.2s;
}

.img-background p {
  animation-delay: 0.5s;
}

.fondo-integral {
  margin-top: -20px;
  background-image: url('../media/fondo-reforma-intregral.jpg');
}

.fondo-pinturas {
  margin-top: -20px;
  background-image: url('../media/pinturas-fondo.jpg');
}
.fondo-impermeabilizacion {
  margin-top: -20px;
  background-image: url('../media/fondo-imp.jpg');
}

.fondo-comunidades {
  margin-top: -20px;
  background-image: url('../media/imagen-comunidad.jpg');
}

.altura-servicios {
  height: 40vh; /* o el valor que prefieras, como 30vh */
  min-height: 200px;
  text-align: center;
}


.carousel {
  position: relative;
  width: 95%;
  max-width: 700px;
  height: 330px;
  margin: 0 auto;
  border: 2px solid white;
  border-radius: 10px;
  overflow: hidden;
  margin-top: -22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.carousel-track-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease-in-out;
}

.carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 5px;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  border: none;
  color: white;
  font-size: 1.4rem;
  padding: 0.3rem 0.5rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 4px;
}

.carousel-button.prev {
  left: 5px;
}

.carousel-button.next {
  right: 5px;
}



.circulos-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.circulo {
  width: 200px;
  height: 200px;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 2px solid rgb(1, 96, 53);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.circulo i {
  font-size: 60px;
  color: rgb(1, 96, 53);
  margin: auto;
  margin-bottom: -20px;
}

.texto-circulo {
  margin-top: auto;
  padding: 10px;
  font-size: 15px;
  color: #333;
  line-height: 1.4;
}
#garantias {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


#garantias .title {
  margin-bottom: 30px;
  text-align: center;
  color: #333;
  text-shadow: 0 0 10px rgb(245, 255, 251);
  
}

.circulo:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}


.reforma-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 40px 20px;
  background-color: #f2f2f2;
  border-radius: 20px;
}

.reforma-img {
  width: 200px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.reforma-texto {
  max-width: 500px;
  text-align: left;
}

.fondo {
  background-color: #B1D8BC !important;
  background-size: 160% 120%;
  background-repeat: no-repeat;
  padding: 60px 20px;
}

.bloque-verde {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #B1D8BC;
  padding: 40px;
  box-shadow: 0 0 10px #7cb17e;
  border-radius: 20px;
  gap: 40px;
  flex-wrap: wrap;
}

.bloque-verde-servicios {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #B1D8BC;
  padding: 40px;
  box-shadow: 0 0 10px #7cb17e;
  gap: 40px;
  flex-wrap: wrap;
}

.bloque-verde__imagen img {
  width: 300px;
  box-shadow: 0 0 10px #065d09;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.bloque-verde__texto {
  max-width: 600px;
  color: #333;
}
.titleInicio, .subtitleInicio {
  max-width: 600px;
  text-shadow:  0 0 10px rgb(254, 254, 254);
  color: #333;
}




@keyframes fadeInSlideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

p {
  font-size: var(--text-s);
}

main {
  flex: 1;
}
main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

@media (max-width: 767px) {
  .img-background {
    margin-top: 60px;
  }
}



*:hover {
  transition: var(--transition);
}

.links a:hover,
.m2>li:hover,
.m2 .active a:hover {
  color: var(--secondary);
}

.dropdown-content a:hover {
  color: var(--primary);
}

.bold {
  font-weight: bold;
}

.regular {
  font-family: var(--font-text);
  font-weight: normal;
}

.section>*:not(:first-child) {
  margin-top: 1rem;
}

.section {
  display: block;
  padding: var(--padding);
  justify-content: center;
  align-items: center;
  text-align: left;
}

.consecutive {
  padding-top: 0;
  padding-bottom: 0;
  padding-left: var(--padding);
  padding-right: var(--padding);
}

.col-1 {
  width: var(--calc-100);
  margin: 0;
}

.col-2 {
  width: var(--calc-100);
  margin: 0;
}

.col-2-img {
  width: var(--calc-100);
  margin: 0;
}

.col-2-img-s {
  width: var(--calc-100);
  margin: 0;
}

.col-3 {
  width: var(--calc-100);
  margin: 0;
}

.title {
  font-family: var(--font-title);
  font-size: var(--text-l);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.subtitle {
  font-family: var(--font-title);
  font-size: var(--text-m);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.subtitle-s {
  font-family: var(--font-title);
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0;
}

.description {
  font-size: var(--text-s);
}

.description-m {
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
}

.menu i {
  font-size: var(--text-sm);
}

.ic-safe {
  align-self: flex-start;
  width: 1em;
  margin-right: 0.5rem;
  aspect-ratio: 1/1;
  padding: 0.8rem;
  color: var(--primary);
  background-color: var(--white);
  border-radius: 50%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-title);
  margin: 0;
  font-weight: normal;
}

.logo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.white {
  background-color: var(--white);
}

.primary {
  background-color: var(--primary);
  color: var(--white);
}
.color-gallery{
  background-color: rgb(62, 129, 77);
  color: var(--white);
}

.secondary {
  background-color: var(--secondary);
}

a {
  cursor: pointer;
  color: var(--medium-green);
  text-decoration: none;
  align-items: center;
}

.menu>li {
  list-style-type: none;
  font-size: var(--text-sm);
}

.dropdown-content {
  list-style-type: none;
  font-size: var(--text-s);
}

.menu ul {
  list-style-type: none;
  padding-inline-start: 0;
}

.menu li a:first-of-type,
.menu li i,
.menu h1:not(.subtitle) {
  padding: 0.5rem;
}

.menu {
  padding: 0 var(--padding);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1001; 
}

.m2 {
  justify-content: center;
  z-index: 1002;
}

.toggle {
  order: 1;
}

.item.button {
  order: 2;
}

.center {
  margin: auto;
  text-align: left;
}

.center-r {
  margin: auto;
  text-align: center;
}
.products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.product {
  flex: 1 1 300px;
  max-width: 300px;
  box-sizing: border-box;
  margin-bottom: 20px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;

  padding: var(--padding-s);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;

  transition: transform 0.3s ease-in-out;
  word-break: break-word;
}

@media (max-width: 480px) {
  .product {
    flex-basis: 100%;
    max-width: 100%;
  }
}

.product p {
  flex: 1;
  margin: 0;
  flex-grow: 1;
}

.product:hover {
  
  cursor: pointer;
  background-color:  rgb(1, 96, 53) !important;
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  color: white;
}

.product:hover .button {
  background-color: white;
  color: #014f2b;
}

.servicio-icon {
  transition: all 0.3s ease;
}

.product:hover .servicio-icon-box {
  content: url("../media/icon/ic_box_white.png");
}
.product:hover .servicio-icon-paint {
  content: url("../media/icon/ic_paint_white.png");
}
.product:hover .servicio-icon-house {
  content: url("../media/icon/ic_maintenance_white.png");
}
.product:hover .servicio-icon-comunidad {
  content: url("../media/icon/ic_building_white.png");
}

.button {
  border-radius: 3rem;
  padding: 0.5rem 1rem;
  border: none;
  width: fit-content;
  margin: auto;
  margin-top: 0.7rem;
  text-align: center;
  font-size: var(--text-s);
  color: var(--white);
  background-color: var(--primary);
}

.b-l {
  font-size: var(--text-sm);
}

.button:hover {
  background-color: var(--secondary);
}

.gallery-item {
  width: var(--calc-50);
  aspect-ratio: 1/1;
  margin: 0.1rem;
  border-radius: var(--radius);
  transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
  opacity: 0;
  transform: scale(0.8);
  animation: fadeInUp 0.8s ease-out forwards;
}
.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {

  .carousel-button {
    font-size: 1.5rem;
    padding: 0.3rem 0.6rem;
  }

  .img-background {
    height: 40vh;
    min-height: 250px;
  }
  .img-background h1 {
    font-size: 1.5rem;
  }
  .img-background p {
    font-size: 1rem;
  }

  .gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .gallery-item {
    width: 90%;
    height: auto;
  }

  .section {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .col-3,
  .product {
    width: 100%;
    max-width: 100%;
    margin: 10px auto;
    box-sizing: border-box;
    overflow: hidden;
    word-wrap: break-word;
    white-space: normal;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .product p {
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: break-word;
    max-width: 100%;
  }
}

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

.pswp__img--placeholder--blank {
  display: none !important;
}

img {
  max-height: 100%;
  max-width: 100%;
  object-fit: cover;
  align-items: center;
}

.img-h {
  aspect-ratio: 3/2;
}

img:not(.img-logo):not(.icon) {
  border-radius: var(--radius);
}

.img-logo {
  width: 4rem;
  margin: auto;
  padding: 0.5rem;
}

.map {
  width: 100%;
  height: 20rem;
  border: 0;
  border-radius: var(--radius);
  min-height: 20rem;
}

.icon {
  width: 3.5rem;
  aspect-ratio: 1/1;
}

.links a {
  text-decoration: none;
  display: block;
}

footer a {
  display: inline-block;
}

.menu a {
  display: inline-flex;
}

.m2 a {
  display: flex;
  justify-content: space-between;
}

.link-contact {
  padding: 1rem;
  color: var(--white);
  background-color: var(--primary);
  border-radius: 50%;
}

.link-contact:hover {
  background-color: var(--secondary);
}

.links {
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0;
  margin-inline-end: 0;
}

.fa {
  color: var(--dark-green);
  margin: 0.5rem;
}

.menu .fa {
  margin: 0.5rem;
  color: var(--white);
}

.no-mb {
  margin-bottom: 0;
}

.item.active:nth-last-child(n +2) {
  border-bottom: var(--border);
}

.item.active:last-child {
  padding-bottom: 1rem;
}

.item {
  display: none;
  width: 100%;
  text-align: left;
  order: 3;
}

.item-b.active-b,
.item.active {
  display: block;
}

.item-b.active-b {
  margin-left: 1.5rem;
}

.item-b {
  color: var(--white);
  display: none;
}

.right-f {
  text-align: left;
}

.right,
.left,
.middle {
  text-align: center;
}

.y-link {
  text-decoration: underline;
}

.y-link:hover {
  color: var(--secondary);
  transform: 1.1;
}

.question {
  cursor: pointer;
  padding: var(--padding-s) var(--padding);
  margin: var(--padding-xs) 0;
  background-color: var(--primary-light);
  border-radius: var(--radius);
  text-align: left;
  outline: none;
  border: none;
}

.question:hover {
  background-color: var(--primary-mid);
}

.arrow:after {
  content: "\2303";
  float: right;
  transform: rotate(-180deg);
  -webkit-transform: rotate(-180deg);
  transition: var(--transition);
}

.question .arrow:after {
  font-weight: bold;
}

.question.active .arrow:after {
  transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
}

.question.active>p {
  margin-bottom: 0;
}

.question>p {
  font-weight: bold;
}

.answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition) ease-out;
}

.nsl {
  padding-inline-start: 1.2rem;
}

.block {
  display: block;
}

.inline {
  display: inline-flex;
}

.wrap {
  display: flex;
  flex-wrap: wrap;
}

.flex {
  display: flex;
  justify-content: space-between;
}

.p-t {
  padding-top: 1rem;
}

.dropdown {
  cursor: pointer;
}

.divider {
  border-top: none;
}

@media (min-width: 900px) {
  .section {
    display: flex;
    width: auto;
  }

  .col-1 {
    width: var(--calc-100);
    margin: 0 1rem;
  }

  .col-2 {
    width: var(--calc-50);
    margin: 0 1rem;
  }

  .col-2-img {
    width: var(--calc-45);
    margin: 0 1rem;
  }

  .col-2-img-s {
    width: var(--calc-40);
    margin: 0 1rem;
  }

  .col-3 {
    width: var(--calc-33);
    margin: 1rem;
  }

  .toggle {
    display: none;
  }

  .logo {
    order: 0;
  }

  .gallery-item {
    width: var(--calc-25);
  }

  .item {
    order: 1;
    width: auto;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
  }

  .right {
    text-align: right;
  }

  .left {
    text-align: left;
  }

  .middle {
    text-align: center;
  }

  .menu .fa {
    margin: 0;
  }

  .menu {
    justify-content: space-between;
    text-align: left;
  }

  .m2 {
    justify-content: space-around;
  }

  .margin-l {
    padding: var(--padding-xs) var(--padding);
  }

  .right-f {
    text-align: right;
  }

  .dropdown {
    display: inline-block;
  }

  .item-b {
    display: block;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--primary);
    z-index: 1;
    text-align: left;
    font-size: var(--text-s);

    -webkit-box-shadow: var(--shadow);
    -moz-box-shadow: var(--shadow);
    box-shadow: var(--shadow);
  }

  .dropdown-content a {
    padding: 1rem 0.5rem;
    text-decoration: none;
    display: block;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

  .center {
    text-align: center;
  }

  .section>*:not(:first-child) {
    margin-top: 0;
  }

  .gallery {
    object-fit: cover;
    padding-top: 2rem;
  }

  .menu img {
    padding: 1rem;
  }

  .menu li a:first-of-type,
  .menu li i,
  .menu h1:not(.subtitle) {
    padding: 1rem;
  }

  :root {
    --text-l: 38px;
    --text-m: 26px;
    --text-sm: 20px;
    --text-s: 16px;
  }

  .item.active:nth-last-child(n +2) {
    border-bottom: none
  }

  .item.active:last-child {
    padding-bottom: 0;
  }

  .item-b.active-b {
    margin-left: 0;
  }

  .divider {
    border-top: 0.1rem solid var(--secondary);
  }

  .dropdown-content a:hover {
    color: var(--primary);
    background-color: var(--white);
  }
}

.reforma-lista {
  list-style: none;
  padding-left: 0;
}

.reforma-lista li {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.6s ease-out forwards;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.reforma-lista li:nth-child(1) { animation-delay: 0.1s; }
.reforma-lista li:nth-child(2) { animation-delay: 0.3s; }
.reforma-lista li:nth-child(3) { animation-delay: 0.5s; }
.reforma-lista li:nth-child(4) { animation-delay: 0.7s; }
.reforma-lista li:nth-child(5) { animation-delay: 0.9s; }
.reforma-lista li:nth-child(6) { animation-delay: 1.1s; }
.reforma-lista li:nth-child(7) { animation-delay: 1.3s; }
.reforma-lista li:nth-child(8) { animation-delay: 1.5s; }

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reforma-img {
  flex: 1;
  min-width: 300px;
}

.reforma-img img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}


@media (max-width: 768px) {
  .reforma-contenido {
    flex-direction: column;
    text-align: center;
  }

  .reforma-img {
    order: -1;
  }
}


.reforma-section {
  width: 100%;
  background-color: rgb(62, 129, 77);
  color: var(--white);
  padding: 60px 0;
  margin: 0;
  box-sizing: border-box;
  border-radius: 20px;
}

.reforma-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}


.reforma-texto {
  flex: 1 1 500px;
}

.reforma-texto h1 {
  margin-bottom: 20px;
  font-size: 2rem;
}

.reforma-lista {
  list-style: none;
  padding: 0;
}

.reforma-lista li {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.reforma-lista i {
  margin-right: 10px;
}

.reforma-img {
  flex: 1 1 400px;
  text-align: center;
  object-fit: cover;
}

.reforma-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}


.recuadroServicios{
  width: 100%;
  max-width: 200px;
  height: 200px;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 2px solid rgb(1, 96, 53);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}


.recuadroServicios:hover{
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.recuadrosContainer{
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.recuadroServicios img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
}

.fondoReformasIntegrales{
border-radius: 20px;
padding: 20px 40px;
padding-bottom: 30px;
}


.recuadrosContainer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
}

@media (max-width: 1024px) {
  .recuadrosContainer {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .recuadrosContainer {
    grid-template-columns: 1fr;
  }
}

.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Dos columnas por defecto */
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
  padding: 20px;
}

.product {
  max-width: 300px;
  width: 109.5%;
  box-sizing: border-box;
  padding: var(--padding-s);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s ease-in-out;
  word-break: break-word;
}

@media (min-width: 1200px) {
  .products {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1199px) and (min-width: 601px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .products {
    grid-template-columns: 1fr;
  }
}

.recuadrosWrapper {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 768px) {
  .grupo-resenas {
    gap: 1rem;
  }

  .caja-resena {
    min-width: 90%;
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .grupo-resenas {
    gap: 1rem;
  }

  .caja-resena {
    min-width: 90%;
    max-width: 90%;
  }

  .flecha-resenas {
    display: none;
  }
}

.carrusel-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
  overflow: hidden;
  padding: 0 10px;
}

.carrusel-visible {
  overflow: hidden;
  width: 100%;
  max-width: 900px;
}

.carrusel-lista {
  display: flex;
  transition: transform 0.4s ease;
  gap: 1.5rem;
}

.estrellas {
  color: #f2b01e;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.autor {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: #555;
}

.tarjeta-resena {
  background-color: #B1D8BC;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-width: calc((100% - 3rem) / 3);
  max-width: calc((100% - 3rem) / 3);
  flex-shrink: 0;
  text-align: left;
}

@media screen and (max-width: 768px) {
  .tarjeta-resena {
    min-width: calc((100% - 1.5rem) / 2);
    max-width: calc((100% - 1.5rem) / 2);
  }
}

.contenedor-resenas {
  overflow: hidden;
  width: 100%;
  max-width: 1000px;
}

.seccion-resenas {
  margin-top: 4rem;
  text-align: center;
  padding: 0 1rem;
}

.titulo-resenas {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.carrusel-resenas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.flecha {
  background: white;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  margin-top: -70px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  flex-shrink: 0;
  text-align: center;
  align-items: center;
  align-self: center;
  align-content: center;
  transition: background 0.3s;
  transition: transform 0.4s ease;
  background-color: rgb(62, 129, 77);
  color: white

}

.flecha:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.lista-resenas {
  display: flex;
  transition: transform 0.4s ease;
  gap: 1.5rem;
}

.tarjeta-resena {
  background-color: #B1D8BC;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  width: calc((800px - 1.5rem) / 2);
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta-resena:hover {
  transform: scale(0.95);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.texto {
  font-style: italic;
  color: #333;
}

.texto {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  max-height: 4.5em;
  transition: max-height 0.3s ease;
  position: relative;
}

.texto.expandido {
  -webkit-line-clamp: unset;
  max-height: 1000px;
}

.leer-mas-btn {
  background: none;
  border: none;
  color: #00796b;
  cursor: pointer;
  font-weight: bold;
  margin-top: 5px;
  padding: 0;
  font-size: 0.9em;
}
.contenedor-resenas {
  padding-right: 16px;
  padding-bottom: 20px;
}

@media screen and (max-width: 768px) {
  .tarjeta-resena {
    min-width: 100%;
    max-width: 100%;
  }

  .flecha {
    display: none;
  }
}

.bloque-flex-resenas-texto {
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  padding: 40px 20px;
}

@media (max-width: 768px) {
  .bloque-flex-resenas-texto {
    flex-direction: column;
    align-items: center;
  }

  .seccion-resenas, .bloque-verde__texto {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  ul.menu.white {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    gap: 6px;
  }

  ul.menu.white > a {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  ul.menu.white li.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
  }

  ul.menu.white li.logo img.img-logo {
    width: 60px;
    height: auto;
    margin-bottom: 5px;
    margin-top: -14px;
  }

  ul.menu.white li.logo h2.subtitle {
    font-size: 1rem;
    margin: 0;
    margin-top: -10px;
    text-align: center;
  }

  ul.menu.white > div {
    display: flex;
    justify-content: center;
    gap: -5px;
    width: 100%;
    margin-bottom: -10px;
    margin-top: -10px
  }

  ul.menu.white > div > a > i {
    font-size: 15px;
    color: white;
    line-height: 1;
  }

}

.galeriaTresImagenes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .galeriaTresImagenes {
    gap: 20px;
  }
}
.header-contacto {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  white-space: nowrap;
  flex-wrap: nowrap;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  flex-shrink: 1;
}

.mensaje-contacto {
  font-family: 'Patua One', serif;
  color: black;
  margin: 0;
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
  font-size: 18px;
}

.texto-linea-unica {
  display: none;
}
.texto-dos-lineas {
  display: inline;
}

@media (min-width: 1400px) {
  .mensaje-contacto {
    font-size: 24px;
  }
  .texto-linea-unica {
    display: inline;
  }
  .texto-dos-lineas {
    display: none;
  }
}

@media (min-width: 1030px) and (max-width: 1399px) {
  .mensaje-contacto {
    text-align: center;
    font-size: 16px;
    white-space: normal;
  }
  .texto-linea-unica {
    display: none;
  }
  .texto-dos-lineas {
    display: inline;
    text-align: right;
  }
}

@media (max-width: 1029px) {
  .mensaje-contacto {
    display: none;
  }
}

@media (max-width: 767px) {
  .carousel {
    height: 330px;
  }

  .carousel-track,
  .carousel-slide {
    height: 100%;
  }

  .carousel-slide img {
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 768px) {
  .carousel {
    border: none !important;
    box-shadow: none !important;
  }

}