/* Tony's Painting visual language adapted for PRC Group's PHP site. */
:root {
  --navy: #2a2a28;
  --navy-deep: #1d1d1b;
  --navy-soft: #3a3936;
  --amber: #c4291c;
  --amber-dark: #8b1a10;
  --ink: #1a1a1a;
  --muted: #6b6560;
  --line: #d8d0c5;
  --bg: #f5f1eb;
  --bg-alt: #e8e2d8;
  --white: #fff;
  --radius: 4px;
  --radius-sm: 4px;
  --shadow-sm: 0 8px 24px rgba(29, 29, 27, .08);
  --shadow-md: 0 18px 48px rgba(29, 29, 27, .14);
  --shadow-lg: 0 28px 72px rgba(0, 0, 0, .28);
}

body { background: var(--bg); }
h1, h2 { letter-spacing: -.035em; }

.topbar { display: none; }
.header {
  position: sticky;
  top: 0;
  background: rgba(42, 42, 40, .97);
  border-color: rgba(255, 255, 255, .07);
  backdrop-filter: blur(14px);
}
.header__inner { height: 80px; }
.header.scrolled { box-shadow: 0 12px 32px rgba(0, 0, 0, .2); }
.header .logo__blob { fill: #fff; }
.header .logo__prc { fill: #2a2a28; }
.header .logo__group { fill: #fff; }
.brand__tag { color: rgba(255, 255, 255, .62); border-color: rgba(255, 255, 255, .18); }
.nav { gap: .6rem; }
.nav a { color: rgba(255, 255, 255, .86); border-radius: 0; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: transparent; }
.nav a:not(.nav__cta)::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 4px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { background: var(--amber); padding-inline: 1.15rem !important; }
.nav__cta:hover { background: var(--amber-dark) !important; }
.nav-toggle span { background: #fff; }

.hero {
  min-height: calc(100svh - 80px);
  display: grid;
  align-items: center;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  background:
    linear-gradient(90deg, rgba(17, 17, 16, .92) 0%, rgba(25, 24, 22, .76) 48%, rgba(20, 20, 19, .7) 100%),
    url('../assets/projects/interior-painting-repaint-massachusetts.webp') center 42% / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(0deg, rgba(18, 18, 17, .55), transparent);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .72fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}
.hero__content { max-width: 720px; }
.hero__eyebrow {
  color: rgba(255, 255, 255, .78);
  background: transparent;
  border: 0;
  border-left: 3px solid var(--amber);
  border-radius: 0;
  padding: .15rem 0 .15rem .9rem;
}
.hero h1 {
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: .97;
  margin-bottom: 1.5rem;
}
.hero h1 em { color: #f1d7d2; font-style: italic; font-weight: 600; }
.hero p { color: rgba(255, 255, 255, .74); font-size: 1.05rem; max-width: 650px; }
.hero__actions { margin-bottom: 2.2rem; }
.btn { border-radius: 6px; letter-spacing: .01em; }
.btn--primary { background: var(--amber); box-shadow: 0 10px 28px rgba(196, 41, 28, .24); }
.btn--primary:hover { background: var(--amber-dark); }
.hero__proof {
  display: flex;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero__proof span { color: rgba(255, 255, 255, .62); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.hero__proof strong { color: #fff; font-size: 1rem; margin-right: .3rem; }

.hero-form {
  padding: 1.8rem;
  background: rgba(42, 42, 40, .58);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
  display: grid;
  gap: .8rem;
}
.hero-form__head { margin-bottom: .35rem; }
.hero-form__head > span { color: #ef9a91; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.hero-form h2 { color: #fff; font-size: 1.55rem; margin: .15rem 0; }
.hero-form__head p { color: rgba(255, 255, 255, .58); font-size: .78rem; margin: 0; }
.hero-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.hero-form label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hero-form input, .hero-form select, .hero-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 7px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  padding: .78rem .85rem;
  font: inherit;
}
.hero-form select option { color: #1a1a1a; }
.hero-form input::placeholder, .hero-form textarea::placeholder { color: rgba(255, 255, 255, .58); }
.hero-form input:focus, .hero-form select:focus, .hero-form textarea:focus {
  outline: none;
  border-color: #ec7469;
  box-shadow: 0 0 0 3px rgba(196, 41, 28, .18);
}
.hero-form textarea { resize: vertical; }
.hero-form .form-note { color: #fff; font-size: .84rem; }
.hero-form .form-note.ok { color: #9ee6b7; }
.hero-form .form-note.err { color: #ffaaa2; }

.trust { background: var(--amber); }
.trust span { color: #fff; letter-spacing: .02em; }

.section { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.section__eyebrow { color: var(--amber); }
.section__head h2 { font-size: clamp(2.25rem, 5vw, 4rem); }

.cards { gap: 1rem; }
.card {
  border: 0;
  border-left: 0 solid var(--amber);
  border-radius: 0;
  box-shadow: none;
  background: rgba(255, 255, 255, .72);
  transition: transform .25s ease, border-left-width .25s ease, background .25s ease;
}
.card::before { display: none; }
.card:hover { transform: translateY(-4px); border-left-width: 3px; box-shadow: var(--shadow-sm); background: #fff; }
.card__more { color: var(--amber); }
.card--accent { background: var(--navy); border-left-width: 3px; }

.about__media, .gallery__item, .contact__form, .step, .review { border-radius: 4px; }
.about__badge { background: var(--amber); border-radius: 2px; border: 0; }
.checklist li::before { color: var(--amber); }
.step { border: 0; border-top: 3px solid var(--amber); box-shadow: var(--shadow-sm); }
.step__num { background: transparent; color: var(--amber); font-size: 2rem; border: 0; }

.gallery { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 210px; gap: .8rem; }
.gallery__item { grid-column: span 4; aspect-ratio: auto; border: 0; }
.gallery__item:nth-child(1), .gallery__item:nth-child(6) { grid-column: span 5; }
.gallery__item:nth-child(2), .gallery__item:nth-child(5) { grid-column: span 3; }
.gallery__item:nth-child(3), .gallery__item:nth-child(4) { grid-column: span 4; }
.gallery__item img { transition: transform .55s ease; }
.gallery__item:hover img { transform: scale(1.045); }
.gallery__item::after { background: linear-gradient(0deg, rgba(16, 16, 15, .86), transparent 70%); }
.gallery__item span { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }

.cta-banner { background: var(--amber); }
.contact__form { border: 0; box-shadow: var(--shadow-md); }
.field label { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(196, 41, 28, .12); }
.footer { background: var(--navy-deep); }
.footer__col h3 { color: #ef9a91; }

@media (max-width: 1050px) {
  .brand__tag { display: none; }
  .nav { gap: 0; }
  .nav a { padding-inline: .55rem; }
  .hero__grid { grid-template-columns: 1fr .85fr; gap: 2.5rem; }
}

@media (max-width: 820px) {
  .header__inner { height: 68px; }
  .nav { top: 68px; background: var(--navy); border-color: rgba(255, 255, 255, .08); }
  .nav a { color: #fff; }
  .hero { min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__content { text-align: center; margin-inline: auto; }
  .hero__eyebrow { border-left: 0; border-bottom: 2px solid var(--amber); padding: 0 0 .45rem; }
  .hero__actions, .hero__proof { justify-content: center; }
  .hero-form { max-width: 600px; width: 100%; margin-inline: auto; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .gallery__item, .gallery__item:nth-child(n) { grid-column: span 1; }
}

@media (max-width: 560px) {
  .hero { padding: 4rem 0; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 4.2rem); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__proof { display: grid; grid-template-columns: 1fr; gap: .55rem; }
  .hero-form { padding: 1.25rem; }
  .hero-form__row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 250px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; }
}

