:root {
  --color-bg: #ffffff;
  --color-text: #0f1720;
  --color-muted: #4d5964;
  --color-accent: #1c3f3a;
  --tile-sand: #ebe8dc;
  --tile-mint: #e0e9e9;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
}

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

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.site-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid #e9eef2;
  padding: 1.65rem 0 1.8rem;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.2rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.98rem;
  color: #202a31;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 0.35rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--color-accent);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.logo {
  max-height: 44px;
  width: auto;
  display: block;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.96rem;
  font-weight: 500;
}

.header-nav a:hover {
  color: var(--color-accent);
}

.lang-switch {
  border: 1px solid #d8dee3;
  background: #ffffff;
  color: var(--color-text);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
}

.hero-section {
  background: #ffffff;
  padding: 2.2rem 0 3rem;
}

.services-section {
  background: #ffffff;
  padding: 4.5rem 0 5.2rem;
}

.about-section {
  background: #ffffff;
  padding: 2rem 0 5.2rem;
}

.reviews-section {
  background: #ffffff;
  padding: 2rem 0 5.2rem;
}

.contact-section {
  padding: 4.2rem 0;
  background-color: #12443e;
  background-image: url("assets/contact-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-wrap {
  display: flex;
  justify-content: center;
}

.contact-card {
  width: min(100%, 720px);
  background: #ffffff;
  border-radius: 6px;
  padding: 2.2rem 2rem 1.8rem;
}

.contact-kicker,
.contact-title {
  text-align: center;
}

.contact-title {
  margin-bottom: 0.95rem;
}

.contact-subtitle {
  margin: 0 auto 1.8rem;
  color: #5d6670;
  text-align: center;
  max-width: 38ch;
  font-size: 1.05rem;
  line-height: 1.45;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.contact-field label {
  color: #4e5964;
  font-size: 0.95rem;
}

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

.field-full {
  margin-bottom: 0.75rem;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #d8dfe4;
  background: transparent;
  padding: 0.6rem 0.05rem;
  font: inherit;
  color: #1a232b;
  outline: none;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-bottom-color: #1c3f3a;
}

.contact-field textarea {
  resize: vertical;
  min-height: 95px;
}

.field-error {
  min-height: 1em;
  margin: 0;
  color: #c03535;
  font-size: 0.82rem;
}

.contact-submit {
  width: 100%;
  border: 0;
  border-radius: 999px;
  min-height: 52px;
  margin-top: 0.6rem;
  background: #1c3f3a;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

.contact-success {
  margin: 0.9rem 0 0;
  text-align: center;
  color: #1c3f3a;
  font-weight: 600;
  display: none;
}

.contact-success.visible {
  display: block;
}

.reviews-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
}

.reviews-title {
  margin-bottom: 2.1rem;
}

.reviews-arrows {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.6rem;
}

.review-arrow {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1.6px solid #11171d;
  background: #ffffff;
  color: #11171d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.review-arrow-next {
  border-color: #dfe7e8;
  background: #dfe7e8;
}

.review-arrow span {
  font-size: 2rem;
  line-height: 1;
  margin-top: -2px;
}

.reviews-carousel {
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 1.1rem;
  transition: transform 0.35s ease;
}

.review-card {
  flex: 0 0 calc((100% - 2.2rem) / 3);
  border: 1px solid #e8ecef;
  border-radius: 14px;
  background: #ffffff;
  padding: 1.45rem 1.45rem 1.25rem;
  min-height: 238px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-text {
  margin: 0 0 1.2rem;
  font-size: 1.05rem;
  line-height: 1.72;
  color: #1e262d;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.review-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.review-name {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: #141a1f;
}

.review-role {
  margin: 0;
  font-size: 0.9rem;
  color: #202b31;
}

.about-grid {
  display: grid;
  grid-template-columns: 330px 1fr;
  align-items: start;
  gap: 5.2rem;
}

.about-image-wrap {
  width: 330px;
  height: 330px;
}

.about-image {
  width: 330px;
  height: 330px;
  object-fit: cover;
  display: block;
}

.about-title {
  margin-bottom: 1.75rem;
}

.about-text {
  margin: 0;
  color: #242c33;
  font-size: 1.04rem;
  line-height: 1.8;
  max-width: 62ch;
}

.section-kicker {
  margin: 0;
  color: #2f8b7e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  font-size: 0.95rem;
}

.section-title {
  margin: 0.75rem 0 3.2rem;
  font-size: clamp(2.1rem, 3.6vw, 3.35rem);
  line-height: 1.08;
  font-weight: 800;
}

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

.service-card {
  max-width: 320px;
}

.service-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  display: block;
  margin-bottom: 1.2rem;
}

.service-card h3 {
  margin: 0 0 0.8rem;
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 700;
  max-width: 12ch;
}

.service-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.42;
  max-width: 27ch;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2.8rem;
}

.hero-kicker {
  color: #2f8b7e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin: 0 0 1rem;
}

.hero-copy h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 1.05;
  font-weight: 800;
}

