* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #17233b;
    background: white;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

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


/* HEADER */

.site-header {
    border-bottom: 1px solid #d9dee8;
    background: white;
}

.header-inner {
    max-width: 1080px;
    margin: 0 auto;
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0 20px;
}

.site-name {
    font-size: 23px;
    font-weight: 600;
    white-space: nowrap;
}

.header-contact {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: #48658e;
}

.main-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 28px;
}


/* HOME DROPDOWN */

.nav-dropdown {
    position: relative;
}

.nav-dropdown summary {
    list-style: none;
}

.nav-dropdown summary::-webkit-details-marker {
    display: none;
}

.home-link {
    color: #0876df;
    font-size: 14px;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    line-height: 1;

    cursor: pointer;

    user-select: none;
}

.dropdown-caret {
    display: inline-block;

    width: 6px;
    height: 6px;

    border-right: 1.5px solid #0876df;
    border-bottom: 1.5px solid #0876df;

    transform: rotate(45deg);

    margin-top: -3px;

    transition: transform 0.15s ease;
}


/* ROTATE ARROW WHEN MENU IS OPEN */

.nav-dropdown[open] .dropdown-caret {
    transform: rotate(225deg);
    margin-top: 3px;
}


/* DROPDOWN MENU */

.dropdown-menu {
    position: absolute;

    top: calc(100% + 14px);
    right: 0;

    min-width: 180px;

    padding: 8px 0;

    background: white;

    border: 1px solid #d9dee8;
    border-radius: 6px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);

    z-index: 1000;
}

.dropdown-menu a {
    display: block;

    padding: 10px 18px;

    color: #17233b;
    font-size: 14px;

    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: #f4f6f9;
    color: #0876df;
}


/* BLUE BOOK BUTTON */

.book-button {
    display: inline-block;
    background: #0878df;
    color: white;
    font-weight: 700;
    padding: 12px 29px;
    border-radius: 30px;
    text-align: center;
    min-width: 124px;
}

.book-button:hover {
    background: #066ac5;
}


/* MAIN PAGE WIDTH */

main {
    width: 100%;
}

.hero,
.content-section {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}


/* HERO IMAGE */

.hero {
    position: relative;
    margin-top: 20px;
    height: 258px;
    overflow: hidden;
}

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

    /*
       Controls which vertical part of the original photograph
       remains visible after it is cropped into the banner.
       Higher percentage = look farther DOWN the original image.
    */
    object-position: center 65%;
}

.hero h1 {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    color: white;
    font-size: 48px;
    line-height: 1.1;
    font-weight: 700;
}


/* GENERAL CONTENT */

.content-section {
    padding: 22px 0;
}

.content-section h2 {
    margin: 0 0 14px;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 600;
}

.content-section p {
    margin: 0;
    font-size: 15px;
    color: #30466f;
}

.intro-section {
    padding-bottom: 62px;
}


/* BOOKING BANNERS */

.booking-banner {
    max-width: 1012px;
    min-height: 238px;
    margin: 0 auto;
    border-radius: 8px;

    background-size: cover;
    background-position: center;

    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    color: white;
    text-align: center;
    overflow: hidden;
}

.booking-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.33);
}

.booking-banner > * {
    position: relative;
    z-index: 1;
}

.booking-banner h2 {
    margin: 0 0 22px;
    font-size: 34px;
    line-height: 1.2;
}


/* FIRST BOOKING BANNER */

.booking-banner-one {
    background-image: url("images/PianoKeys-scaled.jpg");
    background-position: center;
}


/* SECOND BOOKING AREA */

.booking-area {
    background: #1d1d22;
    padding: 44px 36px;
}

.booking-banner-two {
    max-width: 1642px;
    min-height: 247px;

    background-image: url("images/OldPiano-scaled.jpg");

    /*
       Same idea as object-position on the hero.
       This shifts the visible crop farther down the photograph.
    */
    background-position: center 85%;
}


/* CERTIFICATION SECTION */

.certification {
    padding-top: 44px;
    padding-bottom: 42px;
}

.certification p {
    max-width: 1040px;
}

