/* =========================================================
   Alvi Armani Uruguay — Implante Capilar Landing
   Lightweight, brand-aligned, animation-ready.
   ========================================================= */

:root {
  --black: #000000;
  --charcoal: #111111;
  --dark: #1a1a1a;
  --gold: #bd8838;
  --gold-light: #d4a35a;
  --peach: #ffcc7f;
  --slate: #888faa;
  --cream: #f7f5f0;
  --white: #ffffff;
  --gray: #6b6b6b;
  --gray-light: #e8e8e8;

  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --header-h: 120px;
  --radius: 14px;
  --radius-pill: 999px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 18px 50px rgba(0,0,0,0.12);
  --shadow-card: 0 10px 30px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s var(--ease-out);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(189,136,56,0.32);
}
.btn--primary:hover { box-shadow: 0 14px 30px rgba(189,136,56,0.42); }
.btn--secondary {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.7);
}
.btn--secondary:hover { background: rgba(255,255,255,0.18); border-color: var(--white); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px rgba(0,0,0,0.15);
  padding: 30px 0px 30px 0px;
}
.header__inner {
  width: min(1140px, 92%);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo img {
  height: 60px;
  width: auto;
  display: block;
}
.header__cta {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.78) 32%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.15) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: min(1140px, 92%);
  margin-inline: auto;
  padding: calc(var(--header-h) + 8vh) 24px 12vh;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  max-width: 620px;
  letter-spacing: -0.03em;
}
.hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 2.25rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
  line-height: 32px;
  margin-bottom: 36px;
}
.hero__cta {
  min-width: 240px;
  padding: 18px 34px;
  font-size: 0.9rem;
}
.hero__badges {
  position: absolute;
  bottom: 60%;
  right: 5%;
  z-index: 3;
  display: flex;
  gap: 20px;
  align-items: center;
}
.hero__badge {
  width: clamp(160px, 18vw, 260px);
  height: auto;
  filter: drop-shadow(0 16px 30px rgba(0,0,0,0.45));
  animation: float 6s ease-in-out infinite;
}
.hero__badge--group { animation-delay: -3s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 900px) {
  .hero__content {
    text-align: center;
    padding-top: calc(var(--header-h) + 4vh);
    padding-bottom: 10vh;
  }
  .hero__content::before {
    content: '';
    position: absolute;
    inset: calc(var(--header-h) + 2vh) -24px auto -24px;
    bottom: 6vh;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    z-index: -1;
  }
  .hero__title { margin-inline: auto; }
  .hero__sub { margin-inline: auto; }
  .hero__badges { display: none; }
  .hero__badge { width: 100px; }
  .hero__bg img { object-position: 70% center; }
}
@media (max-width: 520px) {
  .hero__badge { width: 84px; }
  .hero__badges { top: 12%; }
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section--cream { background: var(--cream); }
.section--dark {
  background: var(--charcoal);
  color: var(--white);
}
.section__eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.section--dark .section__eyebrow { color: var(--peach); }
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}
.section--dark .section__title { color: var(--white); }
.section__lead {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 640px;
  line-height: 1.65;
}
.section--dark .section__lead { color: rgba(255,255,255,0.72); }

/* ---------- Statement ---------- */
.statement__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.statement__copy { max-width: 520px; }

/* ---------- Video embed ---------- */
.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--black);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Benefits ---------- */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 54px;
}
.benefit {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 26px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.benefit:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.1); }
.benefit__icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #2d2c2b;
}
.benefit__icon img { width: 64px; height: 64px; object-fit: contain; }
.benefit__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}
.benefit__text {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.55;
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about__copy .section__lead { margin-bottom: 32px; }

/* ---------- Offers with animation ---------- */
.offers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.offer {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 28px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  transition: transform 0.25s var(--ease-out), background 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.offer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.10) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-out);
}
.offer:hover {
  transform: translateY(-6px) scale(1.02);
  background: rgba(255,255,255,0.10);
  border-color: rgba(212,163,90,0.4);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}
