/* serviarchivosplus.com — hoja de estilos original (noche azul, plata y oro) */

:root {
  --bg: #070c1a;
  --bg-2: #0b1530;
  --bg-3: #101d3d;
  --panel: rgba(255,255,255,.045);
  --panel-2: rgba(255,255,255,.08);
  --line: rgba(190,205,235,.16);
  --line-2: rgba(190,205,235,.30);
  --ink: #c7d1e6;
  --hi: #ffffff;
  --dim: #8d9bb8;
  --gold: #f5c53d;
  --gold-2: #ffdf7e;
  --blue: #2e68ff;
  --blue-2: #6f9bff;
  --sky: #a9c4ff;
  --wrap: 1140px;
  --font: "Be Vietnam Pro", -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.72;
  background:
    radial-gradient(900px 520px at 85% -6%, rgba(46,104,255,.28), rgba(46,104,255,0) 70%),
    radial-gradient(760px 520px at -8% 24%, rgba(111,155,255,.14), rgba(111,155,255,0) 70%),
    radial-gradient(700px 480px at 100% 72%, rgba(245,197,61,.07), rgba(245,197,61,0) 70%),
    linear-gradient(180deg, var(--bg) 0, #0a1226 50%, var(--bg) 100%);
  background-color: var(--bg);
  -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; }
.wrap.narrow { max-width: 980px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: #1a1300; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ============ HEADER ============ */
.site-header { position: sticky; top: 0; z-index: 60; background: #060b18; border-bottom: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.bar { position: relative; z-index: 62; display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { flex: none; display: inline-flex; align-items: baseline; gap: 10px; color: #fff; }
.mark { font-size: 1.7rem; font-weight: 700; font-style: italic; letter-spacing: -.045em; line-height: 1; color: #fff; }
.mark i { font-style: inherit; color: var(--gold); }
.menu { flex: 1; }
.menu ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu a { display: inline-block; padding: 9px 16px; color: var(--sky); font-weight: 500; font-size: .95rem; position: relative; transition: color .15s ease; }
.menu a:hover { color: #fff; }
.menu a[aria-current="true"] { color: #fff; }
.menu a[aria-current="true"]::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; background: var(--gold); }
.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: 10px; border: 1px solid var(--line-2); background: var(--panel); 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: #060b18; 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: 12px; background: var(--panel); border: 1px solid var(--line); color: #fff; font-weight: 500; font-size: 1.08rem; }
.drawer ul a[aria-current="true"] { border-color: var(--gold); color: var(--gold-2); }
.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: 10px; 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(--gold); outline-offset: 2px; }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #1a1300; box-shadow: 0 8px 24px rgba(245,197,61,.32); }
.btn-gold:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-blue { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; box-shadow: 0 8px 24px rgba(46,104,255,.42); }
.btn-blue:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid var(--line-2); }
.btn-ghost:hover { background: var(--panel-2); }
.btn-sm { padding: 10px 20px; font-size: .94rem; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ============ HERO ============ */
.hero { padding: 28px 0 12px; scroll-margin-top: 72px; }
.stage { margin: 0; border-radius: 26px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 0 6px rgba(255,255,255,.03), 0 0 80px rgba(46,104,255,.25); background: #0a1328; }
.stage img { width: 100%; height: auto; aspect-ratio: 1024 / 558; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.chip { padding: 8px 18px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line-2); color: #fff; font-weight: 600; font-size: .92rem; line-height: 1.2; }
.chip:first-child { background: linear-gradient(135deg, var(--gold), var(--gold-2)); border-color: transparent; color: #1a1300; }
.hero-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; margin-top: 34px; }
.hero-copy h1 { margin: 0; color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.1; font-weight: 700; letter-spacing: -.028em; }
.hero-copy h1::after { content: ""; display: block; width: 72px; height: 5px; margin-top: 20px; border-radius: 3px; background: linear-gradient(90deg, var(--gold), var(--blue)); }
.hero-text p { font-size: 1.06rem; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ============ SECTIONS ============ */
.sec { padding: 40px 0 10px; scroll-margin-top: 78px; }
.sec-head { display: flex; align-items: baseline; gap: 16px; padding-bottom: 16px; margin-bottom: 24px; border-bottom: 1px solid var(--line-2); }
.no { flex: none; color: var(--gold); font-size: 1.05rem; font-weight: 700; letter-spacing: .12em; }
.no::after { content: ""; display: inline-block; width: 34px; height: 1px; margin-left: 12px; vertical-align: middle; background: var(--gold); }
.sec-head h2 { margin: 0; color: #fff; font-size: clamp(1.55rem, 3vw, 2.2rem); line-height: 1.16; font-weight: 700; letter-spacing: -.02em; }
.sec-body > :last-child { margin-bottom: 0; }
.sec-body p { font-size: 1.04rem; line-height: 1.78; }
.sec-body h3 { margin: 32px 0 12px; padding-left: 14px; border-left: 3px solid var(--gold); color: var(--sky); font-size: 1.24rem; line-height: 1.3; font-weight: 600; }
.sec-body h3:first-child { margin-top: 0; }
.sec-body strong { color: #fff; font-weight: 600; }

.sec-body ul { list-style: none; margin: 16px 0 22px; padding: 0; display: grid; gap: 10px; }
.sec-body ul li { position: relative; padding: 13px 16px 13px 46px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); font-size: 1rem; line-height: 1.6; }
.sec-body ul li::before { content: ""; position: absolute; left: 18px; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(245,197,61,.18); }
.sec-body ul.cards { grid-template-columns: 1fr 1fr; }

.sec-body ol { list-style: none; counter-reset: s; margin: 18px 0 24px; padding: 0 0 0 4px; position: relative; }
.sec-body ol::before { content: ""; position: absolute; left: 21px; top: 18px; bottom: 18px; width: 2px; background: linear-gradient(180deg, var(--gold), var(--blue)); opacity: .55; }
.sec-body ol li { position: relative; counter-increment: s; margin: 0 0 12px; padding: 10px 16px 10px 56px; font-size: 1rem; line-height: 1.6; }
.sec-body ol li::before { content: counter(s); position: absolute; left: 0; top: 4px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-3); border: 2px solid var(--gold); color: var(--gold-2); font-weight: 700; font-size: .95rem; line-height: 1; }

.table-wrap { margin: 22px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(8,14,32,.7); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.table-wrap.wide table { min-width: 560px; }
.table-wrap th { text-align: left; padding: 14px 18px; background: rgba(46,104,255,.28); color: #fff; font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.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: rgba(255,255,255,.03); }
.table-wrap td:first-child { color: #fff; font-weight: 600; }

.cta { margin: 28px 0 6px; padding: 26px 20px; border-radius: 16px; display: flex; justify-content: center; background: linear-gradient(120deg, rgba(46,104,255,.22), rgba(245,197,61,.12)); border: 1px solid var(--line-2); }

.faq { display: grid; gap: 10px; }
.faq details { border-radius: 14px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.faq details[open] { border-color: var(--gold); background: var(--panel-2); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 18px 60px 18px 22px; color: #fff; font-weight: 600; font-size: 1.04rem; 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: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 1.35rem; font-weight: 500; line-height: 1; }
.faq details[open] summary::after { content: "−"; background: var(--gold); color: #1a1300; }
.faq .ans { padding: 0 22px 20px; }
.faq .ans p { margin: 0; }

/* ============ FOOTER ============ */
.site-footer { margin-top: 56px; padding: 46px 0 26px; background: #050912; border-top: 1px solid var(--line-2); color: #b7c3dd; }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
.f-brand p { margin: 14px 0 0; color: var(--dim); font-size: .96rem; max-width: 340px; }
.f-col h3 { margin: 0 0 12px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.f-col ul { list-style: none; margin: 0; padding: 0; }
.f-col a { display: inline-block; padding: 5px 0; font-size: .97rem; color: #dbe4f7; }
.f-col a:hover { color: #fff; text-decoration: underline; }
.f-bottom { padding-top: 20px; border-top: 1px solid var(--line); }
.f-bottom p { margin: 0; font-size: .88rem; color: var(--dim); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1060px) {
  .menu, .bar-cta { display: none; }
  .hamburger { display: flex; }
  .hero-copy { grid-template-columns: 1fr; gap: 24px; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .hero { padding-top: 18px; }
  .stage { border-radius: 18px; }
  .hero-actions .btn { width: 100%; }
  .chip { font-size: .82rem; padding: 7px 14px; }
  .sec-head { flex-direction: column; gap: 6px; }
  .sec-body ul.cards { grid-template-columns: 1fr; }
  .sec-body h3 { font-size: 1.1rem; }
  .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; } }