.certification-images {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    gap: 60px;
    margin-top: 58px;
    min-height: 305px;
}

.certification-seal {
    width: 280px;
}

.headshot {
    width: 270px;
}


/* HOURS / CONTACT */

.info-section {
    background: white;
    border-bottom: 1px solid #d9dee8;
}

.info-inner {
    max-width: 1025px;
    margin: 0 auto;
    padding: 28px 0 42px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 160px;
}

.info-inner h2 {
    margin: 0 0 22px;
    font-size: 24px;
    font-weight: 500;
}

.info-inner p {
    margin: 0 0 26px;
    color: #666;
    line-height: 1.55;
}

.info-inner strong {
    color: #444;
}

.info-inner a {
    color: #666;
}


/* FOOTER */

footer {
    text-align: center;
    padding: 32px 20px;
    font-size: 14px;
    color: #48658e;
}


/* TABLET / PHONE */

@media (max-width: 900px) {

    .header-inner {
        flex-wrap: wrap;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .header-contact {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
    }

    .hero,
    .content-section {
        margin-left: 20px;
        margin-right: 20px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .booking-banner {
        margin-left: 20px;
        margin-right: 20px;
    }

    .certification-images {
        flex-direction: column;
        align-items: center;
    }

    .info-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-left: 28px;
        padding-right: 28px;
    }
}


@media (max-width: 600px) {

    .site-name {
        font-size: 20px;
    }

    .main-nav {
        width: 100%;
        justify-content: space-between;
        margin-left: 0;
    }

    .hero {
        height: 220px;
    }

    .hero h1 {
        left: 20px;
        font-size: 32px;
    }

    .content-section h2 {
        font-size: 25px;
    }

    .booking-banner h2 {
        font-size: 28px;
    }

    .booking-area {
        padding-left: 0;
        padding-right: 0;
    }
}
/* ABOUT PAGE */

.about-page {
    padding-top: 48px;
    padding-bottom: 54px;
}

.about-page h1 {
    margin: 0 0 22px;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 600;
}

.about-page p {
    margin: 0 0 18px;
    font-size: 15px;
    color: #30466f;
}

.signature {
    margin-top: 28px;
    font-style: italic;
}

.about-images {
    margin-top: 52px;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    gap: 60px;
}

.about-headshot {
    width: 270px;
}

.about-seal {
    width: 280px;
}

@media (max-width: 900px) {

    .about-images {
        flex-direction: column;
        align-items: center;
    }

}

@media (max-width: 600px) {

    .about-page h1 {
        font-size: 30px;
    }

}
/* ABOUT PAGE HERO */

.about-hero {
    max-width: 1080px;
    height: 294px;
    margin: 20px auto 0;
    position: relative;
    overflow: hidden;
}

.about-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.about-hero h1 {
    position: absolute;
    left: 30px;
    top: 49%;
    transform: translateY(-50%);
    margin: 0;

    color: white;
    font-size: 52px;
    line-height: 1;
    font-weight: 600;
}


/* ABOUT PAGE CONTENT */

.about-page {
    padding-top: 48px;
    padding-bottom: 54px;
}

.about-page p {
    margin: 0 0 18px;
    font-size: 15px;
    color: #30466f;
}

.signature {
    margin-top: 28px;
    font-style: italic;
}

.about-images {
    margin-top: 52px;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    gap: 60px;
}

.about-headshot {
    width: 270px;
}

.about-seal {
    width: 280px;
}


/* ABOUT PAGE - TABLET */

@media (max-width: 900px) {

    .about-hero {
        margin-left: 20px;
        margin-right: 20px;
    }

    .about-hero h1 {
        left: 30px;
        font-size: 46px;
    }

    .about-images {
        flex-direction: column;
        align-items: center;
    }

}


/* ABOUT PAGE - PHONE */

@media (max-width: 600px) {

    .about-hero {
        height: 220px;
    }

    .about-hero h1 {
        left: 20px;
        font-size: 36px;
    }

}
/* SERVICES HERO */

.services-hero {
    max-width: 1080px;
    height: 320px;
    margin: 20px auto 0;
    position: relative;
    overflow: hidden;
}

.services-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}

