/* Ajustes visuales de la marca. */
.brand {
  gap: 16px;
  font-size: 1.48rem;
}

.brand img {
  width: 78px;
  height: 78px;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  transform: scale(1.5);
  filter:
    drop-shadow(1px 0 0 #fff)
    drop-shadow(-1px 0 0 #fff)
    drop-shadow(0 1px 0 #fff)
    drop-shadow(0 -1px 0 #fff);
}

.hero-logo-mark {
  z-index: 1;
  width: 64%;
  max-width: 390px;
  transform: scale(1.38);
  filter:
    drop-shadow(2px 0 0 rgba(255, 255, 255, .95))
    drop-shadow(-2px 0 0 rgba(255, 255, 255, .95))
    drop-shadow(0 2px 0 rgba(255, 255, 255, .95))
    drop-shadow(0 -2px 0 rgba(255, 255, 255, .95));
}

.hero h1 em span {
  display: block;
  margin-top: .04em;
  font-size: 1.24em;
  line-height: .78;
}

.hero-media {
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-media::before,
.hero-media::after {
  display: none;
}

.hero-logo-mark {
  filter:
    drop-shadow(2px 0 0 rgba(255, 255, 255, .95))
    drop-shadow(-2px 0 0 rgba(255, 255, 255, .95))
    drop-shadow(0 2px 0 rgba(255, 255, 255, .95))
    drop-shadow(0 -2px 0 rgba(255, 255, 255, .95))
    drop-shadow(0 0 24px rgba(255, 245, 0, .72))
    drop-shadow(0 0 56px rgba(255, 245, 0, .34));
}

.portfolio-strip {
  display: flex;
  align-items: center;
}

.services-section .split-heading,
.packages-section .split-heading {
  display: block;
}

.services-section .split-heading > p,
.packages-section .split-heading > p {
  max-width: none;
  margin: 20px 0 0;
  text-align: left;
}

.manifesto-section {
  display: block;
}

.manifesto-section > p {
  max-width: none;
  margin: 24px 0 0;
  text-align: left;
}

.faq-section {
  display: block;
}

.faq-section h2 {
  margin-bottom: 30px;
}

.faq-list {
  width: 100%;
}

.final-cta {
  border-color: rgba(255, 245, 0, .78);
  background:
    radial-gradient(circle at 14% 58%, rgba(255, 245, 0, .52), transparent 47%),
    radial-gradient(circle at 74% 24%, rgba(255, 245, 0, .18), transparent 34%),
    rgba(5, 7, 6, .7);
  box-shadow: 0 0 46px rgba(255, 245, 0, .16);
}

/* Proceso: cada fase se lee como una secuencia, una a una. */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 52px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.process-card {
  position: relative;
  isolation: isolate;
  min-height: 238px;
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .045) 32%, rgba(255, 255, 255, .012) 70%),
    rgba(7, 10, 9, .28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .42),
    inset 0 -1px 0 rgba(255, 255, 255, .06),
    0 18px 46px rgba(0, 0, 0, .2);
  backdrop-filter: blur(28px) saturate(155%);
  -webkit-backdrop-filter: blur(28px) saturate(155%);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.process-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 30px;
  margin-bottom: 28px;
  padding: 5px 11px;
  border: 1px solid rgba(255, 245, 0, .72);
  border-radius: 999px;
  color: var(--yellow);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .09em;
}

.process-card h3 {
  margin: 0 0 12px;
}

.process-card p {
  margin: 0;
}

.process-shine {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.process-shine::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -30%;
  left: -80%;
  width: 45%;
  height: 170%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .2), transparent);
  transform: skewX(-22deg);
  transition: left .75s ease;
}

.process-card:hover .process-shine::after {
  left: 135%;
}

.process-card:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -41px;
  z-index: 2;
  color: var(--yellow);
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 16px rgba(255, 245, 0, .56);
  transform: translateY(-50%);
}

/* Movimiento sutil: aporta ritmo sin competir con el contenido. */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2, .8, .2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.glass-card::after,
.package-card::after,
.portfolio-strip::after,
.final-cta::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -30%;
  left: -80%;
  width: 45%;
  height: 170%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .2), transparent);
  transform: skewX(-22deg);
  transition: left .75s ease;
  pointer-events: none;
}

