/* ===========================================================
   Robin · 0.2 — one page, three full-screen modules
   Módulo 1: funda (blanco) · Módulo 2: protector (blanco)
   Módulo 3: contacto + QR WhatsApp (gris claro)
   =========================================================== */

:root {
  --accent: #ff7500;
  --ink: #141414;
  --muted: #5f5f5f;
  --soft: #8a8a8a;
  --line: #e8e4e2;
  --white: #ffffff;
  --panel: #f5f3f1;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

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

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

h1,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
}
.skip:focus {
  left: 12px;
  top: 12px;
}

/* ---------------- topbar ---------------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(20px, 4vw, 48px);
  transition: background 0.35s var(--ease), border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.topbar.is-solid {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.brand-mark {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2.4px solid var(--accent);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}

/* ---------------- scroller / screens ---------------- */
.scroller {
  height: 100svh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.screen {
  position: relative;
  height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  padding: 96px 0 52px;
}
.screen-case,
.screen-film {
  background: var(--white);
}
.screen-contact {
  background: var(--panel);
}
.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 56px);
}

/* ---------------- module 1 & 2 ---------------- */
.grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(24px, 4.5vw, 72px);
  align-items: center;
}
.copy {
  max-width: 560px;
}
.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.copy h1 {
  font-size: clamp(34px, 4.4vw, 62px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.sub {
  color: var(--muted);
  font-size: clamp(15px, 1.15vw, 17.5px);
  margin-bottom: 22px;
}
.checks {
  display: grid;
  gap: 10px;
  margin-bottom: 30px;
}
.checks li {
  position: relative;
  padding-left: 28px;
  color: #2f2f2f;
  font-size: clamp(14px, 1vw, 15.5px);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
  box-shadow: 0 12px 28px -14px rgba(255, 117, 0, 0.7);
}
.btn:hover {
  transform: translateY(-2px);
  background: #ff8a24;
}

.figure {
  display: flex;
  justify-content: center;
  align-items: center;
}
.slot {
  height: min(62svh, 620px);
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
}
.slot picture {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
.slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---------------- scroll hint ---------------- */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #a5a09d;
}
.scroll-hint span {
  width: 1px;
  height: 26px;
  background: linear-gradient(#c8c2bf, transparent);
  animation: hint 1.8s var(--ease) infinite;
}
@keyframes hint {
  0%,
  100% {
    transform: scaleY(0.4);
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* ---------------- module 3 ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.chat-card,
.qr-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(22px, 2.6vw, 34px);
  box-shadow: 0 26px 60px -34px rgba(0, 0, 0, 0.22);
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3a3a3a;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16);
}
.bubbles {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}
.bubble {
  max-width: 90%;
  padding: 12px 18px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.45;
}
.bubble.them {
  justify-self: start;
  background: #f2efec;
  color: #2b2b2b;
  border-bottom-left-radius: 6px;
}
.bubble.me {
  justify-self: end;
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 6px;
}
.qr-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}
.qr-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3a3a3a;
}
.qr-card img {
  width: min(250px, 60%);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 12px;
}
.qr-sub {
  font-size: 13px;
  color: var(--soft);
}
.qr-meta {
  display: grid;
  gap: 4px;
  font-size: 13px;
  color: var(--soft);
}
.legal {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  text-align: center;
  font-size: 11.5px;
  color: #9a9592;
  padding-inline: 20px;
}

/* ---------------- reveal ---------------- */
[data-anim] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-anim].in-view {
  opacity: 1;
  transform: none;
}

/* ---------------- responsive ---------------- */
@media (max-width: 900px) {
  .screen {
    padding: 84px 0 40px;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .grid-reverse .figure {
    order: 2;
  }
  .grid-reverse .copy {
    order: 1;
  }
  .copy {
    max-width: none;
  }
  .copy h1 {
    font-size: clamp(30px, 8.4vw, 44px);
    margin-bottom: 12px;
  }
  .kicker {
    margin-bottom: 12px;
  }
  .sub {
    font-size: 14.5px;
    margin-bottom: 16px;
  }
  .checks {
    gap: 7px;
    margin-bottom: 20px;
  }
  .checks li {
    font-size: 13.5px;
  }
  .slot {
    height: min(36svh, 310px);
  }
  .scroll-hint {
    display: none;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .chat-card,
  .qr-card {
    padding: 18px;
    border-radius: 20px;
  }
  .chat-head {
    margin-bottom: 12px;
  }
  .bubbles {
    gap: 8px;
    margin-bottom: 16px;
  }
  .bubble {
    font-size: 13.5px;
    padding: 10px 14px;
  }
  .qr-card {
    grid-template-columns: 128px 1fr;
    justify-items: start;
    text-align: left;
    column-gap: 16px;
    row-gap: 6px;
    align-items: center;
  }
  .qr-card img {
    width: 128px;
    grid-row: 1 / span 2;
  }
  .qr-title {
    grid-column: 2;
  }
  .qr-meta {
    grid-column: 2;
  }
  .qr-meta p {
    font-size: 12px;
  }
  .legal {
    font-size: 10.5px;
    bottom: 10px;
  }
}

@media (max-width: 600px) {
  .screen {
    padding: 76px 0 30px;
  }
  .slot {
    height: min(32svh, 270px);
  }
  .btn {
    padding: 12px 26px;
    font-size: 12px;
  }
  .btn-ghost {
    padding: 9px 18px;
    font-size: 11px;
  }
}

@media (max-height: 720px) and (max-width: 900px) {
  .screen {
    padding: 70px 0 22px;
  }
  .slot {
    height: min(26svh, 200px);
  }
  .copy h1 {
    font-size: clamp(26px, 7.5vw, 36px);
  }
  .checks {
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroller {
    scroll-behavior: auto;
  }
  [data-anim] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scroll-hint span,
  .live-dot {
    animation: none;
  }
}
