/* ============================================================
   LANDING PAGE — Estilos específicos
   ============================================================ */

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28, 16, 8, 0.35) 0%,
    rgba(28, 16, 8, 0.5) 50%,
    rgba(28, 16, 8, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--white);
  padding: 20px;
  max-width: 700px;
  animation: fadeInUp 1.2s ease;
}

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

.hero-logo-big img {
  height: 200px;
  width: auto;
  margin: 0 auto 24px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
  object-fit: contain;
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-style: italic;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-sub {
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  color: rgba(255,250,245,0.8);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.hero-cta {
  display: inline-block;
  margin-top: 8px;
  animation: fadeInUp 1.2s ease 0.4s both;
}

/* ─── Scroll hint ────────────────────────────────────────── */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
  color: rgba(255,250,245,0.7);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255,250,245,0.6);
  border-bottom: 2px solid rgba(255,250,245,0.6);
  transform: rotate(45deg);
  margin: 6px auto 0;
  animation: bounce 1.6s infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.6; }
  50%       { transform: rotate(45deg) translate(4px, 4px); opacity: 1; }
}

/* ─── Sección Productos ──────────────────────────────────── */
.productos-section {
  position: relative;
  padding: 100px 40px;
  min-height: 100vh;
  overflow: hidden;
}

.tela-background {
  position: absolute;
  inset: 0;
  background-image: url('../assets/telas/tela_fondo.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.25;
  z-index: 0;
}

.productos-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

/* ─── Grid de productos ──────────────────────────────────── */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 20px;
}

@media (max-width: 900px) {
  .productos-grid { grid-template-columns: 1fr; max-width: 440px; margin: 20px auto 0; }
}

/* ─── Tarjeta de producto ────────────────────────────────── */
.producto-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow);
}

.producto-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.producto-card.featured {
  transform: scale(1.04);
  box-shadow: 0 12px 40px rgba(123,45,66,0.25);
}
.producto-card.featured:hover {
  transform: scale(1.04) translateY(-8px);
}

.producto-card-inner {
  display: block;
  background: var(--white);
  height: 100%;
}

.producto-imagen-wrapper {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream-dark);
}

.producto-imagen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.producto-card:hover .producto-imagen {
  transform: scale(1.06);
}

.producto-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(123, 45, 66, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.producto-card:hover .producto-hover-overlay { opacity: 1; }

.producto-hover-text {
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-style: italic;
  letter-spacing: 0.05em;
}

.producto-info {
  padding: 28px 24px 32px;
  text-align: center;
}

.producto-info h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.ornament-small {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 6px;
  margin-bottom: 12px;
}

.producto-info p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.producto-cta {
  display: inline-block;
  color: var(--burgundy);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
  transition: all var(--transition);
}

.producto-card:hover .producto-cta {
  color: var(--gold-dark);
  border-bottom-color: var(--burgundy);
}

/* ─── Valores ────────────────────────────────────────────── */
.valores-section {
  background: var(--burgundy);
  padding: 80px 40px;
}

.valores-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

@media (max-width: 768px) {
  .valores-container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .valores-container { grid-template-columns: 1fr; }
}

.valor-item { color: var(--white); }

.valor-icono {
  font-size: 1.8rem;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.valor-item h4 {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.valor-item p {
  color: rgba(255,250,245,0.75);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ─── Footer ─────────────────────────────────────────────── */
/* ─── Sección Quiénes Somos ─────────────────────────────── */
.quienes-section {
  background: var(--white);
  padding: 90px 40px;
}

.quienes-container {
  max-width: 780px;
  margin: 0 auto;
}

.quienes-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--burgundy);
  text-align: center;
  font-weight: 600;
  margin-bottom: 40px;
  line-height: 1.3;
}

.quienes-quote {
  border-left: 3px solid var(--gold);
  margin: 0 0 40px 0;
  padding: 20px 28px;
  background: var(--cream);
  border-radius: 0 8px 8px 0;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  color: var(--text);
  line-height: 1.7;
}

.quienes-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--burgundy);
  font-weight: 600;
  margin: 44px 0 16px;
}

.quienes-p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 20px;
}

.quienes-final {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--burgundy);
  margin-top: 44px;
  font-family: 'Cormorant Garamond', serif;
}

/* ─── Sección Contacto ───────────────────────────────────── */
.contacto-section {
  background: var(--cream);
  padding: 80px 40px;
  text-align: center;
}

.contacto-container {
  max-width: 700px;
  margin: 0 auto;
}

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

.contacto-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  border: 1.5px solid var(--cream-dark);
  border-radius: 12px;
  padding: 24px 32px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.25s ease;
  min-width: 240px;
}

.contacto-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.contacto-icono {
  width: 48px;
  height: 48px;
  color: var(--burgundy);
  flex-shrink: 0;
}

.contacto-icono svg {
  width: 100%;
  height: 100%;
}

.contacto-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.contacto-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
}

.contacto-valor {
  font-size: 1rem;
  font-weight: 600;
  color: var(--burgundy);
}

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  padding: 40px 40px 28px;
  text-align: center;
}

.footer-logo {
  height: 70px;
  width: auto;
  margin: 0 auto 20px;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: rgba(255,250,245,0.7);
  font-size: 1.1rem;
  margin: 8px 0 24px;
}

.footer-links {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-links a {
  color: var(--gold-light);
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--white); }
.footer-links span { color: rgba(255,250,245,0.3); }

.footer-copy {
  color: rgba(255,250,245,0.4);
  font-size: 0.8rem;
}
.footer-legal {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
}
.footer-legal a {
  color: rgba(255,250,245,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--gold, #C9A96E); }
.footer-legal span { color: rgba(255,250,245,0.25); }

/* ─── Placeholder cuando no hay imagen ──────────────────── */
.producto-imagen[src*="portada"] {
  /* Si la imagen no carga, mostramos un fondo elegante */
}

.imagen-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream-dark), var(--cream));
  color: var(--gold);
  font-size: 3rem;
}
.imagen-placeholder span {
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 8px;
}

/* ─── Responsive Landing ─────────────────────────────────── */
@media (max-width: 768px) {
  .hero-logo-big img { height: 140px; }
  .hero-tagline { font-size: clamp(1.4rem, 6vw, 2rem); }
  .hero-sub { font-size: 0.8rem; letter-spacing: 0.12em; }

  .productos-section { padding: 70px 20px 60px; }
  .section-subtitle { font-size: 1rem; margin-bottom: 28px; }

  .producto-card.featured { transform: none; }
  .producto-card.featured:hover { transform: translateY(-4px); }
  .producto-info { padding: 20px 16px 24px; }
  .producto-info h3 { font-size: 1.3rem; }

  .valores-section { padding: 56px 20px; }

  .site-footer { padding: 40px 20px 28px; }
  .footer-logo { height: 50px; }
}

@media (max-width: 480px) {
  .hero-content { padding: 16px; }
  .hero-logo-big img { height: 110px; margin-bottom: 16px; }
  .hero-cta { padding: 12px 28px; font-size: 0.85rem; }
  .hero-scroll-hint { display: none; }

  .productos-section { padding: 50px 12px 40px; }
  .section-title { font-size: 1.6rem; }

  .footer-links { flex-direction: column; gap: 6px; }
  .footer-links span { display: none; }
}
