:root {
  --dark: #182229;
  --dark-2: #111b21;
  --olive: #53651c;
  --olive-2: #6f8028;
  --paper: #f7f7f4;
  --muted: #d8dfd7;
  --ink: #172026;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  display: flex;
  justify-content: center;
  background: #d7d7d7;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}

.flyer {
  width: min(100%, 1054px);
  min-height: 1492px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
  overflow: hidden;
}

.hero-grid {
  height: 1170px;
  position: relative;
}

.brand-panel {
  z-index: 3;
  position: absolute;
  left: 0;
  top: 0;
  width: 650px;
  height: 450px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 70px 0 0 0;
  background: #fff;
  clip-path: path("M 0 0 H 590 C 578 82 596 142 622 223 C 677 312 596 398 607 450 H 0 Z")
}

.brand-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 560px;
  max-width: calc(100% - 82px);
  height: auto;
}

.photo-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 470px;
  height: 594px;
  overflow: hidden;
  background: #9fb8c9;
}

.photo-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% 42%;
  display: block;
}

.trust-badge {
  position: absolute;
  top: 112px;
  right: 20px;
  width: 154px;
  height: 154px;
  border: 4px solid #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--olive);
  color: #fff;
  text-align: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
}

.trust-badge p,
.trust-badge strong {
  margin: 0;
  font-size: 15px;
  line-height: 1.18;
  font-weight: 800;
}

.trust-badge span {
  width: 52px;
  height: 2px;
  margin: 13px 0 12px;
  background: rgba(255, 255, 255, .7);
}

.headline-panel {
  position: absolute;
  left: 0;
  top: 447px;
  width: 610px;
  height: 426px;
  z-index: 2;
  padding: 43px 34px 30px 52px;
  background: var(--dark);
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 93% 100%, 0 100%);
}

.headline-panel h2 {
  margin: 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 77px;
  line-height: .92;
  letter-spacing: 1px;
  font-weight: 800;
}

.headline-panel h2 span {
  color: var(--olive-2);
}

.accent-rule {
  width: 158px;
  height: 3px;
  margin: 25px 0 15px;
  background: var(--olive-2);
}

.headline-panel p {
  margin: 0;
  font-size: 27px;
  line-height: 1.32;
  color: #f6f7f5;
}

.services-panel {
  position: absolute;
  right: 0;
  top: 594px;
  z-index: 4;
  width: 459px;
  min-height: 560px;
  padding: 34px 34px 32px 26px;
  background: var(--paper);
  overflow: visible;
}

.services-panel h2 {
  position: relative;
  margin: 0 0 19px;
  color: var(--olive);
  font-size: 32px;
  line-height: 1;
  font-weight: 800;
}

.services-panel h2::after {
  content: "";
  display: block;
  width: 119px;
  height: 3px;
  margin-top: 14px;
  background: var(--olive);
}

.services-panel ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Quote button inside services panel */
.services-quote-btn {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  width: 100%;
  justify-content: center;
  font-size: 14px;
  padding: 12px 20px;
}

.services-panel li {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #141b20;
  font-size: 20px;
  font-weight: 700;
  cursor: default;
  border-radius: 6px;
  padding: 4px 8px 4px 0;
  transition:
    color .22s ease,
    transform .22s ease,
    background .22s ease;
}

.services-panel li:hover {
  color: var(--olive);
  transform: translateX(6px);
  background: rgba(83, 101, 28, .07);
}

.services-panel li::before {
  content: "";
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 41%, #fff 42% 52%, transparent 53%) 8px 13px / 16px 9px no-repeat,
    var(--olive);
  transform: rotate(-8deg);
  transition: transform .22s ease, box-shadow .22s ease;
}

.services-panel li:hover::before {
  transform: rotate(-8deg) scale(1.18);
  box-shadow: 0 4px 12px rgba(83, 101, 28, .45);
}

.promise-row {
  position: absolute;
  left: 0;
  top: 945px;
  width: 610px;
  height: 212px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #f8f8f6;
  border-top: 1px solid #e0e0dc;
}

