/* Ai Social Media: home. Port a Stackposts v10 del diseno de Dominique (repo aisocialmediaco, rama dev-dom).
   Mobile first. Sin fuentes ni librerias externas. Los tamanos minimos de texto son 11px en las vistas previas
   ilustrativas y 14px en todo lo demas (el diseno original llegaba a 6px). */

:root {
  --ink: #0b102e;
  --blue: #191f69;
  --blue-2: #2a3590;
  --accent: #384ac5;
  --muted: #4f5269;
  --paper: #fdfbf8;
  --line: #e3e2eb;
  --lav: #f0ebff;
  --lav-2: #f7f4ff;
  --peach: #fff0e6;
  --sand: #fbf2e5;
  --ok-bg: #e0f2e9;
  --ok: #145548;
  --gutter: clamp(20px, 5vw, 48px);
  --max: 1180px;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font: 16px/1.55 var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

html.menu-open { overflow: hidden; }

img, svg { max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
p { color: var(--muted); }
h1, h2, h3 { letter-spacing: -.04em; line-height: 1.1; text-wrap: balance; }
h2 { font-size: clamp(28px, 4.2vw, 46px); }
h3 { font-size: 22px; }

a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #6e65dd;
  outline-offset: 3px;
  border-radius: 8px;
}

.i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: min(var(--max), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
main { overflow: clip; }
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.skip { position: fixed; top: -100px; left: 16px; z-index: 100; background: #fff; padding: 12px 16px; border-radius: 10px; box-shadow: 0 6px 24px #0b102e26; }
.skip:focus { top: 10px; }

.eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); font-weight: 600; margin-bottom: 18px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 12px 26px;
  border: 1px solid var(--blue); border-radius: 13px;
  background: var(--blue); color: #fff;
  font-size: 15px; font-weight: 600; line-height: 1.2; text-align: center;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--blue-2); border-color: var(--blue-2); transform: translateY(-2px); box-shadow: 0 10px 24px -12px #191f69aa; }
.btn-outline { background: transparent; color: var(--blue); }
.btn-outline:hover { color: #fff; }
.btn-sm { min-height: 44px; padding: 10px 22px; font-size: 14px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn .i { width: 1.2em; height: 1.2em; }

/* ---------- Cabecera ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.hdr.is-stuck { border-bottom-color: var(--line); }
.hdr-in { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; letter-spacing: -.04em; white-space: nowrap; margin-right: auto; }
.brand img { width: 32px; height: 32px; }

.menu-btn {
  display: none;
  width: 46px; height: 46px; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 13px; background: #fff;
}
.menu-btn .i { width: 22px; height: 22px; }
.menu-btn .i-close, .menu-btn[aria-expanded="true"] .i-menu { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links > li > a, .nav .link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 2px; border: 0; background: none; font-weight: 500; }
.nav-links a:hover, .nav .link:hover, .nav a[aria-current="true"] { color: var(--accent); }
.nav .link .i { width: 14px; height: 14px; transition: transform .2s; }
.nav .link[aria-expanded="true"] .i { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 14px; }

.dd { position: relative; }
.dd-menu {
  position: absolute; top: calc(100% + 8px); left: -14px; min-width: 200px; z-index: 5;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 8px;
  box-shadow: 0 18px 50px -20px #0b102e55;
}
.dd-menu[hidden] { display: none; }
.dd-menu a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px; font-weight: 500; }
.dd-menu a:hover, .dd-menu a[aria-current="true"] { background: var(--lav); color: var(--blue); }
.dd-menu.end { left: auto; right: -8px; }
html:not(.js) .dd:hover .dd-menu, html:not(.js) .dd:focus-within .dd-menu { display: block; }

@media (max-width: 999px) {
  .menu-btn { display: inline-flex; }
  .js .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 8px;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
    padding: 8px var(--gutter) 28px; background: var(--paper);
    border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -30px #0b102e55;
  }
  .js .nav:not(.is-open) { display: none; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links > li > a, .nav .link { width: 100%; min-height: 52px; padding: 12px 4px; font-size: 17px; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .dd-menu { position: static; display: block; min-width: 0; border: 0; box-shadow: none; padding: 0 0 4px 12px; background: transparent; }
  .dd-menu[hidden] { display: block; }
  .dd > .link { pointer-events: none; }
  .dd > .link .i { display: none; }
  .dd-menu a { min-height: 48px; padding: 10px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 16px; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 12px; }
  .nav-actions .btn { width: 100%; }
  .nav-actions .login { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 13px; background: #fff; font-weight: 600; }
  .nav-lang { width: 100%; }
  .nav-lang > .link { pointer-events: auto; border-bottom: 0; }
  .nav-lang .dd-menu { position: static; padding-left: 0; }
  .nav-lang .dd-menu[hidden] { display: none; }
  .nav-lang .link .i:last-child { display: block; }
  html:not(.js) .hdr-in { flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .nav { flex-basis: 100%; flex-wrap: wrap; gap: 12px; }
  html:not(.js) .nav-links { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
}
@media (min-width: 1000px) {
  :root { --header-h: 92px; }
  .nav { flex: 1; justify-content: flex-end; }
  .nav .login { font-weight: 500; }
  .nav .login:hover { color: var(--accent); }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; display: grid; gap: 40px; padding-block: 20px 56px; }
.hero::before {
  content: ""; position: absolute; z-index: -2; pointer-events: none;
  width: 640px; height: 830px; right: -48px; top: -140px; opacity: .7;
  border-radius: 48% 0 50% 50%; transform: rotate(36deg);
  background: linear-gradient(135deg, #fff9f2, #fbe0d3);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 600px; height: 350px; bottom: -25px; left: 24%;
  border-radius: 80% 60% 0 0; background: linear-gradient(140deg, #fce4d6a6, transparent);
}
.hero-copy { position: relative; z-index: 2; padding-top: 8px; }
.hero h1 { font-size: clamp(36px, 9.4vw, 52px); letter-spacing: -.06em; line-height: 1.08; margin-bottom: 22px; }
.lead { font-size: 19px; line-height: 1.5; max-width: 30em; letter-spacing: -.01em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-line { display: block; width: 80px; height: 2px; margin-top: 40px; background: linear-gradient(to right, var(--blue) 30%, #e5dff9 30%); }

@media (min-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 24px; min-height: 620px; padding-block: 30px 64px; }
  .hero h1 { font-size: clamp(44px, 4.7vw, 62px); }
}
@media (max-width: 520px) {
  .hero::before { width: 420px; height: 560px; right: -160px; top: -120px; }
  .actions .btn { flex: 1 1 100%; }
  .hero-line { display: none; }
}

/* ---------- Vista previa del producto (ilustrativa) ---------- */
.preview {
  position: relative; container-type: inline-size; min-width: 0;
  background: #fff9; border: 1px solid #fff; border-radius: 22px;
  padding: 30px 10px 10px; box-shadow: 0 12px 45px #ba95891a;
}
.preview-label {
  position: absolute; top: -13px; right: 8px; z-index: 2;
  background: #eeebff; color: var(--blue); font-size: 12px; font-weight: 600;
  padding: 9px 14px; border-radius: 14px 14px 0 14px;
}
.dash { display: grid; grid-template-columns: 1fr; background: #fcfcfd; border: 1px solid #ecebf1; border-radius: 15px; padding: 12px; overflow: hidden; }
.dash-side { display: none; font-size: 12px; }
.mini-brand { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; white-space: nowrap; padding: 4px 8px 16px 0; }
.mini-brand img { width: 18px; height: 18px; }
.dash-side li { display: flex; align-items: center; gap: 9px; padding: 11px 10px 11px 8px; white-space: nowrap; }
.dash-side .i { width: 16px; height: 16px; }
.dash-side .sel { background: #eeebff; color: #2923a8; border-radius: 0 8px 8px 0; font-weight: 600; }
.dash-main { min-width: 0; }
.dash-title { font-size: clamp(19px, 5.4cqw, 24px); font-weight: 700; letter-spacing: -.04em; color: var(--ink); margin: 4px 0 12px; }

.cal { background: #fff; border: 1px solid #edecf1; border-radius: 10px; overflow: hidden; }
.cal-bar { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 9px 12px; border-bottom: 1px solid #eeedf3; }
.cal-view { padding: 3px 12px; border-radius: 6px; background: #eeeaff; color: #2c31a0; font-size: 12px; font-weight: 600; }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-week { font-size: 11px; text-align: center; padding: 7px 0; color: var(--muted); }
.cell { position: relative; aspect-ratio: 7 / 8; min-width: 0; padding: 3px; border-top: 1px solid #eeedf3; border-right: 1px solid #eeedf3; font-size: 11px; line-height: 1.2; }
.cell:nth-child(7n) { border-right: 0; }
.cell .d { display: inline-grid; place-items: center; min-width: 17px; height: 17px; padding: 0 3px; border-radius: 9px; color: var(--ink); }
.cell.today .d { background: var(--blue); color: #fff; font-weight: 700; }
.cell .ph { position: absolute; left: 12%; right: 12%; bottom: 6%; height: 48%; width: auto; max-width: none; object-fit: cover; border-radius: 4px; }
.cell .pnet { position: absolute; right: 8%; bottom: 6%; width: 15px; height: 15px; display: grid; place-items: center; border-radius: 50%; color: #fff; box-shadow: 0 0 0 1.5px #fff; }
.cell .pnet .i { width: 9px; height: 9px; }

.dash-bottom { display: grid; gap: 10px; margin-top: 12px; }
.assist, .post { background: #fff; border: 1px solid #eeeef2; border-radius: 12px; padding: 12px; min-width: 0; }
.assist .mh, .post .mh { font-size: 13px; font-weight: 700; letter-spacing: -.01em; line-height: 1.35; color: var(--ink); }
.assist .mh { display: flex; align-items: center; gap: 6px; color: var(--blue); margin-bottom: 10px; }
.assist .mh .i { width: 15px; height: 15px; }
.assist > p { font-size: 12px; line-height: 1.5; color: var(--ink); border: 1px solid #edecf2; border-radius: 9px; padding: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.chips li { font-size: 11px; padding: 4px 8px; border-radius: 7px; background: #f2f2f6; color: var(--ink); }
.post { position: relative; }
.post .ph { display: block; width: 100%; height: 104px; object-fit: cover; object-position: 50% 72%; border-radius: 8px; margin-bottom: 8px; }
.post p:not(.mh) { font-size: 12px; margin-top: 2px; }
.badge-ok { position: absolute; top: 20px; left: 20px; max-width: calc(100% - 40px); display: inline-flex; align-items: center; gap: 5px; line-height: 1.25; background: var(--ok-bg); color: var(--ok); padding: 5px 9px; border-radius: 8px; font-size: 11px; font-weight: 600; }
.badge-ok .i { width: 12px; height: 12px; }

@container (min-width: 520px) {
  .cell { aspect-ratio: 1; }
  .cell .ph { bottom: 12%; height: 52%; }
  .dash { grid-template-columns: 22% minmax(0, 1fr); padding: 14px 12px 12px 0; }
  .dash-side { display: block; }
  .dash-main { padding-left: 8px; }
  .dash-bottom { grid-template-columns: 1fr 1fr; }
}
@container (max-width: 400px) {
  .cell { padding: 2px; font-size: 10.5px; }
  .cell .d { min-width: 15px; height: 15px; }
  .cell .pnet { width: 13px; height: 13px; }
  .cell .pnet .i { width: 8px; height: 8px; }
}

/* ---------- Redes ---------- */
.networks { position: relative; margin-block: 8px 56px; padding: 36px clamp(16px, 3vw, 32px) 28px; text-align: center; border-radius: 24px; background: linear-gradient(120deg, var(--lav-2), #f1eeff); }
.networks h2 { margin-bottom: 14px; }
.networks .sub { max-width: 40em; margin: 0 auto 26px; font-size: 17px; }
.net-group { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin: 22px 0 14px; }
.net-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.net {
  flex: 0 0 calc((100% - 2 * 10px) / 3); min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px;
  padding: 14px 6px 12px; border: 1px solid #fff; border-radius: 14px; background: #ffffffdf;
  font-size: 13px; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere;
}
.net-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #fff; background: var(--c, #000); }
.net-ico .i { width: 24px; height: 24px; }
.net-soon { background: #ffffff8c; border-style: dashed; border-color: #d9d3f3; color: var(--muted); }
.net-soon .net-ico { opacity: .55; filter: saturate(.7); }
.net-note { margin-top: 22px; font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--blue); font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { color: var(--accent); }
@media (min-width: 700px) { .net { flex-basis: calc((100% - 3 * 10px) / 4); } }
@media (min-width: 1000px) { .net-list { gap: 12px; } .net { flex-basis: calc((100% - 6 * 12px) / 7); font-size: 14px; } }

/* ---------- Flujo ---------- */
.workflow { padding-block: 8px 56px; }
.workflow > h2 { margin-bottom: 26px; }
.workflow-grid { display: grid; gap: 16px; }
.wf { padding: 24px 20px 20px; border-radius: 18px; min-width: 0; }
.wf.peach { background: linear-gradient(130deg, var(--peach), #fff4ed); }
.wf.lav { background: linear-gradient(140deg, #efebff, #f6f1ff); }
.wf.sand { background: linear-gradient(140deg, var(--sand), #fcf5eb); }
.step { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.wf h3 { font-size: 24px; letter-spacing: -.05em; margin-bottom: 8px; }
.wf > p { font-size: 16px; margin-bottom: 18px; }
.sample { border: 1px solid #fff; background: #ffffffc9; border-radius: 14px; padding: 16px; min-height: 270px; }
.sample h4 { font-size: 14px; }
.composer > p { font-size: 13px; line-height: 1.5; color: var(--ink); border: 1px solid #e1dfe7; border-radius: 9px; padding: 11px; margin-top: 12px; }
.composer-media { display: flex; gap: 8px; margin-top: 10px; }
.composer-media .ph { width: 58%; height: 84px; object-fit: cover; border-radius: 7px; }
.composer-media .add { display: grid; place-items: center; width: 54px; border: 1px solid #e7e4ef; background: #f6f5fa; border-radius: 7px; color: var(--blue); }
.composer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; font-size: 13px; }
.composer-bottom .where { display: inline-flex; align-items: center; gap: 8px; }
.composer-bottom .where .net-ico { width: 22px; height: 22px; border-radius: 7px; }
.composer-bottom .where .net-ico .i { width: 13px; height: 13px; }
.fake-btn { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border-radius: 9px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }
.fake-btn .i { width: 14px; height: 14px; }
.cal.compact .cal-bar { font-size: 13px; }
.talk { display: grid; gap: 10px; }
.talk .row { display: flex; gap: 10px; align-items: flex-start; }
.avatar { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #ece9f3; font-size: 13px; font-weight: 700; color: var(--blue); }
.avatar.warm { background: #f4dfd5; }
.bubble { flex: 1; min-width: 0; background: #f6f5fa; border-radius: 11px; padding: 9px 12px; }
.bubble h4 { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.bubble small { font-weight: 400; color: var(--muted); font-size: 11px; }
.bubble p { font-size: 13px; line-height: 1.45; color: var(--ink); margin-top: 2px; }
.attach { display: flex; align-items: center; gap: 10px; margin-left: 42px; font-size: 13px; color: var(--blue); }
.attach .ph { width: 54px; height: 38px; object-fit: cover; border-radius: 6px; }
.attach small { display: block; color: var(--muted); font-size: 11px; }
.approved { display: flex; align-items: center; gap: 10px; border-radius: 10px; background: var(--ok-bg); padding: 11px 12px; color: var(--ok); font-size: 13px; }
.approved .tick { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #1f7a62; color: #fff; }
.approved .tick .i { width: 14px; height: 14px; }
.approved small { display: block; font-size: 12px; }
.sample-note { margin-top: 16px; text-align: center; font-size: 13px; }

@media (min-width: 640px) { .workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wf.sand { grid-column: 1 / -1; } .wf.sand .sample { max-width: 560px; } }
@media (min-width: 1000px) { .workflow-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .wf.sand { grid-column: auto; } .wf.sand .sample { max-width: none; } }

/* ---------- Precios ---------- */
.pricing { padding-block: 8px 64px; }
.pricing-head { text-align: center; max-width: 46em; margin: 0 auto 28px; }
.pricing-head h2 { margin-bottom: 14px; }
.pricing-head p { font-size: 17px; }
.tabs { display: inline-flex; max-width: 100%; gap: 4px; margin-top: 24px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.tab { min-height: 44px; padding: 8px clamp(12px, 4vw, 22px); border: 0; border-radius: 999px; background: transparent; font-size: 15px; font-weight: 600; color: var(--muted); }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--blue); color: #fff; }
html:not(.js) .tabs { display: none; }
.plans { display: grid; gap: 16px; margin-top: 8px; }
.plans[hidden] { display: none; }
.plan-group-title { margin-top: 24px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; }
.js .plan-group-title { display: none; }
.plan { display: flex; flex-direction: column; padding: 26px 22px 22px; border-radius: 20px; border: 1px solid transparent; min-width: 0; }
.plan.p0 { background: linear-gradient(130deg, var(--peach), #fff4ed); }
.plan.p1 { background: linear-gradient(140deg, #efebff, #f6f1ff); }
.plan.p2 { background: linear-gradient(140deg, var(--sand), #fcf5eb); }
.plan.featured { border-color: var(--blue); box-shadow: 0 24px 60px -34px #191f69aa; }
.plan-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 30px; }
.plan h3 { font-size: 24px; margin-right: auto; }
.pill { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #fff; color: var(--blue); }
.pill.hot { background: var(--blue); color: #fff; }
.plan > .desc { margin-top: 12px; font-size: 15px; min-height: 3.1em; }
.price { margin-top: 20px; font-size: 52px; font-weight: 700; letter-spacing: -.07em; line-height: 1; color: var(--ink); }
.price small { margin-left: 4px; font-size: 17px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.billed { margin-top: 8px; font-size: 14px; }
.plan .btn { margin-top: 22px; }
.feat { margin-top: 22px; padding-top: 18px; border-top: 1px solid #0b102e14; display: grid; gap: 11px; font-size: 15px; color: var(--ink); }
.feat li { display: flex; gap: 10px; align-items: flex-start; }
.feat .i { width: 18px; height: 18px; margin-top: 2px; color: #1f7a62; }
.plan-more { margin-top: auto; padding-top: 18px; }
.pricing-note { margin-top: 22px; text-align: center; font-size: 14px; }
@media (min-width: 1000px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } .plan-top { min-height: 64px; align-content: flex-start; } }
@media (max-width: 999px) { .plans { max-width: 520px; margin-inline: auto; } .plan > .desc { min-height: 0; } }

/* ---------- FAQ y blog (solo si hay datos) ---------- */
.faq { padding-block: 8px 64px; }
.faq h2 { text-align: center; margin-bottom: 26px; }
.faq-list { display: grid; gap: 10px; max-width: 800px; margin-inline: auto; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 20px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 20px; height: 20px; transition: transform .2s; color: var(--blue); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq .answer { padding: 0 20px 18px; font-size: 16px; line-height: 1.6; white-space: pre-line; }
.blog { padding-block: 8px 64px; }
.blog h2 { margin-bottom: 22px; }
.blog-grid { display: grid; gap: 16px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; }
.card .thumb { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; background: linear-gradient(135deg, var(--lav), var(--peach)); }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.card small { color: var(--muted); font-size: 13px; }
.card h3 { font-size: 20px; letter-spacing: -.03em; }
.card h3 a:hover { color: var(--accent); }
@media (min-width: 760px) { .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Cierre ---------- */
.closing { display: grid; gap: 24px; align-items: center; margin-bottom: 44px; padding: clamp(28px, 5vw, 48px); border-radius: 26px; background: linear-gradient(120deg, #efebff, #f6f1ff); overflow: hidden; }
.closing h2 { font-size: clamp(32px, 6vw, 48px); letter-spacing: -.055em; margin-bottom: 16px; }
.closing p { font-size: 18px; max-width: 28em; }
.closing .actions { margin-top: 26px; }
.collage { position: relative; width: 100%; max-width: 440px; aspect-ratio: 11 / 9; margin-inline: auto; }
.collage .orbit { position: absolute; right: 2%; top: 0; width: 56%; aspect-ratio: 1; border-radius: 50%; background: #d9ccff88; }
.collage .card-photo { position: absolute; border: 6px solid #fff; border-radius: 14px; box-shadow: 0 16px 40px -18px #0b102e66; background: #fff; overflow: hidden; }
.collage .card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cp-coffee { left: 14%; top: 3%; width: 48%; aspect-ratio: 114 / 120; }
.cp-arch { right: 1%; top: 18%; width: 32%; aspect-ratio: 105 / 122; }
.cp-plant { right: 12%; bottom: 2%; width: 30%; aspect-ratio: 74 / 77; }
.collage .tag { position: absolute; left: 20%; top: 8%; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px; background: var(--ok-bg); color: var(--ok); font-size: 12px; font-weight: 700; box-shadow: 0 8px 20px -10px #0b102e55; }
.collage .tag .i { width: 14px; height: 14px; }
.ideas { position: absolute; left: 0; bottom: 6%; z-index: 3; padding: 14px 18px; border-radius: 12px; background: #fff; box-shadow: 0 16px 40px -20px #0b102e66; font-size: 13px; line-height: 1.7; color: var(--ink); }
@media (min-width: 900px) { .closing { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 899px) { .closing .actions .btn { flex: 1 1 auto; } }

/* ---------- Pie ---------- */
.ftr { border-top: 1px solid var(--line); padding-block: 40px 28px; }
.ftr-top { display: grid; gap: 28px; }
.ftr .brand { margin-right: 0; }
.ftr-tag { margin-top: 12px; font-size: 15px; max-width: 22em; }
.ftr h2 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 12px; }
.ftr ul { display: grid; gap: 4px; }
.ftr li a { display: inline-flex; align-items: center; min-height: 40px; font-size: 15px; }
.ftr li a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.ftr-cols { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ftr-bottom { display: flex; flex-direction: column; gap: 10px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (min-width: 900px) {
  .ftr-top { grid-template-columns: 1.1fr 2fr; }
  .ftr-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftr-bottom { flex-direction: row; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .btn:hover { transform: none; }
}
