﻿/* Hero */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(7.5rem, 15vh, 12rem) 1.5rem clamp(3rem, 8vh, 5rem);
  gap: clamp(2rem, 4vh, 3rem);
  position: relative;
  overflow: visible;
}

@media (min-width: 900px) {
  .hero {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-inline: clamp(2.5rem, 5vw, 6rem);
    gap: clamp(2rem, 4vw, 4rem);
  }
}

@media (min-width: 900px) and (max-height: 780px) {
  .hero {
    padding-top: 7.5rem;
  }

  .hero__title {
    font-size: clamp(2.6rem, 5.5vw, 4.25rem);
  }
}

.hero__copy {
  flex: 1;
  max-width: 56rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 20;
}

.hero__title {
  font-family: var(--font);
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.07em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 8vw, 6rem);
  overflow: visible;
  color: var(--text);
}

.hero__title-top {
  display: block;
  text-transform: uppercase;
  letter-spacing: -0.08em;
  color: var(--text);
}

.hero__title-top strong {
  font-weight: 700;
}

.hero__title-italic {
  display: block;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.06em;
  color: var(--muted);
  padding: 0.15em 0;
}

.hero__lead {
  font-family: var(--font);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 400;
  color: var(--muted);
  max-width: 28rem;
  line-height: 1.45;
  margin-bottom: 2.5rem;
  letter-spacing: -0.05em;
}

.hero__lead strong {
  color: var(--text);
  font-weight: 700;
}

.hero__side {
  width: 100%;
  z-index: 20;
}

@media (min-width: 900px) {
  .hero__copy {
    flex: 1 1 0;
    max-width: none;
    min-width: 0;
  }

  .hero__side {
    width: 45%;
    max-width: 780px;
    container-type: inline-size;
  }
}

.apple-block {
  width: min(100% - 3rem, 720px);
  margin: 0 auto;
  padding: 5rem 0 6rem;
  text-align: left;
}

.apple-block__num {
  font-family: var(--font);
  font-size: clamp(2.8rem, 9vw, 6.5rem);
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  letter-spacing: -0.08em;
  margin: 0 0 1.75rem;
  color: #fff;
  overflow: visible;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  min-width: 11ch;
}

.apple-block__copy {
  font-family: var(--font);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 400;
  font-style: normal;
  color: var(--muted);
  line-height: 1.42;
  letter-spacing: -0.05em;
  max-width: 34rem;
  margin: 0 0 3.5rem;
}

.apple-block__copy strong {
  color: var(--text);
  font-weight: 700;
}

.apple-block__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 34rem;
}

.apple-block__grid > div {
  padding-left: 1.15rem;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.apple-block__grid span {
  display: block;
  font-family: var(--font);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.06em;
  line-height: 1.1;
}

.apple-block__grid small {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--muted);
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .apple-block__num {
    font-size: clamp(1.45rem, 7.6vw, 2.4rem);
    letter-spacing: -0.05em;
    min-width: 0;
  }
}

.stat-premium {
  display: none;
}

.scroll-hint {
  display: none;
  position: absolute;
  bottom: 3rem;
  left: 50%;
  width: 1px;
  height: 5rem;
  background: linear-gradient(to bottom, #fff, transparent);
  animation: scroll-pulse 4s ease-in-out infinite;
}

@media (min-width: 900px) {
  .scroll-hint {
    display: block;
  }
}

/* About card */
.about-card {
  position: relative;
  overflow: hidden;
  padding: 2.5rem;
  border-radius: 60px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 150px rgba(59, 130, 246, 0.3);
}

@media (min-width: 768px) {
  .about-card {
    padding: 3.5rem 4rem;
  }
}

.about-card__orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.about-card__orbit--1 {
  width: 1600px;
  height: 1600px;
  animation: orbit 3s linear infinite;
}

.about-card__orbit--1 span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 700px;
  height: 700px;
  margin-left: -350px;
  background: rgba(59, 130, 246, 0.3);
  filter: blur(180px);
  border-radius: 50%;
}

.about-card__orbit--2 {
  width: 1300px;
  height: 1300px;
  animation: orbit-rev 4.5s linear infinite;
}

.about-card__orbit--2 span {
  position: absolute;
  bottom: 0;
  right: 25%;
  width: 600px;
  height: 600px;
  background: rgba(79, 70, 229, 0.25);
  filter: blur(160px);
  border-radius: 50%;
}

.about-card__orbit--3 {
  width: 1000px;
  height: 1000px;
  animation: orbit 6s linear infinite;
}

.about-card__orbit--3 span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 500px;
  height: 500px;
  background: rgba(96, 165, 250, 0.2);
  filter: blur(140px);
  border-radius: 50%;
}

