/* ── RESET & VARIABLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:      #f5f0e8;
  --parchment:  #ede7d6;
  --terracota:  #6b1f2e;
  --dark:       #1a1208;
  --gold:       #c9a84c;
  --muted:      #7a6a55;
  --white:      #faf8f3;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--dark);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 4rem;
  transition: background .4s, box-shadow .4s;
  background: transparent;
}
nav.solid,
nav.scrolled {
  background: rgba(245,240,232,.96);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
  backdrop-filter: blur(8px);
}
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo img {
  height: 38px; width: auto; display: block;
  filter: none; /* logo es blanco, se ve bien sobre navbar transparente oscura */
  transition: filter .4s;
}
nav.solid .nav-logo img,
nav.scrolled .nav-logo img {
  /* navbar clara → invertimos el blanco a oscuro */
  filter: invert(1) brightness(0.15);
}

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(250,248,243,.85); text-decoration: none; transition: color .3s;
}
nav.solid .nav-links a,
nav.scrolled .nav-links a { color: var(--muted); }
.nav-links a:hover,
.nav-links a.active { color: var(--gold) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--white); transition: background .3s; }
nav.solid .hamburger span,
nav.scrolled .hamburger span { background: var(--dark); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  height: 46vh; min-height: 320px;
  position: relative; display: flex; align-items: flex-end;
  padding: 3.5rem 4rem;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,18,8,.75) 0%, rgba(26,18,8,.3) 100%);
}
.page-hero-content { position: relative; z-index: 1; color: var(--white); }
.page-hero-tag {
  font-size: .65rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .8rem; display: block;
}
.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 300; line-height: 1.1;
}
.page-hero-title em { font-style: italic; color: var(--gold); }

/* ── SECTION BASE ── */
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: .65rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--terracota); margin-bottom: 1rem; display: block;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400; line-height: 1.15; margin-bottom: 1.5rem;
}
.section-title em { font-style: italic; }
.section-body { font-size: .95rem; line-height: 1.85; color: var(--muted); }

/* ── INFO BAR ── */
.info-bar {
  background: var(--terracota); color: var(--white);
  padding: 4rem; display: flex; justify-content: center; gap: 6rem; flex-wrap: wrap;
}
.info-item { text-align: center; }
.info-icon { font-size: 1.4rem; margin-bottom: .8rem; opacity: .8; }
.info-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 500; margin-bottom: .4rem;
}
.info-item p { font-size: .8rem; line-height: 1.7; opacity: .8; }

/* ── FOOTER ── */
footer {
  background: var(--dark); color: rgba(250,248,243,.5);
  padding: 3rem 4rem; text-align: center;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 300; letter-spacing: .1em;
  color: var(--white); margin-bottom: 1.5rem; display: block;
}
.footer-links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.footer-links a {
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(250,248,243,.4); text-decoration: none; transition: color .3s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: .72rem; letter-spacing: .08em; }
.footer-gold { color: var(--gold); font-style: italic; font-family: 'Cormorant Garamond', serif; font-size: .85rem; }

/* ── DIVIDER ── */
.ornament {
  display: flex; align-items: center; gap: 1rem; margin: 2rem 0;
  color: var(--gold); font-size: .85rem;
}
.ornament::before, .ornament::after {
  content: ''; flex: 1; height: 1px; background: var(--gold); opacity: .35;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .12s; }
.reveal-d2 { transition-delay: .24s; }
.reveal-d3 { transition-delay: .36s; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  nav { padding: 1.2rem 1.5rem; }
  .hamburger { display: flex; }
  .nav-links {
    display: none; position: fixed; inset: 0;
    background: var(--dark); flex-direction: column;
    align-items: center; justify-content: center; gap: 2.5rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; color: var(--white) !important; }
  .page-hero { padding: 2rem 1.5rem; }
  .info-bar { gap: 3rem; padding: 3rem 1.5rem; }
  footer { padding: 2.5rem 1.5rem; }
}
