/* Global Painting Inc mockup. Colors from their logo: maroon #85001A, globe teal #1B8A75, oval tan #BBA880. */
:root {
  --maroon: #85001a;
  --maroon-dark: #640013;
  --teal: #157563;
  --teal-dark: #0f3b34;
  --teal-deep: #0b2b26;
  --tan: #bba880;
  --tan-light: #efe9dc;
  --cream: #f8f5ee;
  --white: #fff;
  --ink: #1d1a1a;
  --slate: #4d4848;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pad: 2.5rem;
  --section: 6.5rem;
  --radius: 12px;
  --radius-lg: 20px;
  --ribbon-h: 28px;
  --nav-h: 84px;
}
@media (max-width: 991px) { :root { --pad: 2rem; --section: 5rem; } }
@media (max-width: 479px) { :root { --pad: 1.25rem; --section: 4rem; --nav-h: 68px; --ribbon-h: 34px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--ribbon-h) + var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, h3, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.i { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--heading, var(--ink)); text-wrap: balance; }
h2 { font-size: clamp(1.875rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.3125rem; line-height: 1.25; }
.tagline, .eyebrow { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent, var(--maroon)); }
.muted { color: var(--muted, var(--slate)); }
.small { font-size: .9375rem; }
.measure { max-width: 38rem; }
.center { text-align: center; margin-inline: auto; }

.container { width: 100%; max-width: calc(76rem + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); }
.section-head { display: flex; flex-direction: column; gap: .875rem; margin-bottom: 3rem; }
.section-head.center { align-items: center; text-align: center; }
.stack { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
.stack-sm { display: flex; flex-direction: column; gap: .5rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 991px) { .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; } }

