/* 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);
}

.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 {
  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-color: rgba(255, 245, 0, .88);
  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 18px 48px rgba(255, 245, 0, .13);
}

.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;
}

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;
  padding: 68px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, .24);
  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: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: 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;
  }

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

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

  .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; }
}
