/* ===== Neuro Synergy 2026 - styles ===== */
:root {
  --navy: #0a2a5c;
  --navy-deep: #06204a;
  --ink: #0b2447;
  --muted: #182638;
  --teal: #14b8a6;
  --teal-dark: #0f9e8e;
  --ice: #e9f5fb;
  --ice-2: #dff0f7;
  --line: #cfe3ec;
  --white: #ffffff;
  --neuron-img: url('neuron.png');
  --font: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6
}

h1,
h2,
h3,
p {
  margin: 0
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.15;
  text-wrap: balance
}

a {
  color: inherit
}

img {
  max-width: 100%
}

svg {
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px))
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--teal);
  color: #fff;
  font-family: var(--font);
  font-weight: 600;
  border: 0;
  border-radius: 999px;
  padding: 12px 28px;
  text-decoration: none;
  cursor: pointer;
  font-size: 1rem
}

.btn:hover {
  background: var(--teal-dark)
}

.btn.small {
  padding: 9px 15px;
  font-size: .85rem
}

.btn.big {
  padding: 16px 38px;
  font-size: 1.1rem;
  margin-top: 30px
}

.btn.ghost {
  background: transparent;
  color: var(--teal-dark);
  border: 2px solid var(--teal);
  margin-top: 18px
}

.btn.ghost:hover {
  background: var(--teal);
  color: #fff
}

/* ===== Header ===== */
header.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: #fff;
  box-shadow: 0 1px 0 var(--line)
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
  padding-block: 8px
}

.brand img {
  height: 30px;
  width: auto;
  display: block
}

nav.links {
  display: flex;
  gap: 26px;
  margin: 0 auto;
  font-size: 1rem;
  font-weight: 600
}

nav.links a {
  text-decoration: none;
  color: var(--navy);
  padding-block: 4px
}

nav.links a.active,
nav.links a:hover {
  color: var(--teal-dark)
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ice)
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('banner.png') right center / auto 100% no-repeat
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(233, 245, 251, .96) 0%, rgba(233, 245, 251, .88) 34%, rgba(233, 245, 251, 0) 62%)
}

.hero .wrap {
  position: relative;
  z-index: 1;
  padding-block: 56px 64px
}

.hero-text {
  max-width: 600px
}

.dept {
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--navy);
  line-height: 1.6
}

.inv {
  color: var(--muted);
  margin-top: 4px;
  font-size: 1rem
}

.hero h1 {
  font-size: clamp(2.7rem, 7.4vw, 4.7rem);
  font-weight: 800;
  letter-spacing: -.025em;
  margin-top: 12px
}

.hero h1 span {
  display: block;
  color: var(--teal)
}

.tag {
  display: inline-block;
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  font-weight: 500;
  color: var(--navy);
  margin-top: 18px;
  padding-bottom: 16px;
  position: relative
}

.tag::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 78px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 36px;
  margin-top: 28px
}

.fact {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0
}

.fact i {
  flex: none;
  width: 32px;
  text-align: center;
  font-size: 28px;
  color: var(--navy);
  margin-top: 2px
}

.fact b {
  display: block;
  font-size: .95rem;
  color: var(--navy);
  line-height: 1.3
}

.fact span {
  font-size: .92rem;
  color: var(--navy);
  line-height: 1.3;
  display: block
}

/* ===== About ===== */
.about {
  background: linear-gradient(180deg, #f2fafd, #e9f5fb)
}

.about .wrap {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: center;
  padding-block: 56px
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 18px
}

.about p {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
}

.about p+p {
  margin-top: 12px
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px
}

.pillar {
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 8px;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4
}

.pillar i {
  display: block;
  margin: 0 auto 12px;
  font-size: 34px;
  color: var(--teal)
}

/* ===== Chairman ===== */
.chair {
  background: var(--ice-2)
}

.chair .wrap {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-block: 40px;
  flex-wrap: wrap
}

.photo {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--teal);
  background: #fff;
  flex: none
}

.chair .label {
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
}

.chair h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  margin-top: 4px
}

.chair .role {
  font-weight: 600;
  color: var(--navy);
  margin-top: 8px;
  font-size: 1.05rem
}

.chair .dept2 {
  font-weight: 500;
  color: var(--ink);
  margin-top: 14px;
  font-size: .9rem
}

/* ===== Highlights ===== */
.hl {
  position: relative;
  overflow: hidden;
  background: #f6fbfd
}

.hl::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(42%, 480px);
  background: var(--neuron-img) center right / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0, #000 45%)
}

.hl .wrap {
  position: relative;
  z-index: 1
}

.hl .wrap {
  padding-block: 44px 52px
}

.hl h2 {
  font-size: 1.9rem;
  margin-bottom: 26px
}

.hl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 780px
}

.hl-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 0
}

.hl-item .ic {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 4px 14px rgba(20, 184, 166, .15)
}

.hl-item i {
  font-size: 32px;
  color: var(--navy)
}