.promise-row article {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 18px 20px;
  text-align: center;
  cursor: default;
  transition: background .25s ease, transform .25s ease;
}

.promise-row article:hover {
  background: rgba(83, 101, 28, .08);
  transform: translateY(-4px) scale(1.04);
  z-index: 1;
}

.promise-row article:hover .promise-icon {
  transform: scale(1.18);
  filter: drop-shadow(0 6px 14px rgba(83, 101, 28, .45));
}

.promise-icon {
  transition: transform .25s ease, filter .25s ease;
}

.promise-row article+article {
  border-left: 1px solid #d5d5d1;
}

.promise-icon {
  position: relative;
  width: 58px;
  height: 58px;
  margin-bottom: 12px;
  color: #fff;
}

.shield-icon {
  background: var(--olive);
  clip-path: polygon(50% 0, 90% 13%, 86% 65%, 50% 100%, 14% 65%, 10% 13%);
}

.shield-icon::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 23px;
  width: 23px;
  height: 12px;
  border-left: 6px solid #fff;
  border-bottom: 6px solid #fff;
  transform: rotate(-45deg);
}

.house-icon::before {
  content: "";
  position: absolute;
  inset: 15px 8px 5px;
  background: var(--olive);
}

.house-icon::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 46px;
  height: 46px;
  background: var(--olive);
  clip-path: polygon(50% 0, 100% 42%, 88% 42%, 88% 100%, 12% 100%, 12% 42%, 0 42%);
}

.hands-icon::before {
  content: "";
  position: absolute;
  inset: 12px 3px 8px;
  background: var(--olive);
  clip-path: polygon(0 36%, 16% 20%, 34% 44%, 48% 18%, 100% 50%, 82% 85%, 55% 61%, 45% 79%, 29% 60%, 18% 76%);
}

.price-icon {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--olive);
  font-family: Georgia, serif;
  font-size: 40px;
  font-weight: 700;
}

.promise-row h3 {
  margin: 0 0 7px;
  color: var(--olive);
  font-size: 16px;
  line-height: 1.15;
  font-weight: 800;
}

.promise-row p {
  margin: 0;
  font-size: 14px;
  line-height: 1.22;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: 216px;
  padding: 8px 8px 0;
  background: var(--olive);
  overflow: hidden;
  margin-top: 19px;
}

.gallery-strip article {
  position: relative;
  min-height: 208px;
  overflow: hidden;
  background: var(--olive);
  clip-path: polygon(0 0, 96% 0, 87% 100%, 0 100%);
}

.gallery-strip article:last-child {
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
}

.gallery-strip img {
  width: 112%;
  height: 166px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease, filter .4s ease;
}

.gallery-strip article:hover img {
  transform: scale(1.1);
  filter: brightness(1.08);
}

.gallery-strip h3 {
  position: absolute;
  left: 0;
  right: 8%;
  bottom: 0;
  margin: 0;
  min-height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--olive);
  font-size: 17px;
  font-weight: 800;
  transition: background .3s ease, letter-spacing .3s ease;
}

.gallery-strip article:hover h3 {
  background: var(--olive-2);
  letter-spacing: 1px;
}

.contact-footer {
  display: grid;
  grid-template-columns: 48% 52%;
  gap: 34px;
  padding: 32px 52px 36px;
  background: var(--dark);
  color: #fff;
}

.contact-left,
.contact-right {
  display: flex;
  align-items: flex-start;
  gap: 21px;
}

.contact-right {
  border-left: 2px solid var(--olive);
  padding-left: 47px;
}

.footer-symbol {
  position: relative;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 50%;
  background: var(--olive);
}

.phone-symbol::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 14px;
  width: 25px;
  height: 35px;
  border: 10px solid #fff;
  border-top: 0;
  border-left-width: 8px;
  border-radius: 0 0 22px 22px;
  transform: rotate(-40deg);
}

