/* Web comercial · hoja de estilos única, móvil primero */
@font-face { font-family: "Bricolage"; src: url(fonts/bricolage-grotesque-latin-opsz-normal.woff2) format("woff2-variations"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument"; src: url(fonts/instrument-sans-latin-wght-normal.woff2) format("woff2-variations"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Instrument"; src: url(fonts/instrument-sans-latin-wght-italic.woff2) format("woff2-variations"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --paper: #f7f4ee;
  --surface: #ffffff;
  --ink: #15211f;
  --ink-2: #44524f;
  --ink-3: #66736f;
  --line: #e3ddd1;
  --cobalt: #0f6b62;
  --cobalt-deep: #0a4b45;
  --cobalt-wash: #e2efec;
  --tag: #f1b84b;
  --tag-deep: #d7981d;
  --mint: #0f8a66;
  --clay: #c8623f;
  --sand: #efe7d8;
  --radius: 14px;
  --display: "Bricolage", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1160px;
  --text: 720px;
  --gutter: 16px;
}
@media (min-width: 760px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.62 var(--body); text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--cobalt); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--cobalt-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(var(--text) + var(--gutter) * 2); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; font-optical-sizing: auto; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 1.4rem + 4.2vw, 4.4rem); font-weight: 750; letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.9vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
.lead, p.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--ink-2); line-height: 1.55; }
.muted { color: var(--ink-3); }

/* Botones */
.btn, .btn-alt { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 50px; padding: 0 1.4em; border-radius: 999px; font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s; }
.btn { background: var(--cobalt); color: #fff; }
.btn:hover { background: var(--cobalt-deep); color: #fff; text-decoration: none; }
.btn-alt { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-alt:hover { background: var(--ink); color: #fff; text-decoration: none; }
.btn-tag { background: var(--tag); color: var(--ink); }
.btn-tag:hover { background: var(--tag-deep); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 0; }

/* Cabecera */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(247, 244, 238, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.site-head.scrolled { border-bottom-color: var(--line); }
.head-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 750 1.32rem/1 var(--display); letter-spacing: -.03em; color: var(--ink); text-decoration: none; margin-right: auto; }
.logo:hover { color: var(--ink); text-decoration: none; }
.logo img { height: 34px; width: auto; }
.logo-mark { width: 26px; height: 26px; flex: none; }
.nav { display: none; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 8px 2px; white-space: nowrap; }
.head-cta { white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--cobalt); }
.head-cta { display: none; }
.menu { position: static; }
.menu > summary { list-style: none; cursor: pointer; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary span, .menu > summary span::before, .menu > summary span::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: ""; }
.menu > summary span::before { position: absolute; top: -6px; } .menu > summary span::after { position: absolute; top: 6px; }
.menu[open] > summary span { background: transparent; } .menu[open] > summary span::before { top: 0; transform: rotate(45deg); } .menu[open] > summary span::after { top: 0; transform: rotate(-45deg); }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; height: calc(100vh - 68px); height: calc(100dvh - 68px); background: var(--paper); padding: 20px var(--gutter) 40px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--line); }
.menu-panel a:not(.btn) { color: var(--ink); text-decoration: none; font: 600 1.35rem/1.2 var(--display); padding: 14px 0; border-bottom: 1px solid var(--line); }
.menu-panel .btn { margin-top: 20px; }
@media (min-width: 1040px) {
  .nav { display: flex; gap: 22px; }
  .head-cta { display: inline-flex; min-height: 44px; }
  .menu { display: none; }
}

/* Migas */
.crumbs { font-size: .9rem; color: var(--ink-3); padding-top: 22px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--cobalt); }

/* Hero */
.hero { padding: 36px 0 56px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero h1 { margin-bottom: .32em; max-width: 13ch; }
.hero-landing h1 { max-width: 20ch; font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.7rem); }
.hero .lead { max-width: 38em; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; font-size: .98rem; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.hero-tag { justify-self: center; width: min(320px, 78vw); }
.hero-tag svg { width: 100%; height: auto; overflow: visible; }
.tag-swing { transform-origin: 160px 8px; animation: swing 2.4s cubic-bezier(.3, 1.6, .5, 1) .25s both; }
@keyframes swing { 0% { transform: rotate(-14deg); } 35% { transform: rotate(7deg); } 60% { transform: rotate(-3deg); } 100% { transform: rotate(-2deg); } }
@media (prefers-reduced-motion: reduce) { .tag-swing { animation: none; transform: rotate(-2deg); } }
@media (min-width: 900px) {
  .hero { padding: 64px 0 88px; }
  .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 56px; }
  .hero-tag { justify-self: end; width: 340px; margin-top: -40px; }
}

