/* =====================================================
   velada.css — Estilos globales del proyecto Velada
   veladapp.com
   ===================================================== */

/* ── GOOGLE FONTS (también linkear en el HTML) ── */
/* https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap */

/* ── VARIABLES ── */
:root {
  --terra:   #C17A4A;
  --noche:   #2C1A0E;
  --madera:  #7A4A2A;
  --dorado:  #F5C87A;
  --crema:   #F5EDE0;
  --lienzo:  #FDF8F2;
  --muted:   #B4A99A;
  --text:    #3D2212;
  --textsub: #7A5A46;
  --border:  rgba(193,122,74,0.15);
}

/* ── RESET ── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--noche);
  color: var(--lienzo);
  overflow-x: hidden;
}

/* ── NAVEGACION PRINCIPAL (landing) ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 2.5rem;
  transition: background 0.4s, backdrop-filter 0.4s;
}
nav.scrolled {
  background: rgba(44,26,14,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 0.5px solid rgba(245,200,122,0.1);
}

/* ── NAVEGACION PÁGINAS INTERNAS ── */
nav.nav-inner {
  position: sticky;
  background: rgba(44,26,14,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 0.5px solid rgba(245,200,122,0.1);
}

/* ── ELEMENTOS NAV COMPARTIDOS ── */
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-icon {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--terra);
  display: flex; align-items: center; justify-content: center;
}
.nav-icon svg { width: 16px; height: 16px; }
.nav-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 500;
  color: var(--lienzo); letter-spacing: 0.04em;
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 13px; color: rgba(245,237,224,0.65);
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--dorado); }
.nav-cta {
  padding: 9px 22px; background: var(--terra);
  color: var(--lienzo); border-radius: 99px;
  font-size: 13px; font-weight: 500;
  text-decoration: none; transition: all 0.2s;
}
.nav-cta:hover { background: #d4895a; }
.nav-back {
  font-size: 13px; color: rgba(245,237,224,0.5);
  text-decoration: none;
  display: flex; align-items: center; gap: 6px;
  transition: color 0.2s;
}
.nav-back:hover { color: var(--dorado); }

/* ── PAGE HERO (páginas internas) ── */
.page-hero {
  padding: 5rem 2rem 3rem;
  text-align: center;
  border-bottom: 0.5px solid var(--border);
  background: linear-gradient(to bottom, rgba(193,122,74,0.05), transparent);
}
.page-eyebrow {
  font-size: 11px; letter-spacing: 0.12em;
  color: var(--terra); text-transform: uppercase;
  font-weight: 500; margin-bottom: 1rem;
}
.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 6vw, 58px); font-weight: 300;
  color: var(--lienzo); line-height: 1.1; margin-bottom: 0.75rem;
}
.page-title em { font-style: italic; color: var(--dorado); }
.page-date { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }
.page-sub {
  font-size: 16px; color: rgba(245,237,224,0.55);
  font-weight: 300; max-width: 480px;
  margin: 0 auto; line-height: 1.6;
}

/* ── LEGAL ── */
.page-content { max-width: 760px; margin: 0 auto; padding: 4rem 2rem 6rem; }
.legal-section { margin-bottom: 3rem; }
.legal-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 400; color: var(--lienzo);
  margin-bottom: 1rem; padding-bottom: 0.5rem;
  border-bottom: 0.5px solid var(--border);
}
.legal-section p {
  font-size: 15px; color: rgba(245,237,224,0.7);
  line-height: 1.8; margin-bottom: 1rem; font-weight: 300;
}
.legal-section ul { margin: 0.5rem 0 1rem 1.25rem; }
.legal-section ul li {
  font-size: 15px; color: rgba(245,237,224,0.7);
  line-height: 1.7; margin-bottom: 0.4rem; font-weight: 300;
}
.legal-section a { color: var(--dorado); text-decoration: none; }
.legal-section a:hover { text-decoration: underline; }
.highlight-box {
  background: rgba(193,122,74,0.08);
  border: 0.5px solid rgba(193,122,74,0.2);
  border-radius: 12px; padding: 1.25rem 1.5rem; margin: 1.5rem 0;
}
.highlight-box p { margin-bottom: 0; color: rgba(245,237,224,0.8); }
.pending-tag {
  display: inline-block; font-size: 11px; font-weight: 500;
  padding: 3px 10px; border-radius: 99px;
  background: rgba(245,200,122,0.1); color: var(--dorado);
  border: 0.5px solid rgba(245,200,122,0.25);
  margin-left: 8px; vertical-align: middle;
}

