:root {
  color-scheme: light;
  --ink: #10203a;
  --muted: #5f6f86;
  --line: #dbe6ef;
  --blue: #0876c9;
  --blue-dark: #04549e;
  --green: #67bd19;
  --yellow: #ffcb21;
  --paper: #ffffff;
  --soft: #f4f9fc;
  --shadow: 0 24px 70px rgba(25, 58, 91, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(8, 118, 201, 0.15), transparent 32rem),
    radial-gradient(circle at top right, rgba(255, 203, 33, 0.18), transparent 34rem),
    linear-gradient(180deg, #f8fcff 0%, #ffffff 48%, #f7fbf4 100%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  width: min(1180px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(219, 230, 239, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 50px rgba(16, 32, 58, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: block;
  width: 260px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
}

.nav a,
.header-call {
  border-radius: 999px;
  padding: 0.8rem 1rem;
  text-decoration: none;
  font-weight: 800;
  color: var(--muted);
}

.nav a:hover {
  background: var(--soft);
  color: var(--blue-dark);
}

.header-call {
  background: var(--blue);
  color: white;
  box-shadow: 0 12px 30px rgba(8, 118, 201, 0.22);
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.65fr);
  gap: 2rem;
  align-items: stretch;
  min-height: calc(100vh - 7rem);
  padding: 5rem 0 3rem;
}

.hero-content,
.hero-card,
.section,
.cta {
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 830px;
  margin-bottom: 1.4rem;
  font-size: clamp(2.9rem, 7vw, 6rem);
  line-height: 0.95;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

h3 {
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
}

.intro,
.text-block p,
.cta p,
.service-grid p,
.steps p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.intro {
  max-width: 720px;
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1rem;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3.4rem;
  border-radius: 999px;
  padding: 0.9rem 1.25rem;
  text-decoration: none;
  font-weight: 950;
}

.button.primary {
  background: linear-gradient(135deg, var(--blue), #2db6f4);
  color: white;
  box-shadow: 0 16px 32px rgba(8, 118, 201, 0.24);
}

.button.secondary {
  border: 1px solid var(--line);
  background: white;
  color: var(--blue-dark);
}

.hero-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  min-height: 680px;
  padding: 1.25rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(239, 249, 255, 0.86)),
    linear-gradient(135deg, rgba(103, 189, 25, 0.18), transparent);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) contrast(1.03);
}

.hero-logo-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  gap: 1rem;
  border: 1px solid rgba(219, 230, 239, 0.9);
  border-radius: 24px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(16, 32, 58, 0.2);
  backdrop-filter: blur(18px);
}

.hero-logo-panel img {
  width: min(100%, 250px);
  height: auto;
  filter: drop-shadow(0 14px 20px rgba(16, 32, 58, 0.12));
}

.hero-card ul {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card li {
  border: 1px solid rgba(8, 118, 201, 0.15);
  border-radius: 18px;
  padding: 1rem;
  background: white;
  color: var(--blue-dark);
  font-weight: 900;
}

.section,
.cta {
  margin: 2rem 0;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

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

.service-grid article,
.steps article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, white, #f9fcff);
  padding: 1.35rem;
}

.service-grid article {
  overflow: hidden;
  padding: 0;
}

.service-grid article > img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.service-grid article > span,
.service-grid article > h3,
.service-grid article > p {
  margin-left: 1.35rem;
  margin-right: 1.35rem;
}

.service-grid article > p {
  margin-bottom: 1.35rem;
}

.service-grid span {
  display: inline-flex;
  margin-top: 1.2rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: rgba(103, 189, 25, 0.13);
  color: #407900;
  font-size: 0.8rem;
  font-weight: 950;
}

.portfolio {
  background: #0d1d34;
  color: white;
}

.portfolio .eyebrow {
  color: #76d1ff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  gap: 1rem;
}

.portfolio figure {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #132640;
}

.portfolio img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 180ms ease, opacity 180ms ease;
}

.portfolio figure:hover img {
  transform: scale(1.03);
  opacity: 1;
}

.portfolio figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 0.85rem 1rem;
  background: rgba(9, 20, 37, 0.78);
  color: white;
  font-weight: 900;
  backdrop-filter: blur(14px);
}

.process {
  background: linear-gradient(135deg, #f9fcff, #f5fbef);
}

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

.steps strong {
  display: inline-flex;
  margin-bottom: 2rem;
  color: var(--blue);
  font-size: 1.05rem;
}

.cta {
  display: grid;
  grid-template-columns: 1fr minmax(290px, 420px);
  gap: 2rem;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(8, 118, 201, 0.94), rgba(4, 84, 158, 0.96)),
    linear-gradient(90deg, var(--green), var(--yellow));
  color: white;
}

.cta .eyebrow,
.cta p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-card {
  display: grid;
  gap: 1rem;
  background: white;
  color: var(--ink);
}

.contact-card .phone {
  color: var(--blue-dark);
  font-size: 2rem;
  font-weight: 950;
  text-decoration: none;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  width: min(1180px, calc(100% - 2rem));
  margin: 2rem auto;
  color: var(--muted);
  font-weight: 800;
}

.footer img {
  width: 120px;
}

.footer a {
  color: var(--blue-dark);
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .brand img {
    width: 100%;
  }

  .brand {
    width: 220px;
  }

  .nav {
    display: none;
  }

  .hero,
  .split,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-card {
    min-height: 0;
    aspect-ratio: 5 / 4;
  }

  .service-grid,
  .steps,
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  main,
  .site-header,
  .footer {
    width: min(100% - 1rem, 1180px);
  }

  .site-header {
    gap: 0.45rem;
    border-radius: 18px;
    padding: 0.55rem 0.65rem;
  }

  .brand {
    width: clamp(178px, 48vw, 220px);
  }

  .brand img {
    width: 100%;
  }

  .header-call {
    padding: 0.72rem 0.82rem;
    font-size: clamp(0.82rem, 3.4vw, 0.95rem);
    white-space: nowrap;
  }

  .hero-content,
  .hero-card,
  .section,
  .cta {
    border-radius: 24px;
  }

  .hero-card {
    display: block;
    min-height: 0;
    aspect-ratio: auto;
    padding: 0;
  }

  .hero-photo {
    position: relative;
    display: block;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center top;
  }

  .hero-logo-panel {
    width: auto;
    margin: -1rem 0.85rem 0.85rem;
    border-radius: 20px;
  }

  .service-grid article > img {
    aspect-ratio: 4 / 3;
  }

  .portfolio figure {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .service-grid,
  .steps,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 3rem;
  }

  .contact-card .phone {
    font-size: 1.55rem;
  }
}