/* Contenido editable */
.prose { max-width: var(--text); }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2.1em; }
.prose h3 { margin-top: 1.8em; }
/* En los artículos, subtítulos más contenidos para que no se partan en líneas muy cortas */
.post .prose h2 { margin-top: 1.9em; font-size: clamp(1.45rem, 1.2rem + .85vw, 1.9rem); line-height: 1.18; letter-spacing: -.015em; text-wrap: pretty; }
.post .prose h3 { margin-top: 1.7em; font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); line-height: 1.25; text-wrap: pretty; }
.prose h2 + p, .prose h3 + p { margin-top: 0; }
.prose blockquote h2, .prose blockquote h3, .prose blockquote h4 { color: var(--ink); margin-top: .6em; }
.prose blockquote p { font-size: 1rem; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--cobalt); }
.prose img { border-radius: var(--radius); display: block; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: .9rem; color: var(--ink-3); margin-top: 8px; }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--tag); font-size: 1.12rem; color: var(--ink-2); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose a[href^="/"] { font-weight: 550; }
.prose .table-wrap { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.prose table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .96rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 650; background: #fbf9f5; }
.prose tr:last-child td { border-bottom: 0; }
.prose ul.ticks { list-style: none; padding: 0; }
.prose ul.ticks li { position: relative; padding-left: 32px; }
.prose ul.ticks li::before { content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat; }
.prose ol.steps { list-style: none; counter-reset: s; padding: 0; }
.prose ol.steps > li { counter-increment: s; position: relative; padding: 0 0 6px 54px; margin-bottom: 18px; }
.prose ol.steps > li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 1rem/1 var(--display); }
.prose .callout { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--cobalt); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 22px; margin: 1.8em 0; }
.prose .callout > :last-child, .prose .note > :last-child { margin-bottom: 0; }
.prose .note { background: #fdf3dc; border-radius: var(--radius); padding: 16px 20px; margin: 1.6em 0; font-size: .97rem; }
.prose .cols { display: grid; gap: 18px 32px; margin: 1.6em 0; }
@media (min-width: 760px) { .prose .cols { grid-template-columns: 1fr 1fr; } }
.prose .align-right { float: right; max-width: 45%; margin: 0 0 1em 1.5em; }
.prose .align-left { float: left; max-width: 45%; margin: 0 1.5em 1em 0; }
.prose .align-center { margin-left: auto; margin-right: auto; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }

/* Secciones de landing */
.section { padding: 56px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .section { padding: 84px 0; } }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; }
.page-layout { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1080px) { .page-layout.has-toc { grid-template-columns: minmax(0, var(--text)) 260px; justify-content: space-between; } }
.wide-block { margin: 2.4em 0; }
/* Los planes se salen de la columna de texto cuando no hay índice lateral */
.page-layout:not(.has-toc) .prose .wide-block, .section > .wrap > .prose .wide-block { width: min(var(--wrap), calc(100vw - 2 * var(--gutter))); }

