:root {
  --navy: #081827;
  --navy-soft: #102a43;
  --charcoal: #1f2933;
  --steel: #52606d;
  --slate: #829ab1;
  --cloud: #f5f7fa;
  --white: #ffffff;
  --gold: #ff7337;
  --gold-dark: #cf4c18;
  --line: #d9e2ec;
  --shadow: 0 22px 60px rgba(8, 24, 39, 0.14);
  --radius: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--charcoal);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

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

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0;
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 226, 236, 0.7);
  background: var(--white);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: 340px;
  height: auto;
  max-height: 120px;
  object-fit: contain;
  object-position: center;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.1rem;
  color: var(--steel);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--gold-dark);
}

.nav .nav-cta {
  display: none;
  white-space: nowrap;
}

.mobile-menu {
  display: block;
}

.mobile-menu summary {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(8, 24, 39, 0.08);
  cursor: pointer;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu-icon,
.mobile-menu-icon::before,
.mobile-menu-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy);
  content: "";
}

.mobile-menu-icon {
  position: relative;
}

.mobile-menu-icon::before,
.mobile-menu-icon::after {
  position: absolute;
  left: 0;
}

.mobile-menu-icon::before {
  top: -7px;
}

.mobile-menu-icon::after {
  top: 7px;
}

.mobile-menu[open] .mobile-menu-icon {
  background: transparent;
}

.mobile-menu[open] .mobile-menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-menu[open] .mobile-menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-menu-panel {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 1.25rem;
  display: grid;
  min-width: min(19rem, calc(100vw - 2.5rem));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.mobile-menu-panel a {
  padding: 0.95rem 1.1rem;
  color: var(--navy);
  font-weight: 800;
}

.mobile-menu-panel a + a {
  border-top: 1px solid var(--line);
}

.mobile-menu-panel a:hover,
.mobile-menu-panel a[aria-current="page"] {
  color: var(--gold-dark);
  background: #fff0e9;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.78rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

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

.button-primary:hover {
  background: #ff8a59;
}

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

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.58);
}

.button-outline {
  color: var(--navy);
  border-color: var(--line);
  background: var(--white);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 115, 55, 0.26), transparent 26rem),
    linear-gradient(135deg, rgba(8, 24, 39, 0.96), rgba(16, 42, 67, 0.94)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 12px);
}

.hero::after,
.page-hero::after {
  position: absolute;
  inset: auto -8rem -12rem auto;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.hero-inner,
.page-hero-inner,
.section,
.cta-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-right: 1.25rem;
  padding-left: 1.25rem;
}

.hero-inner {
  display: grid;
  gap: 2.25rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin-left: max(0px, calc((100vw - var(--max-width)) / 2));
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.25rem;
}

.hero p,
.page-hero p {
  max-width: 720px;
  color: #d9e2ec;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.75rem;
}

.hero-panel {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  
  border-radius: calc(var(--radius) + 10px);
  background:
    linear-gradient(160deg, rgba(255, 115, 55, 0.24), transparent 48%),
    linear-gradient(0deg, rgba(8, 24, 39, 0.78), rgba(8, 24, 39, 0.08)),
    url("/images/homepage_image.png");
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.metric-card {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  max-width: 240px;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(8, 24, 39, 0.82);
  backdrop-filter: blur(12px);
}

.metric-card strong {
  display: block;
  color: var(--gold);
  font-size: 2.5rem;
  line-height: 1;
}

.metric-card span {
  color: #d9e2ec;
  font-weight: 700;
}

.section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.section-header {
  /* max-width: 760px; */
  margin-bottom: 2rem;
}

.section-header p {
  margin-top: 1rem;
  color: var(--steel);
  font-size: 1.08rem;
}

.trust-strip {
  background: var(--cloud);
}

.trust-grid,
.cards-grid,
.features-grid,
.portfolio-grid,
.process-grid,
.contact-grid {
  display: grid;
  gap: 1rem;
}

.trust-card,
.card,
.feature,
.project-card,
.process-step,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 38px rgba(8, 24, 39, 0.07);
}

.trust-card {
  padding: 1.4rem;
}

.trust-card strong {
  display: block;
  color: var(--navy);
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  line-height: 1;
}

.trust-card strong + span {
  display: block;
  margin-top: 0.55rem;
  color: var(--steel);
  font-weight: 700;
}

.card,
.feature,
.process-step,
.contact-card {
  padding: 1.5rem;
}

.card h3,
.feature h3,
.project-card h3,
.process-step h3,
.contact-card h3 {
  color: var(--navy);
}

.card p,
.feature p,
.project-card p,
.process-step p,
.contact-card p {
  margin-top: 0.75rem;
  color: var(--steel);
}