.offer:hover::before {
  transform: translateX(100%);
}
.offer__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.offer:hover .offer__icon {
  transform: scale(1.15) rotate(8deg);
  background: var(--gold-light);
}

/* Stagger reveal for offers */
.offer.reveal.is-visible:nth-child(1) { transition-delay: 0ms; }
.offer.reveal.is-visible:nth-child(2) { transition-delay: 100ms; }
.offer.reveal.is-visible:nth-child(3) { transition-delay: 200ms; }

/* ---------- Press ---------- */
.press__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.press__item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--white);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.press__item:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.1); }
.press__item img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Locations ---------- */
.locations__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.location {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.location:hover { transform: translateY(-4px); background: rgba(255,255,255,0.08); }
.location__flag {
  width: 40px;
  height: 28px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 14px;
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.location__city {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.location__addr {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.55;
}

/* ---------- CTA Final ---------- */
.cta-final {
  position: relative;
  background: var(--black);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.cta-final__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(189,136,56,0.18) 0%, transparent 45%),
    radial-gradient(circle at 70% 50%, rgba(136,143,170,0.14) 0%, transparent 45%);
}
.cta-final__content {
  position: relative;
  z-index: 1;
}
.cta-final__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 18px;
}
.cta-final__lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 620px;
  margin: 0 auto 34px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.65);
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}
.footer__brand img { margin-bottom: 18px; opacity: 0.95; }
.footer__brand p { max-width: 340px; line-height: 1.6; }
.footer__title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer__company {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin-bottom: 18px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--gold-light); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

/* ---------- Trust bar ---------- */
.trust-bar {
  padding: 56px 0;
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-bar__item {
  text-align: center;
  color: var(--white);
}
.trust-bar__number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 8px;
}
.trust-bar__label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

/* ---------- Guarantees ---------- */
.guarantees__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 54px;
}
.guarantee {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.guarantee:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.1);
}
.guarantee__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
}
.guarantee__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}
.guarantee__text {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.55;
}

/* ---------- WhatsApp float tooltip ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.whatsapp-float svg {
  width: 32px;
  height: 32px;
}
.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}
.whatsapp-float__tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: var(--dark);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.whatsapp-float__tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent var(--dark);
}
.whatsapp-float.is-active .whatsapp-float__tooltip,
.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(28px);
}
.js-reveal .reveal.is-visible { opacity: 1; transform: translateY(0); }
.js-reveal .reveal--left { transform: translateX(-40px); }
.js-reveal .reveal--right { transform: translateX(40px); }
.js-reveal .reveal--scale { transform: scale(0.94); }
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--left { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal--scale { transform: scale(0.94); }
.reveal--left.is-visible,
.reveal--right.is-visible { transform: translateX(0); }
.reveal--scale.is-visible { transform: scale(1); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .guarantees__grid { grid-template-columns: 1fr; }
  .trust-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .locations__grid { grid-template-columns: repeat(2, 1fr); }
  .offers__grid { grid-template-columns: 1fr; }
  .statement__grid, .about__grid { grid-template-columns: 1fr; gap: 42px; }
  .statement__copy, .about__copy { max-width: 100%; }
}
@media (max-width: 680px) {
  :root { --header-h: 84px; }
  .header { padding: 16px 0; }
  .logo img { height: 42px; }
  .header__cta {
    padding: 10px 16px;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
  }
  .section { padding: 78px 0; }
  .trust-bar { padding: 42px 0; }
  .trust-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .benefits__grid { grid-template-columns: 1fr; }
  .guarantees__grid { grid-template-columns: 1fr; }
  .locations__grid { grid-template-columns: 1fr; }
  .press__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__badges { display: none; }
  .hero__title { font-size: clamp(2rem, 8vw, 3rem); }

  /* Hero mobile improvements */
  .hero {
    min-height: 100svh;
    align-items: flex-end;
  }
  .hero__content {
    text-align: center;
    padding: calc(var(--header-h) + 16px) 20px 5vh;
    width: 100%;
  }
  .hero__content::before {
    inset: calc(var(--header-h) + 8px) -16px 2vh -16px;
    background: inherit;
    border-radius: 16px;
  }
  .hero__sub {
    font-size: clamp(1rem, 4.2vw, 1.25rem);
    line-height: 1.5;
    max-width: 100%;
  }
  .hero__cta {
    width: 100%;
    max-width: 320px;
    padding: 16px 24px;
  }
  .hero__bg img { object-position: 75% 25%; }

  /* WhatsApp float smaller on mobile */
  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 16px;
    right: 16px;
  }
  .whatsapp-float svg { width: 28px; height: 28px; }
}
@media (max-width: 360px) {
  .header__cta { display: none; }
}

