/* ===== Reset base (cargado con header, primer CSS) ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  background-color: #f7f1e7;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  color: #241d17;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

/* Eyebrow compartido de sección (estilo, no variable) */
.section-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #c9a227;
  text-align: center;
  margin-bottom: 10px;
}

/* Animación de aparición al hacer scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Header ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(23, 18, 15, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

#header.scrolled {
  background: #17120f;
  border-bottom: 1px solid rgba(201, 162, 39, 0.3);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.header-logo i {
  font-size: 24px;
  color: #c9a227;
}

.header-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.14em;
  color: #ffffff;
}

.header-logo:hover {
  transform: scale(1.03);
}

.header-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header-nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}

.header-nav ul li a {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e8dfd0;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.header-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #c9a227;
  transition: width 0.3s ease;
}

.header-nav ul li a:hover,
.header-nav ul li a[aria-current="page"] {
  color: #ffffff;
}

.header-nav ul li a:hover::after,
.header-nav ul li a[aria-current="page"]::after {
  width: 100%;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: #17120f;
  background: #c9a227;
  text-decoration: none;
  padding: 11px 24px;
  border-radius: 2px;
  flex-shrink: 0;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.header-cta:hover {
  background: #ddb941;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201, 162, 39, 0.35);
}

.header-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.header-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #ffffff;
  transition: transform 0.35s ease, opacity 0.35s ease, width 0.35s ease;
  transform-origin: center;
}

.header-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.header-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header-mobile-nav {
  display: none;
  background: #17120f;
  border-top: 1px solid rgba(201, 162, 39, 0.25);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}

.header-mobile-nav.open { max-height: 400px; }

.header-mobile-nav ul {
  list-style: none;
  padding: 12px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.header-mobile-nav ul li a {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e8dfd0;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.header-mobile-nav ul li a:hover {
  color: #c9a227;
  padding-left: 8px;
}

/* ===== Responsive ===== */
@media (min-width: 1440px) {
  .header-inner { max-width: 1320px; padding: 0 64px; }
}

@media (max-width: 1280px) {
  .header-inner { padding: 0 40px; }
  .header-nav ul { gap: 26px; }
}

@media (max-width: 1024px) {
  .header-inner { padding: 0 32px; height: 78px; }
  .header-nav ul { gap: 18px; }
  .header-nav ul li a { font-size: 12.5px; }
  .header-logo-text { font-size: 24px; }
  .header-cta { padding: 10px 18px; font-size: 12.5px; }
}

@media (max-width: 768px) {
  .header-inner { padding: 0 24px; height: 72px; }
  .header-nav { display: none; }
  .header-cta { display: none; }
  .header-hamburger { display: flex; }
  .header-mobile-nav { display: block; }
  html { scroll-padding-top: 72px; }
}

@media (max-width: 480px) {
  .header-inner { padding: 0 16px; height: 64px; }
  .header-logo i { font-size: 21px; }
  .header-logo-text { font-size: 21px; }
  html { scroll-padding-top: 64px; }
}
