/* Páginas públicas: presentación (/) y "Cómo funciona" (/sobre). */
:root {
  --paper: #fbf7f1; --paper-2: #f4ede2; --card: #ffffff;
  --ink: #1d1b19; --mut: #6a645c; --line: #e6ddd0;
  --acc: #ff8a3d; --acc-2: #f26a1f; --acc-text: #b84c09; --acc-soft: #ffe8d6;
  --m0: #f5ae00; --m0-soft: #fff1c4; --m1: #1d9a5d; --m1-soft: #d9f2e4;
  --m2: #e2456f; --m2-soft: #ffe0e8; --m3: #5a63f0; --m3-soft: #e3e5ff;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Barra de arriba */
.bar { position: sticky; top: 0; z-index: 10; background: rgba(251, 247, 241, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.bar.sc { border-bottom-color: var(--line); }
.bar .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -.01em; font-size: 17px; margin-right: auto; }
.marca { width: 30px; height: 30px; color: var(--ink); }
.marca-c { fill: var(--acc); }
.idi { position: relative; }
.idi select { appearance: none; -webkit-appearance: none; border: 1px solid var(--line); background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236a645c' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center; border-radius: 999px; padding: 8px 32px 8px 14px; font: 500 14px var(--sans); color: var(--ink); cursor: pointer; max-width: 46vw; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 22px; font: 650 16px var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn.pri { background: linear-gradient(var(--acc), var(--acc-2)); color: #fff; box-shadow: 0 6px 16px -6px rgba(242, 106, 31, .7); }
.btn.pri:hover { filter: brightness(1.05); }
.btn.alt { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.alt:hover { background: var(--card); }
.bar .btn { padding: 9px 18px; font-size: 15px; }

/* Portada */
.hero { padding: 48px 0 24px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.kick { display: inline-flex; gap: 6px; flex-wrap: wrap; margin: 0 0 18px; padding: 0; list-style: none; }
.kick li { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.kick li:nth-child(1) { background: var(--m0-soft); color: #7a5600; }
.kick li:nth-child(2) { background: var(--m1-soft); color: #11673d; }
.kick li:nth-child(3) { background: var(--m2-soft); color: #9c2147; }
.kick li:nth-child(4) { background: var(--m3-soft); color: #3239a8; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.005em; line-height: 1.1; margin: 0; font-variation-settings: "opsz" 120; }
h1 { font-size: clamp(38px, 5.6vw, 64px); }
h1 em { font-style: normal; color: var(--acc-text); }
.lead { font-size: 19px; color: var(--mut); margin: 20px 0 28px; max-width: 34em; }
.acts { display: flex; gap: 10px; flex-wrap: wrap; }
.nota { font-size: 14px; color: var(--mut); margin: 16px 0 0; }

/* Teléfono */
/* Teléfono: barra de estado arriba (como en un iPhone) y la captura entera abajo, sin recortes. */
.tel { position: relative; width: 100%; max-width: 300px; margin: 0 auto; border-radius: 46px; padding: 9px; background: #1d1b19; box-shadow: 0 30px 60px -30px rgba(60, 40, 20, .45), 0 0 0 1px rgba(0,0,0,.05); container-type: inline-size; }
.tel::before { content: "9:41"; display: flex; align-items: center; aspect-ratio: 390 / 46; padding: 0 0 0 9%; border-radius: 38px 38px 0 0; background: #f4f2f4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='66' height='12' viewBox='0 0 66 12'%3E%3Cg fill='%231d1b19'%3E%3Crect x='0' y='8' width='3' height='4' rx='1'/%3E%3Crect x='5' y='6' width='3' height='6' rx='1'/%3E%3Crect x='10' y='3' width='3' height='9' rx='1'/%3E%3Crect x='15' y='0' width='3' height='12' rx='1'/%3E%3Crect x='40' y='1' width='22' height='10' rx='3' fill='none' stroke='%231d1b19' stroke-width='1.3'/%3E%3Crect x='42' y='3' width='16' height='6' rx='1.5'/%3E%3Crect x='63.5' y='4' width='1.6' height='4' rx='.8'/%3E%3C/g%3E%3C/svg%3E") no-repeat right 8% center / 22% auto; color: #1d1b19; font: 650 4.4cqw/1 var(--sans); letter-spacing: -.01em; }
.tel.dim::before { background-color: #b6b5bc; }
.tel img { width: 100%; height: auto; margin-top: -1px; position: relative; aspect-ratio: 390 / 800; object-fit: cover; object-position: top; border-radius: 0 0 38px 38px; background: #f3f3f7; }
.hero .tel { transform: rotate(2deg); }
.hero .tw { position: relative; }
.hero .tw::before { content: ""; position: absolute; inset: 8% 0 -4% 6%; border-radius: 40px; background: var(--acc-soft); transform: rotate(-4deg); }

/* Baldosa */
.panot { height: 56px; margin: 40px 0 0; background-color: var(--paper-2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%23d8cbb8' stroke-width='1.6'%3E%3Ccircle cx='24' cy='15.5' r='7.5'/%3E%3Ccircle cx='24' cy='32.5' r='7.5'/%3E%3Ccircle cx='15.5' cy='24' r='7.5'/%3E%3Ccircle cx='32.5' cy='24' r='7.5'/%3E%3C/g%3E%3Ccircle cx='24' cy='24' r='2.6' fill='%23ffb27f'/%3E%3C/svg%3E"); background-size: 56px 56px; }

/* Pasos */
.sec { padding: 72px 0; }
.sec > .wrap > h2 { font-size: clamp(30px, 4vw, 44px); max-width: 16em; }
.sec > .wrap > .sub { color: var(--mut); font-size: 18px; margin: 14px 0 0; max-width: 36em; }
.paso { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 72px; }
.paso:nth-of-type(even) .tx { order: 2; }
.paso .num { font: 600 14px var(--sans); color: var(--mut); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.paso .num i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.paso h3 { font-size: clamp(26px, 3.2vw, 36px); }
.paso p { color: var(--mut); margin: 14px 0 0; }
.paso ul { margin: 16px 0 0; padding: 0; list-style: none; }
.paso li { padding: 10px 0 10px 26px; border-top: 1px solid var(--line); position: relative; }
.paso li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 8px; height: 8px; border-radius: 2px; background: var(--acc); transform: rotate(45deg); }
.paso .tel { max-width: 280px; }

/* Más cosas */
.mas { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.grid div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.grid div:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.grid b { display: block; font-family: var(--serif); font-size: 21px; font-weight: 650; letter-spacing: -.01em; margin-bottom: 6px; }
.grid span { color: var(--mut); font-size: 16px; }

/* Empezar */
.fin .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.fin ol { margin: 0; padding: 0; list-style: none; counter-reset: p; }
.fin li { counter-increment: p; padding: 16px 0 16px 52px; border-top: 1px solid var(--line); position: relative; }
.fin li::before { content: counter(p); position: absolute; left: 0; top: 14px; width: 34px; height: 34px; border-radius: 50%; background: var(--acc-soft); color: var(--acc-text); font: 650 16px/34px var(--sans); text-align: center; }
.fin li b { display: block; }
.fin li span { color: var(--mut); font-size: 16px; }
.caja { background: var(--ink); color: #fbf7f1; border-radius: 28px; padding: 32px; }
.caja h3 { font-size: 30px; }
.caja p { color: #cfc7bb; margin: 14px 0 24px; }
.caja .btn.alt { color: #fbf7f1; border-color: #4a453f; }
.caja .btn.alt:hover { background: #2c2925; }

footer { padding: 32px 0 48px; color: var(--mut); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .brand { font-size: 15px; color: var(--ink); }

@media (max-width: 860px) {
  .hero { padding-top: 28px; }
  .hero .wrap, .paso, .fin .wrap { grid-template-columns: 1fr; gap: 36px; }
  .paso { margin-top: 56px; }
  .paso:nth-of-type(even) .tx { order: 0; }
  .hero .tel { max-width: 260px; }
  .paso .tel { max-width: 250px; }
  .grid { grid-template-columns: 1fr; }
  .grid div, .grid div:not(:nth-child(3n+1)) { padding: 20px 0; border-left: 0; }
  .sec { padding: 56px 0; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .brand span { display: none; }
  .lead { font-size: 17px; }
  .acts .btn { flex: 1 1 auto; }
  .caja { padding: 24px; }
}

main { overflow-x: clip; }
img { max-width: 100%; display: block; }
/* Tres ideas cortas de la portada */
.tres { padding: 56px 0 64px; }
.tres .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.tres .num { font: 600 13px var(--sans); color: var(--mut); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.tres .num i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.tres b { display: block; font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.15; }
.tres p { color: var(--mut); margin: 8px 0 0; font-size: 16px; }
.tres .pie { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.tres .pie span { color: var(--mut); font-size: 16px; }
.tope { padding: 48px 0 0; }
.tope h1 { font-size: clamp(36px, 5vw, 56px); }
.tope .lead { margin-bottom: 0; }
.sec.prim { padding-top: 8px; }
.sec.prim .paso:first-of-type { margin-top: 40px; }
@media (max-width: 860px) { .tres .cols { grid-template-columns: 1fr; gap: 24px; } .tres { padding: 40px 0 48px; } .tope { padding-top: 28px; } }
