/*
Theme Name: Southern Cross Services Australia
Theme URI: https://southernsa.com.au/
Author: Southern Cross Services Australia
Description: Custom theme for Southern Cross Services Australia — professional bond, domestic and light commercial cleaning across Brisbane North and Brisbane CBD.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: southern-cross
*/

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: #1b2340;
	background: #ffffff;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: 'Poppins', 'Inter', sans-serif; margin: 0; color: #062363; }
p { margin: 0 0 1em; line-height: 1.7; color: #5c6478; }
button { font-family: inherit; cursor: pointer; }

:root {
	--navy: #062363;
	--navy-light: #0d3596;
	--red: #ea092c;
	--red-dark: #c2071f;
	--bg-soft: #f4f6fb;
	--text: #1b2340;
	--text-muted: #5c6478;
	--border: #e7eaf2;
}

.sc-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--navy);
	color: #fff;
	padding: 10px 18px;
	z-index: 999;
}
.sc-skip-link:focus { left: 10px; top: 10px; }
.sc-sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.sc-container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
}

.sc-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.sc-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 28px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	border: 2px solid transparent;
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
	white-space: nowrap;
}
.sc-btn .sc-icon { width: 18px; height: 18px; }
.sc-btn--red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(234,9,44,.25); }
.sc-btn--red:hover { background: var(--red-dark); transform: translateY(-2px); }
.sc-btn--outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.sc-btn--outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

/* ---------- Type helpers ---------- */
.sc-eyebrow {
	color: var(--red);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.82rem;
	margin: 0 0 12px;
}
.sc-eyebrow--center { text-align: center; }
.sc-h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; line-height: 1.25; }
.sc-h2--light { color: #fff; }
.sc-underline {
	display: block;
	width: 64px;
	height: 4px;
	background: var(--red);
	border-radius: 4px;
	margin-top: 16px;
}
.sc-section__head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.sc-section__head .sc-underline { margin-left: auto; margin-right: auto; }
.sc-section__head--light .sc-underline { margin-left: auto; margin-right: auto; }

.sc-section { padding: 88px 0; }
.sc-section--soft { background: var(--bg-soft); }

.sc-check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin: 24px 0 32px; }
.sc-check-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--text); font-size: 0.97rem; }
.sc-check-list__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 22px; height: 22px; border-radius: 50%;
	background: var(--red); color: #fff; flex-shrink: 0;
}
.sc-check-list__icon .sc-icon { width: 13px; height: 13px; stroke-width: 3; }
.sc-check-list--2col { grid-template-columns: 1fr 1fr; }

