/* ==========================================================================
   Anan Early Years – Contact
   Builds on style.css (contact card, form, fields, chips) + inner.css
   ========================================================================== */

/* ---------- Quick contact cards ---------- */
.quick-contact {
    position: relative;
    z-index: 2;
    margin-top: -70px;
}

.qc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.qc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    padding: 28px 24px;
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: translate .5s var(--ease), box-shadow .4s;
}

.qc-card::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--c) 12%, #fff);
    transition: scale .7s var(--ease);
}

.qc-card:hover {
    translate: 0 -8px;
    box-shadow: var(--shadow);
}

.qc-card:hover::before {
    scale: 1.6;
}

.qc-card > * {
    position: relative;
}

.qc-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 22px;
    color: #fff;
    background: var(--c);
    box-shadow: 0 12px 22px -12px var(--c);
    transition: rotate .5s var(--ease);
}

.qc-card:hover .qc-icon {
    rotate: -8deg;
}

.qc-card h2 {
    margin-bottom: 6px;
    font-size: 1.2rem;
}

.qc-card p {
    flex: 1;
    margin-bottom: 14px;
    font-size: 14.5px;
    line-height: 1.55;
}

.qc-lines {
    display: grid;
    gap: 6px;
}

.qc-lines span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qc-lines a {
    font-weight: 600;
    color: var(--ink);
    word-break: break-all;
}

.qc-lines a:hover {
    color: var(--purple-deep);
}

.qc-copy {
    border: 0;
    background: none;
    cursor: pointer;
}

.qc-lines .qc-copy {
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 13px;
    color: var(--purple-deep);
    background: var(--purple-soft);
    transition: background .3s, color .3s;
}

.qc-lines .qc-copy:hover,
.qc-copy.copied {
    color: #fff;
    background: var(--purple-deep);
}

.qc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 600;
    color: color-mix(in srgb, var(--c) 75%, #2f2a3a);
    transition: gap .3s var(--ease);
}

.qc-link:hover {
    gap: 14px;
    color: color-mix(in srgb, var(--c) 75%, #2f2a3a);
}

.copy-toast {
    position: fixed;
    left: 50%;
    bottom: 30px;
    z-index: 1000;
    margin: 0;
    padding: 12px 22px;
    border-radius: 40px;
    background: var(--purple-ink);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow);
    translate: -50% 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, translate .4s var(--ease);
}

.copy-toast.show {
    translate: -50% 0;
    opacity: 1;
}

.copy-toast i {
    margin-right: 8px;
    color: var(--yellow);
}

@media (max-width: 1199px) {
    .qc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .qc-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* ---------- Hours + form ---------- */
.page-contact .contact {
    background: transparent;
}

.open-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0 0;
    padding: 8px 16px;
    border-radius: 40px;
    background: rgba(255, 255, 255, .14);
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.os-dot {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--yellow);
}

.open-status.is-open .os-dot {
    background: #4ade80;
}

.open-status.is-open .os-dot::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid #4ade80;
    animation: osPulse 1.8s ease-out infinite;
}

@keyframes osPulse {
    from { scale: .6; opacity: 1; }
    to { scale: 1.6; opacity: 0; }
}

.contact-info .hours {
    gap: 10px;
    margin-top: 26px;
}

.contact-info .hours li {
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid transparent;
    transition: background .4s, border-color .4s;
}

.contact-info .hours li > span {
    width: auto;
    height: auto;
    display: block;
    background: none;
    color: inherit;
    flex-shrink: 1;
}

.contact-info .hours strong {
    color: #fff;
    text-align: right;
}

.contact-info .hours li.today {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .35);
}

.contact-info .hours li.today > span::after {
    content: "Today";
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--purple-ink);
    background: var(--yellow);
}

.hours-note {
    position: relative;
    z-index: 1;
    margin: 24px 0 0;
    font-size: 14.5px;
    line-height: 1.6;
}

.hours-note i {
    margin-right: 8px;
    color: var(--yellow);
}

.form-intro {
    margin: -14px 0 22px;
    font-size: 14.5px;
}

/* ---------- Map ---------- */
.visit {
    background: #fff;
}

.map-wrap {
    position: relative;
}

.map-frame {
    overflow: hidden;
    height: 480px;
    border-radius: 32px;
    background: var(--purple-soft);
    box-shadow: var(--shadow);
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: saturate(.85);
}

.map-card {
    position: absolute;
    top: 30px;
    right: 30px;
    width: min(400px, calc(100% - 60px));
    padding: 30px;
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--shadow);
}

.mc-pin {
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    border-radius: 50% 50% 50% 8px;
    display: grid;
    place-items: center;
    font-size: 20px;
    color: #fff;
    background: var(--rainbow);
    animation: pinBob 2.4s ease-in-out infinite;
}

@keyframes pinBob {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -6px; }
}

.map-card h3 {
    margin-bottom: 6px;
    font-size: 1.35rem;
}

.map-card p {
    margin-bottom: 20px;
    font-size: 15px;
}

.mc-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mc-btns .btn-anan,
.mc-btns .btn-ghost {
    padding: 12px 20px;
    font-size: 14px;
}

.mc-btns .btn-ghost.copied {
    border-color: var(--teal);
    color: #2f8f7f;
}

.corp-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 40px;
    margin-top: 30px;
    padding: 26px 32px;
    border-radius: 26px;
    background: var(--cream);
    border: 1px solid var(--line);
}

.corp-head {
    display: flex;
    align-items: center;
    gap: 16px;
}

.corp-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 22px;
    color: var(--purple-deep);
    background: var(--purple-soft);
}

.corp-head small {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--pink);
}

.corp-head h3 {
    margin: 0;
    font-size: 1.25rem;
}

.corp-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 15px;
}

.corp-list i {
    margin-right: 8px;
    color: var(--purple);
}

.corp-list a {
    font-weight: 600;
    color: var(--ink);
}

.corp-list a:hover {
    color: var(--purple-deep);
}

@media (max-width: 767px) {
    .map-frame {
        height: 340px;
        border-radius: 24px;
    }

    .map-card {
        position: relative;
        top: auto;
        right: auto;
        width: auto;
        margin: -60px 14px 0;
    }

    .corp-card {
        padding: 24px;
    }
}

/* ---------- Follow ---------- */
.follow {
    padding: 0 0 110px;
    background: #fff;
}

.follow-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 50px 56px;
    border-radius: 36px;
    color: rgba(255, 255, 255, .85);
    background:
        radial-gradient(45% 60% at 90% 10%, rgba(240, 138, 176, .4), transparent 70%),
        radial-gradient(45% 60% at 5% 95%, rgba(123, 184, 174, .35), transparent 70%),
        linear-gradient(135deg, #34175a, #6b3fa0);
}

.follow-card h2 {
    margin: 4px 0 8px;
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.follow-card p {
    margin: 0;
}

.follow-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.follow-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 40px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    transition: background .35s, border-color .35s, translate .4s var(--ease);
}

.follow-links a:hover {
    color: #fff;
    background: var(--c);
    border-color: var(--c);
    translate: 0 -4px;
}

@media (max-width: 575px) {
    .follow-card {
        padding: 36px 26px;
    }
}
