/* ==========================================================
   SERVICES.CSS
   Main Services Page
========================================================== */


/* ==========================================
   Shared Services Page Heading
========================================== */

.services-page-heading {
    max-width: 820px;
    margin: 0 auto 38px;
    text-align: center;
}

.services-page-heading p {
    margin: 0 0 10px;
    color: var(--lime, #c8f000);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.services-page-heading h2 {
    margin: 0 0 14px;
    color: #111827;
    font-size: 40px;
    line-height: 1.15;
}

.services-page-heading span {
    display: block;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.65;
}

.services-page-heading-light h2 {
    color: #ffffff;
}

.services-page-heading-light span {
    color: #cbd5e1;
}


/* ==========================================
   Services Hero Actions
========================================== */

.services-page-hero-actions {
    width: 100%;
    max-width: 900px;
    margin: 30px auto 0;

    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
}

.services-page-hero-actions > a {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 56px !important;
    margin: 0 !important;
    padding: 14px 18px !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;

    font-size: 16px !important;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;

    border-radius: 14px !important;
}

.services-page-hero-actions > a:first-child,
.services-page-hero-actions > a:nth-child(2),
.services-page-hero-actions > a:nth-child(3) {
    grid-column: auto !important;
    justify-self: stretch !important;
}


/* ==========================================
   Appliance Catalog
========================================== */

.services-catalog-section {
    padding: 70px 0;
    background: #f8fafc;
}

.services-catalog-section .container {
    width: min(100% - 32px, 1200px);
    margin: 0 auto;
}

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

.services-catalog-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.services-catalog-link {
    height: 100%;
    padding: 28px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    color: inherit;
    text-decoration: none;
}

.services-catalog-icon {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--lime, #c8f000);
    background: #050713;
    font-size: 24px;
    border-radius: 16px;
}

.services-catalog-content {
    min-width: 0;
}

.services-catalog-content h3 {
    margin: 2px 0 10px;
    color: #111827;
    font-size: 22px;
    line-height: 1.25;
}

.services-catalog-content p {
    margin: 0 0 14px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
}

.services-catalog-content ul {
    margin: 0 0 18px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 14px;
}

.services-catalog-content li {
    position: relative;
    padding-left: 18px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.45;
}

.services-catalog-content li::before {
    position: absolute;
    left: 0;
    top: 0;
    content: "✓";
    color: #16a34a;
    font-weight: 900;
}

.services-catalog-action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #15803d;
    font-size: 14px;
    font-weight: 800;
}


/* ==========================================
   Common Problems
========================================== */

.services-problems-section {
    padding: 68px 0;
    background: #ffffff;
}

.services-problems-section .container {
    width: min(100% - 32px, 1100px);
    margin: 0 auto;
}

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

.services-problem-card {
    min-height: 130px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
}

.services-problem-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--lime, #c8f000);
    background: #050713;
    font-size: 18px;
    border-radius: 13px;
}

.services-problem-card h3 {
    margin: 1px 0 7px;
    color: #111827;
    font-size: 20px;
}

.services-problem-card p {
    margin: 0;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.55;
}


/* ==========================================
   Samsung Specialty
========================================== */

.services-specialty-section {
    padding: 72px 0;
    background: #101827;
    color: #ffffff;
}

.services-specialty-section .container {
    width: min(100% - 32px, 1200px);
    margin: 0 auto;
}

.services-specialty-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.services-specialty-card {
    padding: 24px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
}

.services-specialty-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--lime, #c8f000);
    background: rgba(200, 240, 0, 0.12);
    font-size: 18px;
    border-radius: 14px;
}

.services-specialty-card h3 {
    margin: 0 0 9px;
    color: #ffffff;
    font-size: 19px;
    line-height: 1.3;
}

.services-specialty-card p {
    margin: 0;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
}


/* ==========================================
   Brands
========================================== */

.services-brands-section {
    padding: 68px 0;
    background: #f8fafc;
}

.services-brands-section .container {
    width: min(100% - 32px, 1200px);
    margin: 0 auto;
}

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

.services-brand-grid a,
.services-brand-disabled {
    min-height: 70px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    background: #ffffff;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
}


/* ==========================================
   Repair Process
========================================== */

