@charset "UTF-8";
/* CSS Document */

/* ========== RESET BÁSICO ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100%;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #ae9c79;
  background-color: #354159;
}

/* ========== BLOQUE CABECERA ========== */
#cabecera {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  background: url("../images/foto-fondo.webp") no-repeat center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;  /* Cambiado para que el contenido empuje desde arriba */
  overflow: hidden;
}

#cabecera::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35%;                    /* Altura del degradado, ajustable */
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6) 0%,       /* Negro más intenso abajo */
    rgba(0, 0, 0, 0.3) 40%,      /* Se va suavizando */
    transparent 100%              /* Desaparece arriba */
  );
  pointer-events: none;           /* No interfiere con los clics */
  z-index: 0;
}

/* Capa de contenido */
.cabecera-contenido {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 58vh;  /* Esto empuja logo y botón más abajo */
  z-index: 1;	
}

/* Logo con fade in + subida desde abajo */
.logo {
  width: 567px;
  max-width: 85%;
  height: auto;	
  margin-bottom: 2.5rem;

  /* Animación: fade in + subir desde abajo */
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1.8s ease-out forwards;
}

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

/* Botón sin fondo, con marco */
.boton-cabecera {
  display: inline-block;
  padding: 0.8rem 2.5rem;
  border: 2px solid #ae9c79;
  color: #ae9c79;
  text-decoration: none;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.boton-cabecera:hover {
  background-color: #ae9c79;
  color: #354159;
}

/* Flecha abajo */
.flecha-abajo {
  position: absolute;
  padding-top: 58vh;	
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #ae9c79;
  cursor: pointer;
  z-index: 1; 

  /* Animación suave de rebote vertical */
  animation: rebote 2s ease-in-out infinite;
}

@keyframes rebote {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(12px);
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .logo {
    width: 70%;
  }

  .boton-cabecera {
    padding: 0.7rem 2rem;
    font-size: 1rem;
  }

  .flecha-abajo {
    font-size: 1.5rem;
    bottom: 20px;
  }
}

@media (max-width: 480px) {
  #cabecera {
    min-height: 500px;
  }

  .logo {
    width: 80%;
    margin-bottom: 1.5rem;
  }

  .boton-cabecera {
    padding: 0.6rem 1.8rem;
    font-size: 0.95rem;
  }

  .flecha-abajo {
    font-size: 1.3rem;
    bottom: 15px;
  }
}

/* ========== FONDO DIFERENTE EN MÓVIL ========== */
@media (max-width: 768px) {
  #cabecera {
    background-image: url("../images/foto-responsive3.jpg");
	background-position: 50% center;  
  }

  .cabecera-contenido {
    padding-top: 47vh;
  }

  .logo {
    width: 70%;
    margin-bottom: 2rem;
  }

  .boton-cabecera {
    padding: 0.7rem 2rem;
    font-size: 1rem;
  }

  .flecha-abajo {
    font-size: 1.5rem;
    bottom: 20px;
  }
}

@media (max-width: 480px) {
  #cabecera {
    min-height: 500px;
  }

  .cabecera-contenido {
    padding-top: 38vh;
  }

  .logo {
    width: 80%;
    margin-bottom: 1.8rem;
  }

  .boton-cabecera {
    padding: 0.6rem 1.8rem;
    font-size: 0.95rem;
  }

  .flecha-abajo {
    font-size: 1.3rem;
    bottom: 15px;
  }
}

/* ========== BLOQUE 2 ========== */
#bloque2 {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 150px 20px;
  background-color: #354159;
}

/* ========== SUB-BLOQUE 2.1: RECTÁNGULO DESTACADO ========== */

.rectangulo-destacado {
  position: relative;
  width: 100%;
  max-width: 1160px;
  height: 240px;
  background-color: #ae9c79;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 25px 40px 40px;
  overflow: visible;  /* Permite que la foto sobresalga */
  z-index: 1;
}

/* Texto lado izquierdo */
.rectangulo-texto h2 {
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: #354159;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.2;
  max-width: 700px;
  margin: 0;
}

/* Imagen lado derecho */
.rectangulo-imagen {
  position: relative;
  flex-shrink: 0;
  margin-left: 40px;
  z-index: 2;
}

.rectangulo-imagen img {
  display: block;
  width: 201px;
  height: 295px;
  object-fit: cover;
  transform: rotate(15deg);
  box-shadow: 8px 8px 30px rgba(0, 0, 0, 0.5);

  /* Animación de flotación suave */
  animation: flotar 3s ease-in-out infinite;
}

