/* palet.cloud — web de producto */

:root {
  --cream: #faf6ee;
  --cream-deep: #f3ecdd;
  --paper: #fffdf8;
  --ink: #2e2a24;
  --ink-soft: #6f685c;
  --ink-faint: #a89f8f;
  --line: #e7dfcf;
  --sage: #cfdcc0;
  --peach: #f6d3bd;
  --sky: #c3d9e8;
  --lilac: #dcd0ea;
  --butter: #f4e3ae;
  --rose: #f2cdd5;
  --mint: #c8e6d7;
  --sand: #e8dcc8;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Instrument Sans", -apple-system, sans-serif;
  --shadow: 0 1px 2px rgba(62, 51, 34, 0.05), 0 12px 40px rgba(62, 51, 34, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(rgba(62, 51, 34, 0.025) 1px, transparent 1px);
  background-size: 22px 22px;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 28px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 480; letter-spacing: -0.01em; margin: 0; }

a { color: inherit; }

/* ——— nav ——— */

nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 0;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span { font-family: var(--font-display); font-size: 24px; font-weight: 550; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14.5px; }
.nav-links a { text-decoration: none; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }

.btn {
  display: inline-block; text-decoration: none; border: 0; cursor: pointer;
  border-radius: 999px; padding: 12px 24px; font-size: 15px; font-weight: 600;
  background: var(--ink); color: var(--cream); font-family: var(--font-body);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn.big { padding: 15px 32px; font-size: 16px; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { background: var(--paper); }

/* ——— hero ——— */

.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero h1 {
  font-size: clamp(40px, 6.5vw, 68px);
  line-height: 1.06; max-width: 640px; position: relative; z-index: 1;
}
.hero p.sub {
  font-size: 19px; color: var(--ink-soft); max-width: 480px;
  margin: 24px 0 34px; position: relative; z-index: 1;
}
.hero .connects { font-size: 14px; color: var(--ink-faint); margin-top: 18px; position: relative; z-index: 1; }
.hero .cta-row { display: flex; gap: 14px; align-items: center; position: relative; z-index: 1; flex-wrap: wrap; }

/* Hero en dos columnas: texto a la izquierda, carrusel de capturas a la derecha */
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.hero-copy h1, .hero-copy p.sub { max-width: 560px; }
.hero-carousel { display: flex; flex-direction: column; align-items: center; }
.carousel { position: relative; width: 300px; max-width: 82%; aspect-ratio: 332 / 720; }
.carousel .slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: 30px; box-shadow: 0 30px 70px rgba(46, 42, 36, 0.16);
  opacity: 0; transition: opacity 0.7s ease;
}
.carousel .slide.active { opacity: 1; }
.dots { display: flex; gap: 8px; margin-top: 20px; }
.dots .dot {
  width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0;
  background: var(--cream-deep); cursor: pointer; transition: background 0.25s, width 0.25s;
}
.dots .dot.active { background: var(--ink-faint); width: 22px; border-radius: 4px; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-carousel { margin-top: 4px; }
}

.well { position: absolute; border-radius: 50%; box-shadow: inset 0 6px 18px rgba(62, 51, 34, 0.10); }
.hero .well { animation: floaty 9s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ——— mock de la app ——— */

.mock {
  margin: 56px auto 0; max-width: 860px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow); overflow: hidden; position: relative; z-index: 1;
}
.mock .mock-bar {
  display: flex; align-items: center; gap: 6px; padding: 12px 16px;
  border-bottom: 1px solid var(--cream-deep);
}
.mock .mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--cream-deep); }
.mock .mock-bar span {
  margin-left: 10px; font-size: 12px; color: var(--ink-faint);
  background: var(--cream); border-radius: 8px; padding: 3px 12px;
}
.mock-body { padding: 30px; }
.mock-body .greet { font-family: var(--font-display); font-size: 24px; }
.mock-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; margin-top: 20px; }
.tile {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px;
  font-size: 13px; font-weight: 600;
}
.tile .dot {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-size: 20px; margin-bottom: 10px; box-shadow: inset 0 2px 6px rgba(62, 51, 34, 0.12);
}
.tile small { display: block; font-weight: 400; color: var(--ink-faint); font-size: 11.5px; line-height: 1.4; margin-top: 2px; }
.tile.ghost-tile {
  border-style: dashed; background: transparent; display: grid; place-items: center;
  color: var(--ink-faint); font-weight: 400; min-height: 110px;
}

/* ——— secciones ——— */