.glass-card:hover::after,
.package-card:hover::after,
.portfolio-strip:hover::after,
.final-cta:hover::after {
  left: 135%;
}

.glass-card > *,
.package-card > *,
.portfolio-strip > *,
.process-card > :not(.process-shine),
.final-cta > * {
  position: relative;
  z-index: 1;
}

.process-card::before {
  content: none;
}

.process-card:hover::before {
  content: none;
}

.glass-card,
.package-card,
.process-card,
.button {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.glass-card:hover,
.package-card:hover,
.process-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 245, 0, .58);
}

.button:active {
  transform: translateY(1px) scale(.98);
}

.package-card.featured {
  animation: featured-glow 3.2s ease-in-out infinite;
}

.process-section.is-visible .process-card:not(:last-child)::after {
  animation: process-arrow-glow 1.5s ease-in-out both;
}

.process-section.is-visible .process-card:nth-child(2)::after { animation-delay: .32s; }
.process-section.is-visible .process-card:nth-child(3)::after { animation-delay: .64s; }

.faq-list details summary {
  transition: color .2s ease, padding-left .2s ease;
}

.faq-list details[open] summary {
  padding-left: 9px;
  color: var(--yellow);
}

.faq-list details p {
  animation: faq-answer-in .28s ease both;
}

.chispita {
  animation: chispita-idle 4.4s ease-in-out 2s infinite;
}

@keyframes featured-glow {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .46), 0 18px 48px rgba(255, 245, 0, .13); }
  50% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 18px 56px rgba(255, 245, 0, .31), 0 0 22px rgba(255, 245, 0, .12); }
}

@keyframes process-arrow-glow {
  0% { opacity: .2; transform: translateY(-50%) scale(.72); }
  58% { opacity: 1; transform: translateY(-50%) scale(1.15); text-shadow: 0 0 28px rgba(255, 245, 0, .95); }
  100% { opacity: 1; transform: translateY(-50%) scale(1); }
}

@keyframes faq-answer-in {
  from { opacity: 0; transform: translateY(-7px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes chispita-idle {
  0%, 78%, 100% { transform: translateY(0) rotate(0); }
  84% { transform: translateY(-8px) rotate(-3deg); }
  91% { transform: translateY(-2px) rotate(2deg); }
}

@keyframes process-arrow-glow-mobile {
  0% { opacity: .2; transform: translateX(50%) rotate(90deg) scale(.72); }
  58% { opacity: 1; transform: translateX(50%) rotate(90deg) scale(1.15); text-shadow: 0 0 28px rgba(255, 245, 0, .95); }
  100% { opacity: 1; transform: translateX(50%) rotate(90deg) scale(1); }
}

.instagram-icon {
  width: 1.8rem;
  height: 1.8rem;
  fill: var(--yellow);
  margin-top: 14px;
}

/* Cristal transparente: reflejo, borde luminoso y fondo que deja ver el ambiente. */
.site-header,
.glass-card,
.package-card,
.portfolio-strip,
.final-cta,
.site-footer {
  border-color: rgba(255, 255, 255, .34);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .045) 32%, rgba(255, 255, 255, .012) 70%),
    rgba(7, 10, 9, .28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .42),
    inset 0 -1px 0 rgba(255, 255, 255, .06),
    0 18px 46px rgba(0, 0, 0, .2);
  backdrop-filter: blur(28px) saturate(155%);
  -webkit-backdrop-filter: blur(28px) saturate(155%);
}

.main-nav {
  gap: 28px;
  font-size: .96rem;
  text-transform: uppercase;
}

.nav-cta {
  font-size: .94rem;
}

.main-nav .nav-cta,
.main-nav .nav-cta:focus-visible {
  background: var(--yellow);
  color: #070909;
  box-shadow: none;
}

.main-nav .nav-cta:hover {
  background: #fff;
  color: #070909;
  box-shadow: 0 0 22px rgba(255, 245, 0, .58), 0 0 42px rgba(255, 245, 0, .2);
}

.glass-card,
.package-card,
.portfolio-strip,
.final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.glass-card::before,
.package-card::before,
.final-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(118deg, rgba(255, 255, 255, .19), transparent 23%, transparent 74%, rgba(255, 255, 255, .05));
  pointer-events: none;
}

