:root {
  color-scheme: light;
  --color-page: #f5f7fb;
  --color-surface: #ffffff;
  --color-surface-soft: #eef4fb;
  --color-ink: #102033;
  --color-muted: #647386;
  --color-navy: #092d4f;
  --color-blue: #1769aa;
  --color-blue-bright: #2188d8;
  --color-accent: #f2b84b;
  --color-border: #dbe4ee;
  --shadow-soft: 0 18px 45px rgba(13, 43, 76, 0.12);
  --shadow-card: 0 12px 30px rgba(13, 43, 76, 0.08);
  --radius-card: 8px;
  --radius-control: 6px;
  --space-section: clamp(3.5rem, 7vw, 6rem);
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Source Sans 3", Arial, sans-serif;
  color: var(--color-ink);
  background: var(--color-page);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-section);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-head h2,
.intro-copy h2,
.feature-inner h2 {
  color: var(--color-navy);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-head p,
.intro-copy p,
.feature-inner p {
  color: var(--color-muted);
  font-size: 1.02rem;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--color-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 2.75rem;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  overflow-wrap: anywhere;
  text-align: center;
  cursor: pointer;
}

.button-primary {
  background: var(--color-navy);
  color: #ffffff;
}

.button-secondary {
  background: var(--color-blue);
  color: #ffffff;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 10px 25px rgba(9, 45, 79, 0.08);
}

.site-header-inner {
  width: min(1280px, calc(100% - 2rem));
  min-height: 5.5rem;
  display: grid;
  grid-template-columns: minmax(6.5rem, auto) minmax(26rem, 1fr) auto;
  align-items: center;
  gap: 1rem;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-navy);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1;
}

.brand img {
  width: 6.5rem;
  height: auto;
  flex: 0 0 auto;
}

.primary-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.25rem;
}

.nav-menu a {
  border-radius: var(--radius-control);
  color: var(--color-navy);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.75rem 0.85rem;
  text-transform: uppercase;
}

.nav-menu a.active,
.nav-menu a:hover {
  background: var(--color-blue);
  color: #ffffff;
}

.header-contact {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  background: var(--color-surface-soft);
  color: var(--color-navy);
  padding: 0.55rem 0.8rem;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
}

.contact-icon {
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-navy);
  color: #ffffff;
  font-size: 1rem;
  flex: 0 0 auto;
}

.contact-copy {
  display: grid;
  gap: 0.05rem;
}

.contact-copy span {
  font-size: 0.72rem;
  font-weight: 800;
}

.contact-copy strong {
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
}

.hero-section {
  position: relative;
  height: clamp(28rem, 52vw, 39rem);
  overflow: hidden;
  background: var(--color-navy);
}

.swiper-container.swiper-hero,
.swiper-wrapper,
.swiper-slide,
.hero-slide {
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: relative;
  display: flex;
  align-items: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 24, 42, 0.78) 0%, rgba(6, 24, 42, 0.44) 42%, rgba(6, 24, 42, 0.1) 100%),
    linear-gradient(180deg, rgba(9, 45, 79, 0.08), rgba(9, 45, 79, 0.22));
}

.hero-container {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 38rem;
  color: #ffffff;
}

.hero-copy .section-kicker {
  color: #bfe2ff;
}

.hero-title {
  max-width: 12ch;
  font-size: clamp(2.25rem, 4.9vw, 4.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-desc {
  max-width: 34rem;
  margin-top: 1rem;
  color: #e6f2fb;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-copy .button {
  margin-top: 1.55rem;
}

.swiper-hero .swiper-pagination {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  z-index: 10;
  display: flex;
  width: auto;
  max-width: calc(100% - 2rem);
  gap: 0.65rem;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-control);
  background: rgba(9, 45, 79, 0.8);
  padding: 0.45rem 0.7rem;
  transform: translateX(-50%);
}

.swiper-pagination-bullet {
  width: 0.7rem;
  height: 0.7rem;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: transparent;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #ffffff;
}

.offers-section {
  margin-top: -4rem;
  padding-top: 0;
  position: relative;
  z-index: 2;
}

.services-floating {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-border);
  box-shadow: var(--shadow-soft);
}

.service-card {
  min-width: 0;
  background: var(--color-surface);
  padding: clamp(1.35rem, 2.5vw, 2rem);
}

.service-icon {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
}