/* ---------- Top bar ---------- */
.sc-topbar { background: var(--navy); color: #fff; font-size: 0.85rem; }
.sc-topbar__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 16px; padding: 10px 24px; flex-wrap: wrap;
}
.sc-topbar__contact { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.sc-topbar__contact a, .sc-topbar__area {
	display: inline-flex; align-items: center; gap: 8px; opacity: 0.95;
}
.sc-topbar .sc-icon { width: 15px; height: 15px; }
.sc-topbar__contact a:hover { color: #ffd7dc; }

/* ---------- Header / nav ---------- */
.sc-header {
	background: #fff;
	position: sticky; top: 0; z-index: 100;
	box-shadow: 0 2px 14px rgba(6,35,99,.08);
}
.sc-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 24px; padding: 12px 24px;
}
.sc-logo { flex-shrink: 0; }
.sc-logo__img { height: 64px; width: auto; }

.sc-nav__list { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.sc-nav__list a {
	font-weight: 600; font-size: 0.92rem; letter-spacing: 0.04em;
	text-transform: uppercase; color: var(--navy);
	padding-bottom: 6px; position: relative; display: inline-block;
}
.sc-nav__list li.current-menu-item > a,
.sc-nav__list li.current_page_item > a,
.sc-nav__list a:hover { color: var(--red); }
.sc-nav__list li.current-menu-item > a::after,
.sc-nav__list li.current_page_item > a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0;
	height: 3px; background: var(--red); border-radius: 3px;
}

.sc-nav-toggle {
	display: none; background: none; border: none; color: var(--navy);
	padding: 6px; align-items: center; justify-content: center;
}
.sc-nav-toggle .sc-icon { width: 26px; height: 26px; }
.sc-nav-toggle__close { display: none; }
.sc-nav-toggle.is-open .sc-nav-toggle__open { display: none; }
.sc-nav-toggle.is-open .sc-nav-toggle__close { display: block; }

/* ---------- Hero ---------- */
.sc-hero { padding: 64px 0 80px; background: linear-gradient(180deg, #f7f9fd 0%, #ffffff 100%); }
.sc-hero__inner {
	display: grid; grid-template-columns: 1.05fr 0.95fr;
	gap: 56px; align-items: center;
}
.sc-hero__title {
	font-size: clamp(2.2rem, 4.2vw, 3.1rem);
	font-weight: 800; line-height: 1.15; letter-spacing: -0.01em;
	margin-bottom: 18px;
}
.sc-hero__lead { font-size: 1.05rem; max-width: 46ch; }
.sc-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.sc-hero__media { position: relative; }
.sc-hero__img {
	width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover;
	border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(6,35,99,.35);
}

/* ---------- Services grid ---------- */
.sc-services-grid {
	display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px;
}
.sc-service-card {
	background: #fff; border: 1px solid var(--border); border-radius: 14px;
	padding: 32px 20px; text-align: center;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.sc-service-card:hover {
	transform: translateY(-6px); border-color: transparent;
	box-shadow: 0 20px 40px -18px rgba(6,35,99,.28);
}
.sc-service-card__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 62px; height: 62px; border-radius: 50%;
	background: var(--bg-soft); color: var(--navy); margin-bottom: 18px;
}
.sc-service-card__icon img { width: 34px; height: 34px; object-fit: contain; }
.sc-service-card__icon .sc-icon { width: 30px; height: 30px; }
.sc-service-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.sc-service-card p { font-size: 0.92rem; margin: 0; }

/* ---------- Bond clean checklist section ---------- */
.sc-checklist { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 60px; align-items: center; }
.sc-checklist__media { position: relative; }
.sc-checklist__img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 16px; box-shadow: 0 24px 50px -22px rgba(6,35,99,.35); }
.sc-checklist__card {
	position: absolute; left: -20px; bottom: -28px;
	background: #fff; border-radius: 14px; padding: 22px 24px;
	box-shadow: 0 20px 44px -14px rgba(6,35,99,.35);
	width: min(260px, 78%);
}
.sc-checklist__card-title { display: block; font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--navy); margin-bottom: 12px; font-size: 0.95rem; }
.sc-checklist__card ul { display: flex; flex-direction: column; gap: 8px; }
.sc-checklist__card li { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }
.sc-checklist__card li .sc-icon { width: 15px; height: 15px; color: var(--red); stroke-width: 3; }
.sc-checklist__note { font-style: italic; color: var(--text-muted); margin: -6px 0 28px; }
.sc-checklist__note--center { text-align: center; max-width: 640px; margin: 40px auto 0; }

.sc-feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.sc-feature-row--bordered .sc-feature { padding: 28px; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.sc-feature__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 54px; height: 54px; border-radius: 50%;
	background: var(--bg-soft); color: var(--navy); margin-bottom: 16px;
}
.sc-feature h3 { font-size: 1.05rem; margin-bottom: 8px; }
.sc-feature p { font-size: 0.92rem; margin: 0; }

/* ---------- Why choose us ---------- */
.sc-why { background: var(--navy); color: #fff; padding: 88px 0; position: relative; overflow: hidden; }
.sc-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; z-index: 1; }
.sc-why-item { text-align: center; }
.sc-why-item__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 56px; height: 56px; border-radius: 50%;
	background: rgba(255,255,255,.1); color: #fff; margin-bottom: 16px;
}
.sc-why-item h3 { color: #fff; font-size: 1.05rem; margin-bottom: 8px; }
.sc-why-item p { color: #c3cbe6; font-size: 0.92rem; margin: 0; }

.sc-why-grid--dark-icons .sc-why-item__icon { background: var(--bg-soft); color: var(--navy); }
.sc-why-item--card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 30px 22px; }
.sc-why-item--card h3 { color: var(--navy); }
.sc-why-item--card p { color: var(--text-muted); }

/* ---------- CTA (home) ---------- */
.sc-cta { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.sc-cta__img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: 16px; box-shadow: 0 24px 50px -22px rgba(6,35,99,.3); }
.sc-cta__contacts { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 20px; }
.sc-cta__contacts a, .sc-cta__area {
	display: inline-flex; align-items: center; gap: 10px;
	color: var(--navy); font-weight: 600; font-size: 0.95rem;
}
.sc-cta__contacts a:hover { color: var(--red); }
.sc-cta__contacts .sc-icon, .sc-cta__area .sc-icon { color: var(--red); }

/* ---------- Simple CTA band (interior pages) ---------- */
.sc-cta-simple { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.sc-cta-simple > div:first-child { flex: 1 1 380px; }
.sc-cta-simple p:last-child { margin-bottom: 0; }
.sc-cta-simple__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.sc-footer { background: var(--navy); color: #cfd6ec; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08); }
.sc-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.85rem; }
.sc-footer__inner p { margin: 0; color: inherit; }

/* ---------- Page banner (interior pages) ---------- */
.sc-page-banner { background: var(--navy); padding: 72px 0 56px; text-align: center; }
.sc-page-banner .sc-underline { margin-left: auto; margin-right: auto; }
.sc-page-banner__sub { color: #c3cbe6; max-width: 620px; margin: 18px auto 0; }
.sc-page-banner__sub--dark { color: var(--text-muted); }

/* ---------- Prose (generic pages) ---------- */
.sc-prose { max-width: 780px; margin: 0 auto; }
.sc-prose--center { text-align: center; }
.sc-prose h2 { margin: 1.4em 0 0.6em; }

/* ---------- Split layout (About / Services) ---------- */
.sc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sc-split--reverse { direction: rtl; }
.sc-split--reverse > * { direction: ltr; }
.sc-split__img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: 16px; box-shadow: 0 24px 50px -22px rgba(6,35,99,.3); }
.sc-split__content h2 { margin-bottom: 16px; }

/* ---------- Bond cleaning checklist grid ---------- */
.sc-notice {
	background: var(--bg-soft); border-left: 4px solid var(--red);
	border-radius: 10px; padding: 22px 26px; margin-bottom: 40px;
}
.sc-notice p { font-size: 0.92rem; margin: 0 0 10px; }
.sc-notice p:last-child { margin-bottom: 0; }

.sc-checklist-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.sc-checklist-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 26px 22px; }
.sc-checklist-card h3 { font-size: 1.02rem; margin-bottom: 14px; }
.sc-checklist-card ul { display: flex; flex-direction: column; gap: 10px; }
.sc-checklist-card li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.87rem; color: var(--text-muted); }
.sc-checklist-card li .sc-icon { width: 15px; height: 15px; margin-top: 2px; color: var(--red); stroke-width: 3; flex-shrink: 0; }
.sc-checklist-card__note { font-size: 0.87rem; margin: 0; }

