/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #0e0b09;
  --bg-2:      #15110d;
  --bg-3:      #1e1811;
  --bg-3-hover:#251e15;
  --cream:     #f2ebda;
  --cream-2:   #ddd2bc;
  --cream-3:   #9c9083;
  --accent:    #cda15a;
  --accent-2:  #9c7638;
  --accent-soft: rgba(205, 161, 90, 0.16);
  --line:      rgba(242, 235, 218, 0.12);
  --line-strong: rgba(242, 235, 218, 0.22);
  --danger:    #c0392b;
  --success:   #7a9163;

  --serif: "Fraunces", "Georgia", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 76px;
  --quicknav-h: 0px;
  --container: 1240px;

  --mobile-warm-white: #f5f5f7;
  --mobile-gold: #d4af37;
  --mobile-grey: #a1a1a6;
}

@media (max-width: 1279px) {
  :root { --nav-h: 64px; --quicknav-h: 44px; }
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--cream-2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--cream); text-wrap: balance; line-height: 1.08; letter-spacing: -0.01em; font-weight: 500; }
h1 em, h2 em, h3 em, .italic { font-style: italic; color: var(--accent); font-weight: 400; }
::selection { background: var(--accent); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .7rem 1.1rem; background: var(--cream); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 600;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 720px)  { .container { padding-inline: 2rem; } }
@media (min-width: 1280px) { .container { padding-inline: 2.5rem; } }

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

