/*
Theme Name: QSD Theme
Theme URI: http://qsd.local/
Author: Antigravity
Author URI: http://qsd.local/
Description: Un tema premium diseñado a medida para QSD.
Version: 1.0
Text Domain: qsd-theme
*/

:root {
  --color-bg-dark: #000000;
  --color-bg-card: #111111;
  --color-text-light: #ffffff;
  --color-text-muted: #a0a0a0;
  --color-brand-pink: #ff007f;
  --color-accent-gradient: var(--color-brand-pink);
  --font-family-primary: 'Inter', 'Roboto', sans-serif;
  --transition-speed: 0.3s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  font-family: var(--font-family-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-speed);
}

a:hover {
  color: var(--color-brand-pink);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 5%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease, height 0.3s ease;
}

.site-header.scrolled {
  height: 70px;
  background-color: rgba(0, 0, 0, 0.95);
}

.site-header.hide-nav {
  transform: translateY(-100%);
}

.site-logo {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -2px;
  margin-right: auto;
}

.site-logo span {
  color: var(--color-brand-pink);
}

.site-nav {
  display: flex;
  gap: 2rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.site-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 1px;
  position: relative;
  padding: 5px 0;
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInLeft 0.5s forwards ease-out;
}

.site-nav a:nth-child(1) {
  animation-delay: 0.1s;
}

.site-nav a:nth-child(2) {
  animation-delay: 0.2s;
}

.site-nav a:nth-child(3) {
  animation-delay: 0.3s;
}

.site-nav a:nth-child(4) {
  animation-delay: 0.4s;
}

.site-nav a:nth-child(5) {
  animation-delay: 0.5s;
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-accent-gradient);
  transition: width var(--transition-speed) ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Header Search */
.header-search-toggle {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
  margin-left: 0;
}

.header-search-toggle:hover {
  color: var(--color-brand-pink);
}

.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(15px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.search-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.search-overlay-content {
  width: 90%;
  max-width: 900px;
  position: relative;
}

.search-form {
  display: flex;
  border-bottom: 2px solid var(--color-brand-pink);
}

.search-field {
  flex: 1;
  background: transparent;
  border: none;
  color: white;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  padding: 1rem 0;
  outline: none;
}

.search-field::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.search-submit {
  background: transparent;
  border: none;
  color: var(--color-brand-pink);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  padding-left: 2rem;
  letter-spacing: 1px;
}

.search-close {
  position: absolute;
  top: -80px;
  right: 0;
  background: transparent;
  border: none;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
}

.search-close:hover {
  color: var(--color-brand-pink);
}

/* Hero Section */
.hero-section {
  padding: 160px 5% 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 6.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -1.5px;
  color: white;
  word-wrap: break-word;
  padding: 0 20px;
}

.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInLeft 0.8s forwards ease-out;
}

.hero-title .line:nth-child(1) {
  animation-delay: 0.1s;
}

.hero-title .line:nth-child(2) {
  animation-delay: 0.3s;
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ── Hero content (bajo el título) ── */
.hero-content {
  padding: 0;
}

.hero-action-link a {
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroLinkUp 0.9s 0.5s forwards ease-out;
}

@keyframes heroLinkUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Arrow icon (global) */
.arrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--color-brand-pink);
  color: #fff;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.arrow-icon svg {
  display: block;
}

a:hover .arrow-icon,
button:hover .arrow-icon {
  transform: translateX(4px);
}


/* 360 Value / Insights Section */
.cards-section {
  padding: 2rem 7% 6rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 4px;
  background: var(--color-accent-gradient);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.card {
  position: relative;
  aspect-ratio: 2/3;
  /* Proporción vertical estrecha */
  overflow: hidden;
  cursor: pointer;
}

.card-bg {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease, filter 0.6s ease;
  z-index: 1;
}

.card:hover .card-bg {
  transform: scale(1.1);
  filter: blur(20px);
}

.card:hover {
  box-shadow: 0 0 40px rgba(255, 0, 127, 0.3);
  z-index: 10;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 2;
  pointer-events: none;
}



.card-content {
  position: relative;
  z-index: 3;
  padding: 1.5rem 1.25rem;
  /* Espaciado interno optimizado */
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  color: #fff;
}

.card-title {
  font-size: 1.15rem;
  /* Tamaño compacto y legible */
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.2px;
}



.card-excerpt {
  font-size: 0.85rem;
  line-height: 1.5;
  margin-top: 1rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  color: #fff;
}



.card-action {
  margin-top: auto;
  align-self: flex-end;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
  transition-delay: 0.1s;
  display: flex;
  align-items: center;
}



.card:hover .card-action {
  opacity: 1;
  transform: translateY(0);
  color: var(--color-brand-pink);
}

.card:hover .arrow-icon {
  transform: translateX(4px);
}

.card:hover .card-excerpt {
  opacity: 1;
  max-height: 250px;
}

.card:hover .card-action {
  opacity: 1;
  transform: translateY(0);
}

/* ───────────────────────────────────────────
   Single Article – sa-
─────────────────────────────────────────── */
.single-article {
  background: #000;
  color: #fff;
}

/* Hero */
.sa-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #0a0a0a;
  background-size: cover;
  background-position: center;
  padding: 0 7% 6%;
  padding-top: 80px;
  /* compensa la cabecera fija */
}

