/* GARCADE Property Care - front-end styles */

/* ===== Hours warning above the request form ===== */
.gc-hours-warning {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: 8px;
    border-left: 4px solid #C9A227;
    background: #fff8e5;
    color: #5c4300;
    font-family: "DM Sans", "Montserrat", sans-serif;
    font-size: 14px;
    line-height: 1.55;
}

.gc-hours-warning--blocked {
    border-left-color: #dc3545;
    background: #fff1f2;
    color: #7a1c25;
}

.gc-hours-warning strong {
    color: inherit;
}

.gc-hours-warning a {
    color: #8a6a00;
    font-weight: 700;
    text-decoration: underline;
}

.gc-hours-warning--blocked a {
    color: #a3182a;
}

/* ===== Panel: request tabs ===== */
.garcade-form-section .gc-request-tabs {
    display: flex !important;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 24px;
    border-bottom: 1px solid #e2e2e2;
    padding-bottom: 0;
}

.garcade-form-section .gc-request-tab {
    appearance: none;
    border: 1px solid #dcdcdc !important;
    border-bottom: 0 !important;
    background: #f4f4f4 !important;
    color: #222222 !important;
    font-family: "DM Sans", "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 12px 20px !important;
    border-radius: 8px 8px 0 0 !important;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
    width: auto !important;
    flex: 0 1 auto !important;
    text-transform: uppercase;
}

.garcade-form-section .gc-request-tab:hover {
    background: #ececec !important;
    color: #222222 !important;
}

.garcade-form-section .gc-request-tab.is-active {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #E8C86A !important;
}

.gc-tab-panel {
    display: none;
}

.gc-tab-panel.is-active {
    display: block;
}

/* WhatsApp panel inside the white request card */
.gc-whatsapp-panel {
    text-align: center;
    padding: 30px 20px 10px;
}

.gc-whatsapp-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #25D366;
    color: #fff;
    font-size: 30px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, .3);
}

.gc-whatsapp-panel h3 {
    margin: 0 0 10px;
    font-family: "Playfair Display", "Cinzel", serif;
    color: #111111;
    font-size: 24px;
}

.gc-whatsapp-panel p {
    max-width: 520px;
    margin: 0 auto 20px;
    color: #444444;
    font-size: 15px;
    line-height: 1.65;
}

.gc-whatsapp-button {
    display: inline-block;
    background: #25D366;
    color: #ffffff !important;
    text-decoration: none !important;
    font-family: "DM Sans", "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 40px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.gc-whatsapp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(37, 211, 102, .35);
}

.gc-whatsapp-note {
    margin-top: 16px !important;
    color: #888888 !important;
    font-size: 12px !important;
}

/* ===== Home hero: image on the right ===== */
.gc-hero .gc-container {
    position: relative;
}

.gc-hero__inner {
    max-width: none !important;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(28px, 4vw, 60px);
    align-items: center;
}

.gc-hero__inner > *:not(.gc-hero__media) {
    grid-column: 1;
}

.gc-hero__media {
    grid-column: 2;
    grid-row: 1 / span 20;
    align-self: start;
    margin-top: 4px;
    position: relative;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(201, 162, 39, .45);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(201, 162, 39, .12);
    background: #111111;
}

.gc-hero__media img {
    display: block;
    width: 100%;
    height: auto;
}

.gc-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 70px rgba(0, 0, 0, .25);
    pointer-events: none;
}

/* Center the hero text block (desktop and mobile) while keeping the feature list readable. */
.gc-hero__inner > *:not(.gc-hero__media) {
    text-align: center;
}

.gc-hero__badge {
    margin-left: auto;
    margin-right: auto;
}

.gc-hero__cta {
    justify-content: center;
}

.gc-hero__points {
    text-align: left;
}

@media (max-width: 980px) {
    .gc-hero__inner {
        grid-template-columns: 1fr;
    }
    .gc-hero__inner > *:not(.gc-hero__media) {
        grid-column: 1;
    }
    .gc-hero__media {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
        max-width: 720px;
        height: auto;
        min-height: 0;
        margin: 34px auto 0;
    }
}

