:root {
  --blue-950: #08204a;
  --blue-900: #0b2c63;
  --blue-800: #123d7a;
  --blue-700: #1756a9;
  --blue-100: #e8f1ff;
  --cyan-500: #22a6c7;
  --ink: #14213d;
  --muted: #5f6f89;
  --line: #d9e3f2;
  --soft: #f5f8fc;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(8, 32, 74, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", "Noto Sans SC", Arial, sans-serif;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--muted);
  line-height: 1.78;
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--blue-950);
  line-height: 1.16;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 227, 242, 0.84);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  color: var(--blue-950);
}

.brand small {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
  color: #324763;
}

.site-menu a:not(.nav-cta):hover,
.footer-links a:hover,
.legal-article a:hover {
  color: var(--blue-700);
}

.language-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 34px;
  padding: 0 10px;
  color: var(--blue-800);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font-weight: 800;
}

.nav-cta,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
}

.nav-cta,
.primary-btn {
  color: var(--white);
  background: var(--blue-700);
  box-shadow: 0 12px 28px rgba(23, 86, 169, 0.22);
}

.secondary-btn {
  color: var(--blue-800);
  background: var(--white);
  border-color: var(--line);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--blue-950);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.hero {
  width: 100%;
  padding: 74px 0 82px;
  background:
    linear-gradient(90deg, rgba(245, 248, 252, 1) 0%, rgba(245, 248, 252, 0.9) 46%, rgba(232, 241, 255, 0.74) 100%),
    linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
}

.hero-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 48px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  margin-top: 22px;
  font-size: 19px;
  color: #43546f;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.trust-row span {
  padding: 8px 12px;
  color: var(--blue-800);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
  aspect-ratio: 16 / 10;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-note {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  color: var(--white);
  background: rgba(8, 32, 74, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.hero-note strong,
.hero-note span {
  display: block;
}

.hero-note span {
  color: #d7e6fb;
  font-size: 13px;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 56px;
  align-items: start;
}

.section-grid h2,
.section-head h2,
.legal-article h1 {
  font-size: clamp(30px, 4vw, 44px);
}

.intro {
  border-bottom: 1px solid var(--line);
}

.intro-text {
  display: grid;
  gap: 16px;
  font-size: 17px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head p:last-child {
  margin-top: 16px;
  font-size: 17px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  align-items: stretch;
}

.content-panel,
.notice-panel,
.manager-panel,
.contact-panel,
.legal-article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(8, 32, 74, 0.08);
}

.content-panel {
  padding: 34px;
}

.content-panel h3 {
  margin-bottom: 18px;
  font-size: 24px;
}

.content-panel p + p {
  margin-top: 14px;
}

.values-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.values-grid article,
.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
}

.values-grid article {
  padding: 24px;
}

.values-grid span,
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--blue-700);
  background: var(--blue-100);
  border-radius: 6px;
  font-weight: 800;
}

.values-grid h3,
.service-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.services-band {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100% - 1180px) / 2));
  padding-right: max(20px, calc((100% - 1180px) / 2));
  background: var(--soft);
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  padding: 30px;
}

.service-card ul {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 20px;
  color: #455873;
  line-height: 1.62;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan-500);
}

.notice-panel {
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: 26px;
  align-items: center;
  margin-top: 24px;
  padding: 28px;
  background: var(--blue-950);
  border-color: rgba(255, 255, 255, 0.12);
}

.notice-panel h3,
.notice-panel p {
  color: var(--white);
}

.notice-panel p {
  color: #dbe8f8;
}

.contact-section {
  padding: 76px 0 92px;
}

.contact-hub {
  max-width: 920px;
  display: grid;
  gap: 18px;
}

.contact-head {
  max-width: 680px;
  margin-bottom: 0;
}

.manager-panel,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 196px;
  gap: 24px;
  align-items: center;
  padding: 26px;
  background: var(--white);
  border-color: var(--line);
  box-shadow: 0 14px 40px rgba(8, 32, 74, 0.08);
}

