:root {
  --navy: #0f2a47;
  --navy-deep: #091c30;
  --blue: #155eef;
  --blue-dark: #104bc0;
  --cyan: #00d9ff;
  --ink: #1d2733;
  --text: #344456;
  --muted: #687789;
  --line: #dce3ea;
  --surface: #f5f7fa;
  --surface-blue: #eef4ff;
  --white: #ffffff;
  --danger: #b42318;
  --success: #137333;
  --content: 1160px;
  --narrow: 780px;
  --shadow-sm: 0 8px 24px rgba(15, 42, 71, 0.08);
  --shadow-md: 0 18px 48px rgba(15, 42, 71, 0.12);
  --radius: 10px;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

h1 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.5rem, 5.5vw, 4.4rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.7vw, 3rem);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin-top: 0;
}

:focus-visible {
  outline: 3px solid rgba(21, 94, 239, 0.36);
  outline-offset: 3px;
}

.container,
.narrow {
  width: min(calc(100% - 3rem), var(--content));
  margin-inline: auto;
}

.narrow {
  max-width: var(--narrow);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  transform: translateY(-160%);
  border-radius: 4px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.nav-shell {
  position: relative;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.brand-logo {
  width: 108px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.site-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0.65rem 0.85rem;
  border-radius: 5px;
  color: #405266;
  font-size: 0.94rem;
  font-weight: 600;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--surface-blue);
  color: var(--blue-dark);
}

.site-nav .nav-cta {
  margin-left: 0.65rem;
  padding-inline: 1.15rem;
  background: var(--blue);
  color: var(--white);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta[aria-current="page"] {
  background: var(--blue-dark);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle span::before {
  transform: translateY(-6px);
}

.menu-toggle span::after {
  transform: translateY(4px);
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  transform: translateY(0) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  transform: translateY(-2px) rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  background: var(--blue);
  color: var(--white);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-secondary {
  border-color: #b9c5d1;
  background: var(--white);
  color: var(--navy);
}

.button-secondary:hover {
  border-color: var(--navy);
}

.button-light {
  background: var(--white);
  color: var(--navy);
}

.button-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--blue-dark);
  font-weight: 700;
}

.button-link::after {
  content: "→";
}

.hero {
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 6rem);
}

.kicker {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--blue-dark);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 1.8rem;
  color: #526478;
  font-size: clamp(1.06rem, 2vw, 1.24rem);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-note {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.corporate-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(145deg, var(--navy) 0%, #173f68 100%);
  box-shadow: var(--shadow-md);
}

.corporate-visual::before {
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(0, 217, 255, 0.32);
  border-radius: 50%;
  content: "";
  top: -150px;
  right: -100px;
}

.corporate-visual::after {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(0, 217, 255, 0.08);
  content: "";
  bottom: -120px;
  left: -70px;
}

.visual-logo {
  position: absolute;
  top: 3rem;
  left: 3rem;
  width: 150px;
  filter: brightness(0) saturate(100%) invert(72%) sepia(99%) saturate(1511%) hue-rotate(137deg) brightness(103%) contrast(102%);
}

.visual-message {
  position: absolute;
  z-index: 1;
  right: 2.2rem;
  bottom: 2.2rem;
  left: 2.2rem;
  padding: 2rem;
  border-left: 4px solid var(--cyan);
  background: rgba(9, 28, 48, 0.74);
  color: var(--white);
}

.visual-message span {
  display: block;
  margin-bottom: 0.5rem;
  color: #a8bacb;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-message strong {
  display: block;
  max-width: 360px;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.25;
}

.section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

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

.section-blue {
  background: var(--surface-blue);
}

.section-navy {
  background: var(--navy);
  color: #dce7f1;
}

.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  align-items: end;
  gap: 3rem;
  margin-bottom: 2.6rem;
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.section-heading p {
  color: var(--muted);
}

.section-navy .section-heading p {
  color: #b8c7d5;
}

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

.service-card,
.value-card,
.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.service-card {
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.service-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 1.5rem;
  place-items: center;
  border-radius: 5px;
  background: var(--surface-blue);
  color: var(--blue-dark);
  font-size: 1rem;
  font-weight: 800;
}

.service-card p,
.value-card p,
.info-card p {
  color: var(--muted);
}

.service-card .button-link {
  margin-top: 0.8rem;
}

.about-grid,
.project-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(3rem, 7vw, 6rem);
}

.about-panel {
  padding: clamp(2rem, 5vw, 3.5rem);
  border-left: 5px solid var(--blue);
  background: var(--surface);
}

.fact-list {
  display: grid;
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.fact-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.fact-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.fact-row strong {
  color: var(--ink);
}

.project-panel {
  min-height: 360px;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 6px;
  background: linear-gradient(135deg, var(--navy-deep), #174e7f);
  color: var(--white);
}

.project-panel small {
  display: block;
  margin-bottom: 1.25rem;
  color: #b9d5ee;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-panel strong {
  display: block;
  max-width: 440px;
  margin-bottom: 1.2rem;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.05;
}

.project-panel p {
  max-width: 500px;
  color: #dce7f1;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.value-card,
.info-card {
  padding: 1.75rem;
}

.value-card span {
  display: block;
  width: 34px;
  margin-bottom: 1.1rem;
  border-top: 3px solid var(--blue);
}

.cta-band {
  padding: clamp(3rem, 6vw, 5rem);
  border-radius: 8px;
  background: var(--navy);
  color: #dce7f1;
}

.cta-band h2 {
  max-width: 760px;
  color: var(--white);
}

.cta-band p {
  max-width: 700px;
  color: #c4d1de;
}

.cta-band .cta-actions {
  margin-top: 1.6rem;
}

.page-hero {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 1rem;
}

.page-hero p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.14rem;
}

.service-list {
  display: grid;
  gap: 1rem;
}

.service-row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 1.4rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.service-row > span {
  color: var(--blue-dark);
  font-size: 0.85rem;
  font-weight: 800;
}

.service-row p {
  max-width: 800px;
  margin-bottom: 0;
  color: var(--muted);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.company-statement {
  max-width: 900px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.45;
}

.contact-grid {
  align-items: start;
}

.contact-methods {
  display: grid;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.contact-methods a,
.contact-methods div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-methods span {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-methods strong {
  color: var(--ink);
}

.lead-form {
  padding: clamp(1.6rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.lead-form h2,
.lead-form h3 {
  margin-bottom: 0.45rem;
}

.form-intro,
.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.form-success {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border: 1px solid #b8dec2;
  border-radius: 5px;
  background: #eef8f0;
  color: var(--success);
}

.form-error {
  border-color: #f0bbb7;
  background: #fff1f0;
  color: var(--danger);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field-full,
.checkbox-field,
.form-submit {
  grid-column: 1 / -1;
}

.field label,
.checkbox-field {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 650;
}

.optional {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  border: 1px solid #bfc9d4;
  border-radius: 5px;
  background: var(--white);
  color: var(--ink);
}

.field textarea {
  min-height: 145px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(21, 94, 239, 0.12);
}

.checkbox-field {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.7rem;
  align-items: start;
  font-weight: 400;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
}

.checkbox-field a,
.legal-content a,
.form-note a {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.legal-hero {
  padding: 4rem 0 2.8rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.legal-hero h1 {
  margin-bottom: 0.7rem;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
}

.legal-hero p {
  color: var(--muted);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 4rem;
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}

.legal-nav {
  position: sticky;
  top: 100px;
  display: grid;
  align-self: start;
  gap: 0.1rem;
}

.legal-nav strong {
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-size: 0.84rem;
  text-transform: uppercase;
}

.legal-nav a {
  padding: 0.35rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-content {
  max-width: 780px;
}

.legal-content section {
  padding: 0 0 2.2rem;
  margin-bottom: 2.2rem;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  font-size: 1.55rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-notice {
  margin-bottom: 2rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--blue);
  background: var(--surface-blue);
  color: var(--text);
}

.console-page {
  display: grid;
  min-height: calc(100vh - 78px);
  place-items: center;
  padding: 4rem 0;
  background: var(--surface);
}

.console-card {
  width: min(calc(100% - 2rem), 680px);
  padding: clamp(2rem, 6vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.console-card .brand-logo {
  width: 130px;
  margin: 0 auto 2rem;
}

.console-card h1 {
  margin-bottom: 0.8rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.console-card p {
  max-width: 520px;
  margin-inline: auto;
  color: var(--muted);
}

.console-card .cta-actions {
  justify-content: center;
  margin-top: 1.5rem;
}

.error-page {
  display: grid;
  min-height: 68vh;
  place-items: center;
  padding: 4rem 0;
  text-align: center;
}

.error-code {
  margin-bottom: 0.5rem;
  color: var(--blue);
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
}

.site-footer {
  padding: 4rem 0 1.6rem;
  background: var(--navy-deep);
  color: #b9c8d7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(140px, 0.65fr));
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-logo {
  width: 115px;
  margin-bottom: 1.25rem;
  filter: brightness(0) saturate(100%) invert(72%) sepia(99%) saturate(1511%) hue-rotate(137deg) brightness(103%) contrast(102%);
}

.footer-brand p {
  max-width: 330px;
  color: #aebdcb;
  font-size: 0.94rem;
}

.footer-column h2 {
  margin-bottom: 0.9rem;
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  padding: 0.28rem 0;
  color: #b9c8d7;
  font-size: 0.92rem;
}

.footer-column a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8fa2b5;
  font-size: 0.82rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .project-grid,
  .contact-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 3rem;
  }

  .corporate-visual {
    min-height: 360px;
  }

  .service-grid,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container,
  .narrow {
    width: min(calc(100% - 1.5rem), var(--content));
  }

  .nav-shell {
    min-height: 68px;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
  }

  .brand-logo {
    width: 92px;
  }

  .site-nav {
    display: flex;
    flex: 1 1 100%;
    flex-wrap: wrap;
    padding-bottom: 0.6rem;
  }

  .has-js .nav-shell {
    flex-wrap: nowrap;
  }

  .has-js .menu-toggle {
    display: inline-flex;
  }

  .has-js .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    padding: 0.65rem;
    border: 1px solid var(--line);
    border-radius: 0 0 6px 6px;
    background: var(--white);
    box-shadow: var(--shadow-md);
  }

  .has-js .site-nav[data-open="true"] {
    display: grid;
  }

  .has-js .site-nav a {
    width: 100%;
  }

  .has-js .site-nav .nav-cta {
    margin: 0.35rem 0 0;
    justify-content: center;
  }

  .hero {
    padding-top: 3.6rem;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
  }

  .corporate-visual {
    min-height: 330px;
  }

  .visual-logo {
    top: 2rem;
    left: 2rem;
    width: 120px;
  }

  .visual-message {
    right: 1.2rem;
    bottom: 1.2rem;
    left: 1.2rem;
    padding: 1.4rem;
  }

  .service-grid,
  .value-grid,
  .principles-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .field-full,
  .checkbox-field,
  .form-submit {
    grid-column: auto;
  }

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

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .legal-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .legal-nav strong {
    width: 100%;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 480px) {
  .hero-actions,
  .cta-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .corporate-visual {
    min-height: 300px;
  }

  .service-card,
  .value-card,
  .info-card,
  .service-row,
  .lead-form {
    padding: 1.35rem;
  }

  .fact-row,
  .contact-methods a,
  .contact-methods div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

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

  .footer-brand {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .legal-nav,
  .button,
  .menu-toggle {
    display: none !important;
  }

  body {
    color: #000;
  }

  .legal-layout {
    display: block;
    padding: 0;
  }
}
