:root {
  --blue: #4484a4;
  --text: #000;
  --muted: #161616;
  --content-width: 980px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Header */
.site-header {
  padding: 40px 16px 0;
  text-align: center;
}

.site-header .logo img {
  width: 260px;
  margin: 0 auto;
}

.site-header hr {
  max-width: 940px;
  margin: 12px auto 0;
  border: 0;
  border-top: 1px solid #000;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 14px 0 26px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.site-nav a {
  font-size: 15px;
  color: var(--muted);
  transition: color 0.4s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--blue); }

/* Main page */
.hero {
  height: 390px;
  background: url("../images/hero.jpg") center / cover no-repeat;
}

.intro {
  max-width: 800px;
  margin: 0 auto;
  padding: 70px 16px 60px;
  text-align: center;
}

.intro h1 {
  font-size: 72px;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.1;
}

.intro .tagline {
  font-size: 20px;
  font-weight: 600;
  margin: 18px 0 0;
}

.intro h2 {
  font-size: 28px;
  font-weight: 400;
  margin: 22px 0 0;
}

.intro .about {
  text-align: left;
  font-size: 18px;
  line-height: 1.75;
  margin: 36px 0 0;
}

.features {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 60px 16px 120px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.feature img {
  width: 115px;
  height: 115px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.feature h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 16px;
}

.feature p {
  font-size: 17px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 240px;
}

.feature ul {
  display: inline-block;
  text-align: left;
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
  padding-left: 20px;
  max-width: 210px;
}

/* Practices page */
.practices {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 40px 36px 100px;
}

.practices h1,
.practices h2 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.35;
  margin: 40px 0 10px;
}

.practices h1 { margin-top: 20px; }

.practices .lead {
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
}

.practices ul {
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
}

/* Contacts page */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 440px;
  margin-top: 45px;
}

.contact-info {
  background: var(--blue);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 16px 80px;
}

.contact-info h1 {
  font-size: 40px;
  font-weight: 400;
  margin: 0 0 20px;
}

.contact-info p {
  font-size: 15px;
  line-height: 2.1;
  margin: 0;
}

.contact-info a:hover { text-decoration: underline; }

.contact-photo {
  background: url("../images/contacts.jpg") center / cover no-repeat;
}

/* Footer */
.site-footer {
  padding: 70px 16px 60px;
  text-align: center;
}

.social {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social img { width: 20px; height: 20px; }

.site-footer p {
  font-size: 14px;
  margin: 0;
}

/* Small screens */
@media (max-width: 760px) {
  .hero { height: 240px; }
  .intro { padding-top: 48px; }
  .intro h1 { font-size: 44px; }
  .features { grid-template-columns: 1fr; gap: 50px; padding-bottom: 60px; }
  .practices { padding: 24px 16px 60px; }
  .practices h1, .practices h2 { font-size: 28px; }
  .contact { grid-template-columns: 1fr; }
  .contact-info { padding: 60px 16px; }
  .contact-info h1 { font-size: 32px; }
  .contact-photo { min-height: 320px; }
}
