/* ===== DEABEA — shared styles ===== */
:root {
  --navy: #123a6d;
  --navy-dark: #0c2a50;
  --blue: #2f9fd8;
  --blue-light: #5bc6ee;
  --ink: #23303f;
  --muted: #5b6b7c;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --line: #dde5ec;
  --max: 1120px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(12, 42, 80, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

h1, h2, h3, h4 { font-family: 'Poppins', 'Segoe UI', Arial, sans-serif; color: var(--navy); line-height: 1.25; }

img { max-width: 100%; display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15.5px;
  letter-spacing: 0.2px; padding: 6px 0; border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav a:hover { color: var(--blue); }
.nav a.active { color: var(--navy); border-bottom-color: var(--blue); }
.nav .btn { border-bottom: none; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  font-family: 'Poppins', sans-serif; font-size: 15.5px;
  padding: 13px 30px; border-radius: 6px; cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  border: none;
}
.btn-primary { background: var(--blue); color: #fff !important; }
.btn-primary:hover { background: #2589bd; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: #fff !important; border: 2px solid rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-navy { background: var(--navy); color: #fff !important; }
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-1px); box-shadow: var(--shadow); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, #1d5a9e 100%);
  color: #fff; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -140px; bottom: -190px;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(91,198,238,.22) 0%, rgba(91,198,238,0) 70%);
}
.hero .container { padding: 96px 24px 104px; position: relative; z-index: 1; }
.hero .eyebrow {
  display: inline-block; font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: 13.5px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--blue-light); margin-bottom: 18px;
}
.hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 52px); font-weight: 700; max-width: 780px; }
.hero p.lead { font-size: clamp(18px, 2vw, 21px); color: #d4e4f2; max-width: 680px; margin: 24px 0 36px; }
.hero .cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* Inner-page hero (smaller) */
.hero.hero-sm .container { padding: 64px 24px 68px; }

/* ===== Sections ===== */
section.block { padding: 84px 0; }
section.block.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head .eyebrow {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 18px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ===== Cards ===== */
.grid { display: grid; gap: 26px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
}
.card .icon svg { width: 26px; height: 26px; stroke: #fff; }
.card h3 { font-size: 19.5px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* ===== Stats band ===== */
.stats { background: var(--navy); color: #fff; padding: 56px 0; }
.stats .grid { grid-template-columns: repeat(4, 1fr); text-align: center; }
.stats .num { font-family: 'Poppins', sans-serif; font-size: 40px; font-weight: 700; color: var(--blue-light); }
.stats .lbl { font-size: 15px; color: #c7d9ea; margin-top: 4px; }

/* ===== About / two-column ===== */
.two-col { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; align-items: center; }
.two-col .photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.two-col h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 18px; }
.two-col p { color: var(--muted); margin-bottom: 16px; }
.check-list { list-style: none; margin: 22px 0 30px; }
.check-list li { padding-left: 32px; position: relative; margin-bottom: 12px; color: var(--ink); }
.check-list li strong { color: var(--navy); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ===== Quote band ===== */
.quote-band { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); color: #fff; padding: 72px 0; text-align: center; }
.quote-band blockquote { font-family: 'Poppins', sans-serif; font-size: clamp(20px, 2.6vw, 28px); font-weight: 500; max-width: 840px; margin: 0 auto 14px; line-height: 1.5; }
.quote-band cite { color: var(--blue-light); font-style: normal; font-size: 16px; }

/* ===== CTA band ===== */
.cta-band { background: var(--bg-soft); text-align: center; padding: 84px 0; }
.cta-band h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 14px; }
.cta-band p { color: var(--muted); max-width: 620px; margin: 0 auto 32px; font-size: 18px; }

/* ===== Speaker page ===== */
.topics { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 8px; }
.topics li {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue);
  border-radius: 8px; padding: 20px 24px; font-family: 'Poppins', sans-serif;
  font-weight: 600; color: var(--navy); font-size: 16.5px;
}
.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; }
.gallery figure { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 0; }
.gallery figure.tall { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px;
  background: linear-gradient(transparent, rgba(12,42,80,.85)); color: #fff; font-size: 14px;
}
.events { border-left: 3px solid var(--line); margin-left: 8px; padding-left: 34px; }
.event { position: relative; margin-bottom: 34px; }
.event::before {
  content: ""; position: absolute; left: -43px; top: 6px; width: 15px; height: 15px;
  border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--blue);
}
.event .date { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px; color: var(--blue); letter-spacing: 1px; text-transform: uppercase; }
.event h3 { font-size: 19px; margin: 4px 0 2px; }
.event p { color: var(--muted); font-size: 15.5px; }

/* ===== Contact page ===== */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: 26px; margin-bottom: 18px; }
.info-item { display: flex; gap: 16px; margin-bottom: 24px; }
.info-item .icon {
  flex: 0 0 46px; height: 46px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex; align-items: center; justify-content: center;
}
.info-item .icon svg { width: 22px; height: 22px; stroke: #fff; }
.info-item h4 { font-size: 16px; margin-bottom: 2px; }
.info-item p, .info-item a { color: var(--muted); font-size: 15.5px; text-decoration: none; }
.info-item a:hover { color: var(--blue); }
.reg-note { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; font-size: 13.5px; color: var(--muted); margin-top: 8px; }

.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 38px; box-shadow: var(--shadow);
}
.contact-form h2 { font-size: 24px; margin-bottom: 6px; }
.contact-form > p { color: var(--muted); margin-bottom: 26px; font-size: 15.5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14.5px; color: var(--navy); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px;
  font-family: inherit; font-size: 15.5px; color: var(--ink); background: #fdfefe;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,159,216,.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-status { margin-top: 16px; font-size: 15px; font-weight: 600; display: none; }
.form-status.ok { display: block; color: #1a7f4e; }
.form-status.err { display: block; color: #b33636; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-dark); color: #b9cbdd; padding: 56px 0 28px; font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 44px; margin-bottom: 40px; }
.site-footer img { height: 46px; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: #b9cbdd; text-decoration: none; }
.site-footer a:hover { color: var(--blue-light); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; font-size: 13.5px; color: #8aa2ba; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .grid.cols-3 { grid-template-columns: 1fr; }
  .grid.cols-2, .stats .grid { grid-template-columns: repeat(2, 1fr); }
  .two-col, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure.tall { grid-row: auto; }
  .topics { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 30px; }
  .form-row { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 78px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: flex-start; gap: 0;
    border-bottom: 1px solid var(--line); display: none; padding: 10px 24px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; }
}
