/* Good Guys Renovations post-export polish layer. */
:root {
  --gg-red: #c81917;
  --gg-red-strong: #e23832;
  --gg-ink: #111111;
  --gg-muted: #4b4b4b;
  --gg-paper: #faf9f6;
  --gg-line: #dfddd7;
  --gg-shadow: 0 22px 70px rgba(12, 12, 12, 0.16);
}

html {
  scroll-padding-top: 84px;
}

body {
  background: var(--gg-paper);
}

main {
  overflow-x: hidden;
}

main > section[id] {
  scroll-margin-top: 5rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
button,
label,
input,
select,
textarea {
  letter-spacing: 0 !important;
}

header.fixed {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

@media (min-width: 64rem) {
  header.fixed,
  header.fixed > div {
    background: rgba(235, 235, 235, 0.94) !important;
    backdrop-filter: blur(14px);
  }

  header.fixed > div {
    padding-top: 0.7rem !important;
    padding-bottom: 0.7rem !important;
  }

  header nav a {
    padding-bottom: 0.18rem;
  }
}

header img[alt="Good Guys Renovations"] {
  object-fit: contain !important;
}

#home {
  isolation: isolate;
  min-height: 680px !important;
  background: #050505;
}

#home > div:first-child {
  z-index: 0 !important;
  background-position: center 56% !important;
  filter: saturate(1.04) contrast(1.03);
}

#home > div:nth-child(2) {
  z-index: 1 !important;
}

#home > div:first-child > div {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.16) 52%, rgba(0, 0, 0, 0.24)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.42)) !important;
}

#home h1 {
  max-width: 46rem;
  font-size: 4rem !important;
  line-height: 1.02 !important;
}

#home p {
  max-width: 31rem;
  line-height: 1.45 !important;
  color: rgba(255, 255, 255, 0.94) !important;
}

main > section.bg-black:first-child {
  background:
    radial-gradient(circle at 18% 18%, rgba(200, 25, 23, 0.2), transparent 30rem),
    linear-gradient(135deg, #060606 0%, #111111 100%) !important;
}

main > section.bg-black:first-child h1 {
  color: var(--gg-red-strong) !important;
  text-shadow: 0 16px 42px rgba(200, 25, 23, 0.28);
}

main > section.bg-black:first-child h2 {
  -webkit-text-stroke: 1.25px rgba(226, 56, 50, 0.98) !important;
  -webkit-text-fill-color: rgba(226, 56, 50, 0.1) !important;
  text-shadow: 0 12px 34px rgba(200, 25, 23, 0.22);
}

main > section.bg-black:first-child p {
  color: rgba(255, 255, 255, 0.9) !important;
}

main > section#about {
  min-height: auto !important;
  padding-top: 4.5rem !important;
  padding-bottom: 4.5rem !important;
}

main > section#about > div > div:first-child {
  justify-content: flex-start !important;
  margin-bottom: 2rem !important;
}

main > section#about a {
  min-height: 44px;
  border-radius: 8px !important;
}

main > section#about > div > div:nth-child(2) {
  max-width: 68rem;
  margin: 0 auto !important;
}

main > section#about div:has(> img[alt*="custom deck"]) {
  height: 620px !important;
  overflow: hidden;
  border-radius: 8px !important;
  box-shadow: var(--gg-shadow);
}

main > section#about img[alt*="custom deck"] {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center 56%;
}

main > section#about div:has(> .gg-middle-gallery) {
  height: 640px !important;
  overflow: visible;
  border-radius: 8px !important;
}

.gg-middle-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.82fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  height: 100%;
}

.gg-middle-gallery__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  background: #f2f0ec;
  box-shadow: 0 20px 50px rgba(23, 20, 18, 0.14);
}

.gg-middle-gallery__image--1 {
  grid-row: 1 / span 2;
  object-position: center center;
}

.gg-middle-gallery__image--2 {
  object-position: center 56%;
}

.gg-middle-gallery__image--3 {
  object-position: center center;
}

main > section#about div[style*="rotate"] {
  top: 1rem !important;
  left: 1rem !important;
  transform: rotate(-5deg) !important;
  z-index: 2;
}

main > section#about h2 {
  max-width: 16rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
  font-size: 1.75rem !important;
  line-height: 1.05 !important;
}

main > section#about p {
  max-width: 39rem !important;
  margin-top: 1.25rem !important;
  color: var(--gg-muted);
  line-height: 1.55 !important;
}