/* ---------- Steps ---------- */
.sc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.sc-step { text-align: center; padding: 8px; }
.sc-step__num {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 50%;
	background: var(--red); color: #fff; font-family: 'Poppins', sans-serif;
	font-weight: 700; margin-bottom: 16px;
}
.sc-step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.sc-step p { font-size: 0.9rem; margin: 0; }

/* ---------- Gallery strip (bond cleaning page) ---------- */
.sc-gallery-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.sc-gallery-strip__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }

/* ---------- Gallery grid (our work page) ---------- */
.sc-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sc-gallery-grid__item {
	position: relative; border: none; padding: 0; background: none;
	border-radius: 14px; overflow: hidden; aspect-ratio: 4/3.2;
}
.sc-gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.sc-gallery-grid__item:hover img { transform: scale(1.06); }
.sc-gallery-grid__caption {
	position: absolute; left: 0; right: 0; bottom: 0;
	background: linear-gradient(0deg, rgba(6,35,99,.88), rgba(6,35,99,0));
	color: #fff; font-size: 0.85rem; font-weight: 600; text-align: left;
	padding: 28px 16px 12px;
	opacity: 0; transform: translateY(6px);
	transition: opacity .2s ease, transform .2s ease;
}
.sc-gallery-grid__item:hover .sc-gallery-grid__caption,
.sc-gallery-grid__item:focus-visible .sc-gallery-grid__caption { opacity: 1; transform: translateY(0); }

