:root {
  --navy-950: #111d33;
  --navy-900: #172640;
  --navy-800: #213453;
  --navy-700: #2a4269;
  --steel-600: #50637f;
  --steel-500: #607392;
  --sky-500: #63a6de;
  --sky-400: #7eb9e7;
  --sky-300: #b7d9f2;
  --mint-400: #86c5b0;
  --amber-300: #f4d99a;
  --white: #ffffff;
  --mist: #f3f7fc;
  --mist-strong: #e9f1fa;
  --line: rgba(25, 43, 70, 0.12);
  --line-strong: rgba(25, 43, 70, 0.2);
  --ok: #146c43;
  --error: #b42318;
  --shadow-lg: 0 34px 84px rgba(17, 29, 51, 0.18);
  --shadow-md: 0 20px 44px rgba(17, 29, 51, 0.12);
  --shadow-sm: 0 10px 26px rgba(17, 29, 51, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--navy-900);
  line-height: 1.65;
  min-height: 100vh;
  background: var(--mist);
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

:focus-visible {
  outline: 3px solid rgba(126, 185, 231, 0.85);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 14px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--navy-950);
  color: var(--white);
  font-weight: 700;
}

.skip-link:focus {
  top: 14px;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 14% 8%, rgba(126, 185, 231, 0.35), transparent 36%),
    radial-gradient(circle at 88% 12%, rgba(33, 52, 83, 0.3), transparent 34%),
    radial-gradient(circle at 42% 88%, rgba(134, 197, 176, 0.18), transparent 36%),
    linear-gradient(125deg, #f7f9fd 0%, #ecf3fb 56%, #f9f5ec 100%);
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(17, 29, 51, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 29, 51, 0.02) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 20px rgba(17, 29, 51, 0.06);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  border-radius: 14px;
  transition: transform 0.2s ease;
}

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

.logo {
  height: 54px;
  width: auto;
}

.logo-dark {
  filter: brightness(0) invert(1);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--steel-600);
  font-weight: 700;
}

.primary-nav a {
  border-radius: 999px;
  padding: 9px 14px;
  position: relative;
  transition: color 0.25s ease, background 0.25s ease;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: linear-gradient(90deg, var(--sky-500), var(--navy-700));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a.is-active {
  color: var(--navy-900);
  background: rgba(126, 185, 231, 0.16);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white) !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 22px rgba(33, 52, 83, 0.28);
}

.nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy-900);
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hero {
  padding: 100px 0 84px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--sky-500);
  margin-bottom: 14px;
}

.hero-copy h1 {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(2.45rem, 3.3vw + 1.4rem, 4.2rem);
  line-height: 1.05;
  margin-bottom: 18px;
}

.lead {
  color: var(--steel-600);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border-radius: 999px;
  padding: 11px 20px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: linear-gradient(140deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  box-shadow: 0 14px 28px rgba(33, 52, 83, 0.28);
}

.btn.ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.82);
  color: var(--navy-900);
}

.btn.secondary {
  border-color: rgba(99, 166, 222, 0.5);
  background: rgba(99, 166, 222, 0.18);
  color: var(--navy-900);
}

.btn.light {
  background: var(--white);
  color: var(--navy-900);
  box-shadow: 0 12px 24px rgba(17, 29, 51, 0.18);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 16px;
}

.hero-tags span {
  border: 1px solid rgba(99, 166, 222, 0.28);
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(255, 255, 255, 0.68);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-800);
}

.hero-note {
  margin: 6px 0 16px;
  color: var(--steel-600);
  font-size: 0.94rem;
}

.hero-note a {
  color: var(--navy-800);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.metric {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: var(--shadow-sm);
}

.metric span {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--sky-500);
}

.metric p {
  margin-top: 4px;
  color: var(--steel-600);
  font-size: 0.88rem;
}

.hero-proof {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.proof-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.proof-item span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 800;
  color: var(--sky-500);
}

.proof-item p {
  margin-top: 4px;
  color: var(--steel-600);
  font-size: 0.9rem;
}

.hero-panel {
  position: relative;
}

.hero-panel::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 185, 231, 0.5), transparent 72%);
  top: -58px;
  right: -34px;
  z-index: -1;
}

.hero-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.hero-card h3 {
  font-family: "Sora", "Manrope", sans-serif;
  margin-bottom: 10px;
}

.hero-card p {
  color: var(--steel-600);
}

.hero-card-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hero-card-grid > div {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: #f9fcff;
}

.hero-card-grid ul {
  list-style: none;
  color: var(--steel-600);
  font-size: 0.93rem;
}

.label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.69rem;
  font-weight: 800;
  color: var(--sky-500);
  margin-bottom: 8px;
}

.accent-bar {
  margin-top: 20px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(92deg, var(--sky-500), var(--mint-400), var(--navy-700));
}

.section {
  padding: 88px 0;
}

.section.alt,
.projects,
.gallery {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
}

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

.section-head h2 {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(2rem, 2.1vw + 1.25rem, 3rem);
  line-height: 1.15;
  margin-bottom: 10px;
}

.section-head p {
  color: var(--steel-600);
}

