/*
Theme Name: Best Glass
Theme URI: https://ariyaweb.org/
Author: AriyaWeb
Author URI: https://ariyaweb.org/
Description: Modern 2027 responsive WordPress experience for Best Glass LLC with precision project-intake UX.
Version: 3.1.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
Text Domain: best-glass
License: GNU General Public License v2 or later
*/

:root {
    --navy: oklch(19% .05 258);
    --navy-deep: oklch(13% .04 258);
    --sky: oklch(68% .14 232);
    --sky-soft: oklch(92% .04 232);
    --charcoal: oklch(29% 0 0);
    --surface: oklch(98% .005 240);
    --fog: oklch(96.5% .006 240);
    --white: #fff;
    --border: oklch(19% .05 258 / .08);
    --border-strong: oklch(19% .05 258 / .14);
    --shadow-elegant: 0 18px 50px oklch(19% .05 258 / .12);
    --shadow-float: 0 30px 60px -20px oklch(19% .05 258 / .25);
    --ease-luxury: cubic-bezier(.19, 1, .22, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--white);
    color: var(--navy);
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

body.admin-bar .site-header {
    top: 32px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: Lexend, ui-sans-serif, system-ui, sans-serif;
    letter-spacing: -.02em;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:where(a, button, input, select, textarea):focus-visible {
    outline: 2px solid var(--sky);
    outline-offset: 3px;
    border-radius: 2px;
}

::selection {
    background: oklch(68% .14 232 / .3);
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    clip: auto !important;
    width: auto;
    height: auto;
    left: 10px;
    top: 10px;
    z-index: 9999;
    padding: 12px;
    background: var(--white);
}

.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
}

.site-container {
    width: min(100% - 64px, 1280px);
    margin-inline: auto;
}

.narrow-container {
    width: min(100% - 64px, 1024px);
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
}

.topbar {
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    background: var(--navy);
    color: rgba(255, 255, 255, .8);
}

.topbar-inner {
    width: min(100% - 64px, 1280px);
    min-height: 34px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .02em;
}

.topbar-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar span,
.topbar a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.topbar .icon {
    color: var(--sky);
    font-size: 12px;
}

.main-nav {
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(16px);
    transition: background .5s, box-shadow .5s;
}

.site-header.is-scrolled .main-nav {
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 35px rgba(10, 23, 42, .06);
}

.nav-inner {
    width: min(100% - 64px, 1280px);
    min-height: 72px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    line-height: 1;
}

.brand strong {
    font-family: Lexend, sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.02em;
    text-transform: uppercase;
}

.brand small {
    margin-top: 5px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.custom-logo {
    max-width: 190px;
    max-height: 54px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-left: auto;
}

.nav-link {
    position: relative;
    padding: 9px 0;
    color: oklch(29% 0 0 / .8);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .02em;
    transition: color .3s;
}

.nav-link i {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--sky);
    transition: width .5s var(--ease-luxury);
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--navy);
}

.nav-link:hover i,
.nav-link.is-active i {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-action {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid var(--border-strong);
    border-radius: 4px;
    background: var(--white);
    font-size: 13px;
    font-weight: 600;
}

.nav-cta {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    border-radius: 4px;
    background: var(--navy);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(9, 23, 43, .12);
}

.menu-toggle {
    width: 44px;
    height: 44px;
    display: none;
    place-items: center;
    border: 0;
    border-radius: 4px;
    background: var(--navy);
    color: var(--white);
    cursor: pointer;
}

.menu-toggle .icon {
    font-size: 21px;
}

.menu-close-icon {
    display: none;
}

.menu-toggle[aria-expanded="true"] .menu-open-icon {
    display: none;
}

.menu-toggle[aria-expanded="true"] .menu-close-icon {
    display: block;
}

.mobile-menu {
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, .98);
}

.mobile-menu[hidden] {
    display: none;
}

.mobile-menu-inner {
    width: min(100% - 40px, 1280px);
    margin-inline: auto;
    padding: 18px 0 26px;
    display: grid;
}

.mobile-menu .nav-link {
    padding: 12px 2px;
    border-bottom: 1px solid var(--border);
}

.home-hero {
    position: relative;
    overflow: hidden;
    background: var(--white);
}

.home-hero-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
    gap: 48px;
    padding-top: 112px;
    padding-bottom: 128px;
}

.hero-copy,
.hero-media {
    grid-column: span 6;
}

.pill {
    width: max-content;
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    border: 1px solid oklch(68% .14 232 / .3);
    border-radius: 999px;
    background: var(--sky-soft);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.pill i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sky);
    box-shadow: 0 0 0 5px oklch(68% .14 232 / .12);
}

.hero-copy h1 {
    margin: 28px 0 0;
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 300;
    line-height: 1.02;
    letter-spacing: -.025em;
}

.hero-copy h1 span,
.hero-copy h1 strong {
    display: block;
}

.hero-copy h1 em {
    font-weight: 400;
}

.hero-copy h1 strong {
    font-weight: 700;
}

.hero-copy > p {
    max-width: 576px;
    margin: 28px 0 0;
    color: oklch(29% 0 0 / .75);
    font-size: 18px;
    line-height: 1.625;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 36px;
}

.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 16px 28px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: transform .3s, background .3s, border-color .3s;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--navy);
    color: var(--white);
    box-shadow: var(--shadow-elegant);
}

.button-secondary {
    border-color: var(--border-strong);
    background: var(--white);
}

.button-secondary .icon,
.text-link .icon {
    color: var(--sky);
}

.micro-proof,
.dark-proof {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 36px;
}

.micro-proof span,
.dark-proof span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: oklch(29% 0 0 / .7);
    font-size: 11px;
    font-weight: 500;
}

