/* AVPC Final 9 correction review. Applies only the user-approved changes. */
/* Correction 08: clickable buttons have true 90-degree corners throughout all pages. */
body button,body input[type="button"],body input[type="submit"],body [role="button"],
body a.action,body a[class*="action"],body a[class*="button"],body a[class*="btn"],
body .header-estimate,body .v23-possibilities-action {border-radius:0!important;}
/* Correction 01: level the two square accents and the whole comparison panel. */
body.home-v23 .v23-possibilities-mark {transform:none!important;box-shadow:14px 14px 0 #AB283A;}
/* Correction 02: Texas map fits the exact service-area panel. */
body.home-v23 .v23-area-panel {min-width:0;text-align:center;}
body.home-v23 .avpc-texas-service-map {display:block;width:100%;height:auto;max-width:100%;object-fit:contain;margin:12px auto 5px;}
body.home-v23 .v23-area-panel .avpc-map-caption {font-size:11px;line-height:1.6;letter-spacing:0;color:#E2EDF3;}
/* Correction 03: remove visible white arrow squares while preserving accessible photo-card links. */
body.home-v23 .v23-detail-card>a.avpc-detail-card-link {position:absolute;inset:0;right:0;top:0;z-index:3;display:block;padding:0;border:0;border-radius:0;background:transparent;color:transparent;font-size:0;text-decoration:none;}
body.home-v23 .v23-detail-card>a.avpc-detail-card-link:focus-visible {outline:3px solid #FFF;outline-offset:-4px;} 
/* Correction 04: embedded 15-project gallery, 18 sets of comparison photos, no drag controls. */
.avpc-ba-gallery {background:#F1F3F4;padding:72px 0 84px;color:#092639;scroll-margin-top:95px;}
.avpc-ba-gallery h2 {font:900 clamp(36px,5vw,64px)/1.05 "Barlow Condensed",Impact,sans-serif;text-transform:uppercase;margin:15px 0;color:#092639;}
.avpc-ba-gallery h2 em {font-style:normal;color:#AB283A;}
.avpc-ba-lead {max-width:820px;font:400 15px/1.8 "DM Sans",Arial,sans-serif;color:#4A6170;margin:0 0 30px;}
.avpc-ba-projects {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;}
.avpc-ba-project {min-width:0;padding:21px;background:#FFF;border:1px solid #D0DBE0;box-shadow:0 10px 26px rgba(5,32,49,.08);}
.avpc-ba-project-head span {font:900 10px/1.3 "DM Sans",Arial,sans-serif;color:#AB283A;letter-spacing:.18em;}
.avpc-ba-project-head h3 {font:850 clamp(24px,2.7vw,33px)/1.12 "Barlow Condensed",Arial,sans-serif;margin:8px 0 17px;color:#0A273C;}
.avpc-ba-pair {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 24px;}
.avpc-ba-pair:last-child {margin-bottom:0;}
.avpc-ba-pair figure {min-width:0;margin:0;}
.avpc-ba-img {aspect-ratio:4/3;background:#102F44;overflow:hidden;}
.avpc-ba-img img {width:100%;height:100%;display:block;object-fit:cover;}
.avpc-ba-pair figcaption {background:#102F44;color:#FFF;font:900 11px "DM Sans",Arial,sans-serif;letter-spacing:.14em;padding:10px;text-align:center;}
.avpc-ba-pair figure:last-child figcaption {background:#AB283A;}
/* Correction 05: hide the extra founders-photo gallery once removed. */
.owners-dialog-gallery:empty {display:none!important;}
/* Correction 06: maintain the same four-up franchise card layout and profile square. */
.franchises-page .owners-cards.franchise-cards {grid-template-columns:repeat(4,minmax(0,1fr))!important;max-width:1160px;}
.franchises-page .owners-card .owners-card-content strong {overflow-wrap:anywhere;}
/* Correction 07: show a red EMAIL US button in the existing blue inquiry panel. */
.franchises-page .franchise-contact-mail.avpc-contact-email-button {display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:12px 20px;margin-top:10px;background:#AB283A;color:#FFF!important;text-decoration:none!important;text-transform:uppercase;font-weight:900;letter-spacing:.1em;border:1px solid #AB283A;border-radius:0;}
.franchises-page .franchise-contact-mail.avpc-contact-email-button:hover {background:#7F1B2E;border-color:#7F1B2E;}
.franchises-page .franchise-contact-mail.avpc-contact-email-button:focus-visible {outline:3px solid #FFF;outline-offset:3px;}
/* Correction 09: native responsive embedded video before franchise opportunities. */
.franchises-page .avpc-franchise-video {max-width:960px;margin:55px auto 0;text-align:center;}
.franchises-page .avpc-franchise-video-kicker {font:900 11px "DM Sans",Arial,sans-serif;letter-spacing:.16em;color:#AB283A;}
.franchises-page .avpc-franchise-video h2 {font:900 clamp(34px,4vw,53px) "Barlow Condensed",Impact,sans-serif;color:#FFF;margin:14px 0 20px;}
.franchises-page .avpc-franchise-video-embed {position:relative;width:100%;aspect-ratio:16/9;max-height:540px;background:#071A29;border:1px solid #AB283A;overflow:hidden;}
.franchises-page .avpc-franchise-video-embed iframe {width:100%;height:100%;display:block;border:0;}
@media(max-width:1030px){.franchises-page .owners-cards.franchise-cards {grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:770px){.avpc-ba-projects {grid-template-columns:1fr;}.avpc-ba-gallery {padding:52px 0 66px;}}
@media(max-width:650px){.franchises-page .owners-cards.franchise-cards {grid-template-columns:1fr!important;}.franchises-page .avpc-franchise-video{margin:34px 0 0;}}
@media(max-width:390px){.avpc-ba-pair{gap:6px}.avpc-ba-project{padding:12px}.avpc-ba-pair figcaption{font-size:9px;}}

/* Final header / renovations correction, Nov 15 2026.
   Overrides older explicit border-radius:100px!important declarations. */
.site-header .header-contact-actions .header-estimate.action.primary {
  border-radius: 0 !important;
}
.site-header .header-contact-actions .header-estimate .header-estimate-arrow {
  display: none !important;
}
/* Full-width introduction when the blueprint animation has been removed. */
.v24-opening.avpc-renovations-intro {background:linear-gradient(135deg,#f8f9fa 0%,#f3f6f7 52%,#e9eef0 100%);}
.v24-opening .avpc-renovation-intro-layout {display:block; margin-bottom:0;}
.v24-opening .avpc-renovation-intro-copy {width:100%;max-width:1000px;}
.v24-opening .avpc-renovation-intro-copy h2 {font-size:clamp(43px,5.15vw,76px);line-height:1.04;}
.v24-opening .avpc-renovation-intro-copy>p {font-size:15px;color:#4c6270;line-height:1.86;max-width:900px;margin:24px 0 22px;}
.v24-opening .avpc-renovation-intro-link {display:inline-flex;align-items:center;gap:12px;max-width:100%;padding:13px 1px 11px;color:#7b3640;border-bottom:2px solid #AB283A;font:800 11px/1.45 "DM Sans",Arial,sans-serif;letter-spacing:.115em;text-decoration:none;transition:color .2s ease,border-color .2s ease;}
.v24-opening .avpc-renovation-intro-link:hover,.v24-opening .avpc-renovation-intro-link:focus-visible{color:#0e3045;border-color:#0e3045;}
@media (max-width:520px) {.v24-opening .avpc-renovation-intro-copy h2{font-size:clamp(42px,10vw,60px);}.v24-opening .avpc-renovation-intro-link{font-size:10px;letter-spacing:.06em;}}

/* FINAL HANDOFF: Homepage image takes the place of the old graphic/text/CTA hero.
   The supplied artwork includes the headline and explanatory text in the PNG.
   Width and height are proportional: no crop, no duplicate text, no action button. */
body.home-v23.home-refined .hero.avpc-artwork-hero {
  position: relative;
  display:block;
  width:100%;
  min-height:0 !important;
  height:auto !important;
  line-height:0;
  overflow:hidden;
  background:#003f62;
}
body.home-v23.home-refined .hero.avpc-artwork-hero::before,
body.home-v23.home-refined .hero.avpc-artwork-hero::after {
  content:none !important;
  display:none !important;
}
body.home-v23.home-refined .hero.avpc-artwork-hero .avpc-hero-artwork {
  display:block !important;
  position:relative !important;
  inset:auto !important;
  width:100% !important;
  height:auto !important;
  max-width:none !important;
  object-fit:contain !important;
  filter:none !important;
  transform:none !important;
  margin:0 !important;
}
.avpc-sr-only {position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0,0,0,0) !important;white-space:nowrap !important;border:0 !important;}
/* Close up space left by the 12 deleted renovation educational panels. */
.v27-explainer:empty,.v27-explainer-grid:empty {display:none !important;}

/* Final courtesy: service-area copy occupies full width after map panel removal. */
body.home-v23 .v23-area-wrap {grid-template-columns:minmax(0,1fr)!important;}
body.home-v23 .v23-area-intro {max-width:850px;}

/* AVPC NAVIGATION WEIGHT FIX — November 23, 2026
   Preserve the existing navigation font and size; change weight only. */
#site-navigation > a[href="index.html"],
#site-navigation > .nav-renovations-dropdown > .nav-renovations-link {
  font-weight: 900 !important;
}
