:root {
  --navy: #243454;
  --navy-dark: #1b2740;
  --sky: #6fa9dc;
  --sky-bright: #8bc2f0;
  --steel: #3f4b60;
  --mist: #f4f6fb;
  --sand: #fef8f2;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(23, 33, 54, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(111, 169, 220, 0.35), transparent 55%),
    radial-gradient(circle at 85% 15%, rgba(36, 52, 84, 0.25), transparent 50%),
    linear-gradient(120deg, #f6f7fb 0%, #fef8f2 60%, #edf3f9 100%);
  z-index: -2;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(36, 52, 84, 0.08);
}

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

.brand img {
  height: 52px;
}

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

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

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

.primary-nav a {
  position: relative;
  padding-bottom: 4px;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--sky);
  transition: width 0.3s ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform 0.3s ease;
}

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

.hero {
  padding: 90px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(2.4rem, 3vw + 1.5rem, 4rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.lead {
  font-size: 1.1rem;
  color: var(--steel);
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(36, 52, 84, 0.18);
}

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

.btn.ghost {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn.secondary {
  border-color: rgba(111, 169, 220, 0.6);
  color: var(--navy);
  background: rgba(111, 169, 220, 0.2);
}

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

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--navy);
  font-weight: 600;
}

.hero-tags span {
  background: rgba(111, 169, 220, 0.15);
  padding: 6px 12px;
  border-radius: 999px;
}

.hero-panel {
  position: relative;
}

.hero-card {
  background: var(--white);
  padding: 32px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(36, 52, 84, 0.08);
}

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

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

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

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

.accent-bar {
  height: 6px;
  background: linear-gradient(90deg, var(--sky), var(--navy));
  border-radius: 999px;
  margin-top: 24px;
}

.section {
  padding: 80px 0;
}

.section.alt {
  background: var(--white);
  border-top: 1px solid rgba(36, 52, 84, 0.06);
  border-bottom: 1px solid rgba(36, 52, 84, 0.06);
}

.section-head {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 2vw + 1.2rem, 3rem);
  margin-bottom: 12px;
}

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

.service-card,
.value-card {
  background: var(--white);
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(36, 52, 84, 0.08);
  box-shadow: 0 20px 40px rgba(23, 33, 54, 0.08);
}

.service-card h3 {
  margin-bottom: 12px;
  font-family: "Sora", sans-serif;
}

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

.service-card li::before {
  content: "◆";
  color: var(--sky);
  margin-right: 8px;
}

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

.solution {
  background: linear-gradient(135deg, rgba(111, 169, 220, 0.12), rgba(36, 52, 84, 0.08));
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(36, 52, 84, 0.1);
}

.solution h3 {
  font-family: "Sora", sans-serif;
  margin-bottom: 12px;
}

.projects {
  background: var(--white);
  border-top: 1px solid rgba(36, 52, 84, 0.06);
  border-bottom: 1px solid rgba(36, 52, 84, 0.06);
}

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

.project-card {
  background: linear-gradient(135deg, rgba(111, 169, 220, 0.12), rgba(36, 52, 84, 0.08));
  border-radius: 22px;
  padding: 26px;
  border: 1px solid rgba(36, 52, 84, 0.1);
  display: grid;
  gap: 14px;
}

.project-card h3 {
  font-family: "Sora", sans-serif;
}

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

.project-link {
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

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

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

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

.supply-item {
  background: var(--white);
  padding: 24px;
  border-radius: 20px;
  border-left: 6px solid var(--sky);
  box-shadow: 0 16px 30px rgba(23, 33, 54, 0.08);
}

.split {
  background: linear-gradient(120deg, rgba(36, 52, 84, 0.08), rgba(111, 169, 220, 0.12));
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
}

.split-content h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 2vw + 1.2rem, 3rem);
  margin-bottom: 12px;
}

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

.feature-list li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

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

.split-panel .panel-card {
  background: var(--white);
  padding: 32px;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

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

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

.cta {
  background: linear-gradient(120deg, var(--navy), #2c4d7a);
  color: var(--white);
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

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

.contact-form {
  background: var(--white);
  padding: 32px;
  border-radius: 26px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid rgba(36, 52, 84, 0.2);
  border-radius: 12px;
  padding: 10px 12px;
  font-family: inherit;
}

.form-note {
  color: var(--steel);
  font-size: 0.85rem;
}

.form-note.is-success {
  color: #1b6a3a;
  font-weight: 600;
}

.form-note.is-error {
  color: #b42318;
  font-weight: 600;
}

.site-footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 40px 0 20px;
}

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

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

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

.gallery {
  background: var(--white);
  border-top: 1px solid rgba(36, 52, 84, 0.06);
}

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

.gallery-card {
  background: linear-gradient(135deg, rgba(111, 169, 220, 0.12), rgba(36, 52, 84, 0.08));
  border-radius: 22px;
  padding: 24px;
  border: 1px solid rgba(36, 52, 84, 0.1);
  position: relative;
}

.gallery-card h3 {
  font-family: "Sora", sans-serif;
  margin: 8px 0 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(36, 52, 84, 0.12);
  color: var(--navy);
  margin-bottom: 10px;
}

.badge.is-live {
  background: rgba(27, 106, 58, 0.15);
  color: #1b6a3a;
}

.gallery-placeholder {
  height: 180px;
  border-radius: 16px;
  border: 2px dashed rgba(36, 52, 84, 0.2);
  background: rgba(255, 255, 255, 0.7);
  display: grid;
  place-items: center;
  font-weight: 600;
  color: var(--steel);
}

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

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

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

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

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

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

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 5vw;
    background: var(--white);
    padding: 16px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }

  .nav-toggle {
    display: block;
  }

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

@media (max-width: 700px) {
  .hero {
    padding: 70px 0 60px;
  }

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

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

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