/* Complete mobile layout and page-specific styling (<= 767px). */

.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: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: calc(100% + 24px);
    left: -18px;
    min-width: 255px;
    padding: 10px 0;
    background: #fff;
    box-shadow: 0 15px 35px #0002;
    border-radius: 0 0 8px 8px;
    display: none;
}

.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: 15px;
}

.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: 5px;
}

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

.footer-bottom {
    border-top: 1px solid #34383b;
    text-align: center;
    padding: 22px 12px 26px;
}

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

.footer-bottom p+p {
    margin-top: 5px;
}

.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;
}

.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;
}

body {
    font-size: 15px;
}

.container {
    width: min(calc(100% - 36px),var(--max));
}

h1 {
    font-size: 39px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 19px;
}

.section {
    padding: 65px 0;
}

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

.brand {
    font-size: 23px;
}

.nav-phone {
    display: none;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    background: transparent;
    border: 0;
    width: 42px;
    height: 42px;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #111;
}

.site-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--orange);
    padding: 15px 22px 25px;
    box-shadow: 0 15px 22px #0002;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.site-nav.is-open {
    display: flex;
}

.site-nav>a,.nav-dropdown>a {
    display: block;
    padding: 13px 0;
    font-size: 16px;
}

.nav-dropdown {
    display: block;
}

.dropdown-toggle {
    position: absolute;
    right: 0;
    top: 8px;
    padding: 12px;
}

.dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    background: #ffb43d;
    border-radius: 6px;
    padding: 5px 10px;
    margin-bottom: 10px;
}

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

.nav-dropdown.is-open .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    padding: 9px;
}

.home-hero-inner {
    min-height: 570px;
    padding: 80px 0;
}

.home-hero h1 {
    font-size: clamp(39px,10vw,56px);
}

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

.hero-side-note {
    display: none;
}

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

.strip-grid>div {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 18px 8px;
}

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

.split,.why-layout,.solar-feature,.contact-main {
    grid-template-columns: 1fr;
    gap: 35px;
}

.split-reverse .split-copy,.split-reverse .split-media {
    order: initial;
}

.split-media img {
    height: 300px;
}

.service-cards,.why-list,.form-row {
    grid-template-columns: 1fr;
}

.card-media img {
    height: 250px;
}

.card-content {
    padding: 25px;
}

.card-content p {
    min-height: 0;
}

.home-expertise .expertise-grid,.advantage-grid,.feature-grid,.solar-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 13px;
}

.expertise-card,.advantage-grid article,.feature-grid article {
    padding: 22px 15px;
}

.expertise-card h3,.advantage-grid h3,.feature-grid h3 {
    font-size: 16px;
}

.expertise-card p,.advantage-grid p,.feature-grid p {
    font-size: 14px;
}

.why-layout {
    gap: 25px;
}

.solar-grid article:last-child {
    grid-column: span 2;
}

.solar-grid img {
    height: 180px;
}

.solar-feature-image img {
    min-height: 270px;
    height: 270px;
}

.solar-feature-copy {
    padding: 32px;
}

.page-hero-inner {
    min-height: 280px;
}

.page-hero h1 {
    font-size: 39px;
}

.footer-grid {
    grid-template-columns: repeat(2,1fr);
    gap: 35px 25px;
    padding: 60px 0 45px;
}

.footer-grid>div:first-child {
    grid-column: span 2;
}

.footer-grid>div:last-child {
    grid-column: span 2;
}

.contact-map iframe {
    height: 300px;
}

.contact-info,.contact-form-panel {
    padding: 60px 25px;
}

.contact-form-panel form {
    max-width: none;
}

@media(max-width:420px) {
.home-expertise .expertise-grid,.advantage-grid,.feature-grid {
        grid-template-columns:1fr
    }
    .solar-grid {
        grid-template-columns:1fr
    }
    .solar-grid article:last-child {
        grid-column:auto
    }
    .footer-grid {
        grid-template-columns:1fr
    }
    .footer-grid>div:first-child,.footer-grid>div:last-child {
        grid-column:auto
    }
    .btn {
        padding:12px 19px
    }
    .home-hero h1 {
        font-size:38px
    }
}


/* Additional service detail sections — mobile layouts. */
.electrical-property-grid,
.solar-consider-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}
.electrical-property-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}
.electrical-property-card > img {
    width: 100%;
    height: 235px;
    object-fit: cover;
}
.electrical-property-card > div {
    padding: 24px;
}
.electrical-faq-list details {
    border-bottom: 1px solid var(--border);
    padding: 18px 4px;
}
.electrical-faq-list summary {
    cursor: pointer;
    font-size: 17px;
    font-weight: 700;
}
.electrical-faq-list details[open] summary {
    color: var(--orange);
}
.electrical-faq-list p {
    padding-top: 12px;
}
.solar-component-list {
    padding-left: 22px;
    margin: 18px 0;
}
.solar-component-list li {
    margin-bottom: 12px;
}
.solar-consider-grid article {
    padding: 25px 22px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 10px;
}
.solar-consider-grid article > img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* 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: 64px;
    object-fit: contain;
}

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

@media (max-width: 767px) {
    .site-header .site-logo {
        width: 160px;
        max-height: 40px;
    }
    .site-footer .site-logo {
        width: 190px;
    }
}