.services-process-section {
    padding: 68px 0;
    background: #ffffff;
}

.services-process-section .container {
    width: min(100% - 32px, 1100px);
    margin: 0 auto;
}

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

.services-process-card {
    min-height: 130px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
}

.services-process-number {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--lime, #c8f000);
    background: #050713;
    font-size: 20px;
    font-weight: 900;
    border-radius: 13px;
}

.services-process-card h3 {
    margin: 1px 0 7px;
    color: #111827;
    font-size: 20px;
}

.services-process-card p {
    margin: 0;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.55;
}


/* ==========================================
   Service Areas
========================================== */

.services-areas-section {
    padding: 68px 0;
    background: #f8fafc;
}

.services-areas-section .container {
    width: min(100% - 32px, 1100px);
    margin: 0 auto;
}

.services-area-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.services-area-chip {
    min-height: 48px;
    padding: 11px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #111827;
    background: #ffffff;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
}

.services-area-chip i {
    color: #16a34a;
}

.services-areas-action {
    margin-top: 32px;
    text-align: center;
}


/* ==========================================
   FAQ
========================================== */

.services-faq-section {
    padding: 68px 0;
    background: #ffffff;
}

.services-faq-section .container {
    width: min(100% - 32px, 900px);
    margin: 0 auto;
}

.services-faq-list {
    display: grid;
    gap: 12px;
}

.services-faq-item {
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
}

.services-faq-item summary {
    position: relative;
    padding: 20px 52px 20px 20px;
    color: #111827;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.services-faq-item summary::-webkit-details-marker {
    display: none;
}

.services-faq-item summary::after {
    position: absolute;
    right: 20px;
    top: 50%;
    content: "+";
    color: #16a34a;
    font-size: 24px;
    font-weight: 700;
    transform: translateY(-50%);
}

.services-faq-item[open] summary::after {
    content: "−";
}

.services-faq-item p {
    margin: 0;
    padding: 0 20px 20px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.65;
}


/* ==========================================
   Tablet
========================================== */

@media (max-width: 1000px) {
    .services-catalog-grid,
    .services-problems-grid,
    .services-process-grid {
        grid-template-columns: 1fr;
    }

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

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


/* ==========================================
   Mobile
========================================== */

@media (max-width: 560px) {
    .services-page-hero-actions {
        width: 100% !important;
        max-width: 470px !important;
        margin: 28px auto 0 !important;

        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .services-page-hero-actions > a:first-child {
        grid-column: 1 / -1 !important;
    }

    .services-page-hero-actions > a:nth-child(2) {
        grid-column: 1 !important;
    }

    .services-page-hero-actions > a:nth-child(3) {
        grid-column: 2 !important;
    }

    .services-page-hero-actions > a {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        min-height: 50px !important;
        margin: 0 !important;
        padding: 12px 8px !important;

        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 7px;

        font-size: 14px !important;
        line-height: 1.2;

        border-radius: 14px !important;
    }

    .services-catalog-section,
    .services-problems-section,
    .services-specialty-section,
    .services-brands-section,
    .services-process-section,
    .services-areas-section,
    .services-faq-section {
        padding: 44px 0;
    }

    .services-catalog-section .container,
    .services-problems-section .container,
    .services-specialty-section .container,
    .services-brands-section .container,
    .services-process-section .container,
    .services-areas-section .container,
    .services-faq-section .container {
        width: calc(100% - 20px);
    }

    .services-page-heading {
        margin-bottom: 26px;
    }

    .services-page-heading p {
        margin-bottom: 8px;
        font-size: 13px;
        letter-spacing: 2.4px;
    }

    .services-page-heading h2 {
        margin-bottom: 10px;
        font-size: 30px;
        line-height: 1.16;
    }

    .services-page-heading span {
        font-size: 15px;
        line-height: 1.55;
    }

    .services-catalog-grid,
    .services-problems-grid,
    .services-specialty-grid,
    .services-process-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .services-catalog-link {
        padding: 18px;
        gap: 14px;
    }

    .services-catalog-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        font-size: 20px;
        border-radius: 13px;
    }

    .services-catalog-content h3 {
        margin-bottom: 7px;
        font-size: 18px;
    }

    .services-catalog-content p {
        margin-bottom: 11px;
        font-size: 14px;
        line-height: 1.5;
    }

    .services-catalog-content ul {
        display: none;
    }

    .services-catalog-action {
        font-size: 13px;
    }

    .services-problem-card,
    .services-process-card {
        min-height: 0;
        padding: 17px;
        align-items: center;
        gap: 13px;
        border-radius: 15px;
    }

    .services-problem-icon,
    .services-process-number {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        font-size: 16px;
        border-radius: 11px;
    }

    .services-problem-card h3,
    .services-process-card h3 {
        margin-bottom: 4px;
        font-size: 17px;
    }

    .services-problem-card p,
    .services-process-card p {
        font-size: 14px;
        line-height: 1.45;
    }

    .services-specialty-card {
        padding: 18px;
        border-radius: 15px;
    }

    .services-specialty-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 13px;
        font-size: 16px;
        border-radius: 12px;
    }

    .services-specialty-card h3 {
        font-size: 17px;
    }

    .services-specialty-card p {
        font-size: 14px;
        line-height: 1.5;
    }

    .services-brand-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .services-brand-grid a,
    .services-brand-disabled {
        min-height: 58px;
        padding: 12px;
        font-size: 14px;
        border-radius: 13px;
    }

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

    .services-area-chip {
        width: 100%;
        min-width: 0;
        padding: 10px;
        font-size: 13px;
    }

    .services-faq-item summary {
        padding: 17px 46px 17px 17px;
        font-size: 15px;
        line-height: 1.35;
    }

    .services-faq-item summary::after {
        right: 17px;
    }

    .services-faq-item p {
        padding: 0 17px 17px;
        font-size: 14px;
        line-height: 1.55;
    }
}


