/* Lote — applote.com. Same palette and type as the app. */
:root {
  --bg: #F6F4EF;
  --surface: #FFFFFF;
  --sidebar: #EFECE6;
  --line: #E4E0D8;
  --text: #1C1B19;
  --secondary: #5F5B53;
  --muted: #8F8A80;
  --blue: #1D4ED8;
  --blue-dark: #1E3A8A;
  --blue-soft: #DBE5FF;
  --green: #15803D;
  --green-soft: #E3F4E8;
  --highlight: #4DFF39;
  --religious: #4C2F99;
  --night: #1C1B19;
  --radius: 16px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.top nav { display: flex; align-items: center; gap: 26px; }
.top nav a { color: var(--secondary); text-decoration: none; font-weight: 500; font-size: 15px; }
.top nav a:hover { color: var(--text); }
@media (max-width: 760px) { .top nav a:not(.button) { display: none; } }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 24px; border-radius: 12px;
  font-family: var(--body); font-weight: 700; font-size: 16px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.button:active { transform: scale(.98); }
.button.primary { background: var(--blue); color: #fff; }
.button.primary:hover { background: var(--blue-dark); color: #fff; }
.button.dark { background: var(--night); color: #fff; }
.button.dark:hover { background: #000; color: #fff; }
.button.secondary { background: var(--surface); color: var(--text); border-color: var(--line); }
.button.secondary:hover { border-color: var(--muted); color: var(--text); }
.button.small { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 48px; } .hero { padding-top: 40px; } }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue-dark);
  font-weight: 700; font-size: 14px;
}
.pill.green { background: var(--green-soft); color: #14532D; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.025em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(44px, 7vw, 76px); font-weight: 800; margin: 18px 0 20px; }
h1 em { font-style: normal; color: var(--blue); }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--secondary); max-width: 34ch; margin: 0 0 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Phone mockup */
.phone {
  position: relative; width: min(320px, 100%); aspect-ratio: 9 / 19.5; margin-inline: auto;
  border-radius: 46px; padding: 12px; background: var(--night);
  box-shadow: 0 40px 80px -30px rgba(28, 27, 25, .45), 0 0 0 1px rgba(0,0,0,.06);
}
.screen {
  position: relative; height: 100%; border-radius: 36px; overflow: hidden;
  background: #1F1E24 url(/img/creador.jpg) center 42% / cover no-repeat;
}
.screen::before { /* keeps the subtitles and the handle readable */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(rgba(0,0,0,.28), transparent 18%, transparent 55%, rgba(0,0,0,.55));
}
.creator {
  position: absolute; left: 16px; right: 16px; bottom: 22px; z-index: 2;
  display: flex; align-items: center; gap: 9px; color: #fff; text-decoration: none;
  font-weight: 700; font-size: 14px; text-shadow: 0 1px 3px rgba(0,0,0,.5);
}
.creator img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; object-position: center 38%; border: 2px solid #fff; }
.creator small { display: block; font-weight: 500; font-size: 12px; opacity: .85; }
.creator:hover { color: #fff; }
.byline { margin-top: 10px; font-size: 14px; color: var(--muted); }
.byline a { color: var(--secondary); font-weight: 700; text-decoration: none; }
.byline a:hover { color: var(--blue); }
.island { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 34%; height: 26px; border-radius: 20px; background: #000; z-index: 2; }
.caption {
  position: absolute; left: 0; right: 0; bottom: 30%; z-index: 2;
  text-align: center; padding: 0 10%;
  font-family: "Poppins", var(--body); font-weight: 900; text-transform: uppercase;
  font-size: clamp(22px, 7.4vw, 30px); line-height: 1.08; color: #fff;
  -webkit-text-stroke: 5px #000; paint-order: stroke fill;
  text-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.caption .word { transition: color .12s ease; }
.caption .word.on { color: var(--highlight); }
.badges { position: absolute; top: 58px; left: 14px; right: 14px; display: flex; justify-content: space-between; z-index: 2; }
.badges span {
  font-size: 11px; font-weight: 700; color: #fff; background: rgba(0,0,0,.35);
  backdrop-filter: blur(6px); padding: 4px 9px; border-radius: 999px;
}
.float {
  position: absolute; z-index: 3; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 14px; font-size: 13px; line-height: 1.3;
  box-shadow: 0 18px 40px -20px rgba(28,27,25,.35);
}
.float b { display: block; font-size: 14px; }
.float.one { left: -12%; top: 18%; }
.float.two { right: -14%; bottom: 14%; }
.float .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 6px; }
@media (max-width: 520px) { .float.one { left: -2%; } .float.two { right: -2%; } }

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; margin-bottom: 14px; }
.section-head p { color: var(--secondary); font-size: 19px; margin: 0; }
.kicker { font-weight: 800; font-size: 13px; letter-spacing: .09em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 26px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--night); color: #fff; font-weight: 800; font-size: 15px; margin-bottom: 18px;
}
.step h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.015em; }
.step p { margin: 0; color: var(--secondary); font-size: 16px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 30px; }
.feature.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
@media (max-width: 760px) { .feature.wide { grid-template-columns: 1fr; } }
.feature h3 { font-size: 26px; font-weight: 800; margin: 14px 0 10px; }
.feature p { margin: 0; color: var(--secondary); }
.feature .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-dark); }
.feature .icon svg { width: 22px; height: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-weight: 600; font-size: 14px; }
.chips span.on { background: var(--blue-soft); border-color: var(--blue); color: var(--blue-dark); }

