/* ProMan Painting & Wallpaper — stylesheet
   Brand: graphite #2B2B2B + orange #E8792B (from the logo) */

:root {
  --ink: #2b2b2b;
  --ink-deep: #1c1c1c;
  --orange: #e8792b;
  --orange-dark: #cf6613;
  --green: #1e9e6a;
  --paper: #f6f5f3;
  --white: #fff;
  --muted: #6d6a66;
  --line: #e4e0db;
  --star: #f5a623;

  --wrap: 1180px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .09);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .16);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--orange-dark); }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 800;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1.1em; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding: clamp(56px, 8vw, 100px) 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--white); }
.section--ink h2, .section--ink h3 { color: var(--white); }

.eyebrow {
  color: var(--orange);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 .8em;
}

.lead { font-size: 1.12rem; color: var(--muted); }
.section--ink .lead { color: rgba(255, 255, 255, .78); }

.center { text-align: center; }
.center .lead { margin-inline: auto; max-width: 680px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 15px 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- utility bar ---------- */

.utilbar { display: grid; grid-template-columns: 1fr 1fr; }

.utilbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: 13px 10px;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
}

.utilbar__est { background: var(--ink); color: #fff; }
.utilbar__est:hover { background: #000; }
.utilbar__call { background: var(--orange); color: #fff; }
.utilbar__call:hover { background: var(--orange-dark); }
.utilbar svg { width: 18px; height: 18px; }

/* ---------- header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 92px;
}

/* The logo is a square stacked lockup, so it needs real height to stay legible.
   A landscape version would serve the header better — see README. */
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 74px; width: auto; }

.nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--orange); }

.nav__has > button {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  background: none;
  border: 0;
  padding: 6px 0;
  font: inherit;
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink);
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.nav__has > button:hover { border-bottom-color: var(--orange); }
.nav__has > button::after { content: "▾"; font-size: .8em; opacity: .6; }

.nav__drop {
  position: absolute;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 0;
  margin-top: 10px;
}
.nav__has { position: relative; }
.nav__has[data-open="true"] .nav__drop { display: flex; }
.nav__drop a {
  padding: 9px 12px;
  border-radius: 8px;
  border-bottom: 0;
  font-weight: 600;
}
.nav__drop a:hover { background: var(--paper); border-bottom: 0; }

.header__cta { display: flex; align-items: center; gap: 14px; }
.header__phone {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.header__phone:hover { color: var(--orange-dark); }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: var(--ink);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #fff;
  margin: 4px auto;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
/* bar centres are 10.5px apart (2.5px bar + 4px margin top and bottom) */
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(10.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10.5px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  background: var(--ink);
  color: #fff;
  padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 121, 43, .22), transparent 66%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 { color: #fff; }
.hero__sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, .8);
  max-width: 46ch;
}

.hero__rating {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}
.hero__rating li {
  display: flex;
  align-items: center;
  gap: .5em;
  font-weight: 700;
  font-size: .95rem;
}
.stars { color: var(--star); letter-spacing: .06em; }
.hero__rating span { color: rgba(255, 255, 255, .62); font-weight: 600; }

/* ---------- before / after slider ---------- */

.ba {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  user-select: none;
  touch-action: pan-y;
  background: #111;
}
.ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .18);
}
.ba__handle::after {
  content: "⟷";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--ink);
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}
.ba__tag {
  position: absolute;
  bottom: 14px;
  padding: 6px 14px;
  background: rgba(27, 27, 27, .82);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 999px;
  pointer-events: none;
}
.ba__tag--before { left: 14px; }
.ba__tag--after { right: 14px; background: rgba(232, 121, 43, .95); }
.ba__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}

/* ---------- trust strip ---------- */

.trust {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.trust__n {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.1;
}
.trust__l { font-size: .85rem; color: var(--muted); font-weight: 600; }

/* ---------- cards / grids ---------- */

.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card__block {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(232, 121, 43, .16), transparent 55%),
    var(--ink);
  color: var(--orange);
}
.card__block svg { width: 68px; height: 68px; }
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: .35em; }
.card__body p { color: var(--muted); font-size: .96rem; flex: 1; }
.card__link {
  font-weight: 800;
  text-decoration: none;
  color: var(--orange-dark);
  font-size: .95rem;
}
.card__link:hover { text-decoration: underline; }