section:has(img[alt*="Pro-Grade Renovations"]) {
  min-height: auto !important;
  padding-top: 8.5rem !important;
  padding-bottom: 4.5rem !important;
  background: linear-gradient(180deg, #ffffff 0%, var(--gg-paper) 100%) !important;
}

section:has(img[alt*="Pro-Grade Renovations"]) > div {
  min-height: auto !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 2.5rem !important;
  padding-bottom: 0 !important;
}

@media (min-width: 64rem) {
  section:has(img[alt*="Pro-Grade Renovations"]) > div {
    grid-template-columns: minmax(330px, 360px) minmax(360px, 520px) minmax(160px, 1fr) !important;
  }
}

section:has(img[alt*="Pro-Grade Renovations"]) h1 {
  max-width: 11ch;
  font-size: 3.05rem !important;
  line-height: 1.04 !important;
  overflow-wrap: normal;
}

section:has(img[alt*="Pro-Grade Renovations"]) div:has(> img[alt*="Pro-Grade Renovations"]) {
  width: min(42vw, 520px) !important;
  height: 600px !important;
  border-radius: 18px !important;
  box-shadow: var(--gg-shadow);
}

section:has(img[alt*="Pro-Grade Renovations"]) img[alt*="Pro-Grade Renovations"] {
  filter: saturate(1.04) contrast(1.02);
}

section:has(img[alt*="Pro-Grade Renovations"]) p {
  max-width: 22rem !important;
  color: var(--gg-muted);
  line-height: 1.45 !important;
}

section:has(form) {
  background: linear-gradient(180deg, #ffffff 0%, var(--gg-paper) 100%);
  padding-top: 4rem !important;
  padding-bottom: 4.5rem !important;
}

section:has(form) > div > div {
  gap: 2rem !important;
}

section:has(form) > div > div > div:has(form) {
  width: min(100%, 980px) !important;
  max-width: 980px;
  margin-inline: auto;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

section:has(form) form {
  width: 100% !important;
  max-width: 900px;
  min-width: 0;
  margin-inline: auto;
  box-sizing: border-box;
}

section:has(form) form > * {
  min-width: 0;
}

section:has(form) label {
  letter-spacing: 0;
}

section:has(form) form::before {
  content: "Start with the essentials.\A Michael will follow up directly with next steps.";
  display: block;
  white-space: pre-line;
  padding: 0.95rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.4;
}

section:has(form) input,
section:has(form) select,
section:has(form) textarea {
  max-width: 100%;
  box-sizing: border-box;
  min-height: 52px;
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background-color: #444444 !important;
}

section:has(form) input:focus,
section:has(form) select:focus,
section:has(form) textarea:focus {
  border-color: rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14);
}

section:has(form) textarea {
  min-height: 140px;
}

section:has(form) button[type="submit"] {
  min-width: 180px;
  border-radius: 8px !important;
  background: var(--gg-red) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 30px rgba(200, 25, 23, 0.25);
}

section:has(form) button[type="submit"]:hover {
  background: #a80f0d !important;
}

.gg-form-status {
  max-width: 620px;
  margin: 0 auto;
  padding: 0.95rem 1rem;
  border-radius: 8px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.45;
}

.gg-form-status[hidden] {
  display: none;
}

.gg-form-status--pending {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.gg-form-status--success {
  border: 1px solid rgba(70, 190, 120, 0.3);
  background: rgba(70, 190, 120, 0.12);
  color: #a8f0c4;
}

.gg-form-status--error {
  border: 1px solid rgba(255, 126, 114, 0.32);
  background: rgba(255, 126, 114, 0.12);
  color: #ffb7ae;
}

.gg-form-status a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

section:has(form) > div > div > div:not(:has(form)):has(img[alt="Michael"]) {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1.35rem !important;
  max-width: 960px;
  margin-inline: auto;
  padding: 1.25rem 1.5rem !important;
  border-radius: 12px !important;
  border: 1px solid var(--gg-line);
  background: #f6f4f0 !important;
  box-shadow: 0 18px 46px rgba(14, 14, 14, 0.08);
}

section:has(form) > div > div > div:not(:has(form)):has(img[alt="Michael"]) > div:first-child {
  width: 5.75rem !important;
  height: 5.75rem !important;
  border: 3px solid #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

section:has(form) img[alt="Michael"] {
  object-position: center 34%;
}

section:has(form) > div > div > div:not(:has(form)):has(img[alt="Michael"]) p:first-child {
  margin-bottom: 0.35rem !important;
  color: var(--gg-ink) !important;
  font-size: 1.1rem !important;
  line-height: 1.45 !important;
}

#cta {
  margin-top: 5rem !important;
  background: #ffffff;
}

#cta > div {
  align-items: stretch;
  background: linear-gradient(180deg, #ffffff 0%, var(--gg-paper) 100%);
}

#cta div:has(> img[alt*="modern craftsmanship"]) {
  height: 760px !important;
  border-radius: 0 8px 8px 0;
  box-shadow: var(--gg-shadow);
}

#cta img[alt*="modern craftsmanship"] {
  object-position: center !important;
}

#cta a[href^="mailto:"] {
  border-radius: 8px !important;
  background: var(--gg-red) !important;
  color: #ffffff !important;
  border-color: var(--gg-red) !important;
}

