:root {
  --bg: #ffffff;
  --ink: #0f1720;
  --muted: #5b6672;
  --teal: #6bb3bd;
  --rim: #dfe5ea;
  --surface: #f7fafb;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    Cantarell, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

.design-strip {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  height: 100vh;
  background-image: url("../images/background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 4;
  z-index: -1;
}

.motto-banner {
  position: fixed;
  top: 220px;
  right: 120px;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 24px;
  color: rgba(15, 23, 32, 0.75);
  transform: rotate(-30deg) skewX(-10deg);
  letter-spacing: 0.04em;
  z-index: 15;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.motto-banner.hidden {
  transform: translateY(-100%);
  opacity: 0;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--rim);
  transition: transform 0.35s ease;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}
.brand img {
  height: 100px;
  width: auto;
}
.brand .title {
  font-weight: 800;
  letter-spacing: 0.2px;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}
nav a {
  padding: 10px 12px;
  border-radius: 10px;
}
nav a:hover {
  background: rgba(107, 179, 189, 0.12);
}

.right-side-menu {
  display: flex;
  align-items: center;
}
.right-side-menu img {
  width: auto;
  margin-left: 15px;
  cursor: pointer;
  display: none;
}
.cta-btn {
  padding: 10px 14px;
  border: 1px solid var(--teal);
  border-radius: 12px;
  color: #0b3c42;
  font-weight: 600;
  background: rgba(107, 179, 189, 0.15);
}
.cta-btn:hover {
  background: rgba(107, 179, 189, 0.25);
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 20px 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--rim);
  background: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--muted);
}
.h1 {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.1;
  margin: 14px 0 8px;
  font-weight: 800;
  color: #0b3c42;
}
.lead {
  font-size: clamp(16px, 2.2vw, 18px);
  color: var(--muted);
  max-width: 60ch;
}
.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--rim);
  border-radius: 18px;
  padding: 16px;
}
.kicker {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 20px;
  border-top: 1px solid var(--rim);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.pill {
  display: inline-block;
  border: 1px solid var(--rim);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted);
  font-size: 0.9rem;
  background: #fff;
}

.service {
  background: #fff;
  border: 1px solid var(--rim);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service h3 {
  margin: 0;
  color: #0b3c42;
}
.service ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

form {
  display: grid;
  gap: 12px;
}
input,
textarea {
  background: #fff;
  border: 1px solid var(--rim);
  border-radius: 12px;
  color: var(--ink);
  padding: 12px;
  font-size: 16px;
}
textarea {
  min-height: 120px;
}
.send {
  justify-self: start;
}

footer {
  border-top: 1px solid var(--rim);
  background: #fff;
}
.foot {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.foot a {
  color: #0a66c2;
  text-decoration: none;
}
.foot a:hover {
  text-decoration: underline;
}

.svc-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.show {
  opacity: 1;
  transform: none;
}

@media screen and (max-width: 440px) {
  .brand .title {
    display: none;
  }

  .brand img {
    height: 70px;
  }

  .right-side-menu a.cta-btn {
    padding: 8px 10px;
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  header {
    background-color: white;
  }
  .design-strip, .motto-banner {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-cards {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 125px;
    background-color: white;
    padding: 20px;
    box-shadow: 0px 4px 11px rgba(0, 0, 0, 0.3);
  }

  nav.show {
    display: block;
  }

  nav ul {
    flex-direction: column;
  }
  .right-side-menu img {
    display: block;
  }
}
