/* Complete desktop layout and page-specific styling (>= 768px). */

.btn-outline {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

.btn-outline img {
    filter: grayscale(1) brightness(0) invert(1);
}

.btn-outline:hover {
    background: #fff;
    color: #111;
}

.btn-outline:hover img {
    filter: brightness(0);
}

.site-header {
    position: relative;
    z-index: 30;
    background: var(--orange);
    min-height: 78px;
}

.nav-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: Poppins,sans-serif;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -.06em;
    white-space: nowrap;
}

.brand-light {
    font-weight: 400;
}

.brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-mark img {
    width: 28px;
    height: 32px;
    filter: brightness(0);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-nav>a,.nav-dropdown>a {
    font-size: 14px;
    font-weight: 700;
}
.site-nav>a{
    font-size: 16px;
}

.site-nav a:hover {
    opacity: .72;
}

.nav-dropdown {
    display: flex;
    align-items: center;
    position: relative;
    gap: 5px;
}

.dropdown-toggle {
    background: none;
    border: 0;
    padding: 5px;
    display: flex;
    align-items: center;
}

.dropdown-toggle img {
    width: 15px;
    height: 15px;
    filter: brightness(0);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    margin-top: 0;
    left: -18px;
    min-width: 255px;
    padding: 10px 0;
    background: #fff;
    box-shadow: 0 15px 35px #0002;
    border-radius: 0 0 8px 8px;
    display: none;
    z-index: 50;
}

.dropdown-menu a {
    display: block;
    padding: 11px 18px;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: #fff5e5;
}

.nav-dropdown:hover .dropdown-menu,.nav-dropdown:focus-within .dropdown-menu,.nav-dropdown.is-open .dropdown-menu {
    display: block;
}

.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.nav-phone img {
    width: 17px;
    filter: brightness(0);
}

.menu-toggle {
    display: none;
}

.site-footer {
    background: #111315;
    color: #fff;
}

.footer-grid {
    padding: 85px 0 65px;
    display: grid;
    grid-template-columns: 1.5fr .8fr 1fr 1.2fr;
    gap: 50px;
}

.footer-brand {
    margin-bottom: 20px;
}

.footer-brand .brand-mark img {
    filter: none;
}

.footer-grid h3 {
    font-size: 18px;
    letter-spacing: 0;
    margin-bottom: 22px;
}

.footer-grid p {
    /* font-size: 15px; */
    color: #b8bec3;
    line-height: 1.8;
}

.footer-grid a:not(.brand) {
    display: block;
    color: #c5c8cb;
    font-size: 15px;
    margin-bottom: 11px;
}

.footer-grid a:hover {
    color: var(--orange);
}

.footer-bottom {
    border-top: 1px solid #34383b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    text-align: left;
    padding: 22px max(24px, calc((100% - 1300px) / 2)) 26px;
}

.footer-bottom p {
    margin: 0;
    color: #c5c8cb;
    /* font-size: 14px; */
    line-height: 1.9;
}

.footer-bottom p+p {
    margin-top: 0;
    text-align: right;
}

.page-hero {
    background: linear-gradient(90deg,rgba(12,17,21,.79),rgba(12,17,21,.48)),var(--hero-image) center/cover no-repeat;
    color: #fff;
}

.page-hero-inner {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 0;
}

.page-hero h1 {
    margin: 0 0 14px;
}

.page-hero p {
    max-width: 600px;
    color: #e4e6e8;
    margin-bottom: 18px;
}

.hero-overline {
    color: var(--orange);
    font-size: 12px;
    letter-spacing: .19em;
    font-weight: 700;
    margin-bottom: 20px;
    display: none;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 13px;
    /* font-size: 13px; */
    color: #ddd;
}

.breadcrumbs a:hover {
    color: var(--orange);
}

.section-heading {
    max-width: 740px;
    margin-bottom: 46px;
}

.section-heading.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-heading h2 {
    margin-bottom: 15px;
}

.section-heading p {
    color: var(--muted);
}

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

.split-reverse .split-copy {
    order: 2;
}

.split-reverse .split-media {
    order: 1;
}

.split-copy h2 {
    margin-bottom: 22px;
}

.split-copy p {
    color: #5d656d;
}

.split-copy .btn {
    margin-top: 22px;
}

.split-media {
    position: relative;
}

.split-media img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: 10px;
}

.light-section {
    background: var(--light);
}

