/**
 * Murphy's Roofing & Construction Theme Styles
 * 
 * Brand Colors:
 * - Primary Green: #53BA70
 * - Dark Green (hover): #4C8A5A
 * - Light Green Tint: #C5FABC
 * - Charcoal/Black: #0A0B0B
 */

/* ========================================
   HEADER
======================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 7rem;
}

@media (min-width: 1024px) {
    .header-inner {
        height: 9rem;
    }
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-image {
    height: 8rem;
    width: auto;
    object-fit: contain;
}

.site-logo-text {
    font-size: 20px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--charcoal);
    max-width: 200px;
    text-align: left;
}

@media (min-width: 1024px) {
    .logo-image {
        height: 10rem;
    }
    .site-logo-text {
        font-size: 24px;
        max-width: 260px;
    }
}

.main-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .main-nav {
        display: flex;
    }
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-900);
    transition: color 0.2s ease;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-whatsapp-btn {
    display: none;
}

@media (min-width: 768px) {
    .header-whatsapp-btn {
        display: block;
    }
}

.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: none;
    border: none;
    color: var(--gray-900);
    transition: color 0.2s ease;
}

.mobile-menu-toggle:hover {
    color: var(--primary);
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

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

.mobile-menu-open .mobile-menu-toggle .menu-icon {
    display: none;
}

.mobile-menu-open .mobile-menu-toggle .close-icon {
    display: block;
}

.mobile-nav {
    display: none;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
}

.mobile-nav.open {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-nav {
        display: none !important;
    }
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-900);
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover {
    background-color: var(--gray-100);
}

.mobile-nav-link.active {
    background-color: var(--gray-100);
    color: var(--primary);
}

/* ========================================
   HERO SECTION
======================================== */

.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-section {
        min-height: 80vh;
    }
}

.hero-background {
    position: absolute;
    inset: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.6), rgba(0,0,0,0.4));
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 4rem 0;
}

@media (min-width: 1024px) {
    .hero-content {
        padding: 6rem 0;
    }
}

.hero-text {
    max-width: 42rem;
}

.hero-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* ========================================
   PAGE HERO (Internal Pages)
======================================== */

.page-hero {
    position: relative;
    height: 16rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .page-hero {
        height: 20rem;
    }
}

@media (min-width: 1024px) {
    .page-hero {
        height: 24rem;
    }
}

.page-hero-background {
    position: absolute;
    inset: 0;
}

.page-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.6);
}

.page-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.page-hero-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .page-hero-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .page-hero-title {
        font-size: 3rem;
    }
}

.page-hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9);
    max-width: 42rem;
    margin: 0 auto;
}

/* ========================================
   SECTIONS
======================================== */

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 1.875rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-title.text-white {
    color: var(--white);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gray-600);
    max-width: 42rem;
    margin: 0 auto;
}

.section-subtitle.text-gray {
    color: var(--gray-400);
}

.section-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* ========================================
   SERVICES PREVIEW
======================================== */

.services-preview-section {
    padding: 4rem 0;
    background-color: var(--white);
}

@media (min-width: 1024px) {
    .services-preview-section {
        padding: 6rem 0;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.service-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.service-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.service-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

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

.service-card-content {
    padding: 1.25rem;
}

.service-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.service-card-description {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* ========================================
   RECENT WORK / GALLERY
======================================== */

.recent-work-section {
    padding: 4rem 0;
    background-color: var(--muted);
}

@media (min-width: 1024px) {
    .recent-work-section {
        padding: 6rem 0;
    }
}

.recent-work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .recent-work-grid {
        gap: 1rem;
    }
}

@media (min-width: 768px) {
    .recent-work-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .recent-work-grid {
        gap: 1.5rem;
    }
}

.gallery-thumbnail {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 0.375rem;
    cursor: pointer;
    border: none;
    padding: 0;
    background: none;
}

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

.gallery-thumbnail:hover img {
    transform: scale(1.05);
}

.gallery-thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0);
    transition: background-color 0.2s ease;
}

.gallery-thumbnail:hover::after {
    background-color: rgba(0,0,0,0.2);
}

/* ========================================
   VIDEO SECTION
======================================== */

.video-section {
    padding: 4rem 0;
    background-color: var(--white);
}

@media (min-width: 1024px) {
    .video-section {
        padding: 6rem 0;
    }
}

.video-container {
    max-width: 48rem;
    margin: 0 auto;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 0.375rem;
    cursor: pointer;
    border: none;
    padding: 0;
    background: none;
}

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

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.video-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,0.4);
    transition: background-color 0.2s ease;
}

