/*
Theme Name: NewGen Homepage Review
Description: Local homepage review using NewGen Locksmith's existing site assets.
Version: 1.0
*/

:root {
    --newgen-cyan: #00b8d6;
    --newgen-action: #17677d;
    --newgen-dark: #1e293b;
    --newgen-pale: #e3f3f5;
    --newgen-line: #d8e8eb;
    --newgen-site-width: 1260px;
}

.ng-review #page { overflow: clip; }
.ng-review #content { display: block; }
.ng-review .ng-width { max-width: var(--newgen-site-width); width: calc(100% - 72px); margin-inline: auto; }
.ng-review :is(.ng-header, .ng-hero, .ng-support-section) { color: var(--newgen-dark); }
.ng-review :is(.ng-header, .ng-hero, .ng-support-section) :focus-visible { outline: 2px solid var(--newgen-action); outline-offset: 4px; }
.ng-review .ng-header { background: #fff; border-bottom: 1px solid var(--newgen-line); position: relative; z-index: 5; }
.ng-review .ng-header-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 88px; }
.ng-review .ng-logo { flex: none; display: block; }
.ng-review .ng-logo img { display: block; width: 172px; height: auto; }
.ng-review .ng-menu-toggle { display: none; }
.ng-review .ng-navigation { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 34px); justify-content: center; }
.ng-review .ng-navigation > a, .ng-review .ng-navigation summary { color: #1e1e1e; text-decoration: none; font-size: 16px; font-weight: 600; white-space: nowrap; padding-block: 12px; }
.ng-review .ng-navigation > a:hover, .ng-review .ng-navigation summary:hover { color: var(--newgen-action); }
.ng-review .ng-navigation details { position: relative; }
.ng-review .ng-navigation summary { display: flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; }
.ng-review .ng-navigation summary::-webkit-details-marker { display: none; }
.ng-review .ng-navigation summary::after { content: ''; width: 7px; height: 7px; border-bottom: 1px solid; border-right: 1px solid; transform: rotate(45deg); margin-top: -4px; }
.ng-review .ng-navigation details[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.ng-review .ng-dropdown { position: absolute; top: 100%; left: -14px; background: #fff; border: 1px solid var(--newgen-line); min-width: 218px; padding: 8px 0; box-shadow: 0 8px 16px #1e293b10; }
.ng-review .ng-dropdown a { display: block; padding: 7px 14px; color: #1e1e1e; text-decoration: none; white-space: nowrap; }
.ng-review .ng-dropdown a:hover { background: var(--newgen-pale); color: var(--newgen-action); }
.ng-review .ng-header-actions { display: flex; flex: none; align-items: center; gap: 17px; }
.ng-review .ng-header-call { display: inline-flex; min-height: 44px; align-items: center; gap: 9px; color: var(--newgen-dark); text-decoration: none; white-space: nowrap; font-family: 'Nunito Sans', Arial, sans-serif; font-weight: 850; font-size: 17px; }
.ng-review .ng-phone-icon { font-size: 15px; color: var(--newgen-action); }
.ng-review .ng-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 18px; border: 1px solid var(--newgen-action); border-radius: 9px; background: var(--newgen-action); color: #fff; font-family: 'Source Sans 3', Arial, sans-serif; font-size: 17px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; }
.ng-review .ng-button:hover { background: #115365; border-color: #115365; color: #fff; }
.ng-review .ng-button-brand { background: var(--newgen-cyan); border: 0; color: var(--newgen-dark); }
.ng-review .ng-button-brand:hover { background: #00a8c4; color: var(--newgen-dark); }
.ng-review .ng-button-outline { color: var(--newgen-action); background: #fff; }
.ng-review .ng-button-outline:hover { color: var(--newgen-action); background: var(--newgen-pale); }
.ng-review .ng-button img { width: 18px; height: 18px; object-fit: contain; }
.ng-review .ng-hero { position: relative; isolation: isolate; overflow: hidden; background: #f4fafb; }
.ng-review .ng-hero-row { display: grid; align-items: center; justify-items: center; min-height: 560px; padding-block: 46px 86px; }
.ng-review .ng-hero-copy { z-index: 1; width: min(100%, 530px); text-align: center; }
.ng-review .ng-hero h1 { font-family: 'Nunito Sans', Arial, sans-serif; font-weight: 900; font-size: clamp(43px, 4.6vw, 68px); line-height: 1.02; letter-spacing: -.035em; color: var(--newgen-dark); margin: 0 0 16px; text-transform: none; }
.ng-review .ng-hero h1 span { display: block; color: inherit; }
.ng-review .ng-hero-intro { font-family: 'Source Sans 3', Arial, sans-serif; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.34; max-width: 435px; margin: 0 auto; }
.ng-review .ng-hero-technician { position: absolute; z-index: -1; inset: auto auto 0 50%; display: block; width: min(100%, 1560px); max-width: none; height: auto; transform: translateX(-50%); }
.ng-review .ng-hero-van { position: absolute; inset: auto auto clamp(12px, 1.2vw, 20px) max(30px, calc((100% - 1496px) / 2)); width: min(25vw, 390px); max-width: none; height: auto; margin: 0; }
.ng-review .ng-hero-usps { display: flex; flex-wrap: wrap; gap: 6px 15px; justify-content: center; padding: 0; margin: 17px 0 0; list-style: none; font: 750 14px/1.3 'Nunito Sans', Arial, sans-serif; }
.ng-review .ng-hero-usps li { white-space: nowrap; }
.ng-review .ng-hero-usps span { color: var(--newgen-action); font-size: 15px; margin-right: 3px; }
.ng-review .ng-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.ng-review .ng-hero-review { margin: 22px auto 0; padding-top: 14px; max-width: 385px; border-top: 1px solid var(--newgen-line); }
.ng-review .ng-hero-review blockquote, .ng-review .ng-hero-review p { margin: 0; padding: 0; border: 0; font: 700 17px/1.3 'Source Sans 3', Arial, sans-serif; }
.ng-review .ng-hero-review figcaption { margin-top: 3px; color: #385260; font: 600 14px/1.3 'Source Sans 3', Arial, sans-serif; }
.ng-review .ng-hero-stars { color: #865811; letter-spacing: .05em; margin-right: 5px; }
.ng-review .ng-support-section { padding-block: clamp(40px, 5.5vw, 72px); background: #fff; }
.ng-review .ng-feature-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(26px, 5.5vw, 78px); }
.ng-review .ng-support-section h2 { margin: 0 0 14px; color: var(--newgen-dark); font: 850 clamp(29px, 3.2vw, 45px)/1.12 'Nunito Sans', Arial, sans-serif; letter-spacing: -.025em; text-transform: none; }
.ng-review .ng-section-copy { font: 400 18px/1.52 'Source Sans 3', Arial, sans-serif; }
.ng-review .ng-section-copy p { margin: 0 0 13px; }
.ng-review .ng-section-copy a { color: var(--newgen-action); text-decoration: underline; text-underline-offset: 3px; }
.ng-review a.ng-text-link { display: inline-block; margin-top: 3px; color: var(--newgen-action); font: 750 17px/1.4 'Source Sans 3', Arial, sans-serif; text-decoration: underline; text-underline-offset: 3px; }
.ng-review .ng-reviews { padding-block: clamp(32px, 4vw, 52px); border-top: 1px solid var(--newgen-line); scroll-margin-top: 20px; }
.ng-review .ng-reviews h2 { margin-bottom: 24px; }
.ng-review .ng-about, .ng-review .ng-local { background: #f4fafb; border-block: 1px solid var(--newgen-line); }
.ng-review .ng-about-row { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); }
.ng-review .ng-about-photo { display: block; justify-self: center; width: min(100%, 400px); height: auto; }
.ng-review .ng-section-brand { margin: 0 0 7px; color: var(--newgen-action); font: 750 16px/1.2 'Source Sans 3', Arial, sans-serif; }
.ng-review .ng-about-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 28px 0 0; padding: 12px 0 0; border-top: 1px solid var(--newgen-line); }
.ng-review .ng-about-benefits li { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 8px 12px; font: 800 16px/1.25 'Nunito Sans', Arial, sans-serif; }
.ng-review .ng-about-benefits li + li { border-left: 1px solid var(--newgen-line); }
.ng-review .ng-about-benefits img { flex: none; width: 36px; height: 36px; object-fit: contain; }
.ng-review .ng-emergency-row { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.ng-review #ng-emergency-title { scroll-margin-top: 24px; }
.ng-review .ng-emergency-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.ng-review .ng-emergency-copy { max-width: 58ch; }
.ng-review .ng-emergency-copy strong { font-weight: 750; }
.ng-review .ng-emergency-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 32px 0 0; padding: 20px 0 0; border-top: 1px solid var(--newgen-line); }
.ng-review .ng-emergency-benefits > div + div { padding-inline-start: 24px; border-inline-start: 1px solid var(--newgen-line); }
.ng-review .ng-emergency-benefits dt { color: var(--newgen-dark); font: 850 17px/1.3 'Nunito Sans', Arial, sans-serif; }
.ng-review .ng-emergency-benefits dd { margin: 4px 0 0; font: 400 17px/1.4 'Source Sans 3', Arial, sans-serif; }
.ng-review :is(.ng-emergency-actions, .ng-contact-actions) { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.ng-review .ng-emergency-actions .ng-text-link { margin: 0; }
.ng-review .ng-local-row { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
.ng-review .ng-local-installation { position: relative; justify-self: center; width: min(100%, 480px); margin: 0; scroll-margin-top: 64px; }
.ng-review .ng-local-installation img { display: block; width: 100%; height: auto; border-radius: 10px; }
.ng-review .ng-installation-labels { position: absolute; inset: 12px 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); justify-items: center; }
.ng-review .ng-installation-labels span { padding: 4px 12px; border-radius: 4px; background: var(--newgen-dark); color: #fff; font: 750 15px/1.4 'Source Sans 3', Arial, sans-serif; }
.ng-review .ng-proof-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin: 18px 0 14px; padding: 0; list-style: none; }
.ng-review .ng-proof-list li { display: grid; grid-template-columns: 21px minmax(0, 1fr); gap: 10px; align-items: start; padding: 12px 0; border-top: 1px solid var(--newgen-line); }
.ng-review .ng-proof-list i { margin-top: 2px; color: var(--newgen-action); font-size: 17px; text-align: center; }
.ng-review .ng-proof-list strong { display: block; font: 850 17px/1.2 'Nunito Sans', Arial, sans-serif; }
.ng-review .ng-proof-list p { margin: 4px 0 0; font: 400 17px/1.35 'Source Sans 3', Arial, sans-serif; }
.ng-review .ng-contact { scroll-margin-top: 16px; }
.ng-review .ng-contact-panel { padding: 20px clamp(24px, 5vw, 64px) 0; background: #eaf6f8; border-radius: 12px; }
.ng-review .ng-contact-copy { padding-block: 24px 38px; }
.ng-review .ng-contact-actions { margin-top: 4px; gap: 10px; }
.ng-review .ng-contact-photo { align-self: end; justify-self: end; width: min(100%, 410px); min-width: 0; height: auto; }
.ng-review .ng-footer { padding-block: 40px 23px; background: var(--newgen-dark); color: #fff; font: 400 16px/1.4 'Source Sans 3', Arial, sans-serif; }
.ng-review .ng-footer a { color: #fff; text-decoration: none; }
.ng-review .ng-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ng-review .ng-footer a:focus-visible { outline: 2px solid var(--newgen-cyan); outline-offset: 4px; }
.ng-review .ng-footer ul { list-style: none; padding: 0; margin: 0; }
.ng-review .ng-footer-main { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(0, 2fr); gap: 32px; padding-bottom: 25px; }
.ng-review .ng-footer-brand { display: grid; justify-items: start; align-content: start; gap: 9px; }
.ng-review .ng-footer-home img { display: block; width: min(100%, 170px); height: auto; }
.ng-review .ng-footer a.ng-footer-phone { color: var(--newgen-cyan); font-size: 19px; font-weight: 750; }
.ng-review .ng-footer-services ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); grid-auto-flow: column; gap: 7px 21px; }
.ng-review .ng-footer-meta { border-top: 1px solid #536075; padding-top: 16px; font-size: 14px; }
.ng-review .ng-footer-meta ul { display: flex; flex-wrap: wrap; gap: 5px 17px; }
.ng-review .ng-footer-credits { margin-top: 9px; color: #dbe3ef; }
.ng-review .ng-footer-credits p { margin: 0 0 3px; }
.ng-review .ng-footer-credits a { text-decoration: underline; text-underline-offset: 3px; }
.ng-review .ng-service-section { scroll-margin-top: 20px; padding-block: 52px; background: #fff; color: var(--newgen-dark); }
.ng-review .ng-service-section h2 { margin: 0 0 21px; color: var(--newgen-dark); font: 850 clamp(30px, 3.3vw, 45px)/1.1 'Source Sans 3', Arial, sans-serif; }
.ng-review .ng-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.ng-review .ng-service-card { min-width: 0; border: 1px solid var(--newgen-line); border-radius: 10px; background: #fff; }
.ng-review .ng-service-card a { height: 100%; display: flex; flex-direction: column; color: var(--newgen-dark); text-decoration: none; border-radius: inherit; }
.ng-review .ng-service-card img { display: block; width: 100%; height: 155px; object-fit: cover; border-radius: 9px 9px 0 0; background: var(--newgen-pale); }
.ng-review .ng-service-card img.ng-service-van { object-fit: contain; }
.ng-review .ng-service-card img.ng-service-smart-lock { object-position: center 42%; }
.ng-review .ng-service-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 15px; }
.ng-review .ng-service-copy h3 { margin: 0 0 6px; font: 850 21px/1.2 'Nunito Sans', Arial, sans-serif; }
.ng-review .ng-service-copy p { margin: 0 0 10px; font: 400 16px/1.33 'Source Sans 3', Arial, sans-serif; }
.ng-review .ng-service-link { margin-top: auto; color: var(--newgen-action); font: 700 16px/1.3 'Source Sans 3', Arial, sans-serif; }
.ng-review .ng-service-card a:hover .ng-service-link { text-decoration: underline; text-underline-offset: 3px; }
.ng-review .ng-service-card a:focus-visible { outline: 2px solid var(--newgen-action); outline-offset: 3px; }
.ng-review .ng-more-services { margin: 18px 0 0; color: var(--newgen-dark); font-family: 'Source Sans 3', Arial, sans-serif; font-size: 17px; }
.ng-review .ng-more-services a { color: var(--newgen-action); text-decoration: underline; }
@media (max-width: 1080px) {
    .ng-review .ng-header-row { gap: 15px; }
    .ng-review .ng-header-actions { gap: 10px; }
    .ng-review .ng-navigation { gap: 15px; }
    .ng-review .ng-logo img { width: 145px; }
    .ng-review .ng-hero-row { position: relative; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 18px; min-height: 0; padding-block: 42px; }
    .ng-review .ng-hero-copy { justify-self: start; text-align: left; }
    .ng-review .ng-hero-technician { display: none; }
    .ng-review .ng-hero-van { position: static; width: 100%; }
    .ng-review .ng-hero-intro, .ng-review .ng-hero-review { margin-inline: 0; }
    .ng-review :is(.ng-hero-usps, .ng-actions) { justify-content: flex-start; }
}

@media (max-width: 920px) {
    .ng-review .ng-header-row { justify-content: flex-start; min-height: 73px; }
    .ng-review .ng-header-actions { margin-left: auto; }
    .ng-review .ng-menu-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 10px; background: #fff; color: var(--newgen-dark); border: 1px solid var(--newgen-line); border-radius: 6px; font-weight: 700; }
    .ng-review .ng-menu-toggle:hover { background: var(--newgen-pale); }
    .ng-review .ng-menu-toggle span { display: block; width: 16px; height: 12px; border-block: 2px solid currentColor; background: linear-gradient(currentColor,currentColor) center / 100% 2px no-repeat; }
    .ng-review .ng-navigation { display: none; }
    .ng-review .ng-navigation[data-open='true'] { display: grid; gap: 0; justify-content: stretch; position: absolute; inset: 100% 0 auto; padding: 8px 24px 12px; background: #fff; border-block: 1px solid var(--newgen-line); box-shadow: 0 8px 18px #1e293b12; max-height: calc(100dvh - 74px); overflow: auto; }
    .ng-review .ng-navigation > a, .ng-review .ng-navigation summary { min-height: 44px; }
    .ng-review .ng-dropdown { position: static; min-width: 0; border: 0; box-shadow: none; border-left: 2px solid var(--newgen-line); margin-left: 2px; }
    .ng-review .ng-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ng-review .ng-proof-list { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .ng-review .ng-width { width: calc(100% - 36px); }
    .ng-review .ng-header-row { gap: 8px; min-height: 64px; }
    .ng-review .ng-logo img { width: clamp(103px, 31vw, 125px); }
    .ng-review .ng-header-call { font-size: clamp(13px, 3.4vw, 16px); gap: 4px; }
    .ng-review .ng-phone-icon { font-size: 13px; }
    .ng-review .ng-header-quote { display: none; }
    .ng-review .ng-menu-toggle { font-size: 13px; padding-inline: 8px; }
    .ng-review .ng-hero-row { grid-template-columns: 1fr; gap: 12px; padding-block: 28px 16px; }
    .ng-review .ng-hero h1 { font-size: clamp(34px, 9.5vw, 52px); margin-bottom: 12px; }
    .ng-review .ng-hero-intro { font-size: 19px; }
    .ng-review .ng-hero-van { width: min(100%, 245px); }
    .ng-review .ng-hero-usps { gap: 6px 12px; margin-top: 13px; }
    .ng-review .ng-hero-review { margin-top: 17px; padding-top: 11px; }
    .ng-review .ng-actions { gap: 7px; margin-top: 16px; }
    .ng-review .ng-actions .ng-button { padding-inline: 9px; min-height: 44px; font-size: 15px; }
    .ng-review .ng-service-section { padding-block: 34px; }
    .ng-review .ng-service-grid { grid-template-columns: 1fr; gap: 10px; }
    .ng-review .ng-service-card a { display: grid; grid-template-columns: minmax(88px, 29%) minmax(0, 1fr); align-items: stretch; }
    .ng-review .ng-service-card img { height: 100%; min-height: 110px; border-radius: 9px 0 0 9px; }
    .ng-review .ng-service-card img.ng-service-commercial { object-position: 34% center; }
    .ng-review .ng-service-copy { padding: 11px; }
    .ng-review .ng-service-copy h3 { font-size: 17px; }
    .ng-review .ng-service-copy p { font-size: 15px; }
    .ng-review .ng-feature-row { grid-template-columns: 1fr; gap: 21px; }
    .ng-review .ng-about-copy { grid-row: 1; }
    .ng-review .ng-about-photo { width: min(100%, 275px); }
    .ng-review .ng-about-benefits { grid-template-columns: 1fr; margin-top: 16px; padding: 0; }
    .ng-review .ng-about-benefits li { justify-content: flex-start; min-height: 48px; padding: 6px 0; }
    .ng-review .ng-about-benefits li + li { border-left: 0; border-top: 1px solid var(--newgen-line); }
    .ng-review .ng-about-benefits img { width: 30px; height: 30px; }
    .ng-review .ng-emergency-photo { max-height: 260px; }
    .ng-review .ng-emergency-benefits { grid-template-columns: 1fr; gap: 12px; margin-top: 22px; padding-top: 12px; }
    .ng-review .ng-emergency-benefits > div + div { padding: 12px 0 0; border-inline-start: 0; border-top: 1px solid var(--newgen-line); }
    .ng-review .ng-local-installation { scroll-margin-top: 24px; }
    .ng-review .ng-local-copy { grid-row: 1; }
    .ng-review .ng-contact-panel { padding: 22px 19px 0; gap: 8px; }
    .ng-review .ng-contact-copy { padding: 0 0 12px; }
    .ng-review .ng-contact-photo { justify-self: center; width: min(100%, 265px); }
    .ng-review .ng-footer { padding-block: 29px 18px; }
    .ng-review .ng-footer-main { grid-template-columns: 1fr; gap: 23px; }
    .ng-review .ng-footer-services ul { gap: 8px 12px; }
}

@media (max-width: 350px) {
    .ng-review .ng-header-row { width: calc(100% - 24px); gap: 6px; }
}
