:root {
  --rose: #e91e63;
  --rose-hot: #ff1744;
  --rose-soft: #ffd1e5;
  --blue: #6fb8ff;
  --blue-deep: #315aa8;
  --gold: #ffd700;
  --gold-deep: #ffa000;
  --ink: #171016;
  --ink-soft: rgba(23, 16, 22, 0.76);
  --white: #ffffff;
  --white-soft: rgba(255, 255, 255, 0.82);
  --line: rgba(255, 255, 255, 0.26);
  --line-strong: rgba(255, 255, 255, 0.42);
  --panel: rgba(255, 255, 255, 0.18);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --shadow: 0 28px 80px rgba(233, 30, 99, 0.22);
  --radius: 8px;
  --radius-pill: 999px;
  --maxw: 1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 159, 207, 0.88), rgba(111, 184, 255, 0.88)),
    url("media/fotos/DSC00633.png") center top / cover fixed,
    #ff9fcf;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(#000 0%, transparent 82%);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
  overflow-wrap: anywhere;
}

.landing {
  position: relative;
  overflow: hidden;
}

.floating-logo {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 10;
  display: block;
  width: clamp(64px, 8vw, 94px);
  height: clamp(64px, 8vw, 94px);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
  transition: transform 0.18s ease;
}

.floating-logo:hover {
  transform: translateY(-2px) rotate(2deg);
}

.floating-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.hero {
  padding: 28px 24px 58px;
}

.hero__content,
.legal__inner {
  width: min(100%, var(--maxw));
  margin: 0 auto;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  box-shadow: 0 18px 46px rgba(233, 30, 99, 0.18);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
}

.brand-lockup {
  margin-top: 26px;
}

.brand {
  color: var(--gold);
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.3));
  font-size: clamp(0.95rem, 1.7vw, 1.25rem);
  font-weight: 900;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.headline {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 1040px;
  margin-top: 28px;
  font-size: clamp(1.25rem, 3.4vw, 2.9rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.34);
}

.headline__line {
  display: block;
}

.headline__accent,
.serif-em {
  display: inline-block;
  background:
    linear-gradient(
      105deg,
      var(--gold) 0%,
      var(--gold-deep) 38%,
      #ffffff 50%,
      var(--gold) 62%,
      var(--gold-deep) 100%
    );
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 5s ease-in-out infinite;
}

.serif-em {
  color: var(--rose-soft);
  background:
    linear-gradient(
      105deg,
      var(--rose-soft) 0%,
      #ffffff 50%,
      var(--gold) 64%,
      var(--rose-soft) 100%
    );
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  font-style: normal;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  margin-top: 32px;
  padding: 16px 30px;
  border: 0;
  border-radius: var(--radius-pill);
  background:
    linear-gradient(
      105deg,
      var(--rose) 0%,
      var(--rose-hot) 38%,
      #ff8cb8 50%,
      var(--gold) 62%,
      var(--rose) 100%
    );
  background-size: 260% 100%;
  color: var(--white);
  box-shadow: 0 20px 54px rgba(233, 30, 99, 0.34);
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 0.16s ease,
    box-shadow 0.18s ease,
    background-position 0.2s ease;
  animation: shine 5s ease-in-out infinite;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 70px rgba(233, 30, 99, 0.42);
}

@keyframes shine {
  0%,
  44% {
    background-position: 130% 0;
  }

  74%,
  100% {
    background-position: -80% 0;
  }
}

.hero-sub {
  max-width: 62ch;
  margin-top: 24px;
  color: var(--white);
  font-size: clamp(1.04rem, 2vw, 1.32rem);
  font-weight: 700;
  line-height: 1.6;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
}

.vsl {
  width: 100%;
  max-width: 880px;
  margin-top: 42px;
}

.vsl__shell {
  position: relative;
}

.vsl__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  background: rgba(23, 16, 22, 0.62);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 34px 110px rgba(49, 90, 168, 0.32);
}

.vsl__frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resources {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  margin-top: 64px;
  padding: 10px 0 22px;
}

.resources__head {
  text-align: center;
}

.resources__head h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1.05;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.16em;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.resources__warning {
  max-width: 860px;
  margin: 18px auto 0;
  color: var(--gold);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 900;
  line-height: 1.36;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.resources__sub {
  max-width: 920px;
  margin: 18px auto 0;
  color: var(--white);
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  font-weight: 650;
  line-height: 1.7;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.24);
}

.resources__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 52px;
}

.resource-card {
  min-height: 100%;
  padding: 26px 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 64px rgba(23, 16, 22, 0.16);
  text-align: left;
  backdrop-filter: blur(18px);
}

.resource-card__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin: 0 0 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(255, 215, 0, 0.28);
  font-size: 0.84rem;
  font-weight: 900;
}

.resource-card h3 {
  color: var(--white);
  font-size: clamp(1.305rem, calc(2.46vw - 7px), 1.635rem);
  font-weight: 900;
  line-height: 1.28;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.resource-card p {
  margin: 14px 0 0;
  color: var(--white-soft);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.6;
}

.resource-card .resource-card__result {
  color: var(--white);
  font-weight: 850;
}

.resource-card__result strong {
  color: var(--gold);
}

.resources__cta {
  width: fit-content;
  min-width: 300px;
  margin: 52px auto 0;
}

.legal {
  padding: 40px 24px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(23, 16, 22, 0.82);
  backdrop-filter: blur(18px);
}

.legal__inner {
  text-align: center;
}

.legal nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
}

.legal a {
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.legal a:hover {
  color: var(--rose-soft);
}

.legal p {
  max-width: 920px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  line-height: 1.7;
}

.site-popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.site-popup.is-open {
  opacity: 1;
  pointer-events: auto;
}

.site-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 16, 22, 0.78);
  backdrop-filter: blur(12px);
}

.site-popup__panel {
  position: relative;
  width: min(100%, 620px);
  height: min(92vh, 860px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 159, 207, 0.98), rgba(111, 184, 255, 0.98));
  box-shadow: 0 36px 110px rgba(23, 16, 22, 0.44);
}

.site-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 50%;
  background: rgba(23, 16, 22, 0.2);
  color: var(--white);
  cursor: pointer;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.site-popup__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--white);
}

[data-rise] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-rise].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .resources__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero,
  .legal {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero {
    padding-top: 24px;
    padding-bottom: 44px;
  }

  .pill {
    max-width: calc(100% - 72px);
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .brand {
    letter-spacing: 0.18em;
  }

  .headline {
    font-size: clamp(2.1rem, 10vw, 3.6rem);
  }

  .hero-cta {
    min-height: 52px;
    padding: 15px 22px;
    font-size: 13px;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .resources__grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 38px;
  }

  .resources__cta {
    width: 100%;
    min-width: 0;
    margin-top: 36px;
  }

  .site-popup {
    padding: 10px;
  }

  .site-popup__panel {
    width: min(100%, 620px);
    height: calc(100vh - 20px);
  }

}

@media (max-width: 520px) {
  body {
    background-attachment: scroll;
  }

  .floating-logo {
    top: 12px;
    right: 12px;
  }

  .headline {
    line-height: 1.02;
  }

  .vsl {
    margin-top: 34px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-rise] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-cta,
  .floating-logo {
    transition: none;
  }

  .headline__accent,
  .serif-em,
  .hero-cta {
    animation: none;
  }
}