.video-thumbnail:hover .video-play-btn {
    background-color: rgba(0,0,0,0.5);
}

.video-play-btn svg {
    width: 4rem;
    height: 4rem;
    padding: 1rem;
    background-color: var(--primary);
    border-radius: 50%;
    color: var(--white);
    transition: transform 0.2s ease;
}

@media (min-width: 1024px) {
    .video-play-btn svg {
        width: 5rem;
        height: 5rem;
    }
}

.video-thumbnail:hover .video-play-btn svg {
    transform: scale(1.1);
}

/* ========================================
   QUOTE SECTION
======================================== */

.quote-section {
    padding: 4rem 0;
    background-color: var(--muted);
}

@media (min-width: 1024px) {
    .quote-section {
        padding: 6rem 0;
    }
}

.quote-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .quote-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.quote-info .section-title {
    text-align: left;
}

.quote-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.quote-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quote-benefits li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
}

.benefit-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.quote-form-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    padding: 1.5rem;
}

@media (min-width: 1024px) {
    .quote-form-card {
        padding: 2rem;
    }
}

.quote-form-wrapper {
    max-width: 32rem;
    margin: 0 auto;
}

/* ========================================
   FORMS
======================================== */

.hidden-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}

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

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-900);
    margin-bottom: 0.375rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    color: var(--gray-900);
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(83,186,112,0.1);
}

.form-input.input-error,
.form-select.input-error,
.form-textarea.input-error {
    border-color: #ef4444;
}

.form-textarea {
    resize: none;
}

.form-error {
    display: none;
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 0.25rem;
}

.form-success {
    text-align: center;
    padding: 2rem;
    background-color: rgba(83,186,112,0.1);
    border-radius: 0.375rem;
}

.success-icon {
    color: var(--primary);
    margin: 0 auto 1rem;
}

.success-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.success-text {
    color: var(--gray-600);
}

/* ========================================
   SERVICE DETAIL SECTIONS
======================================== */

.service-detail-section {
    padding: 4rem 0;
}

