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

:root {
  --ink: #22252b;
  --muted: #5f6670;
  --section: #e8eaec;
  --white: #fff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--white);
}

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

/* ========== NAVIGATION ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  min-height: 96px;
  padding: 22px 128px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  transition: box-shadow 0.25s ease, min-height 0.25s ease, padding 0.25s ease;
}

.navbar.scrolled {
  min-height: 78px;
  padding-top: 16px;
  padding-bottom: 16px;
  box-shadow: 0 1px 18px rgba(17, 24, 39, 0.08);
}

.navbar-logo {
  display: inline-flex;
  align-items: center;
}

.navbar-logo img {
  width: 216px;
  height: auto;
  display: block;
}

.navbar-links {
  display: flex;
  gap: 34px;
  list-style: none;
  align-items: center;
}

.navbar-links a {
  color: #111;
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
  transition: color 0.2s;
}

.navbar-links a:hover {
  color: #6b7280;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #111;
  transition: transform 0.3s, opacity 0.3s;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  width: 100%;
  min-height: calc(86vh - 96px);
  margin-top: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.12)), url('../images/hero-bg.jpg') center center / cover no-repeat;
  z-index: 0;
}

.hero-content {
  max-width: 900px;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-size: 64px;
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
}

.hero-content p {
  font-size: 28px;
  line-height: 1.35;
  font-weight: 300;
  opacity: 0.96;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
}

.hero-scroll {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  opacity: 0.75;
  animation: bounce 2s infinite;
  transition: opacity 0.2s;
}

.hero-scroll:hover {
  opacity: 1;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* ========== ABOUT ========== */
.about {
  padding: 80px 120px 118px;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 500px) minmax(360px, 1fr);
  gap: 118px;
  align-items: center;
}

.about h2 {
  font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 34px;
  color: var(--ink);
}

.about-photo {
  width: 100%;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.about-copy {
  text-align: center;
}

.about-text {
  font-size: 16px;
  line-height: 1.72;
  color: #343941;
  max-width: 610px;
  margin: 0 auto;
}

.about-text + .about-text {
  margin-top: 28px;
}

/* ========== SERVICES ========== */
.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.services-left {
  background: var(--section);
  padding: 92px 72px 88px 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services h2 {
  font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-size: 31px;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 38px;
  color: var(--ink);
  border-bottom: 3px solid var(--ink);
  padding-bottom: 15px;
  display: inline-block;
  max-width: 640px;
}

.services-list {
  list-style: none;
  counter-reset: service-counter;
  max-width: 640px;
}

.services-list li {
  counter-increment: service-counter;
  padding: 14px 0;
  font-size: 15px;
  color: #343941;
  border-bottom: 1px solid #cfd3d8;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: color 0.2s;
}

.services-list li:last-child {
  border-bottom: none;
}

.services-list li:hover {
  color: #111827;
}

.services-list li::before {
  content: counter(service-counter) ".";
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  color: #111827;
  min-width: 24px;
}

.services-right {
  position: relative;
  background: url('../images/services-bg.jpg') center center / cover no-repeat;
}

.services-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.23);
}

/* ========== CONTACT ========== */
.contact {
  padding: 108px 60px 58px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  background: #fff;
}

.contact h2 {
  font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: 24px;
  color: #333941;
}

.contact-subtitle {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 204px;
  min-height: 48px;
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: #050505;
  letter-spacing: 0;
  padding: 12px 24px;
  border-radius: 3px;
  transition: background 0.2s, transform 0.2s;
}

.contact-email:hover {
  background: #333;
  transform: translateY(-1px);
}

/* ========== FOOTER ========== */
.footer {
  background: #fff;
  color: #333941;
  padding: 0 60px 48px;
  text-align: center;
}

.footer-inner {
  max-width: 720px;
  margin: 0 auto;
}

.footer-brand,
.footer-divider {
  display: none;
}

.footer-info p,
.footer-copy {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 4px;
  opacity: 1;
}

.footer-copy {
  margin-top: 0;
}

.footer a {
  color: #333941;
  transition: color 0.2s;
}

.footer a:hover {
  color: #000;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 980px) {
  .navbar {
    padding-left: 40px;
    padding-right: 40px;
  }

  .about {
    padding-left: 40px;
    padding-right: 40px;
    gap: 48px;
  }

  .services-left {
    padding-left: 56px;
    padding-right: 44px;
  }
}

@media (max-width: 768px) {
  .navbar {
    min-height: 60px;
    padding: 8px 24px;
    justify-content: center;
  }

  .navbar.scrolled {
    min-height: 60px;
    padding: 8px 24px;
  }

  .navbar-logo img {
    width: 198px;
  }

  .navbar-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 22px;
    gap: 16px;
    box-shadow: 0 12px 22px rgba(17, 24, 39, 0.08);
  }

  .navbar-links.active {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
    position: absolute;
    right: 24px;
  }

  .hero {
    min-height: calc(86vh - 60px);
    margin-top: 60px;
  }

  .hero-content h1 {
    font-size: 40px;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 26px;
    line-height: 1.5;
  }

  .about {
    padding: 58px 24px 78px;
    display: flex;
    flex-direction: column;
    gap: 36px;
  }

  .about h2 {
    font-size: 26px;
    margin-bottom: 24px;
  }

  .about-copy {
    order: 2;
  }

  .about-photo {
    order: 1;
    max-width: 520px;
  }

  .about-text {
    font-size: 14px;
  }

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

  .services-left {
    padding: 58px 28px 56px;
  }

  .services h2 {
    font-size: 26px;
  }

  .services-list li {
    align-items: flex-start;
    gap: 14px;
    font-size: 14px;
  }

  .services-right {
    min-height: 260px;
  }

  .contact {
    padding: 70px 24px 42px;
  }

  .contact h2 {
    font-size: 34px;
  }

  .contact-subtitle {
    font-size: 15px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-email {
    min-width: 0;
    width: min(100%, 280px);
    font-size: 15px;
  }

  .footer {
    padding: 0 24px 36px;
  }

  .footer-info p,
  .footer-copy {
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .navbar-logo img {
    width: 180px;
  }
}
