/**
 * Sky Toolkit — Contact widget styles.
 *
 * Loaded in both the Elementor editor preview and the frontend via the widget's
 * get_style_depends(). No outer width/padding — the Elementor container controls
 * both. Fonts inherit from the BuddyBoss theme.
 */
.sky-contact {
	--sky-c-red: #ED1B24;
	--sky-c-red-d: #c8141b;
	--sky-c-red-tint: #FEECEC;
	--sky-c-navy: #16264A;
	--sky-c-line: #e7e9ee;
	--sky-c-line-2: #f0f2f6;
	--sky-c-faint: #9aa3b2;
	--sky-c-muted: #5b6577;
	width: 100%;
	line-height: 1.55;
	color: #1c2333;
}
.sky-contact *, .sky-contact *::before, .sky-contact *::after { box-sizing: border-box; }

/* ---- Section head ---- */
.sky-contact-head { margin-bottom: 48px; max-width: 720px; }
.sky-contact-eyebrow { font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-c-red); margin: 0 0 12px; }
.sky-contact-title { font-weight: 900; color: var(--sky-c-navy); font-size: clamp(38px, 5.5vw, 60px); line-height: .98; letter-spacing: -.02em; margin: 0 0 16px; }
.sky-contact-intro { font-size: 18px; color: var(--sky-c-muted); margin: 0; text-wrap: pretty; max-width: 640px; }

