/* Sorbo — web. Paleta «Café con leche». */
:root {
  --cream: #FBF6EE;
  --card: #FFFDF9;
  --espresso: #3B2A20;
  --caramel: #C8813A;
  --caramel-deep: #A9672A;
  --water: #4FA3D9;
  --muted: #8A7666;
  --line: #EADFD0;
  --shadow: 0 1px 2px rgba(59, 42, 32, .06), 0 12px 32px -12px rgba(59, 42, 32, .22);
  --radius: 20px;
  --rounded: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --cream: #1C1410;
    --card: #271D17;
    --espresso: #F4EADC;
    --caramel: #DC9A55;
    --caramel-deep: #E8AE70;
    --muted: #B5A291;
    --line: #3A2C23;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 36px -14px rgba(0, 0, 0, .6);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font: 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--caramel-deep); text-underline-offset: 3px; }
a:hover { color: var(--caramel); }
h1, h2, h3 { font-family: var(--rounded); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 650; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 16px; }

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

/* Cabecera */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 1.2rem var(--rounded); color: var(--espresso); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: var(--shadow); }
.site-header nav { display: flex; align-items: center; gap: 18px; font-size: .95rem; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--espresso); }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: .85rem; }

/* Portada */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 36px 0 72px; }
.eyebrow { font: 600 .82rem var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--caramel-deep); margin-bottom: 14px; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--espresso); color: var(--cream);
  padding: 11px 20px 11px 16px; border-radius: 14px; text-decoration: none;
  font: 600 1rem var(--text);
}
.store-badge small { display: block; font-size: .72rem; font-weight: 500; opacity: .75; }
.store-badge[aria-disabled="true"] { cursor: default; }
.store-badge svg { width: 26px; height: 26px; fill: currentColor; }
.cta .note { color: var(--muted); font-size: .92rem; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .92rem; }
.facts li::before { content: "✓"; color: var(--caramel); font-weight: 700; margin-right: 6px; }

/* Pantalla del Mac con la barra de menús */
.mac { position: relative; justify-self: center; width: min(400px, 100%); }
.menubar {
  display: flex; align-items: center; justify-content: flex-end; gap: 14px;
  height: 30px; padding: 0 14px; margin: 0 -26px 10px;
  background: rgba(255, 255, 255, .55); backdrop-filter: blur(12px);
  border-radius: 10px; font: 600 .78rem var(--text); color: #2b2b2b;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
@media (prefers-color-scheme: dark) { .menubar { background: rgba(60, 50, 44, .7); color: #f2f2f2; } }
.menubar .item { display: inline-flex; align-items: center; gap: 5px; padding: 2px 7px; border-radius: 6px; }
.menubar .item.active { background: rgba(0, 0, 0, .1); }
@media (prefers-color-scheme: dark) { .menubar .item.active { background: rgba(255,255,255,.14); } }
.menubar .ring { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; position: relative; }
.menubar .ring::after { content: ""; position: absolute; inset: 1px; border-radius: 50%; background: conic-gradient(currentColor 0 54%, transparent 54%); }
.panel-shot { border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); width: 100%; }
.hero-glow { position: absolute; inset: 10% -14% -6%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(200, 129, 58, .22), transparent); filter: blur(10px); }

/* Secciones */
section { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 34px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.band { background: var(--card); border-block: 1px solid var(--line); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.band .feature { background: var(--cream); }
.feature .icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(200, 129, 58, .14); color: var(--caramel-deep); margin-bottom: 14px; }
.feature .icon.blue { background: rgba(79, 163, 217, .15); color: var(--water); }
.feature .icon svg { width: 22px; height: 22px; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.shot { border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.steps li::before { content: counter(step); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--caramel); color: #fff; font: 700 1rem var(--rounded); }
.steps strong { display: block; font-family: var(--rounded); font-size: 1.05rem; }
.steps span { color: var(--muted); }

.moods { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.mood { text-align: center; }
.mood img { width: 100%; max-width: 128px; margin: 0 auto 10px; border-radius: 22px; box-shadow: var(--shadow); }
.mood strong { display: block; font-family: var(--rounded); }
.mood span { color: var(--muted); font-size: .88rem; line-height: 1.35; display: block; }

.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font: 650 1.05rem var(--rounded); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--caramel); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

.closing { text-align: center; }
.closing img { width: 96px; margin: 0 auto 18px; border-radius: 22px; box-shadow: var(--shadow); }
.closing .cta { justify-content: center; }

/* Páginas legales y soporte */
.doc { max-width: 760px; padding: 28px 0 72px; }
.doc .updated { color: var(--muted); font-size: .92rem; }
.doc h2 { font-size: 1.4rem; margin-top: 2em; }
.doc h3 { margin-top: 1.4em; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .4em; }
.summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0 8px; }
.summary div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.summary strong { display: block; font-family: var(--rounded); }
.summary small { color: var(--muted); font-size: .88rem; line-height: 1.4; display: block; margin-top: 4px; }
.kbd { font: 600 .9em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--card); border: 1px solid var(--line);
  border-radius: 6px; padding: 1px 6px; white-space: nowrap; }
code { font: .92em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; word-break: break-all; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 26px 0; }
.contact-card a.button { display: inline-block; background: var(--caramel); color: #fff; text-decoration: none; font-weight: 600;
  padding: 10px 18px; border-radius: 12px; margin-top: 6px; }
.contact-card a.button:hover { background: var(--caramel-deep); }

/* Pie */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer a { color: var(--muted); }

@media (max-width: 860px) {
  .hero, .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > :first-child { order: 0; }
  .features { grid-template-columns: 1fr 1fr; }
  .moods { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .menubar { margin-inline: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .features, .summary { grid-template-columns: 1fr; }
  .site-header nav a:not(.lang) { display: none; }
  .site-header nav a.keep { display: inline; }
  section { padding: 48px 0; }
}
.contact-card h3 { margin-top: 0; }
.doc > h1 + .updated { margin-top: -.3em; }
