/* Regulating Security in Cyberspace 2025 — réplica estática del diseño Helix Ultimate / SP Page Builder */
:root {
  --navy: #002855; --blue: #235d80; --sky: #5d88b9; --grey: #7a8793;
  --light: #f5f5f5; --mist: rgba(233,236,239,.5); --text: #333; --dark: #232225;
  --f-body: "Montserrat", system-ui, sans-serif; --f-head: "Inter", system-ui, sans-serif;
  --f-alt: "Hind", system-ui, sans-serif; --f-btn: "Roboto", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.6 var(--f-body); color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
svg { width: 1em; height: 1em; fill: currentColor; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
h1, h2, h3, h4, h5 { font-family: var(--f-head); color: var(--navy); line-height: 1.2; margin: 0 0 .6em; }
.container { width: min(100% - 30px, 1140px); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .5rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; }
.center { text-align: center; }

.btn { display: inline-block; padding: 8px 20px; border-radius: 4px; background: var(--grey); color: #fff; font: 700 16px/1.6 var(--f-btn); text-transform: uppercase; text-decoration: none; letter-spacing: .02em; transition: background-color .2s; }
.btn:hover { background: var(--navy); color: #fff; }
.btns { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; margin-top: 25px; }

/* cabecera */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 0 6px rgba(0,0,0,.08); }
.hdr { display: flex; align-items: center; justify-content: space-between; min-height: 90px; }
.logo img { width: 160px; }
.nav ul { list-style: none; display: flex; margin: 0; padding: 0; }
.nav a { display: block; padding: 0 15px; line-height: 90px; font: 500 16px/90px var(--f-head); color: var(--blue); text-decoration: none; }
.nav a:hover, .nav a[aria-current] { color: var(--navy); }
.nav a[aria-current] { font-weight: 700; }
.nav-toggle { display: none; background: none; border: 0; color: var(--blue); font-size: 28px; cursor: pointer; padding: 6px; }

/* hero */
.hero { background-size: cover; background-position: center; padding: 70px 0; min-height: 600px; display: flex; align-items: center; }
.hero-box { max-width: 920px; margin: 0 auto; padding: 45px 50px 40px; background: rgba(255,255,255,.75); text-align: center; }
.project { font: 700 18px/1.4 var(--f-head); color: #111; margin-bottom: 20px; }
.hero-logos { max-width: 440px; margin: 0 auto 30px; }
.hero h1 { font-size: 50px; font-weight: 800; line-height: 1.2; }
.h4 { font: 800 20px/1.4 var(--f-alt); color: var(--text); margin: 0 0 12px; }
.date { margin-bottom: 0; }

/* secciones */
.sec { padding: 80px 0; }
.sec-grey { background: var(--mist); }
.sec-light { background: var(--light); }
.sec-blue { background: var(--sky); color: #fff; text-align: center; }
.sec-blue .sec-h { color: #fff; }
.sec-h { font-size: 37px; font-weight: 900; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.two p { text-align: justify; }
.two .btn { margin-top: 10px; }
.rounded { border-radius: 8px; width: 100%; }
.join { max-width: 760px; }
.join p { font-size: 18px; margin-bottom: 25px; }
.sec-blue .btn { background: #fff; color: var(--navy); }
.sec-blue .btn:hover { background: var(--navy); color: #fff; }
.timeline-head { display: flex; align-items: center; justify-content: center; gap: 18px; color: var(--navy); }
.timeline-head svg { width: 44px; height: 44px; margin-bottom: .6em; }
.timeline { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: tl; position: relative; }
.timeline::before { content: ""; position: absolute; top: 14px; left: 16%; right: 16%; height: 3px; background: var(--sky); }
.timeline li { position: relative; text-align: center; padding-top: 45px; }
.timeline li::before { content: ""; position: absolute; top: 4px; left: 50%; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: #fff; border: 5px solid var(--navy); }
.timeline p { margin: 0 0 8px; }
.tl-date { font: 800 24px/1.2 var(--f-head); color: var(--navy); }
.committee { display: grid; grid-template-columns: repeat(5, 1fr); gap: 25px; margin-top: 30px; }
.member { margin: 0; text-align: center; }
.member img { border-radius: 5px; margin-bottom: 15px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.member h3 { font: 800 20px/1.3 var(--f-alt); color: var(--text); margin: 0 0 4px; }
.member p { margin: 0; font-size: 15px; }
.joint { max-width: 980px; margin: 0 auto 30px; }
.wide-img { margin: 0 auto 20px; }

/* páginas interiores */
.page { display: grid; grid-template-columns: 255px 1fr; gap: 30px; padding: 50px 0 80px; }
.sidebar .side-h { font: 700 20px/1.3 var(--f-head); color: var(--navy); margin-bottom: 15px; }
.sidebar ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid #e5e5e5; }
.sidebar li { border-bottom: 1px solid #e5e5e5; }
.sidebar a { display: block; padding: 10px 0; color: var(--text); text-decoration: none; font-size: 15px; }
.sidebar a:hover, .sidebar a[aria-current] { color: var(--blue); }
.sidebar a[aria-current] { font-weight: 700; }
.content { min-width: 0; }
.page-title { font-size: 40px; font-weight: 800; margin-bottom: 30px; }
.content h2 { font-size: 28px; font-weight: 800; margin-top: 1.6em; }
.content h3 { font-size: 21px; font-weight: 700; margin-top: 1.4em; }
.content h4 { font-size: 18px; font-weight: 700; }
.content p, .content li { text-align: justify; }
.content ul, .content ol { padding-left: 1.3rem; }
.content li { margin-bottom: .35rem; }
.content > p:first-of-type img { margin-top: 0; }
.topics { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0 25px; }
.topic { background: var(--light); border-left: 4px solid var(--blue); padding: 18px 22px 8px; }
.topic h3 { font-size: 17px; margin: 0 0 10px; }
.topic li { text-align: left; }
.venue { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.venue-card img { margin-bottom: 15px; border-radius: 4px; }
.venue-card h3 { margin-top: 0; }
.hotels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.hotel img { margin-bottom: 12px; border-radius: 4px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.hotel h4 { font-size: 17px; margin-bottom: 6px; }
.hotel p { margin: 0 0 4px; text-align: left; }
.links-list li { text-align: left; margin-bottom: .8rem; word-break: break-word; }
.bank li { text-align: left; }
.closed { background: var(--light); border-left: 4px solid var(--grey); padding: 20px 25px; }
.closed p { margin: 0 0 6px; }
.prog-links { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 30px; }
.prog-title { margin-top: 0 !important; font-size: 26px !important; }
.day { margin-top: 35px; }
.day-h { background: var(--navy); color: #fff; padding: 10px 18px; font-size: 22px !important; margin: 0 0 15px !important; border-radius: 3px; }
.day-intro { font-style: italic; }
.session { padding: 14px 0 6px; border-bottom: 1px solid #e5e5e5; }
.session h3 { font-size: 19px !important; margin: 0 0 10px !important; color: var(--navy); }
.session h3 em { font-style: italic; }
.time { color: var(--blue); }
.session.break h3 { color: var(--grey); font-size: 16px !important; }
.chair { margin: 0 0 10px; }
.page-404 { padding: 80px 0; text-align: center; }

/* pie */
.site-footer { background: var(--dark); color: #fff; font-size: 14px; }
.ftr { display: grid; grid-template-columns: 1fr 1fr 1.3fr 1fr; gap: 30px; padding: 60px 0 40px; }
.ft-h { font-weight: 700; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.copy { border-top: 1px solid #3a393c; padding: 18px 0; font-size: 13px; color: #bbb; }
.to-top { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 4px; background: var(--navy); color: #fff; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .2s; font-size: 24px; z-index: 40; }
.to-top.show { opacity: 1; pointer-events: auto; }

@media (max-width: 1100px) { .nav a { padding: 0 9px; font-size: 14px; } }
@media (max-width: 991px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 8px 12px rgba(0,0,0,.1); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 10px 15px 20px; }
  .nav a { line-height: 1.4; padding: 12px 5px; border-bottom: 1px solid #eee; font-size: 16px; }
  .hero h1 { font-size: 36px; }
  .two, .venue, .topics { grid-template-columns: 1fr; }
  .committee { grid-template-columns: repeat(3, 1fr); }
  .hotels { grid-template-columns: repeat(2, 1fr); }
  .page { grid-template-columns: 1fr; }
  .sidebar { order: 2; }
  .ftr { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 30px 0; min-height: 0; }
  .hero-box { padding: 28px 18px; }
  .hero h1 { font-size: 27px; }
  .btns { justify-content: center; }
  .sec { padding: 55px 0; }
  .sec-h { font-size: 30px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .committee { grid-template-columns: repeat(2, 1fr); }
  .hotels { grid-template-columns: 1fr; }
  .page-title { font-size: 30px; }
  .content p, .content li { text-align: left; }
  .ftr { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.closed-note { margin: 18px 0 0 !important; font-size: 15px !important; opacity: .9; }
