:root {
  --ink: #212f5f;
  --ink-soft: #586070;
  --cyan: #adf1f9;
  --cyan-deep: #7fe3ef;
  --pink: #f9b1f9;
  --pink-strong: #f39af1;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(33, 47, 95, 0.12);
  --radius: 10px;
  --section: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

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

.skip-link,
.screen-reader {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.skip-link:focus {
  z-index: 50;
  width: auto;
  height: auto;
  clip: auto;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
}

.utility-bar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 10px max(24px, calc((100vw - 1280px) / 2));
  background: var(--cyan);
  font-size: 13px;
  font-weight: 500;
}

.utility-contact {
  display: flex;
  gap: 64px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(33, 47, 95, 0.08);
  backdrop-filter: blur(12px);
}

.nav-shell {
  display: flex;
  align-items: center;
  width: min(1360px, calc(100vw - 48px));
  min-height: 76px;
  margin: 0 auto;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 86px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex: 1;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--pink-strong);
}

.has-submenu {
  position: relative;
}

.has-submenu > a::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.submenu {
  position: absolute;
  top: calc(100% + 18px);
  left: -18px;
  display: grid;
  gap: 8px;
  min-width: 190px;
  padding: 14px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 900;
  font-size: 19px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

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

.button-primary {
  background: var(--pink);
  color: white;
}

.contact-button::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  transform: rotate(-35deg);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  background: transparent;
}

.menu-toggle span:not(.screen-reader) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  width: 100%;
  background: white;
}

.hero-slide {
  display: block;
  width: 100%;
}

.hero-slide picture {
  display: block;
}

.hero-slide img {
  width: 100%;
  height: auto;
}

.section-wide {
  width: var(--section);
  margin: 0 auto;
}

.section-narrow {
  width: min(1020px, calc(100vw - 48px));
  margin: 0 auto;
}

.partners {
  padding: 28px 0 92px;
  text-align: center;
}

.partners h2 {
  margin: 0 0 24px;
  font-size: 13px;
  font-weight: 800;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: 24px;
}

.logo-grid img {
  width: 100%;
  max-height: 52px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.48;
}

.certified {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 74px;
  align-items: center;
  padding: 0 0 106px;
}

.image-stack {
  position: relative;
  min-height: 300px;
}

.image-stack .pink-block {
  position: absolute;
  left: 0;
  bottom: 12px;
  width: 56%;
  height: 48%;
  background: var(--pink);
  border-radius: 8px;
}

.image-stack img {
  position: relative;
  width: 78%;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.copy-block h2,
.services h2,
.values h2,
.value-mobile h2,
.testimonials h2,
.custom h2,
.blog h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  font-weight: 800;
}

.copy-block h3 {
  margin: 30px 0 10px;
  font-size: 15px;
  font-weight: 800;
}

.copy-block p {
  max-width: 560px;
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 15px;
}

mark {
  padding: 0 3px;
  color: inherit;
  background: linear-gradient(to top, #b2f7ef 48%, transparent 48%);
  font-weight: 800;
}

.services {
  padding: 10px 0 120px;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 56px;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 500px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 30px;
  border-radius: var(--radius);
  color: white;
  text-align: left;
  background-image: linear-gradient(to top, rgba(33, 47, 95, 0.82), rgba(33, 47, 95, 0.05)), var(--card-image);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(33, 47, 95, 0.2);
  transition: background 180ms ease;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card:hover::after {
  background: rgba(33, 47, 95, 0.35);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  font-size: 27px;
}

.service-card h3 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.05;
}

.service-card p {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 200ms ease, opacity 200ms ease;
}

.service-card:hover p,
.service-card:focus p {
  max-height: 220px;
  opacity: 1;
}

.values {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 56px;
  align-items: center;
  min-height: 650px;
  padding: 18px 0 110px;
}

.values-intro h2 {
  margin-bottom: 28px;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.28;
}

.values-map {
  position: relative;
}

.values-map img {
  width: 100%;
}

.value-note {
  position: absolute;
  width: 230px;
  color: var(--ink-soft);
  font-size: 15px;
}

.value-note span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--pink);
  color: white;
  font-weight: 800;
}

