/* MV Painting Inc. — shared stylesheet (gold/amber + black brand palette) */
:root {
  color-scheme: light;
  --paper: #faf8f3;
  --paper-2: #eee8db;
  --ink: #17130d;
  --muted: #625b50;
  --line: #d4cabb;
  --accent: #c58a2b;
  --accent-dark: #946017;
  --accent-soft: #f1dfb6;
  --forest: #2c2418;
  --forest-2: #15120e;
  --white: #fffdf8;
  --shadow: 0 18px 48px rgba(32, 23, 10, .16);
  --radius: 14px;
  --maxw: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--accent-dark); }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(var(--maxw), 100% - 2.5rem); margin: 0 auto; }
section.block { padding: 4.2rem 0; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.8rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 243, 0.96);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(var(--maxw), 100% - 2.5rem); margin: 0 auto;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.7rem 0;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.brand img { height: 52px; width: auto; }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.1; }
.brand-name small { display: block; font-weight: 600; font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 0.25rem; }
.main-nav a.nav-link {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem;
  padding: 0.55rem 0.8rem; border-radius: 8px;
}
.main-nav a.nav-link:hover { background: var(--paper-2); }
.main-nav a.nav-link.active { color: var(--accent-dark); }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  background: var(--accent); color: #1d1408;
  padding: 0.85rem 1.6rem; border-radius: 999px;
  box-shadow: var(--shadow); border: 0; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { background: var(--paper-2); color: var(--ink); }
.btn.light { background: var(--white); color: var(--ink); }
.nav-cta { margin-left: 0.6rem; padding: 0.65rem 1.25rem; font-size: 0.92rem; white-space: nowrap; }
.nav-cta-secondary { padding: 0.65rem 1.1rem; }
.menu-toggle { display: none; }
.menu-btn { display: none; margin-left: auto; font-size: 1.7rem; cursor: pointer; padding: 0.3rem 0.6rem; }