.dark-section {
    background: #121416;
    color: #fff;
}

.dark-section .section-heading p {
    color: #b8bec3;
}

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

.service-card {
    background: #fff;
    color: var(--ink);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 40px #0000000e;
}

.card-media {
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform .5s;
}

.service-card:hover .card-media img {
    transform: scale(1.045);
}

.card-content {
    padding: 28px 32px 35px;
}

.card-index {
    color: #d58000;
    font-weight: 700;
    font-size: 13px;
}

.card-content h3 {
    font-size: 24px;
    margin: 8px 0 12px;
}

.card-content p {
    color: var(--muted);
    min-height: 58px;
    margin-bottom: 24px;
}

.home-hero {
    position: relative;
    isolation: isolate;
    background: linear-gradient(90deg,rgba(10,15,19,.82),rgba(10,15,19,.24)),var(--hero-image) center 46%/cover no-repeat;
    color: #fff;
}

.home-hero-inner {
    min-height: 650px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 100px 0;
}

.home-hero h1 {
    font-size: clamp(46px,5.2vw,76px);
    margin: 0 0 24px;
    max-width: 800px;
}

.home-hero h1 em {
    font-style: normal;
    color: var(--orange);
}

.home-hero p {
    max-width: 560px;
    color: #eceff0;
    font-size: 18px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.hero-side-note {
    position: absolute;
    bottom: 35px;
    right: 3%;
    font-size: 11px;
    letter-spacing: .2em;
    color: #eee;
    writing-mode: vertical-rl;
}

.home-intro-strip {
    background: #fff;
    box-shadow: 0 6px 22px #0000000b;
}

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

.strip-grid>div {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 26px 20px;
    border-right: 1px solid var(--border);
}

.strip-grid>div:last-child {
    border-right: 0;
}

.strip-grid img {
    width: 40px;
    height: 40px;
}

.strip-grid strong,.strip-grid span {
    display: block;
}

.strip-grid strong {
    font-size: 16px;
    line-height: 1.35;
}

.strip-grid span {
    font-size: 13px;
    color: var(--muted);
}

.home-services .service-card {
    background: #22272b;
    color: #fff;
}

.home-services .card-content p {
    color: #bdc5ca;
}

.home-expertise .expertise-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}

.expertise-card {
    text-align: center;
    padding: 30px 18px;
    border: 1px solid var(--border);
    border-radius: 15px;
}

.expertise-card img {
    margin: 0 auto 22px;
    width: 54px;
    height: 54px;
}

.expertise-card h3 {
    font-size: 18px;
}

.expertise-card p {
    color: var(--muted);
    font-size: 15px;
}

.home-solar {
    background: #f6f7f8;
}

.home-why {
    background: #fff;
}

.why-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 90px;
}

.why-heading p {
    color: var(--muted);
    margin-bottom: 26px;
}

.why-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.why-list article {
    display: flex;
    gap: 14px;
}

.why-list article>span {
    flex: 0 0 46px;
}

.why-list img {
    width: 42px;
    height: 42px;
}

.why-list h3 {
    font-size: 18px;
    margin: 0 0 8px;
}

.why-list p {
    font-size: 15px;
    color: var(--muted);
}

.advantage-grid,.feature-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 24px;
}

.advantage-grid article,.feature-grid article {
    padding: 32px 25px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 13px;
}

.advantage-grid img,.feature-grid img {
    width: 49px;
    height: 49px;
    margin-bottom: 22px;
}

.advantage-grid h3,.feature-grid h3 {
    font-size: 18px;
}

.advantage-grid p,.feature-grid p {
    color: var(--muted);
    font-size: 15px;
}

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

.services-main {
    background: #f9fafb;
}

.services-main .service-card {
    border: 1px solid #eee;
}

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

