.container-fluid {
  background-color: #FBE8D2;
}

.nombre{
  font-family: 'Dancing Script', cursive;
  font-size: 20px;
  font-weight: normal;
  color: #333;
  }


.logo{
  width: 64px;;
}

/* carrusel nuevo */
.contenedor{
    height: 200px;
    width: 200px;
    perspective: 1000px;
    margin: 170px auto;
    transform:scale(.9)rotateX(-10deg);
    transform-style: preserve-3d; 
  
}
.contenedor .box{
    animation: rotar 50s infinite linear;
    height: 100%;
    width: 100%;
    transform-style: preserve-3d;
   transition: 2s;
  
}
.elementos{
    height: 200px;
    width: 150px;
    position: absolute;
    box-shadow: 0 0 10px #fff;
}
:root{
    --transladacion:translateZ(250px);
}

.elementos:nth-child(1){
    transform: rotateY(0deg) var(--transladacion);
}
.elementos:nth-child(2){
    transform: rotateY(45deg) var(--transladacion);
}
.elementos:nth-child(3){
    transform: rotateY(90deg) var(--transladacion);
}
.elementos:nth-child(4){
    transform: rotateY(135deg) var(--transladacion);
}
.elementos:nth-child(5){
    transform: rotateY(180deg) var(--transladacion);
}
.elementos:nth-child(6){
    transform: rotateY(225deg) var(--transladacion);
}
.elementos:nth-child(7){
    transform: rotateY(270deg) var(--transladacion);

}
.elementos:nth-child(8){
    transform: rotateY(315deg) var(--transladacion);

}
.elementos:nth-child(9){
    transform: rotateY(360deg) var(--transladacion);
    
}
.elementos img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    -webkit-box-reflect: below 10px linear-gradient(transparent, transparent, #0005);
    position: absolute;
    backface-visibility: hidden;
}

.elementos img:nth-child(2){
    transform: rotateY(180deg)
}

.imagen2:nth-child(1){
    animation: rotar2 50s
}

@keyframes rotar{
   
    to{
        transform: rotateY(-360deg) ;
    }
}

.video {
  width: 100%;              /* Ocupa todo el ancho de la columna */
  max-width: 650px;         /* Tamaño máximo para pantallas grandes */
  border-radius: 15px;      /* Bordes redondeados */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2); /* Sombra suave */
  display: block;           /* Para que respete el ancho */
  margin: 0 auto;           /* Centrado horizontal */
}


* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

h1 {
  font-size: 2.5rem;
  font-family: "Montserrat";
  font-weight: normal;
  color: #444;
  text-align: center;
  margin: 2rem 0;
}

.wrapper {
  width: 90%;
  margin: 0 auto;
  max-width: 80rem;
}

.cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.col {
  width: calc(25% - 2rem);
  margin: 1rem;
  cursor: pointer;
}

.container {
  transform-style: preserve-3d;
  perspective: 1000px;
  position: relative;
  margin: left;
}

.front,
.back {
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  backface-visibility: hidden;
  text-align: center;
  aspect-ratio: 1 / 1;   /* siempre cuadrado */
  height: auto;
  color: #fff;
  font-size: 1.5rem;
  position: relative;
}

.back {
  background: linear-gradient(45deg, #cedce7 0%, #596a72 100%);
}

.front:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  background-color: #000;
  border-radius: 10px;
}

