/* planificarto.com — hoja de estilos original (naranja, azul, verde y violeta) */

:root {
  --o1: #ff7a14;
  --o2: #ff972b;
  --o3: #ffb04a;
  --pu: #5b21b6;
  --pu-d: #2b0f5e;
  --pu-m: #7c3aed;
  --pu-l: #efe8ff;
  --lilac: #f7f3ff;
  --paper: #fffdf9;
  --ink: #34284f;
  --blue: #2563eb;
  --blue-2: #4f8cff;
  --green: #12a150;
  --green-2: #3ad27f;
  --line: #e4daf7;
  --wrap: 1180px;
  --font: "Lexend", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.7;
  background:
    radial-gradient(620px 620px at 96% 4%, rgba(124,58,237,.34), rgba(124,58,237,0) 68%),
    radial-gradient(560px 560px at -4% 46%, rgba(91,33,182,.22), rgba(91,33,182,0) 70%),
    radial-gradient(520px 520px at 100% 78%, rgba(37,99,235,.20), rgba(37,99,235,0) 70%),
    linear-gradient(180deg, var(--o1) 0, var(--o2) 45%, var(--o3) 100%);
  background-color: var(--o2);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 16px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--green-2); color: #04301a; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ============ HEADER ============ */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--pu-d); box-shadow: 0 8px 26px rgba(43,15,94,.45); }
