/* ============================================
   FERIA DE MANIZALES 70A — HAGAMOS MATCH
   Design System (DESIGN.md)
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Palette — DESIGN.md */
  --wine:           #b41b42;
  --wine-deep:      #67001e;
  --wine-bright:    #a93348;
  --wine-light:     #ffb2b8;
  --wine-fixed:     #ffdadb;
  --cream:          #fdfaf6;
  --cream-warm:     #fff9e6;
  --gold:           #d4a373;
  --gold-bright:    #f0bd8b;
  --gold-deep:      #65421a;
  --gold-fixed:     #ffdcbd;

  --bg:             #121414;
  --bg-2:           #1a1c1c;
  --surface:        #1e2020;
  --surface-2:      #282a2b;
  --surface-3:      #333535;
  --surface-low:    #1a1c1c;
  --surface-lowest: #0c0f0f;

  --text:           #ffffff;
  --text-2:         #e2e2e2;
  --text-3:         #debfc1;
  --text-muted:     #a58a8c;
  --text-cream:     #333124;
  --text-cream-2:   #4a4739;

  --border:         rgba(255, 178, 184, .14);
  --border-2:        rgba(255, 255, 255, .08);
  --border-gold:    rgba(212, 163, 115, .22);
  --border-cream:   rgba(140, 29, 52, .12);

  /* Type */
  --font: "Montserrat", system-ui, sans-serif;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(16px, 5vw, 64px);
  --radius-sm: 4px;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Easing */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
em { font-style: italic; }

::selection { background: var(--wine-light); color: var(--wine-deep); }

/* --- Scroll Progress --- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  z-index: 1000;
  transition: width .1s linear;
}

/* --- Floral decorative layer --- */
.floral-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.floral {
  position: absolute;
  width: 280px;
  height: 280px;
  filter: blur(.5px);
}
.floral--tl {
  top: -40px; left: -40px;
  animation: floralFloat 18s ease-in-out infinite;
}
.floral--br {
  bottom: -40px; right: -40px;
  width: 360px; height: 360px;
  animation: floralFloat 22s ease-in-out infinite reverse;
}
@keyframes floralFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(10px, 8px) rotate(6deg); }
}

/* --- Container --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* --- Section helpers --- */
.section__eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1.2rem;
}
.section__eyebrow--light { color: var(--gold-fixed); }

.section__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text);
}

.section__lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 400;
  color: var(--text-3);
  max-width: 620px;
  margin-top: 1.4rem;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 1rem 2.2rem;
  font-family: var(--font);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all .4s var(--ease);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.btn--primary {
  background: var(--cream);
  color: var(--wine);
}
.btn--primary:hover {
  background: var(--wine-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 178, 184, .25);
}

.btn--dark {
  background: var(--wine);
  color: var(--text);
}
.btn--dark:hover {
  background: var(--wine-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(140, 29, 52, .4);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(255, 255, 255, .25);
}
.btn--ghost:hover {
  border-color: var(--wine-light);
  color: var(--wine-light);
}

.btn--ghost-light {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(255, 255, 255, .2);
}
.btn--ghost-light:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.btn__arrow { transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: all .4s var(--ease);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.3rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding .4s var(--ease);
}
.nav.scrolled .nav__inner {
  padding: .8rem var(--gutter);
  background: rgba(18, 20, 20, .82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-2);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.nav__logo-mark {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.nav__logo-text { color: var(--text); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav__link {
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .3s;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--wine-light);
  transition: width .3s var(--ease);
}
.nav__link:hover { color: var(--wine-light); }
.nav__link:hover::after { width: 100%; }
.nav__link.active { color: var(--wine-light); }
.nav__link.active::after { width: 100%; }

.nav__cta {
  padding: .7rem 1.4rem;
  background: transparent;
  color: var(--wine-light) !important;
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 2px solid var(--wine-light);
  border-radius: var(--radius-full);
  transition: all .3s var(--ease);
}
.nav__cta:hover {
  background: var(--wine-light);
  color: var(--wine-deep) !important;
}
.nav__cta::after { display: none; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 950;
}
.nav__burger span {
  width: 26px; height: 2px;
  background: var(--text);
  transition: all .3s var(--ease);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--wine-deep);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(103, 0, 30, .35) 0%, rgba(103, 0, 30, .55) 100%),
    radial-gradient(ellipse 70% 60% at 50% 50%, transparent, rgba(103, 0, 30, .4));
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.hero__logo {
  width: clamp(140px, 22vw, 300px);
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 40px rgba(0, 0, 0, .35));
  animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 400;
  color: var(--text);
  max-width: 540px;
  line-height: 1.6;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .4);
}
.hero__cta {
  margin-top: .4rem;
  padding: 1.1rem 2.6rem;
  font-size: .82rem;
  background: transparent;
  color: var(--text);
  border: 3px solid var(--text);
  border-radius: var(--radius-full);
}
.hero__cta:hover {
  background: var(--text);
  color: var(--wine-deep);
  transform: scale(1.04);
  box-shadow: 0 16px 50px rgba(255, 255, 255, .15);
}
.hero__footer-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 0 var(--gutter);
  pointer-events: none;
}
.hero__footer-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
}

