/* =====================================================================
   Contact page hero (.ct-hero) — centred headline + three "ways to reach us" cards.
   The form section below still uses the shared .rv-* styles from reviews.css.
   ===================================================================== */
.hm .ct-hero { text-align: center; padding-bottom: clamp(48px, 6vw, 80px); background:
    radial-gradient(50% 60% at 50% 0%, rgba(20, 184, 166, .16) 0%, rgba(20, 184, 166, 0) 70%),
    radial-gradient(30% 40% at 0% 80%, rgba(134, 239, 172, .25) 0%, rgba(134, 239, 172, 0) 70%),
    radial-gradient(30% 40% at 100% 70%, rgba(253, 230, 138, .3) 0%, rgba(253, 230, 138, 0) 70%),
    linear-gradient(180deg, #f6fdfb 0%, #ffffff 100%); }
.ct-hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.ct-hero-inner .hm-hero-title { font-size: clamp(2.8rem, 6vw, 4.6rem); }
.ct-hero-inner .hm-hero-sub { margin-left: auto; margin-right: auto; max-width: 580px; }

.ct-live { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #22c55e; }
.ct-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #22c55e; opacity: 0; animation: hm-ping 2s ease-out infinite; }

/* Chat bubbles drifting in the background */
.ct-bubbles { position: absolute; inset: 0; pointer-events: none; }
.ct-bubble { position: absolute; padding: 10px 16px; border-radius: 18px 18px 18px 4px; background: #fff; border: 1px solid var(--line, #e2e8f0); box-shadow: 0 14px 30px -18px rgba(15, 23, 42, .3); font: 600 .88rem var(--font-ui, 'Inter', sans-serif); color: var(--ink-2, #334155); white-space: nowrap; opacity: 0; animation: ct-bubble-in .7s cubic-bezier(.34, 1.56, .64, 1) forwards, ct-bob 6s ease-in-out infinite; }
.ct-bubble.is-reply { border-radius: 18px 18px 4px 18px; background: linear-gradient(135deg, #14b8a6, #0f766e); border-color: transparent; color: #fff; }
.ct-b1 { left: 7%; top: 18%; animation-delay: .5s, 0s; }
.ct-b2 { left: 11%; top: 34%; animation-delay: 1.1s, -2s; }
.ct-b3 { right: 8%; top: 22%; animation-delay: 1.7s, -1s; }
.ct-b4 { right: 12%; top: 38%; animation-delay: 2.3s, -3s; }
@keyframes ct-bubble-in { from { opacity: 0; transform: scale(.5) translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ct-bob { 50% { translate: 0 -8px; } }

/* Ways to reach us */
.ct-ways { width: 100%; max-width: 980px; margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ct-way { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 26px 24px 22px; border-radius: 24px; text-align: left; text-decoration: none;
    background: #fff; border: 1px solid var(--line, #e2e8f0); box-shadow: 0 20px 44px -28px rgba(15, 23, 42, .35);
    transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s ease, border-color .3s ease;
    animation: ct-way-in .8s cubic-bezier(.16, 1, .3, 1) backwards; }
.ct-way:nth-child(1) { animation-delay: .35s; } .ct-way:nth-child(2) { animation-delay: .5s; } .ct-way:nth-child(3) { animation-delay: .65s; }
@keyframes ct-way-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.ct-way::before { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--ct-tint); opacity: .5; transition: transform .4s ease; }
.ct-way:hover, .ct-way:focus-visible { transform: translateY(-6px); border-color: var(--ct-c); box-shadow: 0 28px 54px -26px var(--ct-shadow); }
.ct-way:hover::before { transform: scale(1.3); }
.ct-way:focus-visible { outline: 3px solid #fbbf24; outline-offset: 3px; }
.ct-way-wa { --ct-c: #22c55e; --ct-tint: #dcfce7; --ct-shadow: rgba(34, 197, 94, .5); --ct-grad: linear-gradient(135deg, #4ade80, #16a34a); }
.ct-way-mail { --ct-c: #0ea5e9; --ct-tint: #e0f2fe; --ct-shadow: rgba(14, 165, 233, .45); --ct-grad: linear-gradient(135deg, #38bdf8, #0369a1); }
.ct-way-form { --ct-c: #14b8a6; --ct-tint: #ccfbf1; --ct-shadow: rgba(20, 184, 166, .5); --ct-grad: linear-gradient(135deg, #2dd4bf, #0f766e); }
.ct-way-icon { position: relative; width: 54px; height: 54px; margin-bottom: 10px; border-radius: 16px; display: grid; place-items: center; background: var(--ct-grad); color: #fff; box-shadow: 0 12px 24px -12px var(--ct-shadow); }
.ct-way-icon svg { width: 24px; height: 24px; }
.ct-way strong { position: relative; font-family: var(--font-h); font-size: 1.2rem; color: var(--ink, #0f172a); }
.ct-way small { position: relative; font-size: .88rem; color: var(--muted, #64748b); overflow-wrap: anywhere; }
.ct-way-go { position: relative; margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font: 700 .9rem var(--font-ui, 'Inter', sans-serif); color: var(--ct-c); }
.ct-way-go svg { width: 16px; height: 16px; transition: transform .25s ease; }
.ct-way:hover .ct-way-go svg { transform: translate(2px, -2px); }

@media (max-width: 992px) {
    .ct-bubbles { display: none; }
}
@media (max-width: 760px) {
    .ct-ways { grid-template-columns: 1fr; }
    .ct-way { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; padding: 18px; }
    .ct-way-icon { margin-bottom: 0; }
    .ct-way strong { flex: 1; }
    .ct-way small, .ct-way-go { flex-basis: 100%; }
    .ct-way-go { margin-top: 2px; }
}
@media (prefers-reduced-motion: reduce) {
    .ct-bubble, .ct-way { animation: none; opacity: 1; }
}
