/* TM Roofs, Inc. - Stylesheet matching original site */

/* Google Fonts - Roboto */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* ============================================
   CSS Variables - Colors from original site
   ============================================ */
:root {
    --color-primary: #cd2653;
    --color-primary-hover: #a61e43;
    --color-text: #000000;
    --color-text-secondary: #000000;
    --color-border: #dcd7ca;
    --color-background: #ffffff;
    --color-background-dark: #000000;
    --color-background-light: #f5f5f5;
    --color-header-footer: #232323;
    --font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-background);
}

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

a {
    color: #05643F;
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: #044d31;
}

ul, ol {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: #05643F;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #044d31;
    color: #ffffff;
}

.btn-link {
    background: none;
    color: var(--color-primary);
    padding: 0;
    text-decoration: underline;
}

.btn-link:hover {
    color: var(--color-primary-hover);
}

.btn-rounded {
    border-radius: 25px;
    border: 2px solid #ffffff;
    padding: 12px 28px;
    font-weight: 500;
}

.btn-rounded:hover {
    border-color: #ffffff;
}

/* ============================================
   Header
   ============================================ */
.site-header {
    background: var(--color-header-footer);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.header-branding .logo-img {
    height: 60px;
    width: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-menu a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu a:hover {
    color: #61ce70;
}

/* Submenu */
.has-submenu {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-header-footer);
    min-width: 200px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
}

.has-submenu.is-open .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu a {
    display: block;
    padding: 8px 20px;
    font-size: 13px;
}

/* Header Phone */
.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 500;
}

.header-phone:hover {
    color: #61ce70;
}

.phone-icon {
    width: 18px;
    height: 18px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
}

.menu-icon {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

/* ============================================
   Mobile Menu Modal
   ============================================ */
.menu-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-header-footer);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.menu-modal-inner {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.menu-close {
    align-self: flex-end;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.menu-close svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.mobile-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.mobile-nav ul {
    text-align: center;
}

.mobile-nav li {
    margin-bottom: 15px;
}

.mobile-nav a {
    color: #ffffff;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-nav a:hover {
    color: #61ce70;
}

.mobile-phone {
    color: #61ce70;
    font-size: 20px;
    font-weight: 600;
    margin-top: 20px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    background-color: var(--color-background-dark);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    padding: 80px 20px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-background-dark);
    opacity: 0.45;
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

/* Split hero layout for homepage */
.hero-inner-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    gap: 40px;
}

.hero-content {
    flex: 0 0 65%;
    text-align: left;
}

.hero-inner-split .hero-logo {
    flex: 0 0 30%;
    margin-bottom: 0;
}

.hero-inner-split .hero-logo img {
    max-width: 100%;
    width: 250px;
    margin: 0;
}

.hero-logo {
    margin-bottom: 30px;
}

.hero-logo img {
    max-width: 200px;
    margin: 0 auto;
}

.hero-title {
    color: #ffffff;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-subtitle {
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ============================================
   Manufacturer Logos Section
   ============================================ */
.manufacturers-section {
    background: var(--color-background);
    padding: 20px 0;
    overflow: hidden;
}

.manufacturers-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 20px;
}

.manufacturers-inner::-webkit-scrollbar {
    display: none;
}

.manufacturer-logo {
    height: 50px;
    width: auto;
    flex-shrink: 0;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.manufacturer-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 20px;
}

.section-title-centered {
    text-align: center;
}

.section-divider {
    width: 60%;
    height: 6px;
    background-color: #05643F;
    margin: 0 auto 32px auto;
}

.section-intro {
    color: var(--color-text-secondary);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 900px;
}

.section-intro-centered {
    text-align: center;
    font-size: 20px;
    margin: 0 auto 40px auto;
}

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

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

/* Card style for commercial services */
.services-grid-cards {
    gap: 40px;
}

.services-grid-cards .service-card {
    background: var(--color-background);
    border-radius: 15px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.services-grid-cards .service-card:hover {
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.6);
}

.services-grid-cards .service-image {
    border-radius: 15px 15px 0 0;
}

.services-grid-cards .service-title {
    text-align: center;
    margin: 15px 15px 10px 15px;
}

.services-grid-cards .service-desc {
    text-align: center;
    margin: 0 15px 20px 15px;
}

.service-card {
    background: var(--color-background);
}

.service-image {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin: 15px 0 10px;
}

.service-desc {
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================
   Maintenance / Gallery Section
   ============================================ */
.maintenance-section {
    padding: 60px 0;
    background: var(--color-background-light);
}

.section-subtitle {
    color: var(--color-text-secondary);
    font-size: 16px;
    margin-bottom: 30px;
}

.maintenance-cta {
    text-align: center;
}

/* ============================================
   Gallery Carousel Section
   ============================================ */
.gallery-carousel-section {
    padding: 40px 0;
    background: var(--color-background-light);
    overflow: hidden;
}

.gallery-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 50px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    flex: 0 0 calc(100% / 3);
    padding: 0 10px;
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #05643F;
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.carousel-btn:hover {
    background: #044d31;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: 0;
}

.carousel-btn-next {
    right: 0;
}

@media (max-width: 992px) {
    .carousel-slide {
        flex: 0 0 50%;
    }
}

@media (max-width: 576px) {
    .carousel-slide {
        flex: 0 0 100%;
    }

    .gallery-carousel {
        padding: 0 40px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }
}

/* ============================================
   Benefits Section
   ============================================ */
.benefits-section {
    padding: 60px 0;
}

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

.benefit-card {
    padding: 30px;
    background: var(--color-background);
    border-radius: 15px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.3s ease;
}

.benefit-card:hover {
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.6);
}

.benefit-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================
   Residential Section
   ============================================ */
.residential-section {
    position: relative;
    padding: 60px 0;
    background-color: var(--color-background-dark);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.residential-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-background-dark);
    opacity: 0.57;
    z-index: 1;
}