/* --- About --- */
.about {
  padding: clamp(5rem, 12vh, 9rem) 0;
  background: var(--cream);
  color: var(--text-cream);
  position: relative;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.about__left {
  position: sticky;
  top: 120px;
}
.about__logo {
  text-align: left;
}
.about__logo-img {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
}
.about__date {
  margin-top: 1.2rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--text-cream-2);
}
.about__title {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: 2rem;
  color: var(--text-cream);
}
.about__title em {
  color: var(--wine);
}
.about__text p {
  margin-bottom: 1.4rem;
  color: var(--text-cream-2);
  font-size: 1.02rem;
  line-height: 1.8;
}
.about__text strong {
  color: var(--wine);
  font-weight: 700;
}
.about__lead {
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  color: var(--text-cream) !important;
  line-height: 1.6 !important;
}
.about__highlight {
  color: var(--text-cream) !important;
  font-size: 1.08rem !important;
  font-weight: 500;
  border-left: 3px solid var(--wine);
  padding-left: 1.4rem;
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(3rem, 5vw, 4rem);
  border-top: 1px solid var(--border-cream);
}
.stat {
  text-align: center;
}
.stat__num {
  display: block;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
  color: var(--wine);
  letter-spacing: -.02em;
}
.stat__label {
  display: block;
  margin-top: .6rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-cream-2);
}

