/* LuckyLab Marketing — mobile-first, dependency-free presentation layer */
@font-face { font-family: "Satoshi"; src: url("./assets/fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("./assets/fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("./assets/fonts/satoshi-900.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  /* Primitive palette */
  --p-ink-950: oklch(0.13 0.015 255);
  --p-navy-900: oklch(0.24 0.04 245);
  --p-navy-800: oklch(0.29 0.04 245);
  --p-gold-500: oklch(0.68 0.10 85);
  --p-cream-200: oklch(0.92 0.065 90);
  --p-offwhite-100: oklch(0.95 0.006 90);
  --p-border-600: oklch(0.45 0.012 250);
  --p-green-700: oklch(0.51 0.12 155);
  --p-green-600: oklch(0.58 0.13 155);

  /* Semantic tokens */
  --bg: var(--p-ink-950);
  --bg-elevated: var(--p-navy-900);
  --text: var(--p-offwhite-100);
  --text-soft: var(--p-cream-200);
  --accent: var(--p-gold-500);
  --line: oklch(0.45 0.012 250 / 0.52);
  --line-accent: oklch(0.68 0.10 85 / 0.48);
  --action: var(--p-green-700);
  --action-hover: var(--p-green-600);

  /* Component tokens */
  --card-bg: oklch(0.24 0.04 245 / 0.62);
  --card-border: oklch(0.45 0.012 250 / 0.64);
  --card-shadow: oklch(0.05 0.01 255 / 0.44) 0 18px 44px, oklch(0.95 0.006 90 / 0.07) 1px 1px 0 inset;
  --header-bg: oklch(0.13 0.015 255 / 0.88);
  --radius-card: 18px;
  --radius-control: 7px;
  --shell: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  min-height: 100dvh;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: "Satoshi", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button, [role="button"], a { cursor: pointer; }
p { max-width: 68ch; }
h1, h2, h3 { line-height: 1.05; text-wrap: balance; }
svg { display: block; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 3px solid var(--text-soft); outline-offset: 5px; }
section[id] { scroll-margin-top: 88px; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.shell { width: min(100%, var(--shell)); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: 80px; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  transform: translateY(-160%);
  border-radius: var(--radius-control);
  background: var(--text);
  color: var(--bg);
  transition: transform 180ms ease-out;
}
.skip-link:focus { transform: translateY(0); }
.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 40;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease-out, border-color 220ms ease-out;
}
.site-header.is-scrolled { background: var(--header-bg); border-color: var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.brand img { width: 142px; height: auto; }
.main-nav { display: none; }
.header-whatsapp {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid var(--line-accent);
  border-radius: var(--radius-control);
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 180ms ease-out, border-color 180ms ease-out, background-color 180ms ease-out;
}
.header-whatsapp svg { width: 19px; height: 19px; }
.header-whatsapp:hover { transform: translateY(-2px); border-color: var(--accent); background: oklch(0.68 0.10 85 / 0.08); }
.header-whatsapp:active { transform: translateY(0); }

/* Hero */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; overflow: hidden; }
.hero-inner { position: relative; z-index: 1; padding-block: 132px 56px; }
.hero-orbit {
  position: absolute;
  width: 70vw;
  max-width: 850px;
  aspect-ratio: 1;
  top: -38vw;
  right: -32vw;
  border: 1px solid var(--line-accent);
  border-radius: 50%;
  opacity: 0.44;
  pointer-events: none;
}
.hero-orbit::after {
  content: "";
  position: absolute;
  inset: 11%;
  border: 1px solid var(--line);
  border-radius: inherit;
}
.hero-kicker {
  margin-bottom: 24px;
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}
.hero-title {
  max-width: 1160px;
  font-size: clamp(3rem, 12.2vw, 8.6rem);
  font-weight: 900;
  letter-spacing: -0.058em;
  line-height: 0.88;
  text-transform: uppercase;
}
.hero-line { display: block; }
.hero-line--gold { color: var(--accent); }
.kinetic-word { display: inline-block; vertical-align: top; white-space: nowrap; }
.kinetic-word:not(:last-child) { margin-right: 0.2em; }
.kinetic-letter { display: inline-block; overflow: hidden; vertical-align: top; }
.kinetic-letter-inner { position: relative; display: inline-block; will-change: transform, opacity; }
.kinetic-letter-duplicate { position: absolute; bottom: 100%; left: 0; }
.hero-lower { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px; margin-top: 44px; }
.hero-copy p { max-width: 32ch; color: var(--text); font-size: 1.05rem; line-height: 1.55; }
.hero-copy span { display: block; margin-top: 12px; color: var(--text-soft); font-size: 0.9rem; }
.service-seal {
  position: relative;
  width: 108px;
  height: 108px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: var(--accent);
  transition: transform 220ms ease-out, color 220ms ease-out;
}
.service-seal:hover { transform: scale(1.06); color: var(--text-soft); }
.service-seal:active { transform: scale(0.98); }
.seal-text { position: absolute; inset: 0; width: 100%; height: 100%; animation: seal-spin 16s linear infinite; }
.seal-text text { fill: currentColor; font-family: "Satoshi", sans-serif; font-size: 9px; font-weight: 700; letter-spacing: 1.45px; }
.seal-arrow { width: 30px; height: 30px; }
@keyframes seal-spin { to { transform: rotate(360deg); } }

/* Services */
.services { border-top: 1px solid var(--line); }
.section-heading { margin-bottom: 40px; }
.section-heading .eyebrow { margin-bottom: 16px; }
.section-heading h2 { max-width: 850px; font-size: clamp(2.6rem, 9vw, 5.4rem); font-weight: 900; letter-spacing: -0.045em; }
.section-heading > p:last-child { margin-top: 20px; color: var(--text-soft); font-size: 1.04rem; }
.service-grid { display: grid; gap: 20px; perspective: 1000px; }
.service-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(6px);
  transform-style: preserve-3d;
  transition: transform 220ms ease-out, border-color 180ms ease-out, box-shadow 180ms ease-out;
}
.service-card:hover { border-color: var(--line-accent); box-shadow: oklch(0.05 0.01 255 / 0.55) 0 24px 54px, oklch(0.68 0.10 85 / 0.12) 1px 1px 0 inset; }
.service-card:active { transform: scale(0.985); }
.service-card:focus-visible { transform: translateY(-4px); }
.service-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-elevated); }
.service-media::after { content: ""; position: absolute; inset: 0; background: oklch(0.13 0.015 255 / 0.2); pointer-events: none; }
.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.74) brightness(0.78) contrast(1.06);
  transition: transform 260ms ease-out, opacity 260ms ease-out;
}
.service-card:hover .service-media img, .service-card:focus-visible .service-media img { transform: scale(1.055); }
.service-content { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 26px; transform: translateZ(24px); }
.service-category { min-height: 2.8em; color: var(--accent); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.11em; line-height: 1.4; text-transform: uppercase; }
.service-price { margin-top: 16px; color: var(--text-soft); font-size: 1rem; font-weight: 700; }
.service-content h3 { margin-top: 14px; font-size: clamp(1.85rem, 7vw, 2.55rem); font-weight: 900; letter-spacing: -0.035em; }
.service-content > p:not(.service-category):not(.service-price) { margin-top: 16px; color: var(--text-soft); font-size: 1rem; line-height: 1.6; }
.service-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 20px; color: var(--text); font-weight: 700; line-height: 1.35; }
.service-link svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--accent); transition: transform 180ms ease-out; }
.service-card:hover .service-link svg, .service-card:focus-visible .service-link svg { transform: translateX(6px); }

