/* ===================================================================
   GABRIELL MAGIC — v2
   Dirección: terciopelo · oro como foil · la carta como firma
=================================================================== */

:root {
  --bg:        #0a0a0c;
  --bg-2:      #0c0a0d;
  --surface:   #141016;
  --surface-2: #1b1620;
  --line:      rgba(255,255,255,.08);
  --line-gold: rgba(227,201,135,.16);
  --gold:      #c9a24b;
  --gold-soft: #e3c987;
  --oxblood:   #7e1023;
  --ox-2:      #9a1530;
  --red:       #c01933;
  --bone:      #f5f1e8;
  --text:      #f4f3ef;
  --muted:     #b6b5be;
  --muted-2:   #76757e;
  --maxw:      1180px;
  --r:         12px;
  --ease:      cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--maxw), 100% - 3rem); margin-inline: auto; }

/* ---------- Headings ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.2rem; }
.section-head__kicker {
  font-size: .74rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 1rem;
  display: inline-flex; align-items: center; gap: .8em;
}
.section-head__kicker::before,
.section-head__kicker::after {
  content: ""; width: 18px; height: 1px; background: var(--line-gold);
}
.section-head__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600; line-height: 1.06;
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  letter-spacing: .005em;
}
.section-head__sub { color: var(--muted); margin-top: 1rem; font-size: 1.02rem; }

/* ---------- Buttons (flat, foil) ---------- */
.btn {
  --pad: .9rem 1.7rem;
  display: inline-flex; align-items: center; justify-content: center;
  padding: var(--pad);
  font-weight: 600; font-size: .9rem; letter-spacing: .03em;
  border-radius: 8px; cursor: pointer; border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease);
}
.btn--gold { background: var(--gold); color: #1a1407; }
.btn--gold:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-gold); color: var(--text); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }
.btn--block { width: 100%; padding: 1.05rem; }

.s-red { color: var(--red); }

/* =========================================================
   NAV
========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,10,12,.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  width: min(var(--maxw), 100% - 3rem); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.nav__logo img { height: 40px; width: auto; }
.nav__wordmark {
  font-family: "Cormorant Garamond", serif; font-weight: 700;
  font-size: 1.5rem; letter-spacing: .05em; color: var(--text);
}
.nav__wordmark span {
  color: var(--gold); font-size: .58em; letter-spacing: .34em;
  margin-left: .4em; font-weight: 600;
}
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a {
  font-size: .88rem; font-weight: 500; color: var(--muted);
  position: relative; transition: color .25s;
}
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover:not(.nav__cta)::after { width: 100%; }
.nav__cta {
  padding: .55rem 1.3rem; border: 1px solid var(--gold);
  border-radius: 8px; color: var(--gold-soft) !important;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.nav__cta:hover { background: var(--gold); color: #1a1407 !important; }
.nav__toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 6px;
}
.nav__toggle span { width: 26px; height: 2px; background: var(--text); transition: .3s var(--ease); }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
  padding: 7rem 0 4rem;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 80% at 50% -2%, #17111a 0%, rgba(13,10,15,0) 56%),
    var(--bg);
}
.hero__glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(50% 46% at 72% 40%, rgba(150,16,35,.34), transparent 72%),
    radial-gradient(40% 40% at 28% 78%, rgba(126,16,35,.16), transparent 70%);
}
.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.12fr .88fr; gap: 2rem; align-items: center;
}
.hero__eyebrow {
  font-size: .76rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 600; margin-bottom: 1.5rem;
  padding-left: 40px; position: relative;
}
.hero__eyebrow::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 28px; height: 1px;
  background: var(--gold);
}
.hero__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600; line-height: 1; letter-spacing: .005em;
  font-size: clamp(2.9rem, 6vw, 4.6rem);
  color: var(--text);
}
.hero__title span {
  display: block; font-style: italic; font-weight: 500; color: var(--gold);
}
.hero__sub {
  color: var(--muted); font-size: 1.05rem; line-height: 1.6;
  max-width: 36ch; margin: 1.6rem 0 0;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.2rem; }
.hero__trust {
  margin-top: 2.4rem; font-size: .8rem; color: var(--muted-2); letter-spacing: .02em;
}
.hero__trust span {
  color: var(--gold); text-transform: uppercase; letter-spacing: .18em;
  font-weight: 600; font-size: .72rem; margin-right: .7em;
}

/* ---- signature: the card ---- */
.hero__cardwrap {
  position: relative; height: 380px;
  display: flex; align-items: center; justify-content: center;
}
.pcard { position: absolute; width: 244px; height: 344px; border-radius: 16px; }
.pcard--back {
  background: #15090c; border: 1px solid #5c2230;
  transform: rotate(-9deg) translateX(-18px);
}
.pcard--front {
  background: var(--bone); border: 1px solid var(--gold);
  box-shadow: inset 0 0 0 5px rgba(201,162,75,.18);
  transform: rotate(6deg);
}
.pcard__idx {
  position: absolute; font-family: "Cormorant Garamond", serif;
  font-weight: 700; font-size: 1.7rem; line-height: .8; color: var(--red);
  text-align: center;
}
.pcard__idx i { font-size: .62em; font-style: normal; display: block; }
.pcard__idx--tl { top: 16px; left: 18px; }
.pcard__idx--br { bottom: 16px; right: 18px; transform: rotate(180deg); }
.pcard__pip {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 7rem; color: var(--red);
}
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  width: 24px; height: 40px; border: 2px solid rgba(255,255,255,.28);
  border-radius: 20px; z-index: 2;
}
.hero__scroll span {
  position: absolute; top: 7px; left: 50%; margin-left: -2px;
  width: 4px; height: 8px; background: var(--gold); border-radius: 2px;
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0%{opacity:0;transform:translateY(0)} 40%{opacity:1} 80%,100%{opacity:0;transform:translateY(14px)} }

