:root {
  --bg: #0d0c0b;
  --bg-2: #161412;
  --ink: #f3ede4;
  --muted: #a49b8f;
  --line: rgba(243, 237, 228, 0.12);
  --accent: #e8b46a;
  --accent-ink: #1a1208;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter Tight", system-ui, -apple-system, sans-serif;
  --pad: clamp(20px, 5vw, 64px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1, h2 { font-family: var(--serif); line-height: 0.95; letter-spacing: -0.01em; }
h1 { font-size: clamp(56px, 11vw, 150px); }
h2 { font-size: clamp(44px, 7vw, 92px); }
h3 { font-size: 20px; font-weight: 500; }
em { font-style: italic; color: var(--accent); }
.muted { color: var(--muted); }
.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600; font-size: 15px;
  text-decoration: none;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: transform .2s, background .2s, color .2s;
  font-family: var(--sans);
}
.btn:hover { transform: translateY(-2px); }
.btn-wa { background: #25d366; border-color: #25d366; color: #06230f; gap: 10px; }
.btn-wa:hover { background: #3be07a; border-color: #3be07a; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-small { padding: 10px 18px; font-size: 14px; }
.btn-full { width: 100%; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
  transition: background .3s, backdrop-filter .3s;
}
.nav.scrolled { background: rgba(13, 12, 11, .82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { font-weight: 600; font-size: 20px; letter-spacing: .08em; text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 28px; width: auto; }
.brand span { color: var(--accent); margin-left: -6px; }
.footer-brand { display: inline-flex; align-items: center; gap: 14px; }
.footer-brand img { height: 52px; width: auto; opacity: .85; }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a:not(.btn) { text-decoration: none; font-size: 15px; color: var(--muted); transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .3s; }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 120px var(--pad) clamp(48px, 10vh, 96px);
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  background: var(--bg-2) url("/img/hero.jpg") center / cover no-repeat;
  animation: kenburns 28s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,12,11,.45) 0%, rgba(13,12,11,.7) 55%, var(--bg) 100%);
}
.hero-inner { position: relative; max-width: var(--max); width: 100%; margin: 0 auto; }
.lead { max-width: 520px; margin: 28px 0 36px; font-size: clamp(17px, 1.6vw, 19px); color: #d8d0c4; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.eq { position: absolute; right: var(--pad); bottom: clamp(48px, 10vh, 96px); display: flex; gap: 5px; align-items: flex-end; height: 56px; }
.eq i { width: 5px; background: var(--accent); border-radius: 2px; animation: eq 1.1s ease-in-out infinite; opacity: .85; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; }
.eq i:nth-child(4) { animation-delay: -.15s; } .eq i:nth-child(5) { animation-delay: -.45s; }
.eq i:nth-child(6) { animation-delay: -.75s; } .eq i:nth-child(7) { animation-delay: -.9s; }
@keyframes eq { 0%,100% { height: 18%; } 50% { height: 100%; } }

/* Sections */
.section { padding: clamp(80px, 12vw, 160px) var(--pad); max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; }
.section-alt { max-width: none; background: rgba(22, 20, 18, .72); }
.section-alt > * { max-width: var(--max); margin-left: auto !important; margin-right: auto !important; }
.section-head { margin-bottom: clamp(48px, 6vw, 80px); }

.moments { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.moments li { padding: 32px 28px 0 0; }
.moments li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.moments .num { font-family: var(--serif); font-size: 44px; color: var(--accent); display: block; margin-bottom: 20px; }
.moments p, .services p, .steps p { color: var(--muted); margin: 10px 0 0; font-size: 16px; }

.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.services li { background: var(--bg); padding: 36px; transition: background .3s; }
.services li:hover { background: var(--bg-2); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li { display: flex; gap: 32px; padding: 32px 0; border-top: 1px solid var(--line); align-items: baseline; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li > span { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--accent); min-width: 48px; }

/* Qué incluye (acordeón) */
.incluye { margin-top: clamp(56px, 8vw, 96px); }
.incluye-h { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); line-height: 1.05; }
.incluye-p { max-width: 560px; margin: 14px 0 32px; }
.incluye details { border-top: 1px solid var(--line); }
.incluye details:last-of-type { border-bottom: 1px solid var(--line); }
.incluye summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(150px, 220px) 1fr 24px; gap: 8px 24px; align-items: baseline; padding: 22px 0; }
.incluye summary::-webkit-details-marker { display: none; }
.incluye summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--accent); justify-self: end; transition: transform .25s; }
.incluye details[open] summary::after { transform: rotate(45deg); }
.incluye summary:hover .inc-t { color: var(--accent); }
.incluye summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.inc-t { font-size: 20px; font-weight: 500; transition: color .2s; }
.inc-s { color: var(--muted); font-size: 16px; }
.inc-body { padding: 0 0 26px; margin-left: calc(min(220px, 30%) + 24px); max-width: 620px; color: #d8d0c4; font-size: 16px; }
.inc-body p { margin: 0 0 12px; }
.inc-body ul { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 6px; }
.inc-body li::marker { color: var(--accent); }
.incluye-cta { margin: 40px 0 0; }

/* Instagram */
.insta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.insta-grid .instagram-media { margin: 0 !important; min-width: 0 !important; max-width: 100% !important; width: 100% !important; min-height: 420px; background: var(--bg-2) !important; border: 1px solid var(--line) !important; border-radius: 8px !important; padding: 24px; text-align: center; box-shadow: none !important; }
.insta-grid .instagram-media a { color: var(--muted); font-size: 15px; }
.insta-more { margin: 40px 0 0; text-align: center; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about img { width: 100%; height: auto; border-radius: 4px; filter: grayscale(1); }
.about-text .muted { max-width: 440px; margin: 28px 0 32px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact .section-head { margin: 0; position: sticky; top: 110px; }
.contact-links { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 8px; font-size: 18px; }
.contact-links a { text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.contact-links a:hover { border-color: var(--accent); }
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.form input, .form select, .form textarea {
  font: inherit; color: var(--ink);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  width: 100%;
  transition: border-color .2s;
  color-scheme: dark;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form textarea { resize: vertical; }
.form-error { color: #f08a6b; margin: 0; font-size: 14px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 32px var(--pad); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .moments { grid-template-columns: 1fr 1fr; }
  .moments li:nth-child(3) { padding-left: 0; border-left: 0; }
  .moments li { padding-bottom: 32px; }
  .contact, .about { grid-template-columns: 1fr; }
  .incluye summary { grid-template-columns: 1fr 24px; }
  .inc-s { grid-column: 1; grid-row: 2; }
  .incluye summary::after { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .inc-body { margin-left: 0; }
  .contact .section-head { position: static; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 28px;
    background: var(--bg);
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav-links a:not(.btn) { font-family: var(--serif); font-size: 40px; color: var(--ink); }
  .nav.open .nav-links { opacity: 1; pointer-events: auto; }
  .nav.open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .eq { display: none; }
  .hero-cta .btn { flex: 1; }
  .moments, .services { grid-template-columns: 1fr; }
  .moments li, .moments li + li { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .services li { padding: 28px 24px; }
  .steps li { gap: 20px; }
  .steps li > span { font-size: 48px; min-width: 32px; }
  .insta-grid { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Ambient motion: slow aurora behind the page, hero zoom, shimmering ampersand */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; will-change: transform; }
.aurora i:nth-child(1) { top: -25vmax; left: -20vmax; background: radial-gradient(circle, rgba(232,180,106,.20) 0%, transparent 65%); animation: drift-a 32s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { top: 25vh; right: -30vmax; background: radial-gradient(circle, rgba(122,92,255,.16) 0%, transparent 65%); animation: drift-b 38s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { bottom: -35vmax; left: 15vw; background: radial-gradient(circle, rgba(214,90,130,.12) 0%, transparent 65%); animation: drift-c 44s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(28vmax, 18vmax) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-30vmax, -14vmax) scale(.9); } }
@keyframes drift-c { to { transform: translate(24vmax, -20vmax) scale(1.2); } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08) translate(-1%, -1%); } }
h1 em {
  background: linear-gradient(110deg, var(--accent) 35%, #fff1d2 50%, var(--accent) 65%) 0 0 / 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 7s ease-in-out infinite;
}
@keyframes shine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

/* Language switcher */
.lang { display: flex; align-items: center; gap: 6px; }
.lang a { display: inline-flex; padding: 5px 4px 6px; border-radius: 6px; opacity: .5; transition: opacity .2s, transform .2s; }
.lang a:hover { opacity: 1; transform: translateY(-1px); }
.lang a[aria-current="true"] { opacity: 1; box-shadow: inset 0 -2px 0 var(--accent); }
.lang .flag { display: block; width: 32px; height: auto; }
.lang-footer { order: 2; }
@media (max-width: 760px) {
  .nav-right { gap: 8px; }
  .lang .flag { width: 26px; }
  .lang-footer { order: 0; }
}