.about-card__content {
  position: relative;
  z-index: 10;
  text-align: left;
  overflow: visible;
}

.eyebrow {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 1;
  margin-bottom: 1.25rem;
}

.about-card__lead {
  font-family: var(--font);
  font-size: clamp(1.65rem, 3vw, 2.75rem);
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.05em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.95);
}

.about-card__lead strong {
  font-weight: 700;
}

.about-card__accent {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-weight: 600;
}

.about-card__body {
  margin-top: 1.75rem;
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
  max-width: 22rem;
  letter-spacing: -0.05em;
}

.about-card__line {
  width: 6rem;
  height: 1px;
  margin: 2rem 0;
  background: linear-gradient(to right, #60a5fa, transparent);
  box-shadow: 0 0 40px rgb(59, 130, 246);
}

.about-card__headline {
  font-family: var(--font);
  font-size: clamp(1.85rem, 3.6vw, 3.1rem);
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.07em;
  line-height: 1.2;
}

.about-card__note {
  margin-top: 1.5rem;
  padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 1px solid rgba(59, 130, 246, 0.4);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 400;
  font-style: normal;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.55;
  letter-spacing: -0.05em;
}

.about-card__founder {
  display: flex;
  justify-content: flex-start;
  margin-top: 2rem;
  width: min(100%, 220px);
}

.about-card__founder img {
  width: 100%;
  height: auto;
  max-height: 140px;
  border-radius: 0;
  object-fit: contain;
  object-position: left center;
  background: transparent;
}

/* Diseño de referencia: 780px de ancho. Todo se mide contra el ancho de la
   tarjeta, así los saltos de línea son siempre los mismos y la proporción
   se mantiene al hacer zoom o cambiar de monitor. */
@container (min-width: 200px) {
  .about-card {
    padding: 7.18cqw 8.21cqw;
    border-radius: 7.69cqw;
    box-shadow: 0 0 19.2cqw rgba(59, 130, 246, 0.3);
  }

  .about-card .eyebrow {
    font-size: 1.54cqw;
    margin-bottom: 2.56cqw;
  }

  .about-card__lead {
    font-size: 5.64cqw;
  }

  .about-card__accent {
    margin-top: 1.03cqw;
  }

  .about-card__body {
    margin-top: 3.59cqw;
    font-size: 2.18cqw;
    max-width: 45.1cqw;
  }

  .about-card__line {
    width: 12.31cqw;
    margin: 4.1cqw 0;
  }

  .about-card__headline {
    font-size: 6.36cqw;
  }

  .about-card__note {
    margin-top: 3.08cqw;
    padding: 0.32cqw 0 0.32cqw 3.08cqw;
    font-size: 1.95cqw;
  }

  .about-card__founder {
    margin-top: 4.1cqw;
    width: 28.2cqw;
  }

  .about-card__founder img {
    max-height: 17.95cqw;
  }
}

/* Studio */
.studio {
  width: min(100% - 2.5rem, 1080px);
  margin: 0 auto;
  padding: 4.5rem 0 5.5rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.studio .eyebrow {
  margin-bottom: 1rem;
}

.studio__title {
  font-family: var(--font);
  font-size: clamp(1.35rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.25;
  max-width: 36rem;
  margin: 0 auto 2.25rem;
  color: rgba(255, 255, 255, 0.55);
}

.studio__title strong {
  font-weight: 700;
  color: #fff;
}

.studio__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 2.75rem;
}

.studio__tags li {
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.03);
}

.studio__flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.studio__flow li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 1.1rem 0.5rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font);
  font-size: clamp(0.72rem, 1.5vw, 0.95rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.25;
}

.studio__flow li span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.38);
}

/* Testimonials */
.testimonials {
  padding: 4rem 1.5rem 6rem;
}

.testimonials__head {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
  gap: 1.75rem;
  width: min(100%, 680px);
  margin-inline: auto;
}

.testimonial-card {
  aspect-ratio: 9 / 16;
  max-height: 540px;
}

/* Inner page headers */
.page-hero {
  padding: 11rem 1.5rem 3rem;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font);
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.06em;
  line-height: 1.12;
  margin: 0.75rem 0 1.1rem;
  overflow: visible;
  color: var(--text);
}

.page-hero h1 span {
  font-weight: 400;
  color: var(--muted);
}

.page-hero p {
  font-family: var(--font);
  font-size: 1.125rem;
  font-weight: 400;
  font-style: normal;
  color: var(--muted);
  max-width: 30rem;
  margin-inline: auto;
  letter-spacing: -0.05em;
  line-height: 1.5;
}

.video-gallery {
  display: grid;
  gap: 2rem;
  padding: 0 1.5rem 6rem;
  width: min(100%, var(--max));
  margin-inline: auto;
}