@media (prefers-reduced-motion: no-preference) {
  .pcard--front { animation: dealFront 1s var(--ease) both .15s, cardFloat 6s ease-in-out infinite 1.3s; }
  .pcard--back  { animation: dealBack 1s var(--ease) both; }
}
@keyframes dealFront { from { transform: translate(70px,56px) rotate(26deg); } to { transform: rotate(6deg); } }
@keyframes dealBack  { from { transform: translate(46px,44px) rotate(20deg); } to { transform: rotate(-9deg) translateX(-18px); } }
@keyframes cardFloat { 0%,100% { transform: rotate(6deg) translateY(0); } 50% { transform: rotate(6deg) translateY(-10px); } }

/* ---- carta aleatoria: color de palos negros ---- */
.pcard--front.pcard--black .pcard__idx,
.pcard--front.pcard--black .pcard__pip { color: #1b140f; }

/* =========================================================
   VALUE
========================================================= */
.value { padding: 6.5rem 0; }
.value__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.value__card {
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 2.2rem 1.7rem; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.value__card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.value__card:hover { transform: translateY(-6px); border-color: var(--line-gold); background: var(--surface-2); }
.value__card:hover::before { transform: scaleX(1); }
.value__suit { font-size: 1.7rem; display: block; margin-bottom: 1.1rem; color: var(--text); }
.value__suit.s-red { color: var(--red); }
.value__card h3 {
  font-family: "Cormorant Garamond", serif; font-size: 1.5rem;
  font-weight: 600; margin-bottom: .6rem; line-height: 1.15;
}
.value__card p { color: var(--muted); font-size: .95rem; }

/* =========================================================
   SERVICIOS
========================================================= */
.services { padding: 6.5rem 0; background: var(--bg-2); }
.services__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.service {
  position: relative; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); display: flex; flex-direction: column;
  background: var(--surface);
  transition: transform .5s var(--ease), border-color .5s;
}
.service:hover { transform: translateY(-6px); border-color: var(--line-gold); }
.service__media { position: relative; height: 280px; overflow: hidden; }
.service__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform .8s var(--ease);
}
.service:hover .service__media img { transform: scale(1.05); }
.service__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,.05) 50%, var(--surface) 100%);
}
.service__body { position: relative; z-index: 2; padding: 2rem 2.2rem 2.4rem; }
.service__pip {
  position: absolute; top: -1.7rem; right: 2rem; font-size: 2.4rem;
  color: var(--muted-2); opacity: .5;
}
.service__title {
  font-family: "Cormorant Garamond", serif; font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 700; letter-spacing: .01em; margin-bottom: .6rem;
}
.service__lead { color: var(--gold-soft); font-size: 1.05rem; line-height: 1.5; margin-bottom: 1.7rem; max-width: 38ch; }
.service__ideal-label {
  font-size: .7rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: .8rem;
}
.service__list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem .6rem; }
.service__list li {
  font-size: .84rem; color: var(--muted); padding: .42rem .9rem;
  border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.03);
}

