/* ============================================================================
   Riela Kids - Contact Page Styles
   Page-only styles for contact.php. Shared tokens/buttons live in
   riela-home.css (--pink, --purple, --blush, .r-btn, .r-script, etc.)
   ============================================================================ */

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.r-ct-hero {
    background: var(--blush);
}

.r-cth {
    display: grid;
    gap: 16px;
    justify-items: center;
    text-align: center;
    padding-block: 36px 16px;
}

/* Breadcrumb (same look as About page) */
.r-crumbs {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: var(--muted);
    font-family: var(--r-body);
    padding-block: 20px 0;
}

.r-crumbs a {
    color: var(--muted);
    text-decoration: none;
}

.r-crumbs a:hover {
    color: var(--pink-dk);
}

.r-crumbs b {
    color: var(--purple);
}

.r-cth .r-crumbs {
    justify-self: center;
}

.r-cth h1 {
    font-size: clamp(40px, 5.6vw, 68px);
    color: var(--purple);
}

.r-cth h1 .r-script {
    display: block;
    font-size: 0.66em;
    line-height: 1.4;
}

.r-cth .r-lead {
    margin: 0 auto;
}

/* Quick-action cards */
.r-quick {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 960px;
    margin-top: 10px;
}

.r-qk {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: 24px;
    padding: 16px 18px;
    text-align: left;
    box-shadow: 0 8px 22px rgba(118, 63, 157, .1);
    border: 2px solid transparent;
    transition: transform .2s, border-color .2s;
}

.r-qk:hover {
    transform: translateY(-3px);
    border-color: var(--pink);
}

.r-qi {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--lilac);
    color: var(--purple);
    display: grid;
    place-items: center;
    flex: none;
}

.r-qi svg {
    width: 24px;
    height: 24px;
}

.r-qk-wa .r-qi {
    background: #25A35A;
    color: #fff;
}

.r-qk > span:last-child {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.r-qk b {
    font-family: var(--r-head);
    font-weight: 600;
    font-size: 17px;
    color: var(--purple);
    line-height: 1.2;
}

.r-qk small {
    font-size: 13.5px;
    color: var(--muted);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   Showroom card + map
   -------------------------------------------------------------------------- */
.r-cmain {
    display: grid;
    gap: 32px;
    align-items: start;
}

/* No enquiry form: centre the showroom + map column */
.r-cmain-solo {
    max-width: 720px;
    margin: 0 auto;
}

.r-side2 {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.r-dcard {
    background: #fff;
    border: 2px solid var(--line);
    border-radius: var(--r-radius);
    overflow: hidden;
}

.r-dimg {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.r-dimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.r-dbody {
    padding: 22px;
    display: grid;
    gap: 16px;
    justify-items: start;
}

.r-dbody .r-pill {
    font-size: 13px;
}

.r-dl {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
    width: 100%;
}

.r-dl li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 15px;
    position: relative;
}

.r-dl li > svg {
    width: 22px;
    height: 22px;
    color: var(--pink);
    flex: none;
    margin-top: 2px;
}

.r-dl b {
    display: block;
    font-family: var(--r-head);
    font-weight: 600;
    font-size: 16.5px;
    color: var(--purple);
}

.r-sel {
    user-select: all;
}

.r-open {
    position: absolute;
    right: 0;
    top: 0;
    font-style: normal;
    font-weight: 800;
    font-size: 12px;
    border-radius: 20px;
    padding: 3px 10px;
}

.r-open.r-yes {
    background: #E8F7EE;
    color: #1E8A4C;
}

.r-open.r-no {
    background: #FDECEC;
    color: #C0392B;
}

.r-btn-sm {
    padding: 11px 20px;
    font-size: 15.5px;
    box-shadow: none;
}

.r-map {
    background: #fff;
    border: 2px solid var(--line);
    border-radius: var(--r-radius);
    overflow: hidden;
}

.r-map iframe {
    width: 100%;
    height: 320px;
    border: 0;
    display: block;
}

/* --------------------------------------------------------------------------
   Quick answers accordion
   -------------------------------------------------------------------------- */
.r-faqw {
    max-width: 900px;
}

.r-cen {
    text-align: center;
    margin-bottom: 28px;
}

.r-faqs {
    display: grid;
    gap: 12px;
}

.r-faqs details {
    background: #fff;
    border-radius: 20px;
    padding: 4px 22px;
}

.r-faqs summary {
    cursor: pointer;
    list-style: none;
    font-family: var(--r-head);
    font-weight: 600;
    font-size: 19px;
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.r-faqs summary::-webkit-details-marker {
    display: none;
}

.r-faqs summary::after {
    content: "+";
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--lilac);
    color: var(--purple);
    display: grid;
    place-items: center;
    flex: none;
    font-size: 20px;
}

.r-faqs details[open] summary::after {
    content: "\2212";
    background: var(--pink);
    color: #fff;
}

.r-faqs details p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 16px;
}

.r-more {
    text-align: center;
    margin-top: 24px;
}

.r-link2 {
    font-weight: 800;
    color: var(--purple);
    border-bottom: 2px solid var(--pink);
}

/* --------------------------------------------------------------------------
   Social
   -------------------------------------------------------------------------- */
.r-social {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: center;
}

.r-social > div:first-child {
    display: grid;
    gap: 10px;
}

.r-sbtns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.r-sb {
    display: flex;
    gap: 12px;
    align-items: center;
    background: var(--c);
    border-radius: 22px;
    padding: 18px;
    transition: transform .2s;
}

.r-sb:hover {
    transform: translateY(-3px);
}

.r-sb svg {
    width: 26px;
    height: 26px;
    color: var(--purple);
    flex: none;
}

.r-sb > span {
    display: grid;
    min-width: 0;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--muted);
}

.r-sb b {
    font-family: var(--r-head);
    font-weight: 600;
    font-size: 16px;
    color: var(--purple);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1040px) {
    .r-quick {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
}

@media (max-width: 860px) {
    .r-social {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 680px) {
    .r-cth {
        padding-block: 28px 12px;
    }
    .r-sbtns {
        grid-template-columns: 1fr;
    }
    .r-faqs details {
        padding: 2px 16px;
    }
    .r-faqs summary {
        font-size: 17px;
    }
}