.service-card h3 {
  margin-top: 1rem;
  color: var(--color-blue);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.service-card p {
  margin-top: 0.8rem;
  color: var(--color-muted);
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.service-card a {
  display: inline-flex;
  margin-top: 1rem;
  color: #178243;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stats-band {
  background: var(--color-navy);
  color: #ffffff;
  padding-block: 2.6rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  text-align: center;
}

.stats-grid div {
  min-width: 0;
}

.stats-grid strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 0.55rem;
  color: #b9d1e6;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.about-intro {
  background: var(--color-surface);
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.intro-copy {
  max-width: 36rem;
}

.intro-copy p {
  margin-top: 1rem;
}

.intro-copy .button {
  margin-top: 1.35rem;
}

.photo-frame {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--color-surface-soft);
  box-shadow: var(--shadow-card);
}

.photo-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feature-block {
  background: linear-gradient(180deg, #eef4fb 0%, #f7f9fc 100%);
}

.feature-inner {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.feature-inner p {
  margin: 1rem auto 0;
}

.feature-inner .button {
  margin-top: 1.35rem;
}

.projects-section,
.testimonial-section {
  background: var(--color-page);
}

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

.project-card,
.client-card,
.testimonial-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
}

.project-sm,
.project-wide {
  grid-template-columns: minmax(0, 1fr);
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: 15rem;
  object-fit: cover;
}

.project-sm img,
.project-wide img {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.project-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
}

.project-content h3,
.client-card h3,
.testimonial-card h4 {
  color: var(--color-navy);
  font-size: 1.12rem;
  line-height: 1.2;
}

.project-content p,
.client-card p,
.testimonial-card p {
  margin-top: 0.55rem;
  color: var(--color-muted);
  font-size: 0.96rem;
}

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

.client-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.client-card h3,
.client-card p {
  padding-inline: 1rem;
}

.client-card h3 {
  padding-top: 1rem;
}

.client-card p {
  padding-bottom: 1rem;
}

.testimonial-card {
  max-width: 760px;
  margin: 1.25rem auto 0;
  padding: 1.5rem;
  text-align: center;
}

.testimonial-card span {
  display: block;
  margin-top: 0.35rem;
  color: var(--color-blue);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-section {
  background: var(--color-surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 760px;
  margin: 0 auto 2rem;
}

.contact-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface-soft);
  padding: 1.25rem;
}

.contact-card h3 {
  color: var(--color-navy);
  font-size: 1.2rem;
}

.contact-card p {
  margin-top: 0.45rem;
  color: var(--color-muted);
}

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

.section-head-contact {
  margin-top: 0;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 900px;
  margin-inline: auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-control);
  background: #ffffff;
  color: var(--color-ink);
  font: inherit;
  font-size: 0.95rem;
  padding: 0.78rem 0.9rem;
}

.contact-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-form textarea,
.contact-form button {
  grid-column: 1 / -1;
}

.map-frame {
  height: clamp(18rem, 36vw, 23rem);
  max-width: 900px;
  margin: 1.2rem auto 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface-soft);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer {
  background: var(--color-navy);
  color: #d8e6f3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding-block: 2.75rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.footer-brand img {
  width: 8.5rem;
  height: auto;
}

.site-footer h3,
.site-footer h4 {
  color: #ffffff;
  margin-bottom: 0.7rem;
}

.site-footer p,
.site-footer li {
  color: #c6d8e9;
  font-size: 0.92rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li,
.site-footer p + p {
  margin-top: 0.4rem;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #a9bfd3;
  font-size: 0.88rem;
  padding: 1rem;
  text-align: center;
}

@media (max-width: 1050px) {
  .site-header-inner {
    grid-template-columns: auto minmax(0, 1fr);
    padding-block: 0.65rem;
  }

  .primary-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .header-contact {
    justify-content: flex-end;
    justify-self: end;
  }

  .services-floating {
    grid-template-columns: minmax(0, 1fr);
  }

  .client-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-layout,
  .project-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-card img {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

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

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--container), calc(100% - 1.25rem));
  }

  .site-header {
    position: static;
  }

  .site-header-inner,
  .primary-nav,
  .header-contact,
  .nav-menu,
  .hero-copy,
  .hero-desc {
    min-width: 0;
    max-width: 100%;
  }

  .site-header-inner {
    width: min(100% - 1.25rem, var(--container));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding-block: 0.85rem;
  }

  .header-contact,
  .contact-copy,
  .contact-copy strong {
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: center;
  }

  .header-contact {
    align-items: center;
    justify-self: center;
  }

  .brand {
    justify-content: center;
    text-align: center;
  }

  .hero-copy,
  .hero-desc {
    overflow-wrap: anywhere;
  }

  .primary-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .nav-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .nav-menu a {
    min-width: 0;
    padding: 0.65rem 0.7rem;
    text-align: center;
    white-space: normal;
  }

  .services-floating,
  .stats-grid,
  .intro-layout,
  .projects-grid,
  .project-card,
  .client-gallery,
  .contact-form,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-section {
    height: auto;
    min-height: 32rem;
  }

  .hero-slide {
    min-height: 32rem;
    padding-block: 3rem;
  }

  .hero-title {
    max-width: 11ch;
    font-size: 2.55rem;
  }

  .swiper-hero .swiper-pagination {
    bottom: 1.5rem;
  }

  .offers-section {
    margin-top: -2.5rem;
  }

  .stats-band {
    padding-block: 2rem;
  }

  .section {
    padding-block: 3.5rem;
  }

  .service-card,
  .project-card,
  .client-card,
  .intro-copy,
  .project-content {
    min-width: 0;
  }

  .service-card,
  .project-content {
    padding: 1.25rem;
  }

  .button {
    width: 100%;
  }
}