/* =========================================================
   GALERÍA
========================================================= */
.gallery { padding: 6.5rem 0; }
.gallery__grid {
  width: min(var(--maxw), 100% - 3rem); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.gallery__item {
  position: relative; overflow: hidden; border-radius: var(--r);
  cursor: pointer; border: 1px solid var(--line); aspect-ratio: 1 / 1;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__item::after {
  content: "+"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 2.4rem; color: var(--gold-soft); background: rgba(10,10,12,.5);
  opacity: 0; transition: opacity .4s var(--ease); font-weight: 300;
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::after { opacity: 1; }

/* =========================================================
   CLIENTES
========================================================= */
.clients { padding: 6.5rem 0; background: var(--bg-2); }
.clients__grid {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden;
}
.clients__logo {
  background: var(--bg); aspect-ratio: 3/2;
  display: grid; place-items: center; padding: 1.4rem;
  transition: background .35s var(--ease);
}
.clients__logo:hover { background: var(--surface); }
.clients__logo img {
  max-height: 46px; max-width: 100%; width: auto; object-fit: contain;
  filter: brightness(0) invert(1) opacity(.5);
  transition: filter .4s var(--ease), transform .4s var(--ease);
}
.clients__logo:hover img { filter: none; transform: scale(1.08); }
.clients__more {
  text-align: center; margin-top: 2rem;
  font-family: "Cormorant Garamond", serif; font-style: italic;
  font-size: 1.3rem; color: var(--gold-soft);
}

/* =========================================================
   STATEMENT
========================================================= */
.statement { padding: 7.5rem 0; text-align: center; position: relative; }
.statement::before {
  content: "\201D"; position: absolute; top: 2.6rem; left: 50%; transform: translateX(-50%);
  font-family: "Cormorant Garamond", serif; font-size: 9rem; color: rgba(201,162,75,.14);
  line-height: 1;
}
.statement blockquote { max-width: 880px; margin: 0 auto; position: relative; }
.statement p {
  font-family: "Cormorant Garamond", serif; font-style: italic;
  font-size: clamp(1.6rem, 4vw, 2.8rem); line-height: 1.28; font-weight: 500;
  color: var(--text);
}
.statement cite {
  display: block; margin-top: 1.5rem; font-style: normal;
  letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; color: var(--gold);
}

/* =========================================================
   TRAYECTORIA
========================================================= */
.track { padding: 5rem 0; }
.track__inner {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line); border-radius: 16px; padding: 3.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2.5rem;
  flex-wrap: wrap; position: relative; overflow: hidden;
}
.track__inner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 120% at 0% 0%, rgba(150,16,35,.14), transparent 58%);
}
.track__text { max-width: 560px; position: relative; }
.track__text .section-head__title { text-align: left; margin: .5rem 0 1rem; }
.track__text .section-head__kicker::before { display: none; }
.track__text p { color: var(--muted); }
.track__actions { display: flex; gap: 1rem; flex-wrap: wrap; position: relative; }

/* =========================================================
   FAQ
========================================================= */
.faq { padding: 6.5rem 0; }
.faq .section-head__title { max-width: 22ch; margin: .6rem 0 2.2rem; }
.faq__list { display: flex; flex-direction: column; gap: .9rem; max-width: 820px; }
.faq__item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  transition: border-color .3s, background .3s;
}
.faq__item[open] { border-color: var(--line-gold); background: var(--surface-2); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 1.25rem 1.5rem;
  font-family: "Cormorant Garamond", serif; font-size: 1.28rem; font-weight: 600;
  color: var(--text); display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; color: var(--gold); font-size: 1.5rem; line-height: 1;
  flex-shrink: 0; transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 1.5rem 1.35rem; }