.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 1rem;
}
.kicker::before {
  content: ""; width: 26px; height: 1px; background: var(--accent);
}
.section-head.is-center .kicker::before { display: none; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.section-lede { color: var(--cream-3); font-size: 1.05rem; margin-top: 1rem; max-width: 52ch; }
.section-head.is-center .section-lede { margin-inline: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.7rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background-color .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); transition-duration: .12s; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn-primary { background: var(--accent); color: #1a1408; }
.btn-primary:hover { box-shadow: 0 20px 44px rgba(205,161,90,.28), 0 8px 18px rgba(0,0,0,.3); }

.btn-ghost { background: transparent; color: var(--cream); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-whatsapp { background: #25D366; color: #06210f; }
.btn-whatsapp:hover { box-shadow: 0 20px 44px rgba(37,211,102,.26), 0 8px 18px rgba(0,0,0,.3); }

.btn-block { width: 100%; }
.btn-sm { padding: .7rem 1.3rem; font-size: .85rem; }

.tag {
  display: inline-flex; align-items: center; padding: .3rem .8rem; border-radius: 999px;
  font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600;
  background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(205,161,90,.35);
}

/* =============================================================
   4. Navigation
   ============================================================= */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(14,11,9,.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease-out), border-color .4s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
@media (max-width: 1279px) {
  .nav {
    background: rgba(18,18,18,.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: 100%; }
.brand { display: flex; align-items: baseline; gap: .5rem; font-family: var(--serif); }
.brand-name { font-size: 1.28rem; color: var(--cream); letter-spacing: .01em; }
.brand-tag { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 1279px) {
  .brand-name { color: var(--mobile-warm-white); }
  .brand-tag { color: var(--mobile-gold); }
}

.nav-links { display: none; align-items: center; gap: 1.5rem; }
@media (min-width: 1280px) { .nav-links { display: flex; gap: 1.9rem; } }
@media (min-width: 1600px) { .nav-links { gap: 2.3rem; } }
.nav-link { position: relative; font-size: .85rem; color: var(--cream-2); padding: .3rem 0; white-space: nowrap; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-link:hover { color: var(--cream); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-cta { display: none; }
@media (min-width: 720px) { .nav-cta { display: inline-flex; } }
.nav-cta.btn-whatsapp { background: var(--accent); color: #1a1408; }
.nav-cta.btn-whatsapp:hover { box-shadow: 0 20px 44px rgba(205,161,90,.28), 0 8px 18px rgba(0,0,0,.3); }

.nav-burger {
  display: grid; place-items: center; width: 32px; height: 32px;
}
@media (min-width: 1280px) { .nav-burger { display: none; } }
.nav-burger-lines { position: relative; width: 20px; height: 12px; }
.nav-burger-lines span {
  position: absolute; left: 0; right: 0; height: 1.5px; background: var(--mobile-warm-white);
  transition: transform .35s var(--ease-out), opacity .3s, top .35s var(--ease-out);
}
.nav-burger-lines span:nth-child(1) { top: 0; }
.nav-burger-lines span:nth-child(2) { top: 5.5px; }
.nav-burger-lines span:nth-child(3) { top: 11px; }
html[data-menu-open="true"] .nav-burger-lines span:nth-child(1) { top: 5.5px; transform: rotate(45deg); }
html[data-menu-open="true"] .nav-burger-lines span:nth-child(2) { opacity: 0; }
html[data-menu-open="true"] .nav-burger-lines span:nth-child(3) { top: 5.5px; transform: rotate(-45deg); }

/* ---- Mobile quick-access category bar (visible without opening the menu) ---- */
.mobile-quicknav {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 460;
  height: 44px;
  display: flex; align-items: stretch; gap: 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  background: rgba(18,18,18,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.mobile-quicknav::-webkit-scrollbar { display: none; }
.mobile-quicknav a {
  flex: none; display: flex; align-items: center; padding: 0 16px;
  font-family: var(--sans); font-size: .72rem; font-weight: 500;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--mobile-grey);
  position: relative; white-space: nowrap;
  transition: color .25s var(--ease-out);
}
.mobile-quicknav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px;
  background: var(--mobile-gold);
  transform: scaleX(0); transition: transform .25s var(--ease-out);
}
.mobile-quicknav a:hover, .mobile-quicknav a:active { color: #ffffff; }
.mobile-quicknav a:hover::after, .mobile-quicknav a:active::after { transform: scaleX(1); }
.mobile-quicknav a.is-current { color: var(--mobile-gold); }
.mobile-quicknav a.is-current::after { transform: scaleX(1); }
.mobile-quicknav a.is-home {
  color: var(--mobile-gold); border-right: 1px solid var(--line); margin-right: 4px;
}
.mobile-quicknav a.is-home:hover { color: #ffffff; }
@media (min-width: 1280px) { .mobile-quicknav { display: none; } }
html[data-menu-open="true"] .mobile-quicknav { display: none; }

/* ---- Mobile full-screen menu ---- */
.nav-mobile {
  position: fixed; inset: 0; z-index: 450;
  background: var(--bg-2);
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-soft);
}
html[data-menu-open="true"] .nav-mobile { clip-path: inset(0 0 0 0); }
.nav-mobile-inner {
  min-height: 100%; display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + 2.2rem) 1.5rem 2.2rem;
}
.nav-mobile-inner > .kicker { justify-content: flex-start; }
.nav-mobile-links { display: flex; flex-direction: column; margin-top: 1rem; }
.nav-mobile-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: 1.3rem; color: var(--cream);
  transition: color .3s;
}
.nav-mobile-links a:hover { color: var(--accent); }
.nav-mobile-links a svg { width: 1.05rem; height: 1.05rem; color: var(--accent); flex: none; }
.nav-mobile-footer { margin-top: auto; padding-top: 2.2rem; display: flex; flex-direction: column; gap: 1.3rem; }
.nav-mobile-contact { display: flex; align-items: center; justify-content: space-between; }
.nav-mobile-contact a { color: var(--cream-3); font-size: .88rem; font-weight: 600; }
.nav-mobile-contact a:hover { color: var(--accent); }

/* =============================================================
   5. Hero
   ============================================================= */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  min-height: 100svh; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--nav-h) + var(--quicknav-h) + 2rem);
}
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 42% 32%;
  filter: grayscale(1) contrast(1.12) brightness(.92);
}
.hero-bg-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(0,0,0,.6) 100%),
    linear-gradient(90deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.3) 100%);
}
.hero-grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  pointer-events: none; opacity: .12; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

.hero-inner { position: relative; width: 100%; padding-bottom: clamp(4rem, 11vw, 7.5rem); }
.hero-content { max-width: 660px; }
.hero-title {
  font-family: var(--sans); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.9rem, 4.6vw, 3.4rem); line-height: 1.1; letter-spacing: -0.01em;
  color: #f5f5f7; max-width: 16ch; text-wrap: balance;
}
.hero-subtitle {
  margin-top: 1.3rem; font-family: var(--sans); font-weight: 500; text-transform: none;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.4; color: var(--cream-2);
  max-width: 42ch; letter-spacing: normal;
}
.hero-proof { margin-top: 1rem; font-size: .92rem; color: var(--cream-3); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

/* =============================================================
   6. Reveal + cards + tilt/halo (shared)
   ============================================================= */
[data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity .85s var(--ease-soft), transform .85s var(--ease-soft);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal-group] > * { transition-delay: calc(var(--i, 0) * 90ms); }

.has-tilt {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .55s var(--ease-soft);
  position: relative; isolation: isolate;
}
.has-tilt:hover { transition-duration: .15s; }
.has-tilt::before {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none;
  background: radial-gradient(220px circle at var(--mx) var(--my), rgba(205,161,90,.28), transparent 62%);
  opacity: 0; transition: opacity .35s;
  mix-blend-mode: screen;
}
.has-tilt:hover::before { opacity: 1; }

/* =============================================================
   7. Services
   ============================================================= */
.services-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 720px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 20px;
  padding: 2rem 1.7rem; display: flex; flex-direction: column; gap: 1.1rem;
  transition: border-color .4s, background-color .4s, box-shadow .4s var(--ease-soft), transform .55s var(--ease-soft);
}
.service-card:hover {
  border-color: rgba(205,161,90,.4); background: var(--bg-3-hover); transform: translateY(-6px);
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.55);
}
.service-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); flex: none;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.25rem; }
.service-card p { color: var(--cream-3); font-size: .93rem; }
.service-link { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--accent); margin-top: auto; }
.service-link svg { width: 1rem; height: 1rem; transition: transform .35s var(--ease-out); }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* =============================================================
   8. Portfolio + event panels
   ============================================================= */