.sc-lightbox {
	position: fixed; inset: 0; background: rgba(6,10,25,.92);
	display: flex; align-items: center; justify-content: center;
	z-index: 1000; padding: 32px;
}
.sc-lightbox[hidden] { display: none; }
.sc-lightbox figure { margin: 0; max-width: 90vw; max-height: 88vh; text-align: center; }
.sc-lightbox img { max-width: 90vw; max-height: 80vh; border-radius: 10px; margin: 0 auto; }
.sc-lightbox figcaption { color: #fff; margin-top: 14px; font-size: 0.95rem; }
.sc-lightbox__close {
	position: absolute; top: 24px; right: 24px; background: rgba(255,255,255,.12);
	border: none; color: #fff; width: 44px; height: 44px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
}
.sc-lightbox__close:hover { background: rgba(255,255,255,.25); }

/* ---------- Contact page ---------- */
.sc-contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.sc-contact-info { background: var(--navy); color: #fff; border-radius: 16px; padding: 40px 32px; }
.sc-contact-info h2 { color: #fff; margin-bottom: 24px; }
.sc-contact-info__row { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.sc-contact-info__row:last-of-type { border-bottom: none; }
.sc-contact-info__row strong { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: #9fabd6; font-weight: 600; }
.sc-contact-info__row span span { font-size: 1rem; font-weight: 600; }
.sc-contact-info__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
	background: rgba(255,255,255,.1); color: #fff;
}
.sc-contact-info__badges { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.sc-contact-info__badges span { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: #cfd6ec; }
.sc-contact-info__badges .sc-icon { color: var(--red); }

.sc-contact-form { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 40px 36px; }
.sc-contact-form h2 { margin-bottom: 24px; }

/* Contact Form 7 styling */
.wpcf7-form label { display: block; font-weight: 600; font-size: 0.88rem; color: var(--navy); margin-bottom: 18px; }
.sc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.wpcf7-form-control-wrap { display: block; margin-top: 8px; }
.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form input[type=tel],
.wpcf7-form select,
.wpcf7-form textarea {
	width: 100%; border: 1px solid var(--border); border-radius: 8px;
	padding: 12px 14px; font-family: inherit; font-size: 0.95rem; font-weight: 400;
	color: var(--text); background: #fafbfd; transition: border-color .15s ease;
}
.wpcf7-form input:focus, .wpcf7-form select:focus, .wpcf7-form textarea:focus {
	outline: none; border-color: var(--navy); background: #fff;
}
.wpcf7-form textarea { min-height: 130px; resize: vertical; }
.wpcf7-form .wpcf7-submit {
	background: var(--red); color: #fff; border: none; border-radius: 8px;
	padding: 15px 32px; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em;
	box-shadow: 0 8px 20px rgba(234,9,44,.25); transition: background-color .15s ease, transform .15s ease;
}
.wpcf7-form .wpcf7-submit:hover { background: var(--red-dark); transform: translateY(-2px); }
.wpcf7-form .wpcf7-not-valid-tip { color: var(--red); font-size: 0.8rem; font-weight: 500; margin-top: 4px; }
.wpcf7-form .wpcf7-response-output { border-radius: 8px; font-size: 0.9rem; margin-top: 20px; }
.wpcf7-form.sent .wpcf7-response-output { border-color: #1f9d55; color: #1f9d55; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.sc-services-grid { grid-template-columns: repeat(3, 1fr); }
	.sc-why-grid, .sc-checklist-grid, .sc-steps, .sc-gallery-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
	.sc-hero__inner, .sc-checklist, .sc-cta, .sc-split, .sc-contact-grid { grid-template-columns: 1fr; }
	.sc-split--reverse { direction: ltr; }
	.sc-hero__media { order: -1; }
	.sc-checklist__media { margin-bottom: 56px; }
	.sc-feature-row { grid-template-columns: 1fr; }
	.sc-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
	.sc-topbar__inner { justify-content: center; text-align: center; }
	.sc-nav {
		position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 82vw);
		background: #fff; box-shadow: -10px 0 40px rgba(6,35,99,.2);
		padding: 100px 28px 28px; transform: translateX(100%);
		transition: transform .25s ease; overflow-y: auto; z-index: 90;
	}
	.sc-nav.is-open { transform: translateX(0); }
	.sc-nav__list { flex-direction: column; align-items: flex-start; gap: 22px; }
	.sc-nav-toggle { display: inline-flex; }
	.sc-logo__img { height: 52px; }
	.sc-services-grid { grid-template-columns: repeat(2, 1fr); }
	.sc-why-grid, .sc-checklist-grid, .sc-steps, .sc-gallery-strip { grid-template-columns: 1fr; }
	.sc-checklist__card { position: static; margin-top: -40px; width: calc(100% - 40px); margin-left: auto; margin-right: auto; }
	.sc-section { padding: 64px 0; }
	.sc-form-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
	.sc-services-grid, .sc-gallery-grid { grid-template-columns: 1fr; }
	.sc-check-list { grid-template-columns: 1fr; }
	.sc-hero__title { font-size: 2.1rem; }
	.sc-topbar__contact { flex-direction: column; gap: 6px; align-items: flex-start; }
	.sc-contact-info, .sc-contact-form { padding: 28px 22px; }
}