.video-gallery--vertical {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1080px;
}

.video-gallery--horizontal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 1480px);
  max-width: 1480px;
  gap: 1.5rem;
}

.video-card--vertical {
  aspect-ratio: 9 / 16;
}

.video-card--horizontal {
  aspect-ratio: 16 / 9;
}

/* Final CTA */
.final-cta {
  padding: 8rem 1.5rem 10rem;
  text-align: center;
}

.final-cta h2 {
  font-family: var(--font);
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.06em;
  line-height: 1.2;
  margin-bottom: 2.5rem;
  overflow: visible;
  padding-inline: 0.2em;
}

/* Contact */
.contact-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10rem 1.5rem 6rem;
}

.contact-card {
  text-align: center;
  max-width: 40rem;
}

.contact-card h1 {
  font-family: var(--font);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.06em;
  line-height: 1.18;
  margin: 1rem 0 1.35rem;
  overflow: visible;
  padding-inline: 0.12em;
}

.contact-card p {
  font-family: var(--font);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 2.25rem;
  line-height: 1.5;
  letter-spacing: -0.05em;
}

.contact-card__number {
  display: block;
  margin-top: 1.35rem;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 899px) {
  .hero {
    min-height: auto;
    padding: calc(7.5rem + env(safe-area-inset-top, 0px)) 1.15rem 3rem;
    gap: 2.25rem;
  }

  .hero__copy {
    max-width: 100%;
  }

  .hero__title {
    font-size: clamp(2.15rem, 11vw, 3.4rem);
    margin-bottom: 1.1rem;
  }

  .hero__lead {
    font-size: 1.02rem;
    margin-bottom: 1.6rem;
    max-width: 22rem;
  }

  .about-card {
    padding: 1.5rem 1.25rem 1.65rem;
    border-radius: 28px;
    box-shadow: 0 0 80px rgba(59, 130, 246, 0.22);
  }

  .about-card__lead {
    font-size: 1.35rem;
  }

  .about-card__body,
  .about-card__note {
    font-size: 0.95rem;
    max-width: none;
  }

  .about-card__headline {
    font-size: 1.45rem;
  }

  .about-card__founder {
    width: min(100%, 180px);
    margin-left: 0;
    margin-right: auto;
    margin-top: 1.5rem;
  }

  .apple-block {
    width: min(100% - 2.3rem, 720px);
    padding: 3.25rem 0 3.75rem;
  }

  .apple-block__copy {
    margin-bottom: 2rem;
    font-size: 1.05rem;
  }

  .apple-block__grid {
    gap: 0.75rem;
  }

  .apple-block__grid > div {
    padding-left: 0.75rem;
  }

  .apple-block__grid span {
    font-size: 1.15rem;
  }

  .apple-block__grid small {
    font-size: 9px;
  }

  .studio {
    width: min(100% - 2.3rem, 1080px);
    padding: 3.25rem 0 3.5rem;
  }

  .studio__title {
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
  }

  .studio__tags {
    gap: 0.4rem;
    margin-bottom: 1.75rem;
  }

  .studio__tags li {
    padding: 0.35rem 0.7rem;
    font-size: 11px;
  }

  .studio__flow {
    gap: 0.5rem;
  }

  .studio__flow li {
    padding: 0.85rem 0.3rem;
    border-radius: 14px;
    font-size: 0.68rem;
  }

  .testimonials {
    padding: 2.5rem 1.15rem 3.5rem;
  }

  .testimonials__head {
    margin-bottom: 1.75rem;
  }

  .testimonials__head .page-hero {
    font-size: clamp(1.7rem, 8vw, 2.4rem) !important;
  }

  .testimonials__grid {
    gap: 0.75rem;
    width: 100%;
  }

  .testimonial-card {
    max-height: none;
    border-radius: 18px;
  }

  .page-hero {
    padding: calc(7.5rem + env(safe-area-inset-top, 0px)) 1.15rem 2rem;
  }

  .page-hero h1 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .page-hero p {
    font-size: 1rem;
  }

  .video-gallery {
    gap: 0.75rem;
    padding: 0 1.15rem 4rem;
  }

  .video-gallery--horizontal {
    gap: 0.75rem;
  }

  .final-cta {
    padding: 4.5rem 1.15rem 5.5rem;
  }

  .final-cta h2 {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
    margin-bottom: 1.75rem;
  }

  .contact-page {
    padding: calc(7.5rem + env(safe-area-inset-top, 0px)) 1.15rem 4rem;
    min-height: auto;
  }

  .contact-card h1 {
    font-size: clamp(1.85rem, 9vw, 2.8rem);
  }
}