.value-one {
  left: 8%;
  top: 64%;
}

.value-two {
  left: 33%;
  top: 38%;
}

.value-three {
  left: 60%;
  top: 65%;
}

.value-four {
  right: 2%;
  top: 39%;
}

.value-mobile {
  display: none;
}

.testimonials {
  position: relative;
  overflow: hidden;
  padding: 130px 0 106px;
  background: var(--ink);
  color: white;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -5%;
  width: 110%;
  height: 90px;
  background: white;
  border-radius: 0 0 50% 50%;
}

.testimonials h2 {
  color: white;
  text-align: center;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin: 56px 0 64px;
}

blockquote {
  margin: 0;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

blockquote p {
  margin: 0 0 24px;
  font-family: "Merriweather", Georgia, serif;
  font-size: 24px;
  line-height: 1.45;
}

blockquote cite {
  font-style: normal;
  font-weight: 800;
}

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

.stats-grid strong {
  display: block;
  color: var(--pink);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.custom {
  padding: 110px 0;
  text-align: center;
}

.custom h2 {
  max-width: 880px;
  margin: 0 auto;
}

.blog {
  padding: 0 0 120px;
}

.blog h2 {
  margin-bottom: 38px;
}

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

.blog-card {
  min-width: 0;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.blog-card .category {
  display: inline-block;
  margin-top: 22px;
  color: var(--pink-strong);
  font-size: 13px;
  font-weight: 800;
}

.blog-card h3 {
  margin: 10px 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.18;
}

.blog-card p {
  margin: 0;
  color: var(--ink-soft);
}

.blog-card.compact img {
  aspect-ratio: 1;
}

.whatsapp {
  position: fixed;
  left: 28px;
  bottom: 28px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #24d366;
  color: white;
  font-size: 32px;
  box-shadow: 0 16px 38px rgba(36, 211, 102, 0.34);
}

.site-footer {
  padding: 160px 24px 42px;
  color: var(--ink);
  text-align: center;
  background: url("assets/wavy-bg-desktop-2.png") top center / 100% 100% no-repeat;
}

.site-footer nav {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  max-width: 720px;
  padding: 12px 32px;
  border-radius: 999px;
  background: white;
  font-size: 12px;
  font-weight: 800;
}

.site-footer p,
.site-footer > a {
  display: block;
  margin: 20px 0 0;
  font-size: 12px;
}

@media (max-width: 1120px) {
  .nav-shell {
    min-height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 24px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .nav-links {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .submenu {
    position: static;
    display: grid;
    padding: 10px 0 0 16px;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .has-submenu:hover .submenu,
  .has-submenu:focus-within .submenu {
    display: grid;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .utility-bar {
    align-items: center;
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .utility-contact {
    gap: 18px;
  }

  .certified,
  .values {
    grid-template-columns: 1fr;
  }

  .certified {
    gap: 34px;
  }

  .image-stack img {
    width: min(520px, 82vw);
  }

  .service-grid,
  .quote-grid,
  .stats-grid,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .values {
    display: none;
  }

  .value-mobile {
    display: block;
    padding: 20px 0 90px;
    text-align: center;
  }

  .mobile-values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 42px;
  }

  .mobile-values-grid article {
    padding: 24px;
  }

  .mobile-values-grid img {
    height: 150px;
    margin: 0 auto 20px;
    object-fit: contain;
  }
}

@media (max-width: 640px) {
  :root {
    --section: calc(100vw - 32px);
  }

  .utility-contact {
    flex-direction: column;
  }

  .brand img {
    width: 74px;
  }

  .partners {
    padding-bottom: 58px;
  }

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

  .certified,
  .services,
  .custom,
  .blog {
    padding-bottom: 74px;
  }

  .service-grid,
  .quote-grid,
  .stats-grid,
  .blog-grid,
  .mobile-values-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 360px;
  }

  .service-card p {
    max-height: none;
    opacity: 1;
  }

  .testimonials {
    padding: 98px 0 80px;
  }

  blockquote p {
    font-size: 19px;
  }

  .site-footer nav {
    border-radius: 16px;
  }
}