.tab-panel[hidden] { display: none; }
.tab-panel .gallery-grid { margin-bottom: 2.2rem; }

.gallery-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px)  { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.gallery-item {
  position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/5;
  background: var(--bg-3);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.gallery-item.is-hidden { display: none; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease-soft), filter .5s;
}
.gallery-item:hover img { transform: scale(1.1); filter: saturate(1.15) brightness(1.03); }
.gallery-caption {
  position: absolute; inset: auto 0 0 0; padding: 1.6rem 1.1rem 1.1rem;
  background: linear-gradient(0deg, rgba(14,11,9,.92) 0%, transparent 100%);
  color: var(--cream); font-size: .85rem; font-weight: 600;
  transform: translateY(6px); opacity: 0; transition: all .4s var(--ease-out);
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: none; }
.gallery-caption span { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-top: .2rem; }

.gallery-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem;
  text-align: center; padding: 1rem;
  border: 1px dashed var(--line-strong);
  color: var(--cream-3);
}
.gallery-placeholder svg { width: 30px; height: 30px; color: var(--accent); opacity: .8; }
.gallery-placeholder strong { color: var(--cream-2); font-size: .82rem; font-weight: 600; }
.gallery-placeholder span { font-size: .74rem; }

.gallery-view-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.85);
  padding: .55rem 1.3rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  background: rgba(14,11,9,.55); border: 1px solid rgba(242,235,218,.55); color: var(--cream);
  backdrop-filter: blur(4px); opacity: 0;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), background-color .3s, border-color .3s;
}
.gallery-item:hover .gallery-view-btn { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.gallery-view-btn:hover { background: var(--accent); border-color: var(--accent); color: #1a1408; }

/* ---- Event tab-panel modules ---- */
.event-subhero { padding-bottom: 2.6rem; border-bottom: 1px solid var(--line); margin-bottom: 2.8rem; }
.event-subhero-title { font-size: clamp(1.5rem, 3vw, 2.3rem); max-width: 20ch; }
.event-subhero-tag { color: var(--cream-3); font-style: italic; margin-top: .8rem; max-width: 48ch; }
.event-subhero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

.event-approach {
  display: grid; gap: 1.6rem; margin-bottom: 2.8rem;
  padding: 1.8rem; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-3);
}
@media (min-width: 960px) { .event-approach { grid-template-columns: 1fr 1fr; gap: 2.6rem; } }
.event-approach h4 { font-size: 1.2rem; margin-top: .5rem; }
.event-approach > div > p:last-child { color: var(--cream-3); font-size: .92rem; margin-top: .8rem; }
.approach-checklist { display: flex; flex-direction: column; gap: .75rem; }
.approach-checklist li { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--cream-2); }
.approach-checklist svg { width: 1.1rem; height: 1.1rem; color: var(--accent); flex: none; margin-top: .15rem; }

