:root {
  --bg: #eef4fb;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --ink: #0f1b2d;
  --muted: #526173;
  --line: rgba(15, 27, 45, 0.1);
  --primary: #185adb;
  --primary-deep: #0d3d99;
  --accent: #86b6ff;
  --shadow: 0 24px 70px rgba(13, 61, 153, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(134, 182, 255, 0.36), transparent 28%),
    radial-gradient(circle at bottom right, rgba(24, 90, 219, 0.14), transparent 24%),
    linear-gradient(180deg, #edf4fc 0%, #f8fbff 100%);
}

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

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

.site-shell {
  width: 100%;
  margin: 0;
  padding: 20px 0 48px;
}

.hero,
.section {
  position: relative;
}

.hero {
  min-height: 88vh;
  width: 100%;
  padding: 18px 24px 12px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  z-index: 0;
  transform: translateX(-50%) scale(1.02);
  border-radius: 40px;
  background:
    linear-gradient(90deg, rgba(244, 248, 255, 0.64) 0%, rgba(244, 248, 255, 0.44) 28%, rgba(244, 248, 255, 0.08) 58%, rgba(244, 248, 255, 0.16) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(13, 61, 153, 0.08)),
    url("https://images.unsplash.com/photo-1620626011761-996317b8d101?auto=format&fit=crop&w=2200&q=80");
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
  filter: saturate(1) blur(0);
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: 0;
  border-radius: 40px;
  background:
    radial-gradient(circle at left center, rgba(255, 255, 255, 0.08), transparent 30%),
    radial-gradient(circle at right top, rgba(134, 182, 255, 0.12), transparent 24%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.7);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 16px;
  z-index: 20;
}

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

.brand-logo {
  width: clamp(180px, 16vw, 250px);
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 0.95rem;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.nav-cta,
.button-primary {
  background: var(--ink);
  color: #fff;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 56px 0 8px;
}

.hero-copy {
  max-width: 980px;
}

.nav {
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(24, 90, 219, 0.1);
  color: var(--primary-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.about-card h2,
.contact-copy h2 {
  margin: 18px 0 16px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.8rem, 7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero-text,
.section-heading p,
.project-copy p,
.metric span,
.timeline p,
.about-card p,
.about-list p,
.contact-copy p,
.form-note {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 0;
}

.hero-card,
.service-card,
.project-card,
.about-card,
.contact-form,
.metric,
.timeline article {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
}

.hero-highlight-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
  margin: 10px 0 22px;
}

.highlight-box {
  padding: 22px 24px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.highlight-box p {
  margin: 0 0 10px;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.highlight-box strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.25;
}

.highlight-box-dark {
  background: linear-gradient(135deg, rgba(15, 27, 45, 0.96), rgba(13, 61, 153, 0.9));
  color: #fff;
}

.highlight-box-primary {
  background: linear-gradient(135deg, #72d3ff, #2f73ef 65%, #1a4cac);
  color: #fff;
}

.highlight-box-soft {
  background: linear-gradient(135deg, rgba(175, 208, 255, 0.9), rgba(255, 255, 255, 0.92));
  color: var(--ink);
}

.stat-card,
.visual-panel,
.stat-row div {
  border-radius: var(--radius-md);
}

.stat-card {
  padding: 18px;
  background: linear-gradient(135deg, rgba(15, 27, 45, 0.97), rgba(13, 61, 153, 0.92));
  color: #fff;
}

.stat-card span,
.project-label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.3rem;
}

.hero-visual {
  display: grid;
  gap: 16px;
  margin: 18px 0;
}

.visual-panel {
  padding: 24px;
  min-height: 180px;
}

.visual-main {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
    linear-gradient(135deg, #3b82f6, #0d3d99);
  color: #fff;
}

.visual-accent {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.4), transparent 26%),
    linear-gradient(135deg, rgba(134, 182, 255, 0.72), rgba(255, 255, 255, 0.92));
}

.visual-panel p {
  margin: 0 0 10px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.visual-panel strong {
  font-size: 1.5rem;
  line-height: 1.2;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat-row div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.65);
}

.stat-row strong {
  display: block;
  font-size: 1.25rem;
}

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

.section {
  padding: 34px 0;
}

.section > * {
  width: min(calc(100% - 48px), var(--max-width));
  margin-left: auto;
  margin-right: auto;
}

.trust-bar {
  padding-top: 0;
}

.trust-bar p {
  margin: 0;
  padding: 24px 28px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  color: var(--primary-deep);
  font-weight: 700;
}

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

.section-heading h2,
.about-card h2,
.contact-copy h2 {
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.card-grid,
.showcase-grid,
.metrics,
.contact,
.about {
  display: grid;
  gap: 18px;
}

.before-after-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.6fr);
  gap: 28px;
  align-items: start;
}

.before-after-heading {
  margin-bottom: 0;
}

.before-after-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.compare-card {
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.compare-card {
  position: relative;
}

.compare-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.compare-copy {
  padding: 22px 22px 24px;
}

.compare-copy h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.compare-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.5fr);
  gap: 28px;
  align-items: start;
}

.services-heading {
  margin-bottom: 0;
  position: sticky;
  top: 120px;
}

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

.service-card,
.project-card,
.metric,
.timeline article {
  padding: 24px;
  border-radius: var(--radius-md);
}

.service-card span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 800;
}

.service-card h3,
.project-card h3,
.about-list h3,
.timeline h3 {
  margin: 0 0 10px;
  font-size: 1.34rem;
}

.showcase-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-auto-rows: minmax(220px, auto);
}

