/* ---------------------------------------------------------------------
   Sharp-Rite Contact page (page-templates/sr-contact.php)
   Built on the shared home.css tokens. Scoped to .srh.sct; the extra
   specificity out-ranks the global body.sr-core heading and form rules.
   ------------------------------------------------------------------- */

/* ---- Hero ---------------------------------------------------------- */
.srh.sct .sct-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 260px;
	gap: 40px;
	align-items: center;
	padding: 56px;
	border-radius: var(--srh-r-xl);
	background: var(--srh-dark);
	color: #fff;
}
.srh.sct .sct-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(55% 90% at 100% 0%, rgba(214, 48, 31, .6), transparent 70%),
		radial-gradient(45% 70% at 0% 100%, rgba(255, 207, 58, .16), transparent 70%);
}
.srh.sct .sct-hero .srh-kicker { color: var(--srh-yellow); }
.srh.sct .sct-hero h1 {
	margin-top: 14px;
	max-width: 12ch;
	font: 700 clamp(42px, 5.6vw, 78px) / .94 var(--srh-display);
	letter-spacing: -.045em;
	color: #fff;
}
.srh.sct .sct-lead { margin-top: 20px; max-width: 50ch; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.srh.sct .sct-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.srh.sct .sct-status {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: 22px;
	padding: 9px 15px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .1);
	font-size: 14px;
	font-weight: 600;
	color: #fff;
}
.srh.sct .sct-status i { width: 9px; height: 9px; border-radius: 50%; background: #ff6b5a; }
.srh.sct .sct-status.is-open i { background: #3ddc84; animation: sct-pulse 1.8s ease-out infinite; }
@keyframes sct-pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .7); } 70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.srh.sct .sct-hero__badge {
	justify-self: end;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 230px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--srh-yellow);
	color: var(--srh-ink);
	text-align: center;
	transform: rotate(-8deg);
	box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.srh.sct .sct-hero__badge small { font: 700 13px / 1 var(--srh-text); letter-spacing: .08em; text-transform: uppercase; }
.srh.sct .sct-hero__badge strong { margin: 8px 0 6px; font: 800 66px / .9 var(--srh-display); letter-spacing: -.05em; color: var(--srh-ink); }
.srh.sct .sct-hero__badge strong.is-closed { font-size: 40px; }

/* ---- Ways to reach us ------------------------------------------------ */
.srh.sct .sct-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.srh.sct .sct-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 24px;
	border-radius: var(--srh-r-lg);
	background: #fff;
	color: var(--srh-ink);
	transition: transform .25s, box-shadow .25s;
}
.srh.sct .sct-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0, 0, 0, .08); }
.srh.sct .sct-card__ico {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 14px;
	border-radius: 16px;
	background: var(--srh-ink);
	color: var(--srh-yellow);
}
.srh.sct .sct-card__label { font-size: 13px; font-weight: 600; color: var(--srh-muted); }
.srh.sct .sct-card strong { font: 700 20px / 1.15 var(--srh-display); letter-spacing: -.025em; color: var(--srh-ink); overflow-wrap: anywhere; }
.srh.sct .sct-card__sub { font-size: 14px; color: var(--srh-body); }
.srh.sct .sct-card__go {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 16px;
	font-size: 14px;
	font-weight: 600;
	color: var(--srh-red);
}
.srh.sct .sct-card__go svg { width: 16px; height: 16px; transition: transform .2s; }
.srh.sct .sct-card:hover .sct-card__go svg { transform: translateX(3px); }