.services-hero h1 {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;

    color: white;
    font-size: 48px;
    line-height: 1.25;
    font-weight: 600;
}



/* SERVICES PAGE */

.services-page {
    max-width: 1080px;
    margin: 0 auto;
    padding: 72px 0 70px;
}

.services-title {
    margin: 0 0 72px;
    text-align: center;

    font-size: 44px;
    line-height: 1.2;
    font-weight: 600;
    color: #17233b;
}


/* 3-COLUMN SERVICE GRID */

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

.service-card {
    padding: 42px 36px;
    min-height: 370px;
    border-radius: 8px;
}

.service-card.shaded {
    background: #f5f5f6;
}

.service-card h3 {
    margin: 0 0 18px;

    font-size: 27px;
    line-height: 1.25;
    font-weight: 700;
    color: #17233b;
}

.service-card p {
    margin: 0;

    font-size: 15px;
    line-height: 1.7;
    color: #17233b;
}

.service-card a {
    color: #0876df;
}


/* EVALUATION PARAGRAPH */

.evaluation-text {
    margin: 62px 0 0;
    font-size: 17px;
    line-height: 1.7;
    color: #17233b;
}


/* SERVICES TABLET */

@media (max-width: 900px) {

    .services-hero {
        margin-left: 20px;
        margin-right: 20px;
    }

    .services-hero h1 {
        font-size: 40px;
    }

    .services-page {
        margin-left: 20px;
        margin-right: 20px;
    }

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

}


/* SERVICES PHONE */

@media (max-width: 600px) {

    .services-hero {
        height: 240px;
    }

    .services-hero h1 {
        left: 20px;
        font-size: 30px;
    }

    .services-title {
        font-size: 36px;
        margin-bottom: 42px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        row-gap: 18px;
    }

    .service-card {
        min-height: 0;
    }

    /*
       On one-column mobile layout, keep the alternating-card effect.
    */

    .service-card:nth-child(even) {
        background: white;
    }

}
/* FAQ HERO */

.faq-hero {
    max-width: 1080px;
    height: 262px;
    margin: 20px auto 0;
    position: relative;
    overflow: hidden;
}

.faq-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 82%;
}

.faq-hero h1 {
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);

    margin: 0;
    width: 100%;

    color: white;
    text-align: center;
    font-size: 48px;
    line-height: 1.15;
    font-weight: 500;
}


/* FAQ MAIN AREA */

.faq-section {
    max-width: 1080px;
    margin: 0 auto;
    background: #f5f5f6;
    padding: 88px 0 125px;
}

.faq-grid {
    width: 100%;
    margin: 0;

    padding-left: 30px;
    padding-right: 30px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    column-gap: 54px;
    row-gap: 44px;
}


/* FAQ ITEMS */

.faq-card h2 {
    margin: 0 0 13px;

    font-size: 20px;
    line-height: 1.45;
    font-weight: 600;

    color: #17233b;
}

.faq-card p {
    margin: 0;

    font-size: 15px;
    line-height: 1.7;

    color: #17233b;
}

.faq-card a {
    color: #0876df;
}


/* SERVICE AREA */

.faq-service-area {
    width: 350px;
    margin: 62px auto 0;
}

.faq-service-area h2 {
    margin: 0 0 22px;

    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;

    color: #17233b;
}

.faq-service-area p {
    margin: 0;

    font-size: 15px;
    line-height: 1.75;

    color: #17233b;
}

.faq-service-area a {
    color: #0876df;
}


/* APPOINTMENT PANEL */

.appointment-panel {
    background: white;
    padding: 0 0 24px;
}

.appointment-panel-inner {
    max-width: 1080px;
    min-height: 290px;

    margin: 0 auto;
    padding: 45px 30px;

    background: #f5f5f6;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 80px;
}

.appointment-copy {
    max-width: 700px;
}

.appointment-copy h2 {
    margin: 0 0 25px;

    font-size: 29px;
    line-height: 1.3;
    font-weight: 500;

    color: #17233b;
}

.appointment-copy p {
    margin: 0 0 28px;

    font-size: 15px;
    line-height: 1.7;

    color: #17233b;
}