.pin-symbol::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 10px;
  width: 27px;
  height: 38px;
  background: #fff;
  clip-path: path("M13.5 0C6 0 0 6 0 13.5 0 24 13.5 38 13.5 38S27 24 27 13.5C27 6 21 0 13.5 0Z");
}

.pin-symbol::after {
  content: "";
  position: absolute;
  left: 29px;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--olive);
}

.footer-label {
  margin: 0 0 7px;
  color: var(--olive-2);
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
}

.footer-phone {
  display: block;
  margin-bottom: 17px;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
}

.mail-symbol,
.web-symbol {
  position: relative;
  width: 24px;
  height: 20px;
  flex: 0 0 24px;
}

.mail-symbol {
  border: 3px solid #fff;
}

.mail-symbol::before {
  content: "";
  position: absolute;
  left: 1px;
  right: 1px;
  top: 2px;
  height: 12px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg) skew(10deg, 10deg);
}

.web-symbol {
  border: 3px solid #fff;
  border-radius: 50%;
}

.web-symbol::before,
.web-symbol::after {
  content: "";
  position: absolute;
  background: #fff;
}

.web-symbol::before {
  left: 3px;
  right: 3px;
  top: 50%;
  height: 3px;
}

.web-symbol::after {
  top: 2px;
  bottom: 2px;
  left: 50%;
  width: 3px;
}

.coverage {
  margin: 0 0 3px;
  color: #fff;
  font-size: 22px;
  line-height: 1.35;
}

.slogan {
  margin: 2px 0 0 53px;
  color: var(--olive-2);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 31px;
  font-style: italic;
  line-height: 1;
  transform: rotate(-8deg);
}

.copyright-section {
  padding: 10px 24px;
  background: var(--dark-2);
  border-top: 1px solid rgba(255, 255, 255, .08);
  text-align: center;
}

.copyright-section p {
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 860px) {
  body {
    display: block;
    background: #fff;
  }

  .flyer {
    width: 100%;
    height: auto;
    min-height: 0;
    box-shadow: none;
    overflow: visible;
  }

  .hero-grid {
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    position: static;
  }

  .brand-panel,
  .photo-panel,
  .headline-panel,
  .services-panel,
  .promise-row {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
  }

  .brand-panel,
  .headline-panel,
  .gallery-strip article,
  .gallery-strip article:last-child {
    clip-path: none;
  }

  .brand-panel {
    min-height: 330px;
    align-items: center;
    justify-content: center;
    padding: 34px 20px;
  }

  .brand-logo {
    width: min(600px, 96%);
    max-width: none;
  }

  .photo-panel {
    height: clamp(300px, 58vw, 520px);
  }

  .photo-panel img {
    object-position: 53% 43%;
  }

  .trust-badge {
    top: 24px;
    right: 24px;
    width: clamp(128px, 22vw, 170px);
    height: clamp(128px, 22vw, 170px);
  }

  .trust-badge p,
  .trust-badge strong {
    font-size: clamp(13px, 2.2vw, 17px);
  }

  .headline-panel {
    padding: 42px 36px 44px;
  }

  .headline-panel h2 {
    font-size: clamp(58px, 12vw, 96px);
  }

  .headline-panel p {
    font-size: clamp(21px, 3.6vw, 29px);
  }

  .services-panel {
    padding: 38px 36px 42px;
  }

  .services-panel h2 {
    font-size: clamp(28px, 5vw, 34px);
  }

  .services-panel ul {
    gap: 14px;
  }

  .services-panel li {
    font-size: clamp(18px, 3.2vw, 22px);
  }

  .promise-row {
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid #e0e0dc;
  }

  .promise-row article {
    min-height: 180px;
  }

  .gallery-strip {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: auto;
    grid-template-columns: repeat(2, 1fr);
    min-height: 0;
    padding: 8px;
    gap: 8px;
    border-left: none;
    border-top: 1px solid #e0e0dc;
  }

  .gallery-strip article {
    min-height: 220px;
  }

  .gallery-strip article:last-child {
    grid-column: 1 / -1;
  }

  .gallery-strip img {
    width: 100%;
    height: 176px;
  }

  .gallery-strip h3 {
    right: 0;
  }

  .contact-footer {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 36px 36px;
  }

  .contact-right {
    border-left: 0;
    border-top: 2px solid var(--olive);
    padding: 25px 0 0;
  }

}