@media (min-width: 1024px) {
    .service-detail-section {
        padding: 6rem 0;
    }
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .service-detail-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.order-1-lg {
    order: 1;
}

.order-2-lg {
    order: 2;
}

@media (min-width: 1024px) {
    .order-1-lg {
        order: 1;
    }
    .order-2-lg {
        order: 2;
    }
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.service-icon-box {
    width: 3rem;
    height: 3rem;
    background-color: rgba(83,186,112,0.1);
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.service-detail-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

@media (min-width: 640px) {
    .service-detail-title {
        font-size: 1.875rem;
    }
}

.service-detail-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

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

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.service-list li svg {
    color: var(--primary);
    flex-shrink: 0;
}

.image-grid-offset {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.image-wrapper {
    aspect-ratio: 3/4;
    border-radius: 0.375rem;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-wrapper.offset-top {
    margin-top: 2rem;
}

/* ========================================
   WHY CHOOSE US
======================================== */

.why-choose-section {
    padding: 4rem 0;
    background-color: var(--charcoal);
}

@media (min-width: 1024px) {
    .why-choose-section {
        padding: 6rem 0;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary);
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.feature-description {
    font-size: 0.875rem;
    color: var(--gray-400);
}

/* ========================================
   GALLERY PAGE
======================================== */

.gallery-hero {
    background-color: var(--charcoal);
    padding: 4rem 0;
}

@media (min-width: 1024px) {
    .gallery-hero {
        padding: 5rem 0;
    }
}

.gallery-hero-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .gallery-hero-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .gallery-hero-title {
        font-size: 3rem;
    }
}

.gallery-hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-400);
    text-align: center;
    max-width: 42rem;
    margin: 0 auto;
}

.gallery-filters {
    padding: 2rem 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 4rem;
    z-index: 40;
}

@media (min-width: 1024px) {
    .gallery-filters {
        top: 5rem;
    }
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-900);
    background-color: transparent;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background-color: var(--gray-100);
}

.filter-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.gallery-grid-section {
    padding: 3rem 0;
    background-color: var(--white);
}

@media (min-width: 1024px) {
    .gallery-grid-section {
        padding: 4rem 0;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 0.375rem;
    cursor: pointer;
    border: none;
    padding: 0;
    background: none;
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0);
    transition: background-color 0.2s ease;
}

.gallery-item:hover::after {
    background-color: rgba(0,0,0,0.2);
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.video-play-overlay svg {
    width: 3rem;
    height: 3rem;
    padding: 0.875rem;
    background-color: rgba(83,186,112,0.9);
    border-radius: 50%;
    color: var(--white);
}

.gallery-cta {
    padding: 4rem 0;
    background-color: var(--primary);
    text-align: center;
}

@media (min-width: 1024px) {
    .gallery-cta {
        padding: 5rem 0;
    }
}

.gallery-cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .gallery-cta-title {
        font-size: 1.875rem;
    }
}

.gallery-cta-subtitle {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.gallery-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .gallery-cta-buttons {
        flex-direction: row;
    }
}

/* ========================================
   LIGHTBOX
======================================== */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background-color: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.open {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    z-index: 210;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.75rem;
    background-color: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    z-index: 210;
    transition: background-color 0.2s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(255,255,255,0.2);
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

/* ========================================
   VIDEO MODAL
======================================== */

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    background-color: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
}

.video-modal.open {
    display: flex;
}

.video-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    z-index: 210;
}

.video-modal-content {
    max-width: 90vw;
    max-height: 90vh;
}

.video-modal-content video {
    max-width: 100%;
    max-height: 90vh;
}

/* ========================================
   FOOTER
======================================== */

.site-footer {
    background-color: var(--white);
    color: var(--gray-900);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

@media (min-width: 1024px) {
    .site-footer {
        padding: 4rem 0;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 3rem;
    }
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.footer-logo-image {
    height: 9rem;
    width: auto;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 22px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--charcoal);
    max-width: 260px;
}

.footer-description {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.6;
    max-width: 25rem;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a {
    font-size: 0.875rem;
    color: var(--gray-500);
    transition: color 0.2s ease;
}

.footer-menu a:hover {
    color: var(--primary);
}

.footer-menu a.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #0a0b0a;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.copyright,
.service-area,
.theme-credit {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.theme-credit a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s ease;
}

.theme-credit a:hover {
    color: var(--primary);
}

/* ========================================
   MOBILE BOTTOM BAR
======================================== */

.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: var(--white);
    border-top: 1px solid var(--border);
    padding: 0.75rem;
    display: flex;
    gap: 0.75rem;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .mobile-bottom-bar {
        display: none;
    }
}

.mobile-bar-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.mobile-bar-whatsapp {
    background-color: var(--primary);
    color: var(--white);
}

.mobile-bar-whatsapp:hover {
    background-color: var(--primary-dark);
}

.mobile-bar-call {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.mobile-bar-call:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* ========================================
   PAGE BOTTOM PADDING (for mobile bar)
======================================== */

main {
    padding-bottom: 0;
}

/* ========================================
   TRUST STRIP
======================================== */

.trust-strip {
    padding: 1.5rem 0;
    background-color: var(--gray-50);
    border-bottom: 1px solid var(--border);
}

.trust-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .trust-items {
        gap: 3rem;
    }
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-500);
    font-size: 0.875rem;
    font-weight: 500;
}

.trust-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* ========================================
   ABOUT SECTION
======================================== */

.about-section {
    padding: 5rem 0;
}

@media (min-width: 1024px) {
    .about-section {
        padding: 7rem 0;
    }
}

.about-content {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.125rem;
    color: var(--gray-500);
    line-height: 1.75;
}

/* ========================================
   PROJECTS PREVIEW SECTION
======================================== */

.projects-preview-section {
    padding: 5rem 0;
    background-color: var(--white);
}

@media (min-width: 1024px) {
    .projects-preview-section {
        padding: 7rem 0;
    }
}

.projects-preview-content {
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
}

/* ========================================
   PROCESS SECTION
======================================== */

.process-section {
    padding: 5rem 0;
    background-color: var(--gray-50);
}

@media (min-width: 1024px) {
    .process-section {
        padding: 7rem 0;
    }
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.process-step {
    text-align: center;
}

.process-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(83, 186, 112, 0.2);
    margin-bottom: 1rem;
}

.process-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.process-description {
    color: var(--gray-500);
}

/* ========================================
   FINAL CTA SECTION
======================================== */

.final-cta-section {
    padding: 5rem 0;
    background-color: var(--white);
}

@media (min-width: 1024px) {
    .final-cta-section {
        padding: 7rem 0;
    }
}

.final-cta-content {
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
}

.final-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .final-cta-buttons {
        flex-direction: row;
    }
}

/* ========================================
   PROJECTS PAGE
======================================== */

.projects-hero {
    background-color: var(--charcoal);
    padding: 5rem 0;
}

.projects-hero-light {
    background-color: var(--white);
}

