/* ==========================================================================
   ProDi — Productos Digitales
   Biblioteca nocturna: charcoal cálido + oro antiguo, acentos por categoría.
   ========================================================================== */

:root{
  --bg: #f4ede0;
  --bg-soft: #efe4cf;
  --surface: #fbf6eb;
  --surface-2: #f1e6d2;
  --line: rgba(40,30,18,.10);
  --line-strong: rgba(40,30,18,.20);

  --ink: #241c12;
  --ink-dim: #5b4d3a;
  --muted: #8c7a63;

  --gold: #a8711f;
  --gold-bright: #d9a441;
  --gold-dim: #8a6a2e;
  --gold-text: #1c130a;

  --whatsapp: #2fbf6e;
  --whatsapp-bright: #3fe085;

  --shadow-lg: 0 30px 60px -20px rgba(40,30,18,.22);
  --shadow-md: 0 14px 30px -14px rgba(40,30,18,.18);

  --font-display: 'Fraunces', ui-serif, Georgia, serif;
  --font-body: 'Archivo', ui-sans-serif, system-ui, sans-serif;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 9px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3{
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}
em{ font-style: italic; color: var(--gold); }
p{ margin: 0; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
button{ font-family: inherit; }

::selection{ background: var(--gold); color: #1a1408; }

/* -------------------------------------------------------------------- */
/* Grain overlay                                                        */
/* -------------------------------------------------------------------- */
.grain{
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* -------------------------------------------------------------------- */
/* Buttons                                                               */
/* -------------------------------------------------------------------- */
.btn{
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.5em;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #201306;
  box-shadow: 0 10px 24px -10px rgba(217,164,65,.55);
}
.btn-primary:hover{ box-shadow: 0 16px 30px -10px rgba(217,164,65,.7); }
.btn-lg{ padding: 1em 2em; font-size: 1.05rem; }
.btn-ghost{
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover{ border-color: var(--gold); color: var(--gold); }
.btn-whatsapp{
  background: var(--whatsapp);
  color: #06210f;
  box-shadow: 0 10px 22px -10px rgba(47,191,110,.55);
}
.btn-whatsapp:hover{ background: var(--whatsapp-bright); }
.icon-wa{ width: 18px; height: 18px; fill: currentColor; }

/* -------------------------------------------------------------------- */
/* Header                                                                */
/* -------------------------------------------------------------------- */
.site-header{
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(244,237,224,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand{ display: flex; align-items: center; gap: 12px; }
.brand-mark{
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}
.brand-text{ display: flex; flex-direction: column; line-height: 1.1; }
.brand-name{ font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: .02em; }
.brand-sub{ font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.site-nav{ display: flex; align-items: center; gap: clamp(10px, 3vw, 28px); }
.nav-link{ font-size: .92rem; color: var(--ink-dim); transition: color .2s; }
.nav-link:hover{ color: var(--gold); }
@media (max-width: 640px){ .nav-link{ display: none; } }

/* -------------------------------------------------------------------- */
/* Hero                                                                  */
/* -------------------------------------------------------------------- */
.hero{
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
  gap: 48px;
  align-items: center;
  padding: clamp(56px, 9vw, 120px) clamp(20px, 5vw, 64px) clamp(40px, 6vw, 80px);
  max-width: 1320px;
  margin: 0 auto;
  overflow: hidden;
}
.hero-atmosphere{ position: absolute; inset: -10% -5%; z-index: -1; pointer-events: none; }
.blob{
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .32;
  animation: drift 15s ease-in-out infinite;
}
.blob-gold{ width: 360px; height: 360px; background: var(--gold-bright); top: -80px; left: -60px; }
.blob-violet{ width: 320px; height: 320px; background: #9b5cff; bottom: -100px; right: -60px; animation-delay: -7s; }
@keyframes drift{
  0%, 100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(24px,-18px) scale(1.1); }
}
.eyebrow{
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 14px;
}
.hero-title{
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  line-height: 1.04;
  margin-bottom: 22px;
  animation: rise .8s cubic-bezier(.2,.8,.2,1) both;
}
.hero-sub{
  max-width: 46ch;
  color: var(--ink-dim);
  font-size: 1.05rem;
  margin-bottom: 30px;
  animation: rise .8s .1s cubic-bezier(.2,.8,.2,1) both;
}
.hero-sub strong{ color: var(--gold-bright); font-weight: 700; }
.hero-actions{ display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; animation: rise .8s .18s cubic-bezier(.2,.8,.2,1) both; }
.hero-stats{ display: flex; gap: clamp(20px, 4vw, 44px); animation: rise .8s .26s cubic-bezier(.2,.8,.2,1) both; }
.hero-stats > div{ display: flex; flex-direction: column; }
.hero-stats span{ font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); font-weight: 600; }
.hero-stats small{ color: var(--muted); font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; margin-top: 2px; }

@keyframes rise{
  from{ opacity: 0; transform: translateY(18px); }
  to{ opacity: 1; transform: translateY(0); }
}

.hero-shelf{
  position: relative;
  height: clamp(260px, 38vw, 420px);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--surface-2), var(--surface) 70%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 22px;
}
.hero-shelf::before{
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 20% 0%, rgba(217,164,65,.16), transparent 60%);
}
.btn-music{
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
  padding: .6em 1.1em .6em .8em;
}
.btn-music:hover{ border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-music-icon{
  display: grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(160deg, var(--gold-bright), var(--gold));
  color: #201306; font-size: .74rem;
}
@media (max-width: 640px){ .btn-music-label{ display: none; } .btn-music{ padding: .6em .7em; } }

.spine{
  position: relative;
  flex: 1 1 auto;
  border-radius: 5px 5px 2px 2px;
  min-width: 14px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.25), 0 8px 16px -8px rgba(0,0,0,.5), 0 0 22px -6px color-mix(in srgb, currentColor 80%, transparent);
  color: inherit;
  animation: spine-in .6s cubic-bezier(.2,.8,.2,1) both;
  cursor: pointer;
  transition: filter .2s;
}
.spine:hover{ filter: brightness(1.25); }
@keyframes spine-in{
  from{ transform: scaleY(0); opacity: 0; }
  to{ transform: scaleY(1); opacity: 1; }
}
@media (max-width: 880px){
  .hero{ grid-template-columns: 1fr; }
  .hero-shelf{ order: -1; }
}

/* -------------------------------------------------------------------- */
/* Generic full-bleed section band + centered inner container           */
/* -------------------------------------------------------------------- */
.section-inner{
  max-width: 1320px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 64px);
  position: relative;
}

.reveal{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1);
}
.reveal.in-view{ opacity: 1; transform: translateY(0); }

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

/* -------------------------------------------------------------------- */
/* Search band                                                          */
/* -------------------------------------------------------------------- */
.search-band{
  background: var(--surface-2);
  border-block: 1px solid var(--line);
  position: relative;
}
.search-inner{
  max-width: 900px;
  padding-block: clamp(28px, 4vw, 40px);
}
.search-box{
  display: flex; align-items: center; gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 14px 22px;
  transition: border-color .2s, box-shadow .2s;
}
.search-box:focus-within{ border-color: var(--gold); box-shadow: 0 0 0 4px rgba(217,164,65,.14); }
.icon-search{ width: 18px; height: 18px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2; }
#global-search{
  flex: 1; background: none; border: none; outline: none;
  color: var(--ink); font-family: var(--font-body); font-size: .98rem;
}
#global-search::placeholder{ color: var(--muted); }
.search-hint{ font-size: .72rem; color: var(--muted); white-space: nowrap; }

.search-results{
  position: absolute; left: clamp(20px, 5vw, 64px); right: clamp(20px, 5vw, 64px);
  top: calc(100% - 40px);
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 360px; overflow-y: auto;
  z-index: 40;
}
.search-result-item{
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background .15s;
}
.search-result-item:last-child{ border-bottom: none; }
.search-result-item:hover{ background: rgba(217,164,65,.08); }
.search-result-title{ font-size: .92rem; color: var(--ink); }
.search-result-cat{
  font-size: .66rem; letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; white-space: nowrap;
  background: var(--cat-color, var(--gold));
  color: #1c130a;
  font-weight: 700;
}
.search-empty{ padding: 18px; color: var(--muted); font-size: .9rem; text-align: center; }

/* -------------------------------------------------------------------- */
/* Sections generic                                                     */
/* -------------------------------------------------------------------- */
.section-head{
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
  padding: 0 20px;
}
.section-head h2{ font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-top: 6px; }
.section-sub{ color: var(--ink-dim); margin-top: 14px; font-size: 1rem; }

/* -------------------------------------------------------------------- */
/* Category grid                                                        */
/* -------------------------------------------------------------------- */
.catalog-band{
  position: relative;
  background:
    radial-gradient(circle at 1.5px 1.5px, color-mix(in srgb, var(--gold) 30%, transparent) 1.4px, transparent 0) 0 0/28px 28px,
    var(--bg);
}
.catalog{ padding-block: clamp(48px, 7vw, 88px) clamp(64px, 8vw, 100px); }
.category-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}
.cat-card{
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 20px 20px;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  opacity: 0; transform: translateY(16px);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s, background .35s;
}
.cat-card.in-view{ opacity: 1; transform: translateY(0); }
.cat-card::before{
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--cat-color);
  box-shadow: 0 0 16px 0 color-mix(in srgb, var(--cat-color) 70%, transparent);
}
.cat-card:hover{
  transform: translateY(-5px);
  border-color: var(--cat-color);
  box-shadow: var(--shadow-md), 0 0 0 1px color-mix(in srgb, var(--cat-color) 40%, transparent), 0 18px 40px -18px color-mix(in srgb, var(--cat-color) 55%, transparent);
  background: var(--surface-2);
}
.cat-icon{
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--cat-color) 28%, transparent);
  color: var(--cat-color);
  margin-bottom: 16px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cat-color) 45%, transparent);
}
.cat-icon svg{ width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cat-name{ font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; margin-bottom: 6px; line-height: 1.25; }
.cat-blurb{ font-size: .84rem; color: var(--ink-dim); margin-bottom: 16px; min-height: 2.6em; }
.cat-meta{ display: flex; align-items: center; justify-content: space-between; }
.cat-count{
  font-size: .68rem; letter-spacing: .02em; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  background: var(--cat-color); color: #1c130a;
}
.cat-arrow{ color: var(--muted); transition: transform .25s, color .25s; }
.cat-card:hover .cat-arrow{ transform: translateX(4px); color: var(--cat-color); }

/* -------------------------------------------------------------------- */
/* How it works — dark band, deliberately inverted for contrast         */
/* -------------------------------------------------------------------- */
.how-band{
  position: relative;
  background: var(--ink);
  overflow: hidden;
}
.how-band::before{
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  opacity: .55;
}
.how-atmosphere{
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(55% 60% at 12% 0%, color-mix(in srgb, var(--gold) 40%, transparent), transparent 60%),
    radial-gradient(50% 55% at 100% 100%, color-mix(in srgb, #7c6ff0 30%, transparent), transparent 65%);
}
.how-band .section-inner{ position: relative; z-index: 1; }
.how{ padding-block: clamp(56px, 8vw, 96px); max-width: 1100px; }
.how .eyebrow{ color: var(--gold-bright); }
.how .section-head h2{ color: var(--bg); }
.how-steps{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.how-step{
  position: relative;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  backdrop-filter: blur(6px);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, background .3s;
}
.how-step:hover{ transform: translateY(-5px); border-color: var(--gold-bright); background: rgba(255,255,255,.1); }
.how-step:not(:last-child)::after{
  content: "→";
  position: absolute; top: 50%; right: -21px; transform: translateY(-50%);
  color: var(--gold-bright); font-size: 1.15rem; opacity: .55;
  display: none;
}
@media (min-width: 761px){ .how-step:not(:last-child)::after{ display: block; } }
.how-num{
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(160deg, var(--gold-bright), var(--gold));
  color: #201306; font-weight: 700; font-family: var(--font-display);
  margin-bottom: 14px;
}
.how-step h3{ color: var(--bg); font-size: 1.15rem; margin-bottom: 8px; }
.how-step p{ color: rgba(244,237,224,.72); font-size: .9rem; }
@media (max-width: 760px){ .how-steps{ grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------- */
/* CTA band                                                              */
/* -------------------------------------------------------------------- */
.cta-outer{
  position: relative;
  background: var(--surface);
  padding-block: clamp(60px, 8vw, 100px);
  overflow: hidden;
}
.cta-atmosphere{
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 90% at 50% 100%, color-mix(in srgb, var(--gold) 24%, transparent), transparent 70%);
}
.cta-outer .section-inner{ position: relative; z-index: 1; }
.cta-band{
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 60px);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band::before{
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 100% at 50% 0%, rgba(217,164,65,.16), transparent 70%);
  animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe{
  0%, 100%{ opacity: .7; }
  50%{ opacity: 1; }
}
.cta-band h2{ font-size: clamp(1.6rem, 3vw, 2.2rem); position: relative; }
.cta-band p{ color: var(--ink-dim); max-width: 46ch; margin: 14px auto 26px; position: relative; }
.cta-band .btn{ position: relative; }

/* -------------------------------------------------------------------- */
/* Footer — dark bookend to close the page                              */
/* -------------------------------------------------------------------- */
.footer-band{
  position: relative;
  background: var(--ink);
}
.footer-band::before{
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  opacity: .5;
}
.site-footer{
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding-block: 34px 42px;
}
.footer-brand{ display: flex; align-items: center; gap: 14px; }
.footer-brand .brand-name{ font-family: var(--font-display); font-weight: 600; color: var(--bg); }
.footer-brand .brand-sub{ text-transform: none; letter-spacing: 0; font-size: .78rem; color: rgba(244,237,224,.6); }
.footer-band .brand-mark{ background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: var(--gold-bright); }
.footer-whatsapp{ font-size: .85rem; color: rgba(244,237,224,.82); border: 1px solid rgba(244,237,224,.25); padding: 8px 16px; border-radius: 999px; transition: border-color .2s, color .2s; }
.footer-whatsapp:hover{ border-color: var(--whatsapp-bright); color: var(--whatsapp-bright); }

/* -------------------------------------------------------------------- */
/* Modal                                                                 */
/* -------------------------------------------------------------------- */
.modal-backdrop{
  position: fixed; inset: 0; z-index: 80;
  background: rgba(10,8,6,.7);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.modal-backdrop.open{ opacity: 1; pointer-events: auto; }

.modal{
  position: fixed; z-index: 90;
  left: 50%; bottom: 0;
  transform: translate(-50%, 100%);
  width: min(640px, 100%);
  max-height: 82vh;
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-bottom: none;
  border-radius: 22px 22px 0 0;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  transition: transform .38s cubic-bezier(.2,.85,.25,1);
}
.modal.open{ transform: translate(-50%, 0); }
@media (min-width: 720px){
  .modal{ bottom: 4vh; border-radius: 22px; }
}

.modal-header{
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(160deg, var(--cat-color, var(--surface-2)) 0%, transparent 130%);
  border-radius: 22px 22px 0 0;
}
.modal-header-top{ display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.modal-icon{ display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(0,0,0,.28); color: var(--ink); }
.modal-icon svg{ width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.modal-close{
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(0,0,0,.2); color: var(--ink);
  cursor: pointer; font-size: .9rem;
  transition: background .2s, transform .2s;
}
.modal-close:hover{ background: rgba(0,0,0,.4); transform: rotate(90deg); }
#modal-title{ font-size: 1.4rem; }
.modal-count{ color: var(--ink-dim); font-size: .85rem; margin-top: 4px; }

.modal-body{ padding: 16px 24px; overflow-y: auto; flex: 1; }
#modal-search{
  width: 100%; background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 10px 16px; color: var(--ink); font-family: var(--font-body); font-size: .9rem;
  outline: none; margin-bottom: 14px;
}
#modal-search:focus{ border-color: var(--gold); }
.modal-titles{ display: flex; flex-direction: column; gap: 2px; }
.modal-title-item{
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 12px; border-radius: 10px;
  font-size: .89rem; color: var(--ink-dim);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.modal-title-item:hover{ background: var(--surface); color: var(--ink); }
.modal-title-item .go{ opacity: 0; color: var(--whatsapp-bright); font-size: .78rem; white-space: nowrap; transition: opacity .15s; }
.modal-title-item:hover .go{ opacity: 1; }
.modal-title-empty{ padding: 20px; text-align: center; color: var(--muted); font-size: .88rem; }

.modal-footer{ padding: 16px 24px 22px; border-top: 1px solid var(--line); }
.modal-footer .btn{ width: 100%; justify-content: center; }

/* -------------------------------------------------------------------- */
/* Floating WhatsApp                                                    */
/* -------------------------------------------------------------------- */
.floating-whatsapp{
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp);
  color: #06210f;
  display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(47,191,110,.6);
  transition: transform .25s, background .25s;
}
.floating-whatsapp:hover{ transform: scale(1.08); background: var(--whatsapp-bright); }
.floating-whatsapp svg{ width: 28px; height: 28px; fill: currentColor; position: relative; z-index: 1; }
.floating-ring{
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--whatsapp-bright);
  animation: pulse-ring 2.4s cubic-bezier(.3,.6,.4,1) infinite;
}
@keyframes pulse-ring{
  0%{ transform: scale(1); opacity: .7; }
  100%{ transform: scale(1.6); opacity: 0; }
}

@media (max-width: 480px){
  .floating-whatsapp{ width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .floating-whatsapp svg{ width: 24px; height: 24px; }
}

/* -------------------------------------------------------------------- */
/* Reduced motion                                                        */
/* -------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
