:root {
  --black: #000;
  --dark: #171717;
  --grey-head: #5a5a5a;
  --body-grey: #a8a8a8;
  --text-dark: #555;
  --head: "Fjalla One", "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  /* Links to a section land just under the nav bar */
  scroll-padding-top: var(--nav, 100px);
}

/* A "panel" fills 90% of the space under the nav, so the next one peeks in below */
.panel {
  min-height: calc((100vh - var(--nav, 100px)) * 0.9);
  min-height: calc((100svh - var(--nav, 100px)) * 0.9);
  display: flex; flex-direction: column; justify-content: center;
}
body { font-family: var(--body); background: var(--black); color: #fff; line-height: 1.65; font-size: 17px; }

.container { max-width: 820px; margin: 0 auto; padding: 0 1.75rem; }

h1, h2 { font-family: var(--head); font-weight: 400; text-transform: uppercase; line-height: 1.15; text-align: center; }
h2 { font-size: clamp(2rem, 7vw, 2.8rem); margin-bottom: 1.75rem; }
h3 { font-weight: 400; font-size: 1.6rem; text-align: center; margin-bottom: 1rem; }

/* Stone background (hero + reviews) */
.stone { background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)), #3c3c3c url("images/stone.jpg") center top / 1320px auto repeat; }

.nav-contact {
  color: #fff; text-decoration: none; font-family: var(--head); text-transform: uppercase; letter-spacing: .1em;
  padding: .5rem 0; transition: opacity .2s;
}
.nav-contact:hover { opacity: .7; }

