/* 
  Landing Mati
  Nota tipográfica:
  Quasimoda no está incluida. Si tenés archivos webfont (.woff2/.woff),
  agregalos a /assets/fonts y activá el @font-face de abajo.
*/

/*
@font-face {
  font-family: "Quasimoda";
  src: url("assets/fonts/Quasimoda-Regular.woff2") format("woff2");
  font-weight: 400;
}

@font-face {
  font-family: "Quasimoda";
  src: url("assets/fonts/Quasimoda-Black.woff2") format("woff2");
  font-weight: 900;
}
*/

:root {
  --green: #6edc00;
  --violet: #bb00ef;
  --yellow: #ffdc00;
  --white: #f8f8ff;
  --ink: #bb00ef;
  --warm-a: #d800ff;
  --warm-b: #ffdc00;
  --warm-c: #f26a64;

  --container: 1200px;
  --radius-pill: 999px;
  --shadow: 0 12px 22px rgba(73, 0, 94, .22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Quasimoda", "Arial Rounded MT Bold", Arial, sans-serif;
  color: var(--white);
  background: var(--green);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.narrow {
  width: min(calc(100% - 48px), 780px);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  width: min(calc(100% - 48px), var(--container));
  height: 86px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--violet);
}

.brand img {
  width: 38px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 70px);
  font-size: 17px;
  font-weight: 900;
}

.main-nav a {
  transition: transform .2s ease, opacity .2s ease;
}

.main-nav a:hover {
  transform: translateY(-2px);
}

.nav-cta {
  background: var(--violet);
  color: var(--white);
  padding: 9px 22px 10px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--violet);
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  margin: 5px 0;
  background: var(--white);
  border-radius: 20px;
}

section {
  position: relative;
  overflow: hidden;
}

.section-green {
  background: var(--green);
}

