:root {
  --bg: #fff;
  --text: #181818;
  --accent: #1a1a1a;
  --gray: #ededed;
  --divider: #e2e2e2;
  --link: #222;
  --link-hover: #ad7d52;
  --border-radius: 10px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  line-height: 1.7;
  font-size: 1.1rem;
}

header {
  background: var(--bg);
  border-bottom: 1px solid var(--divider);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  background: var(--bg);
}

.logo-and-mark {
  display: flex;
  align-items: center;
  height: 48px;
  gap: 0.7rem;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.logo-boximg {
  max-height: 40px;
  width: auto;
  display: block;
}
.logo-wordmark {
  max-height: 38px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  flex: 1 1 auto;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links li {
  flex: 1 1 0;
  display: flex;
  justify-content: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--link);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 0.4rem 0;
  transition: color 0.18s;
  position: relative;
  display: inline-block;
}

.nav-links a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--link-hover);
  transition: width 0.25s;
  position: absolute;
  left: 0;
  bottom: -3px;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--link-hover);
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  height: 32px;
  width: 32px;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
}

.nav-toggle span {
  width: 22px;
  height: 2.5px;
  background: var(--accent);
  border-radius: 2px;
  display: block;
  transition: 0.25s;
}

main {
  max-width: 700px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 0 1.5rem;
}

.section {
  background: var(--bg);
  border-radius: 0;
  margin: 0;
  padding: 2.5rem 0 2.5rem 0;
  box-shadow: none;
  border: none;
  position: relative;
}

.section:not(:first-child)::before {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  background: var(--divider);
  position: absolute;
  top: 0;
  left: 0;
}

.section h1,
.section h2 {
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--accent);
  margin-bottom: 1.2rem;
  line-height: 1.1;
}

.section h1 {
  font-size: 2.3rem;
  margin-top: 0;
}

.section h2 {
  font-size: 1.4rem;
  margin-top: 0;
}

.home-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2.8rem;
  margin-top: 0.5rem;
}

.home-logo img {
  max-width: 320px;
  width: 70vw;
  height: auto;
  display: block;
}

address {
  font-style: normal;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  font-size: 1.08rem;
}

.contact-title {
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: 0.04em;
}

.contact-details span {
  font-weight: 500;
  letter-spacing: 0.01em;
}

.contact-details a {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px dotted var(--link-hover);
  transition: color 0.18s;
}

.contact-details a:hover {
  color: var(--link-hover);
}

.contact-hours {
  font-size: 1rem;
  color: #666;
}

@media (max-width: 950px) {
  .navbar {
    max-width: 100%;
    padding: 1.2rem 1rem;
  }
  main {
    padding: 1.2rem 0.6rem 0 0.6rem;
  }
  .logo-and-mark {
    height: 38px;
  }
  .logo-boximg {
    max-height: 32px;
  }
  .logo-wordmark {
    max-height: 28px;
  }
  .nav-links {
    gap: 1.4rem;
  }
  .home-logo img {
    max-width: 220px;
  }
}

@media (max-width: 700px) {
  .navbar {
    flex-wrap: wrap;
    height: auto;
    padding: 0.7rem 0.7rem;
  }
  .nav-links {
    position: absolute;
    background: var(--bg);
    top: 60px;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    box-shadow: 0 3px 14px 0 rgba(0,0,0,0.06);
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
    z-index: 100;
  }
  .nav-links.open {
    max-height: 320px;
    padding: 0.8rem 1.3rem 1rem 1.3rem;
    gap: 1.1rem;
  }
  .nav-links li {
    width: 100%;
    justify-content: flex-start;
  }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 1.0rem 0;
    font-size: 1.13rem;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .logo-and-mark {
    height: 34px;
    gap: 0.4rem;
  }
  .logo-boximg {
    max-height: 26px;
  }
  .logo-wordmark {
    max-height: 19px;
  }
  .section {
    margin-bottom: 2.4rem;
    padding: 1.6rem 0.6rem;
    border-radius: 0;
    box-shadow: none;
  }
  .section h1 {
    font-size: 1.3rem;
  }
  .section h2 {
    font-size: 1.1rem;
  }
  .home-logo img {
    max-width: 120px;
  }
  .contact-block {
    font-size: 1rem;
    gap: 1.1rem;
  }
}