/* Desktop: 16:9 photo on the right, sized to its column. */
@media (min-width: 981px) {
    .gc-hero .gc-container {
        max-width: 1280px;
    }
    .gc-hero__inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) !important;
        align-items: start;
        gap: clamp(30px, 4vw, 50px);
    }
    .gc-hero__media {
        grid-column: 2;
        grid-row: 1;
        align-self: start;
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
        margin-top: 0;
    }
    .gc-hero__media img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }
    .gc-hero h1 {
        font-size: clamp(2.1rem, 3.6vw, 3rem);
    }
}

/* Center the section headings that were still left-aligned. */
.gc-section .gc-split > div:first-child {
    text-align: center;
}

.gc-section .gc-split > div:first-child .gc-divider {
    margin-left: auto;
    margin-right: auto;
}

/* The shared heading block is capped at 720px: center it on the page too. */
.gc-head.gc-center {
    margin-left: auto !important;
    margin-right: auto !important;
}

.gc-business .gc-head {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.gc-business .gc-head .gc-lead {
    margin-left: auto;
    margin-right: auto;
}

/* ===== Home: non-member CTA ===== */
.gc-nomember-cta {
    margin: 28px 0 0;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    background: linear-gradient(120deg, rgba(201, 162, 39, .14), rgba(201, 162, 39, .03));
    border: 1px solid rgba(201, 162, 39, .45);
    border-radius: 14px;
}

.gc-nomember-cta__copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #CFCFCF;
    font-size: .94rem;
    line-height: 1.5;
}

.gc-nomember-cta__copy strong {
    color: #ffffff;
    font-family: "Cinzel", serif;
    font-size: 1.05rem;
}

.gc-nomember-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, #E8C86A, #C9A227 55%, #8C6E14);
    color: #0A0A0A !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: .9rem;
    line-height: 1.2;
    padding: 14px 24px;
    border-radius: 60px;
    box-shadow: 0 10px 28px rgba(201, 162, 39, .25);
    transition: transform .2s ease, box-shadow .2s ease;
    text-align: center;
}

.gc-nomember-cta__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(201, 162, 39, .38);
}

@media (max-width: 640px) {
    .gc-nomember-cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .gc-nomember-cta__button {
        width: 100%;
    }
}

/* ===== Services catalog on the home page ===== */
.gc-table--services td,
.gc-table--construction td {
    vertical-align: top;
}

.gc-table--services td:last-child,
.gc-table--construction td:last-child {
    text-align: left !important;
    color: #BEBEBE !important;
    font-weight: 400 !important;
}

.gc-table--services td:first-child,
.gc-table--construction td:first-child {
    width: 210px;
}

.gc-service-cats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 28px;
}

.gc-service-cat strong {
    display: block;
    margin-bottom: 2px;
    color: #E8C86A;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.gc-service-cat span {
    display: block;
    color: #BEBEBE;
    font-size: .84rem;
    line-height: 1.55;
}

.gc-construction-list {
    margin: 0;
    padding-left: 18px;
    columns: 2;
    column-gap: 28px;
    color: #BEBEBE;
    font-size: .84rem;
    line-height: 1.55;
}

.gc-construction-list li {
    break-inside: avoid;
    margin-bottom: 5px;
}

.gc-quote-cta {
    margin-top: 32px;
    padding: 26px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
    background: linear-gradient(120deg, rgba(201, 162, 39, .16), rgba(201, 162, 39, .03));
    border: 1px solid rgba(201, 162, 39, .5);
    border-radius: 16px;
}

.gc-quote-cta strong {
    display: block;
    margin-bottom: 4px;
    color: #ffffff;
    font-family: "Cinzel", serif;
    font-size: 1.15rem;
}

.gc-quote-cta p {
    margin: 0;
    color: #CFCFCF;
    font-size: .94rem;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .gc-service-cats {
        grid-template-columns: 1fr;
    }
    .gc-construction-list {
        columns: 1;
    }
    .gc-table--services td:first-child,
    .gc-table--construction td:first-child {
        width: auto;
    }
    .gc-quote-cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .gc-quote-cta .gc-btn {
        width: 100%;
    }
}