.hl-item span {
  font-weight: 600;
  font-size: .85rem;
  color: var(--navy);
  line-height: 1.4
}

/* ===== Registration ===== */
.reg {
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 70%, var(--navy-deep) 70%, var(--navy-deep) 100%);
  color: #fff
}

.reg .wrap {
  display: grid;
  grid-template-columns: 2.3fr 1fr;
  gap: 0;
  padding-inline: 0;
  max-width: 1120px
}

.reg-form {
  padding: 48px 40px 52px max(16px, env(safe-area-inset-left, 0px))
}

.reg-side {
  padding: 48px max(16px, env(safe-area-inset-right, 0px)) 52px 24px;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  background: var(--navy-deep)
}

.reg h2 {
  color: #fff;
  font-size: 1.9rem
}

.reg .sub {
  margin: 12px 0 26px;
  font-size: .88rem;
  color: #dbe8f7
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px
}

.f {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0
}

.f.full {
  grid-column: 1/-1
}

label {
  font-size: .75rem;
  font-weight: 600
}

input,
select,
textarea {
  font: inherit;
  font-size: .88rem;
  background: #fff;
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 11px 12px;
  width: 100%;
  min-width: 0
}

input::placeholder,
textarea::placeholder {
  color: #94a3b8
}

textarea {
  min-height: 96px;
  resize: vertical
}

input[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: #ff7a7a
}

.err {
  color: #ff9d9d;
  font-size: .75rem;
  min-height: 1em
}

.consent {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: .78rem;
  font-weight: 400
}

.consent input {
  width: 16px;
  height: 16px;
  flex: none;
  padding: 0
}

.btn.submit {
  width: 100%;
  margin-top: 18px;
  padding: 15px;
  border-radius: 8px;
  font-size: .95rem
}

.ok {
  display: none;
  background: #d6f1ee;
  color: var(--navy);
  border-radius: 12px;
  padding: 22px
}

.ok.show {
  display: block
}

.ok b {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 6px
}

.side-img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto;
  border-radius: 12px
}

.perks {
  list-style: none;
  margin-top: 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px
}

.perks li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: .78rem;
  font-weight: 500
}

.perks i {
  flex: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: #fff;
  background: var(--teal);
  border-radius: 50%
}

/* ===== Venue ===== */
.venue {
  background: linear-gradient(180deg, #f2fafd, #e9f5fb)
}

.venue .wrap {
  padding-block: 40px 48px
}

.venue h2 {
  font-size: 1.9rem;
  margin-bottom: 22px
}

.venue-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 44px;
  align-items: center
}

.venue-img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(10, 42, 92, .18);
  background: var(--ice-2)
}

.venue-info {
  display: flex;
  gap: 14px;
  align-items: flex-start
}

.venue-info .pin {
  flex: none;
  font-size: 30px;
  color: var(--navy);
  margin-top: 4px;
  width: 30px;
  text-align: center
}

.venue-info h3 {
  font-size: 1.4rem;
  line-height: 1.3
}

/* ===== Footer ===== */
footer {
  background: #fff;
  border-top: 1px solid var(--line)
}

footer .wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 32px;
  padding-block: 34px;
  align-items: center
}

footer h3 {
  font-size: .95rem;
  margin-bottom: 14px
}

footer p {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  font-size: .9rem;
  font-weight: 500;
  overflow-wrap: anywhere
}

footer a {
  text-decoration: none
}

footer .dot {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal);
  flex: none
}

footer .dot i {
  font-size: 13px;
  color: #fff
}

footer .web {
  border-left: 1px solid var(--line);
  padding-left: 32px
}

footer .web i {
  flex: none;
  width: 20px;
  text-align: center;
  font-size: 18px;
  color: var(--navy)
}

footer .logo img {
  height: 50px;
  width: auto;
  display: block
}

/* ===== Responsive ===== */
@media (max-width:900px) {
  nav.links {
    display: none
  }

  .nav .btn.small {
    margin-left: auto
  }

  .hero::before {
    background-position: 70% center;
    background-size: cover
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(233, 245, 251, .92) 0%, rgba(233, 245, 251, .8) 60%, rgba(233, 245, 251, .35) 100%)
  }

  .about .wrap,
  .venue-grid {
    grid-template-columns: 1fr
  }

  .reg {
    background: var(--navy)
  }

  .reg .wrap {
    grid-template-columns: 1fr
  }

  .reg-form {
    padding: 40px max(16px, env(safe-area-inset-left, 0px))
  }

  .reg-side {
    padding: 32px max(16px, env(safe-area-inset-right, 0px));
    flex-direction: column
  }

  .hl-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .hl::before {
    width: 70%;
    opacity: .5
  }

  footer .wrap {
    grid-template-columns: 1fr
  }

  footer .web {
    border-left: 0;
    padding-left: 0
  }
}

@media (max-width:560px) {
  .grid {
    grid-template-columns: 1fr
  }

  .pillars {
    grid-template-columns: 1fr
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }
}