/* ── INKX Footer ─────────────────────────────────────────── */
.inkx-footer {
  background: var(--black);
  color: var(--white);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 60px;
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-nav-grid {
  display: contents;
}

.footer-crimson-line {
  width: 40px; height: 2px;
  background: var(--crimson);
  margin-bottom: var(--space-5);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.footer-logo-img {
  height: 64px;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 10px rgba(143,19,37,0.4));
  transition: transform 0.25s ease;
}
.footer-logo-img:hover {
  transform: scale(1.02);
}
.footer-logo span { color: var(--crimson); }

.footer-desc {
  font-size: var(--text-sm);
  font-weight: 300;
  line-height: var(--leading-loose);
  color: rgba(255,255,255,0.4);
  max-width: 240px;
  margin-bottom: var(--space-6);
}

.footer-brand-action {
  margin-top: 4px;
}

.footer-col-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: var(--space-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-links a {
  font-size: var(--text-sm);
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  transition: color var(--duration-fast);
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-6) 0;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.25);
}

/* ── HOME: Hero ──────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-height);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 48%, rgba(143,19,37,.25), transparent 27%),
    radial-gradient(circle at 18% 90%, rgba(143,19,37,.12), transparent 32%),
    var(--black);
}
.hero::after {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  right: -250px; top: 5%;
  border: 1px solid rgba(143,19,37,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(143,19,37,.025), 0 0 0 180px rgba(143,19,37,.015);
  pointer-events: none;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 56px 80px var(--container-pad);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: var(--space-8);
}
.hero-tag::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--crimson);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 300;
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: var(--space-6);
}
.hero-title em     { font-style: italic; color: var(--crimson); }
.hero-title strong { font-weight: 700; display: block; }

.hero-desc {
  font-size: var(--text-base);
  font-weight: 300;
  line-height: var(--leading-loose);
  color: var(--gray-500);
  max-width: 400px;
  margin-bottom: var(--space-10);
}

.hero-ctas {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}

.hero-stats {
  display: flex;
  gap: var(--space-10);
  margin-top: var(--space-12);
  padding-top: var(--space-10);
  border-top: 1px solid var(--gray-100);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-num span  { color: var(--crimson); }
.stat-label {
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-top: var(--space-1);
}

/* ── Hero Trust Badges (Garantías) ── */
.hero-trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-trust-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(182, 27, 51, 0.14);
  border: 1px solid rgba(182, 27, 51, 0.4);
  color: #ff4d67;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(182, 27, 51, 0.22);
}
.hero-trust-icon svg {
  width: 18px;
  height: 18px;
}
.hero-trust-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.hero-trust-desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.35;
}
@media (max-width: 900px) {
  .hero-trust-badges {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.hero-right { position: relative; overflow: hidden; }
.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--black) 0%, transparent 15%);
  z-index: 2;
  pointer-events: none;
}
.hero-img-placeholder {
  width: 100%; height: 100%;
  min-height: 600px;
  background: transparent;
  border-left: 1px dashed rgba(255,255,255,0.05);
  position: relative;
}
.hero-img-placeholder::after {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent, transparent 28px,
    rgba(255,255,255,0.015) 28px, rgba(255,255,255,0.015) 29px
  );
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px; left: var(--container-pad);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.scroll-line {
  width: 40px; height: 1px;
  background: var(--gray-300);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--black);
  animation: scrollSlide 2s ease-in-out infinite 1s;
}
@keyframes scrollSlide {
  0%   { left: -100%; }
  50%  { left: 0%;     }
  100% { left: 100%;   }
}

/* ── HOME: Cómo funciona ─────────────────────────────────── */
.how-section {
  padding: 120px 0;
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.how-section::before {
  content: 'INKX';
  position: absolute;
  right: -30px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 260px; font-weight: 700;
  color: rgba(255,255,255,0.03);
  pointer-events: none; line-height: 1;
}
.how-section .section-tag  { color: var(--crimson); }
.how-section h2 { color: var(--white); margin-bottom: 64px; }
.how-section h2 em { color: var(--crimson); font-style: italic; }

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
}
.how-step {
  padding: 48px 36px;
  background: var(--black);
  position: relative;
  transition: background var(--duration-base);
}
.how-step:hover { background: rgba(255,255,255,0.03); }

.step-num {
  font-family: var(--font-display);
  font-size: 68px; font-weight: 700; line-height: 1;
  color: rgba(255,255,255,0.05);
  position: absolute; top: 20px; right: 20px;
  transition: color var(--duration-base);
  pointer-events: none;
}
.how-step:hover .step-num { color: rgba(166,28,46,0.12); }