/* feature block: image + text side by side */

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.feature--flip .feature__media { order: 2; }
/* long prose next to a single image: pin the image so it tracks the reading */
.feature--top { align-items: start; }
.feature--top .feature__media { position: sticky; top: 110px; }
.feature__media img,
.feature__media .ba { border-radius: var(--radius); box-shadow: var(--shadow); }
.feature__media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* checklist */

.checks { list-style: none; padding: 0; margin: 0 0 1.6em; display: grid; gap: 11px; }
.checks li { display: flex; gap: .7em; align-items: flex-start; font-weight: 600; }
.checks li::before {
  content: "";
  flex: 0 0 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checks--2 { grid-template-columns: 1fr 1fr; }

/* ---------- gallery ---------- */

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; background: #eee; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .35s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 16px 13px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .82));
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
}

/* ---------- reviews ---------- */

.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.review p { font-size: .98rem; margin: 0; }
.review__who { font-weight: 800; font-size: .92rem; }
.review__src { color: var(--muted); font-size: .82rem; font-weight: 600; }

.review-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 30px;
}

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  padding: 21px 44px 21px 0;
  font-weight: 800;
  font-size: 1.06rem;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--orange);
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: 20px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- areas ---------- */

.areas { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.areas a {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
}
.areas a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.section--ink .areas a { background: rgba(255, 255, 255, .07); color: #fff; border-color: rgba(255, 255, 255, .22); }
.section--ink .areas a:hover { background: var(--orange); border-color: var(--orange); }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--orange);
  color: #fff;
  padding: clamp(46px, 6vw, 74px) 0;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .92); font-size: 1.1rem; max-width: 620px; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 26px; }

/* ---------- form ---------- */

.form { display: grid; gap: 16px; }
.form label { font-weight: 700; font-size: .92rem; display: grid; gap: 6px; }
.form input, .form select, .form textarea {
  font: inherit;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
  border-color: var(--orange);
}
.form textarea { min-height: 130px; resize: vertical; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__note { font-size: .85rem; color: var(--muted); }

/* ---------- footer ---------- */

.footer { background: var(--ink-deep); color: rgba(255, 255, 255, .72); padding: 60px 0 0; font-size: .95rem; }
.footer a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.2em; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer__logo { height: 52px; width: auto; background: #fff; padding: 7px 11px; border-radius: 9px; margin-bottom: 16px; }
.footer__bottom {
  margin-top: 46px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  padding: 22px 0 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: .86rem;
}

/* ---------- page header (inner pages) ---------- */

.pagehead { background: var(--ink); color: #fff; padding: clamp(44px, 6vw, 76px) 0; }
.pagehead h1 { color: #fff; margin-bottom: .3em; }
.pagehead p { color: rgba(255, 255, 255, .78); font-size: 1.1rem; max-width: 60ch; margin: 0; }
.crumbs { font-size: .85rem; color: rgba(255, 255, 255, .55); margin-bottom: 1.1em; }
.crumbs a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* prose */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }

/* sticky mobile call bar */
.mobile-bar { display: none; }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero__grid, .feature { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  /* the utility bar and the sticky bottom bar already carry both CTAs */
  .header__cta .header__phone,
  .header__cta .btn--primary { display: none; }
  .burger { display: grid; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 14px 20px 22px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
  .nav[data-open="true"] { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav a, .nav__has > button { display: block; width: 100%; padding: 14px 0; border-bottom: 0; }
  .nav__has > button { text-align: left; }
  .nav__drop {
    position: static;
    display: none;
    border: 0;
    box-shadow: none;
    padding: 0 0 10px 14px;
    margin: 0;
  }
  .nav__has[data-open="true"] .nav__drop { display: flex; }
  .header { position: relative; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .checks--2 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .cta-band .btn-row { flex-direction: column; }

  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 80;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, .18);
  }
  .mobile-bar a {
    padding: 15px 8px;
    text-align: center;
    font-weight: 800;
    font-size: .95rem;
    text-decoration: none;
    color: #fff;
  }
  .mobile-bar .m-call { background: var(--orange); }
  .mobile-bar .m-quote { background: var(--ink); }
  body { padding-bottom: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