/* ---------- hero ---------- */
.hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(12, 9, 5, 0.93) 0%, rgba(12, 9, 5, 0.78) 48%, rgba(12, 9, 5, 0.25) 100%),
    url("hero-bg.webp") center/cover no-repeat, var(--forest-2);
}
.hero-inner { width: min(var(--maxw), 100% - 2.5rem); margin: 0 auto; padding: 6.5rem 0; max-width: 46rem; }
.hero p.sub { font-size: 1.2rem; color: #f3e9d2; max-width: 36rem; }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.8rem; }
.hero-badges { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: 2.2rem; font-size: 0.95rem; color: #efe3c8; }
.hero-badges strong { color: #fff; }
.page-hero {
  background: var(--forest-2); color: var(--white);
  padding: 4rem 0 3.2rem;
  border-bottom: 4px solid var(--accent);
}
.page-hero p { color: #d8cdb4; max-width: 44rem; margin-bottom: 0; }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem;
  box-shadow: 0 6px 22px rgba(32, 23, 10, 0.06);
}
.card h3 { margin-top: 0; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--accent-dark); }
.card .num {
  display: inline-block; font-weight: 800; color: var(--accent-dark);
  border: 2px solid var(--accent); border-radius: 999px;
  width: 2.4rem; height: 2.4rem; line-height: 2.2rem; text-align: center;
  margin-bottom: 0.9rem;
}
.card .more { font-weight: 700; text-decoration: none; }

/* ---------- banner strip ---------- */
.banner-strip { background: var(--forest-2); padding: 0; }
.banner-strip img { width: 100%; height: auto; }

/* ---------- reviews ---------- */
.reviews { background: var(--forest-2); color: var(--white); }
.reviews .lead { color: #d8cdb4; }
.rating-line { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; margin: 0.4rem 0 2rem; }
.stars { color: var(--accent); font-size: 1.4rem; letter-spacing: 0.15em; }
.review-card { background: #221c12; border: 1px solid #3a2f1c; border-radius: var(--radius); padding: 1.6rem; }
.review-card blockquote { margin: 0 0 1rem; font-style: italic; color: #f2e8d2; }
.review-card .no-quote { margin: 0 0 1rem; font-style: italic; color: #b7a988; }
.review-card cite { font-style: normal; color: var(--muted); font-size: 0.92rem; color: #b7a988; }

/* ---------- process ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 3.4rem; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 2.4rem; height: 2.4rem; border-radius: 999px;
  background: var(--accent); color: #1d1408; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.gallery-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.gallery-grid img { width: 100%; height: 260px; object-fit: cover; }
.gallery-grid figcaption { padding: 0.8rem 1rem; font-size: 0.92rem; color: var(--muted); }

/* ---------- cities ---------- */
.city-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.city-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.city-card h2 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.city-card p { margin-bottom: 0; color: var(--muted); }
.city-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.6rem 0; }
.city-chips a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem;
  background: var(--white); border: 1px solid var(--line);
  padding: 0.5rem 1rem; border-radius: 999px;
}
.city-chips a:hover { border-color: var(--accent); color: var(--accent-dark); }

/* ---------- faq ---------- */
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin-bottom: 1rem; }
.faq-item h2, .faq-item h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.faq-item p { margin-bottom: 0; color: var(--muted); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.contact-card dt { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-dark); margin-top: 1.1rem; }
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 0.2rem 0 0; }
.map-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; }
.cta-panel {
  background: var(--forest-2); color: var(--white);
  border-radius: var(--radius); padding: 2.6rem;
  text-align: center;
}
.cta-panel p { color: #d8cdb4; }
.cta-panel .btn { margin: 0.4rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--forest-2); color: #cfc2a4; padding: 3.4rem 0 1.6rem; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.2rem; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 0.8rem; }
.site-footer a { color: #e8d9b5; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 0.8rem; background: var(--paper); border-radius: 10px; padding: 4px 10px; }
.footer-bottom { border-top: 1px solid #3a2f1c; padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.88rem; }


/* ---------- faq groups ---------- */
.faq-group { margin-bottom: 2.4rem; }
.faq-group > h2 { font-size: 1.45rem; margin-bottom: 1rem; padding-bottom: .45rem; border-bottom: 2px solid var(--accent); }

/* ---------- services dropdown ---------- */
.nav-dropdown { position: relative; }
.nav-dropdown > .nav-link { display: inline-flex; align-items: center; gap: 0.3rem; }
.dropdown-caret { font-size: 0.7em; display: inline-block; transition: transform 0.2s; padding: 0.35rem 0.5rem; margin: -0.35rem -0.5rem -0.35rem 0; cursor: pointer; }
.dropdown-panel {
  display: none;
  position: absolute; top: 100%; left: 0; min-width: 260px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 0.5rem; z-index: 60;
}
.nav-dropdown:hover > .dropdown-panel,
.nav-dropdown:focus-within > .dropdown-panel { display: block; }
.dropdown-link {
  display: block; padding: 0.55rem 0.8rem; border-radius: 8px;
  text-decoration: none; color: var(--ink); font-size: 0.93rem; font-weight: 500;
  white-space: nowrap;
}
.dropdown-link:hover { background: var(--paper-2); }
.dropdown-all { font-weight: 700; border-bottom: 1px solid var(--line); margin-bottom: 0.3rem; padding-bottom: 0.6rem; }
/* compact two-column dropdown on desktop */
@media (min-width: 861px) {
  .dropdown-panel { width: max-content; max-width: 92vw; }
  .nav-dropdown:hover > .dropdown-panel,
  .nav-dropdown:focus-within > .dropdown-panel {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.1rem 0.3rem;
  }
  .dropdown-all { grid-column: 1 / -1; }
  .dropdown-panel .dropdown-link { white-space: nowrap; font-size: 0.85rem; padding: 0.45rem 0.7rem; }
}
/* linked category titles on services hub */
.link-title a { color: inherit; text-decoration: none; }
.link-title a:hover { text-decoration: underline; }
.link-title a::after { content: " ›"; color: var(--accent); }
/* category cards on services hub */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.cat-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.cat-card-media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.cat-card-body { padding: 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.cat-card-body h2 { font-size: 1.3rem; margin: 0; }
.cat-card-body p { margin: 0; color: var(--muted); flex: 1; }
.cat-card .more { font-weight: 700; text-decoration: none; }
.cat-card .more:hover { text-decoration: underline; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cat-grid { grid-template-columns: 1fr; } }

/* back-to-top floating button */
.to-top{position:fixed;right:1.2rem;bottom:1.2rem;width:52px;height:52px;border-radius:50%;border:0;background:var(--accent);color:#1d1408;font-size:1.5rem;line-height:1;cursor:pointer;box-shadow:var(--shadow);z-index:90;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .25s ease,transform .25s ease,visibility .25s}
.to-top.show{opacity:1;visibility:visible;transform:none}
.to-top:hover{background:var(--accent-dark);color:#fff}

/* compact service-page hero so photo + description fit without scrolling */
.page-hero-img{display:block;width:auto;max-width:100%;max-height:48vh;margin:0 auto 2rem;border-radius:var(--radius)}


/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .city-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .header-inner { position: relative; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); flex-direction: column; align-items: stretch;
    border-bottom: 1px solid var(--line); padding: 0.6rem 1.2rem 1.2rem;
    box-shadow: var(--shadow);
  }
  .menu-toggle:checked ~ .header-inner .main-nav { display: flex; max-height: calc(100vh - 70px); max-height: calc(100dvh - 70px); overflow-y: auto; }
  .menu-toggle:checked ~ .header-inner .dropdown-panel { display: none; }
  .menu-toggle:checked ~ .header-inner .nav-dropdown.open .dropdown-panel { display: block; }
  .nav-dropdown.open .dropdown-caret { transform: rotate(180deg); }
  .main-nav a.nav-link { padding: 0.7rem 0.4rem; }
  .nav-cta { margin: 0.5rem 0 0; text-align: center; }
  /* sticky Free Estimate bar pinned to the bottom while the mobile menu is open */
  .menu-toggle:checked ~ .header-inner .main-nav { padding-bottom: 5rem; }
  .menu-toggle:checked ~ .header-inner .nav-cta:not(.nav-cta-secondary) {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    margin: 0; border-radius: 0; text-align: center;
    padding: 1rem 1.2rem calc(1rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -6px 20px rgba(0,0,0,.15);
  }
  .nav-dropdown { width: 100%; }
  .dropdown-panel {
    position: static; display: none; box-shadow: none;
    border: 0; border-left: 2px solid var(--accent); border-radius: 0;
    padding: 0.2rem 0 0.2rem 0.6rem; margin: 0 0 0.3rem 0.4rem; min-width: 0;
  }
  .dropdown-link { white-space: normal; padding: 0.45rem 0.6rem; font-size: 0.9rem; }
}
@media (max-width: 640px) {
  .grid.cols-3, .grid.cols-2, .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section.block { padding: 3rem 0; }
  .hero-inner { padding: 4.5rem 0; }
}

.social-icons { display: flex; gap: 0.6rem; margin-top: 0.6rem; }
.social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; transition: transform 0.2s, background 0.2s; }
.social-icons a:hover { background: var(--accent); transform: translateY(-2px); }
.social-icons svg { width: 20px; height: 20px; fill: currentColor; }
