@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Geist:wght@300;400;500;600&family=Geist+Mono:wght@400;500&display=swap');

:root {
  --bg: #f8f7ff;
  --bg-2: #f5f5f5;
  --paper: #ffffff;
  --ink: #1b2340;
  --ink-2: #43434b;
  --ink-3: #8a8a92;
  --line: rgba(27, 35, 64, 0.08);
  --line-2: rgba(27, 35, 64, 0.14);

  /* Morado SITTEZ */
  --violet: #7f13ec;
  --violet-soft: #ede9fb;
  --violet-deep: #650fbc;

  --navy: #1b2340;

  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-body: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", monospace;

  --container: 1240px;
}

.stz-home-wrapper {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.stz-home-wrapper * {
  box-sizing: border-box;
}

.stz-home-wrapper img { display: block; max-width: 100%; }

/* -------- Layout helpers -------- */
.stz-home-wrapper .container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.stz-home-wrapper .eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.stz-home-wrapper .eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
}

/* ============================================================
   HERO 
   ============================================================ */

.hero {
  position: relative;
  padding: 140px 0 60px;
  overflow: hidden;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(27,35,64,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27,35,64,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
  pointer-events: none;
}

.hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 80px;
  position: relative;
}

.hero__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__meta-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  position: relative;
}
.hero__meta-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--violet);
  opacity: 0.3;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.5; }
  100% { transform: scale(2.2); opacity: 0; }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 132px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink);
  position: relative;
}

.hero__title .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.hero__title .word > span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.1s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero__title .word:nth-child(1) > span { animation-delay: 0.05s; }
.hero__title .word:nth-child(2) > span { animation-delay: 0.13s; }
.hero__title .word:nth-child(3) > span { animation-delay: 0.21s; }
.hero__title .word:nth-child(4) > span { animation-delay: 0.29s; }
.hero__title .word:nth-child(5) > span { animation-delay: 0.37s; }
.hero__title .word:nth-child(6) > span { animation-delay: 0.45s; }
.hero__title .word:nth-child(7) > span { animation-delay: 0.53s; }
.hero__title .word:nth-child(8) > span { animation-delay: 0.61s; }

.hero__title em {
  font-style: italic;
  color: var(--violet);
}

@keyframes rise {
  to { transform: translateY(0); }
}

.hero__sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 56px;
  align-items: end;
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(.2,.7,.2,1) 0.8s forwards;
}

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

.hero__lead {
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 46ch;
}

.hero__lead strong {
  color: var(--ink);
  font-weight: 500;
}

.hero__scroll-cue {
  justify-self: end;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero__scroll-cue .line {
  width: 60px;
  height: 1px;
  background: var(--ink-3);
  position: relative;
  overflow: hidden;
}
.hero__scroll-cue .line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: var(--ink);
  animation: slide 2.2s ease-in-out infinite;
}
@keyframes slide {
  0% { left: -40%; }
  100% { left: 100%; }
}

/* ---- Hero "showcase" tile — animación scroll-driven ---- */

.showcase-wrap {
  padding: 60px 0 160px;
  position: relative;
}

.showcase {
  position: relative;
  width: 100%;
  height: 78vh;
  min-height: 540px;
  max-height: 780px;
  background: linear-gradient(135deg, var(--violet-deep) 0%, var(--violet) 60%, #9b3cf0 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;

  /* default state (fallback) */
  border-radius: 280px;
  transform: scale(0.84);
  transform-origin: center center;
}

@supports (animation-timeline: view()) {
  .showcase {
    animation: showcase-morph linear both;
    animation-timeline: view();
    animation-range: cover 0% cover 100%;
  }
  @keyframes showcase-morph {
    0%   { border-radius: 280px; transform: scale(0.78); }
    50%  { border-radius: 24px;  transform: scale(1);    }
    100% { border-radius: 280px; transform: scale(0.78); }
  }
}

.showcase__noise {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.9'/></svg>");
  pointer-events: none;
}

.showcase__glow {
  position: absolute;
  width: 90%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255,255,255,0.45) 0%, transparent 60%);
  filter: blur(20px);
  top: -20%;
  left: 5%;
  pointer-events: none;
}

.showcase__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 60px;
  max-width: 1000px;
}

.showcase__kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.showcase__kicker::before,
.showcase__kicker::after {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(255,255,255,0.4);
}

.showcase__headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
}

.showcase__headline em {
  font-style: italic;
  color: var(--violet-soft);
}

.showcase__stats {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding: 24px 0;
}

.showcase__stat {
  flex: 1;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.18);
  text-align: left;
}
.showcase__stat:last-child { border-right: 0; }

.showcase__stat-num {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.showcase__stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 8px;
}

.showcase__corner {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  z-index: 2;
}
.showcase__corner--tl { top: 32px; left: 40px; }
.showcase__corner--tr { top: 32px; right: 40px; }
.showcase__corner--bl { bottom: 32px; left: 40px; }
.showcase__corner--br { bottom: 32px; right: 40px; }

/* ============================================================
   SECTION DIVIDER
   ============================================================ */

.section-head {
  padding: 100px 0 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
}

.section-head__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 18px 0 0 0;
}

.section-head__title em {
  font-style: italic;
  color: var(--violet);
}

.section-head__count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  text-align: right;
}
.section-head__count strong {
  display: block;
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}

/* ============================================================
   CARRUSEL
   ============================================================ */

.carousel {
  position: relative;
  padding: 20px 0 120px;
}

.carousel__viewport {
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}

.carousel__track {
  display: flex;
  gap: 28px;
  padding: 0 32px;
  list-style: none;
  margin: 0;
  cursor: default;
  user-select: none;
  will-change: transform;
}

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  margin-top: 20px;
}