.event-portfolio-kicker { margin-top: 0; scroll-margin-top: 150px; }

.event-custom-quote {
  text-align: center; padding: 2.4rem 1.8rem; border-radius: 18px;
  background: var(--accent-soft); border: 1px solid rgba(205,161,90,.3);
}
.event-custom-quote .kicker { justify-content: center; }
.event-custom-quote h3 { font-size: 1.35rem; }
.event-custom-quote p { color: var(--cream-2); font-size: .95rem; margin-top: .7rem; max-width: 52ch; margin-inline: auto; }
.event-custom-quote .btn { margin-top: 1.4rem; }

.event-quote-request {
  margin-top: 2.8rem; padding: 2rem; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-3);
}
.event-quote-request h3 { font-size: 1.3rem; margin: .3rem 0 .6rem; }
.event-quote-request .contact-form { margin-top: 1.4rem; max-width: 480px; }

/* ---- Lightbox ---- */
.lightbox {
  position: fixed; inset: 0; z-index: 700;
  display: none; align-items: center; justify-content: center;
  background: rgba(8,6,4,.94);
  opacity: 0; transition: opacity .3s var(--ease-out);
  padding: 3rem 1rem;
}
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox-figure { max-width: min(90vw, 1100px); max-height: 82vh; }
.lightbox-figure img { max-width: 100%; max-height: 82vh; width: auto; border-radius: 10px; object-fit: contain; }
.lightbox-close, .lightbox-nav {
  position: fixed; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(242,235,218,.08); border: 1px solid var(--line-strong); color: var(--cream);
  transition: background-color .3s, border-color .3s;
}
.lightbox-close:hover, .lightbox-nav:hover { background: var(--accent); border-color: var(--accent); color: #1a1408; }
.lightbox-close { top: 1.4rem; right: 1.4rem; }
.lightbox-nav svg, .lightbox-close svg { width: 20px; height: 20px; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (min-width: 720px) { .lightbox-prev { left: 2rem; } .lightbox-next { right: 2rem; } }

/* =============================================================
   9. Packages / pricing
   ============================================================= */
.packages {
  position: relative; isolation: isolate; overflow: clip;
  background: var(--bg-2);
}
.packages-bg { position: absolute; inset: 0; z-index: -2; }
.packages-bg img { width: 100%; height: 100%; object-fit: cover; }
.packages-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,11,9,.88) 0%, rgba(14,11,9,.94) 60%, var(--bg-2) 100%);
}
.packages .section-head { margin-inline: auto; text-align: center; }

.package-group-head { display: flex; align-items: baseline; gap: .9rem; margin-bottom: 1.3rem; }
.package-group-head h3 { font-size: 1.4rem; }
.package-group-head .tag { margin-left: auto; }

.package-cards { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .package-cards { grid-template-columns: repeat(2, 1fr); } }