.bar { position: relative; z-index: 62; display: flex; align-items: center; gap: 22px; min-height: 72px; }
.brand { flex: none; display: inline-flex; align-items: baseline; gap: 8px; color: #fff; }
.mark { font-size: 1.7rem; font-weight: 800; font-style: italic; letter-spacing: -.04em; line-height: 1; }
.mark i { font-style: inherit; color: var(--blue-2); }
.brand small { font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #cdbcf5; }
.menu { flex: 1; }
.menu ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a { display: inline-block; padding: 9px 16px; border-radius: 999px; color: #e6dcff; font-weight: 500; font-size: .95rem; transition: background .15s ease, color .15s ease; }
.menu a:hover { background: rgba(255,255,255,.12); color: #fff; }
.menu a[aria-current="true"] { background: var(--pu-m); color: #fff; }
.bar-cta { margin-left: auto; }

.hamburger { display: none; margin-left: auto; width: 46px; height: 46px; flex-direction: column; justify-content: center; gap: 5px; border-radius: 14px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); cursor: pointer; padding: 0; }
.hamburger span { display: block; width: 18px; height: 2px; margin: 0 auto; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer { display: none; position: fixed; inset: 0; z-index: 61; background: var(--pu-d); overflow-y: auto; padding: 100px 20px 40px; }
.drawer.is-open { display: block; }
.drawer ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.drawer ul a { display: block; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.07); color: #fff; font-weight: 500; font-size: 1.08rem; }
.drawer ul a[aria-current="true"] { background: var(--pu-m); }
.drawer .d-cta { display: grid; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  padding: 13px 26px; border-radius: 14px; font-family: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  transition: transform .15s ease, filter .15s ease, background .15s ease; text-align: center;
}
.btn:focus-visible, a:focus-visible, summary:focus-visible, .hamburger:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 2px; }
.site-header a:focus-visible, .drawer a:focus-visible, .hamburger:focus-visible, .site-footer a:focus-visible { outline-color: #ffd9a0; }
.btn-green { background: linear-gradient(135deg, var(--green), var(--green-2)); color: #03281a; box-shadow: 0 8px 22px rgba(18,161,80,.38); }
.btn-green:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn-blue { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; box-shadow: 0 8px 22px rgba(37,99,235,.4); }
.btn-blue:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-ghost { background: rgba(43,15,94,.08); color: var(--pu-d); border: 2px solid var(--pu-d); }
.btn-ghost:hover { background: var(--pu-d); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: .94rem; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ============ HERO ============ */
.hero { padding: 54px 0 28px; scroll-margin-top: 72px; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 54px; align-items: center; }
.hero-text h1 { margin: 0 0 22px; color: var(--pu-d); font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; }
.hero-text h1::after { content: ""; display: block; width: 84px; height: 7px; margin-top: 22px; border-radius: 4px; background: linear-gradient(90deg, var(--pu), var(--blue-2) 55%, var(--green-2)); }
.hero-text p { color: #2b0f5e; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-art { position: relative; max-width: 520px; width: 100%; margin: 0 auto; }
.hero-art::before { content: ""; position: absolute; inset: -16px -16px 16px 16px; border-radius: 44px; background: linear-gradient(145deg, var(--pu-m), var(--pu)); transform: rotate(3deg); }
.hero-art img { position: relative; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 38px; border: 8px solid #fff; box-shadow: 0 28px 60px rgba(43,15,94,.5); background: #bfe2ff; }
.chip { position: absolute; z-index: 2; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .92rem; line-height: 1.2; box-shadow: 0 12px 26px rgba(43,15,94,.35); white-space: nowrap; }
.chip.c1 { left: -26px; top: 12%; background: #fff; color: var(--pu-d); }
.chip.c2 { right: -22px; top: 40%; background: linear-gradient(135deg, var(--green), var(--green-2)); color: #03281a; }
.chip.c3 { left: -14px; bottom: 9%; background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; }

/* ============ SECTIONS (ledger) ============ */
.sec { padding: 22px 0; scroll-margin-top: 78px; }
.sec-grid { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 36px; align-items: start; }
.sec-aside { position: sticky; top: 100px; }
.no { display: block; margin-bottom: 6px; color: transparent; -webkit-text-stroke: 2px var(--pu); font-size: 4.4rem; line-height: 1; font-weight: 800; letter-spacing: -.04em; }
.sec-aside h2 { margin: 0; color: var(--pu-d); font-size: clamp(1.5rem, 2.3vw, 1.95rem); line-height: 1.16; font-weight: 800; letter-spacing: -.02em; }
.sec-aside::after { content: ""; display: block; width: 56px; height: 6px; margin-top: 16px; border-radius: 4px; background: var(--pu); }
.sec.s2 .sec-aside::after { background: var(--blue); }
.sec.s3 .sec-aside::after { background: var(--green); }
.sec-body { min-width: 0; padding: 34px 38px 28px; border-radius: 30px; background: var(--paper); box-shadow: 0 18px 44px rgba(43,15,94,.25); border: 1px solid rgba(255,255,255,.7); }
.sec-body > :last-child { margin-bottom: 0; }
.sec-body p { font-size: 1.04rem; line-height: 1.76; }
.sec-body h3 { margin: 32px 0 12px; padding-bottom: 10px; border-bottom: 2px solid var(--line); color: var(--pu); font-size: 1.28rem; line-height: 1.3; font-weight: 700; }
.sec-body h3:first-child { margin-top: 0; }

.sec-body ul, .sec-body ol { list-style: none; margin: 16px 0 22px; padding: 0; display: grid; gap: 9px; }
.sec-body li { position: relative; padding: 12px 16px 12px 54px; border-radius: 16px; background: var(--lilac); border: 1px solid var(--line); font-size: 1rem; line-height: 1.6; }
.sec-body ul li::before { content: ""; position: absolute; left: 18px; top: 18px; width: 18px; height: 18px; border-radius: 50%; background: var(--green-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 9.4l3 3 6-6.4' fill='none' stroke='%2303281a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.sec-body ol { counter-reset: s; }
.sec-body ol li { counter-increment: s; }
.sec-body ol li::before { content: counter(s); position: absolute; left: 13px; top: 10px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--pu), var(--pu-m)); color: #fff; font-weight: 700; font-size: .92rem; line-height: 1; }
.sec-body li strong { color: var(--pu-d); font-weight: 700; }

.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 4px 0 8px; }
.pc { padding: 20px 20px 8px; border-radius: 22px; border: 2px solid var(--green-2); background: #f1fcf6; }
.pc.warn { border-color: var(--pu-m); background: var(--lilac); }
.pc .lbl { margin: 0 0 4px; color: var(--pu-d); font-size: 1.1rem; font-weight: 700; }
.pc ul { margin: 10px 0 12px; }
.pc li { background: #fff; }
.pc.warn ul li::before { background: var(--pu-m) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 4.5v5.5M9 12.6v.9' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat; }

.table-wrap { margin: 22px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 20px; border: 2px solid var(--pu); background: #fff; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.table-wrap.wide table { min-width: 600px; }
.table-wrap th { text-align: left; padding: 14px 18px; background: var(--pu); color: #fff; font-weight: 600; font-size: .9rem; letter-spacing: .02em; }
.table-wrap td { padding: 12px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.table-wrap tbody tr:first-child td { border-top: 0; }
.table-wrap tbody tr:nth-child(even) td { background: var(--lilac); }
.table-wrap td:first-child { color: var(--pu-d); font-weight: 600; }

.cta { margin: 28px 0 8px; padding: 26px 20px; border-radius: 22px; display: flex; justify-content: center; background: linear-gradient(120deg, #eee6ff, #e1ecff 55%, #dcf8e8); border: 2px dashed var(--pu-m); }

.faq { display: grid; gap: 12px; }
.faq details { border-radius: 20px; background: var(--lilac); border: 2px solid var(--line); overflow: hidden; }
.faq details[open] { background: #fff; border-color: var(--pu-m); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 18px 62px 18px 22px; color: var(--pu-d); font-weight: 600; font-size: 1.05rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; font-size: 1.4rem; font-weight: 600; line-height: 1; }
.faq details[open] summary::after { content: "−"; background: linear-gradient(135deg, var(--green), var(--green-2)); color: #03281a; }
.faq .ans { padding: 0 22px 20px; }
.faq .ans p { margin: 0; }

/* ============ FOOTER ============ */
.site-footer { margin-top: 48px; padding: 46px 0 26px; background: var(--pu-d); color: #d8cdf3; }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
.f-brand p { margin: 14px 0 0; color: #bfb0e6; font-size: .96rem; max-width: 340px; }
.f-col h3 { margin: 0 0 12px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #ffb04a; }
.f-col ul { list-style: none; margin: 0; padding: 0; }
.f-col a { display: inline-block; padding: 5px 0; font-size: .97rem; color: #efe8ff; }
.f-col a:hover { color: #fff; text-decoration: underline; }
.f-cta { margin-top: 10px; }
.f-bottom { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); }
.f-bottom p { margin: 0; font-size: .88rem; color: #bfb0e6; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1060px) {
  .menu, .bar-cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding-top: 38px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-art { max-width: 460px; }
  .sec-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .sec-aside { position: static; display: flex; align-items: center; gap: 16px; }
  .sec-aside::after { display: none; }
  .no { margin: 0; font-size: 3.2rem; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .hero-actions .btn { width: 100%; }
  .hero-art::before { inset: -8px -8px 10px 10px; }
  .chip.c1 { left: -8px; }
  .chip.c2 { right: -8px; }
  .chip.c3 { left: -4px; }
  .chip { font-size: .8rem; padding: 8px 14px; }
  .sec-body { padding: 26px 18px 22px; border-radius: 24px; }
  .pc-grid { grid-template-columns: 1fr; }
  .sec-body h3 { font-size: 1.14rem; }
  .btn { white-space: normal; }
  .cta .btn { width: 100%; }
  .f-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
