/* =====================================================
   landing.css — Estilos exclusivos de la landing page
   Complementa velada.css — cargar siempre los dos
   ===================================================== */

/* ── BODY OVERRIDE (landing tiene fondo claro) ── */
body { color: var(--text); }

/* ── NAV (landing: fixed + transparente al inicio) ── */
nav {
  position: fixed;
  padding: 1.1rem 2.5rem;
  background: transparent;
}
nav.scrolled {
  background: rgba(44,26,14,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 0.5px solid rgba(245,200,122,0.1);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 8rem 2rem 5rem;
  overflow: hidden;
}
.hero-photo {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('img/photo-1557918630-5753f944dc6c.avif');
  background-size: cover; background-position: center 40%;
  filter: brightness(0.45) saturate(0.8);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(44,26,14,0.3) 0%,
    rgba(44,26,14,0.1) 30%,
    rgba(44,26,14,0.15) 60%,
    rgba(44,26,14,0.85) 100%
  );
}
.hero-grade {
  position: absolute; inset: 0; z-index: 2;
  background: rgba(193,122,74,0.08);
  mix-blend-mode: multiply;
}
.hero-content { position: relative; z-index: 3; max-width: 780px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 16px;
  background: rgba(245,200,122,0.12);
  border: 0.5px solid rgba(245,200,122,0.35);
  border-radius: 99px;
  font-size: 12px; color: var(--dorado); letter-spacing: 0.06em;
  margin-bottom: 1.75rem;
  animation: fadeUp 0.9s ease both;
}
.badge-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--dorado); }

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(54px, 9vw, 100px); font-weight: 300;
  line-height: 1.0; color: var(--lienzo);
  letter-spacing: -0.01em; margin-bottom: 1.25rem;
  animation: fadeUp 0.9s 0.1s ease both;
}
.hero h1 em { font-style: italic; color: var(--dorado); }

.hero-sub {
  font-size: clamp(16px, 2.2vw, 20px);
  color: rgba(245,237,224,0.75);
  max-width: 520px; margin: 0 auto 2.5rem;
  line-height: 1.65; font-weight: 300;
  animation: fadeUp 0.9s 0.2s ease both;
}
.hero-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 0.9s 0.3s ease both;
}
.btn-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 34px; background: var(--terra); color: var(--lienzo);
  border-radius: 99px; font-size: 15px; font-weight: 500;
  text-decoration: none; transition: all 0.2s; border: none; cursor: pointer;
}
.btn-hero:hover { background: #d4895a; transform: translateY(-2px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: rgba(255,255,255,0.08);
  color: rgba(245,237,224,0.85); border-radius: 99px; font-size: 15px;
  text-decoration: none; transition: all 0.2s;
  border: 1px solid rgba(245,237,224,0.2);
  backdrop-filter: blur(8px);
}
.btn-outline:hover { background: rgba(255,255,255,0.14); border-color: rgba(245,200,122,0.4); }

.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  z-index: 3; animation: fadeUp 0.9s 0.6s ease both;
}
.hero-scroll span { font-size: 10px; color: rgba(245,237,224,0.4); letter-spacing: 0.1em; text-transform: uppercase; }
.scroll-bar { width: 1px; height: 36px; background: rgba(245,200,122,0.3); animation: pulse 2s infinite; }

/* ── EMOTION STRIP ── */
.emotion {
  background: var(--noche);
  padding: 5rem 2rem; text-align: center; position: relative; overflow: hidden;
}
.emotion::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(245,200,122,0.3), transparent);
}
.emotion-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 5vw, 52px); font-weight: 300; font-style: italic;
  color: var(--lienzo); max-width: 800px; margin: 0 auto; line-height: 1.35;
}
.emotion-quote em { color: var(--dorado); font-style: normal; }