.package-card.featured {
  border: 2px solid var(--yellow);
  background:
    linear-gradient(135deg, rgba(255, 245, 0, .12), rgba(255, 255, 255, .04) 34%, rgba(7, 10, 9, .22) 72%),
    rgba(7, 10, 9, .24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .46),
    0 0 0 1px rgba(255, 245, 0, .34),
    0 18px 48px rgba(255, 245, 0, .18);
}

.package-card > .pill {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  left: auto;
  width: auto;
  align-self: auto;
}

.package-card .bolt {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  min-height: 38px;
  margin-bottom: 9px;
}

.package-card .bolt img {
  display: block;
  width: 25px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255, 245, 0, .28));
}

.package-card .annual-discount {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-height: 0;
  margin: 7px 0 12px;
  color: var(--yellow);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .03em;
}

.annual-discount strong {
  padding: 3px 6px;
  border: 1px solid rgba(255, 245, 0, .58);
  border-radius: 999px;
}

.annual-discount span {
  color: var(--white);
}


.final-cta {
  border-color: rgba(255, 245, 0, .68);
  background:
    radial-gradient(circle at 14% 58%, rgba(255, 245, 0, .25), transparent 47%),
    linear-gradient(135deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .025) 40%, rgba(7, 10, 9, .15)),
    rgba(7, 10, 9, .24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .44),
    0 0 46px rgba(255, 245, 0, .14);
}

.whatsapp-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
}

.chispita-intro-bolt {
  position: fixed;
  inset: 0;
  z-index: 19;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0;
  object-fit: fill;
  object-position: center;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 16px rgba(255, 245, 0, 1)) drop-shadow(0 0 44px rgba(255, 245, 0, .82));
}

body.chispita-intro-active .chispita-intro-bolt {
  animation: lightning-strike .78s steps(1, end) both;
}

body.chispita-intro-active .chispita {
  animation:
    chispita-arrives .76s cubic-bezier(.2, 1.4, .42, 1) .7s both,
    chispita-idle 4.4s ease-in-out 2s infinite;
}

body.chispita-intro-active .whatsapp-bubble {
  animation: bubble-arrives .48s cubic-bezier(.2, 1.25, .42, 1) 1.28s both;
}

body.chispita-intro-active .whatsapp-button {
  animation: whatsapp-button-arrives .44s cubic-bezier(.2, 1.25, .42, 1) 1.36s both;
}

@keyframes lightning-strike {
  0%, 12% { opacity: 0; transform: scale(1.12); }
  13%, 18% { opacity: 1; transform: translate(-3px, 2px) scale(1.12); }
  19%, 25% { opacity: 0; }
  26%, 34% { opacity: .9; transform: translate(2px, -1px) scale(1.12); }
  35%, 43% { opacity: .12; }
  44%, 54% { opacity: 1; transform: translate(-1px, 1px) scale(1.12); }
  55%, 68% { opacity: .22; }
  69%, 77% { opacity: .7; transform: scale(1.12); }
  78%, 100% { opacity: 0; transform: scale(1.12); }
}

@keyframes chispita-arrives {
  0% { opacity: 0; transform: translateY(70px) scale(.35) rotate(-11deg); }
  72% { opacity: 1; transform: translateY(-7px) scale(1.1) rotate(3deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}

@keyframes bubble-arrives {
  0% { opacity: 0; transform: translateY(-28px) scale(.78); }
  100% { opacity: 1; transform: translateY(-52px) scale(1); }
}

@keyframes whatsapp-button-arrives {
  0% { opacity: 0; transform: translateY(18px) scale(.72); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.whatsapp-link {
  display: flex;
  align-items: end;
  gap: 8px;
}

.whatsapp-bubble {
  position: relative;
  max-width: 240px;
  padding: 12px 15px;
  border: 2px solid #fff;
  border-radius: 22px 22px 7px 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .3);
  color: #070909;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.28;
  transform: translateY(-52px);
}

.whatsapp-bubble::after {
  content: "";
  position: absolute;
  right: -17px;
  bottom: 11px;
  width: 25px;
  height: 25px;
  background: #fff;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  filter: drop-shadow(2px 2px 1px rgba(0, 0, 0, .14));
}

.chispita {
  width: 92px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .34));
}

.whatsapp-button {
  display: grid;
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .84);
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
  color: #fff;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.whatsapp-button svg {
  width: 34px;
  height: 34px;
}