.appointment-copy a {
    color: #0876df;
}

.appointment-book-button {
    margin-top: 48px;
    margin-right: 125px;
    flex-shrink: 0;
}


/* FAQ TABLET */

@media (max-width: 900px) {

    .faq-hero {
        margin-left: 20px;
        margin-right: 20px;
    }

    .faq-hero h1 {
        font-size: 38px;
    }

    .faq-grid {
        grid-template-columns: 1fr 1fr;

        margin-left: 28px;
        margin-right: 28px;
    }

    .appointment-panel-inner {
        margin-left: 20px;
        margin-right: 20px;
    }

}


/* FAQ PHONE */

@media (max-width: 600px) {

    .faq-hero {
        height: 220px;
    }

    .faq-hero h1 {
        font-size: 31px;
        padding: 0 15px;
    }

    .faq-section {
        padding-top: 55px;
        padding-bottom: 75px;
    }

    .faq-grid {
    grid-template-columns: 1fr;
    row-gap: 34px;
    position: relative;
    left: -8px;
}

    .faq-service-area {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 28px;
    padding-right: 28px;
}

    .appointment-panel-inner {
        min-height: 0;

        flex-direction: column;

        gap: 10px;
    }

    .appointment-book-button {
        margin-top: 0;
        margin-right: 0;
    }

}
/* GALLERY HERO */

.gallery-hero {
    max-width: 1080px;
    height: 152px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.gallery-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gallery-hero h1 {
    position: absolute;
    left: 34px;
    top: 50%;
    transform: translateY(-50%);

    margin: 0;

    color: white;
    font-size: 48px;
    line-height: 1;
    font-weight: 600;
}


/* GALLERY PAGE */

.gallery-page {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px 0 80px;
}

.gallery-intro {
    margin: 0 0 70px;

    font-size: 15px;
    line-height: 1.7;

    color: #30466f;
}


/* GENERAL TWO-COLUMN GALLERY ROW */

.gallery-row {
    display: grid;
    grid-template-columns: 40% 60%;
    align-items: center;

    margin-bottom: 48px;
}

.gallery-row-caption {
    padding: 0 38px 0 42px;
}

.gallery-row-caption p {
    margin: 0;

    font-size: 15px;
    line-height: 1.7;

    color: #30466f;
}


/* CLEANING BEFORE / AFTER */

.cleaning-comparisons {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
}

.cleaning-collage {
    width: auto;
    height: 290px;
    object-fit: contain;
}

/* KEYTOP PHOTOS */

.keytop-row {
    align-items: center;
}

.keytop-images {
    display: flex;
    flex-direction: column;
    gap: 30px;

    padding-right: 30px;
}

.keytop-images img {
    width: 100%;
    max-width: 570px;
    height: auto;

    object-fit: contain;
}


/* REPAIR PHOTOS */

.repair-gallery {
    margin-top: 38px;
}

.repair-gallery > p {
    margin: 0 0 26px;

    font-size: 15px;
    line-height: 1.7;

    color: #30466f;
}

.repair-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.repair-photo-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;

    object-fit: cover;
}


/* CLICKABLE GALLERY IMAGES */

.lightbox-image {
    cursor: zoom-in;
}


/* FULL-SCREEN LIGHTBOX */

body.lightbox-open {
    overflow: hidden;
}

.lightbox {
    position: fixed;
    inset: 0;

    z-index: 9999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 45px;

    background: rgba(0, 0, 0, 0.9);

    cursor: zoom-out;
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: 95vw;
    max-height: 90vh;

    width: auto;
    height: auto;

    object-fit: contain;

    cursor: default;
}

.lightbox-close {
    position: fixed;
    top: 18px;
    right: 28px;

    z-index: 10000;

    padding: 0;

    border: 0;
    background: transparent;

    color: white;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 46px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;
}


/* GALLERY TABLET */

@media (max-width: 900px) {

    .gallery-hero {
        margin-left: 20px;
        margin-right: 20px;
    }

    .gallery-page {
        margin-left: 20px;
        margin-right: 20px;
    }

    .gallery-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gallery-row-caption {
        padding: 0;
    }

    .cleaning-comparisons {
        justify-content: flex-start;
    }

    .keytop-images {
        padding-right: 0;
    }

}


