:root {
  --bone: #cfc9b8ff;
  --platinum: #ecebe7ff;
  --cool-gray: #8991a6ff;
  --antiflash-white: #f1f2f3ff;
  --white: #fefefeff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #000;
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.navbar {
  background-color: var(--white);
  padding: 24px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand span {
  font-size: 14px;
  font-weight: 400;
  color: #000;
}


.logo-img {
  width: auto;/*174px;*/
  height: 60px; /*77px*/
  object-fit: contain;
  /*flex-shrink: 0;*/
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: #000;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}


.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-menu a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--cool-gray);
}

.hero-section {
  min-height: 100vh;
  background-image: url('https://images.pexels.com/photos/3184465/pexels-photo-3184465.jpeg?auto=compress&cs=tinysrgb&w=1920');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 88px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}

.hero-title {
  font-size: 72px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 32px;
  letter-spacing: -1px;
}

.hero-link {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  padding: 16px 40px;
  border: 2px solid #fff;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.hero-link:hover {
  background-color: #fff;
  color: #000;
}

.section {
  padding: 120px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

#about {
  margin-top: 0;
}

.section-alt {
  background-color: var(--antiflash-white);
}

h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 32px;
  color: #000;
  line-height: 1.2;
}

h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #000;
}

h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #0c0c0c;
}

p {
  font-size: 18px;
  line-height: 1.8;
  color: #000;
  margin-bottom: 16px;
  max-width: 800px;
  font-weight: 500;
}

#about .container {
  text-align: justify;
}

#about p {
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.service-card {
  background-color: var(--white);
  padding: 0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card h3, h4,
.service-card p {
  padding: 0 32px;
}

.service-card h3 {
  padding-top: 24px;
}

.service-card p {
  padding-bottom: 32px;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.service-card p {
  margin-bottom: 0;
}

#contact .container {
  text-align: center;
}

#contact > .container > p {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 48px;
  margin-top: 48px;
}

.contact-item h3 {
  color: #000;
  margin-bottom: 12px;
}

.contact-item p {
  color: #000;
  font-size: 16px;
  margin: 0;
  font-weight: 400;
}

.footer {
  background-color: var(--platinum);
  padding: 32px 0;
  text-align: center;
}

.footer p {
  color: #000;
  font-size: 14px;
  margin: 0;
  font-weight: 600;
}

@media (max-width: 768px) {
  .logo-img {
    /*width: 32px;*/
    height: 32px;
  }

  .nav-brand {
    font-size: 20px;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 88px;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: left 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 32px 0;
    gap: 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    padding: 16px 0;
  }

  .nav-menu a {
    font-size: 18px;
  }

  h1 {
    font-size: 36px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-content {
    padding: 0 24px;
  }

  .section {
    padding: 80px 0;
  }

  .services-grid,
  .contact-info {
    grid-template-columns: 1fr;
  }
}
