:root {
  --brand: #004c7f;
  --brand-dark: #073a61;
  --brand-soft: #e8f1f6;
  --gold: #e3c471;
  --gold-dark: #b4933f;
  --ink: #172536;
  --muted: #5f6e7d;
  --line: #dbe3ea;
  --paper: #f7f9fb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(7, 58, 97, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

p {
  margin: 0 0 1rem;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 227, 234, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 190px;
}

.brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0, 76, 127, 0.16);
}

.brand-name {
  display: grid;
  line-height: 1.1;
  color: var(--brand);
  font-weight: 700;
}

.brand-name span:last-child {
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav a {
  border-radius: 6px;
  padding: 10px 12px;
  transition: background-color 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--brand-soft);
  color: var(--brand);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(0, 76, 127, 0.16);
  border-radius: 6px;
  padding: 8px 14px;
  color: var(--brand);
  font-weight: 700;
  white-space: nowrap;
}

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

.menu-toggle::before {
  display: block;
  width: 20px;
  height: 14px;
  margin: auto;
  background:
    linear-gradient(currentColor, currentColor) top / 20px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 20px 2px no-repeat,
    linear-gradient(currentColor, currentColor) bottom / 20px 2px no-repeat;
  content: "";
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: 96px 0 72px;
  color: var(--white);
  background: var(--brand);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 58, 97, 0.98), rgba(0, 76, 127, 0.84) 58%, rgba(0, 76, 127, 0.7)),
    radial-gradient(circle at 80% 16%, rgba(227, 196, 113, 0.24), transparent 34%);
}

.hero::after {
  position: absolute;
  right: -100px;
  bottom: -190px;
  width: 620px;
  height: 620px;
  border-radius: 8px;
  background-image: url("logo-swm-900.jpg");
  background-size: cover;
  opacity: 0.18;
  content: "";
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: 4.4rem;
  line-height: 1;
  font-weight: 700;
}

.hero-lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 18px;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--gold);
  color: #1d2d3f;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
}

.button-light {
  border-color: rgba(0, 76, 127, 0.18);
  background: var(--white);
  color: var(--brand);
}

.hero-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(940px, 100%);
  margin-top: 56px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
}

.hero-contact a,
.hero-contact div {
  min-height: 86px;
  padding: 18px;
  background: rgba(7, 58, 97, 0.48);
}

.hero-contact strong,
.detail-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.section {
  padding: 84px 0;
}

.section-muted {
  background: var(--paper);
}

.section-blue {
  color: var(--white);
  background: var(--brand-dark);
}

.section-title {
  max-width: 780px;
  margin: 0 0 28px;
  color: var(--brand);
  font-size: 2.4rem;
  line-height: 1.18;
  font-weight: 700;
}

.section-blue .section-title {
  color: var(--white);
}

.intro-text {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.08rem;
}

.grid-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.feature-card,
.contact-card,
.investor-link,
.notice-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 26px;
}

.feature-card h3,
.contact-card h3,
.notice-card h2 {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 1.2rem;
  line-height: 1.3;
}

.feature-card p:last-child,
.contact-card p:last-child,
.notice-card p:last-child {
  margin-bottom: 0;
}

.page-hero {
  padding: 72px 0 56px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 58, 97, 0.98), rgba(0, 76, 127, 0.86)),
    var(--brand);
}

.page-hero h1 {
  max-width: 840px;
  margin: 0;
  font-size: 3.15rem;
  line-height: 1.1;
}

.page-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.14rem;
}

.content-flow {
  max-width: 940px;
}

.content-flow p {
  margin-bottom: 1.15rem;
}

.content-flow strong {
  color: var(--brand);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: start;
}

.side-panel {
  border-left: 4px solid var(--gold);
  padding: 24px 0 24px 24px;
}

.side-panel img {
  width: 132px;
  height: 132px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.side-panel p {
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 26px;
  align-items: start;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 34px;
}

.contact-card {
  padding: 24px;
}

.contact-details {
  padding: 28px;
  border-radius: 8px;
  color: var(--white);
  background: var(--brand);
  box-shadow: var(--shadow);
}

.contact-details h2 {
  margin: 0 0 18px;
  font-size: 1.45rem;
}

.detail-list {
  display: grid;
  gap: 16px;
  margin: 0;
}

.detail-list div {
  min-width: 0;
}

.detail-list a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  text-underline-offset: 4px;
}

.map-frame {
  width: 100%;
  height: 300px;
  margin-top: 20px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: var(--brand-soft);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-row label {
  color: var(--brand);
  font-weight: 700;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.form-row textarea {
  min-height: 150px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--brand);
  outline: 3px solid rgba(0, 76, 127, 0.14);
}

.form-status {
  display: none;
  margin: 0;
  color: var(--brand);
  font-weight: 700;
}

.form-status.is-visible {
  display: block;
}

.investor-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.investor-link {
  display: flex;
  align-items: center;
  min-height: 74px;
  padding: 18px 20px;
  color: var(--brand);
  font-weight: 700;
}

.investor-link:hover {
  border-color: rgba(0, 76, 127, 0.28);
  background: var(--brand-soft);
}

.notice-card {
  margin-bottom: 32px;
  padding: 26px;
}

.legal-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding-left: 22px;
}

.legal-list li {
  padding-left: 8px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: #062f4e;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 34px;
  padding: 42px 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
}

.footer-brand strong {
  display: block;
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.footer-links a:hover {
  color: var(--gold);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .header-phone {
    display: none;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .grid-three,
  .contact-grid,
  .investor-links {
    grid-template-columns: 1fr 1fr;
  }

  .two-column,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-details {
    order: -1;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 74px;
  }

  .brand-name {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    max-height: calc(100svh - 96px);
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  body.menu-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: auto;
    padding: 72px 0 52px;
  }

  .hero::after {
    right: -160px;
    bottom: -180px;
    width: 430px;
    height: 430px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.4rem;
  }

  .hero-lead {
    font-size: 1.12rem;
  }

  .hero-contact,
  .grid-three,
  .contact-grid,
  .investor-links,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .section-title {
    font-size: 2rem;
  }

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

@media (max-width: 420px) {
  body {
    font-size: 15px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}
