/* Clover Home Solutions — shared stylesheet
   Used by all pages: /, /es, /salem, /es/salem, /roof-leak-repair, etc.
   Edit once, applies everywhere. Cached by browsers for fast subsequent loads.
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.7;
  color: #1a1a1a;
  background: #faf8f4;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.25; color: #1a1a1a; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.5rem; }
p { margin-bottom: 1.1rem; }
a { color: #2a3b4d; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
section { padding: 4rem 0; }

.skip { position: absolute; left: -9999px; top: 0; background: #1a1a1a; color: #fff; padding: 0.75rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; z-index: 999; }

/* Sticky top bar with phone + language toggle */
.top-bar {
  background: #2a3b4d;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid #c89a4a;
}
.top-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.top-bar .phone-block { flex: 1; text-align: center; }
.top-bar .phone-block a { color: #fff; text-decoration: none; font-size: 1.15rem; font-weight: 700; }
.top-bar .phone-block a:hover { text-decoration: underline; }
.top-bar .phone-block .small { font-size: 0.85rem; font-weight: 400; opacity: 0.85; display: block; margin-top: 0.15rem; }
.lang-toggle {
  display: inline-flex; align-items: center;
  background: #c89a4a; color: #1a1a1a; text-decoration: none;
  font-weight: 700; font-size: 1rem;
  padding: 0.65rem 1.1rem; border-radius: 4px;
  border: 2px solid #c89a4a; white-space: nowrap; min-height: 44px;
}
.lang-toggle:hover { background: #f1ece1; border-color: #f1ece1; text-decoration: none; }

/* Breadcrumbs (for service-area and service pages) */
.crumbs { background: #fff; padding: 1rem 0; border-bottom: 1px solid #d8d2c4; font-size: 0.95rem; }
.crumbs ol { list-style: none; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.crumbs li::after { content: '›'; margin-left: 0.5rem; color: #4a4a4a; }
.crumbs li:last-child::after { content: ''; }
.crumbs li:last-child { color: #4a4a4a; }
.crumbs a { color: #2a3b4d; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Hero */
.hero {
  background-color: #2a3b4d;
  background-size: cover; background-position: center center;
  color: #fff;
  padding: 5rem 0 4rem;
  min-height: 540px;
  display: flex; align-items: center;
}
.hero h1 { color: #fff; max-width: 22ch; margin-bottom: 1.25rem; }
.hero .lede { color: #f1ece1; font-size: 1.15rem; max-width: 36ch; margin-bottom: 2rem; }
.hero .cta-row { margin: 2rem 0 1rem; }
.btn-phone {
  display: inline-block;
  background: #c89a4a; color: #1a1a1a; text-decoration: none;
  font-weight: 700; font-size: 1.5rem;
  padding: 1rem 1.75rem; border-radius: 4px;
  min-height: 56px; border: 3px solid #c89a4a;
}
.btn-phone:hover { background: #f1ece1; border-color: #f1ece1; text-decoration: none; }
.hero .reassure { font-size: 1.05rem; margin-top: 1rem; max-width: 32ch; color: #f1ece1; }
.hero .secondary { display: block; margin-top: 1.5rem; color: #f1ece1; }
.hero .secondary a { color: #f1ece1; }

/* Trust strip */
.trust { background: #fff; border-top: 1px solid #d8d2c4; border-bottom: 1px solid #d8d2c4; padding: 2.25rem 0; }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; text-align: center; }
.trust-grid .item { font-size: 1rem; }
.trust-grid .label { display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: #4a4a4a; margin-bottom: 0.35rem; }
.trust-grid .value { font-weight: 700; color: #1a1a1a; }
.trust .verify { text-align: center; margin-top: 1.5rem; font-size: 0.95rem; color: #4a4a4a; }

/* Who we are */
.who { background: #faf8f4; }
.who-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.who img { border-radius: 4px; border: 1px solid #d8d2c4; }
.who h2 { margin-bottom: 1.5rem; }
.who p { font-size: 1.1rem; line-height: 1.75; }

/* Three tiers */
.tiers { background: #fff; }
.tiers h2 { text-align: center; }
.tiers .sub { text-align: center; color: #4a4a4a; margin-bottom: 3rem; }
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.tier { background: #faf8f4; border: 1px solid #d8d2c4; border-top: 6px solid #c89a4a; padding: 2rem 1.75rem; border-radius: 4px; }
.tier h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.tier p { font-size: 1.05rem; line-height: 1.7; }
.tier .brands { font-size: 0.95rem; color: #4a4a4a; margin-top: 1rem; font-style: italic; }
.tiers .closer { text-align: center; margin-top: 3rem; font-size: 1.05rem; color: #1a1a1a; }

/* Services / What we handle */
.services { background: #faf8f4; }
.services h2 { text-align: center; margin-bottom: 3rem; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.svc-card { background: #fff; border: 1px solid #d8d2c4; padding: 1.75rem 1.5rem; border-radius: 4px; }
.svc-card h3 { font-size: 1.2rem; margin-bottom: 0.65rem; }
.svc-card p { font-size: 1rem; line-height: 1.65; color: #1a1a1a; margin-bottom: 0; }
.svc-card a { color: #2a3b4d; font-weight: 700; }
.services .closer { text-align: center; margin-top: 2.5rem; font-size: 1.05rem; }

/* Steps */
.how { background: #fff; }
.how h2 { text-align: center; margin-bottom: 3rem; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.step .num {
  display: inline-block; width: 48px; height: 48px; line-height: 48px;
  text-align: center; background: #2a3b4d; color: #fff;
  font-weight: 700; font-size: 1.4rem; border-radius: 50%; margin-bottom: 1rem;
}
.step h3 { font-size: 1.2rem; margin-bottom: 0.65rem; }
.step p { font-size: 1rem; line-height: 1.6; color: #1a1a1a; }

/* Reviews */
.reviews { background: #faf8f4; }
.reviews h2 { text-align: center; margin-bottom: 3rem; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.review { border: 1px solid #d8d2c4; padding: 2rem 1.75rem; border-radius: 4px; background: #fff; }
.review p { font-size: 1.05rem; line-height: 1.7; font-style: italic; }
.review .attrib { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid #d8d2c4; font-style: normal; font-weight: 700; color: #1a1a1a; }
.reviews .more { text-align: center; margin-top: 2.5rem; font-size: 0.95rem; color: #4a4a4a; }

/* Service area */
.area { background: #fff; }
.area .wrap { max-width: 800px; text-align: center; }
.area p { font-size: 1.1rem; line-height: 1.75; }

/* Contact */
.contact { background: #2a3b4d; color: #fff; }
.contact h2 { color: #fff; text-align: center; }
.contact .lead { text-align: center; color: #f1ece1; max-width: 38rem; margin: 0 auto 2.5rem; font-size: 1.1rem; }
.contact .lead a { color: #c89a4a; font-weight: 700; }
.contact form { max-width: 600px; margin: 0 auto; }
.contact label { display: block; font-weight: 700; margin: 1.25rem 0 0.5rem; }
.contact input, .contact textarea {
  width: 100%; padding: 1rem 1.1rem;
  border: 2px solid #f1ece1; border-radius: 4px;
  background: #fff; color: #1a1a1a; font-family: inherit; font-size: 1.05rem;
}
.contact textarea { min-height: 130px; resize: vertical; }
.contact input:focus, .contact textarea:focus { outline: 3px solid #c89a4a; outline-offset: 2px; }
.contact button {
  display: block; width: 100%; margin-top: 1.75rem;
  padding: 1.15rem 1.5rem;
  background: #c89a4a; color: #1a1a1a; border: none; border-radius: 4px;
  font-size: 1.2rem; font-weight: 700; cursor: pointer; min-height: 56px;
}
.contact button:hover { background: #f1ece1; }

/* FAQ */
.faq { background: #faf8f4; }
.faq h2 { text-align: center; margin-bottom: 2.5rem; }
.faq-item { background: #fff; border: 1px solid #d8d2c4; border-radius: 4px; padding: 1.5rem 1.75rem; margin-bottom: 1rem; }
.faq-item h3 { font-size: 1.15rem; margin-bottom: 0.65rem; }
.faq-item p { font-size: 1rem; line-height: 1.65; color: #1a1a1a; margin-bottom: 0; }

/* Page intro (used on /salem, service pages, etc.) */
.intro { background: #faf8f4; }
.intro .wrap { max-width: 800px; }
.intro h2 { margin-bottom: 1.5rem; }
.intro p { font-size: 1.1rem; line-height: 1.8; }
.intro .lead { font-size: 1.2rem; font-weight: 700; }

/* Inline CTA block (for mid-page CTAs on service pages) */
.cta-inline { background: #2a3b4d; color: #fff; padding: 2.5rem 0; text-align: center; }
.cta-inline .wrap { max-width: 700px; }
.cta-inline h2 { color: #fff; margin-bottom: 1rem; font-size: 1.6rem; }
.cta-inline p { color: #f1ece1; font-size: 1.05rem; margin-bottom: 1.5rem; }

/* Internal links section (footer-of-content cross-linking) */
.cross-links { background: #fff; padding: 3rem 0; border-top: 1px solid #d8d2c4; }
.cross-links h2 { text-align: center; font-size: 1.4rem; margin-bottom: 2rem; }
.cross-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.cross-grid .col h3 { font-size: 1.05rem; margin-bottom: 0.65rem; }
.cross-grid .col ul { list-style: none; }
.cross-grid .col li { margin-bottom: 0.4rem; font-size: 1rem; }
.cross-grid .col a { color: #2a3b4d; }

/* Footer */
footer { background: #1a1a1a; color: #f1ece1; padding: 3rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }
footer p, footer li { font-size: 1rem; line-height: 1.6; color: #f1ece1; }
footer ul { list-style: none; }
footer a { color: #c89a4a; text-decoration: none; }
footer a:hover { text-decoration: underline; }
.footer-bar { border-top: 1px solid #4a4a4a; margin-top: 2.5rem; padding-top: 1.5rem; text-align: center; font-size: 0.9rem; color: #d8d2c4; }

/* Responsive */
@media (max-width: 900px) {
  section { padding: 3rem 0; }
  .hero { padding: 3.5rem 0 3rem; min-height: 0; }
  .top-bar .wrap { flex-direction: column; gap: 0.5rem; }
  .top-bar .phone-block { order: 2; }
  .lang-toggle { order: 1; align-self: flex-end; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); text-align: left; }
  .who-grid { grid-template-columns: 1fr; }
  .who img { max-width: 360px; margin: 0 auto; }
  .tier-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cross-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .btn-phone { font-size: 1.25rem; padding: 0.95rem 1.25rem; }
  .top-bar .phone-block a { font-size: 1rem; }
}
