/* Water damage restoration — updated design tokens */
:root {
  --blue: #007ACC;
  --blue-light: #A0D8E1;
  --ivory: #FFFFF0;
  --text: #4A4A4A;
  --bg: #FFFFFF;
}
* { box-sizing: border-box; }
body {
  font-family: 'Roboto', Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text);
  line-height: 1.65;
  background: var(--bg);
}
h1, h2, h3, .brand {
  font-family: 'PT Serif', Georgia, serif;
}
header {
  background: var(--blue);
  color: #fff;
  padding: 20px;
}
header .wrap {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
header .brand {
  font-size: 1.4em;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
header .phone {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.15em;
  font-weight: 700;
  color: var(--ivory);
  text-decoration: none;
  white-space: nowrap;
}
nav {
  background: var(--blue-light);
}
nav .wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 10px 20px;
}
nav a {
  color: #0b3d54;
  text-decoration: none;
  margin-right: 22px;
  font-size: 0.95em;
  font-weight: 500;
}
nav a:hover { text-decoration: underline; }
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px 56px;
}
h1 {
  color: #0b3d54;
  margin-top: 0;
  font-size: 2.1em;
  line-height: 1.25;
}
h2 {
  color: var(--blue);
  margin-top: 1.7em;
  font-size: 1.4em;
}
p, li { max-width: 68ch; }
.cta-box {
  background: var(--ivory);
  border: 1px solid var(--blue-light);
  padding: 24px;
  margin: 30px 0;
  text-align: center;
  border-radius: 4px;
}
.cta-box p { max-width: none; }
.cta-box a.button, a.button {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 13px 28px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  margin-top: 10px;
}
.cta-box a.button:hover, a.button:hover { background: #006bb3; }
ul.related {
  columns: 2;
  padding-left: 18px;
}
footer {
  background: #0b3d54;
  color: var(--blue-light);
  padding: 34px 20px;
  margin-top: 44px;
}
footer .wrap {
  max-width: 960px;
  margin: 0 auto;
}
footer h3 {
  color: #fff;
  font-size: 1em;
  margin-bottom: 12px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
}
footer ul {
  columns: 3;
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
footer li { margin-bottom: 7px; }
footer a { color: var(--blue-light); text-decoration: none; font-size: 0.9em; }
footer a:hover { text-decoration: underline; }
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 20px 0 30px;
}
.gallery figure {
  margin: 0;
  background: var(--ivory);
  border: 1px solid var(--blue-light);
  border-radius: 4px;
  overflow: hidden;
}
.gallery img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.gallery figcaption {
  padding: 8px 10px;
  font-size: 0.82em;
  color: var(--text);
}
.topic-photo {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid var(--blue-light);
  margin: 8px 0 24px;
  display: block;
}
.topic-photo + .small {
  margin-top: -18px;
  margin-bottom: 24px;
  display: block;
}
.small { font-size: 0.85em; color: #8fb9c9; }
@media (max-width: 600px) {
  footer ul { columns: 1; }
  ul.related { columns: 1; }
}