@media (max-width: 560px) {
  .brand-panel {
    min-height: 250px;
    padding: 22px 12px;
  }

  .photo-panel {
    height: 320px;
  }

  .trust-badge {
    width: 120px;
    height: 120px;
    top: 16px;
    right: 14px;
    border-width: 3px;
  }

  .trust-badge p,
  .trust-badge strong {
    font-size: 12px;
  }

  .trust-badge span {
    width: 42px;
    margin: 8px 0;
  }

  .headline-panel {
    padding: 32px 24px 36px;
  }

  .headline-panel h2 {
    font-size: clamp(50px, 16vw, 66px);
  }

  .headline-panel p {
    font-size: 20px;
  }

  .services-panel {
    padding: 30px 22px 34px;
  }

  .services-panel li {
    font-size: 18px;
    gap: 12px;
  }

  .services-panel li::before {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }

  .promise-row {
    grid-template-columns: 1fr;
  }

  .promise-row article {
    min-height: 160px;
  }

  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .gallery-strip article,
  .gallery-strip article:last-child {
    grid-column: auto;
  }

  .gallery-strip article {
    min-height: 210px;
  }

  .gallery-strip img {
    height: 165px;
  }

  .contact-footer {
    padding: 24px;
  }

  .contact-left,
  .contact-right {
    gap: 14px;
  }

  .footer-symbol {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .footer-phone {
    font-size: 28px;
  }

  .footer-link,
  .coverage {
    font-size: 15px;
  }

  .footer-link {
    overflow-wrap: anywhere;
  }

  .slogan {
    margin-left: 0;
    font-size: 25px;
  }
}

/* ─── GET YOUR FREE QUOTE BUTTON ─────────────────────────────────────────── */

.quote-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 26px;
  background: linear-gradient(135deg, var(--olive-2) 0%, #8fa030 100%);
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(83, 101, 28, .45);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  position: relative;
  overflow: hidden;
}

.quote-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .2s ease;
}

.quote-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(83, 101, 28, .55);
}

.quote-button:hover::before {
  opacity: 1;
}

.quote-button:active {
  transform: translateY(0);
  box-shadow: 0 3px 12px rgba(83, 101, 28, .4);
}

.quote-button::after {
  content: "→";
  font-size: 18px;
  transition: transform .2s ease;
}

.quote-button:hover::after {
  transform: translateX(4px);
}

/* ─── MODAL OVERLAY ──────────────────────────────────────────────────────── */

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.quote-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.quote-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 20, .72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}

/* ─── MODAL DIALOG ───────────────────────────────────────────────────────── */

.quote-dialog {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  max-height: 94vh;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .55);
  transform: translateY(28px) scale(.97);
  transition: transform .35s cubic-bezier(.22, .61, .36, 1);
  display: flex;
  align-items: stretch;
}

.quote-modal.is-open .quote-dialog {
  transform: translateY(0) scale(1);
}

/* ─── MODAL IMAGE PANEL ──────────────────────────────────────────────────── */

.quote-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--dark);
}

.quote-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ─── MODAL CLOSE BUTTON ─────────────────────────────────────────────────── */

.quote-close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.quote-close:hover {
  background: rgba(255, 255, 255, .32);
  transform: rotate(90deg);
}

/* ─── MODAL FORM PANEL ───────────────────────────────────────────────────── */