/* ── CONTACTO ── */
.contact-wrap {
  max-width: 900px; margin: 0 auto;
  padding: 4rem 2rem 6rem;
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 4rem; align-items: start; flex: 1;
}
.contact-info h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 300; color: var(--lienzo); margin-bottom: 0.5rem;
}
.contact-info h2 em { font-style: italic; color: var(--dorado); }
.contact-info p {
  font-size: 14px; color: rgba(245,237,224,0.55);
  line-height: 1.7; font-weight: 300; margin-bottom: 2rem;
}
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 1.5rem; }
.contact-item-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(193,122,74,0.1); border: 0.5px solid rgba(193,122,74,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0;
}
.contact-item-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
  color: var(--terra); text-transform: uppercase; margin-bottom: 3px;
}
.contact-item-value { font-size: 14px; color: rgba(245,237,224,0.75); }
.contact-item-value a { color: var(--dorado); text-decoration: none; }
.contact-item-value a:hover { text-decoration: underline; }
.response-note {
  margin-top: 2.5rem; padding: 1rem 1.25rem;
  background: rgba(193,122,74,0.06);
  border: 0.5px solid rgba(193,122,74,0.15); border-radius: 12px;
}
.response-note p { font-size: 13px; color: rgba(245,237,224,0.5); line-height: 1.6; font-weight: 300; }
.response-note p strong { color: rgba(245,237,224,0.75); font-weight: 500; }
.contact-form-wrap h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 300; color: var(--lienzo); margin-bottom: 0.5rem;
}
.contact-form-wrap h2 em { font-style: italic; color: var(--dorado); }
.contact-form-wrap > p {
  font-size: 14px; color: rgba(245,237,224,0.55);
  line-height: 1.7; font-weight: 300; margin-bottom: 2rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block; font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em; color: var(--muted);
  text-transform: uppercase; margin-bottom: 8px;
}
.form-input {
  width: 100%; padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(193,122,74,0.2);
  border-radius: 10px; color: var(--lienzo);
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 300;
  transition: border-color 0.2s, background 0.2s; outline: none;
}
.form-input:focus { border-color: rgba(193,122,74,0.5); background: rgba(255,255,255,0.06); }
.form-input::placeholder { color: rgba(245,237,224,0.25); }
textarea.form-input { resize: vertical; min-height: 140px; line-height: 1.6; }
.form-select {
  width: 100%; padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(193,122,74,0.2);
  border-radius: 10px; color: var(--lienzo);
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 300;
  transition: border-color 0.2s; outline: none; cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B4A99A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.form-select:focus { border-color: rgba(193,122,74,0.5); }
.form-select option { background: #2C1A0E; color: var(--lienzo); }
.form-check { display: flex; align-items: flex-start; gap: 10px; margin-top: 0.25rem; }
.form-check input[type="checkbox"] { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--terra); cursor: pointer; flex-shrink: 0; }
.form-check label { font-size: 13px; color: rgba(245,237,224,0.5); line-height: 1.5; font-weight: 300; cursor: pointer; }
.form-check label a { color: var(--dorado); text-decoration: none; }
.form-check label a:hover { text-decoration: underline; }
.submit-btn {
  width: 100%; padding: 14px;
  background: var(--terra); color: var(--lienzo);
  border: none; border-radius: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px; font-weight: 400; letter-spacing: 0.02em;
  cursor: pointer; margin-top: 1rem;
  transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.submit-btn:hover { background: #d4895a; transform: translateY(-1px); }
.submit-btn:active { transform: scale(0.98); }
.success-msg {
  display: none; text-align: center; padding: 2rem;
  background: rgba(29,158,117,0.08); border: 0.5px solid rgba(29,158,117,0.25);
  border-radius: 14px; margin-top: 1rem;
}
.success-msg.show { display: block; }
.success-msg p { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 300; color: var(--lienzo); margin-bottom: 0.5rem; }
.success-msg span { font-size: 13px; color: rgba(245,237,224,0.5); }
.faq-section { max-width: 760px; margin: 0 auto; padding: 0 2rem 5rem; }
.faq-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 300; color: var(--lienzo);
  margin-bottom: 2rem; text-align: center;
}
.faq-title em { font-style: italic; color: var(--dorado); }
.faq-divider { border: none; border-top: 0.5px solid var(--border); margin-bottom: 2rem; }
.faq-item { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 0.5px solid rgba(193,122,74,0.08); }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-size: 15px; font-weight: 500; color: var(--lienzo); margin-bottom: 0.5rem; }
.faq-a { font-size: 14px; color: rgba(245,237,224,0.55); line-height: 1.7; font-weight: 300; }
.faq-a a { color: var(--dorado); text-decoration: none; }

/* ── FOOTER COMPARTIDO ── */
footer {
  padding: 2rem 2.5rem;
  background: #160c03;
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  border-top: 0.5px solid rgba(245,200,122,0.08);
}
.footer-left { display: flex; flex-direction: column; gap: 10px; }
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; color: rgba(245,237,224,0.4);
  text-decoration: none;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 32px; height: 32px; border-radius: 8px;
  border: 0.5px solid rgba(245,200,122,0.12);
  background: rgba(255,255,255,0.03);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; text-decoration: none;
}
.footer-social a:hover {
  background: rgba(193,122,74,0.12);
  border-color: rgba(193,122,74,0.35);
  transform: translateY(-1px);
}
.footer-social svg { width: 15px; height: 15px; }
.footer-center { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-size: 12px; color: rgba(245,237,224,0.25);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: rgba(245,237,224,0.6); }
.footer-copy { font-size: 12px; color: rgba(245,237,224,0.2); }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px; font-style: italic;
  color: rgba(245,200,122,0.25);
}

/* ── ANIMACIONES COMPARTIDAS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── RESPONSIVE COMPARTIDO ── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 1.5rem 4rem; }
  footer { flex-direction: column; align-items: flex-start; }
  .footer-center { align-items: flex-start; }
  .footer-right { align-items: flex-start; }
}