.faq__a p { color: var(--muted); font-size: .98rem; line-height: 1.7; margin: 0; }

/* =========================================================
   PÁGINAS INTERNAS (eventos, biografía, etc.)
========================================================= */
.subhero { padding: 9.5rem 0 3.5rem; background: var(--bg-2); border-bottom: 1px solid var(--line); position: relative; }
.breadcrumbs { font-size: .8rem; color: var(--muted); margin-bottom: 1.1rem; letter-spacing: .02em; }
.breadcrumbs a { color: var(--gold-soft); }
.breadcrumbs a:hover { color: var(--gold); }
.subhero__eyebrow {
  color: var(--gold-soft); font-size: .78rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1rem;
}
.subhero__title {
  font-family: "Cormorant Garamond", serif; font-weight: 700;
  font-size: clamp(2.3rem, 5.2vw, 3.7rem); line-height: 1.04;
  margin-bottom: 1.1rem; max-width: 18ch;
}
.subhero__title span { color: var(--gold-soft); font-style: italic; }
.subhero__sub { color: var(--muted); font-size: 1.1rem; max-width: 54ch; margin-bottom: 1.9rem; line-height: 1.6; }
.subhero__actions { display: flex; gap: .9rem; flex-wrap: wrap; }

.page-section { padding: 4.5rem 0; }
.page-section--alt { background: var(--bg-2); }
.page-prose { max-width: 64ch; }
.page-prose > p { color: var(--muted); margin-bottom: 1.05rem; line-height: 1.78; }
.page-prose h2 {
  font-family: "Cormorant Garamond", serif; font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 600; margin: 2.2rem 0 .9rem; color: var(--text);
}
.page-prose h2:first-child { margin-top: 0; }
.checklist { list-style: none; display: grid; gap: .7rem; margin: 1.2rem 0; padding: 0; }
.checklist li { position: relative; padding-left: 1.7rem; color: var(--text); line-height: 1.5; }
.checklist li::before { content: "♦"; position: absolute; left: 0; top: 0; color: var(--gold); }
.page-cta {
  background: var(--surface); border: 1px solid var(--line-gold); border-radius: var(--r);
  padding: 2.6rem; text-align: center; margin-top: 1rem;
}
.page-cta h2 { font-family: "Cormorant Garamond", serif; font-size: 1.9rem; margin-bottom: .6rem; }
.page-cta p { color: var(--muted); margin-bottom: 1.4rem; max-width: 46ch; margin-inline: auto; }
.page-cta__actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* Tira "Tipos de evento" (home) */
.evtypes { padding: 6rem 0; }
.evgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 2rem; }
.evcard {
  display: block; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.9rem 1.7rem;
  transition: transform .35s var(--ease), border-color .35s, background .35s;
}
.evcard:hover { transform: translateY(-6px); border-color: var(--line-gold); background: var(--surface-2); }
.evcard__suit { font-size: 1.5rem; color: var(--gold); display: block; margin-bottom: .8rem; }
.evcard h3 { font-family: "Cormorant Garamond", serif; font-size: 1.5rem; font-weight: 600; margin-bottom: .5rem; color: var(--text); }
.evcard p { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.evcard__more { color: var(--gold-soft); font-size: .88rem; font-weight: 600; }
@media (max-width: 1040px) { .evgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .evgrid { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .subhero { padding: 7.5rem 0 2.8rem; }
  .page-cta { padding: 2rem 1.4rem; }
}

/* =========================================================
   CONTACTO
========================================================= */
.contact { padding: 6.5rem 0 7.5rem; background: var(--bg-2); }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.contact__intro .section-head__kicker::before { display: none; }
.contact__intro .section-head__title { text-align: left; margin: .5rem 0 1rem; }
.contact__intro p { color: var(--muted); }
.socials { margin-top: 1.9rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.social {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .68rem 1.1rem; border-radius: 8px;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--text); font-weight: 600; font-size: .88rem;
  transition: transform .3s var(--ease), border-color .3s var(--ease),
              background .3s var(--ease), color .3s var(--ease);
}
.social svg { width: 20px; height: 20px; flex-shrink: 0; }
.social span { line-height: 1; }
.social:hover { transform: translateY(-3px); color: #fff; border-color: transparent; }
.social--ig:hover { background: linear-gradient(45deg, #f09433, #e6683c 30%, #dc2743 55%, #cc2366 75%, #bc1888); }
.social--fb:hover { background: #1877f2; }
.social--yt:hover { background: #ff0000; }
.social--gm:hover { background: #ea4335; }

.contact__form { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 2.2rem; }
.field { margin-bottom: 1.2rem; }
.field label {
  display: block; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .5rem;
}
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line);
  border-radius: 8px; padding: .85rem 1rem; color: var(--text);
  font-family: inherit; font-size: .95rem; transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,75,.15);
}
.field select { appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c9a24b' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.contact__note { margin-top: 1rem; font-size: .9rem; color: var(--gold-soft); text-align: center; }

/* =========================================================
   FOOTER
========================================================= */
.footer { padding: 3.5rem 0; border-top: 1px solid var(--line); text-align: center; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.footer__logo { height: 46px; width: auto; opacity: .9; }
.footer__suits { letter-spacing: .3em; font-size: 1rem; color: var(--muted-2); }
.footer__copy { color: var(--muted-2); font-size: .82rem; }

/* =========================================================
   WHATSAPP FLOTANTE
========================================================= */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: #1eb155; box-shadow: 0 12px 30px -10px rgba(18,140,75,.7);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: rgba(37,211,102,.45); z-index: -1;
  animation: waPulse 2.6s var(--ease) infinite;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 16px 38px -8px rgba(18,140,75,.9); }
@keyframes waPulse {
  0% { transform: scale(1); opacity: .6; }
  70% { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}
@media (max-width: 520px) { .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; } }

/* =========================================================
   LIGHTBOX
========================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(6,5,7,.94);
  display: grid; place-items: center; opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease); padding: 4vmin;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox__img {
  max-width: 90vw; max-height: 86vh; border-radius: 10px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); transform: scale(.96);
  transition: transform .35s var(--ease);
}
.lightbox.open .lightbox__img { transform: scale(1); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.07); border: 1px solid var(--line);
  color: #fff; cursor: pointer; border-radius: 50%; display: grid; place-items: center;
  transition: background .25s, transform .25s;
}
.lightbox__close { top: 4vmin; right: 4vmin; width: 48px; height: 48px; font-size: 1.6rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 2rem; }
.lightbox__nav--prev { left: 3vmin; }
.lightbox__nav--next { right: 3vmin; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--gold); color: #1a1407; }

/* =========================================================
   REVEAL
========================================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 980px) {
  .value__grid { grid-template-columns: repeat(2, 1fr); }
  .clients__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .contact__inner { grid-template-columns: 1fr; gap: 2.2rem; }
  .track__inner { padding: 2.4rem; }
}
@media (max-width: 880px) {
  .hero { padding-top: 6rem; }
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__cardwrap { height: 300px; order: -1; }
  .pcard { width: 210px; height: 296px; }
}
@media (max-width: 760px) {
  .nav__links {
    position: fixed; inset: 0; width: 100%; height: 100svh;
    background: var(--bg);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 2.1rem; padding: 2.5rem; transform: translateX(100%);
    transition: transform .4s var(--ease); z-index: 200;
  }
  .nav__links.open { transform: none; }
  .nav__links a { font-size: 1.35rem; color: var(--text); }
  .nav__toggle { display: flex; position: relative; z-index: 201; }
  .services__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .statement::before { font-size: 6rem; }
}
@media (max-width: 520px) {
  .value__grid { grid-template-columns: 1fr; }
  .clients__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients__logo { padding: 1.1rem; aspect-ratio: 16/9; }
  .clients__logo img { max-height: 40px; }
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item { aspect-ratio: 4 / 3; }
  .track__inner { flex-direction: column; align-items: flex-start; }
  .hero__cardwrap { height: 260px; }
  .pcard { width: 184px; height: 260px; }
  .pcard__pip { font-size: 5.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
