/* ============================================================
   BASE — Variables, reset, tipografía y utilidades compartidas
   Usado por: todas las secciones
   ============================================================ */

:root {
  --color-gold:        #C8A96B;
  --color-gold-hover:  #b89a55;
  --color-gold-subtle: rgba(200, 169, 107, 0.6);
  --color-gold-tint:   rgba(200, 169, 107, 0.1);
  --color-bg:          #0A0A0A;
  --color-surface:     #111111;
  --color-surface-2:   #151515;
  --color-surface-3:   #1a1a1a;
  --color-text:        #F5F5F5;
  --color-text-muted:  #BFBFBF;
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .line-down { animation: none; }
  .mask-reveal-img { clip-path: none !important; transition: none; }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--color-bg);
  font-family: 'Montserrat', sans-serif;
  color: var(--color-text);
  overflow-x: hidden;
  scroll-behavior: auto;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--color-surface); }
::-webkit-scrollbar-thumb { background: var(--color-gold); }

/* Tipografía general */
h1, h2, h3, .logo-font {
  font-family: 'Cinzel', serif;
  font-weight: 500;
}
.section-title {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  font-weight: 600;
  border-left: 3px solid var(--color-gold);
  padding-left: 1.5rem;
}

/* Botones */
.btn {
  background: transparent;
  border: 1px solid var(--color-gold-subtle);
  padding: 0.9rem 2.2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--color-text);
  cursor: pointer;
  transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
.btn-premium {
  background: var(--color-gold);
  color: var(--color-bg);
  border: none;
}
.btn-premium:hover {
  background: var(--color-gold-hover);
  transform: translateY(-3px);
}
.btn-outline:hover {
  background: var(--color-gold-tint);
  border-color: var(--color-gold);
  transform: translateY(-3px);
}

/* Layout de secciones */
section {
  padding: 100px 5%;
  position: relative;
}
.container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Utilidades */
.text-accent { color: var(--color-gold); }
img, video { max-width: 100%; }

/* Logo con filtro para compensar transparencia de Canva (ver README) */
.brightness-logo { filter: brightness(10); }

/* Screen readers only */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Responsive: section-title y btn */
@media (max-width: 768px) {
  section { padding: 60px 5%; }
  .section-title { font-size: clamp(1.8rem, 6vw, 2.4rem); margin-bottom: 2rem; }
}
@media (max-width: 480px) {
  .btn { padding: 0.8rem 1.5rem; font-size: 0.78rem; }
}
