
/* =========================================
   SANCHA ART STUDIO — CONTACT PAGE
   Clean CSS | Desktop, Tablet & Mobile
========================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: clip;
    font-family: 'Jost', Arial, Helvetica, sans-serif;
}

body {
    color: #292929;
    background: #fff;
}

/* =========================================
   CONTACT SECTION
========================================= */

.contact-section {
    width: 100%;
    padding: 20px 24px 55px;
    background: #fff;
}

.contact-container {
    width: 100%;
    max-width: 1000px;
    min-width: 0;
    margin: 0 auto;
}

/* =========================================
   CONTACT TITLE
========================================= */

.contact-title {
    display: block;
    visibility: visible;
    position: relative;
    margin: 0 0 38px;
    padding: 0;
    color: #292929;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
}

/* =========================================
   CONTACT CARDS
========================================= */

.contact-cards {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
    text-align: center;
}

.contact-card {
    display: block;
    width: 90%;
    min-width: 0;
    height:fit-content;
    margin: 0;
    padding: 23px 18px;
    background: #fff;
    
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.075);
    text-align: left;
    overflow-wrap: anywhere;
}

.contact-card h2 {
    margin: 0 0 12px;
    color: #292929;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.contact-card p {
    margin: 0 0 8px;
    color: #000000;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    overflow-wrap: anywhere;
    word-break: normal;
}

.contact-card .contact-extra {
    margin-top: 22px;
}

.contact-card a {
    color: inherit;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-card a:hover {
    color: #b07843;
}

/* =========================================
   GOOGLE MAP
========================================= */

.contact-map {
    display: block;
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 450px;
    min-width: 0;
    margin: 35px auto 0;
    padding: 0;
    overflow: hidden;
    background: #f5f5f5;
}

.contact-map iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

/* =========================================
   TABLET — 521px to 850px
========================================= */

@media (min-width: 521px) and (max-width: 850px) {
    .contact-section {
        padding: 25px 22px 40px;
    }

    .contact-container {
        max-width: 700px;
    }

    .contact-title {
        margin-bottom: 30px;
        font-size: 25px;
    }

    .contact-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .contact-card {
        min-height: 190px;
        padding: 22px 16px;
    }

    .contact-card h2 {
        font-size: 19px;
    }

    .contact-card p {
        font-size: 14px;
    }

    .contact-map {
        width: 100%;
        height: 350px;
        margin-top: 30px;
    }
}

/* =========================================
   MOBILE — up to 520px
========================================= */

@media (max-width: 520px) {
    .contact-section {
        width: 100%;
        padding: 24px 14px 35px;
    }

    .contact-container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .contact-title {
        display: block;
        visibility: visible;
        margin: 0 0 24px;
        padding: 0;
        font-size: 24px;
        line-height: 1.4;
        text-align: left;
    }

    .contact-cards {
        display: grid;
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .contact-card {
        width: 100%;
        min-width: 0;
        min-height: 0;
        padding: 23px 18px;
        text-align: left;
    }

    .contact-card h2 {
        margin-bottom: 12px;
        font-size: 20px;
        line-height: 1.45;
    }

    .contact-card p {
        margin-bottom: 8px;
        font-size: 14px;
        line-height: 1.8;
    }

    .contact-card .contact-extra {
        margin-top: 20px;
    }

    .contact-map {
        width: 100%;
        max-width: 100%;
        height: 300px;
        margin: 26px auto 0;
    }
}

/* =========================================
   EXTRA SMALL PHONES — up to 360px
========================================= */

@media (max-width: 360px) {
    .contact-section {
        padding-right: 12px;
        padding-left: 12px;
    }

    .contact-title {
        font-size: 23px;
    }

    .contact-card {
        padding: 20px 14px;
    }

    .contact-card h2 {
        font-size: 18px;
    }

    .contact-card p {
        font-size: 13px;
    }

    .contact-map {
        height: 260px;
    }
}

/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}


/* FIX: Contact title hidden behind header */
@media (max-width: 520px) {
    .contact-section {
        padding-top: 20px !important;
        position: relative !important;
        z-index: 1 !important;
    }

    .contact-container {
        position: relative !important;
        z-index: 2 !important;
    }

    .contact-title {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 0 24px !important;
        padding: 0 !important;
        color: #292929 !important;
        font-size: 24px !important;
        line-height: 4.4 !important;
        text-align: left !important;
        transform: none !important;
        clip: auto !important;
        overflow: visible !important;
    }
}



/* =========================================
   CONTACT LAYOUT - 3 EQUAL COLUMNS
========================================= */

.contact-cards {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
}

/* LEFT COLUMN - STUDIO + TIMINGS */

.contact-column {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.contact-card {
    display: block;
    width: 100%;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 23px 18px;
    background: #fff;
 
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.075);
    text-align: left;
    overflow-wrap: anywhere;
}

.contact-card h2 {
    margin: 0 0 12px;
    color: #292929;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.4;
}

.contact-card p {
    margin: 0 0 8px;
    color: #000000;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.contact-card .contact-extra {
    margin-top: 22px;
}

.contact-card a {
    color: inherit;
    text-decoration: none;
}

.contact-card a:hover {
    color: #b07843;
}

/* MAP */

.contact-map {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 300px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    
    background: #f5f5f5;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.075);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* =========================================
   TABLET
========================================= */

@media (min-width: 521px) and (max-width: 850px) {

    .contact-container {
        max-width: 700px;
    }

    .contact-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .contact-column {
        gap: 16px;
    }

    .contact-card {
        padding: 22px 16px;
    }

    .contact-map {
        min-height: 350px;
        grid-column: 1 / -1;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 520px) {

    .contact-cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .contact-column {
        gap: 16px;
    }

    .contact-card {
        width: 100%;
        height: auto;
        padding: 23px 18px;
    }

    .contact-card h2 {
        font-size: 20px;
    }

    .contact-card p {
        font-size: 14px;
    }

    .contact-map {
        width: 100%;
        height: 300px;
        min-height: 300px;
    }
}

/* =========================================
   EXTRA SMALL PHONES
========================================= */

@media (max-width: 360px) {

    .contact-card {
        padding: 20px 14px;
    }

    .contact-card h2 {
        font-size: 18px;
    }

    .contact-card p {
        font-size: 13px;
    }

    .contact-map {
        height: 260px;
        min-height: 260px;
    }
}


/* =========================================
   PREMIUM SANCHA CONTACT CARDS
========================================= */

.contact-card {
 background: radial-gradient(
    ellipse at center,
    #ffffff 0%,
    #f4f4f6 40%,
    #d9d8dd 100%
);
    

     border: 1px solid rgba(255, 255, 255, 0.12);

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 32px rgba(105, 76, 43, 0.15);
}

/* MAP CARD */

.contact-map {
    border: 1px solid rgba(176, 120, 67, 0.2);

    box-shadow:
        0 8px 28px rgba(105, 76, 43, 0.09);
}

/* HEADINGS */

.contact-card h2 {
    color: #000000;
}

/* LINKS */

.contact-card a:hover {
    color: #a36b35;
}