.card-grid,
.solution-grid,
.value-grid,
.gallery-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-card,
.value-card,
.supply-item,
.gallery-card,
.solution,
.project-card,
.panel-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover,
.value-card:hover,
.supply-item:hover,
.gallery-card:hover,
.solution:hover,
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px rgba(17, 29, 51, 0.16);
  border-color: rgba(99, 166, 222, 0.35);
}

.service-card,
.value-card,
.solution,
.project-card,
.gallery-card {
  padding: 24px;
}

.service-card h3,
.value-card h3,
.solution h3,
.project-card h3,
.gallery-card h3,
.split-content h2,
.panel-card h3 {
  font-family: "Sora", "Manrope", sans-serif;
}

.service-card ul {
  list-style: none;
  margin-top: 14px;
  color: var(--steel-600);
}

.service-card li {
  position: relative;
  padding-left: 14px;
}

.service-card li + li {
  margin-top: 6px;
}

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

.solution,
.project-card,
.gallery-card {
  background:
    linear-gradient(140deg, rgba(126, 185, 231, 0.16), rgba(33, 52, 83, 0.07));
}

.solution-links {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.project-card {
  display: grid;
  gap: 12px;
  height: 100%;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--navy-900);
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.project-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.project-link:hover::after {
  transform: translateX(4px);
}

.project-link.is-disabled {
  pointer-events: none;
  opacity: 0.6;
}

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

.supply-item {
  padding: 22px;
  border-left: 6px solid var(--sky-500);
}

.supply-item p {
  color: var(--steel-600);
}

.split {
  background:
    linear-gradient(115deg, rgba(23, 38, 64, 0.08), rgba(126, 185, 231, 0.2));
}

.split-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: center;
}

.split-content p {
  color: var(--steel-600);
}

.feature-list {
  list-style: none;
  margin: 20px 0 24px;
  color: var(--steel-600);
}

.feature-list li {
  position: relative;
  padding-left: 18px;
}

.feature-list li + li {
  margin-top: 7px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sky-500);
}

.split-panel .panel-card {
  padding: 28px;
}

.panel-card ol {
  margin-top: 14px;
  padding-left: 18px;
  color: var(--steel-600);
}

.cta {
  color: var(--white);
  background:
    radial-gradient(circle at 20% 10%, rgba(126, 185, 231, 0.22), transparent 35%),
    linear-gradient(125deg, var(--navy-900), var(--navy-700));
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: start;
}

.contact-cards {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.contact-journey {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.74);
}

.contact-journey h3 {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1rem;
  margin-bottom: 8px;
}

.contact-journey ol {
  padding-left: 18px;
  color: var(--steel-600);
}

.contact-journey li + li {
  margin-top: 6px;
}

.contact-cards > div {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.65);
  padding: 12px 14px;
}

.contact-cards p + p {
  margin-top: 4px;
}

.contact-form {
  padding: 30px;
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  color: var(--navy-800);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.95);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(99, 166, 222, 0.75);
  box-shadow: 0 0 0 3px rgba(126, 185, 231, 0.2);
  outline: 0;
}

.contact-form button[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.form-note {
  font-size: 0.88rem;
  color: var(--steel-600);
  min-height: 1.3em;
}

.form-note.is-success {
  color: var(--ok);
  font-weight: 700;
}

.form-note.is-error {
  color: var(--error);
  font-weight: 700;
}

.gallery-card h3 {
  margin: 8px 0 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(33, 52, 83, 0.13);
  color: var(--navy-800);
  margin-bottom: 8px;
}

.badge.is-live {
  background: rgba(20, 108, 67, 0.15);
  color: var(--ok);
}

.gallery-placeholder {
  height: 172px;
  border-radius: 14px;
  border: 2px dashed rgba(80, 99, 127, 0.28);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.92), rgba(233, 241, 250, 0.8));
  display: grid;
  place-items: center;
  color: var(--steel-500);
  font-weight: 700;
}

.site-footer {
  color: var(--white);
  background:
    radial-gradient(circle at 10% 10%, rgba(126, 185, 231, 0.18), transparent 30%),
    linear-gradient(145deg, var(--navy-950), var(--navy-800));
  padding: 44px 0 22px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 15px;
  padding: 8px 12px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-inner img {
  height: 48px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.86);
}

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

.footer-bottom {
  margin-top: 32px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-grid,
  .contact-grid,
  .card-grid,
  .solution-grid,
  .value-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 920px) {
  .site-header {
    backdrop-filter: blur(10px);
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(320px, 88vw);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    display: none;
  }

  .primary-nav a {
    padding: 11px 12px;
  }

  .primary-nav a::after {
    left: 12px;
    right: 12px;
  }

  .nav-toggle {
    display: block;
  }

  body.nav-open .primary-nav {
    display: flex;
  }

  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(17, 29, 51, 0.25);
    z-index: 20;
  }

  .site-header {
    z-index: 30;
  }

  .header-inner,
  .primary-nav {
    z-index: 31;
  }

  .hero {
    padding: 78px 0 64px;
  }
}

@media (max-width: 700px) {
  .logo {
    height: 46px;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .hero-card,
  .contact-form,
  .service-card,
  .value-card,
  .project-card,
  .solution,
  .gallery-card,
  .split-panel .panel-card,
  .supply-item {
    padding: 20px;
  }

  .section {
    padding: 70px 0;
  }

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