/* Advertising plan */
.plan { border-block: 1px solid var(--line); background: var(--bg-elevated); }
.plan-grid { display: grid; gap: 56px; }
.plan-intro .eyebrow { margin-bottom: 16px; }
.plan-intro h2 { font-size: clamp(3rem, 12vw, 5.8rem); font-weight: 900; letter-spacing: -0.055em; line-height: 0.92; text-transform: uppercase; }
.plan-lead { margin-top: 24px; color: var(--text); font-size: 1.05rem; line-height: 1.65; }
.plan-price { margin-block: 30px; }
.plan-price > span { display: block; color: var(--text-soft); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.plan-price strong { display: block; margin-top: 2px; color: var(--accent); font-size: clamp(4rem, 18vw, 6.8rem); font-weight: 900; letter-spacing: -0.065em; line-height: 1; }
.plan-price small { font-size: 0.3em; letter-spacing: -0.02em; vertical-align: 0.9em; }
.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 15px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  font-weight: 700;
  line-height: 1.35;
  transition: transform 180ms ease-out, background-color 180ms ease-out, box-shadow 180ms ease-out;
}
.button--whatsapp { width: 100%; background: var(--action); color: var(--text); box-shadow: oklch(0.05 0.01 255 / 0.25) 0 10px 26px; }
.button--whatsapp:hover { transform: translateY(-3px); background: var(--action-hover); box-shadow: oklch(0.05 0.01 255 / 0.38) 0 16px 32px; }
.button--whatsapp:active { transform: translateY(0); }
.button svg { width: 22px; height: 22px; flex-shrink: 0; }
.button .button-arrow { width: 20px; height: 20px; margin-left: 2px; transition: transform 180ms ease-out; }
.button:hover .button-arrow { transform: translateX(4px); }
.plan-contact-note { margin-top: 16px; color: var(--text-soft); font-size: 0.88rem; line-height: 1.55; }
.plan-list { list-style: none; padding: 0; }
.plan-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.plan-list li:first-child { border-top: 1px solid var(--line); }
.plan-list li > svg { width: 24px; height: 24px; margin-top: 2px; color: var(--accent); }
.plan-list h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.plan-list p { margin-top: 9px; color: var(--text-soft); font-size: 1rem; line-height: 1.6; }