.sa-hero--plain {
  min-height: 50vh;
  background: linear-gradient(160deg, #111 0%, #000 100%);
}

.sa-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.15) 0%,
      rgba(0, 0, 0, 0.5) 40%,
      rgba(0, 0, 0, 0.92) 100%);
  z-index: 1;
}

/* Topbar */
.sa-topbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0;
}

.sa-back {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.sa-back:hover {
  color: var(--color-brand-pink);
}

.sa-share {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.45);
}

.sa-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.3s ease;
}

.sa-share-btn:hover {
  border-color: var(--color-brand-pink);
  color: var(--color-brand-pink);
}

/* Hero Content */
.sa-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.sa-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.sa-category {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--color-brand-pink);
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.3s;
}

.sa-category:hover {
  opacity: 0.75;
}

.sa-readtime {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.5px;
}

.sa-readtime::before {
  content: '· ';
  opacity: 0.4;
}

.sa-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}

.sa-excerpt {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  max-width: 650px;
}

/* Body */
.sa-body-wrapper {
  background: #000;
  padding: 6rem 7%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.sa-body {
  max-width: 740px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.75);
}

.sa-body p {
  margin-bottom: 2rem;
}

.sa-body h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin-top: 3.5rem;
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
}

.sa-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.sa-body blockquote {
  border-left: 3px solid var(--color-brand-pink);
  padding: 1rem 0 1rem 2rem;
  margin: 2.5rem 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
  font-style: italic;
}

.sa-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 3rem auto;
}