.micro-proof .icon,
.dark-proof .icon {
    color: var(--sky);
    font-size: 15px;
}

.hero-media {
    position: relative;
}

.hero-image-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 6;
    overflow: hidden;
    border-radius: 4px;
    background: oklch(19% .05 258 / .05);
    box-shadow: var(--shadow-float);
}

.hero-image-frame img,
.featured-project img,
.map-card > img,
.service-image img,
.listing-card img,
.portfolio-card img,
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, oklch(13% .04 258 / .65), transparent 58%);
    pointer-events: none;
}

.consultation-card {
    position: absolute;
    left: -40px;
    bottom: -32px;
    width: 260px;
    display: flex;
    gap: 14px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 4px;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-elegant);
}

.consultation-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--sky-soft);
    color: var(--sky);
}

.consultation-card p {
    margin: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.consultation-card strong {
    display: block;
    margin-top: 10px;
    font-family: Lexend, sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.25;
}

.consultation-card small {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.trust-strip {
    padding: 48px 0;
    border-block: 1px solid var(--border);
    background: var(--fog);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-grid span {
    padding-inline: 24px;
    border-right: 1px solid var(--border-strong);
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.trust-grid span:last-child {
    border: 0;
}

.partners {
    padding: 56px 32px;
    border-bottom: 1px solid var(--border);
    background: var(--white);
    text-align: center;
}

.partners > p,
.kicker {
    margin: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
}

.partners > div {
    max-width: 1024px;
    margin: 28px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 48px;
}

.partners span {
    color: oklch(19% .05 258 / .62);
    font-family: Lexend, sans-serif;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: .1em;
}

.home-section {
    padding: 128px 0;
}

.section-heading h2,
.estimate-copy h2,
.page-hero h1,
.page-section h2 {
    max-width: 760px;
    margin: 16px 0 0;
    font-size: clamp(30px, 4.2vw, 54.4px);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -.025em;
}

.section-heading h2 em,
.estimate-copy h2 em,
.page-hero h1 em,
.page-section h2 em {
    font-weight: 400;
}

.section-copy {
    max-width: 720px;
    margin: 20px 0 0;
    color: oklch(29% 0 0 / .7);
    font-size: 18px;
    line-height: 1.65;
}

.heading-with-link {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 600;
}

.section-heading > .text-link {
    margin-top: 28px;
}

.services-section {
    background: var(--white);
}

.service-grid {
    margin-top: 64px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 64px 40px;
}

.service-card {
    display: block;
}

.service-image {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 4px;
    background: var(--fog);
}

.service-image img,
.listing-card img {
    transition: transform .9s var(--ease-luxury);
}

.service-card:hover .service-image img,
.listing-card:hover img {
    transform: scale(1.055);
}

.service-title {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    color: var(--white);
}

.service-title p {
    margin: 0;
    color: var(--sky);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.service-title h3 {
    margin: 7px 0 0;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
}

.service-card > p {
    margin: 20px 0 16px;
    color: oklch(29% 0 0 / .7);
    font-size: 14px;
    line-height: 1.65;
}

.service-card footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.service-card footer span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
}

.service-card footer .icon {
    color: var(--sky);
}

.service-card footer small {
    color: oklch(29% 0 0 / .6);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.why-shell {
    padding: 0 0 128px;
}

.why-card {
    overflow: hidden;
    padding: 64px;
    border-radius: 4px;
    background: var(--navy-deep);
    color: var(--white);
    box-shadow: var(--shadow-float);
}

.grain {
    position: relative;
}

.grain::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .35;
    mix-blend-mode: overlay;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px);
    background-size: 4px 4px;
}

.why-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 2fr;
    gap: 64px;
}

.light-heading .kicker,
.estimate-copy .kicker,
.sky-link {
    color: var(--sky);
}

.light-heading .section-copy {
    color: rgba(255, 255, 255, .6);
}

.light-heading .text-link {
    margin-top: 28px;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.value-grid article {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 16px;
}

.value-grid article > span {
    color: var(--sky);
    font-size: 10px;
    font-weight: 600;
}

.value-grid h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.value-grid p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
    line-height: 1.7;
}

.projects-section,
.process-section,
.areas-section {
    background: var(--fog);
}

.featured-project-grid {
    height: 690px;
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
}

.featured-project {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    transition: transform .5s var(--ease-luxury), box-shadow .5s var(--ease-luxury);
}

.featured-project:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-float);
}

.featured-project-main {
    grid-column: span 2;
    grid-row: span 2;
}

.featured-project > div:last-child {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 32px;
    color: var(--white);
}

.featured-project p {
    margin: 0;
    color: var(--sky);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.featured-project h3 {
    margin: 6px 0 0;
    font-size: 24px;
    font-weight: 600;
}

.centered-heading {
    text-align: center;
}

.centered-heading h2 {
    margin-inline: auto;
}

.proof-grid {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.proof-grid article {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--white);
    transition: transform .4s var(--ease-luxury), box-shadow .4s var(--ease-luxury);
}

.proof-grid article:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elegant);
}

.proof-grid article > span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 4px;
    background: var(--sky-soft);
    color: var(--sky);
}

.proof-grid h3 {
    margin: 24px 0 8px;
    font-size: 17px;
    font-weight: 600;
}

.proof-grid p,
.process-grid p,
.promise-grid p {
    margin: 0;
    color: oklch(29% 0 0 / .65);
    font-size: 13px;
    line-height: 1.7;
}

.process-grid {
    margin-top: 64px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.process-grid article {
    position: relative;
    padding-top: 32px;
    border-top: 1px solid var(--border-strong);
}

.process-grid article::before {
    content: "";
    position: absolute;
    left: 0;
    top: -4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sky);
}