/* Footer and persistent WhatsApp action */
.site-footer { padding-block: 64px 100px; overflow: hidden; }
.footer-wordmark {
  display: block;
  width: max-content;
  max-width: 100%;
  color: var(--text);
  font-size: clamp(4rem, 18.3vw, 13.6rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.82;
  transition: color 180ms ease-out, transform 180ms ease-out;
}
.footer-wordmark:hover { color: var(--accent); transform: translateY(-3px); }
.footer-bottom { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.footer-bottom p { color: var(--text-soft); font-size: 0.96rem; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; width: max-content; color: var(--text); font-weight: 700; }
.footer-bottom a svg { width: 20px; height: 20px; color: var(--accent); transition: transform 180ms ease-out; }
.footer-bottom a:hover svg { transform: translateX(5px); }
.copyright { margin-top: 28px; color: var(--text-soft); font-size: 0.78rem; }
.whatsapp-float {
  position: fixed;
  z-index: 50;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  min-width: 56px;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 18px;
  border: 1px solid oklch(0.95 0.006 90 / 0.2);
  border-radius: 12px;
  background: var(--action);
  color: var(--text);
  box-shadow: oklch(0.05 0.01 255 / 0.48) 0 12px 34px;
  font-size: 0.94rem;
  font-weight: 700;
  transition: transform 180ms ease-out, background-color 180ms ease-out;
}
.whatsapp-float svg { width: 24px; height: 24px; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.02); background: var(--action-hover); }
.whatsapp-float:active { transform: translateY(0) scale(0.98); }

@media (min-width: 640px) {
  .shell { padding-inline: 28px; }
  .section { padding-block: 96px; }
  .brand img { width: 158px; }
  .header-whatsapp { padding-inline: 16px; }
  .hero-lower { gap: 40px; margin-top: 56px; }
  .service-seal { width: 138px; height: 138px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card--featured { grid-column: 1 / -1; }
  .service-card--featured .service-media { aspect-ratio: 16 / 8; }
  .button--whatsapp { width: auto; }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 800px) {
  .shell { padding-inline: 36px; }
  .section { padding-block: 120px; }
  .header-inner { min-height: 88px; }
  .main-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; margin-right: 8px; }
  .main-nav a { position: relative; min-height: 44px; display: inline-flex; align-items: center; color: var(--text-soft); font-size: 0.9rem; font-weight: 700; }
  .main-nav a::after { content: ""; position: absolute; inset: auto 0 6px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 180ms ease-out; }
  .main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
  .hero-inner { padding-block: 148px 64px; }
  .hero-kicker { margin-bottom: 32px; font-size: 0.82rem; }
  .hero-title { font-size: clamp(5rem, 9.25vw, 8.6rem); }
  .hero-copy p { font-size: 1.18rem; }
  .service-seal { width: 156px; height: 156px; }
  .section-heading { margin-bottom: 56px; }
  .service-grid { gap: 24px; }
  .service-card--featured { display: grid; grid-template-columns: 1.08fr 0.92fr; min-height: 410px; }
  .service-card--featured .service-media { aspect-ratio: auto; min-height: 100%; }
  .service-card--featured .service-content { justify-content: center; padding: 40px; }
  .service-card--featured .service-content h3 { font-size: clamp(2.4rem, 4vw, 3.7rem); }
  .service-content { padding: 30px; }
  .plan-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
  .plan-intro { position: sticky; top: 120px; }
  .plan-list li { padding-block: 28px; }
  .plan-list h3 { font-size: 1.36rem; }
  .site-footer { padding-block: 88px 110px; }
}

@media (min-width: 1120px) {
  .plan-grid { gap: 96px; }
  .service-content { padding: 34px; }
  .service-card--featured .service-content { padding: 48px; }
}

@media (max-width: 390px) {
  .shell { padding-inline: 16px; }
  .header-inner { gap: 10px; }
  .brand img { width: 128px; }
  .header-whatsapp { padding-inline: 11px; }
  .header-whatsapp span { font-size: 0.8rem; }
  .hero-title { font-size: 2.85rem; }
  .hero-copy p { font-size: 0.98rem; }
  .hero-copy span { font-size: 0.82rem; }
  .service-seal { width: 94px; height: 94px; }
  .service-content { padding: 22px; }
  .whatsapp-float { padding-inline: 16px; }
  .whatsapp-float span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .kinetic-letter-inner, .service-card, .service-media img, .reveal { transform: none !important; opacity: 1 !important; }
}