.container:hover .front,
.container:hover .back {
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.inner {
  transform: translateY(-50%) translateZ(60px) scale(0.94);
  top: 50%;
  position: absolute;
  left: 0;
  width: 100%;
  padding: 2rem;
  box-sizing: border-box;
  outline: 1px solid transparent;
  perspective: inherit;
  z-index: 2;
}

.container .back {
  transform: rotateY(180deg);
  transform-style: preserve-3d;
}

.container .front {
  transform: rotateY(0deg);
  transform-style: preserve-3d;
}

.container:hover .back {
  transform: rotateY(0deg);
  transform-style: preserve-3d;
}

.container:hover .front {
  transform: rotateY(-180deg);
  transform-style: preserve-3d;
}

.front .inner p {
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.front .inner p:after {
  content: "";
  width: 4rem;
  height: 2px;
  position: absolute;
  background: #c6d4df;
  display: block;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: -0.75rem;
}

.front .inner span {
  color: rgba(255, 255, 255, 0.7);
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
}

/* 📱 Responsivo */
@media screen and (max-width: 64rem) {
  .col {
    width: calc(33.333333% - 2rem);
  }
}

@media screen and (max-width: 48rem) {
  .col {
    width: calc(50% - 2rem);
  }
}

@media screen and (max-width: 32rem) {
  .col {
    width: 100%;
    margin: 0 0 2rem 0;
  }
}


/* ===== Footer ===== */
.footer {
  background: #2c2c2c; /* Fondo gris oscuro */
  color: #e0e0e0;
  padding: 40px 20px 20px;
  width: 100%;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #d4d4d4;
  font-weight: 600;
}

.footer-section p,
.footer-section ul,
.footer-section li,
.footer-section a {
  font-size: 14px;
  line-height: 1.6;
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s ease; /* transición suave */
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section a:hover {
  color: #a3d5ff; /* Azul pastel al hover */
}

.footer-bottom {
  text-align: center;
  padding: 15px 0 0;
  margin-top: 20px;
  border-top: 1px solid #444;
  font-size: 13px;
  color: #999;
}

/* Íconos de contacto y redes en gris normal */
.footer-section p {
  color: #bbb;
}

.footer-section p:hover,
.footer-section a:hover {
  color: #89c4ff; /* Celeste pastel al hover */
}


/* cartas productos */


@import url("https://fonts.googleapis.com/css?family=Cardo:400i|Rubik:400,700&display=swap");
:root {
  --d: 700ms;
  --e: cubic-bezier(0.19, 1, 0.22, 1);
  --font-sans: "Rubik", sans-serif;
  --font-serif: "Cardo", serif;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}



.page-content {
  display: grid;
  grid-gap: 1rem;
  padding: 1rem;
  max-width: 1024px;
  margin: 0 auto;
  font-family: var(--font-sans);
}
@media (min-width: 600px) {
  .page-content {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 800px) {
  .page-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 1rem;
  width: 100%;
  text-align: center;
  color: whitesmoke;
  background-color: whitesmoke;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 2px 2px rgba(0, 0, 0, 0.1), 0 4px 4px rgba(0, 0, 0, 0.1), 0 8px 8px rgba(0, 0, 0, 0.1), 0 16px 16px rgba(0, 0, 0, 0.1);
}
@media (min-width: 600px) {
  .card {
    height: 350px;
  }
}
.card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110%;
  background-size: cover;
  background-position: 0 0;
  transition: transform calc(var(--d) * 1.5) var(--e);
  pointer-events: none;
}
.card:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  pointer-events: none;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.009) 11.7%, rgba(0, 0, 0, 0.034) 22.1%, rgba(0, 0, 0, 0.072) 31.2%, rgba(0, 0, 0, 0.123) 39.4%, rgba(0, 0, 0, 0.182) 46.6%, rgba(0, 0, 0, 0.249) 53.1%, rgba(0, 0, 0, 0.32) 58.9%, rgba(0, 0, 0, 0.394) 64.3%, rgba(0, 0, 0, 0.468) 69.3%, rgba(0, 0, 0, 0.54) 74.1%, rgba(0, 0, 0, 0.607) 78.8%, rgba(0, 0, 0, 0.668) 83.6%, rgba(0, 0, 0, 0.721) 88.7%, rgba(0, 0, 0, 0.762) 94.1%, rgba(0, 0, 0, 0.79) 100%);
  transform: translateY(-50%);
  transition: transform calc(var(--d) * 2) var(--e);
}
.card:nth-child(1):before {
  background-image: url(./img/aguaderosa.png);
}
.card:nth-child(2):before {
  background-image: url(./img/jabon\ de\ cuerpo.png);
}
.card:nth-child(3):before {
  background-image: url(./img/jabon\ que\ embellece.png);
}
.card:nth-child(4):before {
  background-image: url(./img/jabondemantequilla.png);
}
.card:nth-child(5):before {
  background-image: url(./img/tratamiento.png);
}
.card:nth-child(6):before {
  background-image: url(./img/romero\ im.png);
}
.card:nth-child(7):before {
  background-image: url(./img/productos.png);
}
.card:nth-child(8):before {
  background-image: url(./img/capilar.png);
}
.card:nth-child(9):before {
  background-image: url(./img/jabon\ liquido.png);
}
.card:nth-child(10):before {
  background-image: url(./img/jabon\ avena.png);
}
.card:nth-child(11):before {
  background-image: url(./img/perfume.png);
}
.content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 1rem;
  transition: transform var(--d) var(--e);
  z-index: 1;
}
.content > * + * {
  margin-top: 1rem;
}