.process-grid span {
    color: var(--sky);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .14em;
}

.process-grid h3 {
    margin: 28px 0 10px;
    font-size: 18px;
    font-weight: 600;
}

.promise-section {
    background: var(--white);
}

.promise-section blockquote {
    max-width: 820px;
    margin: 56px auto 0;
    text-align: center;
    font-family: Lexend, sans-serif;
    font-size: clamp(20px, 2.8vw, 34px);
    font-weight: 300;
    line-height: 1.5;
}

.promise-section cite {
    display: block;
    margin-top: 24px;
    color: oklch(29% 0 0 / .55);
    font-family: Inter, sans-serif;
    font-size: 9px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.promise-grid {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.promise-grid article {
    padding: 28px;
    border-radius: 4px;
    background: var(--fog);
}

.promise-grid h3 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 600;
}

.area-link-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.area-link-grid a {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    background: var(--white);
    font-size: 14px;
    font-weight: 600;
    transition: border-color .3s, transform .3s;
}

.area-link-grid a:hover {
    border-color: var(--sky);
    transform: translateY(-2px);
}

.area-link-grid .icon {
    color: var(--sky);
}

.faq-home-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 2fr;
    gap: 48px;
}

.faq-list {
    border-top: 1px solid var(--border);
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item button {
    width: 100%;
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
    border: 0;
    background: transparent;
    color: var(--navy);
    text-align: left;
    cursor: pointer;
    font-family: Lexend, sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.faq-item button b {
    color: var(--sky);
    font-size: 20px;
    font-weight: 300;
}

.faq-item > p {
    display: none;
    margin: -4px 42px 22px 0;
    color: oklch(29% 0 0 / .68);
    font-size: 13px;
    line-height: 1.7;
}

.faq-item.open > p {
    display: block;
}

.estimate-section {
    position: relative;
    overflow: hidden;
    padding: 128px 0;
    background: var(--navy-deep);
    color: var(--white);
}

.estimate-orb {
    position: absolute;
    width: 384px;
    height: 384px;
    border-radius: 50%;
    background: oklch(68% .14 232 / .18);
    filter: blur(80px);
}

.estimate-orb-right {
    top: 0;
    right: -128px;
}

.estimate-orb-left {
    left: -128px;
    bottom: 0;
    opacity: .45;
}

.estimate-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
}

.estimate-copy h2 {
    color: var(--white);
}

.estimate-copy h2 em {
    color: var(--sky);
}

.estimate-copy > p:not(.kicker) {
    max-width: 560px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .64);
    font-size: 15px;
    line-height: 1.75;
}

.button-sky {
    background: var(--sky);
    color: var(--navy-deep);
}

.button-dark-outline {
    border-color: rgba(255, 255, 255, .16);
    background: transparent;
    color: var(--white);
}

.dark-proof span {
    color: rgba(255, 255, 255, .72);
}

.estimate-form-wrap {
    min-width: 0;
}

.bg-estimate-form,
.plugin-notice {
    display: grid;
    gap: 16px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 4px;
    background: rgba(255, 255, 255, .035);
    color: var(--white);
    backdrop-filter: blur(16px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, .2);
}

.bg-estimate-form header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 4px;
}

