/* ============================================================
   Event ConnecTD — shared design system
   Brand: navy #185FA5 · dark navy #0D2137 · teal #1D9E75
   Type:  DM Sans
   ============================================================ */

:root {
  --navy: #185FA5;
  --navy-dark: #0D2137;
  --navy-darker: #0A1B2E;
  --teal: #1D9E75;
  --teal-bright: #2DBA8A;
  --bg-gray: #F7F9FC;
  --border: #E7EDF3;
  --text: #1A1A1A;
  --text-muted: #5A6B7A;
  --text-slate: #34465A;
  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }

.container { max-width: var(--maxw); margin: 0 auto; }
.eyebrow {
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal); font-weight: 700; margin: 0 0 14px;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.nav-logo img { height: 30px; width: auto; display: block; }
.nav-links {
  display: flex; align-items: center; gap: 30px;
  font-size: 15px; font-weight: 500; color: var(--text-slate);
}
.nav-links a { transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-signin {
  font-size: 15px; font-weight: 600; color: var(--text-slate);
  transition: color .15s;
}
.nav-signin:hover { color: var(--teal); }
.nav-cta {
  background: var(--teal); color: #fff; font-weight: 600; font-size: 15px;
  padding: 11px 22px; border-radius: 30px; white-space: nowrap;
  box-shadow: 0 2px 10px rgba(29,158,117,0.25);
  transition: transform .15s, box-shadow .15s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(29,158,117,0.32); color: #fff; }

/* Mobile hamburger nav */
.nav-toggle-cb { display: none; }
.nav-burger { display: none; cursor: pointer; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border); align-items: center; justify-content: center; flex-direction: column; gap: 5px; flex: none; background: #fff; }
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--navy-dark); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-mobile { display: none; }

/* ---------- BUTTONS ---------- */
.btn-primary {
  background: var(--teal); color: #fff; font-weight: 600; font-size: 16px;
  padding: 15px 30px; border-radius: 32px; display: inline-block;
  box-shadow: 0 4px 16px rgba(29,158,117,0.35);
  transition: transform .15s, box-shadow .15s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(29,158,117,0.45); color: #fff; }
.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.4); color: #fff; font-weight: 600; font-size: 16px;
  padding: 15px 30px; border-radius: 32px; display: inline-block;
  transition: background .15s, border-color .15s;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: #fff; color: #fff; }
.btn-outline-dark {
  border: 1.5px solid #CDD9E5; color: var(--navy-dark); font-weight: 600; font-size: 16px;
  padding: 14px 28px; border-radius: 32px; display: inline-block;
  transition: border-color .15s, color .15s;
}
.btn-outline-dark:hover { border-color: var(--teal); color: var(--teal); }
.btn-primary-lg {
  display: inline-block; background: var(--teal); color: #fff; font-weight: 600; font-size: 16px;
  padding: 15px 34px; border-radius: 32px; box-shadow: 0 4px 16px rgba(29,158,117,0.3);
  transition: transform .15s;
}
.btn-primary-lg:hover { transform: translateY(-2px); color: #fff; }
.btn-white {
  background: #fff; color: var(--navy-dark); font-weight: 700; font-size: 17px;
  padding: 16px 38px; border-radius: 32px; display: inline-block;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2); transition: transform .15s;
}
.btn-white:hover { transform: translateY(-2px); color: var(--navy-dark); }
.btn-text {
  color: #fff; font-weight: 600; font-size: 16px;
  border-bottom: 1.5px solid rgba(255,255,255,0.5); padding-bottom: 2px; display: inline-block;
}
.btn-text:hover { color: #fff; border-bottom-color: #fff; }

/* ---------- PAGE HERO (subpages) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy-darker) 0%, var(--navy-dark) 60%, #103257 120%);
  color: #fff; text-align: center; padding: 96px 40px 100px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; top: -160px; right: -120px; width: 520px; height: 520px;
  border-radius: 50%; background: radial-gradient(circle, rgba(45,186,138,0.14) 0%, rgba(45,186,138,0) 70%);
  pointer-events: none;
}
.page-hero-inner { max-width: 880px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero h1 {
  font-weight: 800; font-size: 56px; line-height: 1.05; margin: 0 0 22px; letter-spacing: -0.015em;
}
.page-hero p { font-size: 20px; line-height: 1.6; margin: 0 auto; max-width: 60ch; color: #C5D8E8; }

/* ---------- CLOSING CTA BAND ---------- */
.footer-cta {
  background: var(--teal); color: #fff; padding: 100px 40px;
  position: relative; overflow: hidden; text-align: center;
}
.footer-cta-ring-1 { position: absolute; top: -140px; left: -80px; width: 380px; height: 380px; border: 1.5px solid rgba(255,255,255,0.14); border-radius: 50%; }
.footer-cta-ring-2 { position: absolute; bottom: -180px; right: -60px; width: 440px; height: 440px; border: 1.5px solid rgba(255,255,255,0.1); border-radius: 50%; }
.footer-cta-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.footer-cta .eyebrow { color: rgba(255,255,255,0.85); }
.footer-cta h2 { font-weight: 800; font-size: 48px; line-height: 1.1; margin: 0 0 20px; letter-spacing: -0.015em; }
.footer-cta > .footer-cta-inner > p { font-size: 19px; line-height: 1.6; margin: 0 0 36px; color: #E4F5EE; }
.footer-cta-btns { display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* ---------- FOOTER ---------- */
footer { background: var(--navy-dark); color: #fff; padding: 72px 40px 40px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo img { height: 34px; filter: brightness(0) invert(1); display: block; margin-bottom: 18px; }
.footer-tagline { margin: 0; font-size: 15px; line-height: 1.6; color: #8FB0CC; max-width: 26ch; }
.footer-col-label { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #5F86A8; margin: 0 0 16px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; font-size: 15px; color: #C5D8E8; }
.footer-links a { transition: color .15s; }
.footer-links a:hover { color: var(--teal-bright); }
.footer-disclaimer { margin: 28px 0 0; font-size: 13.5px; font-style: italic; color: #8FB0CC; line-height: 1.6; max-width: 70ch; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 24px; font-size: 13.5px; color: #5F86A8; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { transition: color .15s; }
.footer-bottom-links a:hover { color: #C5D8E8; }

/* ---------- RESPONSIVE (shared) ---------- */
@media (max-width: 900px) {
  .nav-inner { padding: 12px 20px; gap: 12px; }
  .nav-links { display: none; }
  .nav-signin { display: none; }
  .nav-cta { padding: 10px 16px; font-size: 14px; }
  .nav-burger { display: flex; }
  #nav-toggle:checked ~ .nav-inner .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  #nav-toggle:checked ~ .nav-inner .nav-burger span:nth-child(2) { opacity: 0; }
  #nav-toggle:checked ~ .nav-inner .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  #nav-toggle:checked ~ .nav-mobile { display: flex; }
  .nav-mobile { flex-direction: column; border-top: 1px solid var(--border); background: #fff; padding: 8px 20px 16px; }
  .nav-mobile a { padding: 13px 4px; font-size: 16px; font-weight: 600; color: var(--text-slate); border-bottom: 1px solid #F0F4F8; }
  .nav-mobile a:last-child { border-bottom: none; }
  .nav-mobile a.active { color: var(--teal); }
  .nav-mobile .m-signin { color: var(--navy); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-links a, .footer-tagline { overflow-wrap: anywhere; }
  footer { padding: 56px 24px 32px; }
  .footer-cta { padding: 72px 24px; }
  .footer-cta h2 { font-size: 34px; }
  .page-hero h1 { font-size: 38px; }
  .page-hero { padding: 72px 24px 80px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- LEGAL / PROSE PAGES ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 72px 40px 96px; }
.legal .updated { font-size: 14px; color: #8093A4; margin: 0 0 8px; }
.legal .intro { font-size: 17px; line-height: 1.75; color: #46586B; margin: 0 0 8px; }
.legal h2 { font-weight: 700; font-size: 23px; color: #0D2137; margin: 40px 0 12px; letter-spacing: -0.01em; }
.legal h3 { font-weight: 700; font-size: 17px; color: #0D2137; margin: 24px 0 8px; }
.legal p, .legal li { font-size: 16px; line-height: 1.75; color: #46586B; }
.legal ul { padding-left: 22px; margin: 0 0 16px; }
.legal li { margin-bottom: 8px; }
.legal a { color: #1D9E75; font-weight: 600; }
.legal .ph { background: #FFF6E5; border: 1px dashed #E8C572; border-radius: 4px; padding: 0 6px; font-size: 0.92em; color: #8a6d1f; font-weight: 600; }

/* ---------- SERVICE DETAIL PAGES ---------- */
.detail-section { padding: 88px 40px; }
.detail-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; max-width: 1180px; margin: 0 auto; }
.detail-grid .eyebrow { margin-bottom: 14px; }
.detail-grid h2 { font-weight: 700; font-size: 34px; line-height: 1.15; margin: 0 0 18px; letter-spacing: -0.01em; color: #0D2137; }
.detail-lead { font-size: 18px; line-height: 1.7; color: #46586B; margin: 0 0 28px; }
.detail-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.detail-features li { display: flex; gap: 14px; align-items: flex-start; }
.detail-features .ic { width: 40px; height: 40px; flex: none; border-radius: 11px; background: #F2FBF7; border: 1px solid #D6F0E5; display: flex; align-items: center; justify-content: center; color: #1D9E75; }
.detail-features h4 { margin: 0 0 3px; font-size: 16px; font-weight: 700; color: #0D2137; }
.detail-features p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #5A6B7A; }
.detail-aside { background: linear-gradient(165deg,#0D2137,#103257); color: #fff; border-radius: 22px; padding: 40px; position: relative; overflow: hidden; }
.detail-aside::after { content: ""; position: absolute; bottom: -80px; right: -60px; width: 240px; height: 240px; border: 1.5px solid rgba(45,186,138,0.18); border-radius: 50%; }
.detail-aside .big { font-weight: 800; font-size: 52px; line-height: 1; margin: 0; color: #2DBA8A; letter-spacing: -0.02em; }
.detail-aside .big-label { font-size: 16px; color: #C5D8E8; margin: 10px 0 26px; }
.detail-aside .aside-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; position: relative; z-index: 1; }
.detail-aside .aside-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: #C5D8E8; }
.detail-aside .aside-list svg { flex: none; margin-top: 2px; color: #2DBA8A; }

.steps-section { background: #F7F9FC; padding: 88px 40px; }
.steps-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.steps-head h2 { font-weight: 700; font-size: 34px; line-height: 1.12; margin: 0; letter-spacing: -0.01em; color: #0D2137; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.step-tile { position: relative; background: #fff; border: 1px solid #E7EDF3; border-radius: 18px; padding: 32px 28px; overflow: hidden; }
.step-tile .num { position: absolute; top: 4px; right: 16px; font-weight: 800; font-size: 96px; line-height: 1; color: #1D9E75; opacity: 0.08; }
.step-tile h3 { position: relative; font-weight: 700; font-size: 19px; margin: 0 0 10px; color: #0D2137; }
.step-tile p { position: relative; margin: 0; font-size: 15px; line-height: 1.6; color: #5A6B7A; }

@media (max-width: 900px) {
  .legal { padding: 56px 24px 72px; }
  .detail-section, .steps-section { padding: 60px 24px; }
  .detail-grid { grid-template-columns: 1fr; gap: 36px; }
  .detail-aside { padding: 32px; }
  .steps-grid { grid-template-columns: 1fr; }
}