/* Planes: etiquetas de precio */
.plans { display: grid; gap: 22px; margin: 8px 0; }
@media (min-width: 760px) { .plans { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); } }
.plan { position: relative; background: var(--surface); border: 1.5px solid var(--ink); border-radius: 18px 18px var(--radius) var(--radius); padding: 40px 24px 26px; display: flex; flex-direction: column;
  -webkit-mask: radial-gradient(circle 9px at 50% 20px, transparent 8.5px, #000 9px); mask: radial-gradient(circle 9px at 50% 20px, transparent 8.5px, #000 9px); }
.plan::before { content: ""; position: absolute; left: 50%; top: 9px; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; border: 1.5px solid var(--ink); }
.plan.is-featured { background: var(--tag); }
.plan-badge { align-self: flex-start; font-size: .82rem; font-weight: 700; background: var(--ink); color: #fff; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.plan h3 { margin: 0 0 4px; font-size: 1.45rem; }
.plan-sub { color: var(--ink-2); margin: 0 0 18px; font-size: .97rem; }
.plan.is-featured .plan-sub { color: var(--ink); }
.plan-price { font: 750 2.5rem/1 var(--display); letter-spacing: -.035em; margin: 0 0 4px; }
.plan-price small { font: 500 1rem/1 var(--body); letter-spacing: 0; color: var(--ink-2); }
.plan.is-featured .plan-price small { color: var(--ink); }
.plan-note { font-size: .88rem; color: var(--ink-3); margin: 0 0 18px; }
.plan.is-featured .plan-note { color: var(--ink); opacity: .8; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; font-size: .97rem; }
.plan li { padding-left: 28px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.plan.is-featured li::before { background-color: var(--ink); }
.plan .btn, .plan .btn-alt { margin-top: auto; width: 100%; }
.plan-alt { display: block; text-align: center; margin-top: 10px; font-size: .93rem; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.plan.is-featured .plan-alt { color: var(--ink); }
.plan.is-featured .btn { background: var(--ink); }
.plan.is-featured .btn:hover { background: #000; }
.plans-simple { display: grid; gap: 14px; margin: 1.4em 0; }
@media (min-width: 640px) { .plans-simple { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.plan-mini { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.plan-mini strong { display: block; font: 700 1.1rem/1.2 var(--display); }
.plan-mini .plan-price { font-size: 1.7rem; margin: 8px 0 6px; }
.plan-mini p { margin: 0; font-size: .93rem; color: var(--ink-2); }

/* Comparativa simple (bloque) */
.compare-note { font-size: .92rem; color: var(--ink-3); }

/* Preguntas frecuentes */
.faq { max-width: var(--text); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font: 650 1.12rem/1.35 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--cobalt); border-bottom: 2px solid var(--cobalt); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq .answer { padding: 0 0 20px; color: var(--ink-2); }
.faq .answer > :last-child { margin-bottom: 0; }

/* Llamada final */
.cta-band { background: var(--ink); color: #fff; border-radius: 22px; padding: 40px 24px; display: grid; gap: 20px; align-items: center; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { color: #d6cfc0; margin: 0; }
.cta-band .btn { background: var(--tag); color: var(--ink); }
.cta-band .btn:hover { background: #fff; }
.cta-band .btn-alt { color: #fff; border-color: #fff; }
.cta-band .btn-alt:hover { background: #fff; color: var(--ink); }
.cta-band .actions { margin: 0; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; padding: 52px 56px; } }

/* Blog */
.blog-head { padding: 28px 0 8px; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.cats a { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 550; }
.cats a:hover { border-color: var(--ink); }
.cats a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.post-grid { display: grid; gap: 30px; padding: 32px 0 20px; }
@media (min-width: 680px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, 1fr); gap: 36px 30px; } }
.card { display: flex; flex-direction: column; }
.card-img { display: block; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--cobalt-wash); margin-bottom: 14px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-img.empty { display: grid; place-items: center; color: var(--cobalt); font: 750 2.2rem/1 var(--display); letter-spacing: -.04em; }
.card-meta { font-size: .86rem; color: var(--ink-3); margin-bottom: 6px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.card-meta a { color: var(--cobalt); text-decoration: none; font-weight: 600; }
.card h2, .card h3 { font-size: 1.3rem; line-height: 1.18; margin: 0 0 8px; }
.card h2 a, .card h3 a { color: var(--ink); text-decoration: none; }
.card h2 a:hover, .card h3 a:hover { color: var(--cobalt); }
.card p { color: var(--ink-2); font-size: .97rem; margin: 0; }
.pager { display: flex; gap: 8px; justify-content: center; padding: 20px 0 60px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); font-weight: 600; }
.pager span[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }

.post-head { padding: 20px 0 28px; max-width: 860px; }
.post-head h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); max-width: 28ch; text-wrap: pretty; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ink-3); font-size: .93rem; }
.post-cover { margin: 0 auto 44px; }
.post-cover img { width: 100%; height: auto; border-radius: 20px; display: block; }
.toc { font-size: .94rem; }
.toc-box { position: sticky; top: 92px; border-left: 2px solid var(--line); padding-left: 18px; }
.toc strong { display: block; font: 700 1rem/1.2 var(--display); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.toc li.l3 { padding-left: 14px; font-size: .9rem; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--cobalt); }
.toc-mobile { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 0 18px; margin-bottom: 28px; }
.toc-mobile summary { cursor: pointer; padding: 14px 0; font-weight: 650; }
.toc-mobile ol { padding-bottom: 16px; }
.toc-side { display: none; }
@media (min-width: 1080px) { .toc-side { display: block; } .toc-mobile { display: none; } }
.post-cta { margin: 48px 0 0; background: var(--surface); border: 1.5px solid var(--ink); border-radius: 20px; padding: 28px 24px; }
.post-cta h2 { font-size: 1.6rem; margin-bottom: .3em; }
.post-cta p { color: var(--ink-2); }
.related { padding: 56px 0 72px; }
.related h2 { font-size: 1.8rem; }

/* Contacto */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px 22px; display: grid; gap: 16px; }
@media (min-width: 640px) { .form { padding: 34px; } .form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } }
.form .two { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 50px; width: 100%; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--cobalt); outline: none; box-shadow: 0 0 0 3px var(--cobalt-wash); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .92rem; color: var(--ink-2); }
.form .check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--cobalt); }
.form .hp { position: absolute; left: -9999px; }
.form .btn { justify-self: start; }
.alert { padding: 14px 18px; border-radius: 12px; font-weight: 550; }
.alert-ok { background: #ddf5ec; color: #0b5c45; }
.alert-err { background: #fde6e4; color: #8f1d14; }
.contact-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.contact-list a { font-weight: 600; }

/* Pie */
.site-foot { background: var(--ink); color: #d6cfc0; margin-top: 40px; padding: 56px 0 28px; font-size: .95rem; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; color: #fff; }
.foot-grid { display: grid; gap: 34px; grid-template-columns: 1fr 1fr; }
.foot-grid > :first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; } .foot-grid > :first-child { grid-column: auto; } }
.site-foot h2 { font: 700 1rem/1.2 var(--display); color: #fff; margin: 0 0 14px; letter-spacing: 0; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-foot .logo { color: #fff; margin-bottom: 12px; }
.foot-bottom { border-top: 1px solid #2c3560; margin-top: 44px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .88rem; }

/* WhatsApp, cookies y barra de edición */
.wa { position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 56px; height: 56px; border-radius: 50%; background: #1fa855; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(21, 33, 31, .25); }
.wa svg { width: 30px; height: 30px; fill: #fff; }
.cookies { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: 0 10px 30px rgba(21, 33, 31, .18); max-width: 560px; font-size: .94rem; }
.cookies p { margin: 0 0 12px; }
.cookies .actions { margin: 0; }
.cookies .btn, .cookies .btn-alt { min-height: 42px; }
.editbar { position: fixed; left: 12px; bottom: 12px; z-index: 60; background: var(--ink); color: #fff; border-radius: 12px; padding: 8px 12px; font-size: .88rem; display: flex; gap: 12px; align-items: center; }
.editbar a { color: var(--tag); font-weight: 650; }
.notfound { padding: 60px 0; }
@media print { .site-head, .site-foot, .wa, .cookies, .editbar, .toc { display: none !important; } body { background: #fff; } }
.cookies h2 { font-size: 1.05rem; margin: 0 0 6px; }
.cookies .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-cats { margin: 0 0 12px; }
.cookie-cats label { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-top: 1px solid var(--line); cursor: pointer; }
.cookie-cats label:first-child { border-top: 0; }
.cookie-cats input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.cookie-cats small { display: block; color: var(--muted, #5d6662); font-size: .86rem; }
.cookies { max-height: calc(100vh - 24px); overflow: auto; }
.embed-wait { position: relative; display: grid; place-items: center; gap: 6px; text-align: center; padding: 28px 16px; border: 1px dashed var(--line); border-radius: 12px; margin: 1em 0; background: var(--surface); }
.embed-wait iframe { display: none; }
.embed-wait.is-on { display: block; padding: 0; border: 0; background: none; }
.embed-wait.is-on iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.embed-wait.is-on button, .embed-wait.is-on small { display: none; }
.embed-wait small { color: var(--muted, #5d6662); }
.privacy-first { font-size: .84rem; margin: 10px 0 0; color: var(--muted, #5d6662); }
.privacy-first summary { cursor: pointer; text-decoration: underline; }
.privacy-first dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; margin: 8px 0 0; }
.privacy-first dt { font-weight: 650; color: var(--ink, inherit); }
.privacy-first dd { margin: 0; }
@media (max-width: 520px) { .privacy-first dl { grid-template-columns: 1fr; } }

/* ===== Web inmobiliaria: bloques de la portada y de las landings ===== */
.eyebrow { font: 700 .78rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--clay); margin: 0 0 .8em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-home { background: radial-gradient(1200px 520px at 85% 10%, var(--cobalt-wash), transparent 65%), var(--paper); overflow: hidden; }
.hero-home h1 { max-width: 14ch; font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.1rem); }
.hero-price { margin: 1em 0 0; color: var(--ink-2); font-size: .98rem; }
.hero-price strong { color: var(--ink); }
.showcase { position: relative; padding-bottom: 28px; }
.browser { background: var(--surface); border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 30px 60px -28px rgba(21, 33, 31, .35); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--sand); border-bottom: 1px solid var(--line); }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d6cfc0; }
.browser-bar em { margin-left: 10px; font: 500 .78rem/1 var(--body); font-style: normal; color: var(--ink-3); background: var(--surface); padding: 5px 12px; border-radius: 999px; }
.browser img { display: block; width: 100%; height: auto; }
.phone { position: absolute; right: -6px; bottom: 0; width: 27%; min-width: 110px; border: 6px solid var(--ink); border-radius: 26px; overflow: hidden; background: var(--ink); box-shadow: 0 24px 40px -18px rgba(21, 33, 31, .5); }
.phone img { display: block; width: 100%; height: auto; border-radius: 19px; }
@media (min-width: 900px) {
  .hero-home .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; }
  .showcase { margin-right: -40px; }
}
.portal-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 18px 0 6px; border-top: 1px solid var(--line); }
.portal-label { font-size: .85rem; color: var(--ink-3); }
.portal-strip ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.portal-strip li { font: 650 1.02rem/1.2 var(--display); color: var(--ink-2); letter-spacing: -.01em; }
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; }
.feature-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--cobalt-wash); color: var(--cobalt); margin-bottom: 14px; }
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.12rem; margin-bottom: .35em; }
.feature h3 a { color: var(--ink); text-decoration: none; }
.feature h3 a:hover { color: var(--cobalt); text-decoration: underline; }
.feature p { margin: 0; color: var(--ink-2); font-size: .97rem; line-height: 1.5; }
.design-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.design-card { margin: 0; }
.design-shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); aspect-ratio: 640 / 750; box-shadow: 0 18px 36px -24px rgba(21, 33, 31, .4); }
.design-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s ease; }
.design-card:hover .design-shot img { transform: scale(1.03); }
.design-card figcaption { padding: 12px 2px 0; display: grid; gap: 2px; }
.design-card figcaption strong { font: 700 1.15rem/1.2 var(--display); }
.design-card figcaption span { color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
.design-note { color: var(--ink-3); font-size: .9rem; margin-top: 16px; }
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; } }
.split h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.7rem); }
.checks { list-style: none; padding: 0; margin: 1.4em 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; color: var(--ink-2); }
.checks svg { width: 24px; height: 24px; fill: none; stroke: var(--mint); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.checks strong { color: var(--ink); }
.shot-stack { position: relative; margin: 0; padding: 0 0 18% 0; }
.shot { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 26px 50px -26px rgba(21, 33, 31, .45); background: #fff; }
.shot-back { width: 82%; }
.shot-front { position: absolute; width: 66%; right: 0; bottom: 0; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .97rem; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; color: var(--ink-2); }
.compare thead th { font: 700 1rem/1.25 var(--display); color: var(--ink); background: #fbf9f5; }
.compare tbody th { text-align: left; font-weight: 600; color: var(--ink); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .us { background: var(--cobalt-wash); color: var(--ink); font-weight: 600; }
.compare thead .us { background: var(--cobalt); color: #fff; }
.compare svg { width: 22px; height: 22px; fill: none; stroke-width: 2.6; stroke-linecap: round; vertical-align: middle; }
.compare svg.yes { stroke: var(--mint); }
.compare svg.no { stroke: #c0b8a8; }
.compare-note { color: var(--ink-3); font-size: .92rem; margin-top: 14px; max-width: 70ch; }
.product-shot { margin: 2em 0; }
.product-shot img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 22px 44px -26px rgba(21, 33, 31, .4); }
.product-shot.is-phone img { max-width: 300px; margin: 0 auto; border: 6px solid var(--ink); border-radius: 26px; }
.product-shot figcaption { font-size: .9rem; color: var(--ink-3); margin-top: 10px; text-align: center; }
.prose .feature-grid, .prose .design-grid, .prose .compare-wrap { margin: 1.6em 0; }
.prose .feature-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.prose .feature h3 { margin-top: 0; }
.prose .checks { padding: 0; }
.has-wide .prose { max-width: none; }
@media (max-width: 420px) { .head-cta { padding: 0 .9em; min-height: 42px; font-size: .92rem; } .phone { width: 34%; } }