/* --- Hub --- */
.hub {
  padding: clamp(5rem, 10vh, 8rem) 0;
  background: var(--bg);
  position: relative;
}
.hub__header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.hub__header .section__lead {
  margin-left: auto;
  margin-right: auto;
}
.hub__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hub-card {
  background: var(--bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 2.2rem 1.8rem;
  cursor: pointer;
  transition: all .5s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 210px;
}
.hub-card__content {
  position: relative;
  z-index: 2;
}
.hub-card--bg .hub-card__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(12, 15, 15, .45) 0%, rgba(12, 15, 15, .82) 100%),
    rgba(12, 15, 15, .35);
  transition: background .4s var(--ease);
}
.hub-card--bg:hover .hub-card__scrim {
  background:
    linear-gradient(180deg, rgba(12, 15, 15, .3) 0%, rgba(12, 15, 15, .7) 100%),
    rgba(12, 15, 15, .25);
}
.hub-card--bg .hub-card__arrow {
  position: relative;
  z-index: 2;
}
.hub-card--bg .hub-card__title,
.hub-card--bg .hub-card__sub {
  text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
}
.hub-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 178, 184, .06), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
}
.hub-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--wine-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.hub-card:hover {
  background-color: var(--surface);
}
.hub-card--bg:hover {
  background-color: transparent;
}
.hub-card:hover::before { opacity: 1; }
.hub-card--bg:hover::before { opacity: 0; }
.hub-card:hover::after { transform: scaleX(1); }
.hub-card__num {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold-bright);
  letter-spacing: .04em;
  margin-bottom: 1.2rem;
}
.hub-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: .4rem;
  color: var(--text);
  letter-spacing: .01em;
}
.hub-card__sub {
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.5;
  letter-spacing: .02em;
}
.hub-card__arrow {
  margin-top: 1.4rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--wine-light);
  opacity: 0;
  transform: translateX(-8px);
  transition: all .4s var(--ease);
}
.hub-card:hover .hub-card__arrow {
  opacity: 1;
  transform: translateX(0);
}
.hub-card--pending {
  opacity: .55;
}
.hub-card--pending .hub-card__title::after {
  content: ' · Próximamente';
  font-size: .7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .05em;
}
.hub-card--brand {
  background:
    radial-gradient(130% 150% at 100% 0%, rgba(212, 163, 115, .2) 0%, transparent 55%),
    linear-gradient(150deg, var(--wine) 0%, var(--wine-deep) 62%, #2a0a14 100%);
  border: 1px solid rgba(240, 189, 139, .35);
}
.hub-card--brand .hub-card__num { color: var(--gold-bright); }
.hub-card--brand .hub-card__sub { color: rgba(255, 255, 255, .82); }
.hub-card--brand .hub-card__arrow {
  opacity: 1;
  transform: none;
  color: var(--gold-fixed);
}
.hub-card--brand:hover {
  border-color: var(--gold);
  background-color: transparent;
}
.hub-card--brand::after { background: var(--gold); }

/* --- Modal --- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1rem, 4vh, 3rem) var(--gutter);
}
.modal.open {
  display: flex;
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 15, 15, .82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn .3s var(--ease) both;
}
.modal__dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 920px;
  max-height: calc(100vh - clamp(2rem, 8vh, 6rem));
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: modalIn .45s var(--ease-out) both;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal__close {
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 10;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--border-2);
  border-radius: 50%;
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.modal__close:hover {
  background: var(--wine-light);
  color: var(--wine-deep);
  transform: rotate(90deg);
}
.modal__body {
  overflow-y: auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  scrollbar-width: thin;
  scrollbar-color: var(--surface-3) transparent;
}
.modal__body::-webkit-scrollbar { width: 8px; }
.modal__body::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 4px; }
.modal__body::-webkit-scrollbar-track { background: transparent; }

/* Modal header */
.modal__header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-2);
  position: relative;
}
.modal__header--bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2.5rem);
  margin: calc(clamp(1.5rem, 4vw, 2.5rem) * -1) calc(clamp(1.5rem, 4vw, 2.5rem) * -1) 2rem;
  border-bottom: none;
  overflow: hidden;
  min-height: 220px;
  align-items: flex-end;
}
.modal__header-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(12, 15, 15, .35) 0%, rgba(12, 15, 15, .82) 100%),
    rgba(12, 15, 15, .3);
}
.modal__header-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  width: 100%;
}
.modal__header--bg .modal__num,
.modal__header--bg .modal__title,
.modal__header--bg .modal__cat {
  text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}
.modal__header--bg .modal__title { color: var(--text); }
.modal__header--bg .modal__cat { color: var(--gold-fixed); }
.modal__num {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: .85;
  color: var(--wine-light);
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.modal__heading { flex: 1; }
.modal__cat {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: .5rem;
}
.modal__title {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--text);
}

/* Modal CTA WhatsApp (inside header) */
.modal__cta-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-left: auto;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  padding: .7rem 1.2rem .7rem .9rem;
  font-family: var(--font);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 3px 14px rgba(37, 211, 102, .3);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.modal__cta-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(37, 211, 102, .45);
  background: #1ebe5d;
}
.modal__cta-whatsapp-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Modal description (below header) */
.modal__desc {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-2);
}
.modal__desc-tagline {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  font-style: italic;
  color: var(--wine-light);
  line-height: 1.4;
  margin-bottom: .8rem;
}
.modal__desc-tagline--link {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  transition: color .3s var(--ease), opacity .3s var(--ease);
}
.modal__desc-tagline--link:hover {
  color: var(--gold-bright);
  opacity: .9;
}
.modal__desc-gallery-icon {
  font-size: .8em;
  transition: transform .3s var(--ease);
}
.modal__desc-tagline--link:hover .modal__desc-gallery-icon {
  transform: scale(1.2);
}
.modal__desc-text {
  font-size: .98rem;
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 720px;
}