.project-feature {
  grid-row: span 2;
  background:
    linear-gradient(180deg, rgba(11, 11, 11, 0.18), rgba(11, 11, 11, 0.44)),
    linear-gradient(135deg, #0f3a8d, #3b82f6);
  color: #fff;
}

.project-feature .project-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.metrics {
  grid-template-columns: repeat(3, 1fr);
}

.metric strong {
  display: block;
  margin-bottom: 10px;
  font-size: 2rem;
  font-family: "Playfair Display", serif;
  color: var(--primary-deep);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline article span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 48px;
  border-radius: 50%;
  background: rgba(24, 90, 219, 0.12);
  color: var(--primary);
  font-weight: 800;
}

.about {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.about-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.about-list {
  grid-template-columns: 1fr;
}

.about-list > div {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.about-list > div:last-child {
  border-bottom: 0;
}

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

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.contact-links a,
.contact-links span {
  font-size: 1.05rem;
  font-weight: 700;
}

.contact-form {
  padding: 26px;
  border-radius: var(--radius-lg);
}

.contact-form label {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(29, 27, 25, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(24, 90, 219, 0.24);
  border-color: rgba(24, 90, 219, 0.4);
}

@media (max-width: 1080px) {
  .hero-grid,
  .contact,
  .about,
  .card-grid,
  .timeline,
  .metrics,
  .showcase-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-layout {
    grid-template-columns: 1fr;
  }

  .before-after-layout {
    grid-template-columns: 1fr;
  }

  .services-heading {
    position: static;
  }

  .project-feature {
    grid-row: span 1;
    grid-column: span 2;
  }

  .hero-highlight-strip {
    grid-template-columns: 1fr;
    max-width: 640px;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: 100%;
  }

  .hero {
    padding: 14px 12px 16px;
  }

  .section > * {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .nav {
    align-items: flex-start;
    border-radius: 28px;
  }

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

  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 14px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .contact,
  .about,
  .card-grid,
  .timeline,
  .metrics,
  .showcase-grid,
  .services-layout,
  .before-after-layout,
  .before-after-gallery {
    grid-template-columns: 1fr;
  }

  .compare-card img {
    height: 280px;
  }

  .project-feature {
    grid-column: auto;
  }

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

  .hero-copy h1,
  .section-heading h2,
  .about-card h2,
  .contact-copy h2 {
    font-size: clamp(2.4rem, 12vw, 3.8rem);
  }

  .hero-highlight-strip {
    gap: 12px;
    margin-bottom: 18px;
  }
}
