@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

:root {
  --blue: #263f8f;
  --blue-dark: #1e3379;
  --text: #4f4f5a;
  --muted: #777983;
  --border: #e7e7ea;
  --soft: #f6f6f7;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(22, 32, 70, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  background: var(--white);
}

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

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

.topbar {
  color: var(--white);
  background: var(--blue);
  font-size: 15px;
  font-weight: 500;
}

.topbar__inner,
.site-header__inner,
.container {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  gap: 24px;
}

.topbar__contact {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 136px;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 156px;
}

.brand img {
  width: 150px;
  height: auto;
}

.nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #222;
  background: var(--white);
  border: 2px solid #333;
  border-radius: 3px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  content: "";
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #0f1322;
  font-size: 16px;
  font-weight: 500;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 84px;
}

.primary-nav a.is-active {
  color: var(--blue);
}

.primary-nav a.is-active::after {
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  height: 6px;
  background: var(--blue);
  content: "";
}

.slider {
  position: relative;
  overflow: hidden;
  background: #eeeeef;
  border-bottom: 1px solid #dadadd;
}

.slider__viewport {
  width: min(960px, calc(100% - 160px));
  aspect-ratio: 1280 / 342;
  height: auto;
  margin: 20px auto 28px;
  overflow: hidden;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
}

.slide.is-active {
  display: block;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider__button {
  position: absolute;
  top: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  background: rgba(45, 45, 45, 0.72);
  border: 0;
  border-radius: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.slider__button:hover {
  background: var(--blue);
}

.slider__button--prev {
  left: 44px;
}

.slider__button--next {
  right: 44px;
}

.section {
  padding: 84px 0;
}

.section--soft {
  background: linear-gradient(#fff, #fafafa);
}

.section--compact {
  padding: 58px 0 78px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: 80px;
}

.split--reverse {
  grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1fr);
}

.photo-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.photo-card img {
  width: 100%;
  height: 425px;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 8px;
  color: #555967;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 24px;
  color: var(--blue);
  line-height: 1.25;
}

h1,
h2 {
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 700;
}

h3 {
  font-size: 26px;
  font-weight: 600;
}

p {
  margin: 0 0 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 172px;
  min-height: 66px;
  padding: 14px 30px;
  color: var(--blue);
  font-weight: 700;
  border: 2px solid var(--blue);
  border-radius: 999px;
  transition: 0.2s ease;
}

.button:hover {
  color: var(--white);
  background: var(--blue);
}

.products-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.products-preview img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.service-list,
.plain-list {
  padding: 0;
  margin: 0 0 30px;
  list-style: none;
}

.service-list li,
.plain-list li {
  margin: 7px 0;
}

.service-list li::before {
  color: var(--blue);
  content: "» ";
  font-weight: 700;
}

.quality {
  color: var(--white);
  background: var(--blue);
}

.quality h2,
.quality h3,
.quality .eyebrow {
  color: var(--white);
}

.quality .button {
  color: var(--white);
  border-color: var(--white);
}

.quality .button:hover {
  color: var(--blue);
  background: var(--white);
}

.page-main {
  min-height: 52vh;
}

.content-page {
  padding: 62px 0 88px;
}

.content-page p {
  font-size: 16px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 52px;
}

.value-card {
  padding-top: 28px;
  border-top: 4px solid var(--blue);
}

.value-card h3 {
  margin-bottom: 14px;
  text-transform: uppercase;
}

.service-block {
  margin-bottom: 58px;
}

.service-block h2 {
  margin-bottom: 24px;
  color: var(--text);
  font-size: 24px;
  font-weight: 500;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
  border-radius: 3px;
}

.carousel {
  position: relative;
}

.gallery.gallery--carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.gallery.gallery--carousel img {
  flex: 0 0 calc(25% - 12px);
  min-width: 0;
  scroll-snap-align: start;
}

.carousel__button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: rgba(38, 63, 143, 0.92);
  border: 0;
  border-radius: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.carousel__button--prev {
  left: -21px;
}

.carousel__button--next {
  right: -21px;
}

.carousel__button:hover {
  background: var(--blue-dark);
}

.product-copy {
  max-width: 920px;
}

.product-copy strong {
  color: #333845;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 70px;
  align-items: start;
}

.contact-item {
  margin-bottom: 32px;
}

.contact-item h3,
.form-panel h3 {
  margin-bottom: 8px;
  color: var(--blue);
}

.contact-item a {
  color: var(--blue);
  font-weight: 600;
}

.form-panel {
  padding: 36px;
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  margin-bottom: 7px;
  color: #333845;
  font-size: 14px;
  font-weight: 600;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 14px 15px;
  font: inherit;
  line-height: 1.45;
  background: var(--white);
  border: 1px solid #d5d7df;
  border-radius: 3px;
}

.form-row textarea {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  min-height: 28px;
  margin: 12px 0 0;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
}

.location-box {
  padding: 68px 0;
  color: var(--blue);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.65;
}

.map-frame {
  overflow: hidden;
  margin: 0 0 88px;
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
}

.whatsapp-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 50;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--white);
  background: #19d366;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(17, 120, 63, 0.28);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.site-footer {
  color: var(--white);
  background: var(--blue);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  text-align: center;
  font-size: 14px;
}

.site-footer a {
  font-weight: 600;
}

@media (max-width: 980px) {
  .topbar {
    display: none;
  }

  .site-header__inner {
    min-height: 92px;
  }

  .brand,
  .brand img {
    width: 126px;
  }

  .nav-toggle {
    display: grid;
  }

  .primary-nav {
    position: absolute;
    top: 92px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 32px 26px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

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

  .primary-nav a {
    min-height: 48px;
  }

  .primary-nav a.is-active::after {
    bottom: 4px;
    width: 54px;
  }

  .slider__viewport {
    width: 100%;
    height: auto;
    margin: 18px 0 28px;
  }

  .slider__button {
    width: 36px;
    height: 36px;
  }

  .slider__button--prev {
    left: 16px;
  }

  .slider__button--next {
    right: 16px;
  }

  .split,
  .split--reverse,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .split--reverse .copy {
    order: 2;
  }

  .photo-card img {
    height: auto;
  }

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

  .gallery.gallery--carousel img {
    flex-basis: calc(50% - 8px);
  }

  .carousel__button--prev {
    left: 8px;
  }

  .carousel__button--next {
    right: 8px;
  }
}

@media (max-width: 640px) {
  .topbar__inner,
  .site-header__inner,
  .container {
    width: min(100% - 40px, 1180px);
  }

  body {
    font-size: 15px;
    line-height: 1.75;
  }

  .section,
  .content-page {
    padding: 52px 0;
  }

  h1,
  h2 {
    font-size: 32px;
  }

  .eyebrow {
    font-size: 14px;
    letter-spacing: 3px;
  }

  .products-preview,
  .value-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery.gallery--carousel img {
    flex-basis: 82%;
  }

  .products-preview img {
    height: auto;
  }

  .form-panel {
    padding: 24px;
  }

  .location-box {
    padding: 34px 0;
    font-size: 18px;
  }

  .map-frame {
    margin-bottom: 52px;
  }

  .map-frame iframe {
    height: 360px;
  }

  .whatsapp-float {
    right: 18px;
    bottom: 18px;
    width: 50px;
    height: 50px;
  }
}