/* Sub-gallery buttons (Desfiles y Carrozas) */
.modal__gallery-buttons {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-2);
}
.modal__gallery-buttons-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .9rem;
}
.modal__gallery-buttons-row {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}
.modal__gallery-btn {
  font-family: var(--font);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--wine-fixed);
  background: rgba(180, 27, 66, .12);
  border: 1px solid rgba(255, 178, 184, .28);
  border-radius: var(--radius-lg);
  padding: .65rem 1.1rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .18rem;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.modal__gallery-btn:hover {
  background: var(--wine);
  color: #fff;
  border-color: var(--wine);
  transform: translateY(-2px);
}
.modal__gallery-btn-name {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.25;
}
.modal__gallery-btn-att {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--gold-bright);
}
.modal__gallery-btn--disabled {
  opacity: .55;
  cursor: not-allowed;
  display: inline-flex;
  align-items: center;
}
.modal__gallery-btn--disabled:hover {
  background: rgba(180, 27, 66, .12);
  color: var(--wine-fixed);
  border-color: rgba(255, 178, 184, .28);
  transform: none;
}
.modal__gallery-btn-note {
  font-size: .64rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: .02em;
  color: var(--gold-bright);
  background: rgba(212, 163, 115, .14);
  border-radius: var(--radius-full);
  padding: .12rem .5rem;
}

/* Proposal cards (inside modal) */
.proposals {
  display: grid;
  gap: 1.5rem;
}
.pkg {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .4s;
}
.pkg:hover { border-color: var(--border); }
.pkg--featured {
  border-color: rgba(240, 189, 139, .4);
  background:
    linear-gradient(180deg, rgba(212, 163, 115, .09), transparent 45%),
    var(--surface);
}
.pkg--featured:hover { border-color: var(--gold); }
.pkg__body {
  padding: clamp(1.4rem, 3vw, 2rem);
}
.pkg__role {
  display: inline-block;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(212, 163, 115, .12);
  border: 1px solid rgba(212, 163, 115, .28);
  border-radius: var(--radius-full);
  padding: .4rem .9rem;
  margin-bottom: 1.1rem;
}
.pkg__tagline {
  font-size: 1rem;
  font-weight: 600;
  font-style: italic;
  color: var(--wine-light);
  line-height: 1.5;
  margin: -.35rem 0 1rem;
}
.pkg__desc {
  color: var(--text-2);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 1.3rem;
  font-weight: 400;
}
.price-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .2rem;
  margin-bottom: 1.4rem;
  padding: .95rem 1.3rem;
  background: linear-gradient(135deg, rgba(180, 27, 66, .22), rgba(212, 163, 115, .12));
  border: 1px solid rgba(255, 178, 184, .25);
  border-radius: var(--radius-md);
}
.price-box__label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.price-box__value {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  letter-spacing: .01em;
}
.price-box__value small {
  font-size: .85rem;
  font-weight: 600;
  color: var(--gold-bright);
  margin-left: .15rem;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin-bottom: 1.4rem;
}
.benefit-tile {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .9rem 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-md);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.benefit-tile:hover { border-color: var(--border); transform: translateY(-2px); }
.pkg-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--wine-light);
  margin-top: .1rem;
}
.benefit-tile__text {
  font-size: .82rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-2);
}
.benefit-tile__text strong {
  display: block;
  font-size: .77rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--text);
  margin-bottom: .1rem;
}
.pkg__forwho {
  font-size: .92rem;
  color: var(--text-2);
  margin-bottom: 1.3rem;
  padding-left: 1rem;
  border-left: 2px solid var(--border-gold);
}
.pkg__forwho strong { color: var(--gold-bright); }
.pkg__cta-row {
  display: flex;
  justify-content: flex-end;
}
.pkg-conditions {
  margin-top: .5rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
}
.pkg-conditions__title {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1rem;
}
.pkg-conditions__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.pkg-conditions__list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: .8rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-muted);
}
.pkg-conditions__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: var(--gold);
  opacity: .8;
}
.proposal {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .4s;
}
.proposal:hover { border-color: var(--border); }
.proposal__body {
  padding: clamp(1.4rem, 3vw, 2rem);
}
.proposal__name {
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 1rem;
  line-height: 1;
  color: var(--text);
}
.proposal__desc {
  color: var(--text-2);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 1.4rem;
  font-weight: 400;
}
.proposal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
  margin-bottom: 1.4rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
}
.meta-item {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.meta-item__label {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.meta-item__value {
  font-size: .86rem;
  font-weight: 600;
  color: var(--text);
}
.attendee-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.attendee-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .1rem;
  padding: .55rem .9rem;
  background: linear-gradient(135deg, rgba(180, 27, 66, .14), rgba(212, 163, 115, .12));
  border: 1px solid rgba(255, 178, 184, .3);
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.attendee-pill:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}
.attendee-pill__name {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.attendee-pill__count {
  font-size: .82rem;
  font-weight: 800;
  color: var(--gold-bright);
  white-space: nowrap;
}
.proposal__why {
  font-size: .98rem;
  font-style: italic;
  font-weight: 500;
  color: var(--gold-bright);
  margin-bottom: 1.4rem;
  line-height: 1.6;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
}
.proposal__includes {
  margin-bottom: 1.4rem;
}
.proposal__includes-title {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .8rem;
}
.proposal__includes ul {
  display: grid;
  gap: .5rem;
}
.proposal__includes li {
  font-size: .9rem;
  color: var(--text-2);
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.5;
  font-weight: 400;
}
.proposal__includes li::before {
  content: '';
  position: absolute;
  left: 0; top: .55em;
  width: 6px; height: 6px;
  background: var(--wine-light);
  border-radius: 50%;
}
.proposal__note {
  color: var(--text-muted);
  font-size: .85rem;
  font-style: italic;
  margin-bottom: 1.4rem;
}
.proposal__pricing {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}
.price-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.1rem;
  background: rgba(255, 178, 184, .08);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 700;
  color: var(--wine-light);
}
.price-tag__label {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Pending message (inside modal) */
.pending-msg {
  color: var(--text-muted);
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 400;
  text-align: center;
  padding: 3rem 1rem;
  line-height: 1.7;
}

/* --- Contact --- */
.contact {
  position: relative;
  padding: clamp(5rem, 12vh, 9rem) 0;
  overflow: hidden;
  text-align: center;
  background: var(--wine);
}
.contact__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.contact__bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(255, 178, 184, .12), transparent 70%);
}
.contact__bg-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255, 178, 184, .08), transparent 70%);
  border-radius: 50%;
}
.contact__inner {
  position: relative;
  z-index: 2;
}
.contact__title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
  font-weight: 400;
  margin-bottom: 1.4rem;
  color: var(--text);
}
.contact__title em {
  color: var(--wine-light);
}
.contact__lead {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-3);
  max-width: 520px;
  margin: 0 auto 2.6rem;
  line-height: 1.7;
}
.contact__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.contact__info {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  flex-wrap: wrap;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.contact__info-item {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  text-align: center;
}
.contact__info-label {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-3);
}
.contact__info-value {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
}

