
:root{--osmac-ink:#16324d;--osmac-paper:#f7f8fb;--osmac-shell:#eef1f6;--osmac-shadow:0 22px 55px rgba(34,48,73,.14);--osmac-border:#bcc7d6;--osmac-blue:#7db6ff;--osmac-teal:#70d8d2;--osmac-lime:#d8f56a;--osmac-pink:#ff8cc6;--osmac-sand:#ffe5ad;--osmac-violet:#a9a9ff}
body.edu-page,body.edu-hub{background:linear-gradient(180deg,#f4f4f1,#eef4fb 38%,#f7f7f4 100%);color:#143048}
body.edu-page{font-family:"Trebuchet MS",Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
body.edu-hub{font-family:"Trebuchet MS",Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.osmac-desktop{position:relative;display:block;padding-top:10px}
.osmac-desktop::before{content:"";position:fixed;inset:0;pointer-events:none;background-image:radial-gradient(circle at 14% 12%,rgba(255,255,255,.48),transparent 24%),linear-gradient(transparent 95%,rgba(17,49,82,.03) 95%),linear-gradient(90deg,transparent 95%,rgba(17,49,82,.03) 95%);background-size:auto,22px 22px,22px 22px;opacity:.22;z-index:-1}
.nav-shell{position:sticky;top:0;backdrop-filter:saturate(140%) blur(8px);background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(242,246,251,.88)) !important;border-bottom:1px solid var(--osmac-border);box-shadow:0 12px 26px rgba(52,76,103,.08)}
.nav-inner{gap:20px}
.logo-mark{background:linear-gradient(135deg,var(--osmac-blue),var(--osmac-violet)) !important;color:#06203a !important;border:1px solid rgba(10,35,58,.14);box-shadow:inset 0 1px rgba(255,255,255,.7),0 9px 18px rgba(68,102,147,.18)}
.logo-lockup b{letter-spacing:-.03em}
.nav-actions .btn,.btn,.g59-button,.g59-small-btn,.panel-action,.slot,.filter-btn,.panel-tab,#g59-reset,.g59-appfooter button,.g59-button-secondary{border-radius:999px !important;box-shadow:inset 0 1px rgba(255,255,255,.75),0 6px 14px rgba(44,64,89,.08)}
.btn-primary,.g59-button,.g59-small-btn,.panel-action{background:linear-gradient(180deg,#f5fbff,#dcecff) !important;color:#143755 !important;border:1px solid #98b7d8 !important}
.btn-secondary,.filter-btn,.slot,.g59-button-secondary{background:linear-gradient(180deg,#ffffff,#eff4fb) !important;border:1px solid #b9c7d7 !important;color:#23435e !important}
.hero,.work-section,.booking-area,.admin-section,.section,.edu-models,.nexo-protect,.hub-footer,.g59-suite,.g59-services{position:relative}
.hero .wrap,.section .wrap,.booking-area .wrap,.admin-section .wrap,.g59-shell,.edu-card,.work-card,.service-card,.panel,.booking-form,.booking-side,.admin-gate,.g59-gate,.g59-app,.g59-service-card,.g59-section-card,.g59-reader,.g59-resource-card,.g59-tile{background:rgba(255,255,255,.78);backdrop-filter:blur(5px);border:1px solid rgba(182,197,217,.9);box-shadow:var(--osmac-shadow)}
.hero{padding:24px 0 34px;background:linear-gradient(145deg,#fefefe 0%,#f4f0ff 20%,#eef8ff 52%,#f8f5df 100%) !important}
.hero-grid{gap:24px;min-height:auto;padding:44px 0 !important}
.hero-copy,.hero-art{border-radius:28px;padding:30px;background:linear-gradient(180deg,rgba(255,255,255,.82),rgba(248,251,255,.9));border:1px solid rgba(190,204,222,.95);box-shadow:var(--osmac-shadow)}
.hero-copy{position:relative;overflow:hidden}
.hero-copy::before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.65),transparent 38%),radial-gradient(circle at 105% -15%,rgba(123,179,255,.18),transparent 33%);pointer-events:none}
.hero h1{line-height:1.03 !important;max-width:15ch}
.hero h1 span{color:#3f52da}
.hero-sub{max-width:60ch;color:#35516b !important}
.hero-art{display:flex;align-items:stretch;justify-content:center;overflow:hidden;min-height:410px;background:linear-gradient(150deg,var(--hero-panel-1,#dbe9ff),var(--hero-panel-2,#fff5cc) 55%,var(--hero-panel-3,#f8fbff)) !important}
.osmac-ribbon{margin:18px auto 0;width:min(1200px,calc(100% - 52px));display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:11px 16px;border-radius:18px;background:linear-gradient(180deg,#ffffff,#eef4fb);border:1px solid var(--osmac-border);box-shadow:0 8px 18px rgba(44,64,89,.06)}
.osmac-ribbon small{font-size:11px;font-weight:900;letter-spacing:.12em;color:#57748d;text-transform:uppercase}
.osmac-ribbon b{font-size:14px;color:#17324d}
.osmac-ribbon .chips{display:flex;gap:8px;flex-wrap:wrap}.osmac-ribbon .chips span{padding:7px 11px;border-radius:999px;font-size:11px;font-weight:800;background:#f7faff;border:1px solid #c8d6e7;color:#35526f}
.osmac-window{width:min(430px,100%);border-radius:24px;border:1px solid #acbfd8;background:linear-gradient(180deg,#fafcff,#eef5ff);box-shadow:0 22px 45px rgba(42,59,93,.16);overflow:hidden;display:flex;flex-direction:column}
.osmac-window .toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px;background:linear-gradient(180deg,#e9edf4,#dfe6ef);border-bottom:1px solid #b9c3d2}
.osmac-window .dots{display:flex;gap:7px}.osmac-window .dots i{width:12px;height:12px;border-radius:50%;display:block;box-shadow:inset 0 1px rgba(255,255,255,.7);border:1px solid rgba(0,0,0,.08)}
.osmac-window .dots i:nth-child(1){background:#ff8d88}.osmac-window .dots i:nth-child(2){background:#ffd569}.osmac-window .dots i:nth-child(3){background:#86dc86}
.osmac-window .title{font-size:11px;font-weight:900;letter-spacing:.12em;color:#4d657e;text-transform:uppercase}
.osmac-window .screen{display:grid;gap:16px;padding:18px}
.osmac-window .screen-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:14px;align-items:stretch}
.osmac-window .poster{border-radius:18px;min-height:230px;padding:20px;position:relative;overflow:hidden;border:1px solid rgba(116,141,173,.35);background:linear-gradient(150deg,var(--poster1,#fff2c6),var(--poster2,#d9ecff));display:flex;flex-direction:column;justify-content:space-between}
.osmac-window .poster::before{content:"";position:absolute;inset:18px;border-radius:16px;border:2px dashed rgba(26,53,82,.18);pointer-events:none}
.osmac-window .poster .label{font-size:10px;font-weight:900;letter-spacing:.18em;color:#33546b;text-transform:uppercase}
.osmac-window .poster h3{margin:4px 0 0;font-size:clamp(32px,4.2vw,46px);line-height:.95;letter-spacing:-.07em;color:#16334f;max-width:8ch}
.osmac-window .poster p{margin:0;font-size:12px;line-height:1.6;color:#32506a;max-width:29ch}
.osmac-window .tags{display:flex;flex-wrap:wrap;gap:8px}.osmac-window .tags span{padding:8px 10px;border-radius:999px;font-size:10px;font-weight:800;background:rgba(255,255,255,.75);border:1px solid rgba(55,84,112,.15);color:#23425d}
.osmac-window .sidepanel{border-radius:18px;padding:16px;border:1px solid rgba(116,141,173,.35);background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(241,247,255,.92));display:flex;flex-direction:column;justify-content:space-between;gap:12px}
.osmac-window .infobox{padding:13px 14px;border-radius:15px;background:#f7fbff;border:1px solid rgba(118,140,165,.22)}
.osmac-window .infobox b{display:block;font-size:11px;letter-spacing:.14em;color:#5f7a91;text-transform:uppercase;margin-bottom:7px}.osmac-window .infobox p{margin:0;font-size:13px;line-height:1.55;color:#28455f}
.osmac-window .shield{width:100%;border-radius:16px;overflow:hidden;border:1px solid rgba(111,135,165,.35);background:#fff;text-align:center}
.osmac-window .shield img{display:block;width:100%;height:auto}
.osmac-window .cta-row{display:flex;gap:8px;flex-wrap:wrap}.osmac-window .cta-row span{padding:9px 12px;border-radius:999px;background:#102c4b;color:#fff;font-size:11px;font-weight:800;letter-spacing:.06em}
.bannerstrip{background:linear-gradient(90deg,#ffeb9e,#b5eff6,#d7e8ff,#ffcae2) !important;color:#16324d !important;border-top:1px solid #d9c685;border-bottom:1px solid #c8d3e4}
.bannerstrip .wrap{justify-content:center !important;flex-wrap:wrap;padding:6px 0}
.service-grid,.work-grid,.process-grid,.edu-grid,.g59-services-grid,.g59-resource-grid,.g59-grid{gap:16px !important}
.service-card,.work-card,.edu-card,.g59-service-card,.g59-resource-card,.g59-tile,.g59-card,.g59-section-card{border-radius:24px !important;overflow:hidden}
.service-card:nth-child(4n+1),.g59-service-card:nth-child(4n+1){background:linear-gradient(180deg,#ffffff,#eef7ff)}
.service-card:nth-child(4n+2),.g59-service-card:nth-child(4n+2){background:linear-gradient(180deg,#ffffff,#fff7e8)}
.service-card:nth-child(4n+3),.g59-service-card:nth-child(4n+3){background:linear-gradient(180deg,#ffffff,#f6f0ff)}
.service-card:nth-child(4n+4),.g59-service-card:nth-child(4n+4){background:linear-gradient(180deg,#ffffff,#edfdf1)}
.work-visual,.edu-card-art{border-radius:24px 24px 0 0;position:relative;overflow:hidden}
.work-visual::after,.edu-card-art::after{border-color:rgba(255,255,255,.55) !important}
.edu-card-art{padding:22px !important}
.edu-card-art .card-headline{max-width:9ch;text-shadow:0 3px 0 rgba(255,255,255,.2)}
.booking-area{background:linear-gradient(180deg,#f7fafc,#eef3f9) !important}
.booking-form,.booking-side,.admin-gate,.panel,#g59-app,.g59-gate{border-radius:28px !important}
.booking-side,.panel .panel-top-stats div,#g59-app .g59-metric,.g59-appbar,.g59-appfooter{background:linear-gradient(180deg,rgba(16,44,75,.95),rgba(34,65,104,.94)) !important;color:#f5fbff !important}
.panel,.booking-form,.admin-gate,#g59-app{background:linear-gradient(180deg,#ffffff,#f3f8fd) !important}
.panel-tabs,.g59-tabbar{background:linear-gradient(180deg,#f4f7fc,#ecf2f9);border-radius:18px;padding:5px;border-bottom:0 !important}
.panel-tab,.g59-tabbar button{border-radius:999px !important;padding:12px 16px !important}
.panel-tab.active,.g59-tabbar button[aria-selected=true],.g59-tabbar button.active{background:linear-gradient(180deg,#fffef7,#ffeec6);border:1px solid #e0c98b;color:#2d425d !important}
.field input,.field select,.pin-form input,#g59-pin,.g59-edit-field,.g59-login input,textarea{border-radius:16px !important;background:#fbfdff !important;border:1px solid #c8d6e7 !important;box-shadow:inset 0 1px 4px rgba(70,93,120,.06)}
.g59-appbar{border-radius:24px 24px 0 0 !important;padding:18px 20px !important}
.g59-appfooter{border-radius:0 0 24px 24px !important}
.g59-table-wrap,.g59-reader-note{border-radius:18px !important;background:#f9fbff !important;border:1px solid #d6e2ef !important}
.g59-table th{background:#eef5fc !important;color:#365270 !important}
.g59-table td{background:#fff}
.g59-service-card .g59-card-foot{border-top-color:#d5e1ef !important}
.osmac-kicker{display:inline-flex;align-items:center;gap:10px;padding:10px 14px;border-radius:999px;background:linear-gradient(180deg,#ffffff,#eef5fd);border:1px solid #b9c8d8;color:#304d69;font-size:11px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;margin-bottom:18px}
.osmac-kicker::before{content:"";width:12px;height:12px;border-radius:50%;background:linear-gradient(135deg,#ff8cc6,#7db6ff);box-shadow:0 0 0 3px rgba(125,182,255,.18)}
.hero-copy .hero-sub + .hero-buttons{margin-top:26px}
.hero-foot{padding:12px 14px;border-radius:999px;background:rgba(255,255,255,.72);width:max-content;max-width:100%;flex-wrap:wrap;border:1px solid rgba(178,196,215,.75)}
.hub-footer{background:linear-gradient(180deg,#102c4b,#183b5f) !important;color:#d5e6f6 !important}
body.theme-secundaria{--hero-panel-1:#dce8ff;--hero-panel-2:#fff1cb;--hero-panel-3:#f7fbff}
body.theme-preparatoria{--hero-panel-1:#eee3ff;--hero-panel-2:#ffd0e1;--hero-panel-3:#f8fbff}
body.theme-universidad{--hero-panel-1:#e6eef6;--hero-panel-2:#f9e5c0;--hero-panel-3:#fffdf8}
body.theme-kinder{--hero-panel-1:#ffeaf4;--hero-panel-2:#fff5c8;--hero-panel-3:#e8fbff}
body.theme-biblioteca{--hero-panel-1:#e9e7ff;--hero-panel-2:#d7edf7;--hero-panel-3:#fff8eb}
body.theme-hub{--hero-panel-1:#e8f1ff;--hero-panel-2:#f3ebff;--hero-panel-3:#fff7d9}
body.theme-secundaria .hero h1 span{color:#3557ff} body.theme-preparatoria .hero h1 span{color:#e74396} body.theme-universidad .hero h1 span{color:#8f6a1d} body.theme-kinder .hero h1 span{color:#f25ca2} body.theme-biblioteca .hero h1 span{color:#6b63c8}
.shield-hero{max-width:168px;align-self:center;filter:drop-shadow(0 10px 24px rgba(31,47,74,.18))}
.edu-card-bottom a,.work-meta a,.links a{position:relative}
.edu-card-bottom a::after,.links a::after{content:"";position:absolute;left:0;bottom:-3px;width:100%;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .24s}.edu-card-bottom a:hover::after,.links a:hover::after{transform:scaleX(1)}
@keyframes gentleFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
.hero-art .osmac-window,.work-card:hover,.service-card:hover,.edu-card:hover,.g59-service-card:hover{animation:gentleFloat 5.6s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){.hero-art .osmac-window,.work-card:hover,.service-card:hover,.edu-card:hover,.g59-service-card:hover{animation:none}}
@media(max-width:1020px){.hero-grid{grid-template-columns:1fr !important}.osmac-window{width:100%}.osmac-window .screen-grid{grid-template-columns:1fr}.osmac-ribbon{width:min(1200px,calc(100% - 28px))}}
@media(max-width:720px){.wrap{width:min(1200px,calc(100% - 28px))}.hero-copy,.hero-art{padding:22px}.hero h1{font-size:clamp(2.55rem,12vw,4.05rem)}.osmac-window .poster h3{font-size:34px}.osmac-ribbon{padding:12px 14px}.service-grid,.work-grid,.process-grid{grid-template-columns:1fr !important}.panel-top-stats,.g59-summary{grid-template-columns:repeat(2,minmax(0,1fr)) !important}}
@media(max-width:520px){.panel-top-stats,.g59-summary,.field-row,.booking-shell{grid-template-columns:1fr !important}.osmac-window .poster{min-height:210px}.osmac-window .cta-row span{font-size:10px}}

/* V63 — contenido institucional y distribución elástica sin recortes */
.osmac-window{width:100%;max-width:640px;min-width:0;align-self:center}
.osmac-window .screen{min-width:0;display:block;padding:clamp(11px,1.4vw,17px)}
.osmac-window .screen-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(9px,1vw,14px);align-items:stretch;min-width:0}
.osmac-window .poster{height:auto;min-height:335px;min-width:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:14px;padding:clamp(12px,1.4vw,19px);overflow:visible}
.osmac-window .poster:before{inset:10px}
.osmac-window .poster .label{font-size:clamp(9px,.78vw,11px);line-height:1.45;max-width:100%;letter-spacing:.10em;overflow-wrap:break-word}
.osmac-window .poster-heading{margin:3px 0 1px;min-width:0;max-width:100%}
.osmac-window .poster h3{font-size:clamp(25px,2.4vw,38px);line-height:1.03;letter-spacing:-.06em;max-width:100%;margin:2px 0;overflow-wrap:break-word;word-break:normal}
.osmac-window .poster p{margin:0;max-width:100%;line-height:1.55;font-size:clamp(11px,.87vw,13px);overflow-wrap:break-word}
.osmac-window .tags{margin-top:auto;gap:6px;min-width:0;max-width:100%}
.osmac-window .tags span{font-size:10px;padding:6px 8px;white-space:normal}
.osmac-window .sidepanel{min-width:0;display:flex;flex-direction:column;justify-content:flex-start;gap:10px;padding:clamp(10px,1vw,16px)}
.osmac-window .infobox{min-width:0;padding:11px;overflow-wrap:break-word}
.osmac-window .infobox b{line-height:1.4;letter-spacing:.08em}
.osmac-window .infobox p{font-size:clamp(11px,.8vw,13px);line-height:1.55}
.osmac-window .shield{max-width:100%;height:clamp(125px,16vw,190px);flex:0 0 auto;display:grid;place-items:center}
.osmac-window .shield img{width:100%;height:100%;object-fit:contain}
.osmac-window .cta-row{margin-top:auto;gap:5px}
.osmac-window .cta-row span{padding:6px 9px;font-size:10px;letter-spacing:0}
.hero-art{height:auto!important;min-height:0!important;padding:clamp(12px,2vw,25px)!important;align-items:center!important;overflow:visible!important}
.osmac-window .toolbar .title{line-height:1.4;letter-spacing:.07em;overflow-wrap:break-word;min-width:0;text-align:right}
@media(max-width:1100px){.osmac-window .screen-grid{grid-template-columns:minmax(0,1fr) minmax(0,.9fr)}.osmac-window .poster{min-height:305px}}
@media(max-width:560px){.osmac-window .screen-grid{grid-template-columns:minmax(0,1fr)}.osmac-window .poster{min-height:0;gap:10px;padding:16px}.osmac-window .poster h3{font-size:clamp(28px,8.5vw,38px)}.osmac-window .sidepanel{padding:13px}.osmac-window .shield{height:175px}.osmac-window .cta-row{margin-top:0}.osmac-window .screen{padding:12px}}