@keyframes flotar {
  0%, 100% {
    transform: rotate(15deg) translateY(0);
  }
  50% {
    transform: rotate(15deg) translateY(-8px);
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .rectangulo-destacado {
    padding: 50px 40px;
  }

  .rectangulo-texto h2 {
    font-size: 2.2rem;
    max-width: 400px;
  }

  .rectangulo-imagen img {
    width: 160px;
    height: 235px;
  }
}

@media (max-width: 768px) {
  .rectangulo-destacado {
    flex-direction: column;
    text-align: center;
    padding: 40px 30px;
    min-height: auto;
	margin-bottom: 150px;   
  }

  .rectangulo-texto h2 {
    font-size: 1.8rem;
    max-width: 100%;
    margin-bottom: 40px;
  }

  .rectangulo-imagen {
    margin-left: 0;
  }

  .rectangulo-imagen img {
    width: 140px;
    height: 205px;
    transform: rotate(10deg);
  }

  @keyframes flotar {
    0%, 100% {
      transform: rotate(10deg) translateY(0);
    }
    50% {
      transform: rotate(10deg) translateY(-6px);
    }
  }
}

@media (max-width: 480px) {
  #bloque2 {
    padding: 40px 15px;
  }

  .rectangulo-destacado {
    padding: 30px 20px;
  }

  .rectangulo-texto h2 {
    font-size: 1.2rem;
  }

  .rectangulo-imagen img {
    width: 201px;
    height: 298px;
  }
}


/* ========== ESPACIADORES ========== */
.espacio-160 {
  height: 160px;
}

.espacio-80 {
  height: 80px;
}

.espacio-60 {
  height: 60px;
}

/* ========== SUB-BLOQUE 2.2: IFRAME SHOPIFY ========== */
.iframe-shopify {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}

.iframe-shopify iframe {
  width: 100%;
  height: auto;
  min-height: 400px;
  border: none;
}

/* Placeholder provisional (borrar cuando ponga el iframe real) */
.iframe-shopify p {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
}

/* ========== SUB-BLOQUE 2.3: TEXTO CON LÍNEAS ========== */
.bloque-texto-lineas {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  text-align: center;
}

