:root {
  --ink: #14202b;
  --muted: #5f6f7b;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #e4e0d8;
  --blue: #17324d;
  --green: #2f8f6b;
  --gold: #f6c453;
  --coral: #e56f51;
  --shadow: 0 18px 55px rgba(20, 32, 43, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 112px;
  padding: 6px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 247, 0.9);
  border-bottom: 1px solid rgba(228, 224, 216, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  font-size: 1.1rem;
}

.brand-logo {
  display: block;
  width: clamp(88px, 10vw, 116px);
  height: clamp(88px, 10vw, 116px);
  object-fit: contain;
  object-position: left center;
  border-radius: 8px;
  filter: drop-shadow(0 12px 24px rgba(23, 50, 77, 0.24));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: #263847;
  font-weight: 700;
  font-size: 0.95rem;
}

.site-nav a,
.nav-dropdown > a {
  position: relative;
  white-space: nowrap;
}

.site-nav > a::after,
.nav-dropdown > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav > a:hover::after,
.site-nav > a:focus-visible::after,
.nav-dropdown:hover > a::after,
.nav-dropdown:focus-within > a::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.services-menu {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  display: grid;
  min-width: 250px;
  padding: 10px;
  border: 1px solid rgba(228, 224, 216, 0.9);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.services-menu::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
}

.services-menu a {
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--blue);
  font-weight: 850;
}

.services-menu a:hover,
.services-menu a:focus-visible {
  background: #eef5f0;
  color: var(--green);
}

.nav-dropdown:hover .services-menu,
.nav-dropdown:focus-within .services-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  padding: 128px 20px 76px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(20, 32, 43, 0.72), rgba(47, 143, 107, 0.4)),
    url("assets/hero-home.png")
      center/cover;
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(transparent, var(--paper));
}

.language-switcher {
  position: absolute;
  top: 132px;
  right: clamp(18px, 4vw, 56px);
  z-index: 2;
  display: flex;
  gap: 6px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.14);
}

.language-switcher button {
  min-width: 42px;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--blue);
  font-weight: 850;
  cursor: pointer;
}

.language-switcher button.active {
  background: var(--blue);
  color: #fff;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 870px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(2.35rem, 7vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-content p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 32px;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 70px);
}

.section-heading,
.section-text {
  max-width: 760px;
}

.section-heading {
  margin: 0 auto 34px;
  text-align: center;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-text p:not(.eyebrow),
.section-heading + p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.about-copy {
  margin-top: 22px;
}

.about-copy p {
  margin: 0 0 16px;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-signature {
  color: var(--blue) !important;
  font-weight: 900;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.about-stats {
  display: grid;
  gap: 14px;
}

.about-stats div {
  padding: 24px;
  border-left: 5px solid var(--gold);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.about-stats strong,
.about-stats span {
  display: block;
}

.about-stats strong {
  font-size: 1.35rem;
}

.about-stats span {
  margin-top: 4px;
  color: var(--muted);
}

.services-section {
  background: #eef5f0;
}

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

.service-card {
  min-height: 350px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(23, 50, 77, 0.1);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(20, 32, 43, 0.08);
}

.service-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dce7df;
}

.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 32, 43, 0.02), rgba(20, 32, 43, 0.68));
}

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

.service-media span {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  width: fit-content;
  max-width: calc(100% - 32px);
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--blue);
  font-size: 0.98rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

h3 {
  margin: 22px 0 14px;
  font-size: 1.35rem;
}

.service-card ul {
  padding: 22px 24px 26px 42px;
}

ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.team-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.team-image {
  min-height: 430px;
  border-radius: 8px;
  background:
    linear-gradient(rgba(20, 32, 43, 0.1), rgba(20, 32, 43, 0.06)),
    url("https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?auto=format&fit=crop&w=1100&q=80")
      center/cover;
  box-shadow: var(--shadow);
}

.contact-section {
  background: var(--blue);
  color: #fff;
}

.contact-section .eyebrow {
  color: var(--gold);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
}

.contact-info,
.quote-form {
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.contact-info {
  overflow: hidden;
}

.contact-info iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
  background: #dce7df;
}

.contact-details {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.contact-details a,
.contact-details span {
  display: grid;
  gap: 6px;
  min-height: 78px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-details strong {
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-content: start;
  padding: clamp(22px, 4vw, 34px);
  background: #fff;
  color: var(--ink);
}

.quote-form h3,
.quote-form .full-field,
.quote-form button,
.quote-form .form-status {
  grid-column: 1 / -1;
}

.hidden-field {
  display: none;
}

.quote-form h3 {
  margin: 0 0 6px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--blue);
  font-weight: 850;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid #d8e0e5;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #f7faf8;
  font: inherit;
}

.quote-form textarea {
  resize: vertical;
  min-height: 132px;
}

.quote-form input:focus,
.quote-form textarea:focus {
  outline: 3px solid rgba(47, 143, 107, 0.22);
  border-color: var(--green);
  background: #fff;
}

.quote-form button {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.form-status {
  min-height: 24px;
  margin: -4px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 70px);
  color: var(--muted);
  background: #fff;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 112px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 15px 12px;
  }

  .site-nav a::after,
  .nav-dropdown > a::after {
    display: none;
  }

  .nav-dropdown {
    display: block;
  }

  .services-menu {
    position: static;
    display: grid;
    min-width: 0;
    margin: 0 0 8px 10px;
    padding: 2px 0 2px 10px;
    border: 0;
    border-left: 3px solid var(--green);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .services-menu::before {
    display: none;
  }

  .services-menu a {
    padding: 10px 12px;
    color: var(--muted);
  }

  .intro-section,
  .team-section {
    grid-template-columns: 1fr;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 86px;
    padding: 8px 16px;
  }

  .brand-logo {
    width: 70px;
    height: 70px;
  }

  .site-nav {
    top: 86px;
  }

  .hero {
    min-height: 92vh;
    padding-top: 142px;
  }

  .language-switcher {
    top: 96px;
    right: 16px;
  }

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

  .service-card {
    min-height: auto;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  .contact-info iframe {
    height: 280px;
  }

  .team-image {
    min-height: 310px;
  }

  .site-footer {
    flex-direction: column;
  }
}
