/* 1win-web-oficial.com — hoja de estilos original (tema cielo) */

:root {
  --sky: #cfe8fb;
  --sky-2: #e3f3ff;
  --card: #ffffff;
  --tint: #f2f9ff;
  --line: #cfe3f5;
  --ink: #22344f;
  --ink-soft: #4d6180;
  --navy: #0f1d40;
  --navy-2: #182a5c;
  --green: #22c06c;
  --green-2: #5be39a;
  --orange: #ff8a1f;
  --orange-2: #ffb852;
  --purple: #6d4cf2;
  --purple-2: #9b80ff;
  --wrap: 1220px;
  --font: "Nunito", -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(900px 480px at 8% -4%, #ffffff 0, rgba(255,255,255,0) 62%),
    radial-gradient(760px 420px at 96% 8%, rgba(155,128,255,.20), rgba(155,128,255,0) 62%),
    linear-gradient(180deg, #cde7fb 0, #e1f2ff 42%, #edf8ff 100%);
  background-attachment: scroll;
  -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); color: #04301a; padding: 10px 16px; border-radius: 10px; font-weight: 800; }
.skip-link:focus { top: 12px; }

/* ============ HEADER ============ */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--navy); box-shadow: 0 6px 24px rgba(15,29,64,.28); }
.bar { position: relative; z-index: 62; display: flex; align-items: center; gap: 22px; min-height: 72px; }
.brand { flex: none; display: flex; align-items: center; }
.brand img { height: 34px; width: auto; }
.menu { flex: 1; }
.menu ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.menu a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 17px; border-radius: 999px; font-weight: 700; font-size: .97rem; color: #d7e4ff; transition: background .15s ease, color .15s ease; }
.menu a:hover { background: rgba(255,255,255,.12); color: #fff; }
.menu a.is-app { background: linear-gradient(135deg, var(--purple), var(--purple-2)); color: #fff; box-shadow: 0 6px 18px rgba(109,76,242,.45); }
.menu a.is-app:hover { filter: brightness(1.08); }
.menu svg { width: 17px; height: 17px; }
.bar-cta { display: flex; gap: 10px; 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,.25); 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(--navy); 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: 10px; }
.drawer ul a { display: flex; align-items: center; gap: 12px; padding: 17px 20px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; font-weight: 800; font-size: 1.08rem; }
.drawer ul a.is-app { background: linear-gradient(135deg, var(--purple), var(--purple-2)); border-color: transparent; }
.drawer ul svg { width: 20px; height: 20px; }
.drawer .d-cta { display: grid; gap: 10px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  padding: 13px 26px; border-radius: 999px; font-family: inherit; font-weight: 800; font-size: .98rem; line-height: 1.2;
  transition: transform .15s ease, filter .15s ease, background .15s ease; white-space: nowrap; text-align: center;
}
.btn:focus-visible, a:focus-visible, summary:focus-visible, .hamburger:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.btn-green { background: linear-gradient(135deg, var(--green), var(--green-2)); color: #04301a; box-shadow: 0 8px 22px rgba(34,192,108,.34); }
.btn-green:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-orange { background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #3a1a00; box-shadow: 0 8px 22px rgba(255,138,31,.36); }
.btn-orange:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-purple { background: linear-gradient(135deg, var(--purple), var(--purple-2)); color: #fff; box-shadow: 0 8px 22px rgba(109,76,242,.34); }
.btn-purple:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { background: #fff; color: var(--navy-2); border: 2px solid var(--purple-2); }
.btn-outline:hover { background: #f1ecff; }
.btn-sm { padding: 10px 20px; font-size: .94rem; }
.btn-lg { padding: 16px 34px; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ============ HERO ============ */
.crumb { padding-top: 18px; }
.back-home { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; background: #fff; border: 2px solid var(--purple-2); color: var(--navy-2); font-weight: 800; font-size: .93rem; }
.back-home:hover { background: #f1ecff; }
.hero { padding: 26px 0 8px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 26px; align-items: stretch; }
.hero-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 32px; padding: 42px 42px 36px; box-shadow: 0 22px 54px rgba(24,60,120,.14); }
.hero-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 8px; background: linear-gradient(90deg, var(--green), var(--orange), var(--purple)); }
.hero-card h1 { margin: 6px 0 20px; color: var(--navy); font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.12; font-weight: 900; letter-spacing: -.02em; }
.hero-card p { font-size: 1.04rem; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-visual { position: relative; min-height: 440px; border-radius: 32px; border: 6px solid #fff; background: var(--navy-2); box-shadow: 0 22px 54px rgba(24,60,120,.2), 14px 14px 0 rgba(155,128,255,.55); }
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 26px; }
.sticker { position: absolute; z-index: 2; padding: 10px 18px; border-radius: 999px; font-weight: 900; font-size: .96rem; line-height: 1.2; box-shadow: 0 10px 24px rgba(15,29,64,.3); }
.st1 { left: -18px; top: 28px; background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #3a1a00; transform: rotate(-3deg); }
.st2 { right: -14px; top: 46%; background: linear-gradient(135deg, var(--green), var(--green-2)); color: #04301a; transform: rotate(2deg); }
.st3 { left: 22px; bottom: -16px; background: linear-gradient(135deg, var(--purple), var(--purple-2)); color: #fff; transform: rotate(-2deg); }

.pay-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 0; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy-2); font-weight: 800; font-size: .93rem; box-shadow: 0 4px 12px rgba(24,60,120,.07); }
.pill::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.pill:nth-child(3n+2)::before { background: var(--orange); }
.pill:nth-child(3n)::before { background: var(--purple); }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 26px 0 8px; -webkit-overflow-scrolling: touch; }
.chip { flex: none; padding: 9px 17px; border-radius: 999px; background: rgba(255,255,255,.75); border: 1px solid var(--line); color: var(--navy-2); font-weight: 800; font-size: .9rem; }
.chip:hover { background: var(--purple); border-color: var(--purple); color: #fff; }

/* ============ ARTICLE ============ */
.article { max-width: 1000px; margin: 22px auto 0; padding: 0 20px; }
.qa { position: relative; overflow: hidden; margin: 0 0 24px; padding: 38px 40px 30px; border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 42px rgba(24,60,120,.1); scroll-margin-top: 90px; }
.qa::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 7px; background: linear-gradient(90deg, var(--green), var(--green-2)); }
.qa.c2::before { background: linear-gradient(90deg, var(--orange), var(--orange-2)); }
.qa.c3::before { background: linear-gradient(90deg, var(--purple), var(--purple-2)); }
.qa-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.badge { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--green), var(--green-2)); color: #04301a; font-weight: 900; font-size: 1.05rem; }
.c2 .badge { background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #3a1a00; }
.c3 .badge { background: linear-gradient(135deg, var(--purple), var(--purple-2)); color: #fff; }
.qa h2 { margin: 0; color: var(--navy); font-size: clamp(1.4rem, 2.6vw, 1.95rem); line-height: 1.2; font-weight: 900; letter-spacing: -.01em; }
.qa h3 { display: flex; align-items: center; gap: 12px; margin: 34px 0 14px; color: var(--purple); font-size: 1.22rem; line-height: 1.3; font-weight: 900; }
.qa h3::before { content: ""; flex: none; width: 11px; height: 11px; border-radius: 3px; background: linear-gradient(135deg, var(--orange), var(--purple)); transform: rotate(45deg); }
.qa p { font-size: 1.04rem; line-height: 1.78; }

.qa ul, .qa ol { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 10px; }
.qa ul.cols { grid-template-columns: 1fr 1fr; }
.qa li { position: relative; padding: 13px 18px 13px 54px; border-radius: 16px; font-size: 1rem; }
.qa ul li { background: var(--tint); border: 1px solid var(--line); }
.qa ul li::before { content: "✓"; position: absolute; left: 14px; top: 11px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--green), var(--green-2)); color: #04301a; font-weight: 900; font-size: .9rem; line-height: 1; }
.qa ol { counter-reset: s; }
.qa ol li { counter-increment: s; background: #fff6ea; border: 1px solid #ffe1bd; }
.qa ol li::before { content: counter(s); position: absolute; left: 14px; top: 11px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #3a1a00; font-weight: 900; font-size: .9rem; line-height: 1; }

.table-wrap { margin: 24px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 20px; border: 1px solid var(--line); background: #fff; box-shadow: 0 8px 24px rgba(24,60,120,.07); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.table-wrap.wide table { min-width: 580px; }
.table-wrap th { text-align: left; padding: 14px 18px; background: linear-gradient(90deg, var(--purple), #4a74ee); color: #fff; font-weight: 800; font-size: .88rem; letter-spacing: .02em; }
.table-wrap td { padding: 13px 18px; border-top: 1px solid #e3effa; vertical-align: top; color: var(--ink); }
.table-wrap tbody tr:first-child td { border-top: 0; }
.table-wrap tbody tr:nth-child(even) td { background: var(--tint); }
.table-wrap td:first-child { color: var(--navy); font-weight: 800; }
.table-wrap td.url { word-break: break-all; font-size: .9rem; color: var(--ink-soft); font-weight: 600; }

.figure { margin: 26px 0; border-radius: 26px; overflow: hidden; border: 5px solid #fff; box-shadow: 0 16px 40px rgba(24,60,120,.18), 10px 10px 0 rgba(155,128,255,.4); }
.figure img { width: 100%; height: auto; }

.cta { margin: 30px 0 8px; padding: 28px 20px; border-radius: 26px; display: flex; justify-content: center; background: linear-gradient(120deg, #e8e1ff, #dcf7e8 55%, #ffeed8); border: 1px solid var(--line); }
.link-row { margin: 8px 0 0; }

.faq { display: grid; gap: 12px; margin-top: 6px; }
.faq details { border-radius: 20px; background: var(--tint); border: 1px solid var(--line); overflow: hidden; }
.faq details[open] { background: #fff6ea; border-color: #ffd29b; }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 19px 62px 19px 24px; color: var(--navy); font-weight: 900; font-size: 1.06rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #3a1a00; font-size: 1.3rem; font-weight: 900; line-height: 1; }
.faq details[open] summary::after { content: "−"; background: linear-gradient(135deg, var(--purple), var(--purple-2)); color: #fff; }
.faq .ans { padding: 0 24px 22px; }
.faq .ans p { margin: 0; }

/* ============ FOOTER ============ */
.site-footer { margin-top: 56px; padding: 48px 0 26px; background: var(--navy); color: #c8d6f5; }
.f-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; margin-bottom: 30px; }
.f-brand img { height: 34px; width: auto; margin-bottom: 14px; }
.f-brand p { color: #9fb2de; font-size: .95rem; max-width: 340px; }
.f-col h3 { margin: 0 0 12px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-2); }
.f-col ul { list-style: none; margin: 0; padding: 0; }
.f-col a { display: inline-block; padding: 5px 0; font-size: .97rem; color: #dbe6ff; }
.f-col a:hover { color: #fff; text-decoration: underline; }
.f-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.f-bottom p { margin: 0; font-size: .87rem; color: #9fb2de; }
.badge-18 { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--orange); color: var(--orange-2); display: grid; place-items: center; font-weight: 900; font-size: .85rem; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1060px) {
  .menu, .bar-cta { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; margin: 6px 14px 16px 0; }
  .st1 { left: -6px; } .st2 { right: -6px; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .hero-card { padding: 32px 22px 26px; border-radius: 26px; }
  .hero-visual { min-height: 280px; border-radius: 26px; }
  .hero-visual img { border-radius: 20px; }
  .hero-actions .btn { width: 100%; }
  .qa { padding: 30px 20px 24px; border-radius: 24px; }
  .qa-head { gap: 12px; }
  .badge { width: 40px; height: 40px; }
  .qa ul.cols { grid-template-columns: 1fr; }
  .qa h3 { font-size: 1.12rem; }
  .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; } }