/* ==========================================
   Small Phones
========================================== */

@media (max-width: 380px) {
    .services-page-heading h2 {
        font-size: 27px;
    }

    .services-catalog-link {
        padding: 15px;
        gap: 12px;
    }

    .services-catalog-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }

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

/* ==========================================================
   SERVICES PAGE CTA BUTTONS — FINAL OVERRIDE
========================================================== */

.services-page-hero-actions {
    width: 100% !important;
    max-width: 900px !important;
    margin: 30px auto 0 !important;

    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
}

.services-page-hero-actions > a {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 56px !important;
    margin: 0 !important;
    padding: 14px 16px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    white-space: nowrap !important;

    border-radius: 14px !important;
    box-shadow: none !important;
}

/* Schedule Service */
.services-page-hero-actions > a:nth-child(1) {
    color: #050713 !important;
    background: var(--lime, #9cff00) !important;
    border: 2px solid var(--lime, #9cff00) !important;
}

/* Text Us */
.services-page-hero-actions > a:nth-child(2) {
    color: #ffffff !important;
    background: transparent !important;
    border: 2px solid var(--lime, #9cff00) !important;
}

/* Call Now */
.services-page-hero-actions > a:nth-child(3) {
    color: #ffffff !important;
    background: transparent !important;
    background-image: none !important;
    border: 2px solid var(--lime, #9cff00) !important;
}

/* Remove global button gradients and shadows */
.services-page-hero-actions > a::before,
.services-page-hero-actions > a::after {
    display: none !important;
    content: none !important;
}

.services-page-hero-actions > a i {
    color: inherit !important;
}

/* Tablet and mobile:
   Schedule Service
   Text Us | Call Now
*/
@media (max-width: 900px) {
    .services-page-hero-actions {
        max-width: 680px !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .services-page-hero-actions > a:nth-child(1) {
        grid-column: 1 / -1 !important;
    }

    .services-page-hero-actions > a:nth-child(2) {
        grid-column: 1 !important;
    }

    .services-page-hero-actions > a:nth-child(3) {
        grid-column: 2 !important;
    }
}

@media (max-width: 560px) {
    .services-page-hero-actions {
        width: 100% !important;
        max-width: 470px !important;
        margin-top: 28px !important;
        gap: 12px !important;
    }

    .services-page-hero-actions > a {
        min-height: 50px !important;
        padding: 12px 8px !important;
        font-size: 14px !important;
        border-radius: 14px !important;
    }
}