.manager-panel h3 {
  margin-bottom: 10px;
  font-size: clamp(24px, 3vw, 34px);
}

.contact-panel {
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  align-items: start;
}

.manager-copy {
  display: grid;
  gap: 6px;
}

.contact-copy {
  display: grid;
  gap: 16px;
  align-content: start;
}

.contact-copy h3 {
  font-size: clamp(24px, 3vw, 34px);
}

.contact-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-highlights span {
  padding: 8px 12px;
  color: var(--blue-800);
  background: var(--blue-100);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--blue-950);
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue-700);
  box-shadow: 0 0 0 4px rgba(23, 86, 169, 0.12);
}

.contact-form textarea {
  resize: vertical;
  min-height: 148px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.contact-submit {
  min-width: 180px;
}

.contact-note {
  font-size: 14px;
}

.contact-status {
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}

.contact-status.is-success {
  color: #0c5e35;
  background: #e9f8ef;
  border: 1px solid #bde7cc;
}

.contact-status.is-error {
  color: #982121;
  background: #fff1f1;
  border: 1px solid #f0c3c3;
}

.manager-qr-card {
  padding: 12px;
  background: #f7fbff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.qr-placeholder {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  min-height: 168px;
  color: var(--blue-700);
  background:
    linear-gradient(90deg, rgba(23, 86, 169, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 86, 169, 0.08) 1px, transparent 1px),
    #ffffff;
  background-size: 16px 16px;
  border: 1px dashed rgba(23, 86, 169, 0.42);
  border-radius: 6px;
  font-weight: 800;
  text-align: center;
  padding: 14px;
}

.qr-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px);
}

.qr-meta {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  text-align: center;
}

.qr-meta strong {
  color: var(--blue-950);
  font-size: 18px;
}

.qr-meta span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.site-footer {
  padding: 38px max(20px, calc((100% - 1180px) / 2));
  color: #dbe8f8;
  background: var(--blue-950);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand strong,
.footer-brand small {
  color: var(--white);
}

.footer-brand small {
  color: #b9c9df;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px 24px;
  color: #dbe8f8;
  font-size: 14px;
  font-weight: 600;
}

.copyright {
  margin-top: 24px;
  color: #b9c9df;
  font-size: 14px;
}

.compact-footer {
  text-align: center;
}

.legal-main {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 74px 0 92px;
}

.legal-article {
  padding: 42px;
}

.legal-article .updated {
  margin: 14px 0 34px;
}

.legal-article section {
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.legal-article h2 {
  margin-bottom: 12px;
  font-size: 22px;
}

.legal-article a {
  color: var(--blue-700);
  font-weight: 700;
}

.legal-home {
  flex: 0 0 auto;
}

.legal-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-language {
  min-height: 46px;
}

@media (max-width: 980px) {
  .hero-grid,
  .section-grid,
  .about-grid,
  .notice-panel {
    grid-template-columns: 1fr;
  }

  .manager-panel {
    grid-template-columns: 1fr;
  }

  .manager-qr-card {
    max-width: 360px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    width: min(100% - 28px, 1180px);
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .site-menu {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-menu.is-open {
    display: flex;
  }

  .site-menu a {
    padding: 14px;
    border-radius: 6px;
  }

  .site-menu .nav-cta {
    margin-top: 6px;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding: 64px 0;
  }

  .hero {
    padding: 54px 0 62px;
  }

  .hero-grid {
    width: min(100% - 28px, 1180px);
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions a {
    width: 100%;
  }

  .hero-note {
    position: static;
    display: block;
    border-radius: 0;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .content-panel,
  .service-card,
  .manager-panel,
  .contact-panel,
  .legal-article {
    padding: 24px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-main {
    width: min(100% - 28px, 860px);
    padding: 48px 0 72px;
  }
}