.step-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--crimson);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-6);
  color: var(--crimson);
}
.step-icon svg { width: 18px; height: 18px; }

.step-title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 400;
  color: var(--white);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}
.step-desc {
  font-size: var(--text-sm); font-weight: 300;
  line-height: var(--leading-loose);
  color: rgba(255,255,255,0.4);
}

/* ── HOME: Estilos ───────────────────────────────────────── */
.styles-section {
  padding: 80px 0;
  background: var(--off-white);
  border-top: 1px solid var(--gray-100);
}
.styles-section h2 { margin-bottom: 0; }
.styles-section h2 em { font-style: italic; color: var(--crimson); }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-10);
}


.styles-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 4px 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(182, 27, 51, 0.4) transparent;
  margin-top: var(--space-6);
}
.styles-scroll::-webkit-scrollbar {
  height: 4px;
}
.styles-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.styles-scroll::-webkit-scrollbar-thumb {
  background: rgba(182, 27, 51, 0.4);
  border-radius: 4px;
}

.style-pill {
  flex-shrink: 0;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(22, 22, 22, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.style-pill:hover {
  background: rgba(182, 27, 51, 0.18);
  color: #ffffff;
  border-color: rgba(182, 27, 51, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(182, 27, 51, 0.3);
}
.style-pill.active {
  background: linear-gradient(135deg, #b61b33 0%, #750d1e 100%);
  color: #ffffff;
  border-color: #ff3355;
  box-shadow: 0 4px 20px rgba(182, 27, 51, 0.55);
  font-weight: 800;
  transform: translateY(-1px);
}

/* ── Botones Destacados de Sección ── */
.btn-crimson-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(182, 27, 51, 0.12);
  border: 1px solid rgba(182, 27, 51, 0.5);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
.btn-crimson-outline:hover {
  background: #b61b33;
  color: #ffffff !important;
  border-color: #ff3355;
  box-shadow: 0 0 22px rgba(182, 27, 51, 0.6);
  transform: translateY(-2px);
}
.btn-crimson-outline svg {
  transition: transform 0.2s ease;
}
.btn-crimson-outline:hover svg {
  transform: translateX(4px);
}

.btn-action-viewall {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.25s ease;
}
.btn-action-viewall:hover {
  background: rgba(182, 27, 51, 0.2);
  border-color: rgba(182, 27, 51, 0.6);
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(182, 27, 51, 0.35);
  transform: translateX(3px);
}

/* ── HOME: Artistas ──────────────────────────────────────── */
.artists-section { padding: 120px 0; }
.artists-section h2 { margin-bottom: 0; color: var(--white); }
.artists-section h2 em { font-style: italic; color: var(--crimson); }

.artists-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.artist-card { cursor: pointer; }
.artist-card-img {
  display: block;
  width: 100%; aspect-ratio: 3/4;
  background: var(--gray-100);
  overflow: hidden;
  position: relative;
  margin-bottom: var(--space-4);
  transition: opacity var(--duration-base);
}
.artist-card-img:hover { opacity: 0.9; }
.artist-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}
.artist-card-img:hover img { transform: scale(1.03); }
.img-placeholder {
  width: 100%; height: 100%;
  background: var(--gray-100);
}

.verified-badge {
  position: absolute; bottom: 12px; left: 12px;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--crimson); color: var(--white);
  padding: 3px 9px;
}

.artist-name  { font-family: var(--font-display); font-size: 19px; font-weight: 400; margin-bottom: 4px; }
.artist-meta  { font-size: var(--text-xs); color: var(--gray-500); display: flex; gap: var(--space-2); align-items: center; }
.artist-rating { color: var(--crimson); font-weight: 500; }
.artist-styles { margin-top: var(--space-2); display: flex; flex-wrap: wrap; gap: 4px; }
.style-tag {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--gray-200); padding: 2px 8px;
  color: var(--gray-600);
  display: inline-block;
  transition: all var(--duration-fast);
}
.style-tag:hover { background: var(--black); color: var(--white); border-color: var(--black); }

/* Skeleton loaders */
.skeleton {
  background: var(--gray-100);
  animation: shimmer 1.5s infinite;
}
.skeleton-text    { height: 16px; width: 80%; margin-bottom: 8px; }
.skeleton-text-sm { height: 12px; width: 50%; }
@keyframes shimmer {
  0%,100% { opacity: 1; }
  50%     { opacity: 0.5; }
}

/* ── HOME: CTA Cotización ────────────────────────────────── */
.quote-cta-block {
  margin: 0 var(--container-pad);
  background: radial-gradient(circle, rgba(143,19,37,.3), transparent 33%), var(--black);
  padding: 80px 72px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-12);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.quote-cta-block::before {
  content: '';
  position: absolute;
  top: -1px; left: 72px;
  width: 80px; height: 2px;
  background: var(--crimson);
}
.quote-cta-text h2  { color: var(--white); margin-bottom: var(--space-4); }
.quote-cta-text h2 em { font-style: italic; color: var(--crimson); }
.quote-cta-text p {
  font-size: var(--text-sm); font-weight: 300;
  line-height: var(--leading-loose);
  color: rgba(255,255,255,0.4);
  max-width: 460px;
}
.quote-cta-actions {
  display: flex; flex-direction: column;
  gap: var(--space-3); min-width: 210px;
}

/* ── HOME: Banner artistas ───────────────────────────────── */
.artist-banner {
  padding: 60px var(--container-pad);
  background: var(--crimson);
  display: flex; justify-content: space-between;
  align-items: center; gap: var(--space-8);
}
.artist-banner-text {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 300; color: var(--white);
  line-height: var(--leading-snug);
  letter-spacing: -0.02em;
}
.artist-banner-text em     { font-style: italic; }
.artist-banner-text strong { font-weight: 700; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .how-grid       { grid-template-columns: repeat(2, 1fr); }
  .artists-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-top     { grid-template-columns: 1fr 1fr; gap: 40px; }
  .quote-cta-block { margin: 0; padding: 60px 40px; }
}

@media (max-width: 768px) {
  .hero           { grid-template-columns: 1fr; min-height: auto; }
  .hero-right     { display: none; }
  .hero-left      { padding: 48px var(--container-pad) 32px; }
  .how-grid       { grid-template-columns: 1fr; }
  .artists-grid   { grid-template-columns: 1fr 1fr; }

  /* ── Footer Mobile / PWA: Cuadrícula simétrica y marca centrada ── */
  .footer-top {
    display: flex;
    flex-direction: column;
    gap: 36px;
    padding: 56px 0 36px;
  }
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .footer-crimson-line {
    margin: 0 auto 16px auto;
  }
  .footer-logo {
    margin: 0 auto 12px auto;
  }
  .footer-logo-img {
    height: 52px;
  }
  .footer-desc {
    max-width: 330px;
    margin: 0 auto 20px auto;
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
  }
  .footer-brand-action {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .footer-brand-action .btn {
    min-width: 220px;
    justify-content: center;
    text-align: center;
  }

  .footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
    width: 100%;
  }
  .footer-col-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 14px;
  }
  .footer-links {
    gap: 10px;
  }
  .footer-links a {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s;
  }
  .footer-links a:hover {
    color: #ffffff;
  }
  .footer-col-legal {
    grid-column: span 2;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .footer-col-legal .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 24px 0 calc(28px + env(safe-area-inset-bottom, 0px));
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
  }

  .quote-cta-block { grid-template-columns: 1fr; padding: 48px 32px; }
  .quote-cta-actions { flex-direction: row; flex-wrap: wrap; }
  .artist-banner  { flex-direction: column; align-items: flex-start; gap: var(--space-6); }

  .styles-scroll {
    margin-left: calc(-1 * var(--container-pad));
    margin-right: calc(-1 * var(--container-pad));
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }
  .style-pill {
    scroll-snap-align: start;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: clamp(32px, 8.5vw, 44px);
    line-height: 1.1;
    margin-bottom: 16px;
  }
  .hero-desc {
    font-size: 14px;
    max-width: 100%;
    margin-bottom: 24px;
  }
  .hero-left {
    padding: 36px var(--container-pad) 28px;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
  }
  .section-header .btn-action-viewall {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .footer-nav-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-col-legal .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .artists-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .artist-card-img {
    aspect-ratio: 4/3;
    border-radius: 12px;
  }
  .quote-cta-block {
    padding: 36px 20px;
    border-radius: 14px;
    margin: 0;
  }
  .quote-cta-actions {
    width: 100%;
    flex-direction: column;
  }
  .quote-cta-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .artist-banner {
    padding: 36px 20px;
    border-radius: 14px;
  }
  .artist-banner .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