.sa-body a {
  color: var(--color-brand-pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Related */
.sa-related {
  padding: 6rem 7%;
  background: #060606;
}

.sa-related-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.sa-related-title {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
}

.sa-related-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.sa-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.sa-rel-card {
  display: block;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.sa-rel-card:hover {
  transform: translateY(-4px);
}

.sa-rel-img {
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  transition: filter 0.5s ease;
  margin-bottom: 1.25rem;
}

.sa-rel-card:hover .sa-rel-img {
  filter: brightness(0.7);
}

.sa-rel-cat {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--color-brand-pink);
  margin-bottom: 0.5rem;
}

.sa-rel-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.sa-rel-action {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Responsive Single */
@media (max-width: 900px) {
  .sa-hero {
    padding: 0 5% 4rem;
    min-height: 70vh;
  }

  .sa-hero--plain {
    min-height: 40vh;
  }

  .sa-title {
    letter-spacing: -1px;
  }

  .sa-body-wrapper {
    padding: 4rem 5%;
  }

  .sa-related {
    padding: 4rem 5%;
  }

  .sa-related-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .sa-share span {
    display: none;
  }
}

/* Footer */
.site-footer {
  background-color: #000;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.footer-content-wrapper {
  display: flex;
  min-height: 500px;
}

.footer-left {
  flex: 1;
  padding: 4rem 5% 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-headline {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 3.5rem;
}

.footer-links-columns {
  display: flex;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-links-columns .col {
  list-style: none;
}

.footer-links-columns .col li {
  margin-bottom: 1.2rem;
}

.footer-links-columns .col li a {
  color: #ccc;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links-columns .col li a:hover {
  color: var(--color-brand-pink);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: auto;
  margin-bottom: 1rem;
}

.footer-logo .logo-main {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
}

.footer-logo .logo-main span {
  color: var(--color-brand-pink);
}

.footer-logo .logo-sub {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 1px;
}

.footer-sig-text {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  margin: 1.5rem 0;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.footer-copy {
  color: #666;
  font-size: 0.85rem;
}

.footer-right {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
}

.massive-vertical-text {
  display: flex;
  gap: 1.5rem;
  font-size: clamp(6rem, 12vw, 14.5rem);
  font-weight: 900;
  line-height: 0.8;
  color: #fff;
  text-transform: uppercase;
  margin-right: -2%;
  align-items: stretch;
}

.text-col {
  writing-mode: vertical-lr;
  text-orientation: sideways;
  text-align: right;
  position: relative;
  will-change: transform;
  transform: rotate(180deg);
  transition: color 0.4s ease, text-shadow 0.4s ease;
  cursor: default;
}

.text-col:hover {
  color: var(--color-brand-pink);
  text-shadow: 0 0 30px rgba(255, 0, 127, 0.5);
}

.col-1 {
  clip-path: inset(0 0 0 15%);
}

.col-2 {
  clip-path: inset(0 5% 0 5%);
}

.col-3 {
  clip-path: inset(0 15% 0 0%);
}

@media (max-width: 900px) {
  .footer-content-wrapper {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-right {
    min-height: 280px;
    display: flex;
    justify-content: flex-end;
    padding: 0;
    margin-top: -20px;
  }

  .massive-vertical-text {
    font-size: 6.5rem;
    gap: 1rem;
    margin-right: -5%;
    justify-content: flex-end;
  }

  .footer-links-columns {
    flex-direction: column;
    gap: 1.5rem;
  }
}


/* ───────────────────────────────────────────
   Page Template – qp-
─────────────────────────────────────────── */
.qsd-page {
  background: #000;
  color: #fff;
}

.qp-hero {
  position: relative;
  min-height: 38vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #080808;
  background-size: cover;
  background-position: center;
  padding: 0 7% 5%;
  padding-top: 80px;
}

.qp-hero--image .qp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 1;
}

.qp-hero--plain {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.qp-topbar {
  position: relative;
  z-index: 10;
  padding: 2rem 0 0;
}

.qp-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 3rem;
}

.qp-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -2px;
  color: #fff;
}

.qp-hero--plain .qp-title {
  color: #fff;
}

.qp-body-wrapper {
  background: #000;
  padding: 5rem 7% 6rem;
}

.qp-body {
  max-width: 740px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.7);
}

.qp-body p {
  margin-bottom: 1.75rem;
}

.qp-body h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: #fff;
  margin-top: 3rem;
  margin-bottom: 1rem;
  letter-spacing: -0.3px;
}

.qp-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.qp-body a {
  color: var(--color-brand-pink);
  text-underline-offset: 3px;
}

.qp-body strong {
  color: #fff;
}

.qp-body ul,
.qp-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.75rem;
}

.qp-body li {
  margin-bottom: 0.5rem;
}


@media (max-width: 900px) {
  .qp-hero {
    padding: 80px 5% 4rem;
    min-height: 30vh;
  }

  .qp-body-wrapper {
    padding: 3rem 5% 4rem;
  }

  .qp-title {
    letter-spacing: -1px;
  }
}

/* Responsive */
@media (max-width: 1200px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-title {
    font-size: clamp(3.5rem, 10vw, 5rem);
  }

  .hero-section {
    padding: 100px 5% 60px;
  }

  .site-nav {
    position: fixed;
    top: 80px;
    left: 0;
    transform: none;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(0, 0, 0, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.3s ease;
    left: -100%;
  }

  .site-nav.active {
    left: 0;
  }

  .header-search-toggle {
    margin-left: auto;
    margin-right: 1.5rem;
  }

  .menu-toggle {
    display: block;
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .grid-4 {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    margin: 0 -5%;
    padding: 0 5% 20px;
    gap: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
  }

  .grid-4::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome/Safari */
  }

  .grid-4 .card {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }
}

/* Utilities */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ───────────────────────────────────────────
   Waitlist Section
─────────────────────────────────────────── */
.waitlist-section {
  background: #000;
  padding: 8% 7%;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.waitlist-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.waitlist-text {
  flex: 1;
}

.waitlist-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-brand-pink);
  margin-bottom: 1.5rem;
}

.waitlist-title {
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: #fff;
  margin-bottom: 1.2rem;
}

.waitlist-sub {
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.waitlist-form-wrap {
  flex: 1;
  max-width: 480px;
}

.waitlist-input-group {
  display: flex;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  transition: border-color 0.3s;
  margin-bottom: 1rem;
}

.waitlist-input-group:focus-within {
  border-color: var(--color-brand-pink);
}

.waitlist-input-group input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  padding: 1.2rem 0;
  outline: none;
  font-family: var(--font-family-primary);
}

.waitlist-input-group input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.waitlist-input-group button {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0 0 1rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: color 0.3s;
}

.waitlist-input-group button:hover {
  color: var(--color-brand-pink);
}

.waitlist-btn-arrow {
  background: var(--color-brand-pink);
  color: #fff;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.waitlist-btn-arrow svg {
  display: block;
}

.waitlist-input-group button:hover .waitlist-btn-arrow {
  transform: translateX(3px);
}

.waitlist-feedback {
  font-size: 0.85rem;
  font-weight: 600;
  min-height: 1.4em;
  transition: all 0.3s;
}

.waitlist-feedback--ok {
  color: #4caf7d;
}

.waitlist-feedback--err {
  color: #ff5f5f;
}

.waitlist-legal {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.7rem;
  letter-spacing: 0.3px;
}

@media (max-width: 900px) {
  .waitlist-inner {
    flex-direction: column;
    gap: 2.5rem;
  }

  .waitlist-form-wrap {
    width: 100%;
    max-width: 100%;
  }

  .waitlist-title {
    letter-spacing: -0.5px;
  }

  .waitlist-section {
    padding: 15% 5%;
  }
}

@media (max-width: 480px) {
  .waitlist-input-group {
    flex-direction: column;
    border-bottom: none;
    gap: 1rem;
  }

  .waitlist-input-group input {
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    width: 100%;
  }

  .waitlist-input-group button {
    padding: 1rem 0;
    justify-content: space-between;
    border-bottom: 2px solid var(--color-brand-pink);
    width: 100%;
  }

  .hero-title {
    letter-spacing: -1.5px;
    font-size: 2.8rem;
    line-height: 1.1;
    padding: 0 10px;
  }
}

/* ───────────────────────────────────────────
   Featured Article – Scroll Morphing
─────────────────────────────────────────── */

/* El wrapper tiene altura generosa para dar recorrido al scroll */
.fa-scroll-wrapper {
  position: relative;
  height: 250vh;
  background: #000;
}

/* El stage es sticky: flex row fijo, imagen izq + texto dcha */
.fa-sticky-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #000;
}

/* Columna imagen: siempre 55% */
.fa-image-col {
  position: relative;
  width: 55%;
  flex-shrink: 0;
  overflow: hidden;
}

/* Imagen interior: se anima pero no mueve el layout */
.fa-image-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.12);
  filter: brightness(0.3) blur(12px);
  transition: transform 0.06s linear, filter 0.06s linear;
  will-change: transform, filter;
}