.quote-form {
  position: relative;
  z-index: 1;
  margin-left: auto;
  width: 420px;
  min-width: 320px;
  max-height: 94vh;
  padding: 36px 38px 34px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(10, 16, 20, 0.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-left: 1px solid rgba(255, 255, 255, .12);
}

.quote-kicker {
  margin: 0 0 4px;
  color: #a8c44a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.quote-form h2 {
  margin: 0 0 8px;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.quote-copy {
  margin: 0 0 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, .68);
  line-height: 1.5;
}

.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .85);
  letter-spacing: .3px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  padding: 11px 14px;
  border: 1.5px solid rgba(255, 255, 255, .2);
  border-radius: 7px;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  resize: none;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: #a8c44a;
  background: rgba(255, 255, 255, .18);
  box-shadow: 0 0 0 3px rgba(168, 196, 74, .2);
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: rgba(255, 255, 255, .35);
}

.quote-form select option {
  background: #1a2a1a;
  color: #fff;
}

.quote-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2353651c' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.quote-submit {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-2) 100%);
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(83, 101, 28, .4);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.quote-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(83, 101, 28, .5);
}

.quote-submit:active {
  transform: translateY(0);
}

.quote-submit:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

/* ─── FORM ALERT MESSAGES ────────────────────────────────────────────────── */

.form-alert {
  display: none;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 14px;
}

.form-alert.show {
  display: flex;
}

.form-alert--success {
  background: #edf7e6;
  border: 1.5px solid #7db95a;
  color: #2d6217;
}

.form-alert--error {
  background: #fdf1f1;
  border: 1.5px solid #e07070;
  color: #8b2020;
}

/* ─── RESPONSIVE MODAL ───────────────────────────────────────────────────── */

@media (max-width: 680px) {
  .quote-dialog {
    flex-direction: column;
    max-height: 92vh;
    overflow-y: auto;
  }

  .quote-media {
    position: relative;
    inset: auto;
    height: 200px;
    flex-shrink: 0;
  }

  .quote-form {
    width: 100%;
    margin-left: 0;
    padding: 28px 24px 26px;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }

  .quote-form h2 {
    font-size: 28px;
  }
}

/* ─── GALLERY & SERVICE LINKS ────────────────────────────────────────────── */

.gallery-link {
  display: contents;
}

.service-link {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  width: 100%;
}

/* ─── SERVICE SUBPAGES ───────────────────────────────────────────────────── */

.service-header {
  position: relative;
  background: var(--dark-2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-nav-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 52px;
  background: rgba(24, 34, 41, 0.52);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.service-nav-bar .logo-link {
  display: block;
  background: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.22s ease;
}

.service-nav-bar .logo-link:hover {
  transform: scale(1.02);
}

.service-nav-bar .brand-logo {
  height: 42px;
  width: auto;
  max-width: none;
  display: block;
}

.back-home-btn {
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.3px;
}

.back-home-btn:hover {
  background: #fff;
  color: var(--dark);
  border-color: #fff;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.service-banner {
  position: relative;
  height: 390px;
  background-size: cover;
  background-position: center 35%;
  display: flex;
  align-items: flex-end;
  padding: 0 52px 48px;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 27, 33, 0.85) 0%, rgba(17, 27, 33, 0.3) 50%, rgba(17, 27, 33, 0.95) 100%);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  color: #fff;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
}

.banner-content h1 {
  margin: 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 64px;
  font-weight: 800;
  letter-spacing: 1.5px;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.breadcrumbs {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(17, 27, 33, 0.65);
  padding: 8px 20px;
  border-radius: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.breadcrumbs a {
  color: var(--olive-2);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: #fff;
}

.breadcrumbs span {
  color: #fff;
}

.service-container {
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  gap: 52px;
  padding: 64px 52px;
  background: #fff;
}

.service-content {
  color: var(--ink);
}

.service-intro {
  font-size: 22px;
  line-height: 1.6;
  font-weight: 700;
  color: var(--olive);
  margin-bottom: 30px;
  position: relative;
  padding-left: 22px;
  border-left: 5px solid var(--olive);
}

.service-description {
  font-size: 16.5px;
  line-height: 1.8;
  color: #4a5a63;
  margin-bottom: 38px;
  padding: 5px;
}

.service-description p {
  margin: 0 0 20px;
}

.service-benefits {
  background: var(--paper);
  border-top: 4px solid var(--olive);
  border-radius: 8px;
  padding: 38px;
  margin-bottom: 40px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.03);
  border-left: 1px solid rgba(0, 0, 0, 0.02);
  border-right: 1px solid rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

.service-benefits h3 {
  margin: 0 0 26px;
  font-size: 23px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.3px;
}

.service-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.benefit-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(83, 101, 28, 0.12);
  border-color: var(--olive);
}

.benefit-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(83, 101, 28, 0.1);
  display: grid;
  place-items: center;
  color: var(--olive);
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}