/* Mini calendar */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
@media (max-width: 560px) {
  .week { gap: 4px; }
  .day { padding: 6px 3px; min-height: 84px; }
  .slot { font-size: 9.5px; padding: 2px 3px; letter-spacing: -0.02em; }
}
.day { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 8px 6px; min-height: 96px; font-size: 12px; }
.day b { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; font-weight: 700; }
.slot { border-radius: 6px; padding: 3px 5px; margin-bottom: 4px; font-weight: 700; font-size: 11px; }
.slot.old { background: var(--sidebar); color: var(--secondary); }
.slot.new { background: var(--blue-soft); color: var(--blue-dark); }
.slot.faith { background: #ECE6FB; color: var(--religious); }

/* Dark band */
.band { background: var(--night); color: #fff; border-radius: 28px; padding: 56px; }
@media (max-width: 640px) { .band { padding: 34px 24px; border-radius: 22px; } }
.band .section-head p { color: #C9C4BA; }
.band .kicker { color: var(--highlight); }
.privacy-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px) { .privacy-list { grid-template-columns: 1fr; } }
.privacy-list div { border: 1px solid #3A3631; border-radius: var(--radius); padding: 24px; }
.privacy-list h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.privacy-list p { margin: 0; color: #C9C4BA; font-size: 16px; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--secondary); margin: 12px 0 0; }

/* CTA */
.cta { text-align: center; padding: 64px 24px; }
.cta img { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 22px; box-shadow: 0 20px 40px -20px rgba(28,27,25,.5); }
.cta h2 { font-size: clamp(34px, 5vw, 50px); font-weight: 800; margin-bottom: 14px; }
.cta p { color: var(--secondary); margin: 0 auto 26px; max-width: 46ch; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 34px 0 44px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 34px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { color: var(--secondary); text-decoration: none; }
footer a:hover { color: var(--text); }
footer .legal { flex-basis: 100%; font-size: 12px; }

/* Legal pages */
.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(38px, 6vw, 56px); margin: 10px 0 8px; }
.doc .updated { color: var(--muted); margin-bottom: 36px; }
.doc h2 { font-size: 26px; font-weight: 800; margin: 40px 0 12px; }
.doc p, .doc li { color: #3F3C37; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc .summary { padding: 24px 26px; margin-bottom: 10px; }
.doc .summary ul { margin: 0; }

/* Motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