/* --- Footer --- */
.footer {
  padding: 0;
  border-top: 1px solid var(--border-2);
  background: var(--surface-lowest);
}
.footer__img-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: clamp(2rem, 5vw, 3rem) var(--gutter);
  border-bottom: 1px solid var(--border-2);
}
.footer__img {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-2);
}
.footer__copy {
  font-size: .74rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* --- Back to top --- */
.backtop {
  position: fixed;
  bottom: 2rem; right: 5.5rem;
  width: 46px; height: 46px;
  background: var(--wine-light);
  color: var(--wine-deep);
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all .4s var(--ease);
  z-index: 800;
  border-radius: var(--radius-full);
}
.backtop.show {
  opacity: 1;
  pointer-events: auto;
}
.backtop:hover {
  background: var(--text);
  transform: translateY(-3px);
}

/* --- Gallery Modal --- */
.gallery {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vh, 2rem);
}
.gallery.open { display: flex; }
.gallery__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 10, .94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn .3s var(--ease) both;
}
.gallery__close {
  position: absolute;
  top: clamp(1rem, 3vh, 2rem); right: clamp(1rem, 3vw, 2rem);
  z-index: 10;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.gallery__close:hover {
  background: var(--wine-light);
  color: var(--wine-deep);
  transform: rotate(90deg);
}
.gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.gallery__nav:hover {
  background: var(--wine-light);
  color: var(--wine-deep);
  border-color: var(--wine-light);
}
.gallery__nav--prev { left: clamp(1rem, 3vw, 2.5rem); }
.gallery__nav--next { right: clamp(1rem, 3vw, 2.5rem); }
.gallery__stage {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.gallery__img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  animation: galleryIn .4s var(--ease-out) both;
}
@keyframes galleryIn {
  from { opacity: 0; transform: scale(.96); }
  to { opacity: 1; transform: scale(1); }
}
.gallery__counter {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--text-2);
}
.gallery__desc {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(4rem, 9vh, 5rem);
  margin: 0 auto;
  z-index: 4;
  width: min(680px, calc(100% - 2.5rem));
  text-align: center;
  background: rgba(8, 10, 10, .7);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  padding: .85rem 1.4rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn .4s var(--ease-out) both;
}
.gallery__desc-title {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 178, 184, .85);
  margin-bottom: .3rem;
}
.gallery__desc-text {
  font-size: .78rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, .72);
}
.gallery__thumbs {
  position: absolute;
  bottom: clamp(1rem, 3vh, 2rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: .5rem;
  max-width: 90vw;
  overflow-x: auto;
  padding: .5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--surface-3) transparent;
}
.gallery__thumbs::-webkit-scrollbar { height: 6px; }
.gallery__thumbs::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 3px; }
.gallery__thumb {
  flex-shrink: 0;
  width: 64px; height: 48px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: none;
  transition: border-color .3s, opacity .3s;
  opacity: .55;
}
.gallery__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.gallery__thumb:hover { opacity: .85; }
.gallery__thumb.is-active {
  border-color: var(--wine-light);
  opacity: 1;
}

