/* Green Garage Doors: brand adjustments on top of the original site.css.
   Only what the new logo, palette and content need. */

/* Logo: badge-shaped, so it is sized by height and never stretched. */
body.ezfix .site-header .logo { width: auto !important; max-width: none !important; min-width: 0 !important; flex-shrink: 0 !important; }
body.ezfix .site-header .logo img { width: auto !important; height: 80px !important; max-width: none !important; }
body.ezfix .site-header .header-row { min-height: 92px; }
@media (max-width: 900px) {
	body.ezfix .site-header .logo img { height: 60px !important; }
	body.ezfix .site-header .header-row { min-height: 72px; }
}
@media (max-width: 640px) {
	body.ezfix .site-header .logo img { height: 54px !important; }
	body.ezfix .site-header .header-row { min-height: 66px; }
}
body.ezfix .site-footer .footer-logo { width: 220px !important; height: auto !important; }
@media (max-width: 720px) { body.ezfix .site-footer .footer-logo { width: 190px !important; } }

/* Book buttons: blue, as on the original site; the mobile-menu one gets readable white text. */
body.ezfix .site-header .header-cta > .ezfix-book-button,
body.ezfix .site-header .m-nav .m-ctas > button.btn {
	background: #1d5fe8 !important; background-image: none !important; border: 1px solid #1d5fe8 !important;
	color: #fff !important; -webkit-text-fill-color: #fff !important; box-shadow: 0 5px 16px rgba(29, 95, 232, .28) !important;
	display: inline-flex; align-items: center; justify-content: center; gap: 7px;
}
body.ezfix .site-header .header-cta > .ezfix-book-button svg { stroke: #fff; color: #fff; }
body.ezfix .site-header .header-cta > .ezfix-book-button:hover,
body.ezfix .site-header .m-nav .m-ctas > button.btn:hover { background: #174fc4 !important; border-color: #174fc4 !important; }
/* Book an Appointment dialog: blue accents to match the Book buttons. */
body.ezfix #gg-booking .form-title { color: #174fc4; }
body.ezfix #gg-booking button[type=submit] { background: #1d5fe8 !important; background-image: none !important; color: #fff !important; -webkit-text-fill-color: #fff !important; box-shadow: 0 8px 20px rgba(29, 95, 232, .3) !important; }
body.ezfix #gg-booking button[type=submit]:hover { background: #174fc4 !important; }
body.ezfix #gg-booking .chip input:checked + span { background: #1d5fe8 !important; border-color: #1d5fe8 !important; color: #fff !important; }
body.ezfix #gg-booking :is(input, select, textarea):focus { box-shadow: 0 0 0 3px rgba(29, 95, 232, .3) !important; border-color: #1d5fe8 !important; }
body.ezfix #gg-booking .ezfix-booking-surface { border-top: 6px solid #1d5fe8; }

/* Hero: the small label above the heading is centered like the heading. */
body.ezfix main#ez-main :is(.hero, .page-hero) .area-pill { display: table !important; margin-left: auto !important; margin-right: auto !important; text-align: center !important; }

/* Text links and accents on white need a darker green for contrast (WCAG AA). */
body.ezfix .link-cta { color: #111; text-decoration-color: #3bcb1a; }
body.ezfix .lead-form .req { color: #0f6409 !important; }

/* Gallery videos use the same tile as the photos. */
body.ezfix .gg-video-h { margin: 40px 0 14px; font-size: 20px; text-align: center; }
body.ezfix .gallery.gg-videos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { body.ezfix .gallery.gg-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.ezfix .gallery.gg-videos li { position: relative; border-radius: var(--radius-sm, 12px); overflow: hidden; background: #111; aspect-ratio: 4 / 3; }
body.ezfix .gallery.gg-videos video { width: 100%; height: 100%; object-fit: contain; display: block; background: #111; }
body.ezfix .gallery.gg-videos .g-cap { pointer-events: none; }
@media (max-width: 720px) { body.ezfix .gallery.gg-videos { grid-template-columns: 1fr; } }

/* Preview-only labels (removed in the WordPress build). */
.gg-preview-bar { background: #3bcb1a; color: #0b0b0b; font: 700 12px/1.3 var(--body, sans-serif); text-align: center; padding: 6px 12px; letter-spacing: .02em; }
.gg-preview-note { margin: 18px auto 0; max-width: 640px; text-align: center; font-size: 13px; color: #555; background: #fff; border: 1px dashed #9aa1a7; border-radius: 10px; padding: 10px 14px; }

/* Form select fields match the text inputs. */
body.ezfix .lead-form select {
	box-sizing: border-box; width: 100%; min-width: 0; min-height: 48px; padding: 12px 40px 12px 14px;
	border: 1px solid #dfe1e6; border-radius: 14px; background-color: #f7f8fa; color: #171717;
	font-family: var(--body); font-size: 16.5px; line-height: 1.3;
	-webkit-appearance: none; appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center;
}
body.ezfix .lead-form select:focus { border-color: var(--ink); background-color: #fff; outline: none; box-shadow: 0 0 0 3px rgba(59,203,26,.35); }
body.ezfix .lead-form select[aria-invalid="true"] { border-color: var(--err, #b42318); }
body.ezfix .lead-form .ezfix-appointment-note { margin-top: -4px; }

/* Badges from the original layout: rating pill above the bottom form, "verified" tick on reviews. */
body.ezfix main#ez-main #ez-bottom-form::before { content: none !important; display: none !important; }

/* Hero photo: keep the door in frame (Green photo has a dark eave at the top). */
html body.ezfix main#ez-main section.hero.hero--home > .hero-bg > img { object-fit: cover !important; object-position: 62% 45% !important; width: 100% !important; height: 100% !important; }

/* Map: the locator map shows under the Google embed and stays visible if the embed can't load. */
body.ezfix #map .gmap-frame { background: #eef2eb; }

/* Reviews: the Google button replaces the rating summary. */
body.ezfix #reviews .gg-rv-cta { margin: -22px 0 22px; }
body.ezfix main#ez-main .hero .ezfix-local-note { text-align: center !important; }
/* Inner pages (About, Contact, legal): hero text centered. */
body.ezfix main#ez-main .page-hero .wrap { text-align: center; }
body.ezfix main#ez-main .page-hero .hero-intro { margin-left: auto !important; margin-right: auto !important; }
body.ezfix main#ez-main .page-hero .hero-ctas { justify-content: center !important; }
/* Inner-page hero photo fills the band (original CSS letterboxes it). */
html body.ezfix main#ez-main section.page-hero > .hero-bg { position: absolute !important; inset: 0 !important; }
html body.ezfix main#ez-main section.page-hero > .hero-bg > img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; object-position: center 40% !important; }
html body.ezfix main#ez-main section.page-hero > .hero-bg::after { content: "" !important; display: block !important; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,10,.72), rgba(10,12,10,.82)); z-index: 1; }
html body.ezfix main#ez-main section.page-hero > .wrap { position: relative; z-index: 2; }
html body.ezfix main#ez-main section.page-hero { isolation: isolate; }
html body.ezfix main#ez-main section.page-hero > .hero-bg { z-index: 0 !important; }

/* Preview only: Google map frame (blocked in the preview) shows the locator map and a link to the profile. */
html body.ezfix main#ez-main .gmap-frame { position: relative; overflow: hidden; }
html body.ezfix main#ez-main .gmap-frame:not(:has(iframe)) { min-height: 360px; }
html body.ezfix main#ez-main .gmap-frame:not(:has(iframe)) .gmap-static { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; object-fit: cover !important; }

/* Reviews summary: Google logo + "Reviews on Google" (no rating number until Green's Google rating is connected). */
/* Review stars stay Google gold (the palette swap turned them green). */
body.ezfix main#ez-main #reviews .review.gcard .gc-stars .stars { color: #fbbc04 !important; -webkit-text-fill-color: #fbbc04 !important; }
@media (max-width: 640px) {
	body.ezfix main#ez-main #reviews .g-summary .gs-score strong { font-size: 17px !important; }
	body.ezfix main#ez-main #reviews .g-summary .gs-score strong::after { font-size: 14px !important; }
}


/* Preview only: stand-in for Google's place card (the real Google map shows it on the live site). */
html body.ezfix main#ez-main .gmap-frame .gg-map-card { position: absolute; top: 14px; left: 14px; z-index: 3; background: #fff; color: #202124; padding: 14px 18px 16px; box-shadow: 0 2px 8px rgba(0,0,0,.25); max-width: calc(100% - 28px); font-family: Roboto, Arial, sans-serif; }
html body.ezfix main#ez-main .gmap-frame .gg-map-card strong { display: block; font-size: 15px; font-weight: 500; margin-bottom: 12px; }
html body.ezfix main#ez-main .gmap-frame .gg-map-card a { display: inline-flex; align-items: center; gap: 8px; background: #1a73e8; color: #fff !important; -webkit-text-fill-color: #fff !important; text-decoration: none; padding: 8px 16px; border-radius: 999px; font-size: 15px; }

/* Local service area box under the map (as on the original site). */
body.ezfix main#ez-main .gg-area-box { display: flex; align-items: center; gap: 18px; margin: 18px 0 0; padding: 20px 22px; border-radius: 22px; background: #1d2632; border: 1px solid #3a4553; color: #fff; }
body.ezfix main#ez-main .gg-area-box svg { flex: none; color: #4fd62a; }
body.ezfix main#ez-main .gg-area-box .gg-area-label { display: block; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: #4fd62a; margin-bottom: 4px; }
html body.ezfix main#ez-main section#map .gg-area-box p { margin: 0; color: #fff !important; -webkit-text-fill-color: #fff !important; font-size: 16px; line-height: 1.5; }
body.ezfix main#ez-main .gg-map-col { min-width: 0; display: flex; flex-direction: column; }

/* Google rating 4.8: gold stars, last star 80% filled. */
html body.ezfix :is(.rating-badge, .gmap-rating, #reviews .g-summary) :is(.stars, .gs-stars) { color: #fbbc04 !important; -webkit-text-fill-color: #fbbc04 !important; letter-spacing: 1px; }
html body.ezfix :is(.rating-badge, .gmap-rating, #reviews .g-summary) .gg-star-part { background: linear-gradient(90deg, #fbbc04 80%, #8a8d91 80%) !important; -webkit-background-clip: text !important; background-clip: text !important; -webkit-text-fill-color: transparent !important; color: transparent !important; }
html body.ezfix main#ez-main section#reviews#reviews .g-summary .gs-stars { color: #fbbc04 !important; -webkit-text-fill-color: #fbbc04 !important; }

/* Blog: photos fill their frames. */
html body.ezfix main#ez-main .post-feature .pf-ph { display: block; overflow: hidden; }
html body.ezfix main#ez-main .post-feature .pf-ph img { width: 100% !important; height: 100% !important; max-height: 520px; aspect-ratio: 4 / 3; object-fit: cover !important; }
html body.ezfix main#ez-main .post-card .pc-ph img { width: 100% !important; aspect-ratio: 4 / 3; height: auto !important; object-fit: cover !important; }
html body.ezfix main#ez-main .post-cover img { width: 100% !important; max-height: 560px; object-fit: cover !important; }
body.ezfix .gg-sched { background: #e4e7ea !important; color: #111 !important; }
@media (max-width: 400px) {
	html body.ezfix main#ez-main section#reviews#reviews .g-summary .gs-stars { font-size: 13px !important; letter-spacing: 0 !important; }
	html body.ezfix main#ez-main section#reviews#reviews .g-summary .gs-score { gap: 6px !important; }
	html body.ezfix main#ez-main section#reviews#reviews .g-summary .gs-score strong { font-size: 16px !important; }
	html body.ezfix main#ez-main section#reviews#reviews .g-summary .gs-score strong::after { font-size: 12px !important; }
}
@media (max-width: 360px) {
	html body.ezfix main#ez-main section#reviews#reviews .g-summary .gs-score { flex-direction: column !important; gap: 2px !important; }
}

/* Google rating badge above the bottom form, same look as the top one. */
html body.ezfix main#ez-main #contact .card { position: relative; overflow: visible; }
html body.ezfix main#ez-main #contact .gg-bottom-badge { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); margin: 0 !important; }
@media (max-width: 720px) {
	html body.ezfix main#ez-main section#reviews#reviews > .wrap > .g-summary { left: max(16px, calc(50% - 340px)) !important; width: min(332px, calc(50% - 24px)) !important; }
}
html body.ezfix main#ez-main .map-embed .gg-embed-stand-in { position: relative; min-height: 380px; border-radius: 22px; overflow: hidden; }

/* FAQ page: topic links */
.gg-faq-jump{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:0 auto 28px}
.gg-faq-jump a{display:inline-flex;align-items:center;min-height:40px;padding:8px 14px;border:1px solid #d6dbd8;border-radius:999px;background:#fff;color:#111;font-weight:600;font-size:14px;text-decoration:none}
.gg-faq-jump a:hover,.gg-faq-jump a:focus-visible{border-color:#1f8a3b;color:#1f8a3b}
.gg-faq-group{scroll-margin-top:110px}
.gg-faq-group .section-head p a{color:#1f8a3b;font-weight:600}
@media (max-width:720px){
 .gg-faq-jump{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 -16px 24px;padding:0 16px 6px;scrollbar-width:none}
 .gg-faq-jump::-webkit-scrollbar{display:none}
 .gg-faq-jump a{flex:0 0 auto;font-size:13px;min-height:38px}
}