.bg-estimate-form header > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.bg-estimate-form header h3 {
    margin: 0;
    color: var(--sky);
    font-family: Inter, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.bg-estimate-form header span {
    color: rgba(255, 255, 255, .58);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.bg-estimate-form header > b {
    display: none;
}

.bg-estimate-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.bg-estimate-form label {
    display: grid;
    gap: 7px;
    margin: 0;
    color: rgba(255, 255, 255, .62);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.bg-estimate-form input,
.bg-estimate-form select,
.bg-estimate-form textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 4px;
    background: rgba(255, 255, 255, .06);
    color: var(--white);
    outline: 0;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.bg-estimate-form select {
    background-color: var(--white);
    color: var(--navy);
}

.bg-estimate-form textarea {
    min-height: 70px;
    resize: vertical;
}

.bg-estimate-form input::placeholder,
.bg-estimate-form textarea::placeholder {
    color: rgba(255, 255, 255, .38);
}

.bg-estimate-form input:focus,
.bg-estimate-form select:focus,
.bg-estimate-form textarea:focus {
    border-color: var(--sky);
}

.bg-estimate-form .bgc-consent {
    grid-template-columns: 18px 1fr;
    align-items: start;
    gap: 9px;
    color: rgba(255, 255, 255, .62);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
    text-transform: none;
}

.bg-estimate-form .bgc-consent input {
    width: 16px;
    min-height: 16px;
    height: 16px;
    margin: 1px 0 0;
    padding: 0;
}

.bg-estimate-form .bgc-consent a {
    text-decoration: underline;
}

.bg-estimate-form > button {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    border-radius: 3px;
    background: var(--sky);
    color: var(--navy-deep);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

.bg-estimate-form > small {
    display: block;
    color: rgba(255, 255, 255, .55);
    text-align: center;
    font-size: 9px;
}

.bg-form-message {
    margin: 0;
    padding: 12px;
    border-radius: 3px;
    background: rgba(45, 190, 115, .16);
    color: #bdf5d6;
    font-size: 12px;
}

.bg-form-error {
    background: rgba(220, 65, 65, .14) !important;
    color: #ffd2d2 !important;
}

.bgc-hp {
    position: absolute !important;
    left: -9999px !important;
}

.location-section {
    padding: 112px 0;
    background: var(--white);
}

.location-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1.4fr;
    align-items: stretch;
    gap: 24px;
}

.contact-card {
    min-height: 395px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--fog);
}

.contact-card h2 {
    margin: 16px 0 0;
    font-size: 36px;
    font-weight: 300;
    line-height: 1.08;
}

.contact-card h2 em {
    font-weight: 400;
}

.contact-details {
    display: grid;
    gap: 8px;
    margin: 28px 0;
    color: oklch(29% 0 0 / .62);
    font-size: 13px;
}

.contact-details strong {
    color: var(--navy);
}

.map-card {
    position: relative;
    min-height: 395px;
    overflow: hidden;
    border-radius: 4px;
    background: var(--navy);
}

.map-card > div:last-child {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px;
    color: var(--white);
}

.map-card .kicker {
    color: var(--sky);
}

.map-card h2 {
    margin: 8px 0 0;
    font-size: 30px;
    font-weight: 300;
}

.map-card div > p:last-child {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
}

.site-footer {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, .05);
    background: var(--navy-deep);
    color: rgba(255, 255, 255, .8);
}

.footer-cta {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    background: var(--navy);
}

.footer-cta-inner {
    width: min(100% - 64px, 1280px);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-kicker {
    margin: 0;
    color: var(--sky);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
}

.footer-cta-inner > div:first-child > p:last-child {
    margin: 8px 0 0;
    color: var(--white);
    font-family: Lexend, sans-serif;
    font-size: 30px;
    font-weight: 300;
}

.footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-phone,
.footer-estimate {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.footer-phone {
    border: 1px solid rgba(255, 255, 255, .2);
}

.footer-estimate {
    background: var(--sky);
    color: var(--navy);
}

.footer-main {
    width: min(100% - 64px, 1280px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 4fr 2fr 2fr 2fr 2fr;
    gap: 40px;
    padding: 64px 0;
}

.footer-brand-mark {
    color: var(--white);
}

.footer-brand-mark small {
    color: var(--sky);
}

.footer-brand > p {
    max-width: 360px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .58);
    font-size: 14px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 8px;
    margin-top: 24px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 4px;
    background: rgba(255, 255, 255, .05);
    color: rgba(255, 255, 255, .7);
    transition: color .3s, border-color .3s;
}

.social-links a:hover {
    color: var(--sky);
    border-color: var(--sky);
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-column h2 {
    margin: 0 0 10px;
    color: var(--white);
    font-family: Inter, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .25em;
    text-transform: uppercase;
}

.footer-column a,
.footer-contact p {
    margin: 0;
    color: rgba(255, 255, 255, .6);
    font-size: 13px;
}

.footer-column a:hover,
.footer-all-link {
    color: var(--sky) !important;
}

.footer-all-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-contact .icon {
    margin-top: 2px;
    color: var(--sky);
}

.footer-hours {
    padding-top: 4px;
    color: rgba(255, 255, 255, .7) !important;
    font-size: 12px !important;
}

.footer-bottom {
    width: min(100% - 64px, 1280px);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .55);
    font-size: 11px;
}

.footer-bottom > div {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.sheen {
    position: relative;
    overflow: hidden;
}

.sheen::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .25), transparent 65%);
    transform: translateX(-120%) skewX(-12deg);
    transition: transform .9s var(--ease-luxury);
}

.sheen:hover::after {
    transform: translateX(120%) skewX(-12deg);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .9s var(--ease-luxury), transform .9s var(--ease-luxury);
}

.reveal-in,
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Interior pages */
.page-hero {
    padding: 112px 0 96px;
    background: var(--white);
}

.page-hero .kicker {
    color: var(--sky);
}

.page-hero h1 {
    max-width: 920px;
    font-size: clamp(42px, 6vw, 76px);
}

.page-hero > .site-container > p:last-child {
    max-width: 720px;
    margin: 28px 0 0;
    color: oklch(29% 0 0 / .7);
    font-size: 18px;
    line-height: 1.7;
}

.page-section {
    padding: 112px 0;
}

.page-section.fog-section {
    background: var(--fog);
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.listing-card {
    overflow: hidden;
    border-radius: 4px;
    background: var(--white);
    box-shadow: 0 10px 35px rgba(9, 23, 43, .06);
}

.listing-card-image {
    height: 330px;
    overflow: hidden;
}

.listing-card-body {
    padding: 28px;
}

.listing-card .kicker {
    color: var(--sky);
}

.listing-card h2 {
    margin: 14px 0 0;
    font-size: 23px;
    font-weight: 500;
}

.listing-card p:not(.kicker) {
    margin: 14px 0 0;
    color: oklch(29% 0 0 / .68);
    font-size: 14px;
    line-height: 1.65;
}

.listing-card .text-link {
    margin-top: 22px;
}

.area-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.area-list-card {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 36px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--white);
    transition: border-color .3s, transform .3s;
}

.area-list-card:hover {
    border-color: var(--sky);
    transform: translateY(-3px);
}

.area-list-card .kicker {
    color: var(--sky);
}

.area-list-card h2 {
    margin: 16px 0 0;
    font-size: 27px;
    font-weight: 400;
}

.area-list-card p:not(.kicker) {
    margin: 14px 0 24px;
    color: oklch(29% 0 0 / .68);
}

.portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 42px;
}