section { padding: 88px 0 0; }
.eyebrow {
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 14px; font-weight: 600;
}
section > .wrap > h2 { font-size: clamp(28px, 4vw, 40px); max-width: 560px; }
.section-sub { color: var(--ink-soft); max-width: 520px; margin-top: 14px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px;
}
.step .num {
  font-family: var(--font-display); font-size: 15px; width: 34px; height: 34px;
  border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
  box-shadow: inset 0 2px 6px rgba(62, 51, 34, 0.12);
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }
.step .example {
  margin-top: 14px; background: var(--cream); border-radius: 10px; padding: 10px 14px;
  font-size: 13px; color: var(--ink-soft); font-style: italic;
}

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
@media (max-width: 800px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 4px 0; }
.feature .ico {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font-size: 19px; margin-bottom: 14px; box-shadow: inset 0 2px 6px rgba(62, 51, 34, 0.12);
}
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }

/* ——— banda final ——— */

.cta-band {
  margin: 96px 0 0; padding: 72px 28px; text-align: center;
  background: var(--cream-deep); position: relative; overflow: hidden;
}
.cta-band h2 { font-size: clamp(30px, 4.5vw, 46px); position: relative; z-index: 1; }
.cta-band p { color: var(--ink-soft); margin: 14px 0 30px; position: relative; z-index: 1; }
.cta-band .btn { position: relative; z-index: 1; }

footer { padding: 36px 0 48px; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer, footer a { color: var(--ink-faint); font-size: 13.5px; text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .links { display: flex; gap: 22px; }

/* ——— pricing ——— */

.pricing-head { text-align: center; padding: 64px 0 8px; }
.pricing-head h1 { font-size: clamp(34px, 5vw, 54px); }
.pricing-head p { color: var(--ink-soft); max-width: 460px; margin: 18px auto 0; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; align-items: stretch; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; } }
.plan {
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
  padding: 32px 28px; display: flex; flex-direction: column; position: relative;
}
.plan.featured { border-color: var(--ink); box-shadow: var(--shadow); }
.plan .tag {
  position: absolute; top: -12px; left: 28px; background: var(--ink); color: var(--cream);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; border-radius: 999px; padding: 4px 12px;
}
.plan .well-mini {
  width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 2px 6px rgba(62,51,34,.12);
  margin-bottom: 16px;
}
.plan h2 { font-size: 26px; }
.plan .price { font-size: 34px; font-family: var(--font-display); margin: 14px 0 2px; }
.plan .price small { font-size: 14px; font-family: var(--font-body); color: var(--ink-faint); }
.plan .for { color: var(--ink-soft); font-size: 14px; margin-bottom: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li { padding: 8px 0; border-bottom: 1px solid var(--cream-deep); font-size: 14.5px; color: var(--ink-soft); }
.plan li strong { color: var(--ink); }
.plan .btn { text-align: center; }

.faq { max-width: 680px; margin: 80px auto 0; }
.faq h2 { font-size: 30px; margin-bottom: 24px; }
.faq details {
  border-bottom: 1px solid var(--line); padding: 18px 0;
}
.faq summary { cursor: pointer; font-weight: 600; font-size: 15.5px; }
.faq details p { color: var(--ink-soft); font-size: 14.5px; margin: 12px 0 0; }

/* ——— reveal ——— */

.reveal { opacity: 0; transform: translateY(18px); animation: rise 0.7s ease forwards; }
.reveal.d1 { animation-delay: 0.08s; } .reveal.d2 { animation-delay: 0.16s; } .reveal.d3 { animation-delay: 0.24s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  .hero .well { animation: none; }
}


/* ————— descargas ————— */
#descargar { text-align: center; }
.downloads { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.download {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 24px; min-width: 240px; text-align: left;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.download:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.download .dl-ico {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-size: 22px; background: var(--cream-deep); flex-shrink: 0;
}
.download strong { display: block; font-size: 15.5px; }
.download small { color: var(--ink-faint); font-size: 12.5px; }
.dl-note { color: var(--ink-faint); font-size: 13.5px; margin-top: 24px; }

/* ——— reel de pincel (vídeo de marca 21:9) ——— */
.reel { width: 100%; background: #faf6ee; line-height: 0; }
/* Banner más estrecho: se recorta arriba/abajo (object-fit cover) y se encuadra
   algo más abajo para comerse el espacio vacío superior y que se intuya el gesto. */
.reel video { width: 100%; height: auto; display: block; aspect-ratio: 21 / 7; object-fit: cover; object-position: center 38%; }
.hero { padding-top: 48px; }