.hero-description {
  margin: 1.3rem 0 2rem;
  color: var(--color-muted);
  max-width: 56ch;
  font-size: 1.06rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 50px;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: #ffffff;
  font-weight: 600;
}

.metrics-grid {
  width: 500px;
  height: 500px;
  margin-left: auto;
  display: grid;
  grid-template-columns: repeat(2, 250px);
  grid-template-rows: repeat(2, 250px);
  gap: 0;
}

.metric-tile {
  min-width: 0;
  min-height: 0;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric-tile h2 {
  margin: 0;
  font-size: clamp(2rem, 3.3vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
}

.metric-tile p {
  margin: 0;
  font-size: 1.05rem;
}

.tile-photo {
  padding: 0;
  overflow: hidden;
}

.tile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tile-availability {
  background: var(--tile-sand);
  color: #183a36;
  border-bottom-left-radius: 120px;
}

.tile-experience {
  background: var(--tile-mint);
  color: #183a36;
  border-top-right-radius: 120px;
}

.tile-clients {
  background: var(--color-accent);
  color: #ffffff;
}

@media (max-width: 990px) {
  .header-nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    margin-left: 0;
    width: 500px;
    height: 500px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-card {
    max-width: 100%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .review-card {
    flex-basis: calc((100% - 1.1rem) / 2);
  }

  .contact-card {
    padding: 2rem 1.4rem 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.7rem;
  }

  .footer-nav {
    padding-top: 0;
    gap: 1.25rem;
  }
}

@media (max-width: 540px) {
  .site-header {
    position: static;
  }

  .hero-section {
    padding-top: 1.4rem;
  }

  .metric-tile {
    padding: 0.85rem;
  }

  .metric-tile p {
    font-size: 0.9rem;
  }

  .services-section {
    padding-top: 3.2rem;
    padding-bottom: 3.6rem;
  }

  .section-kicker {
    font-size: 0.95rem;
  }

  .section-title {
    margin-bottom: 2.2rem;
  }

  .service-card h3 {
    font-size: 1.55rem;
  }

  .service-card p {
    font-size: 1rem;
  }

  .about-section {
    padding-top: 0.8rem;
    padding-bottom: 3.6rem;
  }

  .about-image-wrap,
  .about-image {
    width: min(330px, 100%);
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .about-text {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .reviews-section {
    padding-top: 0.8rem;
    padding-bottom: 3.6rem;
  }

  .reviews-head {
    flex-direction: column;
    gap: 0.4rem;
  }

  .review-arrow {
    width: 52px;
    height: 52px;
  }

  .review-text {
    font-size: 1rem;
    line-height: 1.55;
  }

  .review-name {
    font-size: 1.15rem;
  }

  .reviews-track {
    gap: 0.85rem;
  }

  .review-card {
    flex-basis: 100%;
  }

  .contact-section {
    padding: 2.6rem 0;
  }

  .contact-fields-row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .site-footer {
    padding: 1.35rem 0 1.45rem;
  }

  .footer-copy,
  .footer-nav {
    font-size: 0.9rem;
  }
}