/* ===== Custom / quote request panel in the maintenance form ===== */
.gc-custom-info {
    margin: 14px 0 6px;
    padding: 18px 20px;
    border: 1px solid rgba(201, 162, 39, .55);
    border-left: 4px solid #C9A227;
    border-radius: 12px;
    background: linear-gradient(150deg, rgba(201, 162, 39, .12), rgba(255, 255, 255, .55));
}

.gc-custom-info[hidden] {
    display: none !important;
}

.ff-el-group[hidden] {
    display: none !important;
}

.gc-custom-info__head strong {
    display: block;
    margin-bottom: 4px;
    color: #7A5A12;
    font-family: "Cinzel", serif;
    font-size: 1.05rem;
}

.gc-custom-info__head p {
    margin: 0 0 12px;
    color: #4A4A4A;
    font-size: .9rem;
    line-height: 1.55;
}

.gc-custom-info__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 28px;
    max-height: 330px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px 8px 0 0;
    border-top: 1px solid rgba(201, 162, 39, .35);
}

.gc-custom-info__cat {
    margin: 0 0 14px;
}

.gc-custom-info__cat strong {
    display: block;
    margin-bottom: 3px;
    color: #8A6A1F;
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.gc-custom-info__cat ul {
    margin: 0;
    padding-left: 16px;
    color: #555555;
    font-size: .8rem;
    line-height: 1.5;
}

.gc-custom-info__cat li {
    margin-bottom: 2px;
}

@media (max-width: 640px) {
    .gc-custom-info__grid {
        grid-template-columns: 1fr;
        max-height: 300px;
    }
}

/* ===== Property map picker (inside the client modal) ===== */
.gc-map-picker {
    margin: 18px 0 6px;
    padding: 18px;
    border: 1px solid rgba(201, 162, 39, .35);
    border-radius: 10px;
    background: rgba(255, 255, 255, .03);
}

.gc-map-picker__label {
    display: block;
    margin-bottom: 6px;
    color: #E8C86A;
    font-family: "DM Sans", "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 14px;
}

.gc-map-picker__help {
    margin: 0 0 12px;
    color: #CFCFCF;
    font-size: 12.5px;
    line-height: 1.5;
}

.gc-map-picker__search-wrap {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.gc-map-picker__search {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid rgba(201, 162, 39, .45);
    background: #ffffff;
    color: #111111;
    font-size: 14px;
}

.gc-map-picker__locate {
    border: 1px solid #C9A227;
    background: transparent;
    color: #E8C86A;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.gc-map-picker__locate:hover {
    background: #C9A227;
    color: #111111;
}

.gc-map-picker__results {
    display: none;
    margin-top: 6px;
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    overflow: hidden;
    max-height: 190px;
    overflow-y: auto;
}

.gc-map-picker__results.is-open {
    display: block;
}

.gc-map-picker__result {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    border-bottom: 1px solid #eeeeee;
    background: #ffffff;
    color: #222222;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.4;
    cursor: pointer;
}

.gc-map-picker__result:last-child {
    border-bottom: 0;
}

.gc-map-picker__result:hover {
    background: #f6f0dc;
}

.gc-map-picker__map {
    height: 260px;
    margin-top: 12px;
    border-radius: 8px;
    border: 1px solid rgba(201, 162, 39, .35);
    background: #1a1a1a;
    overflow: hidden;
    z-index: 1;
}

.gc-map-picker__coords {
    margin: 8px 0 0;
    color: #CFCFCF;
    font-size: 12px;
    font-family: monospace;
}

.gc-required {
    color: #ff5252;
}

/* Fix Leaflet controls inside a dark modal */
.gc-map-picker .leaflet-control-attribution {
    font-size: 9px;
    background: rgba(255, 255, 255, .75);
}

/* ===== Small screens ===== */
@media (max-width: 640px) {
    .gc-request-tab {
        flex: 1;
        text-align: center;
        padding: 11px 12px;
        font-size: 13px;
    }
    .gc-map-picker__search-wrap {
        flex-direction: column;
    }
    .gc-map-picker__locate {
        width: 100%;
    }
}