.title {
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.2;
}

.copy {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.35;
}

.btn {
  cursor: pointer;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.65rem;
  font-weight: bold;
  letter-spacing: 0.025rem;
  text-transform: uppercase;
  color: white;
  background-color: black;
  border: none;
}
.btn:hover {
  background-color: #0d0d0d;
}
.btn:focus {
  outline: 1px dashed yellow;
  outline-offset: 3px;
}

@media (hover: hover) and (min-width: 600px) {
  .card:after {
    transform: translateY(0);
  }

  .content {
    transform: translateY(calc(100% - 4.5rem));
  }
  .content > *:not(.title) {
    opacity: 0;
    transform: translateY(1rem);
    transition: transform var(--d) var(--e), opacity var(--d) var(--e);
  }

  .card:hover,
.card:focus-within {
    align-items: center;
  }
  .card:hover:before,
.card:focus-within:before {
    transform: translateY(-4%);
  }
  .card:hover:after,
.card:focus-within:after {
    transform: translateY(-50%);
  }
  .card:hover .content,
.card:focus-within .content {
    transform: translateY(0);
  }
  .card:hover .content > *:not(.title),
.card:focus-within .content > *:not(.title) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--d) / 8);
  }

  .card:focus-within:before, .card:focus-within:after,
.card:focus-within .content,
.card:focus-within .content > *:not(.title) {
    transition-duration: 0s;
  }
}

.somos{
    font-family: 'Dancing Script', cursive;
  font-size: 20px;
  font-weight: normal;
  color: #333;
  }

.productos{
  font-family: 'Dancing Script', cursive;
  font-size: 20px;
  text-align: center;
  color: #333;
  margin: 25px;
}

/* SECCIÓN CONTACTO */
#contacto {
  padding: 80px 20px;
  background: linear-gradient(135deg, #8b5e3c, #d9c2a3); /* degradado cafésito */
  text-align: center;
  color: #fff;
}

#contacto h2 {
  font-size: 2.5em;
  margin-bottom: 50px;
  color: #fff8f0;
  font-weight: bold;
}

.contacto-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

/* Información */
.contacto-info {
  font-size: 1.1em;
  text-align: left;
}

.contacto-info p {
  margin: 15px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contacto-info .material-symbols-outlined {
  font-size: 1.5em;
  color: #ffe4c4;
}

/* Redes sociales */
.redes-sociales {
  margin-top: 25px;
  text-align: center;
}

.redes-sociales a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 10px;
  border-radius: 50%;
  background: #6d4c41; /* café */
  color: #fff;
  font-size: 24px; /* tamaño de ícono */
  transition: transform 0.3s, background 0.3s;
  text-decoration: none;
}

.redes-sociales a:hover {
  transform: scale(1.2);
}

.redes-sociales .fa-facebook-f:hover {
  background: #1877f2; /* Azul Facebook */
}

.redes-sociales .fa-instagram:hover {
  background: #e4405f; /* Rosa Instagram */
}

.redes-sociales .fa-whatsapp:hover {
  background: #25d366; /* Verde WhatsApp */
}


/* Formulario */
.contacto-form {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  text-align: left;
}

.contacto-form input,
.contacto-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: none;
  border-radius: 8px;
  outline: none;
  font-size: 1em;
}

.contacto-form textarea {
  min-height: 120px;
  resize: none;
}

.contacto-form button {
  width: 100%;
  padding: 14px;
  background: #ffe4c4;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.contacto-form button:hover {
  background:   #8b5e3c;
}
#contacto {
  padding: 20px 5px; /* 🔹 antes estaba más alto, ahora menos */
} 

.somos{
  text-align: center;
  margin: 15px;
  font-size: 25px;
}

/* Texto más grande en la sección de servicios (lado del video) */
#Servicios h4 {
  font-size: 2rem;   /* más grande que el h4 normal */
  font-weight: bold;
  color: #333;
}

#Servicios p {
  font-size: 1.5rem; /* agranda también el párrafo */
  line-height: 1.6;
}

#Servicios h2 {
  font-size: 2rem;   /* más grande que el h4 normal */
  font-weight: bold;
  color: #333;
}