:root {
  --ink: #10134e;
  --muted: #6f728c;
  --line: #e7e2d7;
  --paper: #fffdf8;
  --cream: #f8f2df;
  --mint: #e8f2df;
  --saffron: #ef9f35;
  --saffron-dark: #d77c16;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(21, 24, 65, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 4%, rgba(232, 242, 223, 0.95), transparent 28rem),
    linear-gradient(180deg, #fffaf0 0%, #fffdf8 32%, #ffffff 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: min(1160px, calc(100% - 40px));
  height: 76px;
  margin: 14px auto 0;
  padding: 0 16px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(16, 19, 78, 0.08);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.84);
  box-shadow: 0 14px 36px rgba(16, 19, 78, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img,
.footer-brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(16, 19, 78, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-links a {
  transition: color 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  color: var(--ink);
  transform: translateY(-2px);
}

.nav-button,
.primary-button,
.ghost-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.nav-button,
.primary-button {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(16, 19, 78, 0.2);
}

.nav-button {
  min-width: 132px;
  padding: 0 20px;
  font-size: 0.88rem;
}

.primary-button {
  padding: 0 26px;
}

.ghost-button {
  padding: 0 24px;
  border: 1px solid rgba(16, 19, 78, 0.18);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.66);
}

.nav-button:hover,
.primary-button:hover {
  transform: translateY(-3px);
  background: #171b68;
  box-shadow: 0 18px 38px rgba(16, 19, 78, 0.28);
}

.ghost-button:hover {
  transform: translateY(-3px);
  background: var(--cream);
  box-shadow: 0 18px 38px rgba(16, 19, 78, 0.1);
}

.hero {
  width: min(1160px, calc(100% - 40px));
  min-height: 660px;
  margin: 18px auto 0;
  padding: 72px 64px 104px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: 48px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(102deg, rgba(232, 242, 223, 0.92), rgba(255, 244, 197, 0.78)),
    var(--cream);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--saffron-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  max-width: 740px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 7vw, 6.35rem);
  line-height: 0.94;
  font-weight: 900;
}

.hero-copy p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-media {
  position: relative;
  min-height: 485px;
}

.hero-media > img {
  width: 100%;
  height: 485px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 28px 54px rgba(16, 19, 78, 0.16);
  transition: transform 300ms ease, filter 300ms ease;
}

.hero-media:hover > img {
  transform: translateY(-6px) scale(1.015);
  filter: saturate(1.08);
}

.section {
  width: min(1080px, calc(100% - 40px));
  margin: 96px auto 112px;
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.section-heading h2,
.contact-band h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  line-height: 1.08;
  font-weight: 900;
}

.intro > p,
.split-copy p,
.contact-band p {
  color: var(--muted);
  font-size: 1.02rem;
}

.intro > p {
  margin-top: 34px;
}

.centered {
  max-width: 680px;
  margin: 0 auto 42px;
  text-align: center;
}

.image-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  grid-template-rows: repeat(2, 250px);
  gap: 20px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--cream);
  box-shadow: 0 18px 48px rgba(16, 19, 78, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.feature-card:hover,
.service-list article:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 58px rgba(16, 19, 78, 0.17);
}

.feature-card.tall {
  grid-row: 1 / span 2;
}

.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.feature-card:hover img {
  transform: scale(1.06);
}

.feature-card div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.feature-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--saffron-dark);
  font-size: 0.76rem;
  font-weight: 900;
}

.feature-card strong {
  display: block;
  font-size: 1.12rem;
}

.services {
  position: relative;
}

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

.service-list article {
  min-height: 280px;
  padding: 28px 22px;
  border: 1px solid rgba(16, 19, 78, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 38px rgba(16, 19, 78, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-list article:hover {
  border-color: rgba(239, 159, 53, 0.5);
}

.icon-svg,
.mail-svg {
  width: 46px;
  height: 46px;
  padding: 9px;
  color: var(--saffron-dark);
  border: 1px solid rgba(239, 159, 53, 0.24);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.96), rgba(255, 244, 197, 0.5)),
    rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 28px rgba(215, 124, 22, 0.12);
  overflow: visible;
  transition: transform 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.icon-svg path,
.icon-svg circle,
.mail-svg path,
.mail-svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-list article:hover .icon-svg,
.mail-card:hover .mail-svg {
  color: var(--ink);
  border-color: rgba(16, 19, 78, 0.22);
  transform: translateY(-3px) rotate(-2deg);
  box-shadow: 0 18px 34px rgba(16, 19, 78, 0.14);
}

.service-list span {
  display: block;
  margin-top: 22px;
  color: var(--saffron);
  font-weight: 900;
}

.service-list h3 {
  margin: 8px 0 10px;
  font-size: 1.18rem;
}

.service-list p {
  color: var(--muted);
  font-size: 0.94rem;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 68px;
  align-items: center;
}

.compact {
  margin-top: 18px;
  min-height: 44px;
}

.mosaic {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  grid-template-rows: 210px 210px;
  gap: 18px;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 20px 44px rgba(16, 19, 78, 0.12);
  transition: transform 220ms ease;
}

.mosaic img:hover {
  transform: translateY(-6px);
}

.mosaic img:first-child {
  grid-row: span 2;
}

.contact-band {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto 86px;
  padding: 54px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 38px;
  border-radius: 8px;
  background:
    linear-gradient(110deg, rgba(232, 242, 223, 0.98), rgba(255, 244, 197, 0.92)),
    var(--cream);
  box-shadow: var(--shadow);
}

.mail-card {
  min-width: 340px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 850;
  box-shadow: 0 16px 34px rgba(16, 19, 78, 0.11);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.mail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(16, 19, 78, 0.18);
}

.mail-svg {
  width: 48px;
  height: 48px;
  padding: 10px;
  flex: 0 0 auto;
}

footer {
  min-height: 150px;
  padding: 44px max(20px, calc((100% - 1080px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #f7f7f5;
  color: var(--muted);
}

footer strong {
  color: var(--ink);
}

footer p {
  margin: 0;
}

@media (max-width: 960px) {
  .site-header {
    height: auto;
    padding: 14px;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 14px;
  }

  .hero,
  .intro,
  .split,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .intro > p {
    margin-top: 0;
  }

  .hero {
    padding: 54px 28px 88px;
  }

  .hero-media {
    min-height: auto;
  }

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

  .service-list article {
    min-height: 230px;
  }

  .contact-band {
    padding: 40px 28px;
  }
}

@media (max-width: 680px) {
  .site-header,
  .hero,
  .section,
  .contact-band {
    width: calc(100% - 24px);
  }

  .brand span {
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-button {
    min-width: 112px;
  }

  .nav-links {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
    padding: 40px 20px 72px;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  .hero-media > img {
    height: 340px;
  }

  .service-list,
  .image-grid,
  .mosaic {
    grid-template-columns: 1fr;
  }

  .image-grid,
  .mosaic {
    grid-template-rows: none;
  }

  .feature-card,
  .feature-card.tall,
  .mosaic img:first-child {
    grid-row: auto;
    height: 330px;
  }

  .mail-card {
    min-width: 0;
    width: 100%;
    align-items: flex-start;
  }

  .mail-card span {
    overflow-wrap: anywhere;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