/* --- Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1100px) {
  .hub__grid { grid-template-columns: repeat(3, 1fr); }
  .about__grid { grid-template-columns: 1fr 1.3fr; }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    top: 0; right: 0;
    width: 280px;
    height: 100vh;
    background: var(--bg-2);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2.5rem;
    gap: 1.8rem;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    border-left: 1px solid var(--border-2);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__link { font-size: .95rem; }
  .nav__burger { display: flex; }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about__left { position: static; }

  .hub__grid { grid-template-columns: repeat(2, 1fr); }

  .about__stats { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }

  .modal__header { gap: 1rem; }
  .modal__num { font-size: 2.5rem; }

  .gallery__nav { width: 44px; height: 44px; font-size: 1.7rem; }
  .gallery__img { max-height: 65vh; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }

  .nav__logo-text { display: none; }

  .hub__grid { grid-template-columns: 1fr; }

  .about__stats { grid-template-columns: repeat(2, 1fr); }

  .proposal__body { padding: 1.4rem; }
  .proposal__meta { gap: 1rem 1.5rem; }
  .benefit-grid { grid-template-columns: 1fr; }
  .pkg__cta-row { justify-content: stretch; }

  .modal__header { flex-direction: column; gap: .8rem; }
  .modal__header-content { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .modal__cta-whatsapp { margin-left: 0; width: 100%; justify-content: center; padding: .85rem 1.2rem; }
  .modal__num { font-size: 2.2rem; }

  .gallery__nav { width: 38px; height: 38px; font-size: 1.4rem; }
  .gallery__nav--prev { left: .6rem; }
  .gallery__nav--next { right: .6rem; }
  .gallery__img { max-height: 55vh; }
  .gallery__thumb { width: 52px; height: 40px; }

  .contact__info { gap: 1.5rem; }
  .footer__inner { flex-direction: column; text-align: center; }

  .backtop { bottom: 1.2rem; right: 5rem; width: 42px; height: 42px; }

  .floral { width: 200px; height: 200px; }
  .floral--br { width: 260px; height: 260px; }
}

@media (max-width: 380px) {
  .about__stats { grid-template-columns: 1fr; }
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 1.6rem;
  right: 8rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: .6rem;
  background: #25D366;
  color: #fff;
  border-radius: var(--radius-full);
  padding: .85rem 1.2rem .85rem 1rem;
  text-decoration: none;
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .35);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
  animation: waPulse 2.5s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 6px 28px rgba(37, 211, 102, .45);
  animation: none;
}
.whatsapp-float__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.whatsapp-float__text {
  white-space: nowrap;
  transition: opacity .3s var(--ease);
}

/* Patrocinar mode (modal open) */
.whatsapp-float.whatsapp-float--patrocinar {
  background: var(--wine);
  padding: .85rem 1.4rem .85rem 1rem;
  box-shadow: 0 4px 20px rgba(180, 27, 66, .4);
  animation: none;
}
.whatsapp-float.whatsapp-float--patrocinar:hover {
  box-shadow: 0 6px 28px rgba(180, 27, 66, .55);
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, .35); }
  50% { box-shadow: 0 4px 28px rgba(37, 211, 102, .55), 0 0 0 8px rgba(37, 211, 102, .12); }
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 1.2rem;
    right: 6rem;
    padding: .75rem 1rem .75rem .85rem;
    font-size: .78rem;
  }
  .whatsapp-float__icon { width: 20px; height: 20px; }
  .backtop { bottom: 1.2rem; right: 4.5rem; }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .floral { animation: none; }
}