/* ── PHOTO GRID ── */
.photo-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 380px 380px;
  grid-template-areas: "left top" "left bottom";
  gap: 3px; background: var(--noche);
}
.photo-cell { position: relative; overflow: hidden; background: #1a0e06; min-height: 0; }
.photo-cell img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease; filter: brightness(0.75) saturate(0.85);
}
.photo-cell:hover img { transform: scale(1.04); filter: brightness(0.85) saturate(0.9); }
.photo-cell-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(44,26,14,0.8) 0%, transparent 50%);
}
.photo-cell-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem 1.75rem; }
.photo-cell-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px; font-weight: 300; color: rgba(245,200,122,0.2); line-height: 1; margin-bottom: 0.25rem;
}
.photo-cell-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; color: var(--lienzo); }
.photo-cell-desc { font-size: 13px; color: rgba(245,237,224,0.6); margin-top: 4px; font-weight: 300; }
.photo-cell-large { grid-area: left; }
.photo-cell-top    { grid-area: top; }
.photo-cell-bottom { grid-area: bottom; }

/* ── FEATURES ── */
.features { background: #1e0f05; padding: 8rem 2rem; position: relative; }
.features::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(245,200,122,0.2), transparent);
}
.features-inner { max-width: 1080px; margin: 0 auto; }
.eyebrow { font-size: 11px; letter-spacing: 0.12em; color: var(--terra); text-transform: uppercase; font-weight: 500; margin-bottom: 1rem; }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 5vw, 54px); font-weight: 300; line-height: 1.1; margin-bottom: 1rem;
}
.section-title.light { color: var(--lienzo); }
.section-title em { font-style: italic; color: var(--dorado); }
.section-sub { color: rgba(245,237,224,0.5); font-size: 16px; max-width: 480px; line-height: 1.65; font-weight: 300; margin-bottom: 4rem; }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(245,200,122,0.06); border: 0.5px solid rgba(245,200,122,0.06); border-radius: 20px; overflow: hidden; }
.feat-item { padding: 2rem 1.75rem; background: #1e0f05; transition: background 0.2s; }
.feat-item:hover { background: rgba(255,255,255,0.03); }
.feat-icon-wrap { width: 42px; height: 42px; border-radius: 12px; background: rgba(193,122,74,0.12); display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 1.1rem; }
.feat-item h3 { font-family: 'Cormorant Garamond', serif; font-size: 21px; font-weight: 400; color: var(--lienzo); margin-bottom: 0.4rem; }
.feat-item p { font-size: 13px; color: rgba(245,237,224,0.5); line-height: 1.6; font-weight: 300; }

/* ── TESTIMONIAL CON FOTO ── */
.testimonial {
  position: relative; overflow: hidden;
  min-height: 500px;
  display: flex; align-items: center; justify-content: center; padding: 8rem 2rem;
}
.testimonial-photo {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('img/photo-1529543544282-ea669407fca3.jpg');
  background-size: cover; background-position: center;
  filter: brightness(0.35) saturate(0.7);
}
.testimonial-overlay { position: absolute; inset: 0; z-index: 1; background: rgba(44,26,14,0.5); }
.testimonial-content { position: relative; z-index: 2; text-align: center; max-width: 680px; }
.quote-mark { font-family: 'Cormorant Garamond', serif; font-size: 120px; color: rgba(245,200,122,0.15); line-height: 0.5; display: block; margin-bottom: 1.5rem; }
.quote-text { font-family: 'Cormorant Garamond', serif; font-size: clamp(22px, 3.5vw, 36px); font-weight: 300; font-style: italic; color: var(--lienzo); line-height: 1.4; margin-bottom: 1.5rem; }
.quote-author { font-size: 12px; color: rgba(245,200,122,0.6); letter-spacing: 0.1em; text-transform: uppercase; }

/* ── APP MOCKUP ── */
.mockup-section {
  background: var(--crema); padding: 8rem 2rem;
  display: flex; align-items: center; justify-content: center; gap: 6rem; flex-wrap: wrap;
}
.mockup-text { max-width: 420px; }
.mockup-text .eyebrow { color: var(--terra); }
.mockup-text .section-title { color: var(--noche); }
.mockup-text .section-title em { color: var(--terra); }
.mockup-text .section-sub { color: var(--textsub); }
.mockup-features { display: flex; flex-direction: column; gap: 1rem; }
.mockup-feat { display: flex; align-items: flex-start; gap: 12px; }
.mockup-feat-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--terra); margin-top: 6px; flex-shrink: 0; }
.mockup-feat p { font-size: 14px; color: var(--textsub); line-height: 1.5; font-weight: 300; }
.mockup-feat strong { color: var(--noche); font-weight: 500; }

