/* franciscosandovalbarbero.com: hoja de estilos propia (fondo azul, botones violetas) */
:root {
  --sea-1: #0e30a8;
  --sea-2: #0a2278;
  --sea-3: #071a62;
  --glass: rgba(5, 16, 78, .62);
  --glass-hi: rgba(10, 30, 120, .72);
  --hair: rgba(165, 192, 255, .24);
  --hair-hi: rgba(165, 192, 255, .42);
  --txt: #e4ebff;
  --txt-dim: #a9b9ee;
  --white: #ffffff;
  --cyan: #7fe9ff;
  --violet: #8a45ff;
  --violet-lt: #b57bff;
  --violet-dk: #5b24c9;
  --display: "Syne", "Trebuchet MS", Arial, sans-serif;
  --text: "Karla", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.fs-still, html.fs-still body { overflow: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--txt);
  font: 400 17.5px/1.7 var(--text);
  background:
    radial-gradient(900px 600px at 92% -6%, rgba(138,69,255,.38), transparent 70%),
    radial-gradient(800px 560px at -6% 38%, rgba(127,233,255,.14), transparent 70%),
    linear-gradient(175deg, var(--sea-1) 0%, var(--sea-2) 48%, var(--sea-3) 100%);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 16px; }

.fs-jump { position: absolute; left: 12px; top: -64px; z-index: 200; padding: 10px 16px; border-radius: 12px; background: var(--violet-lt); color: #1a0750; font-weight: 800; }
.fs-jump:focus { top: 12px; }
.fs-logo { color: var(--white); font-family: var(--display); font-size: 1.9rem; font-weight: 800; font-style: italic; letter-spacing: -.04em; line-height: 1; }

/* ---------- cabecera ---------- */
.fs-head { position: sticky; top: 0; z-index: 60; padding: 12px 16px 0; }
.fs-head__bar { position: relative; z-index: 3; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 9px 12px 9px 24px; border-radius: 22px; border: 1px solid var(--hair-hi); background: rgba(6, 20, 96, .94); box-shadow: 0 18px 44px rgba(2, 8, 50, .55); }
.fs-seg { position: relative; justify-self: center; padding: 5px; border-radius: 16px; background: rgba(2, 10, 60, .75); border: 1px solid var(--hair); }
.fs-seg ul { position: relative; z-index: 1; display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.fs-seg a { display: block; padding: 8px 15px; border-radius: 12px; color: #cfdaff; font-size: .95rem; font-weight: 600; transition: color .15s; }
.fs-seg a:hover { color: var(--white); }
.fs-seg a[aria-current="true"] { color: var(--white); font-weight: 700; }
.fs-seg__mark { position: absolute; z-index: 0; left: 0; top: 5px; bottom: 5px; width: 0; border-radius: 12px; background: linear-gradient(135deg, var(--violet), var(--violet-lt)); box-shadow: 0 6px 18px rgba(138, 69, 255, .5); opacity: 0; transition: transform .28s cubic-bezier(.4, 0, .2, 1), width .28s cubic-bezier(.4, 0, .2, 1), opacity .2s; }
.fs-burger { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--hair-hi); border-radius: 14px; background: rgba(2, 10, 60, .7); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; justify-self: end; }
.fs-burger i { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.fs-burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fs-burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.fs-burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.fs-drawer { display: none; position: fixed; inset: 0; z-index: 2; padding: 100px 20px 36px; overflow-y: auto; background: linear-gradient(175deg, var(--sea-2), var(--sea-3)); }
.fs-drawer.is-lit { display: block; }
.fs-drawer ul { display: grid; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.fs-drawer ul a { display: block; padding: 16px 20px; border-radius: 16px; border: 1px solid var(--hair); background: var(--glass); color: #fff; font-size: 1.08rem; font-weight: 600; }
.fs-drawer ul a[aria-current="true"] { border-color: transparent; background: linear-gradient(135deg, var(--violet), var(--violet-lt)); font-weight: 800; }

/* ---------- botones ---------- */
.fs-btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 26px; border: 0; border-radius: 14px; font: 800 1rem/1.2 var(--text); text-align: center; cursor: pointer; transition: transform .15s, filter .15s, box-shadow .15s; }
.fs-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.fs-btn:focus-visible, a:focus-visible, summary:focus-visible, .fs-burger:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.fs-btn--violet { background: linear-gradient(135deg, var(--violet-dk), var(--violet) 55%, var(--violet-lt)); color: #fff; box-shadow: 0 10px 28px rgba(110, 50, 230, .55), inset 0 1px 0 rgba(255,255,255,.28); }
.fs-btn--ghost { background: rgba(255,255,255,.06); color: var(--white); border: 2px solid var(--hair-hi); }
.fs-btn--ghost:hover { background: rgba(255,255,255,.14); }
.fs-btn--sm { padding: 11px 22px; font-size: .94rem; }
.fs-btn--xl { padding: 16px 34px; font-size: 1.05rem; }
.fs-btn--block { display: flex; width: 100%; }

/* ---------- mosaico ---------- */
.fs-board { max-width: 1240px; margin: 0 auto; padding: 26px 20px 20px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; align-items: start; }
.fs-hero { grid-column: 1 / span 5; grid-row: 1 / span 2; align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 38px 38px 40px; border-radius: 30px; border: 1px solid var(--hair-hi); background: var(--glass-hi); scroll-margin-top: 110px; }
.fs-hero h1 { margin: 0 0 20px; color: var(--white); font-family: var(--display); font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.1; font-weight: 800; letter-spacing: -.025em; }
.fs-hero__lead { color: var(--txt); font-size: 1.04rem; line-height: 1.75; }
.fs-hero__row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.fs-cover { grid-column: 6 / span 7; grid-row: 1; margin: 0; padding: 7px; border-radius: 32px; background: linear-gradient(140deg, var(--violet-lt), var(--violet) 45%, var(--cyan)); box-shadow: 0 30px 70px rgba(2, 8, 50, .6), 0 0 80px rgba(138, 69, 255, .35); }
.fs-cover img { width: 100%; height: auto; aspect-ratio: 1380 / 752; border-radius: 26px; background: #0b1c58; }
.fs-facts { grid-column: 6 / span 7; grid-row: 2; align-self: stretch; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.fs-facts li { padding: 20px 24px; border-radius: 22px; border: 1px solid var(--hair); background: var(--glass); }
.fs-facts strong { display: block; color: var(--cyan); font-family: var(--display); font-size: 1.65rem; font-weight: 800; line-height: 1.15; }
.fs-facts span { display: block; margin-top: 3px; color: var(--txt-dim); font-size: .96rem; }

.fs-tile { position: relative; grid-column: span 12; min-width: 0; padding: 38px 38px 32px; border-radius: 30px; border: 1px solid var(--hair); background: var(--glass); overflow: hidden; scroll-margin-top: 112px; }
.fs-tile::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--violet), var(--violet-lt) 50%, var(--cyan)); }
.fs-tile--plain::before { display: none; }
.fs-tile--s7 { grid-column: span 7; }
.fs-tile--s5 { grid-column: span 5; }
.fs-tile--s6 { grid-column: span 6; }
.fs-tile__top { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.fs-tile__n { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; background: linear-gradient(135deg, var(--violet), var(--violet-lt)); color: #fff; font-family: var(--display); font-size: 1.05rem; font-weight: 800; box-shadow: 0 8px 20px rgba(110, 50, 230, .5); }
.fs-tile h2 { margin: 0; color: var(--white); font-family: var(--display); font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.fs-tile h3 { margin: 30px 0 12px; color: var(--cyan); font-family: var(--display); font-size: 1.2rem; line-height: 1.3; font-weight: 700; }
.fs-tile__body > :last-child { margin-bottom: 0; }
.fs-tile p { line-height: 1.78; }
.fs-tile strong { color: var(--white); }

.fs-bullets { display: grid; gap: 10px; margin: 16px 0 22px; padding: 0; list-style: none; }
.fs-bullets li { position: relative; padding: 13px 16px 13px 46px; border-radius: 16px; border: 1px solid var(--hair); background: rgba(255,255,255,.05); line-height: 1.6; }
.fs-bullets li::before { content: ""; position: absolute; left: 17px; top: 20px; width: 12px; height: 12px; border-radius: 3px; background: linear-gradient(135deg, var(--cyan), var(--violet-lt)); transform: rotate(45deg); }
.fs-bullets--duo { grid-template-columns: 1fr 1fr; }
.fs-tile--s5 .fs-bullets--duo, .fs-tile--s6 .fs-bullets--duo { grid-template-columns: 1fr; }
.fs-steps { display: grid; gap: 10px; margin: 16px 0 22px; padding: 0; list-style: none; counter-reset: fs; }
.fs-steps li { position: relative; counter-increment: fs; min-height: 56px; padding: 14px 16px 14px 64px; border-radius: 16px; border: 1px solid var(--hair); background: rgba(255,255,255,.05); line-height: 1.6; }
.fs-steps li::before { content: counter(fs); position: absolute; left: 14px; top: 11px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, var(--violet), var(--violet-lt)); color: #fff; font-family: var(--display); font-weight: 800; }

.fs-table { margin: 22px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 18px; border: 1px solid var(--hair-hi); background: rgba(2, 10, 60, .55); }
.fs-table table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.fs-table--wide table { min-width: 540px; }
.fs-table th { padding: 14px 18px; text-align: left; background: rgba(91, 36, 201, .85); color: #fff; font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.fs-table td { padding: 12px 18px; border-top: 1px solid var(--hair); vertical-align: top; }
.fs-table tbody tr:first-child td { border-top: 0; }
.fs-table tbody tr:nth-child(even) td { background: rgba(255,255,255,.045); }
.fs-table td:first-child { color: var(--white); font-weight: 700; }

.fs-cta { display: flex; justify-content: center; margin: 28px 0 6px; padding: 28px 20px; border-radius: 24px; border: 1px solid var(--hair-hi); background: linear-gradient(120deg, rgba(138, 69, 255, .32), rgba(127, 233, 255, .12)); }

.fs-faq { display: grid; gap: 10px; margin: 6px 0 12px; }
.fs-ask { border-radius: 18px; border: 1px solid var(--hair); background: rgba(255,255,255,.05); overflow: hidden; }
.fs-ask[open] { border-color: var(--violet-lt); background: rgba(138, 69, 255, .16); }
.fs-ask summary { position: relative; padding: 18px 64px 18px 22px; color: var(--white); font-size: 1.04rem; font-weight: 700; line-height: 1.4; list-style: none; cursor: pointer; }
.fs-ask summary::-webkit-details-marker { display: none; }
.fs-ask summary::after { content: "+"; position: absolute; right: 16px; top: 50%; width: 32px; height: 32px; display: grid; place-items: center; transform: translateY(-50%); border-radius: 10px; background: linear-gradient(135deg, var(--violet), var(--violet-lt)); color: #fff; font-size: 1.35rem; font-weight: 500; line-height: 1; }
.fs-ask[open] summary::after { content: "−"; }
.fs-ask__a { padding: 0 22px 20px; }
.fs-ask__a p { margin: 0; }

/* ---------- pie ---------- */
.fs-foot { margin-top: 30px; padding: 46px 20px 28px; border-top: 1px solid var(--hair); background: rgba(3, 10, 56, .75); }
.fs-foot__in { max-width: 1240px; margin: 0 auto; }
.fs-foot__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 26px; }
.fs-foot__cols p { color: var(--txt-dim); font-size: .97rem; }
.fs-foot__cols > div > p:not(.fs-foot__h) { margin: 12px 0 0; max-width: 330px; }
.fs-foot__h { margin: 0 0 12px !important; color: var(--cyan) !important; font-family: var(--display); font-size: .95rem !important; font-weight: 700; }
.fs-foot ul { margin: 0; padding: 0; list-style: none; }
.fs-foot li a { display: inline-block; padding: 5px 0; color: #dfe7ff; font-size: .98rem; }
.fs-foot li a:hover { color: var(--white); text-decoration: underline; }
.fs-foot__c { margin: 0; padding-top: 18px; border-top: 1px solid var(--hair); color: var(--txt-dim); font-size: .88rem; }

/* ---------- 404 ---------- */
.fs-void { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.fs-void__card { width: 100%; max-width: 520px; padding: 44px 32px; text-align: center; border-radius: 30px; border: 1px solid var(--hair-hi); background: var(--glass-hi); box-shadow: 0 30px 70px rgba(2, 8, 50, .6); }
.fs-void__n { margin: 0 0 6px; color: var(--violet-lt); font-family: var(--display); font-size: 4rem; font-weight: 800; line-height: 1; }
.fs-void h1 { margin: 0 0 12px; color: var(--white); font-family: var(--display); font-size: 1.7rem; line-height: 1.2; }

/* ---------- adaptación ---------- */
@media (max-width: 1100px) {
  .fs-seg a { padding: 8px 11px; font-size: .9rem; }
}
@media (max-width: 960px) {
  .fs-seg, .fs-head__go { display: none; }
  .fs-burger { display: flex; }
  .fs-head__bar { grid-template-columns: 1fr auto; }
  .fs-hero, .fs-cover, .fs-facts, .fs-tile--s7, .fs-tile--s5, .fs-tile--s6 { grid-column: 1 / -1; grid-row: auto; }
  .fs-facts { gap: 14px; }
  .fs-foot__cols { grid-template-columns: 1fr 1fr; }
  .fs-foot__cols > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .fs-head { padding: 8px 10px 0; }
  .fs-head__bar { padding-left: 18px; }
  .fs-board { padding: 18px 14px 14px; gap: 14px; }
  .fs-hero { padding: 28px 22px 30px; border-radius: 24px; }
  .fs-hero__row .fs-btn { width: 100%; }
  .fs-cover { padding: 5px; border-radius: 24px; }
  .fs-cover img { border-radius: 19px; }
  .fs-facts li { padding: 16px 16px; }
  .fs-facts strong { font-size: 1.3rem; }
  .fs-tile { padding: 30px 18px 24px; border-radius: 24px; }
  .fs-tile__n { width: 40px; height: 40px; border-radius: 13px; }
  .fs-bullets--duo { grid-template-columns: 1fr; }
  .fs-btn { white-space: normal; }
  .fs-cta .fs-btn { width: 100%; }
  .fs-foot__cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