/* ---- Hours, social and form ------------------------------------------ */
.srh.sct .sct-main { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 16px; align-items: stretch; }
.srh.sct .sct-side { display: flex; flex-direction: column; gap: 16px; }
.srh.sct .sct-hours,
.srh.sct .sct-social,
.srh.sct .sct-form { padding: 30px; border-radius: var(--srh-r-xl); background: #fff; }
.srh.sct .sct-hours h2,
.srh.sct .sct-form h2 { margin: 0 0 18px; font: 700 clamp(26px, 2.6vw, 34px) / 1.05 var(--srh-display); letter-spacing: -.04em; color: var(--srh-ink); }
.srh.sct .sct-form .srh-kicker { display: block; margin-bottom: 8px; }
.srh.sct .sct-hours ul { margin: 0; padding: 0; list-style: none; }
.srh.sct .sct-hours li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin: 0;
	padding: 15px 14px;
	border-radius: 14px;
	font-size: 15.5px;
}
.srh.sct .sct-hours li + li { margin-top: 2px; }
.srh.sct .sct-hours li.is-today { background: #fff6d6; }
.srh.sct .sct-hours__day { font-weight: 600; color: var(--srh-ink); }
.srh.sct .sct-hours__day em {
	margin-left: 8px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--srh-yellow);
	font-size: 11px;
	font-style: normal;
	font-weight: 700;
}
.srh.sct .sct-hours__time { color: var(--srh-body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.srh.sct .sct-social h3 { margin: 0 0 14px; font: 700 18px / 1.1 var(--srh-display); letter-spacing: -.02em; color: var(--srh-ink); }
.srh.sct .sct-social__row { display: flex; gap: 8px; }
.srh.sct .sct-social__row a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--srh-bg);
	color: var(--srh-ink);
	font-size: 17px;
	transition: background .2s, color .2s;
}
.srh.sct .sct-social__row a:hover { background: var(--srh-ink); color: #fff; }

/* Contact Form 7 */
.srh.sct .sct-form .wpcf7-form p { margin: 0 0 16px; }
.srh.sct .sct-form .wpcf7-form label { display: block; margin: 0; font-size: 14px; font-weight: 600; color: var(--srh-ink); }
.srh.sct .sct-form .wpcf7-form label br { display: none; }
.srh.sct .sct-form .wpcf7-form-control-wrap { display: block; margin-top: 8px; }
.srh.sct .sct-form input[type="text"],
.srh.sct .sct-form input[type="email"],
.srh.sct .sct-form input[type="tel"],
.srh.sct .sct-form select,
.srh.sct .sct-form textarea {
	width: 100%;
	height: 54px;
	margin: 0;
	padding: 0 18px;
	border: 2px solid transparent !important;
	border-radius: 18px;
	background-color: var(--srh-bg);
	color: var(--srh-ink);
	font: 500 16px var(--srh-text);
	box-shadow: none !important;
	transition: background-color .2s, border-color .2s;
}
.srh.sct .sct-form textarea { height: auto; min-height: 150px; padding: 14px 18px; resize: vertical; }
.srh.sct .sct-form select {
	padding-right: 46px;
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 1.6 6 6.4 11 1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 18px center;
	background-size: 12px 8px;
}
.srh.sct .sct-form input:focus,
.srh.sct .sct-form select:focus,
.srh.sct .sct-form textarea:focus { outline: none; border-color: var(--srh-ink) !important; background-color: #fff; }
.srh.sct .sct-form .wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 54px;
	min-height: 0;
	margin: 6px 0 0;
	padding: 0 36px;
	border: 0;
	border-radius: 999px;
	background: var(--srh-red);
	color: #fff;
	font: 600 16px var(--srh-text);
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
	transition: background .2s, transform .2s;
}
.srh.sct .sct-form .wpcf7-submit:hover { background: var(--srh-red-dk, #b32616); transform: translateY(-1px); }
.srh.sct .sct-form .cf7-cf-turnstile { margin-top: 0 !important; margin-bottom: 8px !important; }
.srh.sct .sct-form .cf-turnstile { margin-left: 0 !important; }
.srh.sct .sct-form .wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; color: var(--srh-red); }
.srh.sct .sct-form .wpcf7-response-output {
	margin: 16px 0 0 !important;
	padding: 14px 18px !important;
	border: 0 !important;
	border-radius: 16px;
	background: var(--srh-bg);
	font-size: 14.5px;
	color: var(--srh-ink);
}
.srh.sct .sct-form .wpcf7 form.sent .wpcf7-response-output { background: #e6f7ec; }
.srh.sct .sct-form .wpcf7 form.invalid .wpcf7-response-output,
.srh.sct .sct-form .wpcf7 form.failed .wpcf7-response-output { background: var(--srh-red-soft, #fdecea); }

/* ---- Map -------------------------------------------------------------- */
.srh.sct .sct-map { position: relative; height: 460px; border-radius: var(--srh-r-xl); overflow: hidden; background: #e9e5df; }
.srh.sct .sct-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.srh.sct .sct-map__card {
	position: absolute;
	left: 20px;
	bottom: 20px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	max-width: 300px;
	padding: 20px;
	border-radius: var(--srh-r-lg);
	background: #fff;
	box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
	font-size: 14px;
	color: var(--srh-body);
}
.srh.sct .sct-map__card strong { font: 700 19px / 1.15 var(--srh-display); letter-spacing: -.025em; color: var(--srh-ink); }
.srh.sct .sct-map__card .srh-btn { margin-top: 12px; }

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 1100px) {
	.srh.sct .sct-hero { grid-template-columns: minmax(0, 1fr); padding: 44px 36px; }
	.srh.sct .sct-hero__badge { display: none; }
	.srh.sct .sct-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.srh.sct .sct-main { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
	.srh.sct .sct-hero { padding: 32px 22px; border-radius: 24px; }
	.srh.sct .sct-hours,
	.srh.sct .sct-social,
	.srh.sct .sct-form { padding: 22px; border-radius: 24px; }
	.srh.sct .sct-map { height: 420px; border-radius: 24px; }
}
@media (max-width: 560px) {
	.srh.sct .sct-cards { grid-template-columns: minmax(0, 1fr); }
	.srh.sct .sct-actions .srh-btn { flex: 1 1 100%; }
	.srh.sct .sct-map__card { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}
/* Outline button on the dark hero. */
.srh.sct .srh-btn--ghost { border: 1.5px solid rgba(255, 255, 255, .4); background: transparent; color: #fff !important; }
.srh.sct .srh-btn--ghost:hover { background: #fff; color: var(--srh-ink) !important; border-color: #fff; }

/* Message card next to the hours: fills the column, opens the form popup. */
.srh.sct .sct-cta {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 14px;
	padding: 44px;
	border-radius: var(--srh-r-xl);
	background: var(--srh-dark);
	color: #fff;
}
.srh.sct .sct-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(60% 90% at 100% 0%, rgba(214, 48, 31, .55), transparent 70%),
		radial-gradient(50% 70% at 0% 100%, rgba(255, 207, 58, .14), transparent 70%);
}
.srh.sct .sct-cta .srh-kicker { color: var(--srh-yellow); }
.srh.sct .sct-cta h2 { margin: 0; font: 700 clamp(30px, 3.2vw, 44px) / 1 var(--srh-display); letter-spacing: -.04em; color: #fff; }
.srh.sct .sct-cta p { margin: 0; max-width: 46ch; font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .78); }
.srh.sct .sct-cta .srh-btn { margin-top: 8px; }
.srh.sct .sct-cta .sct-cta__alt { margin-top: 6px; font-size: 14.5px; }
.srh.sct .sct-cta .sct-cta__alt a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.srh.sct .sct-cta .sct-cta__alt a:hover { color: var(--srh-yellow); }

/* Popup (native dialog). */
html.sct-lock { overflow: hidden; }
.srh.sct dialog.sct-modal {
	width: min(660px, calc(100vw - 24px));
	max-width: none;
	max-height: calc(100vh - 24px);
	padding: 0;
	border: 0;
	background: transparent;
	overflow: visible;
	color: var(--srh-ink);
}
.srh.sct dialog.sct-modal[open] { animation: sct-pop .22s ease; }
.srh.sct dialog.sct-modal::backdrop { background: rgba(13, 13, 13, .62); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
@keyframes sct-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.srh.sct .sct-modal__panel {
	position: relative;
	max-height: calc(100vh - 24px);
	overflow-y: auto;
	padding: 36px 34px 32px;
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
}
.srh.sct .sct-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--srh-bg);
	color: var(--srh-ink);
	cursor: pointer;
	transition: background .2s, color .2s;
}
.srh.sct .sct-modal__close:hover { background: var(--srh-ink); color: #fff; }
.srh.sct .sct-modal__panel h2 { padding-right: 52px; }

/* WhatsApp green, same as the enquiry block on the home page. */
.srh.sct .srh-btn--wa { background: #25d366; color: #0b2e17 !important; }
.srh.sct .srh-btn--wa:hover { background: #3ee07a; }
.srh.sct .sct-card--wa .sct-card__ico { background: #25d366; color: #0b2e17; }

@media (prefers-reduced-motion: reduce) { .srh.sct .sct-status.is-open i { animation: none; } }