.residential-section .container {
    position: relative;
    z-index: 2;
}

.residential-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.residential-content {
    flex: 1;
    max-width: 600px;
}

.residential-section .section-title {
    color: #ffffff;
    margin-bottom: 15px;
}

.residential-intro {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Residential services box with green overlay */
.residential-services-box {
    background-color: #05643F;
    background-color: rgba(5, 100, 63, 0.5);
    border: 2px solid #ffffff;
    border-radius: 25px;
    padding: 30px 40px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

.residential-icon-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.residential-icon-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 15px;
}

.residential-icon-list li:last-child {
    margin-bottom: 0;
}

.residential-icon-list .icon {
    font-size: 41px;
    width: 50px;
    text-align: center;
}

.residential-icon-list .text {
    font-family: var(--font-family);
}

/* ============================================
   Intro Section (interior pages)
   ============================================ */
.intro-section {
    padding: 60px 0 30px;
}

.intro-text {
    color: var(--color-text-secondary);
    font-size: 16px;
    line-height: 1.7;
    max-width: 900px;
}

.intro-text-centered {
    text-align: center;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: 30px;
}

/* ============================================
   Packages Section (Preventative Maintenance)
   ============================================ */
.packages-section {
    position: relative;
    padding: 80px 0;
    background-color: var(--color-background-dark);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.packages-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-background-dark);
    opacity: 0.57;
    z-index: 1;
}

.packages-section .container {
    position: relative;
    z-index: 2;
}

.packages-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.packages-content {
    flex: 1;
    max-width: 600px;
}

.section-title-white {
    color: #ffffff;
}

.packages-subtitle {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Packages services box with green overlay */
.packages-services-box {
    background-color: rgba(5, 100, 63, 0.5);
    border: 2px solid #ffffff;
    border-radius: 25px;
    padding: 30px 40px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

.packages-icon-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.packages-icon-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 12px;
}

.packages-icon-list li:last-child {
    margin-bottom: 0;
}

.packages-icon-list .icon {
    font-size: 41px;
    width: 50px;
    text-align: center;
}

.packages-icon-list .text {
    font-family: var(--font-family);
}

/* ============================================
   Service Area Section
   ============================================ */
.service-area-section {
    padding: 60px 0;
    background: var(--color-background);
}

.service-area-section .intro-text {
    margin-bottom: 40px;
}

.state-cards-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.state-cards-grid:last-child {
    margin-bottom: 0;
}

.state-card {
    position: relative;
    width: 200px;
    height: 225px;
    border-radius: 25px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.state-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-background-dark);
    opacity: 0.52;
    border-radius: 25px;
    z-index: 1;
}

.state-name {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    margin: 0;
}

/* ============================================
   Content Section (interior pages)
   ============================================ */
.content-section {
    padding: 60px 0;
}

.content-text {
    color: var(--color-text-secondary);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.subsection-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-text);
    margin: 30px 0 15px;
}

.service-list {
    margin-bottom: 30px;
}

.service-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--color-text);
}

.service-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

/* ============================================
   History Section
   ============================================ */
.history-section {
    padding: 60px 0;
    background: var(--color-background);
}