/* ---- Split: form + aside ---- */
.sky-contact-split { display: grid; grid-template-columns: 1.45fr 1fr; gap: 28px; align-items: start; }
.sky-contact-panel { background: #fff; border: 1px solid var(--sky-c-line); border-radius: 24px; box-shadow: 0 16px 40px rgba(22,38,74,.08); }
.sky-contact-formcard { padding: 40px 40px 36px; }
.sky-contact-formcard h2 { font-weight: 800; font-size: 30px; color: var(--sky-c-navy); margin: 0 0 4px; letter-spacing: -.01em; }
.sky-contact-formsub { font-size: 16px; color: var(--sky-c-muted); margin: 0 0 24px; }
/* Drop-zone: gives the empty container a clear target in the editor. */
.sky-contact-formslot { min-height: 40px; }
.sky-contact-formslot > .elementor-element { width: 100%; }

/* ---- Aside ---- */
.sky-contact-aside { display: flex; flex-direction: column; gap: 24px; }
.sky-contact-call { background: var(--sky-c-navy); border-radius: 24px; padding: 36px 34px; color: #fff; position: relative; overflow: hidden; box-shadow: 0 18px 44px rgba(22,38,74,.22); }
.sky-contact-pat { position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(rgba(255,255,255,.10) 1.5px, transparent 1.6px); background-size: 16px 16px; }
.sky-contact-call > *:not(.sky-contact-pat) { position: relative; }
.sky-contact-call-label { font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #ff8b90; margin: 0 0 14px; }
.sky-contact-phone { font-weight: 900; font-size: 34px; letter-spacing: -.02em; color: #fff; text-decoration: none; line-height: 1; display: inline-block; }
.sky-contact-phone:hover { color: #ffd9da; }
.sky-contact-call-note { font-size: 14.5px; color: rgba(255,255,255,.72); margin: 14px 0 0; }
.sky-contact-hours { display: flex; align-items: center; gap: 9px; margin-top: 22px; font-size: 14px; color: rgba(255,255,255,.9); font-weight: 600; }
.sky-contact-dot { width: 9px; height: 9px; border-radius: 50%; background: #3fe08a; box-shadow: 0 0 0 4px rgba(63,224,138,.22); flex: none; }

.sky-contact-rows { padding: 28px 30px; }
.sky-contact-crow { display: flex; align-items: center; gap: 15px; padding: 15px 0; border-bottom: 1px solid var(--sky-c-line-2); text-decoration: none; }
.sky-contact-crow:first-child { padding-top: 4px; }
.sky-contact-crow:last-child { border-bottom: none; padding-bottom: 4px; }
.sky-contact-ic { width: 44px; height: 44px; border-radius: 13px; background: var(--sky-c-red-tint); color: var(--sky-c-red); display: flex; align-items: center; justify-content: center; flex: none; }
.sky-contact-ic svg { width: 21px; height: 21px; }
.sky-contact-ct-label { font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--sky-c-faint); margin: 0 0 2px; }
.sky-contact-ct-val { font-weight: 700; font-size: 15.5px; color: var(--sky-c-navy); margin: 0; }
.sky-contact-crow[href]:hover .sky-contact-ct-val { color: var(--sky-c-red); }

.sky-contact-socials { display: flex; gap: 12px; flex-wrap: wrap; }
.sky-contact-socials a { width: 48px; height: 48px; border-radius: 14px; background: #fff; border: 1px solid var(--sky-c-line); display: flex; align-items: center; justify-content: center; color: var(--sky-c-navy); transition: transform .14s, color .14s, border-color .14s, box-shadow .14s; }
.sky-contact-socials a:hover { transform: translateY(-3px); color: var(--sky-c-red); border-color: var(--sky-c-red-tint); box-shadow: 0 10px 22px rgba(22,38,74,.10); }
.sky-contact-socials svg { width: 22px; height: 22px; }

/* ---- Locations ---- */
.sky-contact-loc-head { margin: 96px 0 36px; max-width: 720px; }
.sky-contact-loc-head .sky-contact-eyebrow { color: var(--sky-c-navy); }
.sky-contact-loc-head h2 { font-weight: 900; color: var(--sky-c-navy); font-size: clamp(30px, 4vw, 44px); line-height: 1; letter-spacing: -.02em; margin: 0 0 12px; }
.sky-contact-loc-intro { font-size: 17px; color: var(--sky-c-muted); margin: 0; }

.sky-contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sky-contact-card { background: #fff; border: 1px solid var(--sky-c-line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 16px 40px rgba(22,38,74,.08); transition: transform .18s ease, box-shadow .18s ease; }
.sky-contact-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(22,38,74,.13); }
.sky-contact-media { position: relative; height: 184px; display: block; }
.sky-contact-media img, .sky-contact-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sky-contact-pin { position: absolute; top: 16px; left: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.94); color: var(--sky-c-navy); font-weight: 800; font-size: 12.5px; padding: 8px 14px; border-radius: 999px; box-shadow: 0 6px 16px rgba(22,38,74,.18); }
.sky-contact-pin svg { width: 15px; height: 15px; color: var(--sky-c-red); flex: none; }
.sky-contact-card-body { padding: 24px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.sky-contact-centre-name { font-weight: 800; font-size: 25px; color: var(--sky-c-navy); margin: 0 0 14px; letter-spacing: -.01em; }
.sky-contact-addr { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; color: #3a4458; margin: 0 0 22px; }
.sky-contact-addr svg { width: 18px; height: 18px; color: var(--sky-c-red); flex: none; margin-top: 2px; }
.sky-contact-dir { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 700; font-size: 15px; color: var(--sky-c-navy); background: #f6f7f9; padding: 12px 22px; border-radius: 999px; transition: background .15s, color .15s; }
.sky-contact-dir:hover { background: var(--sky-c-red); color: #fff; }
.sky-contact-dir svg { width: 16px; height: 16px; }

.sky-contact-grid--nophoto .sky-contact-card-body { text-align: center; align-items: center; padding-top: 30px; }
.sky-contact-grid--nophoto .sky-contact-addr { justify-content: center; text-align: left; }
.sky-contact-grid--nophoto .sky-contact-dir { align-self: center; }

@media (max-width: 940px) {
	.sky-contact-split { grid-template-columns: 1fr; }
	.sky-contact-grid { grid-template-columns: 1fr; max-width: 460px; }
}
@media (max-width: 600px) {
	.sky-contact-formcard { padding: 30px 24px 28px; }
}