.package-card {
  border: 1px solid var(--line); border-radius: 18px; padding: 1.8rem;
  background: rgba(30, 24, 17, .55); backdrop-filter: blur(4px);
  display: flex; flex-direction: column; gap: 1rem;
  transition: border-color .35s, transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft);
}
.package-card:hover { border-color: rgba(205,161,90,.45); transform: translateY(-5px); box-shadow: 0 26px 50px -24px rgba(0,0,0,.6); }
.package-card.is-featured { border-color: var(--accent); background: rgba(205,161,90,.08); }
.package-name { font-family: var(--serif); font-size: 1.2rem; color: var(--cream); }
.package-price { font-family: var(--serif); font-size: 2.1rem; color: var(--accent); line-height: 1; }
.package-price small { font-family: var(--sans); font-size: .95rem; color: var(--cream-3); font-weight: 500; }
.package-includes { display: flex; flex-direction: column; gap: .55rem; font-size: .88rem; color: var(--cream-2); }
.package-includes li { display: flex; gap: .55rem; align-items: flex-start; }
.package-includes svg { width: 1.05rem; height: 1.05rem; color: var(--accent); flex: none; margin-top: .15rem; }

/* =============================================================
   10. About + counters
   ============================================================= */
.about { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .about { grid-template-columns: .85fr 1fr; } }
.about-figure { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4/5; }
.about-figure img { width: 100%; height: 100%; object-fit: cover; }
.about-figure::after { content:""; position:absolute; inset:0; box-shadow: inset 0 0 0 1px var(--line); border-radius: inherit; }
.about-figure-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem;
  text-align: center; padding: 1rem; border: 1px dashed var(--line-strong); color: var(--cream-3);
}
.about-figure-placeholder svg { width: 34px; height: 34px; color: var(--accent); opacity: .8; }
.about-figure-placeholder strong { color: var(--cream-2); font-size: .92rem; font-weight: 600; }
.about-figure-placeholder span { font-size: .8rem; }
.about-text p { color: var(--cream-2); margin-top: 1.1rem; max-width: 56ch; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.2rem; }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--accent); }
.stat span { font-size: .78rem; color: var(--cream-3); }

/* =============================================================
   11. Testimonials
   ============================================================= */
.testimonials-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 960px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 20px;
  padding: 1.9rem; display: flex; flex-direction: column; gap: 1rem;
}
.stars { display: flex; gap: .2rem; color: var(--accent); }
.stars svg { width: 16px; height: 16px; }
.testimonial-card blockquote { font-size: .98rem; color: var(--cream-2); font-style: italic; }
.testimonial-person { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.avatar-mono {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-family: var(--serif); font-weight: 600; color: #1a1408;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.testimonial-person strong { display: block; color: var(--cream); font-size: .92rem; }
.testimonial-person span { font-size: .78rem; color: var(--cream-3); }

/* =============================================================
   12. Contact
   ============================================================= */
.contact-grid { display: grid; gap: 2.2rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.1fr .9fr; } }

.contact-form { display: flex; flex-direction: column; gap: 1.1rem; position: relative; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; padding: 1.35rem 1rem .55rem; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--bg-3); color: var(--cream);
  font: inherit; font-size: .95rem;
  transition: border-color .3s;
}
.field select { appearance: none; padding-right: 2.6rem; }
.select-native-fallback {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cda15a' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px;
}
html.is-ready .select-native-fallback { display: none; }

.field-select { position: relative; }
.custom-select { position: relative; display: none; }
html.is-ready .custom-select { display: block; }

.custom-select-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  padding: 1.05rem 1rem; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--bg-3); color: var(--cream-3);
  font: inherit; font-size: .95rem; text-align: left;
  transition: border-color .3s;
}
.custom-select-trigger.has-value { color: var(--cream); }
.custom-select-trigger svg { width: 1.1rem; height: 1.1rem; color: var(--accent); flex: none; transition: transform .25s var(--ease-out); }
.custom-select-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.custom-select-trigger[aria-expanded="true"], .custom-select-trigger:focus-visible { border-color: var(--accent); outline: none; }