.fa-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.0) 0%,
      rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
  pointer-events: none;
}

.fa-label-initial {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.4);
  z-index: 2;
}

/* Panel de texto: columna derecha, siempre visible en layout pero con fade-in */
.fa-text-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  padding: 4rem 7% 4rem 5%;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  z-index: 10;
}

.fa-text-panel.fa-visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.fa-cat {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--color-brand-pink);
  text-transform: uppercase;
}

.fa-title {
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  color: #fff;
}

.fa-excerpt {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
}

.fa-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  width: fit-content;
  transition: color 0.3s;
}



.fa-link:hover {
  color: var(--color-brand-pink);
}



.fa-link .arrow-icon {
  background: var(--color-brand-pink);
  transition: transform 0.3s;
}

.fa-link:hover .arrow-icon {
  transform: translateX(4px);
}

/* Móvil: layout vertical, imagen arriba, texto abajo */
@media (max-width: 900px) {
  .fa-scroll-wrapper {
    height: auto;
  }

  .fa-sticky-stage {
    position: relative;
    height: auto;
    min-height: auto;
    flex-direction: column;
  }

  .fa-image-col {
    width: 100%;
    height: 55vw;
    min-height: 260px;
  }

  .fa-image-bg {
    transform: scale(1);
    filter: brightness(1) blur(0);
  }

  .fa-text-panel {
    position: relative;
    width: 100%;
    padding: 2.5rem 5%;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .fa-label-initial {
    display: none;
  }
}

/* ───────────────────────────────────────────
   Acelera tus proyectos – Page
─────────────────────────────────────────── */
.atp-page {
  padding-top: 80px;
  background: #000;
  color: #fff;
}

/* Animación fade para elementos secundarios */
.reveal-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal-fade.active {
  opacity: 1;
  transform: translateY(0);
}

/* Hero */
.atp-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12% 7% 6%;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.atp-eyebrow {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-brand-pink);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.atp-hero-title {
  font-size: clamp(2.5rem, 8vw, 8.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -3px;
  margin-bottom: 3rem;
  word-wrap: break-word;
  padding: 0 5%;
}

.atp-line {
  display: block;
  opacity: 0;
  transform: translateX(-60px);
  animation: slideInLeft 0.9s forwards ease-out;
}

.atp-line:nth-child(1) {
  animation-delay: 0.2s;
}

.atp-line:nth-child(2) {
  animation-delay: 0.45s;
  color: var(--color-brand-pink);
}

.atp-hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 500px;
}

.atp-hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 7%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.atp-scroll-line {
  width: 60px;
  height: 1px;
  background: var(--color-brand-pink);
  animation: expandLine 2s ease-in-out infinite;
}

@keyframes expandLine {

  0%,
  100% {
    width: 40px;
    opacity: 0.4;
  }

  50% {
    width: 80px;
    opacity: 1;
  }
}

/* Manifiesto */
.atp-manifesto {
  padding: 8% 7%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.atp-manifesto-inner {
  max-width: 900px;
}

.atp-manifesto-text {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

/* Pilares */
.atp-pillars {
  padding: 8% 7%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.atp-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}

.atp-pillar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.atp-pillar-number {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-brand-pink);
  letter-spacing: 2px;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.12);
}

.atp-pillar-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.atp-pillar-body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
}