.s-cream { background: var(--cream); }
.s-white { background: var(--white); }
.s-tan { background: var(--tan-light); }
.s-dark { background: var(--teal-dark); color: var(--white); --heading: var(--white); --muted: rgb(255 255 255 / .82); --accent: #e3d6b8; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.25rem; padding: .875rem 1.625rem; border-radius: 999px; border: 2px solid var(--maroon); background: var(--maroon); color: var(--white); font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.btn:hover { background: var(--maroon-dark); border-color: var(--maroon-dark); }
.btn-light { background: var(--white); border-color: var(--white); color: var(--teal-dark); }
.btn-light:hover { background: var(--cream); border-color: var(--cream); }
.btn-outline { background: transparent; color: var(--maroon); }
.btn-outline:hover { background: var(--maroon); color: var(--white); }
.btn-sm { min-height: 2.75rem; padding: .5rem 1.125rem; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-row.center { justify-content: center; }

/* Ribbon */
.ribbon { position: fixed; inset: 0 0 auto; z-index: 60; min-height: var(--ribbon-h); display: flex; align-items: center; justify-content: center; padding: 4px 12px; background: #2a2626; color: rgb(255 255 255 / .9); font-size: .75rem; line-height: 1.3; text-align: center; }

/* Nav */
.nav { position: fixed; top: var(--ribbon-h); left: 0; right: 0; z-index: 50; height: var(--nav-h); background: rgb(255 255 255 / .97); border-bottom: 1px solid rgb(0 0 0 / .08); box-shadow: 0 4px 18px rgb(0 0 0 / .05); }
.nav-bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo img { width: 168px; height: auto; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-weight: 600; font-size: .9375rem; text-decoration: none; color: var(--ink); }
.nav-links a:hover { color: var(--maroon); }
@media (max-width: 860px) { .nav-links { display: none; } }
@media (max-width: 479px) {
  .logo img { width: 128px; }
  .nav-call span { display: none; }
  .nav-call { width: 2.75rem; padding: 0; }
}

/* Hero */
.hero { position: relative; isolation: isolate; min-height: min(780px, 92vh); display: flex; align-items: flex-end; padding: calc(var(--ribbon-h) + var(--nav-h) + 4rem) 0 4.5rem; color: var(--white); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(11 43 38 / .88) 0%, rgb(11 43 38 / .62) 45%, rgb(11 43 38 / .08) 80%), linear-gradient(0deg, rgb(11 43 38 / .45), rgb(11 43 38 / 0) 40%); }
.hero-copy { max-width: 40rem; display: flex; flex-direction: column; gap: 1.25rem; }
.hero .eyebrow { color: #e9dcbc; }
.hero h1 { color: var(--white); font-size: clamp(2.5rem, 5.4vw, 4.25rem); line-height: 1.03; }
.hero .lead { font-size: 1.25rem; line-height: 1.5; color: rgb(255 255 255 / .94); max-width: 34rem; }
.hero .btn-row { margin-top: .5rem; }
@media (max-width: 767px) {
  .hero { min-height: 0; padding: calc(var(--ribbon-h) + var(--nav-h) + 7rem) 0 2.5rem; }
  .hero::before { background: linear-gradient(180deg, rgb(11 43 38 / .1) 0%, rgb(11 43 38 / .35) 30%, rgb(11 43 38 / .9) 62%, rgb(11 43 38 / .96) 100%); }
  .hero-img { object-position: 30% 30%; }
  .hero .lead { font-size: 1.0625rem; }
  .hero .btn-row .btn { flex: 1 1 100%; }
}

/* Trust strip */
.trust { background: var(--white); border-bottom: 1px solid rgb(0 0 0 / .06); }
.trust-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); }
.trust-item { display: flex; flex-direction: column; justify-content: center; gap: .125rem; padding: 1.5rem 1.25rem; border-left: 1px solid rgb(0 0 0 / .08); font-size: .9375rem; color: var(--slate); text-decoration: none; }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item strong { color: var(--ink); font-size: 1.0625rem; }
.trust-rating .stars { color: #c98a00; font-size: 1.25rem; letter-spacing: .1em; line-height: 1; }
.trust-rating:hover strong { color: var(--maroon); text-decoration: underline; }
@media (max-width: 991px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { border-left: 0; border-top: 1px solid rgb(0 0 0 / .08); padding: 1.125rem 0; }
  .trust-rating { grid-column: 1 / -1; border-top: 0; }
  .trust-item:nth-child(even) { padding-right: 1rem; }
}

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.svc-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 10px 30px rgb(40 20 20 / .07); display: flex; flex-direction: column; }
.svc-photo { aspect-ratio: 3 / 2; overflow: hidden; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; }
.svc-body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; gap: .75rem; border-top: 4px solid var(--tan); }
.svc-body > p { color: var(--slate); }
.ticks { display: grid; gap: .375rem; font-size: .9688rem; }
.ticks li { position: relative; padding-left: 1.5rem; }
.ticks li::before { content: ""; position: absolute; left: .125rem; top: .45em; width: .8rem; height: .45rem; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }
@media (max-width: 991px) { .svc-grid { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; } }
.extras { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; }
.extras-title { font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.chips li { padding: .375rem .875rem; border-radius: 999px; background: var(--white); border: 1px solid rgb(0 0 0 / .1); font-size: .9375rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gallery img:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; height: 100%; }
@media (max-width: 767px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: .625rem; }
  .gallery img:first-child { grid-row: auto; aspect-ratio: 16 / 10; height: auto; }
}

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review { background: var(--white); border-radius: var(--radius-lg); padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.review .stars { color: #c98a00; letter-spacing: .1em; }
.review blockquote { font-size: 1rem; line-height: 1.6; }
.review figcaption { margin-top: auto; font-weight: 600; font-size: .9375rem; color: var(--slate); }
@media (max-width: 991px) { .reviews { grid-template-columns: 1fr; max-width: 38rem; margin-inline: auto; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step { background: var(--white); border-radius: var(--radius-lg); padding: 2rem 1.75rem; display: flex; flex-direction: column; gap: .75rem; border-top: 4px solid var(--maroon); }
.step-num { font-weight: 800; font-size: 2rem; color: var(--teal); line-height: 1; }
.step p { color: var(--slate); }
@media (max-width: 767px) { .steps { grid-template-columns: 1fr; } }

/* Service area */
.towns { display: grid; grid-template-columns: repeat(4, auto); gap: .625rem 1.5rem; font-weight: 600; font-size: 1.0625rem; }
.towns li { display: flex; align-items: center; gap: .5rem; }
.towns li::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--tan); }
@media (max-width: 479px) { .towns { grid-template-columns: repeat(2, auto); } }
.area-photo img { border-radius: var(--radius-lg); width: 100%; }
.area-photo figcaption { margin-top: .75rem; font-size: .9375rem; color: rgb(255 255 255 / .8); }

/* Form */
.form-wrap { align-items: start; }
.quote { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; display: grid; gap: 1rem; box-shadow: 0 10px 30px rgb(40 20 20 / .08); }
.quote label { display: grid; gap: .375rem; font-weight: 600; font-size: .9375rem; }
.quote input, .quote textarea { width: 100%; font: 400 1rem/1.4 var(--font); color: var(--ink); padding: .8rem .9rem; border: 1.5px solid #cfc8bd; border-radius: 10px; background: var(--white); }
.quote input:focus, .quote textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgb(21 117 99 / .2); }
.quote textarea { resize: vertical; }
.form-note { padding: .875rem 1rem; border-radius: 10px; background: #e6f2ef; color: var(--teal-dark); font-weight: 600; font-size: .9375rem; }
.form-note[hidden] { display: none; }
@media (max-width: 479px) { .quote { padding: 1.5rem 1.25rem; } }

/* CTA band */
.cta-band { position: relative; isolation: isolate; padding-block: var(--section); color: var(--white); text-align: center; overflow: hidden; }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(100 0 19 / .82); }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgb(255 255 255 / .92); font-size: 1.125rem; }
.cta-band .btn-row { margin-top: .75rem; }
.cta-band .btn { background: var(--white); border-color: var(--white); color: var(--maroon); }
.cta-band .btn.btn-light { background: transparent; color: var(--white); border-color: rgb(255 255 255 / .7); }

/* Footer */
.footer { background: var(--teal-deep); color: rgb(255 255 255 / .82); padding-block: 4rem 2rem; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; }
.footer-logo { display: inline-block; background: var(--white); border-radius: var(--radius); padding: .75rem 1rem; }
.footer-logo img { width: 170px; }
.footer-text { max-width: 22rem; }
.footer a { color: var(--white); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-heading { font-size: 1rem; font-weight: 700; color: var(--white); letter-spacing: 0; margin-bottom: .25rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .15); font-size: .875rem; color: rgb(255 255 255 / .7); }
@media (max-width: 767px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* Mobile call bar */
.call-bar { display: none; }
@media (max-width: 767px) {
  .call-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: 1fr 1fr; gap: .625rem; padding: .625rem .75rem calc(.625rem + env(safe-area-inset-bottom)); background: var(--teal-deep); box-shadow: 0 -6px 20px rgb(0 0 0 / .18); }
  .call-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; border-radius: 999px; font-weight: 700; text-decoration: none; }
  .call-bar-call { background: var(--maroon); color: var(--white); }
  .call-bar-quote { background: var(--white); color: var(--teal-dark); }
  .footer { padding-bottom: calc(2rem + 4.5rem + env(safe-area-inset-bottom)); }
}
