/* PodoForma Studio · web */
:root {
  --navy: #0b1f3d; --navy-2: #12305a; --teal: #139a9c; --teal-2: #0e7c7e; --mint: #6fd3d2;
  --ink: #16212d; --muted: #5d6b78; --line: #e2e9ee; --soft: #f4f8fa; --white: #fff;
  --radius: 16px; --shadow: 0 10px 30px rgba(11, 31, 61, .10); --shadow-lg: 0 30px 80px rgba(11, 31, 61, .25);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-2); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--muted); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 12px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--teal), #1bb8b5); color: #fff; box-shadow: 0 8px 22px rgba(19, 154, 156, .35); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(19, 154, 156, .45); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.btn-outline { background: #fff; color: var(--navy-2); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--teal); }
.btn-block { width: 100%; justify-content: center; }

/* Cabecera */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11, 31, 61, .82); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.15rem; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand span { color: var(--mint); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: rgba(255, 255, 255, .82); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: #fff; }
.nav-links .btn { padding: 10px 18px; font-size: .92rem; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; }

/* Portada */
.hero { position: relative; overflow: hidden; color: #fff; padding: 90px 0 0; background: radial-gradient(1200px 600px at 85% -10%, rgba(19, 154, 156, .45), transparent 60%), radial-gradient(900px 500px at -10% 30%, rgba(70, 170, 220, .22), transparent 60%), linear-gradient(170deg, #081830, var(--navy) 45%, #0f3d5c); }
.hero .wrap { position: relative; z-index: 1; }
.hero-text { max-width: 760px; margin: 0 auto; text-align: center; }
.hero h1 span { background: linear-gradient(90deg, #7fe7e4, #bdf3f1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: rgba(255, 255, 255, .78); font-size: 1.2rem; margin: 18px auto 30px; max-width: 640px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: .9rem; color: rgba(255, 255, 255, .6); }
.hero-shot { margin: 60px auto -1px; max-width: 1100px; border-radius: 18px 18px 0 0; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .12); border-bottom: 0; }
.badge-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .9); }

/* Secciones */
section { padding: 100px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.alt { background: var(--soft); }
.dark { background: linear-gradient(170deg, var(--navy), #0f3d5c); color: #fff; }
.dark .lead, .dark p { color: rgba(255, 255, 255, .75); }

/* Cifras */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -40px; position: relative; z-index: 2; }
.stat { background: #fff; border-radius: var(--radius); padding: 22px; text-align: center; box-shadow: var(--shadow); }
.stat b { display: block; font-size: 1.9rem; color: var(--navy-2); font-weight: 800; }
.stat span { color: var(--muted); font-size: .92rem; }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--teal), #1bb8b5); color: #fff; font-weight: 800; margin-bottom: 16px; }
.step p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Bloques de función (imagen + texto) */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; margin-bottom: 110px; }
.feature:last-child { margin-bottom: 0; }
.feature.reverse { grid-template-columns: 1fr 1.15fr; }
.feature.reverse .feature-media { order: 2; }
.feature-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.feature-media.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; }
.checks li { position: relative; padding-left: 32px; margin: 10px 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 6px; background: #e3f5f5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230e7c7e'%3E%3Cpath d='M8.1 13.6 4.6 10l1.3-1.3 2.2 2.2 5.9-5.9 1.3 1.3z'/%3E%3C/svg%3E") center/16px no-repeat; }

/* Tarjetas */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.35rem; background: #e6f5f5; margin-bottom: 16px; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }
.dark .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.dark .card .icon { background: rgba(111, 211, 210, .14); }
.dark .card p { color: rgba(255, 255, 255, .7); }

/* Galería */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.gallery figcaption { padding: 12px 16px; font-size: .9rem; font-weight: 600; color: var(--navy-2); }

/* Precios */
.billing-toggle { display: inline-flex; background: #e9eff3; border-radius: 12px; padding: 4px; margin: 0 auto 40px; }
.billing-toggle button { border: 0; background: none; padding: 10px 20px; border-radius: 9px; font-weight: 700; cursor: pointer; color: var(--muted); font-family: inherit; font-size: .95rem; }
.billing-toggle button.on { background: #fff; color: var(--navy-2); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.save { font-size: .74rem; background: #dff5ec; color: #177e55; padding: 2px 7px; border-radius: 6px; margin-left: 6px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: #fff; border: 1.5px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border-color: var(--teal); box-shadow: 0 20px 50px rgba(19, 154, 156, .18); }
.plan .tag { position: absolute; top: -13px; left: 32px; background: linear-gradient(135deg, var(--teal), #1bb8b5); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; }
.plan h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan .who { color: var(--muted); font-size: .94rem; min-height: 46px; }
.price { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.price b { font-size: 2.8rem; font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.price span { color: var(--muted); font-weight: 600; }
.price-note { color: var(--muted); font-size: .86rem; min-height: 22px; }
.plan .checks { flex: 1; margin-bottom: 26px; }
.plan .checks li { font-size: .95rem; }
.tax-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 26px; }

/* Preguntas */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--teal); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* Llamada final */
.cta-band { text-align: center; }
.cta-band .hero-cta { margin-top: 26px; }

/* Pie */
footer { background: #071426; color: rgba(255, 255, 255, .65); padding: 60px 0 30px; font-size: .92rem; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
footer h4 { color: #fff; font-size: .95rem; margin: 0 0 14px; }
footer a { color: rgba(255, 255, 255, .65); text-decoration: none; display: block; margin: 7px 0; }
footer a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; }

/* Páginas interiores */
.page-hero { background: linear-gradient(170deg, var(--navy), #0f3d5c); color: #fff; padding: 70px 0 60px; }
.page-hero p { color: rgba(255, 255, 255, .75); }
.page { padding: 60px 0 90px; }
.prose { max-width: 820px; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose h3 { margin-top: 1.5em; }
.prose li { margin: 6px 0; }
.muted { color: var(--muted); }
.steps-list { padding-left: 22px; }
.steps-list li { margin: 12px 0; font-size: 1.05rem; }
.todo {background: #fff4e0; color: #8a5300; padding: 0 5px; border-radius: 4px; font-weight: 600; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.form label { display: block; font-weight: 600; font-size: .92rem; margin: 14px 0 6px; }
.form input { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; }
.form input:focus { outline: none; border-color: var(--teal); }
.msg { margin-top: 14px; color: var(--teal-2); font-weight: 600; }
.msg.err { color: #c62828; }
.lic { border: 1px solid var(--line); border-radius: 14px; padding: 22px; margin-bottom: 18px; }
.lic .key { font-family: Consolas, monospace; font-size: 1.2rem; font-weight: 700; color: var(--navy-2); background: var(--soft); padding: 8px 12px; border-radius: 8px; display: inline-block; }
.pill { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: #dff5ec; color: #177e55; }
.pill.off { background: #fde8e8; color: #b42318; }
.devices { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: .92rem; }
.devices td, .devices th { padding: 9px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.req { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

/* Aviso de cookies */
.cookie { position: fixed; left: 20px; right: 20px; bottom: 20px; max-width: 560px; background: #0b1f3d; color: #fff; padding: 18px 20px; border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 100; font-size: .9rem; display: none; }
.cookie a { color: var(--mint); }
.cookie .btn { padding: 8px 14px; font-size: .88rem; margin-top: 10px; }

/* Animación de entrada */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 30px; }
  .feature.reverse .feature-media { order: 0; }
  .steps, .stats { grid-template-columns: repeat(2, 1fr); }
  .grid3, .plans, .gallery { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 20px; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .hero h1 { overflow-wrap: anywhere; }
  section { padding: 70px 0; }
  .steps, .grid3, .plans, .gallery, .foot, .req { grid-template-columns: 1fr; }
  .stats { gap: 12px; }
  .hero { padding-top: 60px; }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Blog */
.post-hero { padding: 60px 0 50px; }
.post-hero h1 { max-width: 900px; font-size: clamp(2rem, 3.6vw, 3rem); }
.post-hero .lead { max-width: 760px; }
.crumbs { font-size: .9rem; margin-bottom: 14px; color: rgba(255,255,255,.6); }
.crumbs a { color: var(--mint); text-decoration: none; }
.post-meta { font-size: .88rem; color: var(--muted); }
.page-hero .post-meta { color: rgba(255,255,255,.6); }
.post-section { padding-top: 50px; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 50px; align-items: start; }
.post { max-width: 760px; font-size: 1.06rem; }
.post p, .post li { line-height: 1.75; }
.post h2 { scroll-margin-top: 90px; }
.post figure { margin: 30px 0; }
.post figure img { border-radius: 14px; box-shadow: var(--shadow); width: 100%; }
.post figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; text-align: center; }
.post-cover { margin-top: 0 !important; }
.toc { background: var(--soft); border-radius: 14px; padding: 18px 22px; margin: 26px 0; }
.toc ol { margin: 8px 0 0; padding-left: 20px; }
.toc li { margin: 4px 0; line-height: 1.5; }
.toc a { color: var(--navy-2); text-decoration: none; }
.toc a:hover { color: var(--teal); }
.post-cta { background: linear-gradient(160deg, var(--navy), #0f3d5c); color: #fff; border-radius: 18px; padding: 30px; margin: 46px 0 10px; }
.post-cta h3 { margin-top: 0; color: #fff; }
.post-cta p { color: rgba(255,255,255,.8); }
.post-cta .btn-outline { color: #fff; border-color: rgba(255,255,255,.4); }
.post-side { position: sticky; top: 90px; display: grid; gap: 18px; }
.side-box { border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.side-box p { font-size: .92rem; color: var(--muted); }
.side-box a:not(.btn) { display: block; font-size: .92rem; margin-top: 10px; color: var(--navy-2); text-decoration: none; line-height: 1.4; }
.side-box a:not(.btn):hover { color: var(--teal); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.post-card > div { padding: 20px; }
.post-card h3 { font-size: 1.12rem; margin: 0 0 8px; color: var(--ink); }
.post-card p { font-size: .93rem; color: var(--muted); margin: 0 0 12px; }
@media (max-width: 980px) { .post-layout { grid-template-columns: 1fr; } .post-side { position: static; } .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .post-grid { grid-template-columns: 1fr; } }