.dark-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(8, 24, 39, 0.97), rgba(16, 42, 67, 0.96)),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 14px);
}

.dark-section .section-header p,
.dark-section li,
.dark-section p {
  color: #d9e2ec;
}

.check-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 3.5rem;
  padding: 0.9rem 1rem 0.9rem 3.9rem;
  border: 1px solid rgba(217, 226, 236, 0.78);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(8, 24, 39, 0.05);
  color: var(--charcoal);
  font-weight: 750;
}

.check-list li::before {
  position: absolute;
  left: 1rem;
  top: 50%;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), #ff8a59);
  box-shadow: 0 8px 18px rgba(255, 115, 55, 0.28);
  content: "";
  transform: translateY(-50%);
}

.check-list li::after {
  position: absolute;
  left: 1.72rem;
  top: 50%;
  width: 0.42rem;
  height: 0.78rem;
  border: solid var(--navy);
  border-width: 0 3px 3px 0;
  content: "";
  transform: translateY(-58%) rotate(45deg);
}

.dark-section .check-list li {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.project-card {
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.project-card:hover {
  border-color: rgba(255, 115, 55, 0.42);
  box-shadow: 0 24px 58px rgba(8, 24, 39, 0.14);
  transform: translateY(-3px);
}

.project-visual {
  display: flex;
  align-items: flex-end;
  min-height: 190px;
  padding: 1.2rem;
  background:
    linear-gradient(160deg, rgba(8, 24, 39, 0.12), rgba(8, 24, 39, 0.72)),
    radial-gradient(circle at 74% 18%, rgba(255, 115, 55, 0.72), transparent 8rem),
    linear-gradient(135deg, #cbd5e1, #52606d);
}

.project-visual span {
  max-width: 14rem;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.project-visual-logo {
  align-items: center;
  justify-content: center;
}

.project-visual-logo img {
  display: block;
  width: min(90%, 340px);
  max-height: 145px;
  filter: drop-shadow(0 14px 24px rgba(8, 24, 39, 0.3));
  object-fit: contain;
}

.project-content {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 1.4rem;
}

.project-type {
  margin-bottom: 0.75rem;
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-content .button {
  align-self: flex-start;
  margin-top: auto;
}

.project-content .tag-list + .button,
.project-content p + .button {
  margin-top: 1.25rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  color: var(--navy);
  background: #fff0e9;
  font-size: 0.78rem;
  font-weight: 800;
}

.attribution-note {
  margin-top: 1rem;
  color: var(--steel);
  font-size: 0.92rem;
}

.attribution-note a {
  color: var(--navy);
  font-weight: 800;
}

.dark-section .attribution-note {
  color: #d9e2ec;
}

.dark-section .attribution-note a {
  color: var(--white);
}

.cta-section {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
}

.cta-inner {
  display: grid;
  gap: 1.5rem;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.cta-inner p {
  color: #d9e2ec;
  font-size: 1.1rem;
}

.site-footer {
  color: #d9e2ec;
  background: #06111d;
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

.footer-inner a {
  color: var(--white);
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.lead {
  /*max-width: 850px;*/
  color: var(--steel);
  font-size: 1.15rem;
}

.about-intro {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.about-intro-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 38px rgba(8, 24, 39, 0.07);
}

.about-intro-logo img {
  display: block;
  width: min(100%, 360px);
}

.content-block + .content-block {
  margin-top: 2.5rem;
}

.feature {
  min-height: 100%;
}

.process-step {
  position: relative;
}

.step-number {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 14px;
  color: var(--navy);
  background: var(--gold);
  font-weight: 900;
}

.contact-card a {
  color: var(--navy);
  font-weight: 800;
}

.contact-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 4px);
  background: var(--white);
}

.contact-logo img {
  display: block;
  width: min(100%, 320px);
}

@media (max-width: 520px) {
  .nav {
    gap: 0.75rem;
  }

  .brand {
    max-width: 64vw;
    overflow: hidden;
  }

  .brand-logo {
    width: 245px;
    height: auto;
    max-height: 96px;
  }

  .mobile-menu summary {
    width: 44px;
    height: 44px;
  }
}

@media (min-width: 720px) {
  .cards-grid,
  .features-grid,
  .portfolio-grid,
  .process-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
  }

  .about-intro {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.48fr);
  }

  .cta-inner,
  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 1120px) {
  .nav-links {
    display: flex;
  }

  .nav .nav-cta {
    display: inline-flex;
  }

  .mobile-menu {
    display: none;
  }
}

@media (min-width: 980px) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
  }

  .cards-grid,
  .features-grid
   {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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