:root {
  color-scheme: light;
  --paper:#f2f8fd; --white:#ffffff; --ink:#082b54; --muted:#4e647b;
  --line:#d3e3ef; --accent:#076493; --lit:#7ce6f3;
  --sans:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --mono:ui-monospace,"SFMono-Regular",Consolas,monospace;
}
* { box-sizing:border-box }
body { margin:0; background:var(--paper); color:var(--ink); font:16px/1.55 var(--sans); -webkit-font-smoothing:antialiased }
a { color:inherit; text-decoration:none }
button,input { font:inherit }
:focus-visible { outline:3px solid #0087aa; outline-offset:4px }
section { scroll-margin-top:22px }
.shell { width:min(1216px, calc(100% - clamp(36px, 9vw, 112px))); margin-inline:auto }
.masthead { border-bottom:1px solid var(--line); background:var(--white) }
.masthead-inner { min-height:74px; display:grid; grid-template-columns:1fr auto; align-items:center; gap:24px }
nav { display:flex; gap:32px; color:var(--muted); font-size:14px; font-weight:580 }
nav a:hover { text-decoration:underline; text-underline-offset:4px }
.hero { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:clamp(25px,5vw,78px); align-items:center; padding-block:clamp(44px,6vw,90px) }
p,h1,h2,h3 { margin:0 }
.eyebrow,.micro,.card-top,.plan { font:650 11px/1.45 var(--mono); letter-spacing:.105em }
.eyebrow { display:flex; align-items:center; gap:9px; color:var(--accent) }
.eyebrow span { width:8px; height:8px; border:1.5px solid currentColor; flex:none }
h1 { margin:19px 0 24px; font-size:clamp(41px,5.05vw,76px); line-height:1.01; letter-spacing:-.075em; font-weight:740 }
.accent { color:var(--accent) }
.lede { max-width:455px; color:var(--muted); font-size:clamp(16px,1.55vw,20px); line-height:1.62 }
.button { display:inline-flex; align-items:center; gap:22px; background:var(--ink); color:#fff; margin-top:28px; padding:13px 17px; border-radius:5px; font-size:14px; font-weight:650 }
.button:hover { background:#064573 }
.button span { color:var(--lit); font-size:17px }
.hero-note { margin-top:34px; color:var(--muted); letter-spacing:.08em }
.hero-note span { color:var(--accent); font-size:15px; margin-right:5px }
.hero-illustration { min-width:0; margin:0; overflow:hidden; border:1px solid #1d2f38; border-radius:10px; box-shadow:0 22px 45px -24px #172a35a0 }
.hero-illustration img { display:block; width:100%; height:auto }
.catalogue { background:var(--white); border-block:1px solid var(--line); padding-block:clamp(45px,6vw,82px) }
.section-head { display:grid; grid-template-columns:1.6fr 1fr; gap:24px; align-items:end; margin-bottom:28px }
.section-head > p { max-width:365px; justify-self:end; color:var(--muted) }
h2 { margin-top:10px; font-size:clamp(31px,4vw,51px); font-weight:720; line-height:1.08; letter-spacing:-.06em; text-wrap:balance }
.cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%, 15rem),1fr)); border:1px solid var(--line); border-radius:7px; overflow:hidden }
.catalogue-note { color:var(--muted); font-size:14px; margin-top:14px }
.card { display:flex; flex-direction:column; align-items:flex-start; padding:clamp(18px,2.3vw,30px); min-width:0 }
.card + .card { border-left:1px solid var(--line) }
.card-top { width:100%; display:flex; justify-content:space-between; align-items:flex-start; gap:5px; color:var(--accent); margin-bottom:12px }
.card-top svg { width:48px; height:48px; flex:none; fill:none; stroke:var(--ink); stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round }
h3 { font-size:clamp(19px,1.8vw,24px); letter-spacing:-.04em; line-height:1.2 }
.card p { color:var(--muted); margin:9px 0 19px; font-size:15px; flex:1 }
.plan { color:var(--muted); letter-spacing:.06em }
.institution { display:grid; grid-template-columns:1fr 1fr; gap:clamp(24px,7vw,100px); padding-block:clamp(44px,6vw,85px) }
.uni-copy { margin-top:16px; max-width:400px; color:var(--muted) }
.institution ol { margin:0; padding:0; list-style:none; border-bottom:1px solid var(--line) }
.institution li { padding:15px 0; border-top:1px solid var(--line); display:flex; gap:15px }
.institution li b { color:var(--accent); font:650 12px/1.75 var(--mono) }
.institution li h3 { font-size:18px }
.institution li p { color:var(--muted); margin-top:5px; font-size:14px }
.about { padding-block:32px 49px; display:grid; grid-template-columns:1fr 1fr; gap:clamp(24px,7vw,100px); border-top:1px solid var(--line) }
.about p:not(.eyebrow) { margin-top:10px; color:var(--muted) }
footer { background:var(--ink); color:#e8edeb }
.footer-inner { padding-block:22px; display:flex; justify-content:space-between; gap:18px; align-items:center }
footer p { font-size:13px; color:#c5d0d1 }
@media(max-width:840px) {
  .hero { gap:22px }
  .card-top { flex-direction:column-reverse; gap:9px }
}
@media(max-width:675px) {
  .masthead-inner { gap:0 14px; padding-block:10px; min-height:0 }
  nav { grid-row:2; grid-column:1/-1; gap:22px; padding-top:9px }
  .hero,.section-head,.institution,.about,.cards { grid-template-columns:1fr }
  .hero { gap:29px }
  .hero-note { margin-top:21px }
  .section-head { gap:12px }
  .section-head > p { justify-self:start }
  .card + .card { border-left:0; border-top:1px solid var(--line) }
  .card-top { flex-direction:row }
  .footer-inner { align-items:flex-start; flex-direction:column }
}

/* Accesos del host PHP. */
.masthead-inner { grid-template-columns:1fr auto 1fr }
.landing-account { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:10px; font-size:14px; font-weight:650 }
.landing-account form { margin:0 }
.account-button { display:inline-block; border:1px solid #aeb8b7; border-radius:5px; background:var(--white); color:var(--ink); padding:8px 11px; cursor:pointer }
.account-button:hover { background:#e8ebe6 }
.landing-link { text-decoration:underline; text-underline-offset:3px }
.landing-notice { background:#f9edd8; color:#594119; text-align:center; padding:7px 14px; font-size:13px }
.landing-flash { margin-top:12px; padding:10px 14px; border:1px solid var(--line) }
.skip-link { position:absolute; left:12px; top:12px; z-index:2; padding:8px 12px; background:var(--white); transform:translateY(-150%) }
.skip-link:focus { transform:none }
.footer-links { color:#e8edeb; flex-wrap:wrap; gap:7px 12px; font-size:13px }
@media(max-width:980px) {
  .masthead-inner { grid-template-columns:1fr auto; gap:0 14px; padding-block:10px; min-height:0 }
  .masthead-inner nav { grid-row:2; grid-column:1/-1; flex-wrap:wrap; gap:8px 22px; padding-top:9px }
}
@media(max-width:675px) {
  .footer-links { padding-top:0; gap:7px 12px }
}

/* Presentaciones de simuladores */
.card-link{display:inline-block;margin-top:16px;font-weight:650;text-decoration:underline;text-underline-offset:4px}.showcase-head h1{max-width:20ch}.showcase-head .lead{margin-bottom:24px}.showcase-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));list-style:none;padding:0;gap:16px}.showcase-features li{padding:24px;background:var(--paper);border:1px solid var(--line);border-top:3px solid var(--gantry)}.showcase-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:24px 0}.showcase-gallery figure{margin:0;border:1px solid var(--line);background:var(--paper)}.showcase-gallery img{width:100%;height:280px;object-fit:contain;background:#eef6fc}.showcase-gallery figcaption{padding:16px;font-size:.94rem;color:var(--mute)}.showcase-empty{padding:48px 24px;border:1px dashed #a7c6de;border-radius:6px;background:#edf6fd;text-align:center}.showcase-empty>span{font-size:40px;color:var(--gantry)}.showcase-empty p{margin:auto}.showcase-editor-image{display:grid;grid-template-columns:180px 1fr;gap:20px;padding:20px 0;border-top:1px solid var(--line)}.showcase-editor-image img{width:180px;height:120px;object-fit:contain;background:#eaf3fb}
@media(max-width:650px){.showcase-features,.showcase-gallery{grid-template-columns:1fr}.showcase-gallery img{height:auto;max-height:420px}.showcase-editor-image{grid-template-columns:1fr}}

.showcase-gallery figure:only-child{grid-column:1/-1}.showcase-gallery figure:only-child img{height:auto;max-height:600px}

/* Precio y contratación del simulador de esta página. */
.showcase-offer{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 28px;margin:24px 0;border:1px solid #b9d7ed;border-left:4px solid #00bcd4;border-radius:8px;background:#fff;color:#0a2e58}.showcase-offer p{margin:0 0 8px}.showcase-offer p:last-child{margin-bottom:0}.showcase-price{font-size:clamp(1.35rem,3vw,1.9rem);font-weight:750;line-height:1.4}.showcase-period{font-size:1rem;font-weight:400;margin-left:8px}.showcase-offer .btn{flex-shrink:0}.showcase-offer button:disabled{opacity:.55;cursor:not-allowed}@media(max-width:640px){.showcase-offer{align-items:stretch;flex-direction:column;padding:20px}.showcase-offer .btn{text-align:center}}
