:root {
  --bg: #ffffff;
  --primary: #e34236;
  --dark: #013e5d;
  --accent: #33bae7;
  --muted: #6b7d8d;
  --border: #e8eef3;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
}

.topnav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.6); border-bottom: 1px solid var(--border); }
.topnav .container { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; }
.topnav .logo { font-weight: 700; color: var(--dark); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .06em; }
.brand-mark { width: 28px; height: 18px; border-radius: 4px; background: linear-gradient(90deg, var(--primary) 0 50%, var(--accent) 50% 100%); flex-shrink: 0; }
.topnav .nav-links a { color: var(--muted); text-decoration: none; margin-left: 18px; }
.topnav .nav-links a:hover { color: var(--accent); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

h1 { font-size: 40px; line-height: 1.2; margin: 0 0 18px; }
h2 { font-size: 28px; line-height: 1.3; margin: 0 0 16px; }
.upper-center { text-transform: uppercase; text-align: center; }
h3 { font-size: 20px; line-height: 1.3; margin: 0 0 10px; }
p { margin: 0 0 12px; color: var(--muted); }
.list { padding-left: 18px; margin: 0 0 12px; }
.list li { margin: 6px 0; color: var(--muted); }

.hero { padding: 72px 0; background: linear-gradient(180deg, rgba(51,186,231,0.08), rgba(255,255,255,0)); }
.hero .container { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.hero .badge { display: inline-block; background: rgba(51,186,231,0.08); color: #013e5d; padding: 8px 12px; border-radius: 999px; margin: 10px 0 20px; font-weight: 600; }
.hero .cta { display: flex; gap: 12px; justify-content: center; }
.hero-media img { width: 100%; border-radius: 12px; box-shadow: 0 8px 24px rgba(1,62,93,0.15); }

.hero-full { position: relative; min-height: 88vh; display: flex; align-items: center; }
.hero-full::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,62,93,0.50), rgba(1,62,93,0.35)); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-center { position: relative; z-index: 1; text-align: center; }
.hero-title { color: var(--accent); font-size: 48px; line-height: 1.15; margin-bottom: 14px; }
.hero-sub { color: #e6f0f6; font-size: 18px; }
.badge-on-dark { background: rgba(51,186,231,0.12); color: #fff; }
.btn-lg { padding: 12px 30px; font-size: 16px; text-transform: uppercase; letter-spacing: .02em; }

.section { padding: 48px 0; }
.section.alt { background: rgba(1,62,93,0.04); }
.section.overlap { margin-top: -12vh; position: relative; z-index: 2; }
.overlap-wrap { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 16px; box-shadow: 0 12px 30px rgba(1,62,93,0.15); transform: translateY(calc(-33% + 80px)); }
.title-note { display: flex; flex-direction: column; align-items: center; gap: 20px; margin: 12px 0 48px; }
.title-note .line { width: 440px; height: 3px; background: var(--primary); border-radius: 2px; }
.title-note .note { color: var(--muted); font-size: 14px; text-align: center; }

.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.media-col .stack { margin-top: 14px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px; box-shadow: 0 2px 8px rgba(1,62,93,0.06); }
.card .title h3 { font-size: 18px; line-height: 1.25; margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.card p { overflow: visible; display: block; }
.card p:last-child { margin-bottom: 0; }
.card .title { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.icon { width: 64px; height: 64px; color: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon svg { width: 40px; height: 40px; stroke: currentColor; fill: none; stroke-width: 2; }
.stack { display: grid; gap: 14px; }
.feature { text-align: center; }
.feat-icon { width: 64px; height: 64px; margin: 0 auto 8px; color: var(--accent); }
.feat-icon svg { width: 48px; height: 48px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.media { align-self: start; }
.media img { width: 100%; border-radius: 12px; border: 1px solid var(--border); object-fit: cover; display: block; }
.left-media { height: var(--left-media-h, 420px); }
.left-media img { height: 100%; }


.quote .author { margin-top: 8px; font-weight: 600; color: var(--dark); }
.testimonial { text-align: center; }
.testimonial .avatar { width: 96px; height: 96px; border-radius: 999px; overflow: hidden; margin: 0 auto 10px; border: 2px solid var(--border); }
.testimonial .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testimonial .name { font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.notice-panel .cta { display: flex; gap: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; border: 1px solid transparent; transition: transform .06s ease, box-shadow .2s ease; text-transform: uppercase; letter-spacing: .02em; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(1,62,93,0.12); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-accent { background: var(--accent); color: #003044; }
.btn-outline { background: #fff; color: var(--accent); border-color: var(--accent); text-transform: uppercase; letter-spacing: .02em; }

.footer { padding: 24px 0 44px; border-top: 1px solid var(--border); }
.foot { display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.foot a { color: var(--accent); text-decoration: none; }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .grid.two { grid-template-columns: 1fr; }
  .grid.three { grid-template-columns: 1fr; }
  .grid.five { grid-template-columns: 1fr; }
  h1 { font-size: 34px; }
  h2 { font-size: 24px; }
  .hero-title { font-size: 36px; }
  .section.overlap { margin-top: -8vh; }
}
.modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(1,62,93,0.35); z-index: 200; }
.modal.open { display: flex; }
.modal .dialog { background: #fff; border-radius: 14px; border: 1px solid var(--border); box-shadow: 0 20px 40px rgba(1,62,93,0.25); max-width: 760px; width: calc(100% - 48px); max-height: 78vh; overflow: auto; padding: 22px; position: relative; }
.modal .close { position: absolute; right: 10px; top: 8px; border: 0; background: transparent; font-size: 22px; color: var(--muted); cursor: pointer; }
.modal h3 { margin: 0 0 12px; }
.modal h4 { margin: 16px 0 8px; }
.modal h5 { margin: 12px 0 6px; }
.modal .content ul { padding-left: 18px; }