* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: #24231f;
  background: #f6f1e6;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a { color: #204e72; }
a:hover { text-decoration-thickness: 2px; }

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

header {
  background: #fbf8f0;
  border-bottom: 1px solid #c9c3b7;
}

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

.name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #24231f;
  text-decoration: none;
}

.name svg { width: 31px; height: 42px; }
.name svg path { fill: currentColor; }
.name span { display: grid; line-height: .9; }
.name strong { font-size: 21px; letter-spacing: .3px; }
.name small { margin-top: 7px; font-size: 9px; font-weight: bold; letter-spacing: 1.2px; }

nav {
  display: flex;
  gap: 22px;
}

nav a { font-size: 14px; }

main { background: #f6f1e6; }

.intro {
  padding: 55px 0;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 45px;
}

h1 {
  margin: 0 0 18px;
  font-size: 50px;
  line-height: 1.05;
  letter-spacing: -1.5px;
}

h2 {
  margin: 0 0 12px;
  font-size: 25px;
}

p { margin: 0 0 16px; }

.call-button {
  display: inline-block;
  margin-top: 8px;
  padding: 11px 16px;
  color: #fff;
  background: #b84436;
  font-weight: bold;
  text-decoration: none;
  border: 1px solid #7f2c26;
  border-radius: 2px;
}

.call-button:hover { background: #9f352b; }

figure { margin: 0; }

.photo-crop {
  height: 390px;
  overflow: hidden;
  background: #fff;
  border: 6px solid #fff;
  box-shadow: 0 3px 12px rgba(40, 35, 25, .16);
}

.photo-crop img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 44%;
  transform: scale(1.14);
}

figcaption {
  margin-top: 7px;
  color: #666;
  font-size: 13px;
}

.information {
  padding: 42px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  border-top: 1px solid #bdb7aa;
  border-bottom: 1px solid #bdb7aa;
}

.information section { padding-top: 18px; border-top: 3px solid #b84436; }

.information section p:last-child { margin-bottom: 0; }

.contact {
  margin: 50px auto 60px;
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: #fbf8f0;
  border: 1px solid #c9c3b7;
}

.contact h2 { margin-bottom: 5px; }
.contact p {
  margin: 0;
  color: #666;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
}

.contact-phone {
  flex: 0 0 auto;
  font-size: 31px;
  font-weight: bold;
  text-underline-offset: 5px;
}

footer {
  color: #e9e5dc;
  background: #2e3935;
  border-top: 0;
}

.footer-main {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  align-items: center;
  gap: 50px;
}

.footer-name strong { display: block; margin-bottom: 7px; font-size: 18px; }
.footer-name p { max-width: 300px; margin: 0; color: #c5cbc8; font-size: 13px; }
.footer-contact span { display: block; margin-bottom: 5px; color: #aeb7b3; font-size: 11px; font-weight: bold; text-transform: uppercase; }
.footer-contact a { color: #fff; font-size: 18px; font-weight: bold; }
.footer-links { display: grid; gap: 7px; }
.footer-links a { color: #e9e5dc; font-size: 13px; }
.footer-bottom { padding: 14px 0 18px; border-top: 1px solid rgba(255,255,255,.16); }
.footer-bottom p { margin: 0; color: #aeb7b3; font-size: 11px; }

@media (max-width: 700px) {
  .header-inner {
    min-height: 86px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
  }

  nav { gap: 18px; }

  .intro {
    padding: 38px 0;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  h1 { font-size: 39px; }

  .name svg { width: 27px; height: 37px; }

  .photo-crop { height: 330px; }
  .photo-crop img { object-position: 50% 43%; transform: scale(1.35); }

  .information {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact { align-items: flex-start; flex-direction: column; gap: 18px; }
  .contact-phone { font-size: 28px; }
  .footer-main { padding: 36px 0; grid-template-columns: 1fr; gap: 28px; }
  .footer-links { display: flex; gap: 18px; }
}