@media (min-width: 1024px) {
    .projects-hero {
        padding: 6rem 0;
    }
}

.projects-hero-title {
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--white);
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

.projects-hero-light .projects-hero-title {
    color: var(--gray-900);
}

@media (min-width: 640px) {
    .projects-hero-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .projects-hero-title {
        font-size: 3rem;
    }
}

.projects-hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-400);
    text-align: center;
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.75;
}

.projects-hero-light .projects-hero-subtitle {
    color: var(--gray-500);
}

.projects-grid-section {
    padding: 5rem 0;
}

@media (min-width: 1024px) {
    .projects-grid-section {
        padding: 6rem 0;
    }
}

.projects-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.projects-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    letter-spacing: -0.025em;
}

@media (min-width: 640px) {
    .projects-section-title {
        font-size: 1.5rem;
    }
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.project-item {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 0.375rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

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

.project-item:hover img {
    transform: scale(1.05);
}

.project-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0);
    transition: background-color 0.3s ease;
}

.project-item:hover::after {
    background-color: rgba(0,0,0,0.2);
}

.project-video-item .video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.project-video-item .video-play-overlay > div,
.video-play-overlay {
    width: 3rem;
    height: 3rem;
    background-color: rgba(83, 186, 112, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-overlay svg {
    color: var(--white);
    margin-left: 2px;
}

.projects-cta {
    background-color: var(--charcoal);
    padding: 5rem 0;
}

.projects-cta-light {
    background-color: #f0faf2;
}

@media (min-width: 1024px) {
    .projects-cta {
        padding: 6rem 0;
    }
}

.projects-cta-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: -0.025em;
}

.projects-cta-light .projects-cta-title {
    color: var(--gray-900);
}

@media (min-width: 640px) {
    .projects-cta-title {
        font-size: 1.875rem;
    }
}

.projects-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .projects-cta-buttons {
        flex-direction: row;
    }
}

/* ========================================
   TYPOGRAPHY REFINEMENTS
======================================== */

.section-title {
    font-weight: 600;
    letter-spacing: -0.025em;
}

.btn {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* ========================================
   LIGHT GREEN BACKGROUND
======================================== */

.bg-light-green {
    background-color: #f0faf2;
}

/* ========================================
   IMAGE-BACKED SECTIONS
======================================== */

.has-bg-image {
    position: relative;
}

.section-bg-image {
    position: absolute;
    inset: 0;
}

.bg-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bg-dark-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
}

.bg-dark-overlay-heavy {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.75);
}

.has-bg-image .container {
    position: relative;
    z-index: 10;
}

.text-on-dark .section-title {
    color: var(--white);
}

.text-on-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.text-on-dark .quote-description {
    color: rgba(255, 255, 255, 0.8);
}

.text-on-dark .quote-benefits li {
    color: rgba(255, 255, 255, 0.8);
}

.projects-preview-section.has-bg-image {
    padding: 6rem 0;
}

@media (min-width: 1024px) {
    .projects-preview-section.has-bg-image {
        padding: 8rem 0;
    }
}

.final-cta-section.has-bg-image {
    padding: 6rem 0;
}

@media (min-width: 1024px) {
    .final-cta-section.has-bg-image {
        padding: 8rem 0;
    }
}

.quote-section.has-bg-image {
    padding: 5rem 0;
}

@media (min-width: 1024px) {
    .quote-section.has-bg-image {
        padding: 7rem 0;
    }
}

/* ========================================
   SERVICE DETAIL LARGER VARIANT
======================================== */

.service-detail-larger {
    padding: 6rem 0;
}

@media (min-width: 1024px) {
    .service-detail-larger {
        padding: 8rem 0;
    }
}

.service-icon-box-lg {
    width: 3.5rem;
    height: 3.5rem;
}

.service-detail-title-lg {
    font-size: 1.875rem;
}

@media (min-width: 640px) {
    .service-detail-title-lg {
        font-size: 2.25rem;
    }
}

.service-detail-header {
    margin-bottom: 2rem;
}

.service-detail-description {
    margin-bottom: 2.5rem;
}

.service-list-lg li {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
}

/* ========================================
   FOOTER POWERED BY
======================================== */

.footer-powered-by {
    margin-top: 1rem;
    text-align: center;
}

.footer-powered-by p {
    font-size: 0.75rem;
    color: var(--gray-600);
}

/* ========================================
   SERVICES PREVIEW LIGHT GREEN
======================================== */

.services-preview-section.bg-light-green {
    background-color: #f0faf2;
}
