@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
  --ink: #102a35;
  --muted: #62747b;
  --navy: #073848;
  --navy-deep: #052b38;
  --teal: #0d7a77;
  --aqua: #dff3f0;
  --cream: #f7f5ef;
  --white: #fff;
  --line: #dbe5e4;
  --accent: #e4a63b;
  --shadow: 0 18px 45px rgba(6, 55, 70, .11);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0 0 16px; font-family: "Manrope", Arial, sans-serif; line-height: 1.13; }
p { margin: 0 0 18px; }
.container { width: min(1160px, calc(100% - 40px)); margin: auto; }
.section { padding: 96px 0; }
.section-soft { background: var(--aqua); }
.section-dark { color: var(--white); background: var(--navy); }
.eyebrow {
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.section-dark .eyebrow { color: #7fddd5; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 4vw, 48px); }
.section-head p { color: var(--muted); font-size: 18px; }
.section-dark .section-head p { color: #b8d2d5; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: #332408;
  font-weight: 700;
  transition: .25s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(228,166,59,.25); }
.button-outline { border-color: rgba(255,255,255,.45); color: var(--white); background: transparent; }
.button-outline:hover { background: rgba(255,255,255,.1); box-shadow: none; }
.text-link { color: var(--teal); font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219,229,228,.8);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
}
.nav-wrap { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 178px; height: 55px; object-fit: contain; object-position: left center; }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 700; }
.site-nav a { transition: color .2s ease; }
.site-nav a:hover, .site-nav .active { color: var(--teal); }
.site-nav .nav-cta { padding: 10px 16px; border-radius: 999px; color: var(--white); background: var(--navy); }
.site-nav .nav-cta:hover { color: var(--white); background: var(--teal); }
.nav-toggle { display: none; padding: 5px; border: 0; background: transparent; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px; background: var(--navy); }

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(90deg, rgba(4,38,49,.94), rgba(4,38,49,.66)), url("../img/hero-bg.jpg") center/cover;
}
.hero::after {
  position: absolute;
  right: -110px;
  bottom: -170px;
  width: 450px;
  height: 450px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  content: "";
}
.hero-content { position: relative; z-index: 1; max-width: 770px; padding: 96px 0; }
.hero .eyebrow { color: #82ddd4; }
.hero h1 { font-size: clamp(48px, 7vw, 82px); letter-spacing: -3px; }
.hero p { max-width: 650px; color: #d5e5e6; font-size: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 72px; background: rgba(255,255,255,.16); }
.hero-stat { padding: 20px; background: rgba(4,38,49,.66); }
.hero-stat strong { display: block; color: #8be2d8; font-family: "Manrope"; font-size: 28px; }
.hero-stat span { color: #c7d9db; font-size: 14px; }

.page-hero { padding: 96px 0 84px; color: var(--white); background: linear-gradient(120deg, var(--navy-deep), #0b6870); }
.page-hero h1 { max-width: 760px; font-size: clamp(44px, 6vw, 70px); letter-spacing: -2px; }
.page-hero p:last-child { max-width: 700px; color: #c8e0e0; font-size: 19px; }
.page-hero .eyebrow { color: #82ddd4; }

.feature-grid, .product-grid, .service-grid, .client-grid, .team-grid, .gallery-grid { display: grid; gap: 22px; }
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.feature-card, .product-card, .service-card, .team-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 2px 0 rgba(6,55,70,.03);
  transition: .25s ease;
}
.feature-card:hover, .product-card:hover, .service-card:hover, .team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-card { padding: 30px; }
.feature-card .number { color: var(--accent); font-family: "Manrope"; font-size: 14px; font-weight: 800; }
.feature-card h3 { margin-top: 22px; font-size: 23px; }
.feature-card p { margin-bottom: 0; color: var(--muted); }
.product-grid { grid-template-columns: repeat(3, 1fr); }
.product-card img { width: 100%; height: 210px; object-fit: cover; }
.card-body { padding: 22px; }
.card-body h3 { font-size: 20px; }
.card-body p { margin-bottom: 0; color: var(--muted); font-size: 15px; }
.service-grid { grid-template-columns: repeat(3, 1fr); }
.service-card img { width: 100%; height: 235px; object-fit: cover; }
.service-card ul { padding-left: 18px; color: var(--muted); }
.service-card li { margin: 7px 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.split img { width: 100%; min-height: 390px; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.split h2 { font-size: clamp(30px, 4vw, 48px); }
.split p { color: var(--muted); }
.check-list { display: grid; gap: 12px; margin: 25px 0 30px; padding: 0; list-style: none; }
.check-list li { padding-left: 28px; position: relative; font-weight: 600; }
.check-list li::before { position: absolute; left: 0; color: var(--teal); content: "✓"; }

/* .client-grid { grid-template-columns: repeat(4, 1fr); }
.client-card { display: grid; min-height: 170px; padding: 22px; place-items: center; border-radius: 16px; background: var(--white); box-shadow: var(--shadow); text-align: center; }
.client-card img { max-width: 155px; max-height: 86px; object-fit: contain; }
.client-card strong { display: block; margin-top: 16px; color: var(--navy); } */

/* .client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.client-item {
  text-align: center;
}

.client-card {
  height: 160px;
  padding: 25px 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: all .35s ease;
}

.client-card img {
  max-width: 240px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.client-name {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.client-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .18);
}

.client-card:hover img {
  transform: scale(1.08);
} */

.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.client-item {
  text-align: center;
}

.client-card {
  height: 160px;
    width: 100%;
  padding: 25px 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);

  transition:
    transform .45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow .45s cubic-bezier(0.22, 1, 0.36, 1);

  overflow: hidden;
}

.client-card img {
  width: 260px;
  height: 110px;
  object-fit: contain;

  transform: scale(1);
  transition: transform .7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.client-name {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.client-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .18);
}

.client-card:hover img {
  transform: scale(1.02);
}


.team-grid { grid-template-columns: repeat(3, 1fr); }
.team-section-head { margin-top: 64px; }
.team-page .section-head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.team-page .management-grid {
  grid-template-columns: repeat(2, minmax(260px, 330px));
  justify-content: center;
}
.team-page .team-grid {
  justify-content: center;
}
.team-page .team-members-grid {
  grid-template-columns: repeat(4, minmax(210px, 1fr));
}
.team-card { text-align: center; }
.team-card img { width: 100%; height: 315px; object-fit: cover; object-position: top; }
.team-card img.team-img-shift-up { object-position: center 70%; }
.team-card .role { color: var(--teal); font-weight: 700; }
.gallery-grid { grid-template-columns: repeat(3, 1fr); }
.gallery-grid a { overflow: hidden; border-radius: 15px; background: var(--navy); }
.gallery-grid img { width: 100%; height: 245px; object-fit: cover; transition: transform .35s ease, opacity .35s ease; }
.gallery-grid a:hover img { opacity: .84; transform: scale(1.06); }

.contact-grid { display: grid; grid-template-columns: .9fr 1.4fr; gap: 36px; }
.contact-panel, .contact-form { padding: 30px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.contact-panel h2, .contact-form h2 { font-size: 28px; }
.contact-panel p { color: var(--muted); }
.contact-item { padding: 18px 0; border-top: 1px solid var(--line); }
.contact-item strong { display: block; margin-bottom: 5px; color: var(--navy); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field-full { grid-column: 1 / -1; }
input, textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: #fbfdfd;
  font: inherit;
}
textarea { min-height: 150px; resize: vertical; }
.map { width: 100%; height: 330px; border: 0; border-radius: var(--radius); }

.site-footer { padding-top: 60px; color: #bed1d4; background: #042b38; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 55px; }
.footer-logo { width: 190px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.site-footer h2 { color: var(--white); font-size: 18px; }
.site-footer a { color: #d8e5e6; }
.site-footer a:hover { color: #8be2d8; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 14px; }
.footer-bottom { margin-top: 42px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.footer-bottom p { margin: 0; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 78px;
    left: 0;
    width: 100%;
    display: none;
    padding: 18px 20px 24px;
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav .nav-cta { text-align: center; }
  .feature-grid, .product-grid, .service-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-page .management-grid,
  .team-page .team-members-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1160px); }
  .section { padding: 70px 0; }
  .hero { min-height: 650px; }
  .hero h1 { font-size: 49px; letter-spacing: -2px; }
  .hero p { font-size: 17px; }
  .hero-stats { margin-top: 52px; }
  .hero-stat { padding: 14px 10px; }
  .hero-stat strong { font-size: 23px; }
  .hero-stat span { font-size: 12px; }
  .page-hero { padding: 70px 0 60px; }
  .feature-grid, .product-grid, .service-grid, .client-grid, .team-grid, .gallery-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .team-page .management-grid,
  .team-page .team-members-grid { grid-template-columns: 1fr; }
  .gallery-grid img { height: 220px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}