/* GALLERY PHONE */

@media (max-width: 600px) {

    .gallery-hero h1 {
        left: 20px;
        font-size: 38px;
    }

    .cleaning-comparisons {
        flex-wrap: wrap;
        gap: 20px;
    }

    .repair-photo-grid {
        grid-template-columns: 1fr;
    }

    .lightbox {
        padding: 20px;
    }

}
/* MY CLIENTS PAGE */

/* HERO */

.clients-hero {
    max-width: 1080px;
    height: 252px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.clients-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.clients-hero h1 {
    position: absolute;
    left: 45px;
    top: 50%;
    transform: translateY(-50%);

    margin: 0;

    color: white;
    font-size: 46px;
    line-height: 1.15;
    font-weight: 600;
}


/* CLIENT LIST */

.clients-page {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px 0 52px;

    color: #30466f;
}

.clients-page > p {
    margin: 0 0 23px;

    font-size: 15px;
    line-height: 1.7;
}

.clients-list {
    margin: 0 0 20px;
    padding-left: 18px;

    font-size: 15px;
    line-height: 1.6;

    color: #30466f;
}

.clients-list li {
    padding-left: 2px;
}

.clients-page .gaither-line {
    margin-bottom: 0;
}


/* TABLET */

@media (max-width: 900px) {

    .clients-hero,
    .clients-page {
        margin-left: 20px;
        margin-right: 20px;
    }

    .clients-hero h1 {
        font-size: 38px;
    }

}


/* PHONE */

@media (max-width: 600px) {

    .clients-hero {
        height: 220px;
    }

    .clients-hero h1 {
        left: 20px;
        right: 20px;
        font-size: 31px;
    }

}
/* TESTIMONIALS PAGE */


/* HERO */

.testimonials-hero {
    max-width: 1080px;
    height: 240px;
    margin: 20px auto 0;

    position: relative;
    overflow: hidden;
}

.testimonials-hero img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 18%;
}

.testimonials-hero h1 {
    position: absolute;

    left: 30px;
    top: 50%;

    transform: translateY(-50%);

    margin: 0;

    color: white;

    font-size: 48px;
    line-height: 1;
    font-weight: 600;
}


/* TESTIMONIAL GRID */

.testimonials-page {
    max-width: 1020px;

    margin: 0 auto;

    padding: 28px 0 72px;
}

.testimonials-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    column-gap: 22px;
    row-gap: 58px;

    align-items: start;
}


/* INDIVIDUAL TESTIMONIAL */

.testimonial-card {
    background: #f5f5f6;

    border-radius: 7px;

    padding: 27px 28px 24px;

    color: #17233b;
}

.testimonial-card h2 {
    margin: 0 0 20px;

    font-size: 15px;
    line-height: 1.4;

    font-weight: 700;

    color: #111;
}

.testimonial-card p {
    margin: 0 0 17px;

    font-size: 15px;
    line-height: 1.65;

    color: #17233b;
}

.testimonial-stars {
    margin-top: 6px;
    margin-bottom: 7px;

    color: #ffad00;

    font-size: 18px;
    line-height: 1;

    letter-spacing: 1px;
}

.testimonial-card .testimonial-name {
    margin: 0;

    font-size: 14px;
    line-height: 1.5;

    color: #17233b;
}


/* TABLET */

@media (max-width: 900px) {

    .testimonials-hero {
        margin-left: 20px;
        margin-right: 20px;
    }

    .testimonials-page {
        margin-left: 20px;
        margin-right: 20px;
    }

}


/* PHONE */

@media (max-width: 600px) {

    .testimonials-hero {
        height: 210px;
    }

    .testimonials-hero h1 {
        left: 20px;

        font-size: 38px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;

        row-gap: 24px;
    }

}
/* MOBILE DROPDOWN FIX */
@media (max-width: 600px) {
    .nav-dropdown .dropdown-menu {
        left: 0;
        right: auto;
    }
}
