:root {
  --night: #0a1410;
  --forest: #13261d;
  --moss: #2f5c45;
  --ember: #c4783a;
  --ember-hot: #d9924f;
  --sand: #efe6d8;
  --mist: #f4efe6;
  --ink: #152019;
  --ink-soft: #3d4c43;
  --white: #ffffff;
  --max: 1100px;
  --header-h: 4.1rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--mist);
  line-height: 1.6;
}

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--forest); color: var(--white); padding: 0.7rem 1rem;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(100% - 2.4rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: fixed; inset: 0 0 auto; height: var(--header-h); z-index: 50;
  transition: background 0.35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(10, 20, 16, 0.9);
  backdrop-filter: blur(10px);
}

.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}

.logo {
  text-decoration: none; color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
}

.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav a {
  text-decoration: none; color: rgba(255,255,255,0.88);
  font-size: 0.9rem; font-weight: 500;
}
.nav-cta {
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 0.3rem;
}

.nav-toggle {
  display: none; width: 2.4rem; height: 2.4rem; border: 0; background: transparent; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 1.3rem; height: 2px; margin: 0.35rem auto; background: var(--white);
}

.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end; color: var(--white); overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: drift 20s var(--ease) infinite alternate;
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,20,16,0.35) 0%, rgba(10,20,16,0.2) 40%, rgba(10,20,16,0.88) 100%),
    linear-gradient(90deg, rgba(10,20,16,0.55), transparent 60%);
}
.hero-copy {
  position: relative; z-index: 1;
  padding: 7rem 0 4.2rem;
  width: min(100% - 2.4rem, 38rem);
  margin-left: max(1.2rem, calc((100% - var(--max)) / 2));
}
.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--moss);
}
.eyebrow.light { color: rgba(255,255,255,0.72); }

.brand-lockup {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 3.1rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.02em;
}
.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.8vw, 1.7rem);
  font-weight: 600; max-width: 18ch; line-height: 1.25;
  color: rgba(255,255,255,0.92);
}
.lede {
  margin: 0 0 1.6rem; max-width: 34ch; color: rgba(244,239,230,0.9);
}

.cta-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.8rem; padding: 0.65rem 1.15rem;
  border-radius: 0.3rem; text-decoration: none; font-weight: 700; font-size: 0.94rem;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ember); color: var(--night); }
.btn-primary:hover { background: var(--ember-hot); }
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.45); color: var(--white); background: transparent;
}
.btn-small {
  min-height: 2.4rem; padding: 0.45rem 0.9rem; font-size: 0.86rem;
  background: var(--forest); color: var(--white);
}
.btn-small:hover { background: var(--moss); }

.photo-note {
  margin: 0.75rem auto 0;
  font-size: 0.78rem; color: var(--ink-soft); opacity: 0.85;
}

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.4vw, 2.45rem);
  line-height: 1.15; letter-spacing: -0.02em; max-width: 16ch;
}
.section p { margin: 0 0 1rem; color: var(--ink-soft); max-width: 52ch; }

.section-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.4rem, 4vw, 3rem); align-items: center;
}

.portrait {
  margin: 0; position: relative; overflow: hidden; border-radius: 0.45rem;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; min-height: 26rem; }
.portrait figcaption {
  position: absolute; left: 0.7rem; bottom: 0.7rem;
  font-size: 0.72rem; color: rgba(255,255,255,0.85);
  background: rgba(10,20,16,0.55); padding: 0.25rem 0.5rem; border-radius: 0.2rem;
}

.text-link {
  font-weight: 700; color: var(--moss); text-decoration: none;
}
.text-link:hover { color: var(--ember); }

.timeline {
  list-style: none; margin: 2.5rem auto 0; padding: 0;
  display: grid; gap: 0.85rem;
  border-top: 1px solid rgba(21,32,25,0.12); padding-top: 1.75rem;
}
.timeline li {
  display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.85rem;
  align-items: baseline; color: var(--ink-soft); font-size: 0.95rem;
}
.timeline span {
  font-family: var(--font-display); font-weight: 700; color: var(--forest); font-size: 0.92rem;
}
@media (max-width: 600px) {
  .timeline li { grid-template-columns: 1fr; gap: 0.15rem; }
}

.section-ceremonias { background: var(--sand); }
.section-intro { margin-bottom: 2rem; }

.ceremony-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem;
}
.ceremony {
  background: var(--white);
  border-radius: 0.45rem; overflow: hidden;
  border: 1px solid rgba(21,32,25,0.08);
}
.ceremony img {
  width: 100%; height: 12.5rem; object-fit: cover;
}
.ceremony-body { padding: 1.15rem 1.2rem 1.35rem; }
.ceremony h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display); font-size: 1.25rem; color: var(--forest);
}
.ceremony p { font-size: 0.95rem; margin-bottom: 1rem; }

.section-aporte {
  background: var(--sand);
}
.aporte-panel {
  max-width: 40rem;
  padding: 0.5rem 0 0.25rem;
  border-top: 1px solid rgba(21,32,25,0.12);
}
.aporte-panel h2 { max-width: 14ch; }
.aporte-panel p { max-width: 42ch; }
.aporte-cierre {
  font-weight: 600;
  color: var(--forest) !important;
  margin-bottom: 1.35rem !important;
}

.section-lugar {
  position: relative; min-height: 68svh; display: grid; align-items: end; color: var(--white); overflow: hidden;
}
.lugar-media { position: absolute; inset: 0; }
.lugar-media img { width: 100%; height: 100%; object-fit: cover; }
.lugar-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,20,16,0.25), rgba(10,20,16,0.88));
}
.lugar-copy { position: relative; z-index: 1; padding-bottom: 0.5rem; }
.lugar-copy p { color: rgba(244,239,230,0.92); }

.section-hooks { background: var(--forest); color: var(--white); }
.hooks h2 {
  color: var(--white); max-width: 14ch;
}
.hooks ul {
  margin: 0 0 1.4rem; padding-left: 1.1rem; color: rgba(244,239,230,0.9); max-width: 36ch;
}
.hooks li { margin-bottom: 0.4rem; }

.section-contacto { background: var(--mist); }
.contacto-panel {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2rem;
  border-top: 1px solid rgba(21,32,25,0.12); padding-top: 2rem;
}
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-list span {
  display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--moss); margin-bottom: 0.2rem;
}
.contact-list a, .contact-list p {
  margin: 0; font-weight: 700; font-size: 1.05rem; text-decoration: none; color: var(--ink);
}
.contact-list a:hover { color: var(--ember); }

.site-footer {
  background: var(--night); color: rgba(244,239,230,0.72);
  padding: 1.4rem 0 5.5rem; font-size: 0.86rem;
}
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem;
}
.footer-inner p { margin: 0; }

.wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 60;
  background: #1fa855; color: var(--white);
  padding: 0.85rem 1.15rem; border-radius: 999px;
  font-weight: 700; text-decoration: none;
  box-shadow: 0 8px 24px rgba(10,20,16,0.25);
}

[data-reveal] {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }

@keyframes drift {
  from { transform: scale(1.05); }
  to { transform: scale(1.12) translate(-1%, -1%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img, [data-reveal] {
    animation: none !important; transition: none !important;
    opacity: 1 !important; transform: none !important;
  }
}

@media (max-width: 900px) {
  .section-grid, .ceremony-grid, .contacto-panel { grid-template-columns: 1fr; }
  .portrait img { min-height: 20rem; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.4rem 1.2rem 1.2rem; background: rgba(10,20,16,0.96);
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 0.85rem 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-cta { border: 0; padding-left: 0; }
  .site-header { background: rgba(10,20,16,0.5); }
}