/* Contenedor de las líneas + H2 */
.linea-texto {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

/* Las líneas a los lados */
.linea {
  flex: 1;
  height: 1px;
  background-color: #ae9c79;
}

/* Título H2 */
.linea-texto h2 {
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: #ae9c79;
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
  margin: 0;
  flex-shrink: 0;
}

/* Párrafo secundario */
.bloque-texto-lineas p {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.1rem;
  color: #ae9c79;
  margin: 0;
  font-style: italic;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .espacio-160 {
  height: 160px;
}
	
  .espacio-80 {
    height: 80px;
  }

  .espacio-60 {
    height: 40px;
  }

  .linea-texto {
    gap: 12px;
  }

  .linea-texto h2 {
    font-size: 1.5rem;
    white-space: normal;  /* Permite que el texto haga salto de línea si es largo */
    text-align: center;
  }

  .bloque-texto-lineas p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .linea-texto {
    gap: 8px;
  }

  .linea-texto h2 {
    font-size: 1.2rem;
    letter-spacing: 1px;
  }

  .bloque-texto-lineas p {
    font-size: 0.85rem;
  }
}

/* ========== SUB-BLOQUE 2.4: FOTO CENTRADA + BOTONES ========== */
.bloque-foto-botones {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Foto centrada */
.foto-centrada {
  display: block;
  max-width: 100%;
  height: auto;
  margin-bottom: 40px;
}

/* Botón 1: Calado (outline, sin fondo) */
.boton-calado {
  display: inline-block;
  padding: 12px 50px;
  border: 2px solid #ae9c79;
  border-radius: 30px;
  color: #ae9c79;
  background: transparent;
  text-decoration: none;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.boton-calado:hover {
  background-color: #ae9c79;
  color: #354159;
}

/* Separador línea (ocupa todo el ancho del bloque) */
.separador-linea {
  width: 100%;
  max-width: 1160px;
  height: 1px;
  background-color: #ae9c79;
  margin: 30px 0;
}

/* Botón 2: Relleno */
.boton-relleno {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid #ae9c79;
  border-radius: 30px;
  color: #354159;
  background-color: #ae9c79;
  text-decoration: none;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: 1.0rem;
  font-weight: 400;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.boton-relleno:hover {
  background-color: transparent;
  color: #ae9c79;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .foto-centrada {
    margin-bottom: 30px;
  }

  .boton-calado,
  .btn-media-relleno {
    padding: 12px 40px;
    font-size: 1rem;
  }

  .separador-linea {
    margin: 24px 0;
  }
}

@media (max-width: 480px) {
  .foto-centrada {
    margin-bottom: 24px;
  }

  .boton-calado,
  .boton-relleno {
    padding: 10px 30px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
  }

  .separador-linea {
    margin: 20px 0;
  }
}


/* ========== BLOQUE 3 ========== */

/* Contenedor externo a todo ancho */
.bloque3-wrapper {
  width: 100%;
  background-color: #2b313d;
}

/* Bloque interno centrado */
#bloque3 {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px 80px;
  background-color: transparent;  /* El fondo lo pone el wrapper */
}

#bloque3 {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px 80px;
  background-color: #2b313d;
}

/* Título H2 */
.titulo-bloque3 h2 {
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: #ae9c79;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

/* ========== FILA MEDIA: Foto + botón | Video ========== */
.fila-media {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}

/* Columna izquierda: foto + botón */
.fila-media-izquierda {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 200px;
}

.foto-cuadrada {
  display: block;
  width: 250px;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.btn-media {
  display: inline-block;
  padding: 10px 30px;
  border: 2px solid #ae9c79;
  border-radius: 30px;
  color: #ae9c79;
  background: transparent;
  text-decoration: none;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.btn-media:hover {
  background-color: #ae9c79;
  color: #354159;
}

/* Columna derecha: video */
.fila-media-derecha {
  flex: 1;
  min-width: 0;
}

.contenedor-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* Relación 16:9 */
  height: 0;
  overflow: hidden;
}

.contenedor-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .titulo-bloque3 h2 {
    font-size: 1.6rem;
  }
  .btn-media-calado {
  padding: 8px 24px;
  font-size: 0.85rem;
}	

  .fila-media {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .fila-media-izquierda {
    width: 100%;
    max-width: 200px;
  }

  .fila-media-derecha {
    width: 100%;
  }

  .btn-media {
    padding: 8px 24px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .titulo-bloque3 h2 {
    font-size: 1.3rem;
    letter-spacing: 1px;
  }

  .foto-cuadrada {
    width: 160px;
    height: 160px;
  }

  .fila-media-izquierda {
    max-width: 160px;
  }
}

/* ========== FOOTER ========== */
#footer {
  width: 100%;
  background-color: #354159;
}

/* Banda superior */
.banda-superior {
  width: 100%;
  height: 1px;
  background-color: #ae9c79;
}

/* Footer principal */
.footer-principal {
  width: 100%;
  background-color: #2b313d;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* ========== LÍNEA 1: REDES SOCIALES ========== */
.footer-redes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.icono-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid #ae9c79;
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.icono-social svg {
  transition: fill 0.3s ease;
}

.icono-social:hover {
  background-color: #ae9c79;
  transform: scale(1.1);
}

.icono-social:hover svg {
  fill: #2b313d;
}

/* ========== LÍNEA 2: LEGALES ========== */
.footer-legales {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  color: #ae9c79;
}

.footer-legales a {
  color: #ae9c79;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-legales a:hover {
  opacity: 0.7;
}

.separador-legal {
  color: #ae9c79;
  margin: 0 6px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .footer-principal {
    padding: 30px 20px;
    gap: 22px;
  }

  .footer-redes {
    gap: 24px;
  }

  .icono-social {
    width: 40px;
    height: 40px;
  }

  .icono-social svg {
    width: 20px;
    height: 20px;
  }

  .footer-legales {
    font-size: 0.78rem;
    gap: 2px;
  }

  .separador-legal {
    margin: 0 4px;
  }
}

@media (max-width: 480px) {
  .footer-principal {
    padding: 24px 15px;
    gap: 18px;
  }

  .footer-redes {
    gap: 20px;
  }

  .icono-social {
    width: 36px;
    height: 36px;
  }

  .icono-social svg {
    width: 18px;
    height: 18px;
  }

  .footer-legales {
    font-size: 0.7rem;
    text-align: center;
    line-height: 1.8;
  }
}

/* ========== GRID PRODUCTOS SHOPIFY ========== */
.productos-shopify-grid {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Cada producto Shopify */
.productos-shopify-grid > div {
  flex: 0 1 280px;
  max-width: 280px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .productos-shopify-grid {
    gap: 16px;
  }

  .productos-shopify-grid > div {
    flex: 0 1 260px;
    max-width: 260px;
  }
}

@media (max-width: 480px) {
  .productos-shopify-grid {
    gap: 12px;
  }

  .productos-shopify-grid > div {
    flex: 0 1 100%;
    max-width: 320px;
  }
}

/* Botón relleno del Bloque 3 */
.btn-media-relleno {
  display: inline-block;
  padding: 10px 30px;
  border: 2px solid #ae9c79;
  border-radius: 30px;
  color: #2b313d;
  background-color: #ae9c79;
  text-decoration: none;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 12px;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.btn-media-relleno:hover {
  background-color: transparent;
  color: #ae9c79;
}

html {
  scroll-behavior: smooth;
}