/* estudio-dedicado.css */

.dedicacion-hero {
  padding: 140px 0 80px;
  background: 
    radial-gradient(ellipse at 50% 0%, rgba(201,151,58,0.15) 0%, transparent 70%),
    linear-gradient(180deg, #04091a 0%, #060e1c 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dedicacion-hero-heb {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  background: var(--gold-gradient, linear-gradient(135deg, #f5d485, #c9973a));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.dedicacion-hero-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 1.5rem;
}

.dedicacion-hero-title em {
  color: var(--gold-light, #f5d485);
  font-style: normal;
}

.dedicacion-hero-sub {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.dedicacion-main {
  padding: 80px 0;
  background: #060e1c;
}

.dedicacion-layout {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 60px;
  align-items: start;
}

.dedicacion-form-panel {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(201,151,58,0.2);
  border-radius: 24px;
  padding: 40px;
}

.dedicacion-form-header {
  margin-bottom: 40px;
  text-align: start;
}

.dedicacion-form-header h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  color: var(--gold-light, #f5d485);
  margin-bottom: 0.5rem;
}

.dedicacion-form-header p {
  color: rgba(255,255,255,0.5);
}

.dedicacion-preview-panel {
  position: sticky;
  top: 120px;
}

.preview-sticky {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,151,58,0.25);
  border-radius: 24px;
  padding: 30px;
  text-align: center;
}

.preview-header {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  color: var(--gold-main, #c9973a);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.poster-container {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.poster-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  pointer-events: none;
}

.poster-text-top {
  font-family: 'Assistant', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.poster-text-name {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #f5d485;
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.8);
  text-transform: uppercase;
}

.poster-text-date {
  font-family: 'Assistant', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 30px;
}

.poster-text-footer {
  position: absolute;
  bottom: 40px;
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  color: rgba(201,151,58,0.6);
  letter-spacing: 0.3em;
}

.preview-hint {
  margin-top: 20px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

@media (max-width: 1024px) {
  .dedicacion-layout {
    grid-template-columns: 1fr;
  }
  
  .dedicacion-preview-panel {
    order: -1;
    position: static;
  }
  
  .poster-container {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ── LIGHT MODE OVERRIDES ── */
body.light-mode .dedicacion-hero {
  background: 
    radial-gradient(ellipse at 50% 0%, rgba(201, 151, 58, 0.2) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 86c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm66-3c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm-46-45c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm54 0c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM57 7c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm-8 48c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM25 34c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm23 40c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-8-54c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm35 88c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM9 43c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm26 46c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm44-20c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm25-45c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM59 61c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm23 21c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM33 28c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm44 67c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-36-30c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm10-17c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm66-46c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-9 7c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm43 79c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM71 95c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM40 54c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm33-2c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM11 68c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm76-47c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM7 1c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm1 44c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm92 33c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM15 71c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm7-71c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm88 0c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM9 89c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM4 62c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm31 27c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm56 2c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm12-2c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-75-62c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm13 6c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm22-4c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-1-8c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-36 8c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm24 70c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm15 8c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm15 0c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-60-59c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm13 88c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm56-20c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm22-3c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM28 78c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm0-30c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM23 11c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm33 3c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM50 0c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-1 46c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-15 16c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm59 19c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM76 4c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM5 42c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-2 0c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm18 27c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm76 28c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-51-51c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-9 46c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm66 18c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm5-41c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM42 60c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-3-58c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1z' fill='%23c9973a' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #fdf8e6 0%, #e8d0a0 40%, #c5a05e 100%);
}

body.light-mode .dedicacion-hero-heb {
  background: linear-gradient(135deg, #8a6d3b 0%, #b08d48 50%, #7a581a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-mode .dedicacion-hero-title {
  color: #3d2605;
  text-shadow: 0 4px 15px rgba(61, 38, 5, 0.2);
}

body.light-mode .dedicacion-hero-sub {
  color: #433422;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(255,255,255,0.4);
}

body.light-mode .dedicacion-main {
  background: radial-gradient(circle at 50% 50%, #fdfbf7 0%, #e8dcc4 100%);
  position: relative;
}

body.light-mode .dedicacion-form-panel {
  background: rgba(255, 253, 250, 0.95);
  border: 2px solid #d4bc8d;
  box-shadow: 0 30px 70px rgba(67, 52, 34, 0.12);
}

body.light-mode .dedicacion-form-header h3 {
  color: #8a6d3b;
  font-weight: 800;
}

body.light-mode .dedicacion-form-header p {
  color: #2a1f0d;
  font-weight: 600;
}

body.light-mode .preview-sticky {
  background: rgba(255, 255, 255, 0.98);
  border: 2px solid #d4bc8d;
  box-shadow: 0 20px 60px rgba(138, 109, 59, 0.15);
}

body.light-mode .preview-header {
  color: #8a6d3b;
  font-weight: 800;
}

body.light-mode .preview-hint {
  color: #8a7a68;
}

body.light-mode .poster-container {
  box-shadow: 0 30px 80px rgba(138, 109, 59, 0.25);
  border: 3px solid #d4bc8d;
  background: #fff;
}

/* ── Reveal Animations ── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}


