:root {
  --primary: #1d3f8f;
  --primary-dark: #142f6d;
  --accent: #f2b705;
  --text: #202635;
  --muted: #5f687a;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --border: #dce3ef;
  --shadow: 0 20px 60px rgba(13, 33, 74, .15);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--surface-soft);
  line-height: 1.65;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 9999; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s ease; }
.skip-link:focus { top: 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover, .btn:focus-visible { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(10, 30, 70, .2); }
.btn-primary { background: var(--accent); color: #15213f; }
.btn-outline { color: #fff; border-color: rgba(255,255,255,.75); }
.btn-outline:hover, .btn-outline:focus-visible { background: #fff; color: var(--primary); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(29, 63, 143, .97);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(7, 22, 55, .18);
}
.navbar { width: min(100% - 40px, var(--max)); margin-inline: auto; min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 112px; height: auto; filter: drop-shadow(0 8px 14px rgba(0,0,0,.2)); }
.menu-panel { display: flex; align-items: center; gap: 30px; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; }
.nav-links a { color: #fff; text-decoration: none; font-weight: 650; font-size: .96rem; opacity: .94; }
.nav-links a:hover, .nav-links a:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.nav-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.35); border-radius: 14px; background: rgba(255,255,255,.1); }
.menu-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; background: #fff; margin: 5px auto; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { position: relative; min-height: 560px; display: grid; align-items: center; color: #fff; background: url('../assets/images/4-1920x1080.webp') center/cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,31,74,.86), rgba(23,58,138,.67), rgba(23,58,138,.25)); }
.hero-content { position: relative; padding-block: 90px; max-width: 820px; margin-left: max(20px, calc((100vw - var(--max)) / 2)); }
.eyebrow { display: inline-flex; margin: 0 0 12px; color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; }
h1, h2, h3, h4 { line-height: 1.15; margin-top: 0; }
h1 { font-size: clamp(2.3rem, 5vw, 4.8rem); margin-bottom: 18px; }
h2 { font-size: clamp(1.9rem, 3vw, 3rem); margin-bottom: 16px; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.08rem; }
.hero p { max-width: 720px; font-size: clamp(1rem, 1.7vw, 1.25rem); margin-bottom: 26px; }

.section { padding: 84px 0; }
.section-heading { margin-bottom: 34px; }
.section-heading.centered { max-width: 940px; text-align: center; margin-inline: auto; }
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.segment-card { overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); border: 1px solid rgba(220,227,239,.8); }
.segment-card img { width: 100%; aspect-ratio: 596/250; object-fit: cover; }
.segment-body { padding: 24px; }
.segment-body h3 { color: var(--primary); margin-bottom: 10px; }
.segment-body p { margin: 0; color: var(--muted); font-size: .98rem; }

.content-card { border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); padding: clamp(28px, 5vw, 58px); border: 1px solid var(--border); }
.content-card-alert { border-left: 8px solid var(--accent); }
.content-card p { margin: 0 0 18px; }
.dark-card { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; }
.dark-card p { color: rgba(255,255,255,.9); }
.dark-card h3 { margin-top: 38px; }
.about-banner { width: 100%; border-radius: 18px; margin-bottom: 30px; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 24px; }
.feature-list article { padding: 22px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(255,255,255,.08); }
.feature-list h4 { margin-bottom: 8px; color: #fff; }
.feature-list p { margin: 0; font-size: .96rem; }

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; text-align: center; box-shadow: 0 12px 34px rgba(13, 33, 74, .1); }
.contact-card h3 { color: var(--primary); }
.contact-card p { margin: 0; font-size: clamp(1.15rem, 2vw, 1.65rem); font-weight: 800; }
.contact-card a { color: var(--primary); overflow-wrap: anywhere; }
.site-footer { background: #101b33; color: rgba(255,255,255,.86); padding: 28px 0; }
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-content p { margin: 0; }
.footer-content a { color: #fff; }
.back-top { font-weight: 700; text-decoration: none; }

.notice-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; }
.notice-modal[hidden] { display: none; }
.notice-backdrop { position: absolute; inset: 0; background: rgba(4, 12, 31, .72); backdrop-filter: blur(4px); }
.notice-box { position: relative; width: min(820px, 100%); max-height: min(86vh, 760px); display: flex; flex-direction: column; background: #fff; border-radius: 24px; box-shadow: 0 30px 100px rgba(0,0,0,.38); overflow: hidden; }
.notice-close { position: absolute; top: 12px; right: 14px; z-index: 2; width: 42px; height: 42px; border: 0; border-radius: 999px; background: var(--primary); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.notice-slides { overflow-y: auto; padding: clamp(28px, 5vw, 54px); padding-right: clamp(34px, 6vw, 64px); }
.notice-slide { display: none; }
.notice-slide.is-active { display: block; }
.notice-title { color: var(--primary); font-size: clamp(1.45rem, 3vw, 2.3rem); padding-right: 32px; }
.notice-slide p { margin: 0 0 16px; color: var(--text); }
.notice-controls { display: flex; justify-content: center; gap: 10px; padding: 16px; border-top: 1px solid var(--border); background: #f8fafc; }
.control-button { min-width: 44px; min-height: 44px; border: 0; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 800; cursor: pointer; }
.control-button-wide { min-width: 112px; }
.control-button:hover, .control-button:focus-visible, .notice-close:hover, .notice-close:focus-visible { background: var(--primary-dark); }

@media (max-width: 1080px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-toggle { display: block; }
  .menu-panel { position: absolute; left: 20px; right: 20px; top: calc(100% + 10px); display: none; flex-direction: column; align-items: stretch; gap: 20px; background: var(--primary-dark); padding: 24px; border-radius: 20px; box-shadow: var(--shadow); }
  .menu-panel.is-open { display: flex; }
  .nav-links, .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-links { gap: 12px; }
  .nav-actions .btn { width: 100%; }
}
@media (max-width: 760px) {
  .container, .navbar { width: min(100% - 28px, var(--max)); }
  .navbar { min-height: 74px; }
  .brand img { width: 94px; }
  .hero { min-height: 500px; }
  .hero-content { margin-inline: auto; padding-block: 70px; }
  .section { padding: 58px 0; }
  .cards-grid, .feature-list, .contact-grid { grid-template-columns: 1fr; }
  .content-card { border-radius: 20px; }
  .footer-content { justify-content: center; text-align: center; }
  .notice-modal { padding: 10px; align-items: start; padding-top: 20px; }
  .notice-box { max-height: calc(100vh - 40px); border-radius: 18px; }
  .notice-slides { padding: 26px 22px 18px; }
  .notice-title { padding-right: 34px; }
}

/* FAQ */
.section-intro {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
}

.faq {
  background: linear-gradient(180deg, #fff 0%, var(--surface-soft) 100%);
}

.faq-list {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(13, 33, 74, .08);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 22px 58px 22px 24px;
  color: var(--primary);
  font-weight: 800;
  line-height: 1.35;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:focus-visible {
  outline: 3px solid rgba(242, 183, 5, .7);
  outline-offset: 3px;
}

.faq-item p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
}

@media (max-width: 760px) {
  .faq-item summary {
    padding: 20px 54px 20px 20px;
  }
  .faq-item p {
    padding: 0 20px 22px;
  }
}