.phone-wrap {
  width: 280px; flex-shrink: 0;
  background: var(--noche); border-radius: 40px;
  border: 6px solid #1a0e06; overflow: hidden;
  box-shadow: 0 40px 80px rgba(44,26,14,0.3), 0 0 0 1px rgba(193,122,74,0.1);
}
.phone-notch { width: 90px; height: 26px; background: #1a0e06; margin: 0 auto; border-radius: 0 0 16px 16px; }
.phone-screen { padding: 14px 14px 20px; background: var(--lienzo); }
.ph-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ph-logo { font-family: 'Cormorant Garamond', serif; font-size: 17px; color: var(--noche); }
.ph-icon { width: 26px; height: 26px; border-radius: 7px; background: var(--crema); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.ph-card { background: white; border-radius: 12px; overflow: hidden; margin-bottom: 8px; border: 0.5px solid rgba(193,122,74,0.12); }
.ph-card-img { height: 72px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.ph-card-body { padding: 8px 10px; }
.ph-card-name { font-family: 'Cormorant Garamond', serif; font-size: 13px; color: var(--noche); }
.ph-card-meta { font-size: 9px; color: var(--muted); letter-spacing: 0.04em; margin-top: 1px; }
.ph-card-price { font-size: 10px; color: var(--terra); font-weight: 500; margin-top: 3px; }
.ph-connector { display: flex; align-items: center; gap: 6px; padding: 2px 6px; }
.ph-connector-line { width: 1.5px; height: 12px; background: rgba(193,122,74,0.2); margin-left: 4px; }
.ph-connector-label { font-size: 8px; color: var(--muted); }
.ph-btn { width: 100%; padding: 10px; background: var(--terra); color: var(--lienzo); border-radius: 10px; font-size: 11px; font-weight: 500; text-align: center; margin-top: 4px; font-family: 'DM Sans', sans-serif; }

/* ── CTA FINAL CON FOTO ── */
.cta-final {
  position: relative; overflow: hidden;
  min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  padding: 8rem 2rem; text-align: center;
}
.cta-photo {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('img/photo-1712431878468-6943cdb90588.avif');
  background-size: cover; background-position: center;
  filter: brightness(0.4) saturate(0.75);
}
.cta-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(193,122,74,0.15), rgba(44,26,14,0.6));
}
.cta-content { position: relative; z-index: 2; max-width: 700px; }
.cta-content h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(40px, 6.5vw, 72px); font-weight: 300; color: var(--lienzo); line-height: 1.1; margin-bottom: 1rem; }
.cta-content h2 em { font-style: italic; color: var(--dorado); }
.cta-content p { font-size: 17px; color: rgba(245,237,224,0.7); margin-bottom: 2.5rem; font-weight: 300; }
.btn-white { display: inline-flex; align-items: center; gap: 8px; padding: 16px 38px; background: var(--lienzo); color: var(--terra); border-radius: 99px; font-size: 16px; font-weight: 500; text-decoration: none; transition: all 0.2s; }
.btn-white:hover { background: white; transform: translateY(-2px); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .photo-section { grid-template-columns: 1fr; grid-template-rows: 280px 280px 280px; grid-template-areas: "left" "top" "bottom"; }
  .photo-cell { height: 280px; }
  .feat-grid { grid-template-columns: 1fr; }
  .mockup-section { flex-direction: column; padding: 5rem 1.5rem; gap: 3rem; }
}