/* ---------- Hero ---------- */
.hero { position: relative; }
body > header { position: sticky; top: 0; z-index: 40; }
.topbar { position: relative; background: #000; display: flex; align-items: center; justify-content: space-between; padding: .9rem 1.25rem; }
.logo img { display: block; width: min(240px, 52vw); height: auto; }

.hero-text { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 3rem 1.5rem 4rem; }
.hero h1 { font-size: clamp(2.6rem, 9vw, 4.4rem); text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.hero-text p { font-size: clamp(1.3rem, 4.5vw, 1.6rem); max-width: 26ch; margin-top: .75rem; text-shadow: 0 1px 6px rgba(0,0,0,.5); }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section p { text-align: center; margin-bottom: 1.25rem; }
.light { background: #fff; color: var(--text-dark); }
.light h2, .light h3 { color: #1a1a1a; }
.dark { background: var(--dark); color: var(--body-grey); }
.dark h3 { color: #fff; }
.grey-heading { color: var(--grey-head); }
.dark strong { font-weight: 700; color: #c4c4c4; }
.strong { font-weight: 700; }
.light .strong { color: #1a1a1a; }
.rule { width: 60px; border: 0; border-top: 3px solid #333; margin: -.25rem auto 3rem; }
.light-rule { border-color: #ddd; }

/* ---------- Services ---------- */
.services-intro { margin-bottom: 2rem !important; }
.tiles {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem;
  max-width: 1100px; width: 100%; margin: 0 auto; padding: 0 1.75rem;
}
.tile {
  position: relative; min-height: 110px; border-radius: 4px; overflow: hidden;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  text-decoration: none;
}
.tile::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.55); transition: background .2s; }
.tile:hover::before { background: rgba(0,0,0,.35); }
.tile > * { position: relative; }
.tile h3 { font-family: var(--head); text-transform: uppercase; font-size: 1.35rem; letter-spacing: .05em; line-height: 1.2; text-align: center; margin: 0; color: #fff; }
.tile-more { background: #2a2a2a; border: 1px solid #444; }
.tile-more::before { background: transparent; }

/* ---------- Reviews ---------- */
.reviews-section { padding: 2.5rem 0; }
.reviews-section h2 { color: #fff; padding: 0 .75rem; margin-bottom: 1.5rem; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.carousel { position: relative; max-width: 420px; width: 100%; margin: 0 auto; padding: 0 2.5rem; }
.viewport { overflow: hidden; }
.track { display: flex; transition: transform .4s ease; }
.review { flex: 0 0 100%; padding: 0 .4rem; }
.review-card {
  height: 100%; background: #fff; color: #222; text-align: center; padding: 1.25rem 1.25rem 1.5rem;
}
.avatar {
  width: 64px; height: 64px; border-radius: 50%; background: #f3f3f3; color: #c4c4c4;
  display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto .6rem;
}
.stars { color: #f6c71b; font-size: 1.3rem; letter-spacing: .05em; margin-bottom: .5rem; }
.review h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.review p { font-size: .98rem; line-height: 1.45; text-align: center; margin: 0; }
.reviewer { font-weight: 700; color: #555; font-size: .9rem !important; margin-top: .75rem !important; }
.arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0,0,0,.6); color: #fff; font-size: 1.6rem; line-height: 1;
}
.prev { left: 22px; } .next { right: 22px; }
.dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.25rem; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); cursor: pointer; }
.dots button.on { background: #fff; }
@media (min-width: 900px) {
  .carousel { max-width: 1150px; padding: 0 3.5rem; }
  .review { flex-basis: 33.333%; }
  .prev { left: 0; } .next { right: 0; }
}

/* ---------- Contact ---------- */
#contact h2 { margin-bottom: 1rem; }
#contact .intro { max-width: 620px; margin: 0 auto 2rem; }
.quote-form { display: grid; gap: .8rem; max-width: 700px; margin: 0 auto; }
.quote-form .row { display: grid; gap: .8rem; }
.quote-form input, .quote-form textarea {
  width: 100%; padding: .85rem 1rem; font: inherit; font-size: 1rem; color: #222;
  border: 1px solid #e0e0e0; border-radius: 4px; background: #fff;
}
.quote-form textarea { line-height: 1.5; resize: vertical; }
.quote-form input:focus, .quote-form textarea:focus { outline: 2px solid #222; border-color: #222; }
.quote-form button {
  background: #222; color: #fff; border: 0; border-radius: 4px; padding: 1rem;
  font-family: var(--body); font-weight: 700; font-size: 1rem; letter-spacing: .15em; text-transform: uppercase; cursor: pointer;
}
.quote-form button:hover { background: #000; }
.form-note { font-size: .95rem; margin: 0 !important; }

/* Locations: city tiles styled like the service tiles */
.city-tiles { grid-template-columns: repeat(3, 1fr); max-width: 1000px; margin-bottom: 2.5rem; }
.city-tiles .tile { flex-direction: column; min-height: 160px; }
.city-tiles .tile span { position: relative; color: #fff; font-size: 1.15rem; font-weight: 600; margin-top: .35rem; letter-spacing: .03em; }
.hours { text-align: center; }
.hours h3 { font-family: var(--head); text-transform: uppercase; font-size: 1.5rem; letter-spacing: .05em; color: #1a1a1a; margin-bottom: .6rem; }
.hours table { margin: 0 auto; border-collapse: collapse; font-size: 1.05rem; }
.hours td { padding: .1rem .6rem; text-align: left; }
.hours tr.today { font-weight: 700; color: #1a1a1a; }

@media (min-width: 900px) { .quote-form .row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 899px) {
  .city-tiles { grid-template-columns: 1fr; gap: .6rem; margin-bottom: 2rem; }
  .city-tiles .tile { min-height: 95px; }
}

/* ---------- Footer ---------- */
.site-footer { background: #000; text-align: center; padding: 3.5rem 1.5rem; font-size: .95rem; color: #ddd; }
.footer-logo { display: block; width: 240px; height: auto; margin: 0 auto 2rem; }
.social { display: flex; justify-content: center; gap: 1.25rem; margin-bottom: 1.25rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: #eee; display: flex; align-items: center; justify-content: center; }
.social svg { width: 22px; height: 22px; fill: #000; }

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  .topbar { justify-content: space-between; padding: 1rem 3rem; }
}
#services { padding: 3rem 0; }
@media (max-width: 899px) { .tiles { grid-template-columns: repeat(2, 1fr); padding: 0 1.25rem; } .tile { min-height: 90px; } .tile h3 { font-size: 1.15rem; } }
@media (max-width: 899px) { .reviews-section { padding: 1.75rem 0; } .reviews-section h2 { font-size: 1.75rem; margin-bottom: 1rem; } }
#contact, #locations { padding: 3rem 0; }
@media (max-width: 899px) { #contact h2 { font-size: 1.9rem; } #contact .intro { font-size: .95rem; margin-bottom: 1.25rem; } .quote-form textarea { min-height: 90px; } }