.solar-grid article {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.solar-grid img {
    width: 100%;
    height: 225px;
    object-fit: cover;
}

.solar-grid article>div {
    padding: 25px;
}

.solar-grid p {
    color: var(--muted);
    font-size: 15px;
}

.solar-feature {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 0;
    align-items: stretch;
    background: #171b1e;
    color: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.solar-feature-image img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.solar-feature-copy {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.solar-feature-copy p {
    color: #c6c9cc;
}

.solar-feature-copy .btn {
    margin-top: 20px;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 370px;
    border: 0;
}

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

.contact-info {
    background: #292e32;
    color: #fff;
    padding: 90px max(50px,calc((100vw - 1300px)/2)) 90px max(30px,calc((100vw - 1300px)/2));
}

.contact-info h2,.contact-form-panel h2 {
    margin-bottom: 20px;
}

.contact-info>p {
    color: #c4c9cc;
    max-width: 480px;
}

.contact-info-list {
    margin-top: 35px;
}

.contact-info-list>div {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-info-list img {
    width: 27px;
    height: 27px;
}

.contact-info-list span,.contact-info-list strong {
    display: block;
}

.contact-info-list strong {
    margin-bottom: 5px;
    color: #fff;
}

.contact-info-list span {
    color: #d4d6d8;
}

.contact-info-list a:hover {
    color: var(--orange);
}

.contact-form-panel {
    background: #f7f8f9;
    padding: 90px max(30px,calc((100vw - 1300px)/2)) 90px 70px;
}

.contact-form-panel>p {
    color: var(--muted);
    margin-bottom: 28px;
}

.contact-form-panel form {
    max-width: 610px;
}

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

.contact-form-panel label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
}

.contact-form-panel label span {
    color: #c77700;
}

.contact-form-panel input,.contact-form-panel select,.contact-form-panel textarea {
    display: block;
    width: 100%;
    background: #fff;
    border: 1px solid #dfe2e5;
    border-radius: 5px;
    padding: 13px 15px;
    margin-top: 8px;
    color: #202428;
    outline: none;
}

.contact-form-panel input:focus,.contact-form-panel textarea:focus,.contact-form-panel select:focus {
    border-color: var(--orange);
}

.form-note {
    font-size: 13px;
    color: #657079;
    line-height: 1.5;
}

.form-status {
    margin: 15px 0;
    font-size: 14px;
}

.form-status.error {
    color: #a22;
}

.form-status.success {
    color: #256a35;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.site-nav {
    display: flex !important;
}

.nav-inner {
    gap: 20px;
}

.split-media img {
    box-shadow: 15px 15px 0 #fff1d9;
}

.home-about .split-media img {
    object-position: 45% center;
}

.home-solar .split-media img {
    object-position: center;
}

@media(min-width:768px) and (max-width:1100px) {
.site-nav {
        gap:17px
    }
    .nav-phone {
        display:none
    }
    .split {
        gap:45px
    }
    .footer-grid {
        gap:28px
    }
    .contact-info {
        padding-left:40px;
        padding-right:40px
    }
    .contact-form-panel {
        padding:70px 40px
    }
    .why-layout {
        gap:40px
    }
    .advantage-grid {
        grid-template-columns:repeat(2,1fr)
    }
}


/* Additional service detail sections — desktop layouts. */
.electrical-property-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}
.electrical-property-card {
    background: #fff;
    border: 1px solid var(--border);
    overflow: hidden;
    border-radius: 12px;
}
.electrical-property-card > img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.electrical-property-card > div {
    padding: 30px;
}
.electrical-property-card h3,
.solar-consider-grid h3 {
    margin-bottom: 12px;
}
.electrical-faq-list {
    /* max-width: 930px; */
    margin: 0 auto;
}
.electrical-faq-list details {
    border-bottom: 1px solid var(--border);
    padding: 19px 22px;
}
.electrical-faq-list summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 18px;
}
.electrical-faq-list details[open] summary {
    color: var(--orange);
}
.electrical-faq-list p {
    padding-top: 12px;
}
.solar-component-list {
    padding-left: 22px;
    margin: 20px 0;
}
.solar-component-list li {
    margin-bottom: 12px;
}
.solar-consider-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}
.solar-consider-grid article {
    padding: 30px 23px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 10px;
}
.solar-consider-grid article > img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    margin-bottom: 18px;
}
@media (min-width: 768px) and (max-width: 1100px) {
    .solar-consider-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* TVC SERVICE approved brand logo: maintain contrast on orange header and dark footer. */
.site-header .brand,
.site-footer .footer-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    background: #ffffff;
    border-radius: 6px;
    padding: 4px 8px;
    line-height: 1;
    letter-spacing: normal;
}

.site-header .site-logo {
    display: block;
    width: 200px;
    height: auto;
    max-height: 56px;
    object-fit: contain;
}

.site-footer .site-logo {
    display: block;
    width: 180px;
    height: auto;
    object-fit: contain;
}