.carousel__progress {
  flex: 1;
  height: 1px;
  background: var(--line-2);
  margin: 0 32px;
  position: relative;
  overflow: hidden;
}
.carousel__progress-bar {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.4s ease-out;
}

.carousel__btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-mono);
}
.carousel__btn:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.carousel__btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.carousel__index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  min-width: 80px;
  text-align: center;
}
.carousel__index strong { color: var(--ink); font-weight: 500; }

.card {
  flex: 0 0 auto;
  width: 340px;
  height: auto;
  min-height: 440px;
  background: var(--paper);
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.5s cubic-bezier(.2,.7,.2,1),
    box-shadow 0.5s cubic-bezier(.2,.7,.2,1),
    opacity 0.4s ease;
  transform-origin: center bottom;
  box-shadow:
    0 1px 0 rgba(0,0,0,0.02),
    0 12px 30px -20px rgba(0,0,0,0.18);
  will-change: transform;
}

.carousel__track[data-hover-active="true"] .card {
  --d: 99;
  opacity: 0.62;
  transform: scale(calc(1 - 0.04 * min(var(--d), 3)));
  filter: saturate(0.8);
}
.carousel__track[data-hover-active="true"] .card[data-d="0"] {
  --d: 0;
  opacity: 1;
  transform: scale(1.08) translateY(-8px);
  filter: saturate(1);
  box-shadow:
    0 30px 60px -20px rgba(27,35,64,0.35),
    0 8px 20px -10px rgba(127, 19, 236, 0.25);
  z-index: 5;
}
.carousel__track[data-hover-active="true"] .card[data-d="1"] {
  --d: 1;
  opacity: 0.85;
  transform: scale(0.96) translateX(var(--push, 0)) translateY(2px);
  filter: saturate(0.92);
}
.carousel__track[data-hover-active="true"] .card[data-d="2"] {
  --d: 2;
  opacity: 0.7;
  transform: scale(0.93) translateX(var(--push, 0));
}

.card__media {
  position: relative;
  height: 220px;
  flex-shrink: 0;
  background: var(--violet-soft);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card__img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.05), transparent 40%);
}

.card__media-frame {
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  transition: transform 0.5s cubic-bezier(.2,.7,.2,1);
}

.card[data-d="0"] .card__media-frame {
  transform: scale(1.06);
}

/* Fondos derivados de violet-soft */
.card[data-tone="1"] .card__media { background: #ede9fb; }
.card[data-tone="1"] .card__media-frame { background: #dcd4f7; }
.card[data-tone="2"] .card__media { background: #e5def9; }
.card[data-tone="2"] .card__media-frame { background: #d2c5f5; }
.card[data-tone="3"] .card__media { background: #dfd6f7; }
.card[data-tone="3"] .card__media-frame { background: #c6b5f2; }
.card[data-tone="4"] .card__media { background: #d7cbf5; }
.card[data-tone="4"] .card__media-frame { background: #b8a3f0; }
.card[data-tone="5"] .card__media { background: #d0c2f3; }
.card[data-tone="5"] .card__media-frame { background: #ac93ee; }

.card__icon {
  width: 56%;
  height: 56%;
  display: grid;
  place-items: center;
  color: white;
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
}

.card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.85);
  color: var(--violet-deep);
  padding: 6px 10px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  z-index: 3;
}

.card__date-stamp {
  position: absolute;
  top: 14px;
  right: 14px;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: rgba(27,35,64,0.55);
  background: rgba(255,255,255,0.85);
  padding: 6px 10px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  z-index: 3;
}

.card__body {
  padding: 22px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}

.card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
}
.card__cta-arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  display: grid;
  place-items: center;
  font-size: 11px;
  transition: transform 0.4s ease;
}
.card[data-d="0"] .card__cta-arrow {
  transform: rotate(-45deg);
  background: var(--violet);
}

/* ============================================================
   FACEBOOK BLOCK
   ============================================================ */

.fb-section {
  padding: 60px 0 140px;
  background: var(--bg);
  position: relative;
}

.fb-wrap {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: center;
  padding: 0 32px;
}

.fb-copy__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
  display: block;
}

.fb-copy__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 14px 0;
}
.fb-copy__title em {
  font-style: italic;
  color: var(--violet);
}

.fb-copy__text {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 0 0 22px 0;
  max-width: 38ch;
}

.fb-copy__handle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
}
.fb-copy__handle::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #1877F2;
  border-radius: 50%;
}

.fb-frame {
  background: var(--paper);
  border-radius: 18px;
  padding: 18px;
  box-shadow:
    0 1px 0 rgba(0,0,0,0.02),
    0 20px 40px -24px rgba(0,0,0,0.18);
  position: relative;
  min-height: 540px;
  max-width: 300px;
  width: 100%;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .hero { padding-top: 80px; }
  .hero__sub { grid-template-columns: 1fr; gap: 24px; }
  .hero__scroll-cue { justify-self: start; }
  .showcase { height: 60vh; min-height: 420px; }
  .showcase__stats { flex-direction: column; gap: 16px; }
  .showcase__stat { border-right: 0; border-bottom: 1px solid rgba(27,35,64,0.18); padding-bottom: 16px; }
  .showcase__stat:last-child { border-bottom: 0; padding-bottom: 0; }
  .section-head { grid-template-columns: 1fr; }
  .section-head__count { text-align: left; }
  .card { width: 280px; height: 400px; }
  .fb-wrap { grid-template-columns: 1fr; }
  .showcase__corner { display: none; }
}