@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');
:root{--petrol:#123f3a;--petrol2:#1c5a52;--orange:#ef6538;--sand:#f5efe2;--cream:#fffaf0;--ink:#18302c;--muted:#64736f;--line:#dfe5dc;--white:#fff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--cream);font-family:"DM Sans",sans-serif}h1,h2,h3{font-family:Manrope,sans-serif;margin:0}a{text-decoration:none;color:inherit}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 6vw;border-bottom:1px solid rgba(18,63,58,.1);background:rgba(255,250,240,.9);backdrop-filter:blur(10px);position:sticky;top:0;z-index:10}.brand{display:flex;gap:10px;align-items:center;font-size:15px;letter-spacing:.08em}.brand img{width:42px;height:42px;display:block;object-fit:contain;flex:none}.brand b{color:var(--orange)}.brand-mark{font-size:26px}.topbar nav{display:flex;gap:28px;font-size:14px;color:var(--muted)}.topbar nav a:hover{color:var(--orange)}
.hero{min-height:620px;padding:70px 8vw;display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center;background:linear-gradient(135deg,#f5efe2 0%,#fffaf0 55%,#dfe9df 100%);overflow:hidden}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.18em;color:var(--orange)}.hero h1{font-size:clamp(42px,6vw,76px);line-height:.98;margin:18px 0}.hero p{font-size:19px;line-height:1.65;max-width:600px;color:#51615d}.hero-actions{display:flex;gap:12px;margin-top:30px}.btn{padding:14px 20px;border-radius:999px;font-weight:700;font-size:14px}.primary{background:var(--petrol);color:white}.ghost{border:1px solid var(--petrol);color:var(--petrol)}
.hero-art{height:430px;position:relative;display:flex;align-items:center;justify-content:center}.ring{width:360px;height:360px;border-radius:50%;border:34px solid rgba(239,101,56,.18);position:absolute}.tube{z-index:2;background:var(--orange);color:white;font-weight:800;letter-spacing:.12em;padding:25px 65px;border-radius:80px;transform:rotate(-13deg);box-shadow:0 18px 35px rgba(18,63,58,.18)}.fins{position:absolute;z-index:3;bottom:48px;display:flex;gap:45px;font-size:100px;color:var(--petrol);filter:drop-shadow(0 10px 10px rgba(0,0,0,.12))}.fins span:first-child{transform:rotate(12deg)}.fins span:last-child{transform:rotate(-12deg)}.waves{position:absolute;bottom:0;color:var(--petrol2);font-size:38px;letter-spacing:-8px}
.section{padding:85px 8vw}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:35px}.section h2,.library h2{font-size:42px;margin-top:10px}.count{color:var(--muted);font-size:14px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:white;border:1px solid var(--line);border-radius:24px;padding:24px;display:flex;gap:18px;min-height:205px;transition:.2s;box-shadow:0 8px 30px rgba(18,63,58,.04)}.card:hover{transform:translateY(-4px);box-shadow:0 14px 35px rgba(18,63,58,.1)}.icon{width:54px;height:54px;display:grid;place-items:center;border-radius:16px;background:var(--sand);font-size:26px;flex:none}.tag{font-size:9px;letter-spacing:.15em;color:#87928e;font-weight:800}.card h3{font-size:22px;margin:7px 0}.card p{font-size:14px;color:var(--muted);line-height:1.55;min-height:44px}.open{display:flex;justify-content:space-between;align-items:center;color:var(--petrol2);font-weight:800;font-size:13px;margin-top:14px}.open span{font-size:20px;color:var(--orange)}
.library{margin:0 8vw 85px;padding:55px;border-radius:30px;background:var(--petrol);color:white;display:flex;justify-content:space-between;gap:30px;align-items:center}.library p{max-width:650px;color:#c8d7d2;line-height:1.6}.library .eyebrow{color:#f5b08d}.library-badges{display:flex;flex-wrap:wrap;gap:10px;max-width:360px}.library-badges span{padding:10px 14px;border:1px solid rgba(255,255,255,.2);border-radius:999px;font-size:12px}.about{max-width:900px}.about p{color:var(--muted);line-height:1.8;font-size:17px}footer{padding:28px 8vw;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:var(--muted);font-size:12px}footer strong{color:var(--petrol)}
@media(max-width:850px){.topbar{padding:0 5vw}.topbar nav{display:none}.hero{grid-template-columns:1fr;padding:55px 7vw}.hero-art{height:330px}.ring{width:270px;height:270px}.tube{padding:20px 45px}.fins{font-size:75px;bottom:35px}.grid{grid-template-columns:1fr}.section{padding:65px 7vw}.library{margin:0 7vw 65px;padding:35px;display:block}.library-badges{margin-top:25px}.section-head{align-items:start;gap:20px}.section h2,.library h2{font-size:34px}footer{padding:25px 7vw;display:block}footer small{display:block;margin-top:8px}}

.admin-section{padding:80px 8vw;background:#e9efe8}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:18px}.stat{background:white;border:1px solid var(--line);border-radius:20px;padding:24px}.stat span{display:block;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.12em}.stat strong{display:block;font:800 30px Manrope,sans-serif;margin-top:8px;color:var(--petrol)}.usage{background:white;border:1px solid var(--line);border-radius:20px;overflow:hidden}.usage-row{display:flex;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--line);font-size:14px}.usage-row:last-child{border-bottom:0}.usage-row strong{color:var(--orange)}.admin-note{font-size:12px;color:var(--muted);margin-top:14px}
@media(max-width:850px){.stats{grid-template-columns:1fr}.admin-section{padding:65px 7vw}}

.library-section{padding-top:45px}.library-intro{max-width:760px;color:var(--muted);line-height:1.7;margin:-12px 0 30px}.library-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.library-card{background:white;border:1px solid var(--line);border-radius:24px;padding:20px;display:flex;gap:18px;box-shadow:0 8px 30px rgba(18,63,58,.04);transition:.2s}.library-card:hover{transform:translateY(-3px);box-shadow:0 14px 35px rgba(18,63,58,.1)}.book-cover{width:118px;min-width:118px;min-height:165px;border-radius:15px;background:linear-gradient(160deg,var(--petrol),var(--petrol2));color:white;padding:16px 12px;display:flex;flex-direction:column;justify-content:space-between;text-align:center;box-shadow:inset 0 0 0 3px rgba(255,255,255,.14)}.book-cover span{font-size:8px;letter-spacing:.12em;font-weight:800}.book-cover strong{font:800 46px Manrope,sans-serif;color:#f5b08d}.book-cover small{font-size:9px;line-height:1.35;font-weight:800}.library-card-body{flex:1;display:flex;flex-direction:column}.library-meta{display:flex;justify-content:space-between;gap:10px;font-size:10px;text-transform:uppercase;letter-spacing:.1em;font-weight:800;color:#87928e}.library-meta b{color:var(--orange)}.library-card h3{font-size:20px;margin:9px 0 7px}.library-card p{font-size:13px;color:var(--muted);line-height:1.5;margin:0}.library-actions{display:flex;gap:10px;margin-top:auto;padding-top:16px}.library-actions a{border-radius:999px;padding:10px 14px;font-size:12px;font-weight:800}.library-actions .open{background:var(--petrol);color:white;margin-top:0;justify-content:center}.library-actions .download{border:1px solid var(--petrol);color:var(--petrol)}.library-actions span{margin-left:5px}.library-empty{background:white;border:1px dashed var(--line);border-radius:20px;padding:28px;text-align:center;color:var(--muted)}.library-empty strong,.library-empty span{display:block}.library-empty strong{color:var(--ink);margin-bottom:5px}
@media(max-width:850px){.library-grid{grid-template-columns:1fr}.library-card{padding:16px}.book-cover{width:100px;min-width:100px;min-height:145px}.library-card h3{font-size:18px}.library-actions{flex-wrap:wrap}.library-actions a{flex:1;text-align:center}}

/* Biblioteca v0.6 */
.library-tools{display:flex;gap:14px;align-items:center;justify-content:space-between;margin:0 0 26px;flex-wrap:wrap}.library-filters{display:flex;gap:8px;flex-wrap:wrap}.library-filters button{border:1px solid var(--line);background:white;color:var(--petrol);padding:9px 13px;border-radius:999px;font:700 11px "DM Sans",sans-serif;cursor:pointer}.library-filters button.active,.library-filters button:hover{background:var(--petrol);color:white;border-color:var(--petrol)}.library-search{display:flex;align-items:center;gap:7px;border:1px solid var(--line);background:white;border-radius:999px;padding:0 14px;min-width:210px}.library-search span{font-size:20px;color:var(--muted)}.library-search input{border:0;outline:0;background:transparent;padding:11px 0;width:100%;font:500 13px "DM Sans",sans-serif;color:var(--ink)}.library-card{min-height:235px}.library-card.manual-card{min-height:270px}.library-cover{width:145px;min-width:145px;height:205px;border-radius:16px;overflow:hidden;display:block;background:var(--sand);box-shadow:0 10px 25px rgba(18,63,58,.13);position:relative}.manual-card .library-cover{height:220px}.library-cover img{width:100%;height:100%;object-fit:cover;display:block}.cover-fallback{position:absolute;inset:0;flex-direction:column;align-items:center;justify-content:space-between;text-align:center;padding:18px 10px;background:linear-gradient(160deg,var(--petrol),var(--petrol2));color:white}.cover-fallback strong{font:800 44px Manrope,sans-serif;color:#f5b08d}.cover-fallback span,.cover-fallback small{font-size:8px;letter-spacing:.12em;font-weight:800}.brochure-card{min-height:210px}.brochure-card .library-cover{height:190px}.brochure-card .library-card-body h3{font-size:18px}.brochure-card .library-card-body p{font-size:12px}.brochure-card .library-actions{padding-top:12px}.brochure-card .library-actions a{padding:9px 12px}.library-section{scroll-margin-top:80px}
@media(max-width:850px){.library-tools{align-items:stretch}.library-filters{width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.library-filters button{white-space:nowrap}.library-search{width:100%}.library-card.manual-card,.library-card{min-height:0}.library-cover,.manual-card .library-cover,.brochure-card .library-cover{width:105px;min-width:105px;height:150px}.manual-card .library-cover{height:165px}.brochure-card .library-card-body h3{font-size:17px}.library-card p{font-size:12px}.library-actions a{font-size:11px}}


/* Biblioteca PRO v0.7 */
.library-featured,.library-quick{margin-top:12px}
.library-quick{margin-top:58px}
.library-subhead{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:0 0 20px}
.library-subhead h3{font-size:27px;margin-top:7px}
.subcount{font-size:12px;color:var(--muted);font-weight:800;white-space:nowrap}
.library-grid.manual-grid{grid-template-columns:1fr}
.manual-card{border-radius:28px;padding:24px;min-height:300px;gap:24px;box-shadow:0 12px 38px rgba(18,63,58,.07)}
.manual-card .library-cover{width:175px;min-width:175px;height:250px;border-radius:18px;box-shadow:0 14px 32px rgba(18,63,58,.16)}
.manual-card .library-card-body{padding:5px 0}
.manual-card .library-meta{font-size:11px}
.manual-card .library-card-body h3{font-size:27px;line-height:1.15;margin:12px 0 10px}
.manual-card .library-card-body p{font-size:15px;max-width:650px;line-height:1.65}
.manual-card .library-actions{padding-top:22px}
.manual-card .library-actions a{padding:12px 18px;font-size:13px}
.manual-card .library-actions .open{min-width:105px}
.brochure-grid{grid-template-columns:repeat(2,1fr)}
.brochure-card{min-height:205px}
.brochure-card .library-cover{width:125px;min-width:125px;height:175px;border-radius:15px}
.brochure-card .library-card-body h3{font-size:20px;line-height:1.2}
.library-empty{margin-top:25px}
@media(max-width:850px){
  .library-subhead{align-items:start}
  .library-subhead h3{font-size:22px}
  .manual-card{padding:17px;gap:16px}
  .manual-card .library-cover{width:112px;min-width:112px;height:165px;border-radius:15px}
  .manual-card .library-card-body h3{font-size:20px}
  .manual-card .library-card-body p{font-size:12px;line-height:1.5}
  .manual-card .library-actions{padding-top:15px}
  .manual-card .library-actions a{padding:10px 12px}
  .brochure-grid{grid-template-columns:1fr}
  .brochure-card .library-cover{width:105px;min-width:105px;height:150px}
}


/* Guardavidas PRO v0.8 — institucional */
.institutional{max-width:1120px;margin:90px auto 110px;padding:0 24px}
.institutional-head{max-width:780px;margin-bottom:35px}
.institutional-head h2{font-size:clamp(34px,5vw,58px);line-height:1.03;margin:12px 0 18px}
.institutional-head p{font-size:18px;line-height:1.7;color:var(--muted)}
.institutional-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.info-panel,.collection-panel,.notice-panel,.faq-panel{background:#fff;border:1px solid rgba(18,63,58,.13);border-radius:28px;padding:30px;box-shadow:0 12px 38px rgba(18,63,58,.055)}
.panel-icon{font-size:30px;display:block;margin-bottom:18px}
.info-panel h3,.collection-panel h3,.notice-panel h3,.faq-panel h3{font-size:28px;line-height:1.15;margin:9px 0 13px}
.info-panel p,.notice-panel p,.faq-panel p{color:var(--muted);line-height:1.65;font-size:15px}
.small-note{font-size:13px!important;margin-top:16px}
.pill-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.pill-row span{border:1px solid rgba(18,63,58,.14);border-radius:999px;padding:7px 11px;font-size:11px;font-weight:800;color:var(--ink)}
.collection-panel{margin-top:20px}
.collection-title{display:flex;justify-content:space-between;align-items:end;gap:20px}
.collection-badge{font-size:11px;font-weight:900;letter-spacing:.12em;color:#ef6b3c}
.collection-list{display:grid;grid-template-columns:1fr 1fr;gap:1px 30px;margin-top:20px}
.collection-list div{padding:17px 0;border-top:1px solid rgba(18,63,58,.1);display:flex;flex-direction:column;gap:5px}
.collection-list b{font-size:11px;letter-spacing:.12em;color:#ef6b3c}
.collection-list span{font-size:15px;font-weight:750;line-height:1.35}
.notice-panel{margin-top:20px;display:flex;gap:20px;align-items:flex-start}
.notice-panel .panel-icon{margin:0}
.notice-panel h3{font-size:22px}
.faq-panel{margin-top:20px}
.faq-panel details{border-top:1px solid rgba(18,63,58,.1);padding:17px 0}
.faq-panel summary{cursor:pointer;font-weight:800;list-style:none;position:relative;padding-right:28px}
.faq-panel summary::-webkit-details-marker{display:none}
.faq-panel summary::after{content:"+";position:absolute;right:0;font-size:20px}
.faq-panel details[open] summary::after{content:"−"}
.faq-panel details p{margin:10px 0 0;max-width:850px}
@media(max-width:760px){
  .institutional{margin:65px auto 75px;padding:0 18px}
  .institutional-head h2{font-size:37px}
  .institutional-head p{font-size:16px}
  .institutional-grid{grid-template-columns:1fr}
  .info-panel,.collection-panel,.notice-panel,.faq-panel{padding:23px;border-radius:23px}
  .collection-list{grid-template-columns:1fr}
  .collection-title h3{font-size:23px}
  .notice-panel{gap:14px}
}

.games-section{background:#f3f0e7;border-radius:30px;padding:28px;margin-top:25px;margin-bottom:25px}.games-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.game-card{background:#fff;border:1px solid #dfe5df;border-radius:26px;padding:20px;box-shadow:0 10px 30px rgba(18,63,59,.06)}.game-card h3{font-size:30px;margin:12px 0 8px;color:#123f3b}.game-card p{font-size:17px;line-height:1.5;color:#5e6e6a}.game-cover{min-height:190px;border-radius:20px;background:#123f3b;color:#f7b08e;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:25px;font-size:42px;margin-bottom:18px}.game-cover strong{font-size:35px;line-height:.98;letter-spacing:1px}.game-cover small{color:#fff;font-size:12px;letter-spacing:2px;margin-top:12px;font-weight:900}.game-cover.decisions{background:#0d4d48}.game-card .pill-row{margin:12px 0 18px}.game-card .btn{display:inline-flex;text-decoration:none}.games-section .section-head{margin-bottom:8px}@media(max-width:750px){.games-grid{grid-template-columns:1fr}.game-cover strong{font-size:29px}}


/* Visor de folletos y láminas: navegación clara en celular */
body.viewer-open { overflow: hidden; }
.brochure-viewer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(20, 39, 37, 0.98);
  color: #fff;
  display: flex;
  flex-direction: column;
}
.brochure-viewer[hidden] { display: none; }
.brochure-viewer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: max(14px, env(safe-area-inset-top)) 16px 12px;
}
.viewer-back, .viewer-close {
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 11px 16px;
  cursor: pointer;
}
.viewer-close {
  width: 44px; height: 44px; padding: 0; font-size: 30px; line-height: 1;
}
.brochure-viewer-title {
  padding: 0 20px 12px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  opacity: .92;
}
.brochure-viewer-content {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 8px 12px max(24px, env(safe-area-inset-bottom));
  -webkit-overflow-scrolling: touch;
}
.brochure-viewer-content img {
  display: block;
  width: min(100%, 900px);
  height: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
}
@media (min-width: 700px) {
  .brochure-viewer-content { padding-left: 30px; padding-right: 30px; }
}

/* Fix v1.3: respetar el atributo hidden en formularios de autenticación */
[hidden] { display: none !important; }

/* Cuenta y autenticación v1.3 */
.account-btn { border: 1px solid rgba(18,63,58,.18); background: rgba(255,255,255,.72); color: var(--petrol); border-radius: 999px; padding: 9px 13px; font: inherit; font-weight: 700; cursor: pointer; }
.account-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(5,28,27,.72); display: grid; place-items: center; padding: 20px; }
.account-modal[hidden] { display: none; }
.account-card { width: min(100%, 470px); max-height: 90vh; overflow: auto; background: #fff; color: #173d39; border-radius: 24px; padding: 28px; position: relative; box-shadow: 0 24px 70px rgba(0,0,0,.3); }
.account-close { position:absolute; top:12px; right:14px; width:42px; height:42px; border:0; background:#eef3f0; border-radius:50%; font-size:28px; cursor:pointer; color:#173d39; }
.account-intro { line-height:1.55; color:#4f6864; }
.auth-tabs { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:20px 0; }
.auth-tab { border:1px solid #d6e1de; background:#f5f8f7; color:#315853; border-radius:12px; padding:11px; font:inherit; font-weight:700; cursor:pointer; }
.auth-tab.active { background:#173d39; color:#fff; border-color:#173d39; }
.auth-form { display:grid; gap:14px; }
.auth-link { border:0; background:transparent; color:var(--petrol); font:inherit; font-weight:700; cursor:pointer; padding:2px 0; text-align:center; text-decoration:underline; }
.auth-subtitle { font-size:20px; font-weight:800; color:var(--petrol); }
.auth-form label { display:grid; gap:6px; font-weight:700; font-size:14px; }
.auth-form input { width:100%; box-sizing:border-box; border:1px solid #cbd9d5; border-radius:12px; padding:12px 13px; font:inherit; background:#fff; }
.auth-message { min-height:22px; margin:14px 0 0; font-weight:700; color:#a85a00; }
.account-email { color:#607671; margin-top:-8px; }
.profile-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:22px 0; }
.profile-stats div { background:#f1f6f4; border-radius:14px; padding:14px 8px; text-align:center; }
.profile-stats strong { display:block; font-size:24px; }
.profile-stats span { display:block; font-size:11px; line-height:1.25; margin-top:5px; }
@media (max-width:700px) { .topbar nav { display:flex; gap:7px; flex-wrap:wrap; justify-content:flex-end; } .topbar nav a { display:none; } .account-btn { display:inline-flex; padding:8px 10px; } .account-card { padding:24px 18px; } }


/* Guardavidas PRO — Aplicaciones con vista previa */
.app-card{overflow:hidden}.app-preview{border-radius:20px;background:linear-gradient(145deg,#eef3f0,#e1e9e5);border:1px solid rgba(18,63,58,.12);padding:14px;min-height:155px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.45)}.app-preview-top{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--petrol)}.app-preview-top span{font-size:30px}.app-preview-top b{font-size:9px;letter-spacing:.12em}.app-preview-screen{margin-top:12px;background:white;border-radius:14px;padding:14px;min-height:88px;border:1px solid rgba(18,63,58,.09)}.preview-line{height:8px;background:#dfe7e3;border-radius:99px;width:72%;margin-bottom:9px}.preview-line.wide{width:88%;height:10px}.preview-line.short{width:45%;margin-top:13px}.preview-chip{display:inline-block;border-radius:999px;background:#f5eee3;color:var(--petrol);padding:7px 10px;font-size:9px;font-weight:800}.app-card .card-body{padding-top:16px}

/* Guías rápidas */
.quick-guides-section{background:#eef3ef;border-radius:30px;padding:28px;margin:25px 0}.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.guide-card{background:#fff;border:1px solid rgba(18,63,58,.12);border-radius:24px;padding:22px;display:flex;flex-direction:column;min-height:310px;box-shadow:0 10px 30px rgba(18,63,58,.05)}.guide-icon{width:58px;height:58px;border-radius:18px;background:#f5eee3;display:grid;place-items:center;font-size:30px;margin-bottom:18px}.guide-card h3{font-size:24px;line-height:1.1;margin:9px 0}.guide-card p{color:var(--muted);line-height:1.55;font-size:14px;margin:0}.guide-card .btn{margin-top:auto;align-self:flex-start}.guide-modal{position:fixed;inset:0;z-index:10000;background:rgba(18,63,58,.72);display:grid;place-items:center;padding:18px}.guide-modal[hidden]{display:none}.guide-modal-card{position:relative;background:#fff;max-width:720px;width:100%;max-height:90vh;overflow:auto;border-radius:30px;padding:34px;box-shadow:0 25px 70px rgba(0,0,0,.2)}.guide-modal-close{position:absolute;right:18px;top:18px;width:44px;height:44px;border:0;border-radius:50%;background:#eef3ef;color:var(--petrol);font-size:30px;cursor:pointer}.guide-modal-card h2{font-size:38px;line-height:1.05;margin:10px 55px 10px 0;color:var(--petrol)}.guide-modal-lead{font-size:17px;line-height:1.6;color:var(--muted)}.guide-steps{padding-left:28px;margin:25px 0}.guide-steps li{padding:11px 0 11px 5px;border-bottom:1px solid rgba(18,63,58,.1);line-height:1.55;color:#294f4a}.guide-modal-note{display:flex;gap:10px;align-items:flex-start;background:#f8f0e5;border-radius:18px;padding:16px;margin-top:18px;color:#6b5a46;font-size:13px;line-height:1.5}.guide-modal-note strong{color:#a15e1d;white-space:nowrap}.guide-modal-back{margin-top:18px}
@media(max-width:900px){.guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.quick-guides-section{padding:20px;border-radius:24px}.guide-grid{grid-template-columns:1fr}.guide-card{min-height:0}.guide-modal{padding:10px}.guide-modal-card{padding:25px 20px;border-radius:24px;max-height:92vh}.guide-modal-card h2{font-size:30px}.guide-modal-lead{font-size:15px}.app-preview{min-height:140px}}

/* v2.7 — Centro de capacitación */
.protocols-section{background:#f5eee3;border-radius:30px;padding:30px;margin:25px 0}.protocol-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.protocol-card{background:#fff;border:1px solid rgba(18,63,58,.12);border-radius:22px;padding:20px;box-shadow:0 8px 24px rgba(18,63,58,.04)}.protocol-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:#eef3ef;font-size:28px;margin-bottom:14px}.protocol-card h3{font-size:20px;line-height:1.15;margin:8px 0 14px}.protocol-card ol{margin:0;padding-left:20px;color:#526863;font-size:13px;line-height:1.55}.protocol-card li{padding:6px 0}
.checklist-section{background:#eef3ef;border-radius:30px;padding:30px;margin:25px 0}.checklist-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.check-card{background:#fff;border:1px solid rgba(18,63,58,.12);border-radius:24px;padding:22px}.check-head{display:flex;align-items:center;gap:12px;margin-bottom:16px}.check-head>span{font-size:30px}.check-head>div{flex:1}.check-head h3{margin:3px 0 0;font-size:22px}.check-progress{background:#f5eee3;border-radius:999px;padding:7px 10px;color:#a15e1d;font-size:12px}.check-card label{display:flex;gap:10px;align-items:flex-start;padding:11px 0;border-bottom:1px solid rgba(18,63,58,.08);font-size:14px;line-height:1.45;color:#315853}.check-card input{width:19px;height:19px;accent-color:#173d39;flex:none}.checklist-reset{margin-top:16px}
.decision-section{background:#173d39;border-radius:30px;padding:30px;color:#fff;margin:25px 0}.decision-section .eyebrow{color:#f28a5d}.decision-section .library-intro{color:#d8e5e1}.decision-card{max-width:850px;margin:auto;background:#fff;color:#173d39;border-radius:28px;padding:30px;box-shadow:0 20px 50px rgba(0,0,0,.15)}.decision-card h3{font-size:34px;line-height:1.1;margin:10px 0}.decision-card>p{font-size:18px;line-height:1.55;color:#536b66}.decision-options{display:grid;gap:10px;margin:24px 0}.decision-option,.eval-option{border:1px solid #d5e0dc;background:#f7faf9;color:#173d39;border-radius:16px;padding:15px;text-align:left;font:inherit;font-weight:700;cursor:pointer;transition:.15s}.decision-option:hover,.eval-option:hover{transform:translateY(-1px);border-color:#8fa9a3}.decision-option.correct,.eval-option.correct{background:#e5f4ea;border-color:#75ad88}.decision-option.wrong,.eval-option.wrong{background:#fff0ed;border-color:#d78a78}.decision-option:disabled,.eval-option:disabled{cursor:default}.decision-feedback{background:#f5eee3;border-radius:16px;padding:15px;margin:14px 0;color:#6b5a46;line-height:1.5}.decision-feedback strong{color:#a15e1d}.decision-feedback p{margin:6px 0 0}
.glossary-section{background:#f7f4ed;border-radius:30px;padding:30px;margin:25px 0}.glossary-search{display:flex;align-items:center;gap:8px;max-width:650px;background:#fff;border:1px solid #d3dfdb;border-radius:999px;padding:11px 16px;margin:20px 0}.glossary-search input{border:0;outline:0;flex:1;font:inherit;background:transparent}.glossary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.glossary-item{background:#fff;border:1px solid rgba(18,63,58,.1);border-radius:16px;padding:14px 16px}.glossary-item summary{cursor:pointer;font-weight:800;color:#173d39}.glossary-item p{color:#5d716d;line-height:1.5;font-size:13px;margin:10px 0 0}
.evaluation-section{background:#eef3ef;border-radius:30px;padding:30px;margin:25px 0}.evaluation-card{max-width:820px;margin:auto;background:#fff;border-radius:28px;padding:30px;border:1px solid rgba(18,63,58,.12)}.eval-meta{display:flex;justify-content:space-between;gap:12px;color:#71827e;font-size:13px}.eval-meta strong{color:#a15e1d}.evaluation-card h3{font-size:28px;line-height:1.2;color:#173d39}.eval-options{display:grid;gap:10px;margin:20px 0}.eval-result{font-size:20px;line-height:1.5;color:#315853}
.training-section{background:#f5eee3;border-radius:30px;padding:30px;margin:25px 0}.module-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.module-card{background:#fff;border:1px solid rgba(18,63,58,.12);border-radius:22px;padding:22px;position:relative;overflow:hidden}.module-number{position:absolute;right:15px;top:12px;font-size:44px;font-weight:900;color:#eef1ed}.module-icon{font-size:30px;margin-bottom:20px;position:relative}.module-card h3{font-size:23px;margin:7px 0}.module-card p{color:#60736e;line-height:1.5;font-size:14px;min-height:65px}.module-links{display:grid;gap:7px;margin-top:16px}.module-links a{color:#173d39;font-weight:800;text-decoration:none;background:#f1f6f4;padding:10px 12px;border-radius:12px}.module-links a:hover{text-decoration:underline}
@media(max-width:1000px){.protocol-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.glossary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.protocols-section,.checklist-section,.decision-section,.glossary-section,.evaluation-section,.training-section{padding:20px;border-radius:24px}.protocol-grid,.checklist-grid,.glossary-grid,.module-grid{grid-template-columns:1fr}.decision-card,.evaluation-card{padding:22px;border-radius:22px}.decision-card h3{font-size:28px}.decision-card>p{font-size:16px}.check-card{padding:18px}.module-card p{min-height:0}.eval-meta{font-size:12px}}
.quick-nav-section{padding:10px 0 20px}.quick-nav-head{text-align:center;margin-bottom:18px}.quick-nav-head h2{margin:6px 0 0;color:var(--petrol)}.quick-nav-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.quick-nav-grid a{background:#fff;border:1px solid rgba(18,63,58,.12);border-radius:18px;padding:15px;text-decoration:none;color:var(--petrol);display:grid;gap:3px;box-shadow:0 6px 18px rgba(18,63,58,.04);transition:.15s}.quick-nav-grid a:hover{transform:translateY(-2px);box-shadow:0 10px 25px rgba(18,63,58,.08)}.quick-nav-grid a:first-letter{font-size:24px}.quick-nav-grid strong{font-size:14px}.quick-nav-grid span{font-size:11px;color:#71827e;line-height:1.25}@media(max-width:900px){.quick-nav-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.quick-nav-section{padding:6px 0 16px}.quick-nav-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.quick-nav-grid a{padding:13px;border-radius:16px}}

/* v2.8 — botones principales adaptados a celular */
@media (max-width:650px){
  .hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:stretch}
  .hero-actions .btn{display:flex;align-items:center;justify-content:center;text-align:center;min-height:52px;box-sizing:border-box;padding:12px 14px}
  .hero-actions .btn:last-child{grid-column:1 / -1}
}
.check-head{display:flex;align-items:center;gap:12px}.check-head>div{min-width:0;flex:1}.check-status{font-size:11px;letter-spacing:.5px;text-transform:uppercase;font-weight:800;color:#7b8985;white-space:nowrap}.check-status.complete{color:#0f5a50}.check-card label{transition:background .15s, border-color .15s}.check-card label:has(input:checked){background:#f0f7f4;border-color:#c8ddd7}.check-card label input{accent-color:#0f5a50}


/* v3.2.1 — checklist mobile layout fix */
.check-head{min-width:0}.check-head>div{min-width:0}.check-meta{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:0 0 auto;min-width:0}.check-status{font-size:11px;letter-spacing:.5px;text-transform:uppercase;font-weight:800;color:#7b8985;white-space:nowrap}.check-status.complete{color:#0f5a50}
@media(max-width:650px){
  .check-head{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:10px;row-gap:8px;align-items:center}
  .check-head>span:first-child{grid-row:1;grid-column:1}
  .check-head>div{grid-column:2;min-width:0}
  .check-head .check-meta{grid-column:2;justify-content:flex-start;gap:8px;min-width:0}
  .check-head h3{font-size:22px;line-height:1.1;overflow-wrap:anywhere}
  .check-progress{font-size:12px;padding:6px 9px;white-space:nowrap}
  .check-status{font-size:10px;white-space:nowrap}
  .check-card{overflow:hidden}
  .check-card label{min-width:0}
  .check-card label:not(:has(input:checked)){overflow-wrap:anywhere}
}