.custom-select-list {
  position: absolute; left: 0; right: 0; top: calc(100% + .5rem); z-index: 40;
  background: var(--bg-3); border: 1px solid var(--line-strong); border-radius: 12px;
  padding: .4rem; box-shadow: 0 20px 44px rgba(0,0,0,.45);
  max-height: 240px; overflow-y: auto;
}
.custom-select-list li {
  padding: .75rem .9rem; border-radius: 8px; font-size: .92rem; color: var(--cream-2); cursor: pointer;
  transition: background-color .2s, color .2s;
}
.custom-select-list li.is-active, .custom-select-list li:hover { background: var(--accent-soft); color: var(--cream); }
.custom-select-list li[aria-selected="true"] { color: var(--accent); font-weight: 600; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field label {
  position: absolute; left: 1rem; top: .95rem;
  pointer-events: none; transition: all .25s var(--ease-out);
  color: var(--cream-3); font-size: .95rem;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field.has-value label {
  top: .5rem; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
}
.field-select-label { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: .45rem; }

.cta-form-note { font-size: .82rem; color: var(--cream-3); }
.cta-submit { position: relative; overflow: hidden; }
.cta-form.is-sending .cta-submit .cta-label { opacity: 0; }
.cta-submit .cta-spinner {
  position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; pointer-events: none;
}
.cta-form.is-sending .cta-submit .cta-spinner { opacity: 1; }
.cta-spinner::after {
  content: ""; width: 18px; height: 18px;
  border: 2px solid rgba(26,20,8,.35); border-top-color: #1a1408; border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.cta-form { transition: opacity .5s var(--ease-out), transform .5s var(--ease-soft); }
.cta-form.is-sent { opacity: 0; transform: translateY(-10px); pointer-events: none; position: absolute; inset: 0; }
.cta-success {
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .6s var(--ease-out) .1s, transform .6s var(--ease-soft) .1s;
  border: 1px solid rgba(205,161,90,.4); background: var(--accent-soft); border-radius: 16px; padding: 2rem;
  text-align: center;
}
.cta-success.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.cta-success svg { width: 34px; height: 34px; color: var(--accent); margin-inline: auto; margin-bottom: .8rem; }
.cta-success h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.cta-success p { color: var(--cream-3); font-size: .9rem; }

.contact-info {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 20px; padding: 2rem;
  display: flex; flex-direction: column; gap: 1.5rem;
}
.contact-info-item { display: flex; gap: .9rem; align-items: flex-start; }
.contact-info-item svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: .1rem; }
.contact-info-item strong { display: block; color: var(--cream); font-size: .92rem; }
.contact-info-item span, .contact-info-item a { color: var(--cream-3); font-size: .88rem; }
.contact-info-item a:hover { color: var(--accent); }
.social-row { display: flex; gap: .7rem; margin-top: .3rem; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--cream-2); transition: all .3s;
}
.social-row a:hover { border-color: var(--accent); color: var(--accent); }
.social-row svg { width: 17px; height: 17px; }

/* =============================================================
   13. Footer
   ============================================================= */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: 3.5rem 2rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; } }
.footer-brand p { color: var(--cream-3); font-size: .9rem; margin-top: .9rem; max-width: 32ch; }
.footer-col h4 { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream); margin-bottom: 1rem; font-family: var(--sans); font-weight: 700; }
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a { color: var(--cream-3); font-size: .9rem; transition: color .3s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; align-items: center;
  font-size: .8rem; color: var(--cream-3);
}
.footer-bottom a { color: var(--cream-3); }
.footer-bottom a:hover { color: var(--accent); }

/* =============================================================
   14. Floating WhatsApp
   ============================================================= */
.whatsapp-float {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 400;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #06210f;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.35);
  animation: waPulse 2.6s ease-in-out infinite;
}
.whatsapp-float svg { width: 28px; height: 28px; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37,211,102,.35); }
  50%      { box-shadow: 0 10px 30px rgba(37,211,102,.6), 0 0 0 10px rgba(37,211,102,.08); }
}
@media (prefers-reduced-motion: reduce) { .whatsapp-float { animation: none; } }