.whatsapp-link:hover .whatsapp-button {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 36px rgba(37, 211, 102, .6);
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 80px;
  row-gap: 44px;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto 34px;
  padding: 52px 48px 28px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 22px;
  color: var(--muted);
}

.footer-brand {
  grid-column: 2;
}

.site-footer > .footer-column:nth-of-type(2) {
  grid-column: 1;
  grid-row: 1;
}

.site-footer > .footer-column:nth-of-type(3) {
  grid-column: 3;
  grid-row: 1;
}

.footer-brand > img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  filter: drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand .social-links {
  justify-content: center;
}

.footer-brand > p:not(.footer-label) {
  max-width: 320px;
  margin: 18px 0 28px;
  font-size: .92rem;
  line-height: 1.55;
}

.footer-label {
  margin: 0 0 17px;
  color: var(--white);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: .9rem;
}

.footer-column a {
  text-transform: uppercase;
}

.footer-column .contact-item {
  text-transform: none;
}

.footer-column a:hover,
.footer-bottom a:hover {
  color: var(--yellow);
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.contact-item svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: var(--yellow);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a,
.social-link-disabled {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  color: var(--yellow);
  font-size: 1.12rem;
  font-weight: 900;
}

.social-links a:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.social-links svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.social-link-disabled {
  cursor: default;
  opacity: 1;
}

.footer-bottom {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .17);
  font-size: .76rem;
}

@media (max-width: 980px) {
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 58px 64px;
  }

  .process-card:nth-child(2)::after {
    top: auto;
    right: 50%;
    bottom: -47px;
    transform: translateX(50%) rotate(90deg);
  }
}

@media (max-width: 650px) {
  .brand {
    gap: 10px;
    font-size: 1.08rem;
  }

  .brand img {
    width: 48px;
    height: 48px;
    transform: scale(1.3);
  }

  .hero-logo-mark {
    width: 72%;
    transform: scale(1.25);
  }

  .whatsapp-widget {
    right: 14px;
    bottom: 14px;
  }

  .chispita-intro-bolt {
    inset: 0;
    width: 100vw;
    height: 100vh;
  }

  .whatsapp-bubble {
    max-width: 180px;
    padding: 10px 12px;
    font-size: .7rem;
  }

  .chispita {
    width: 70px;
    height: 70px;
  }

  .process-list {
    display: flex;
    gap: 48px;
    margin-right: calc((100vw - 100%) / -2);
    padding: 0 24px 18px 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-right: 24px;
    scrollbar-width: thin;
    scrollbar-color: var(--yellow) transparent;
    touch-action: pan-x;
  }

  .process-card {
    flex: 0 0 calc(100% - 42px);
    min-height: 212px;
    padding: 24px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .process-card:not(:last-child)::after {
    top: 50%;
    right: -38px;
    bottom: auto;
    transform: translateY(-50%);
  }

  .process-section.is-visible .process-card:not(:last-child)::after {
    animation-name: process-arrow-glow-mobile;
  }

  .whatsapp-button {
    width: 52px;
    height: 52px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 34px;
    width: calc(100% - 28px);
    padding: 38px 22px 24px;
  }

  .footer-brand,
  .site-footer > .footer-column:nth-of-type(2),
  .site-footer > .footer-column:nth-of-type(3) {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-brand > img {
    width: 88px;
    height: 88px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chispita-intro-bolt { display: none; }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .package-card.featured,
  .process-section.is-visible .process-card:not(:last-child)::after,
  .faq-list details p,
  .chispita,
  body.chispita-intro-active .chispita {
    animation: none;
  }

  .glass-card,
  .package-card,
  .button,
  .faq-list details summary {
    transition: none;
  }
}
