/* ==========================================================================
   BRANDING
   ========================================================================== */

/* ---------- Hero ---------- */
.b-hero { position: relative; z-index: 2; isolation: isolate; background: #0d0d0d; color: #fff; padding-top: calc(var(--header-h) + clamp(14px, 1.8vw, 26px)); }
.b-hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.b-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.b-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .64); }
.b-hero__inner { display: grid; grid-template-columns: 1fr minmax(0, 372px); gap: 40px; align-items: center; padding-bottom: clamp(36px, 4.3vw, 60px); }
.b-hero__copy { margin-left: clamp(-34px, -2.4vw, 0px); padding-top: clamp(40px, 9vw, 130px); }
.b-hero__title { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 32px); font-size: clamp(64px, 11.3vw, 158px); line-height: .9; margin-bottom: clamp(20px, 3vw, 42px); }
.b-hero__glyph { width: clamp(64px, 8.9vw, 125px); height: auto; margin-top: .05em; animation: glyph-in 1.2s var(--ease-out) .4s both; }
@keyframes glyph-in { from { opacity: 0; transform: rotate(-90deg) scale(.4); } }
.b-hero__text { max-width: 520px; font-size: clamp(17px, 1.7vw, 24px); line-height: 1.2; }
.b-hero__card { aspect-ratio: 310 / 420; border-radius: 28px; overflow: hidden; background: #3a3d42; box-shadow: var(--shadow-2); justify-self: stretch; margin-right: clamp(0px, 4.4vw, 62px); }
.b-hero__card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.b-hero__card:hover img { transform: scale(1.05); }
.b-hero__greca {
  height: clamp(54px, 6.4vw, 90px);
  background: url("../assets/img/texturas/greca-borde.svg") 0 100% / auto 100% repeat-x;
  margin-bottom: -1px;
}
.b-hero__cta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; justify-content: center; transform: translateY(50%); pointer-events: none; }
.b-hero__cta .btn { pointer-events: auto; }

/* ---------- Más que un logo ---------- */
.b-intro { --tint: var(--c-cream); padding: clamp(110px, 10vw, 140px) 0 clamp(110px, 13.5vw, 190px); }
.b-intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4vw, 60px); align-items: center; }
.b-intro__head { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 32px); padding-left: clamp(0px, 2.5vw, 35px); }
.b-intro__icon { width: clamp(62px, 6.1vw, 86px); height: auto; flex: none; color: var(--c-red); }
.b-intro h2 { font-size: clamp(30px, 3.86vw, 54px); line-height: 1.05; color: var(--c-red); }
.b-intro p { max-width: 470px; font-size: clamp(16px, 1.6vw, 22.5px); line-height: 1.2; color: #111; }

/* ---------- Servicio de branding + cinta amarilla ---------- */
.b-services .dark-band__title .t-flag { color: var(--c-red-flag); }
.b-services { padding-bottom: clamp(70px, 6vw, 86px); }
.b-ribbon {
  position: relative; z-index: 2;
  margin: clamp(-60px, -4.3vw, -40px) -3% 0;
  background: var(--c-yellow-2); color: #000;
  transform: rotate(2.4deg);
  padding: clamp(14px, 1.6vw, 22px) 0;
  overflow: hidden;
}
.b-ribbon__track { display: flex; gap: clamp(36px, 4.3vw, 60px); width: max-content; animation: ribbon 30s linear infinite; }
.b-ribbon:hover .b-ribbon__track { animation-play-state: paused; }
.b-ribbon span { font-family: var(--f-display); text-transform: uppercase; white-space: nowrap; font-size: clamp(15px, 1.68vw, 23.5px); }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* ---------- Cómo lo hacemos + proyectos ---------- */
.b-work { --tint: var(--c-cream); padding: clamp(40px, 4.6vw, 64px) 0 clamp(50px, 4vw, 56px); }
.b-how__title { font-size: clamp(54px, 8.4vw, 117px); line-height: .98; margin-bottom: clamp(40px, 4.4vw, 62px); }
.b-work .steps { margin-bottom: clamp(50px, 4.3vw, 60px); }
.b-work .projects__title { margin-left: clamp(0px, .6vw, 8px); }

/* ---------- Paquetes ---------- */
.b-packs .packs__grid { align-items: stretch; }
.b-packs .pack ul { gap: 10px; }

/* ---------- CTA final ---------- */
.b-cta { --tint: var(--c-cream); }
.b-cta .cta-final__title { font-size: clamp(40px, 4.55vw, 64px); }
.b-cta .btn { font-size: clamp(19px, 1.74vw, 24.5px); min-height: 50px; }
.b-cta .cta-final__title span { display: block; }
.b-cta .cta-final__title .t-red { font-size: 1.3em; margin-top: .1em; }
.b-cta .btn { margin-bottom: 26px; }

@media (max-width: 960px) {
  .b-hero__inner { grid-template-columns: 1fr; }
  .b-hero__copy { margin-left: 0; padding-top: 10px; }
  .b-hero__card { justify-self: start; width: min(70%, 260px); }
  .b-intro__grid { grid-template-columns: 1fr; }
  .b-intro__head { padding-left: 0; }
}
@media (max-width: 640px) {
  .b-hero__cta .btn { white-space: nowrap; }
  .b-ribbon { transform: rotate(1.6deg); }
}

/* ---------- Paquetes sin precio (4 tarjetas) ---------- */
.b-packs .packs__inner { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); }
.b-packs__head { display: grid; justify-items: start; gap: clamp(30px, 4vw, 60px); }
.b-packs__custom { font-size: 17px; }
.b-packs .packs__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.b-packs .pack { color: var(--c-red); }
.b-packs .pack__name { text-align: center; padding: 20px 10px 10px; font-size: clamp(28px, 2.6vw, 38px); }
.b-packs .pack ul { padding: 6px 14px 14px 18px; gap: 7px; font-size: 11.5px; }
.b-packs .pack__time { text-align: center; padding: 0 10px 10px; font-family: var(--f-display); text-transform: uppercase; font-size: clamp(14px, 1.3vw, 18px); }
.b-packs .pack__foot { display: block; transition: background .3s, color .3s; }
.b-packs .pack__foot:hover { background: #000; }
.b-packs .pack--dark { background: var(--c-red-band); color: #fff; box-shadow: 0 0 0 3px #fff inset; }
.b-packs .pack--dark .pack__foot { background: #fff; color: var(--c-red-band); }
.b-packs .pack--dark .pack__foot:hover { background: var(--c-yellow); color: #000; }
@media (max-width: 1100px) { .b-packs .packs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .b-packs .packs__grid { grid-template-columns: 1fr; } }

/* Paquetes: tablet y celular */
@media (max-width: 1100px) {
  .b-packs .packs__inner { grid-template-columns: 1fr; }
  .b-packs__head { justify-items: center; text-align: center; }
  .b-packs .packs__grid { width: 100%; max-width: 640px; margin-inline: auto; }
}
@media (max-width: 640px) {
  .b-packs .packs__grid { grid-template-columns: 1fr; max-width: 360px; gap: 18px; }
  .b-packs .pack ul { font-size: 13px; gap: 9px; padding-inline: 22px; }
  .b-packs .pack__name { font-size: 34px; }
}

/* === REVISIÓN 8: letra más grande en las listas de paquetes === */
.b-packs .pack ul { font-size: 13px; gap: 8px; }
/* === FIN REVISIÓN 8 === */