.benefit-card:hover .benefit-icon {
  background: var(--olive);
  color: #fff;
}

.benefit-text h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
}

.benefit-text p {
  margin: 0;
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.5;
}

.service-cta {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  border-radius: 12px;
  padding: 42px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 20px 45px rgba(17, 27, 33, 0.18);
  position: relative;
  overflow: hidden;
}

.service-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 128, 40, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.service-cta-text {
  position: relative;
  z-index: 1;
}

.service-cta-text h3 {
  margin: 0 0 10px;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.service-cta-text p {
  margin: 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 440px;
  line-height: 1.5;
}

.service-cta .quote-button {
  flex-shrink: 0;
  z-index: 1;
}

/* Sidebar CTA overrides for narrow column */
.service-sidebar .service-cta {
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  padding: 36px 28px;
  text-align: left;
}

.service-sidebar .service-cta-text h3 {
  font-size: 32px;
}

.service-sidebar .service-cta .quote-button {
  width: 100%;
  justify-content: center;
}

/* Sidebar Navigation */
.sidebar-box {
  background: var(--paper);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 30px;
  border: 1px solid rgba(0, 0, 0, 0.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.015);
}

.sidebar-box h3 {
  margin: 0 0 24px;
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  position: relative;
}

.sidebar-box h3::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--olive);
  margin-top: 10px;
  border-radius: 2px;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: var(--dark);
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
}

.sidebar-menu li a::after {
  content: "→";
  font-size: 16px;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.25s ease;
  color: var(--olive-2);
}

.sidebar-menu li.active a,
.sidebar-menu li a:hover {
  background: var(--olive);
  color: #fff;
  border-color: var(--olive);
  transform: translateX(6px);
  box-shadow: 0 6px 18px rgba(83, 101, 28, 0.25);
}

.sidebar-menu li.active a::after,
.sidebar-menu li a:hover::after {
  opacity: 1;
  transform: translateX(0);
  color: #fff;
}

.sidebar-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.sidebar-contact-item:hover {
  background: rgba(255, 255, 255, 0.7);
}

.sidebar-contact-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-2) 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(83, 101, 28, 0.22);
  transition: transform 0.25s ease;
}

.sidebar-contact-item:hover .icon {
  transform: scale(1.1) rotate(5deg);
}

.sidebar-contact-info {
  display: flex;
  flex-direction: column;
}

.sidebar-contact-info span {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.sidebar-contact-info a,
.sidebar-contact-info p {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.sidebar-contact-info a:hover {
  color: var(--olive-2);
}

/* Subpage Responsive Adjustments */
@media (max-width: 860px) {
  .service-nav-bar {
    padding: 16px 20px;
  }

  .service-nav-bar .logo-link {
    padding: 6px 12px;
  }

  .service-nav-bar .brand-logo {
    height: 32px;
  }

  .back-home-btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  .service-banner {
    padding: 0 20px 32px;
    height: 280px;
  }

  .banner-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .banner-content h1 {
    font-size: 42px;
  }

  .breadcrumbs {
    padding: 6px 14px;
    font-size: 12px;
  }

  .service-container {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    gap: 40px;
  }

  .service-intro {
    font-size: 19px;
    padding: 14px 5px;
  }

  .service-benefits {
    padding: 28px 20px;
  }

  .service-benefits-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-box {
    display: none;
  }

  .service-cta {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
    gap: 24px;
  }

  .service-cta-text p {
    margin: 0 auto;
  }

  .service-cta .quote-button {
    width: 100%;
    justify-content: center;
  }
}