/* Estadísticas */
.atp-stats {
  padding: 7% 7%;
  background: #0a0a0a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.atp-stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  flex-wrap: wrap;
}

.atp-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.atp-stat-num {
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1;
  color: var(--color-brand-pink);
  letter-spacing: -2px;
}

.atp-stat-label {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 1px;
  max-width: 180px;
  line-height: 1.4;
}

.atp-stat-divider {
  width: 1px;
  height: 80px;
  background: rgba(255, 255, 255, 0.12);
}

/* Cita */
.atp-quote {
  padding: 10% 7%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.atp-quote-text {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.4;
  max-width: 800px;
  font-style: normal;
}

.atp-quote-author {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-brand-pink);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-style: normal;
}

/* Responsive ATP */
@media (max-width: 900px) {
  .atp-hero {
    padding: 18% 6% 10%;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .atp-hero-scroll {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 4rem;
  }

  .atp-hero-title {
    font-size: clamp(2.5rem, 12vw, 5rem);
    letter-spacing: -2px;
  }

  .atp-pillars-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .atp-stats-inner {
    gap: 3rem;
  }

  .atp-stat-divider {
    display: none;
  }

  .atp-manifesto {
    padding: 12% 6%;
  }

  .atp-stats {
    padding: 10% 6%;
  }

  .atp-pillars {
    padding: 10% 6%;
  }

  .atp-quote {
    padding: 14% 6%;
  }
}

@media (max-width: 480px) {
  .atp-hero-title {
    font-size: 2.8rem;
    letter-spacing: -1.5px;
  }

  .atp-hero-sub {
    font-size: 1.1rem;
  }
}

/* ── PARTNERS SECTION ── */
.partners-section {
  background-color: #000;
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.partners-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.partners-title {
  font-size: 1.2rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 50px;
  text-align: center;
}

.partners-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.partners-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.partner-logo {
  flex: 1;
  min-width: 120px;
  max-width: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.partner-logo img {
  max-width: 100%;
  height: auto;
  max-height: 40px;
  object-fit: contain;
  filter: grayscale(1) brightness(2) opacity(0.5);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.partner-logo img:hover {
  filter: grayscale(0) brightness(1) opacity(1);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .partners-row {
    gap: 20px;
  }

  .partner-logo {
    min-width: 80px;
    max-width: 100px;
  }

  .partner-logo img {
    max-height: 30px;
  }
}

/* Language Selector */
.header-right-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  z-index: 10;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
}

.lang-item {
  transition: all 0.3s ease;
}

.lang-item.active {
  color: #fff;
}

.lang-sep {
  color: rgba(255, 255, 255, 0.4);
}

.lang-item.fake-link {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

.lang-item.fake-link:hover {
  color: var(--color-brand-pink);
  text-shadow: 0 0 8px var(--color-brand-pink), 0 0 20px var(--color-brand-pink);
  filter: brightness(1.5);
}



@media (max-width: 768px) {
  .lang-selector {
    display: none;
  }
}