/* Pin4Us — landing con logo real e imágenes fotográficas */

:root {
  --naranja: #e77e33;
  --naranja-oscuro: #d6631f;
  --texto: #1a1a1a;
  --muted: #4a5560;
  --fondo: #f5f5f5;
  --blanco: #ffffff;
  --linea: #e0e8f0;
  --azul: #1976d2;
  --azul-oscuro: #1565c0;
  --fuente: "Outfit", system-ui, sans-serif;
  --display: "Outfit", system-ui, sans-serif;
  --pad: clamp(1.2rem, 4.5vw, 2.25rem);
  --max: 960px;
  --max-texto: 720px;
  --radio: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--fuente);
  color: var(--texto);
  background: var(--fondo);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.wrap {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-inline: var(--pad);
}

/* ——— Cabecera ——— */
.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem var(--pad);
  background: color-mix(in srgb, var(--fondo) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.logo img {
  height: 34px;
  width: auto;
}

.top-cta {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--texto);
  border-bottom: 2px solid var(--naranja);
  padding-bottom: 0.1rem;
}

/* ——— Hero a sangre ——— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: end;
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  animation: hero-zoom 18s ease-out both;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 18, 28, 0.25) 0%,
    rgba(12, 18, 28, 0.45) 40%,
    rgba(10, 14, 22, 0.88) 100%
  );
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max-texto));
  margin: 0 auto;
  padding: 6.5rem var(--pad) 3rem;
  animation: rise 0.85s ease-out both;
}

.hero-logo {
  height: 40px;
  width: auto;
  margin-bottom: 1.1rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 10px;
}

.hero h1 {
  margin: 0 0 0.9rem;
  max-width: 20ch;
  font-family: var(--display);
  font-size: clamp(1.4rem, 4.2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.hero-lead {
  margin: 0 0 1.6rem;
  max-width: 30rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  font-family: var(--fuente);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radio);
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  color: #fff;
  background: var(--naranja);
}

.btn-primary:hover {
  background: var(--naranja-oscuro);
}

.btn-ghost {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  border-color: #fff;
}

/* ——— Bloques ——— */
.block {
  padding: clamp(3.25rem, 8vw, 5rem) 0;
  background: var(--blanco);
}

.block-tint {
  background: linear-gradient(180deg, #faf6f2 0%, #f5f5f5 100%);
}

.block-photo {
  background: var(--fondo);
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--naranja-oscuro);
}

h2 {
  margin: 0 0 0.9rem;
  font-family: var(--display);
  font-size: clamp(1.45rem, 4vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.text {
  margin: 0 0 1.5rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.65;
}

.media-row {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 820px) {
  .media-row {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }

  .media-row.invert .media-copy {
    order: 2;
  }

  .media-row.invert .media-photo {
    order: 1;
  }
}

.media-photo {
  margin: 0;
  border-radius: var(--radio);
  overflow: hidden;
  background: #ddd;
}

.media-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--linea);
}

.bullets li {
  display: grid;
  gap: 0.2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--linea);
}

.bullets strong {
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: 0;
}

.bullets span {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.split {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--linea);
}

@media (min-width: 640px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

.split article {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--linea);
}

@media (min-width: 640px) {
  .split article:first-child {
    padding-right: 1.25rem;
    border-right: 1px solid var(--linea);
  }

  .split article:last-child {
    padding-left: 1.25rem;
  }
}

.split h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0;
}

.split p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.channel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.channel-list-light li {
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--naranja);
  background: var(--blanco);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
}

.ideas {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.ideas li {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--linea);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.45;
}

.ideas span {
  flex-shrink: 0;
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--naranja-oscuro);
  letter-spacing: 0.03em;
}

/* ——— CTA ——— */
.cta {
  padding: clamp(3.5rem, 9vw, 5.5rem) 0;
  background: linear-gradient(180deg, var(--fondo), var(--blanco));
  border-top: 1px solid var(--linea);
}

.cta-inner {
  text-align: center;
}

.cta-logo {
  margin: 0 auto 1rem;
  height: 40px;
  width: auto;
}

.cta-inner .text {
  margin-left: auto;
  margin-right: auto;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.store {
  min-width: 10.5rem;
  padding: 0.85rem 1.15rem;
  text-align: left;
  background: var(--blanco);
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.store:hover {
  border-color: var(--naranja);
  transform: translateY(-2px);
}

.store-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.store-name {
  display: block;
  margin-top: 0.15rem;
  font-size: 1.05rem;
  font-weight: 700;
}

/* ——— Pie ——— */
.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 1.4rem var(--pad);
  background: var(--blanco);
  border-top: 1px solid var(--linea);
}

.foot img {
  height: 28px;
  width: auto;
}

.foot p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ——— Movimiento ——— */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-zoom {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}

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

  .hero-copy,
  .hero-bg img {
    animation: none;
  }
}
