:root {
  --primary: #149aa0;
  --primary-dark: #0f7f84;
  --text: #1f2937;
  --muted: #5f6b75;
  --bg: #f7f7f7;
  --white: #ffffff;
  --line: #e7e7e7;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
  --header-height: 86px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 64px 0;
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  margin-bottom: 36px;
  line-height: 1.1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav a {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #fff;
  margin: 5px auto;
  border-radius: 10px;
  transition: 0.25s ease;
}

.hero {
  padding: 28px 0 26px;
}

.hero-box {
  background: var(--white);
  overflow: hidden;
  position: relative;
  min-height: 580px;
  display: grid;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.90) 0%, rgba(255,255,255,0.82) 34%, rgba(255,255,255,0.45) 60%, rgba(255,255,255,0.35) 100%),
    url('images/hero-bg.jpg') center center / contain no-repeat;
  background-color: #eef6f6;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(320px, 1fr);
  align-items: end;
  gap: 28px;
  min-height: 580px;
  padding: 30px 48px 0;
}

.hero-visual {
  align-self: end;
  display: flex;
  justify-content: center;
}

.hero-visual img {
  max-height: 540px;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
}

.hero-content {
  max-width: 560px;
  padding-bottom: 56px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 4.6vw, 4.25rem);
  line-height: 1.05;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-content h1 span {
  color: var(--primary);
  display: block;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 2.3vw, 2rem);
  color: var(--primary);
  font-weight: 400;
  margin-bottom: 18px;
}

.hero-subtitle strong {
  font-weight: 700;
}

.hero-text {
  color: #4f5962;
  font-size: 1.02rem;
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 188px;
  min-height: 58px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(20, 154, 160, 0.22);
}

.btn-secondary {
  background: #fff;
  color: var(--muted);
  border-color: #dcdcdc;
}

.btn:hover {
  transform: translateY(-1px);
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  text-align: center;
  box-shadow: var(--shadow);
}

.service-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(20, 154, 160, 0.14);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 700;
}

.service-card h3 {
  font-size: 1.8rem;
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 14px;
  font-weight: 600;
}

.service-card p {
  color: #4e5962;
  line-height: 1.55;
  font-size: 0.98rem;
  max-width: 270px;
  margin: 0 auto;
}

.services-more {
  display: none;
  margin-top: 24px;
}

.services-more.active {
  display: grid;
}

.services-action {
  text-align: center;
  margin-top: 28px;
}

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

.work-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.work-labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 10px;
  font-size: 0.88rem;
  color: #8a949d;
  font-weight: 500;
  padding: 0 8px;
}

.work-labels span:last-child {
  color: var(--primary);
  font-weight: 600;
}

.work-images {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.work-image {
  aspect-ratio: 3 / 2;
  border-radius: 12px;
  overflow: hidden;
  background: #f0f0f0;
  border: 1px solid #ececec;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.work-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.work-footer span:last-child {
  color: var(--primary);
  font-weight: 700;
}

.contact {
  padding-top: 72px;
  padding-bottom: 92px;
}

.contact-box {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.contact-box h2 {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  margin-bottom: 38px;
  line-height: 1.1;
}

.contact-group {
  margin-bottom: 34px;
}

.contact-group p {
  font-size: clamp(1.2rem, 2vw, 1.85rem);
  color: var(--primary-dark);
  font-weight: 500;
  line-height: 1.4;
}

.site-footer {
  padding: 20px 0 34px;
  text-align: center;
  color: #839099;
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 360px 1fr;
    padding: 20px 24px 0;
  }

  .hero-visual img {
    max-height: 480px;
  }

  .services-grid,
  .works-grid {
    gap: 18px;
  }

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

@media (max-width: 860px) {
  :root {
    --header-height: 78px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 16px 18px;
    border-top: 1px solid rgba(255,255,255,0.12);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 14px 4px;
  }

  .hero-box {
    min-height: auto;
  }

 .hero-bg {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.78) 0%, rgba(255,255,255,0.72) 45%, rgba(255,255,255,0.68) 100%),
    url('images/hero-bg.jpg') center center / cover no-repeat;
  background-color: #eef6f6;
}

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 30px 20px 0;
    gap: 18px;
  }

  .hero-visual {
    order: 1;
  }

  .hero-content {
    order: 2;
    max-width: 100%;
    padding-bottom: 36px;
    text-align: center;
  }

  .hero-visual img {
    max-height: 380px;
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .services-grid,
  .services-more,
  .works-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 52px 0;
  }

  .section-title {
    margin-bottom: 28px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 20px, var(--container));
  }

  .brand img {
    height: 42px;
  }

  .hero {
    padding-top: 14px;
  }

  .hero-grid {
    padding: 22px 14px 0;
  }

  .hero-visual img {
    max-height: 300px;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }

  .hero-subtitle {
    font-size: 1.15rem;
  }

  .hero-text {
    font-size: 0.95rem;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }

  .service-card {
    padding: 28px 20px;
  }

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

  .work-card {
    padding: 14px;
  }

  .work-images {
    gap: 6px;
  }

  .work-arrow {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .work-footer {
    font-size: 0.88rem;
  }

  .contact-box h2 {
    margin-bottom: 28px;
  }

  .contact-group p {
    font-size: 1.12rem;
  }
}
.service-card {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.10);
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.service-modal.active {
  display: block;
}

.service-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(3px);
}

.service-modal-content {
  position: relative;
  width: min(960px, calc(100% - 24px));
  max-height: 88vh;
  overflow-y: auto;
  margin: 5vh auto 0;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  padding: 28px;
  z-index: 1;
}

.service-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #f2f4f7;
  color: #1f2937;
  font-size: 1.7rem;
  cursor: pointer;
}

.service-modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.service-modal-image img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.service-modal-text h3 {
  font-size: 2rem;
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 16px;
}

.service-modal-text p {
  color: #4e5962;
  margin-bottom: 14px;
  line-height: 1.7;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 860px) {
  .service-modal-content {
    padding: 20px;
    margin-top: 3vh;
  }

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

  .service-modal-text h3 {
    font-size: 1.6rem;
  }
}
.service-modal-text h4 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin: 20px 0 8px;
  font-weight: 700;
}