#cta a[href^="mailto:"]:hover {
  background: #a80f0d !important;
  border-color: #a80f0d !important;
}

section:has(img[alt="Georgia map"]) {
  border-radius: 8px !important;
}

section:has(img[alt="Georgia map"]) > div,
div:has(> img[alt="Georgia map"]) {
  border-radius: 8px !important;
}

button:has(img),
div:has(> img[alt*="renovation"]),
div:has(> img[alt*="Renovations team"]),
div:has(> img[alt*="craftsmanship"]) {
  border-radius: 8px !important;
}

@media (max-width: 63.99rem) {
  html {
    scroll-padding-top: 76px;
  }

  #home {
    min-height: 620px !important;
  }

  #home > div:first-child {
    background-position: center 50% !important;
  }

  #home h1 {
    max-width: 21rem;
    font-size: 2.15rem !important;
    line-height: 1.05 !important;
  }

  #home p {
    max-width: 20rem;
    font-size: 1rem !important;
    line-height: 1.45 !important;
  }

  main > section.bg-black:first-child {
    min-height: 340px !important;
    padding-top: 6.25rem !important;
    padding-bottom: 2rem !important;
  }

  main > section.bg-black:first-child h1,
  main > section.bg-black:first-child h2 {
    font-size: 2.15rem !important;
    line-height: 1.08 !important;
  }

  main > section.bg-black:first-child p {
    width: 100% !important;
    max-width: 19rem;
    margin-top: 2rem !important;
    align-self: flex-start !important;
  }

  main > section#about {
    padding-top: 3.25rem !important;
    padding-bottom: 3.25rem !important;
  }

  main > section#about > div > div:first-child {
    align-items: stretch !important;
    margin-bottom: 1.5rem !important;
  }

  main > section#about a {
    width: 100%;
    text-align: center;
  }

  main > section#about div:has(> img[alt*="custom deck"]) {
    height: 360px !important;
    border-radius: 8px !important;
  }

  main > section#about div:has(> .gg-middle-gallery) {
    height: auto !important;
  }

  .gg-middle-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 10px;
  }

  .gg-middle-gallery__image {
    height: 240px;
  }

  .gg-middle-gallery__image--1,
  .gg-middle-gallery__image--2,
  .gg-middle-gallery__image--3 {
    grid-row: auto;
  }

  .gg-middle-gallery__image--1 {
    height: 260px;
  }

  main > section#about div[style*="rotate"] {
    top: 0.75rem !important;
    left: 0.75rem !important;
    transform: rotate(-3deg) !important;
  }

  main > section#about h2 {
    max-width: 12.5rem;
    font-size: 1.25rem !important;
  }

  main > section#about p {
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
  }

  section:has(img[alt*="Pro-Grade Renovations"]) {
    padding-top: 6.5rem !important;
    padding-bottom: 3rem !important;
  }

  section:has(img[alt*="Pro-Grade Renovations"]) > div {
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 1.75rem !important;
  }

  section:has(img[alt*="Pro-Grade Renovations"]) h1 {
    max-width: 100%;
    font-size: 2.35rem !important;
  }

  section:has(img[alt*="Pro-Grade Renovations"]) div:has(> img[alt*="Pro-Grade Renovations"]) {
    width: 100% !important;
    height: 320px !important;
    border-radius: 8px !important;
  }

  section:has(img[alt*="Pro-Grade Renovations"]) p {
    width: 100% !important;
    max-width: 19rem !important;
    padding: 0 !important;
    align-self: flex-start !important;
    text-align: left !important;
  }

  section:has(form) {
    overflow-x: hidden;
    padding-right: 1rem !important;
    padding-left: 1rem !important;
    padding-top: 2.75rem !important;
  }

  section:has(form) > div > div {
    gap: 2.5rem !important;
  }

  section:has(form) > div > div > div:has(form) {
    width: calc(100vw - 2rem) !important;
    max-width: calc(100vw - 2rem) !important;
    padding: 1.25rem !important;
  }

  section:has(form) > div > div > div:not(:has(form)):has(img[alt="Michael"]) {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 1.25rem !important;
    text-align: center;
  }

  section:has(form) > div > div > div:not(:has(form)):has(img[alt="Michael"]) > div:first-child {
    width: 5.25rem !important;
    height: 5.25rem !important;
  }

  section:has(form) > div > div > div:not(:has(form)):has(img[alt="Michael"]) p:first-child {
    font-size: 1rem !important;
  }

  #cta {
    margin-top: 3.5rem !important;
  }

  #cta div:has(> img[alt*="modern craftsmanship"]) {
    height: 340px !important;
    border-radius: 8px;
  }

  #cta > div > div:last-child {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
}