.portfolio-filter button {
    padding: 10px 16px;
    border: 1px solid var(--border-strong);
    border-radius: 3px;
    background: var(--white);
    color: var(--navy);
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.portfolio-filter button.is-active {
    border-color: var(--navy);
    background: var(--navy);
    color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.portfolio-card {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 4px;
}

.portfolio-card.is-hidden {
    display: none;
}

.portfolio-card > div:last-child {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    padding: 28px;
    color: var(--white);
}

.portfolio-card p {
    margin: 0;
    color: var(--sky);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.portfolio-card h2 {
    margin: 8px 0 0;
    font-size: 23px;
    font-weight: 600;
}

.page-cta {
    padding: 96px 0;
    background: var(--navy-deep);
    color: var(--white);
    text-align: center;
}

.page-cta .kicker {
    color: var(--sky);
}

.page-cta h2 {
    margin-inline: auto;
}

.page-cta .hero-buttons {
    justify-content: center;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 72px;
}

.story-copy p:not(.kicker) {
    margin: 22px 0 0;
    color: oklch(29% 0 0 / .7);
    font-size: 16px;
    line-height: 1.8;
}

.about-image {
    min-height: 560px;
    overflow: hidden;
    border-radius: 4px;
}

.mission-proof {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mission-proof span {
    padding: 10px 14px;
    border-radius: 3px;
    background: var(--fog);
    font-size: 12px;
    font-weight: 600;
}

.values-grid,
.reviews-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.values-grid article,
.review-card {
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--white);
}

.values-grid h3 {
    margin: 0;
    font-size: 20px;
}

.values-grid p,
.review-card blockquote {
    margin: 16px 0 0;
    color: oklch(29% 0 0 / .68);
    font-size: 14px;
    line-height: 1.75;
}

.review-card .kicker {
    color: var(--sky);
}

.review-card blockquote {
    font-family: Lexend, sans-serif;
    font-size: 17px;
    font-weight: 300;
}

.review-card cite {
    display: block;
    margin-top: 24px;
    color: var(--navy);
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.faq-page-grid {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 64px;
}

.faq-group-nav {
    position: sticky;
    top: 130px;
    align-self: start;
    display: grid;
    gap: 8px;
}

.faq-group-nav a {
    padding: 12px 14px;
    border-left: 2px solid var(--border-strong);
    font-size: 13px;
    font-weight: 600;
}

.faq-group-nav a:hover {
    border-left-color: var(--sky);
    color: var(--sky);
}

.faq-group + .faq-group {
    margin-top: 58px;
}

.faq-group h2 {
    margin: 0 0 24px;
    font-size: 30px;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 64px;
}

.contact-info-panel {
    padding: 40px;
    border-radius: 4px;
    background: var(--navy-deep);
    color: var(--white);
}

.contact-info-panel .kicker {
    color: var(--sky);
}

.contact-info-panel h2 {
    margin: 18px 0 0;
    color: var(--white);
    font-size: 34px;
    font-weight: 300;
}

.contact-info-list {
    display: grid;
    gap: 22px;
    margin-top: 38px;
}

.contact-info-list div {
    display: grid;
    gap: 5px;
}

.contact-info-list small {
    color: var(--sky);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.contact-info-list span {
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
}

.contact-page-form {
    padding: 8px 0;
}

.contact-page-form .bg-estimate-form {
    border-color: var(--border);
    background: var(--navy-deep);
}

.legal-content {
    max-width: 860px;
}

.legal-content section + section {
    margin-top: 42px;
}

.legal-content h2 {
    margin: 0;
    font-size: 28px;
}

.legal-content p {
    margin: 14px 0 0;
    color: oklch(29% 0 0 / .7);
    line-height: 1.8;
}

.standard-page {
    min-height: 60vh;
    padding: 96px 0;
}

.content-width {
    width: min(100% - 40px, 900px);
    margin-inline: auto;
}

@media (max-width: 1279px) {
    .phone-action {
        display: none;
    }
}

@media (max-width: 1023px) {
    body.admin-bar .site-header {
        top: 32px;
    }

    .topbar,
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: grid;
    }

    .footer-main {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .footer-contact,
    .footer-column:nth-of-type(4) {
        display: none;
    }
}

@media (max-width: 767px) {
    body.admin-bar .site-header {
        top: 46px;
    }

    .site-container,
    .narrow-container,
    .nav-inner,
    .footer-cta-inner,
    .footer-main,
    .footer-bottom {
        width: min(100% - 40px, 1280px);
    }

    .nav-inner {
        min-height: 70px;
    }

    .brand strong {
        font-size: 19px;
    }

    .home-hero-grid {
        grid-template-columns: 1fr;
        gap: 56px;
        padding-top: 56px;
        padding-bottom: 80px;
    }

    .hero-copy,
    .hero-media {
        grid-column: auto;
    }

    .hero-copy h1 {
        font-size: clamp(40px, 12vw, 64px);
    }

    .hero-copy > p {
        font-size: 16px;
    }

    .hero-image-frame {
        aspect-ratio: 4 / 5;
    }

    .consultation-card {
        left: -16px;
    }

    .trust-strip {
        padding: 40px 0;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 16px;
    }

    .trust-grid span {
        border: 0;
        padding: 0;
    }

    .partners {
        padding: 56px 20px;
    }

    .home-section {
        padding: 96px 0;
    }

    .section-copy {
        font-size: 16px;
    }

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

    .why-shell {
        padding-bottom: 96px;
    }

    .why-card {
        padding: 32px;
    }

    .why-grid,
    .estimate-grid,
    .story-grid,
    .contact-page-grid {
        grid-template-columns: 1fr;
    }

    .featured-project-grid {
        height: auto;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 430px);
    }

    .featured-project-main {
        grid-column: auto;
        grid-row: auto;
    }

    .proof-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .area-link-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .faq-home-grid {
        grid-template-columns: 1fr;
    }

    .estimate-section {
        padding: 96px 0;
    }

    .location-section {
        padding: 96px 0;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .footer-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-column {
        grid-column: auto;
    }

    .footer-contact {
        display: flex;
        grid-column: auto;
    }

    .footer-main .footer-column:nth-of-type(4) {
        display: flex;
    }

    .page-hero {
        padding: 88px 0 72px;
    }

    .page-section {
        padding: 88px 0;
    }

    .listing-grid,
    .portfolio-grid,
    .reviews-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-page-grid {
        grid-template-columns: 220px 1fr;
        gap: 36px;
    }
}

@media (max-width: 639px) {
    body.admin-bar .site-header {
        top: 0;
    }

    #wpadminbar {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .pill {
        font-size: 8.5px;
        letter-spacing: .14em;
    }

    .hero-copy h1 {
        font-size: 48px;
    }

    .hero-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .consultation-card {
        display: none;
    }

    .micro-proof {
        display: grid;
        gap: 12px;
    }

    .heading-with-link {
        align-items: flex-start;
        flex-direction: column;
    }

    .service-grid,
    .proof-grid,
    .promise-grid,
    .listing-grid,
    .portfolio-grid,
    .reviews-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .service-grid {
        gap: 48px;
    }

    .why-card {
        margin-inline: -4px;
        padding: 28px 22px;
    }

    .value-grid {
        grid-template-columns: 1fr;
    }

    .featured-project-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 430px);
    }

    .featured-project-main {
        grid-column: auto;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .area-link-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-home-grid {
        grid-template-columns: 1fr;
    }

    .bg-estimate-form {
        padding: 24px 18px;
    }

    .bg-estimate-form .form-row {
        grid-template-columns: 1fr;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .contact-card,
    .map-card {
        min-height: 380px;
    }

    .footer-cta-inner > div:first-child > p:last-child {
        font-size: 24px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px 24px;
        padding-bottom: 48px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-column,
    .footer-contact {
        grid-column: auto;
    }

    .footer-contact {
        grid-column: auto;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .area-list-grid {
        grid-template-columns: 1fr;
    }

    .faq-page-grid {
        grid-template-columns: 1fr;
    }

    .faq-group-nav {
        position: static;
        display: flex;
        overflow-x: auto;
    }

    .faq-group-nav a {
        white-space: nowrap;
        border-left: 0;
        border-bottom: 2px solid var(--border-strong);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .sheen::after,
    .service-image img,
    .listing-card img,
    .featured-project,
    .button {
        transition: none;
    }
}

/* Best Glass 2027 experience layer */
.best-glass-2027 {
    --navy: #081729;
    --navy-deep: #040d18;
    --sky: #42b9e9;
    --sky-bright: #78d8f6;
    --sky-soft: #e8f8fd;
    --surface: #fbfdfe;
    --fog: #f3f7f9;
    --border: rgb(8 23 41 / 8%);
    --border-strong: rgb(8 23 41 / 15%);
    --shadow-elegant: 0 22px 70px rgb(8 23 41 / 10%);
    --shadow-float: 0 40px 100px -35px rgb(3 18 34 / 40%);
    background:
        radial-gradient(circle at 8% 12%, rgb(66 185 233 / 7%), transparent 24rem),
        linear-gradient(#fff, #fff);
}

.best-glass-2027 h1,
.best-glass-2027 h2,
.best-glass-2027 h3,
.best-glass-2027 h4,
.best-glass-2027 .brand,
.best-glass-2027 .button {
    font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
}

.scroll-progress {
    position: fixed;
    inset: 0 0 auto;
    z-index: 10000;
    height: 2px;
    pointer-events: none;
}

.admin-bar .scroll-progress {
    top: 32px;
}

.scroll-progress span {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--sky), #9ee9ff);
    box-shadow: 0 0 15px rgb(66 185 233 / 75%);
}

.best-glass-2027 .site-header {
    border-bottom: 1px solid rgb(255 255 255 / 7%);
    box-shadow: none;
}

.best-glass-2027 .main-nav {
    background: rgb(255 255 255 / 88%);
    backdrop-filter: blur(22px) saturate(150%);
}

.best-glass-2027 .site-header.is-scrolled .main-nav {
    background: rgb(255 255 255 / 95%);
    box-shadow: 0 14px 45px rgb(5 20 35 / 8%);
}

.best-glass-2027 .nav-cta,
.best-glass-2027 .button {
    border-radius: 999px;
}

.best-glass-2027 .nav-cta {
    box-shadow: 0 10px 30px rgb(66 185 233 / 20%);
}

.best-glass-2027 .home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgb(255 255 255 / 98%) 0%, rgb(255 255 255 / 93%) 44%, rgb(239 249 253 / 68%) 100%);
}

.best-glass-2027 .home-hero::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    opacity: .55;
    background-image:
        linear-gradient(rgb(8 23 41 / 4%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(8 23 41 / 4%) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.best-glass-2027 .home-hero::after {
    position: absolute;
    top: -22rem;
    right: -13rem;
    z-index: -1;
    width: 50rem;
    height: 50rem;
    border: 1px solid rgb(66 185 233 / 16%);
    border-radius: 50%;
    content: "";
    box-shadow:
        0 0 0 7rem rgb(66 185 233 / 4%),
        0 0 0 14rem rgb(66 185 233 / 3%);
}

.best-glass-2027 .home-hero-grid {
    min-height: min(820px, calc(100vh - 124px));
    align-items: center;
    padding-top: 72px;
    padding-bottom: 72px;
}

.best-glass-2027 .hero-copy h1 {
    max-width: 760px;
    font-size: clamp(50px, 6.5vw, 98px);
    font-weight: 500;
    letter-spacing: -.065em;
    line-height: .94;
}

.best-glass-2027 .hero-copy h1 strong {
    font-weight: 800;
}

.best-glass-2027 .hero-copy > p {
    max-width: 650px;
    font-size: clamp(17px, 1.45vw, 21px);
    line-height: 1.7;
}

.best-glass-2027 .hero-image-frame {
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 55%);
    border-radius: 34px;
    box-shadow: var(--shadow-float);
}

.best-glass-2027 .hero-image-frame::before {
    position: absolute;
    inset: 12px;
    z-index: 3;
    border: 1px solid rgb(255 255 255 / 32%);
    border-radius: 24px;
    content: "";
    pointer-events: none;
}

.best-glass-2027 .hero-spec-card {
    position: absolute;
    top: 34px;
    left: -34px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 235px;
    padding: 13px 15px;
    border: 1px solid rgb(255 255 255 / 55%);
    border-radius: 16px;
    background: rgb(255 255 255 / 79%);
    box-shadow: 0 18px 55px rgb(7 22 38 / 13%);
    backdrop-filter: blur(18px) saturate(140%);
}

.best-glass-2027 .hero-spec-card > span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 11px;
    background: var(--navy);
    color: var(--sky-bright);
    font-size: 10px;
    font-weight: 800;
}

.best-glass-2027 .hero-spec-card div {
    display: flex;
    flex-direction: column;
}

.best-glass-2027 .hero-spec-card small {
    color: #70808d;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.best-glass-2027 .hero-spec-card strong {
    margin-top: 3px;
    color: var(--navy);
    font: 700 11px Manrope, sans-serif;
}

.best-glass-2027 .consultation-card {
    border-radius: 18px;
    background: rgb(8 23 41 / 84%);
    color: #fff;
    backdrop-filter: blur(20px) saturate(130%);
}

.best-glass-2027 .consultation-card p,
.best-glass-2027 .consultation-card small {
    color: #91cfe6;
}

.best-glass-2027 .trust-strip {
    border: 0;
    background: var(--navy-deep);
}

.best-glass-2027 .trust-grid span {
    color: #dbe8ee;
}

.best-glass-2027 .trust-grid span::before {
    background: var(--sky);
    box-shadow: 0 0 12px rgb(66 185 233 / 70%);
}

.intelligence-section {
    padding-top: 42px;
    padding-bottom: 110px;
}

.intelligence-shell {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(34px, 5vw, 76px);
    border: 1px solid rgb(255 255 255 / 9%);
    border-radius: 34px;
    background:
        radial-gradient(circle at 80% 15%, rgb(66 185 233 / 17%), transparent 25rem),
        linear-gradient(145deg, #071526, #0d263d 72%, #0b1d31);
    color: #fff;
    box-shadow: 0 45px 100px -50px rgb(4 13 24 / 80%);
}

.intelligence-shell::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    opacity: .14;
    background-image:
        linear-gradient(rgb(255 255 255 / 18%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 18%) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at 76% 30%, #000, transparent 60%);
}

.intelligence-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
    align-items: end;
    gap: 45px;
    margin-bottom: 42px;
}

.intelligence-heading h2 {
    max-width: 740px;
    margin: 10px 0 0;
    color: #fff;
    font-size: clamp(38px, 5vw, 70px);
    font-weight: 600;
    letter-spacing: -.055em;
    line-height: 1;
}

.intelligence-heading h2 em {
    color: var(--sky-bright);
    font-style: normal;
}

.intelligence-heading > p {
    margin: 0;
    color: #9db0be;
    font-size: 14px;
    line-height: 1.75;
}

.intelligence-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.intelligence-card {
    position: relative;
    display: flex;
    min-height: 320px;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 28px;
    border: 1px solid rgb(255 255 255 / 11%);
    border-radius: 20px;
    background: rgb(255 255 255 / 6%);
    box-shadow: inset 0 1px rgb(255 255 255 / 6%);
    backdrop-filter: blur(16px);
}

.intelligence-card.is-wide {
    grid-column: 1 / -1;
    min-height: auto;
}

.intelligence-card small {
    color: var(--sky-bright);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.intelligence-card h3 {
    max-width: 530px;
    margin: 8px 0 6px;
    color: #fff;
    font-size: clamp(22px, 2.5vw, 34px);
    font-weight: 600;
    letter-spacing: -.04em;
}

.intelligence-card p {
    max-width: 620px;
    margin: 0;
    color: #9db0be;
    font-size: 12px;
    line-height: 1.7;
}

.workflow-visual {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 45px;
}

.workflow-visual span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #91a4b2;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.workflow-visual span b {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 16%);
    border-radius: 50%;
    color: #a8bac6;
    font-size: 8px;
}

.workflow-visual span.is-active,
.workflow-visual span.is-active b {
    color: #fff;
}

.workflow-visual span.is-active b {
    border-color: var(--sky);
    background: var(--sky);
    box-shadow: 0 0 24px rgb(66 185 233 / 45%);
}

.workflow-visual i {
    height: 1px;
    background: linear-gradient(90deg, rgb(66 185 233 / 75%), rgb(255 255 255 / 10%));
}

.signal-orbit {
    position: relative;
    display: grid;
    width: 142px;
    height: 142px;
    place-items: center;
    align-self: flex-end;
    border: 1px solid rgb(120 216 246 / 26%);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgb(120 216 246 / 4%), 0 0 0 56px rgb(120 216 246 / 3%);
}

.signal-orbit::before,
.signal-orbit::after,
.signal-orbit i {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sky-bright);
    content: "";
    box-shadow: 0 0 18px var(--sky);
}

.signal-orbit::before { top: 13px; left: 25px; }
.signal-orbit::after { right: -3px; bottom: 42px; }
.signal-orbit i { width: 22px; height: 22px; }

.document-lines {
    display: grid;
    width: 168px;
    gap: 12px;
    align-self: flex-end;
    padding: 26px 22px;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 14px;
    background: rgb(255 255 255 / 5%);
    transform: rotate(3deg);
}

.document-lines i {
    height: 5px;
    border-radius: 99px;
    background: rgb(255 255 255 / 18%);
}

.document-lines i:nth-child(2) { width: 72%; }
.document-lines i:nth-child(3) { width: 88%; }
.document-lines b {
    width: 55px;
    height: 22px;
    margin-top: 12px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--sky), #7edcf7);
}

.intelligence-outcome {
    align-items: center;
    flex-direction: row;
    gap: 30px;
    min-height: 150px !important;
    background: linear-gradient(120deg, rgb(66 185 233 / 11%), rgb(255 255 255 / 5%));
}

.best-glass-2027 .service-card,
.best-glass-2027 .proof-grid article,
.best-glass-2027 .process-grid article,
.best-glass-2027 .faq-item,
.best-glass-2027 .area-link-grid a {
    border-radius: 16px;
}

.best-glass-2027 .service-image,
.best-glass-2027 .featured-project,
.best-glass-2027 .map-card,
.best-glass-2027 .contact-card {
    border-radius: 22px;
}

.best-glass-2027 .service-card {
    padding: 9px 9px 17px;
    border: 1px solid transparent;
    background: #fff;
    transition: transform .5s var(--ease-luxury), border-color .5s var(--ease-luxury), box-shadow .5s var(--ease-luxury);
}

.best-glass-2027 .service-card:hover {
    border-color: var(--border);
    box-shadow: 0 25px 65px -35px rgb(7 23 41 / 30%);
    transform: translateY(-7px);
}

.best-glass-2027 .why-card {
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 42px 100px -52px rgb(4 13 24 / 85%);
}

.best-glass-2027 .proof-grid article {
    border: 1px solid var(--border);
    background: linear-gradient(145deg, #fff, #f8fbfc);
}

.best-glass-2027 .process-grid article {
    border-top: 0;
    background: linear-gradient(145deg, rgb(255 255 255 / 88%), rgb(243 248 250 / 92%));
    box-shadow: inset 0 0 0 1px var(--border);
}

.best-glass-2027 .estimate-section {
    background:
        radial-gradient(circle at 85% 12%, rgb(66 185 233 / 25%), transparent 22rem),
        linear-gradient(140deg, #071526, #0c2943);
}

.best-glass-2027 .bg-estimate-form {
    border: 1px solid rgb(255 255 255 / 18%);
    border-radius: 24px;
    box-shadow: 0 40px 90px -40px rgb(0 0 0 / 60%);
}

.best-glass-2027 .site-footer {
    background:
        radial-gradient(circle at 15% 10%, rgb(66 185 233 / 9%), transparent 25rem),
        var(--navy-deep);
}

.mobile-action-dock {
    display: none;
}

@media (max-width: 980px) {
    .best-glass-2027 .home-hero-grid {
        min-height: auto;
    }

    .best-glass-2027 .hero-spec-card {
        left: 18px;
    }

    .intelligence-heading {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .workflow-visual {
        overflow-x: auto;
        padding-bottom: 10px;
    }
}

@media (max-width: 720px) {
    .admin-bar .scroll-progress { top: 46px; }

    .best-glass-2027 {
        padding-bottom: 76px;
    }

    .best-glass-2027 .home-hero-grid {
        padding-top: 46px;
        padding-bottom: 55px;
    }

    .best-glass-2027 .hero-copy h1 {
        font-size: clamp(44px, 14vw, 66px);
    }

    .best-glass-2027 .hero-spec-card {
        top: 16px;
        left: 14px;
        min-width: 215px;
    }

    .intelligence-section {
        padding-top: 22px;
        padding-bottom: 70px;
    }

    .intelligence-shell {
        margin-inline: -4px;
        padding: 30px 18px;
        border-radius: 24px;
    }

    .intelligence-grid {
        grid-template-columns: 1fr;
    }

    .intelligence-card,
    .intelligence-card.is-wide {
        grid-column: auto;
        min-height: 300px;
        padding: 22px;
    }

    .workflow-visual {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 35px;
    }

    .workflow-visual i {
        min-width: 22px;
        flex: 1;
    }

    .workflow-visual span {
        flex-direction: column;
        font-size: 8px;
    }

    .workflow-visual span b {
        width: 30px;
        height: 30px;
    }

    .intelligence-outcome {
        align-items: flex-start;
        flex-direction: column;
        min-height: 230px !important;
    }

    .mobile-action-dock {
        position: fixed;
        right: 10px;
        bottom: 10px;
        left: 10px;
        z-index: 9999;
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 1fr;
        gap: 5px;
        padding: 6px;
        border: 1px solid rgb(255 255 255 / 12%);
        border-radius: 18px;
        background: rgb(5 17 30 / 92%);
        box-shadow: 0 20px 50px rgb(0 0 0 / 30%);
        backdrop-filter: blur(20px) saturate(150%);
    }

    .mobile-action-dock a {
        display: flex;
        min-height: 52px;
        align-items: center;
        justify-content: center;
        gap: 7px;
        border-radius: 13px;
        color: #d6e5ec;
        font-size: 10px;
        font-weight: 750;
    }

    .mobile-action-dock a.is-primary {
        background: linear-gradient(135deg, #42b9e9, #6ed4f4);
        color: #061321;
    }

    .mobile-action-dock .icon {
        width: 16px;
        height: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-progress { display: none; }
    .best-glass-2027 .service-card { transition: none; }
}