/* =============================================================
   15. Scroll progress
   ============================================================= */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 600; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform-origin: 0 0; transform: scaleX(0);
}

/* =============================================================
   16. Responsive helpers
   ============================================================= */
@media (min-width: 1280px) {
  .hero-title { max-width: 20ch; }
}

/* =============================================================
   17. Event chooser grid (homepage "elige tu evento")
   ============================================================= */
.event-links-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .event-links-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .event-links-grid { grid-template-columns: repeat(3, 1fr); } }

.event-link-card {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 18px;
  display: block; width: 100%; aspect-ratio: 3 / 2; max-height: 260px;
  border: 1px solid var(--line);
  transition: border-color .35s, transform .4s var(--ease-soft);
}
.event-link-card:hover { border-color: rgba(205,161,90,.45); transform: translateY(-4px); }
.event-link-media { position: absolute; inset: 0; }
.event-link-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.2) contrast(1.08) brightness(.8);
  transition: transform .8s var(--ease-soft), filter .5s;
}
.event-link-card:hover .event-link-media img { transform: scale(1.08); filter: grayscale(0) contrast(1.1) brightness(.9); }
.event-link-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(10,8,5,.92) 0%, rgba(10,8,5,.6) 40%, rgba(10,8,5,.05) 72%);
}
.event-link-overlay {
  position: absolute; z-index: 2; inset: auto 0 0 0;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 1.3rem;
}
.event-link-text h3 { font-size: 1.3rem; color: var(--cream); }
.event-link-text > span { display: block; font-size: .85rem; color: var(--cream-3); margin-top: .35rem; }
.event-link-arrow {
  flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--cream); background: rgba(10,8,5,.3);
  transition: background-color .3s, border-color .3s, transform .35s var(--ease-out);
}
.event-link-card:hover .event-link-arrow { background: var(--accent); border-color: var(--accent); color: #1a1408; transform: translateX(4px); }
.event-link-arrow svg { width: 1.1rem; height: 1.1rem; }

/* =============================================================
   18. Dedicated event pages (bodas.html, xv-anos.html, etc.)
   ============================================================= */
.event-page-nav .nav-inner { justify-content: space-between; }
.event-page-back {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .85rem; font-weight: 600; color: var(--cream-2);
  transition: color .3s;
}
.event-page-back svg { width: 1.1rem; height: 1.1rem; color: var(--accent); }
.event-page-back:hover { color: var(--cream); }

.event-page-hero {
  position: relative; isolation: isolate; overflow: clip;
  min-height: 82vh; min-height: 82svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding-top: calc(var(--nav-h) + var(--quicknav-h) + 2rem);
  text-align: center;
}
.event-page-hero-bg { position: absolute; inset: 0; z-index: -3; }
.event-page-hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05) contrast(1.04) brightness(.88) sepia(.08);
}
.event-page-hero-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,7,4,.45) 0%, rgba(10,7,4,.2) 35%, rgba(10,7,4,.55) 75%, rgba(10,7,4,.85) 100%),
    radial-gradient(60% 55% at 50% 45%, transparent 0%, rgba(10,7,4,.35) 100%);
}
.event-page-hero-inner { position: relative; width: 100%; max-width: 640px; margin-inline: auto; }
.event-page-hero-inner .kicker { justify-content: center; color: var(--mobile-gold, var(--accent)); }
.event-page-hero-inner .kicker::before { display: none; }
.event-page-hero-title {
  font-family: var(--serif); font-weight: 400; font-style: italic; text-transform: none;
  font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.18; letter-spacing: 0;
  color: #f8f4ec; max-width: 18ch; margin-inline: auto; text-wrap: balance;
}
.event-page-hero-tag {
  margin-top: 1.3rem; font-family: var(--sans); font-size: .88rem; letter-spacing: .04em;
  color: var(--cream-2); max-width: 40ch; margin-inline: auto;
}
.event-page-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-top: 2rem; }

.event-page-body { padding-top: clamp(3.5rem, 8vw, 5rem); }