.history-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.history-content p {
    color: var(--color-text-secondary);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.history-content p:last-child {
    margin-bottom: 0;
}

/* ============================================
   Credentials Section
   ============================================ */
.credentials-section {
    position: relative;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.credentials-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.credentials-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.credentials-intro {
    text-align: center;
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 40px;
}

.credentials-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 60px;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.credentials-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    color: #ffffff;
}

.credentials-list li i {
    color: #61ce70;
    font-size: 18px;
    flex-shrink: 0;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: 60px 0;
    background: #EAEAEA;
}

.contact-inner {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.contact-info {
    flex: 1;
    max-width: 500px;
}

.contact-intro {
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Phone card */
.contact-phone-card {
    display: flex;
    align-items: center;
    background: #E4E4E4;
    border-radius: 15px;
    padding: 15px 25px;
    box-shadow: 0px 0px 35px 5px rgba(0, 0, 0, 0.5);
    max-width: 320px;
}

.phone-icon-wrapper {
    font-size: 41px;
    color: var(--color-text);
    margin-right: 15px;
}

.phone-details a {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
}

.phone-details a:hover {
    color: #05643F;
}

/* Form box */
.contact-form-box {
    flex: 1;
    background: #E4E4E4;
    border-radius: 45px;
    padding: 40px;
    box-shadow: 0px 0px 35px 10px rgba(0, 0, 0, 0.5);
    max-width: 500px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text);
}

.form-group label .optional {
    color: var(--color-text-secondary);
    font-weight: 400;
}

.form-group input,
.form-group textarea {
    padding: 12px 18px;
    border: none;
    border-radius: 15px;
    background: #ffffff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    transition: box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px #05643F;
}

.form-group.has-error input,
.form-group.has-error textarea {
    box-shadow: 0 0 0 2px #dc3545;
}

.field-error {
    color: #dc3545;
    font-size: 13px;
}

.form-errors {
    background: #fff5f5;
    border: 1px solid #dc3545;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
}

.form-errors .error {
    color: #dc3545;
    margin: 0;
}

.btn-submit {
    margin-top: 10px;
    border-radius: 25px;
    padding: 15px 30px;
    font-size: 16px;
}

.btn-submit:hover {
    background-color: #078453;
}

/* Contact Success */
.contact-success {
    text-align: center;
    padding: 40px 20px;
}

.contact-success h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.contact-success p {
    color: var(--color-text-secondary);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--color-header-footer);
    color: #ffffff;
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-heading {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.footer-section p {
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 3px;
    line-height: 1.5;
}

.footer-section a {
    color: #61ce70;
}

.footer-section a:hover {
    color: #7ed889;
}

.footer-copyright {
    text-align: right;
}

.footer-copyright p {
    margin-bottom: 3px;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu,
    .header-phone {
        display: none;
    }

    .header-inner {
        padding: 10px 15px;
    }

    .header-branding .logo-img {
        height: 50px;
    }

    .hero-section {
        padding: 60px 20px;
        min-height: 350px;
    }

    .hero-inner-split {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-content {
        flex: 1;
        text-align: center;
    }

    .hero-inner-split .hero-logo {
        flex: 1;
        margin-bottom: 20px;
    }

    .hero-inner-split .hero-logo img {
        width: 180px;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .services-grid,
    .services-grid-4 {
        grid-template-columns: 1fr;
    }

    .maintenance-gallery {
        grid-template-columns: 1fr;
    }

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

    .section-title {
        font-size: 24px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 30px;
    }

    .footer-copyright {
        text-align: left;
    }

    .manufacturers-inner {
        gap: 30px;
    }

    .manufacturer-logo {
        height: 40px;
    }

    .residential-inner {
        flex-direction: column;
        text-align: center;
    }

    .residential-content {
        max-width: 100%;
    }

    .residential-services-box {
        padding: 20px 30px;
    }

    .residential-icon-list .icon {
        font-size: 32px;
        width: 40px;
    }

    .residential-icon-list li {
        font-size: 16px;
    }

    .contact-inner {
        flex-direction: column;
    }

    .contact-info {
        max-width: 100%;
    }

    .contact-phone-card {
        max-width: 100%;
    }

    .contact-form-box {
        max-width: 100%;
        border-radius: 30px;
        padding: 30px;
    }

    .packages-inner {
        flex-direction: column;
        text-align: center;
    }

    .packages-content {
        max-width: 100%;
    }

    .packages-services-box {
        padding: 20px 30px;
    }

    .packages-icon-list .icon {
        font-size: 32px;
        width: 40px;
    }

    .packages-icon-list li {
        font-size: 16px;
    }

    .packages-section {
        background-attachment: scroll;
    }

    .state-cards-grid {
        flex-wrap: wrap;
    }

    .state-card {
        width: 150px;
        height: 170px;
    }

    .state-name {
        font-size: 14px;
    }

    .history-section {
        padding: 40px 0;
    }

    .credentials-section {
        padding: 50px 0;
        background-attachment: scroll;
    }

    .credentials-list {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-logo img {
        max-width: 150px;
    }

    .hero-title {
        font-size: 24px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}