/* ---------- Legal pages ---------- */
.legal { padding-top: calc(var(--header-h) + 60px); }
.legal__article {
  max-width: 780px;
  margin-inline: auto;
}
.legal__article h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.legal__updated {
  display: block;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 32px;
}
.legal__article h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin: 36px 0 14px;
}
.legal__article p {
  margin-bottom: 16px;
  color: var(--gray);
  line-height: 1.7;
}
.legal__article ul {
  margin: 0 0 20px 20px;
  list-style: disc;
  color: var(--gray);
  line-height: 1.7;
}
.legal__article li { margin-bottom: 6px; }
.legal__article a { color: var(--gold); text-decoration: underline; }
.legal__article a:hover { color: var(--gold-light); }


/* ---------- Temporary campaign modal ---------- */
/* ---------- Legal pages ---------- */
.legal { padding-top: calc(var(--header-h) + 60px); }
.legal__article {
  max-width: 780px;
  margin-inline: auto;
}
.legal__article h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.legal__updated {
  display: block;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 32px;
}
.legal__article h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin: 36px 0 14px;
}
.legal__article p {
  margin-bottom: 16px;
  color: var(--gray);
  line-height: 1.7;
}
.legal__article ul {
  margin: 0 0 20px 20px;
  list-style: disc;
  color: var(--gray);
  line-height: 1.7;
}
.legal__article li { margin-bottom: 6px; }
.legal__article a { color: var(--gold); text-decoration: underline; }
.legal__article a:hover { color: var(--gold-light); }


/* ---------- Temporary campaign modal ---------- */
.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;
}
.campaign-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 220ms var(--ease-out), visibility 220ms var(--ease-out);
}
.campaign-modal.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.campaign-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.campaign-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(5px);
}
.campaign-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(430px, 92vw);
  max-height: min(92vh, 760px);
  overflow: auto;
  border-radius: 16px;
  background: #111;
  box-shadow: 0 24px 80px rgba(0,0,0,0.45);
  transform: translateY(12px) scale(0.97);
  transition: transform 220ms var(--ease-out);
}
.campaign-modal.is-open .campaign-modal__dialog {
  transform: translateY(0) scale(1);
}
.campaign-modal__image {
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}
.campaign-modal__close {
  position: fixed;
  top: max(14px, calc(50% - min(46vh, 380px) - 20px));
  right: max(14px, calc(50% - min(215px, 46vw) - 10px));
  z-index: 3010;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255,255,255,0.9);
  border-radius: 50%;
  color: #fff;
  background: rgba(0,0,0,0.65);
  font: 400 32px/1 Arial, sans-serif;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 160ms var(--ease-out), background 160ms ease;
}
.campaign-modal__close:hover,
.campaign-modal__close:focus-visible {
  background: rgba(189,136,56,0.95);
  transform: scale(1.06);
  outline: none;
}
body.modal-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .campaign-modal,
  .campaign-modal__dialog,
  .campaign-modal__close { transition: none; }
}