.section-gradient {
  background:
    radial-gradient(circle at 0% 100%, #d900ff 0 20%, transparent 40%),
    linear-gradient(115deg, #ce00ff 0%, #f35a82 48%, #ffbd1c 100%);
}

.section-light {
  background:
    radial-gradient(circle at 16% 100%, rgba(255, 220, 0, .28), transparent 26%),
    var(--white);
  color: var(--violet);
}

.section-warm {
  background:
    radial-gradient(circle at 0% 0%, #d800ff 0 14%, transparent 29%),
    linear-gradient(115deg, #c700ff 0%, #f36977 48%, #ffca1d 100%);
}

/* HERO */

.hero {
  min-height: 820px;
  padding-top: 86px;
}

.hero-inner {
  min-height: calc(820px - 86px);
  display: grid;
  grid-template-columns: minmax(380px, 520px) 1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}

.hero-image {
  align-self: end;
  margin-left: clamp(-80px, -5vw, -20px);
}

.hero-image img {
  width: min(560px, 48vw);
}

.hero-copy {
  padding-top: 60px;
}

.hero h1,
.about h2,
.section-title,
.audience-title,
.contact h2 {
  margin: 0;
  font-weight: 900;
  line-height: .95;
  letter-spacing: -0.045em;
}

.hero h1 {
  font-size: clamp(56px, 6.4vw, 92px);
  text-transform: uppercase;
}

.hero p {
  max-width: 620px;
  margin: 28px 0 0;
  font-size: clamp(25px, 2.5vw, 37px);
  line-height: 1.13;
  font-weight: 900;
  letter-spacing: .005em;
}

/* ABOUT */

.about {
  min-height: 650px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 120px 0;
}

.about h2 {
  font-size: clamp(43px, 5.8vw, 74px);
  margin-bottom: 52px;
}

.about p {
  margin: 0 auto 28px;
  max-width: 720px;
  font-size: clamp(16px, 1.45vw, 22px);
  line-height: 1.28;
  font-weight: 400;
}

.about p strong {
  font-weight: 900;
}

/* SERVICES */

.services {
  padding: 90px 0 115px;
  min-height: 720px;
}

.section-title {
  text-align: center;
  font-size: clamp(48px, 5.6vw, 78px);
  margin-bottom: 64px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 90px;
  align-items: start;
}

.service-card {
  max-width: 470px;
}

.service-card h3,
.audience-card h3 {
  margin: 0 0 10px;
  font-size: clamp(23px, 2vw, 34px);
  line-height: .94;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.service-card p,
.audience-card p {
  margin: 0;
  font-size: clamp(15px, 1.35vw, 20px);
  line-height: 1.2;
  font-weight: 400;
}

.card-pill {
  padding: 24px 48px 25px;
  color: var(--white);
  border-radius: var(--radius-pill);
  background: linear-gradient(115deg, #d600ff 0%, #df28c8 52%, #ffb22b 100%);
}

.align-right {
  justify-self: end;
  text-align: right;
}

.align-right.card-pill {
  border-radius: var(--radius-pill);
}

/* AUDIENCE */

.audience {
  padding: 110px 0 120px;
  min-height: 760px;
}

.audience-title {
  font-size: clamp(55px, 7vw, 105px);
  text-transform: uppercase;
  margin-bottom: 58px;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 100px;
}

.audience-card {
  max-width: 470px;
}

.card-white {
  color: var(--violet);
  background: linear-gradient(120deg, var(--white) 0 72%, #fff9bf 100%);
  border-radius: var(--radius-pill);
  padding: 24px 48px 26px;
}

.audience-card:nth-child(4),
.audience-card:nth-child(5) {
  justify-self: end;
  text-align: right;
  border-radius: var(--radius-pill);
  color: var(--white);
  background: transparent;
  padding-inline: 0;
}

.audience-card:nth-child(5) {
  color: var(--violet);
  background: var(--white);
  border-radius: var(--radius-pill);
  padding-inline: 48px;
}

/* CONTACT */

.contact {
  min-height: 700px;
  display: grid;
  place-items: center;
  padding: 120px 0 150px;
  text-align: center;
}

.contact h2 {
  font-size: clamp(56px, 6vw, 88px);
  margin-bottom: 24px;
}

.contact p {
  margin: 0 auto 42px;
  max-width: 660px;
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.28;
  font-weight: 900;
}

.contact-label {
  display: block;
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 900;
  margin-bottom: 18px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 24px 12px;
  border-radius: var(--radius-pill);
  background: var(--violet);
  color: var(--white);
  box-shadow: var(--shadow);
  font-size: clamp(20px, 2.3vw, 42px);
  font-weight: 900;
  line-height: 1;
  transition: transform .2s ease;
}

.contact-button:hover {
  transform: translateY(-2px);
}

.contact-button img {
  width: 33px;
  height: 33px;
}

.contact-email,
.contact-instagram {
  font-size: clamp(16px, 1.5vw, 25px);
  min-height: 40px;
  padding: 8px 20px 10px;
}

.contact-email img,
.contact-instagram img {
  width: 22px;
  height: 22px;
}

/* DECOR */

.decor {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  border-radius: 50%;
}

.decor-lime {
  background: var(--green);
}

.decor-violet {
  background: radial-gradient(circle at 35% 35%, #ffdc00 0 8%, #ef45a8 40%, #bb00ef 78%);
}

.decor-yellow {
  background: radial-gradient(circle at 32% 30%, #ffdc00 0 20%, #ffbb1b 45%, #d800ff 100%);
}

.decor-about-lime {
  width: 300px;
  aspect-ratio: 1;
  right: -70px;
  top: -130px;
}

.decor-about-violet {
  width: 180px;
  aspect-ratio: 1;
  right: 40px;
  bottom: 90px;
}

.decor-audience-yellow {
  width: 320px;
  aspect-ratio: 1;
  left: -120px;
  top: 50px;
}

.decor-audience-lime {
  width: 220px;
  aspect-ratio: 1;
  right: -80px;
  top: -40px;
}

.decor-contact-violet {
  width: 420px;
  aspect-ratio: 1;
  right: -190px;
  top: -80px;
}

.decor-contact-lime {
  width: 220px;
  aspect-ratio: 1;
  right: -60px;
  bottom: 70px;
  background: #57cf00;
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .site-header {
    height: 76px;
  }

  .main-nav {
    position: fixed;
    left: 24px;
    right: 24px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--violet);
    color: var(--white);
    border-radius: 24px;
    padding: 18px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 16px;
  }

  .nav-cta {
    background: var(--white);
    color: var(--violet);
    text-align: center;
    margin-top: 8px;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 760px;
    padding-top: 76px;
  }

  .hero-inner {
    min-height: calc(760px - 76px);
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
    align-content: end;
  }

  .hero-copy {
    order: 1;
    padding-top: 60px;
  }

  .hero-image {
    order: 2;
    margin: 30px auto 0;
  }

  .hero-image img {
    width: min(440px, 86vw);
    margin-inline: auto;
  }

  .hero p br {
    display: none;
  }

  .services-grid,
  .audience-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-card,
  .audience-card,
  .align-right,
  .audience-card:nth-child(4),
  .audience-card:nth-child(5) {
    max-width: none;
    justify-self: stretch;
    text-align: left;
  }

  .card-pill,
  .align-right.card-pill,
  .card-white,
  .audience-card:nth-child(5) {
    border-radius: 34px;
    padding: 24px;
  }

  .audience-card:nth-child(4) {
    color: var(--violet);
    background: var(--white);
    border-radius: 34px;
    padding: 24px;
  }
}

@media (max-width: 620px) {
  .container,
  .narrow,
  .site-header {
    width: min(calc(100% - 40px), var(--container));
  }

  .brand img {
    width: 32px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-inner {
    min-height: calc(720px - 76px);
  }

  .hero h1 {
    font-size: clamp(45px, 13vw, 58px);
  }

  .hero p {
    font-size: clamp(22px, 6.3vw, 28px);
  }

  .about,
  .services,
  .audience,
  .contact {
    padding-block: 72px;
  }

  .about {
    min-height: auto;
  }

  .about h2,
  .section-title,
  .contact h2 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .audience-title {
    font-size: clamp(42px, 13vw, 62px);
  }

  .service-card h3,
  .audience-card h3 {
    font-size: 25px;
  }

  .contact-actions {
    width: 100%;
  }

  .contact-button {
    width: 100%;
    justify-content: center;
    font-size: 25px;
    padding-inline: 18px;
  }

  .contact-email,
  .contact-instagram {
    font-size: 16px;
  }

  .decor-about-lime,
  .decor-about-violet,
  .decor-audience-yellow,
  .decor-audience-lime,
  .decor-contact-violet,
  .decor-contact-lime {
    opacity: .55;
    transform: scale(.75);
  }
}


/* Ajuste: todos los bloques de servicios y públicos en formato burbuja centrada */
.services-grid,
.audience-grid {
  align-items: center;
}

.service-card,
.service-card.align-right,
.audience-card,
.audience-card:nth-child(4),
.audience-card:nth-child(5) {
  width: min(100%, 520px);
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-self: center;
  text-align: center;
  border-radius: var(--radius-pill);
  padding: 28px 48px 30px;
}

.service-card,
.service-card.align-right,
.service-card.card-pill,
.service-card.align-right.card-pill {
  color: var(--white);
  background: linear-gradient(115deg, #d600ff 0%, #df28c8 52%, #ffb22b 100%);
  border-radius: var(--radius-pill);
}

.audience-card,
.audience-card.card-white,
.audience-card:nth-child(4),
.audience-card:nth-child(5) {
  color: var(--violet);
  background: linear-gradient(120deg, var(--white) 0 72%, #fff9bf 100%);
  border-radius: var(--radius-pill);
  padding-inline: 48px;
}

.service-card h3,
.audience-card h3,
.service-card p,
.audience-card p {
  text-align: center;
}

@media (max-width: 980px) {
  .service-card,
  .service-card.align-right,
  .audience-card,
  .audience-card:nth-child(4),
  .audience-card:nth-child(5) {
    width: 100%;
    min-height: auto;
    border-radius: var(--radius-pill);
    padding: 24px 34px;
    text-align: center;
  }
}


/* Ajuste desktop: hero sin cortes manuales de línea */
@media (min-width: 981px) {
  .hero-copy {
    min-width: 0;
  }

  .hero p {
    max-width: 760px;
  }
}


/* Ajuste mobile: mantener todas las burbujas de Para quiénes con la misma redondez */
@media (max-width: 620px) {
  .audience-card,
  .audience-card.card-white,
  .audience-card:nth-child(4),
  .audience-card:nth-child(5) {
    border-radius: var(--radius-pill);
    padding: 24px 28px;
  }
}

/* Menú: pastilla blanca al salir del hero */
.site-header::before {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 86px;
  background: rgba(248, 248, 255, .9);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
  z-index: -1;
}

.site-header.is-scrolled::before {
  opacity: 1;
}

@media (max-width: 980px) {
  .site-header::before {
    height: 76px;
  }
}


/* Ajustes finales */
@media (min-width: 981px) {
  main > section {
    min-height: 820px;
  }

  .brand {
    display: inline-flex;
    align-items: center;
    transition: transform .2s ease, opacity .2s ease;
  }

  .brand:hover {
    transform: translateY(-2px);
  }

  .brand img {
    height: 40px;
    width: auto;
  }
}

@media (max-width: 980px) {
  .brand {
    display: inline-flex;
    align-items: center;
    transition: transform .2s ease, opacity .2s ease;
  }

  .brand:hover {
    transform: translateY(-2px);
  }
}


/* Ajuste mobile: logo con el mismo alto que el botón hamburguesa */
@media (max-width: 980px) {
  .brand img {
    height: 44px;
    width: auto;
  }
}


/* Ajuste global: todas las secciones tienen como mínimo el alto del hero */
:root {
  --hero-min-height: 820px;
}

main > section {
  min-height: var(--hero-min-height);
}

@media (max-width: 980px) {
  :root {
    --hero-min-height: 760px;
  }

  main > section {
    min-height: var(--hero-min-height);
  }
}

@media (max-width: 620px) {
  :root {
    --hero-min-height: 720px;
  }

  main > section {
    min-height: var(--hero-min-height);
  }
}


/* Parallax sutil: el fondo/decoración se mueve distinto al contenido */
section {
  --parallax-bg-y: 0px;
  --parallax-decor-y: 0px;
  background-position:
    center calc(50% + var(--parallax-bg-y)),
    center calc(50% + var(--parallax-bg-y)),
    center calc(50% + var(--parallax-bg-y));
}

.decor {
  transform: translate3d(0, var(--parallax-decor-y), 0);
  will-change: transform;
}

.hero-image,
.hero-copy,
.about .container,
.services .container,
.audience .container,
.contact .container {
  transform: translate3d(0, var(--parallax-content-y, 0px), 0);
  will-change: transform;
}

/* Respeta usuarios que prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
  section {
    --parallax-bg-y: 0px !important;
    --parallax-decor-y: 0px !important;
    --parallax-content-y: 0px !important;
  }

  .decor,
  .hero-image,
  .hero-copy,
  .about .container,
  .services .container,
  .audience .container,
  .contact .container {
    transform: none !important;
  }
}

/* En mobile lo dejamos más leve para que no maree ni rompa composición */
@media (max-width: 620px) {
  .hero-image,
  .hero-copy,
  .about .container,
  .services .container,
  .audience .container,
  .contact .container {
    will-change: auto;
  }
}
