/*
Theme Name: Local Locksmith Pro
Author: Local Service Theme Studio
Description: A polished, conversion-focused WordPress block theme for independent locksmith companies.
Requires at least: 6.6
Requires PHP: 7.4
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: local-locksmith-pro
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, editor-style, wide-blocks
*/

:root {
	--lock-gold: #e4b83f;
	--lock-accent-contrast: #0b0b0d;
	--lock-accent-readable: #7a5500;
	--lock-highlight: #f5d36d;
	--lock-dark: #0b0b0d;
	--lock-teal: #4d535a;
	--lock-cream: #f7f3ea;
	--lock-line: rgba(17, 26, 33, 0.14);
	--lock-radius: 1.15rem;
	--lock-shadow: 0 24px 55px rgba(17, 26, 33, 0.14);
}

html {
	scroll-behavior: smooth;
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

body.admin-bar .locksmith-header {
	top: 32px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 3px solid var(--lock-gold);
	outline-offset: 3px;
}

.skip-link {
	background: #fff;
	color: var(--lock-dark);
	font-weight: 800;
	left: 1rem;
	padding: 0.75rem 1rem;
	position: fixed;
	top: -8rem;
	z-index: 100000;
}

.skip-link:focus {
	top: 1rem;
}

.locksmith-header {
	background: rgba(17, 26, 33, 0.98);
	color: #fff;
	position: sticky;
	top: 0;
	z-index: 100;
}

.locksmith-header a,
.locksmith-header .locksmith-brand-name {
	color: #fff;
}

.locksmith-header-main {
	min-height: 82px;
}

.locksmith-brand-name {
	font-family: var(--wp--preset--font-family--display, "Barlow Condensed Local", "Arial Narrow", sans-serif);
	font-size: clamp(1rem, 2vw, 1.25rem);
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1.1;
	max-width: 17rem;
	text-transform: uppercase;
}

.locksmith-brand-mark {
	align-items: center;
	background: var(--lock-gold);
	border-radius: 50%;
	color: var(--lock-accent-contrast);
	display: inline-flex;
	font-size: 1.25rem;
	font-weight: 900;
	height: 2.8rem;
	justify-content: center;
	width: 2.8rem;
}

.locksmith-header .wp-block-site-logo img {
	max-height: 54px;
	width: auto;
}

.locksmith-header-main:has(.custom-logo-link) .locksmith-brand-mark {
	display: none;
}

.locksmith-header .wp-block-navigation-item__content {
	font-size: 0.92rem;
	font-weight: 700;
}

.locksmith-header .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--lock-dark);
	color: #fff;
}

.locksmith-call-button {
	align-items: center;
	background: var(--lock-gold);
	border: 2px solid var(--lock-gold);
	border-radius: 999px;
	color: var(--lock-accent-contrast);
	display: inline-flex;
	font-weight: 850;
	gap: 0.5rem;
	justify-content: center;
	line-height: 1.1;
	padding: 0.9rem 1.3rem;
	text-decoration: none;
	transition: transform 170ms ease, box-shadow 170ms ease, background 170ms ease;
}

.locksmith-call-button:hover {
	background: var(--lock-gold);
	box-shadow: 0 10px 25px color-mix(in srgb, var(--lock-gold) 30%, transparent);
	color: var(--lock-accent-contrast);
	filter: brightness(1.08);
	transform: translateY(-2px);
}

.locksmith-call-button.is-outline {
	background: transparent;
	color: #fff;
}

.locksmith-call-button.is-outline:hover {
	background: color-mix(in srgb, var(--lock-gold) 12%, transparent);
}

.locksmith-call-button.is-dark {
	background: var(--lock-dark);
	border-color: var(--lock-dark);
	color: #fff;
}

.locksmith-call-button.is-dark:hover {
	background: #25333e;
	color: #fff;
}

.locksmith-availability {
	border-left: 1px solid rgba(255, 255, 255, 0.2);
	color: #dbe3e8;
	font-size: 0.78rem;
	line-height: 1.25;
	padding-left: 1rem;
}

.locksmith-availability strong {
	color: var(--lock-highlight);
	display: block;
	font-size: 0.84rem;
}

.locksmith-hero {
	background:
		radial-gradient(circle at 86% 22%, color-mix(in srgb, var(--lock-highlight) 18%, transparent), transparent 25rem),
		linear-gradient(135deg, var(--lock-dark) 0%, color-mix(in srgb, var(--lock-dark) 82%, var(--lock-teal)) 70%, var(--lock-teal) 140%);
	color: #fff;
	min-height: 670px;
	overflow: hidden;
	position: relative;
}

.locksmith-hero::before {
	border: 1px solid color-mix(in srgb, var(--lock-highlight) 25%, transparent);
	border-radius: 50%;
	content: "";
	height: 430px;
	position: absolute;
	right: -120px;
	top: 80px;
	width: 430px;
}

.locksmith-hero::after {
	border: 1px solid color-mix(in srgb, var(--lock-highlight) 14%, transparent);
	border-radius: 50%;
	content: "";
	height: 280px;
	position: absolute;
	right: -45px;
	top: 155px;
	width: 280px;
}

.locksmith-eyebrow {
	align-items: center;
	color: var(--lock-accent-readable);
	display: flex;
	font-size: 0.76rem;
	font-weight: 800;
	gap: 0.65rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-family: var(--wp--preset--font-family--display, "Barlow Condensed Local", "Arial Narrow", sans-serif);
}

.locksmith-eyebrow::before {
	background: currentColor;
	content: "";
	height: 2px;
	width: 2.4rem;
}

.locksmith-hero .locksmith-eyebrow,
.locksmith-area .locksmith-eyebrow,
.locksmith-safety-aside .locksmith-eyebrow {
	color: var(--lock-highlight);
}

.locksmith-hero h1 {
	color: #fff;
	font-size: clamp(2.65rem, 6.7vw, 5.5rem);
	font-weight: 800;
	letter-spacing: -0.05em;
	line-height: 0.96;
	margin: 1rem 0 1.4rem;
	max-width: 820px;
}

.locksmith-hero-copy {
	color: #dbe3e8;
	font-size: clamp(1.05rem, 2vw, 1.27rem);
	max-width: 680px;
}

.locksmith-hero-panel {
	backdrop-filter: blur(12px);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--lock-radius);
	color: #fff;
	padding: clamp(1.5rem, 4vw, 2.3rem);
	position: relative;
	z-index: 2;
}

.locksmith-hero-panel h2,
.locksmith-hero-panel h3 {
	color: #fff;
}

.locksmith-addresses {
	color: #dbe3e8;
	font-style: normal;
	line-height: 1.65;
}

.locksmith-addresses span {
	display: block;
}

.locksmith-addresses span + span {
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	margin-top: 0.7rem;
	padding-top: 0.7rem;
}

.locksmith-proof-strip {
	background: var(--lock-cream);
	border-bottom: 1px solid var(--lock-line);
}

.locksmith-proof-item {
	font-size: 0.88rem;
	font-weight: 800;
	text-align: center;
}

.locksmith-proof-item strong {
	color: var(--lock-teal);
	display: block;
	font-size: 1.15rem;
}

.locksmith-section {
	padding-bottom: clamp(3.8rem, 8vw, 7rem);
	padding-top: clamp(3.8rem, 8vw, 7rem);
}

.locksmith-section-heading {
	margin-bottom: clamp(2.2rem, 5vw, 3.8rem);
	max-width: 770px;
}

.locksmith-section-heading h2 {
	font-size: clamp(2.1rem, 4.6vw, 3.8rem);
	letter-spacing: -0.045em;
	line-height: 1.02;
	margin-top: 0;
}

.locksmith-service-card {
	background: #fff;
	border: 1px solid var(--lock-line);
	border-radius: var(--lock-radius);
	height: 100%;
	overflow: hidden;
	padding: clamp(1.4rem, 3vw, 2rem);
	position: relative;
	transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.locksmith-service-card::before {
	background: var(--lock-gold);
	border-radius: 999px;
	content: "";
	height: 0.45rem;
	position: absolute;
	right: 1.2rem;
	top: 1.2rem;
	width: 0.45rem;
}

.locksmith-service-card:hover {
	border-color: color-mix(in srgb, var(--lock-gold) 75%, transparent);
	box-shadow: var(--lock-shadow);
	transform: translateY(-5px);
}

.locksmith-service-label {
	color: var(--lock-accent-readable);
	font-family: var(--wp--preset--font-family--display, "Barlow Condensed Local", "Arial Narrow", sans-serif);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.locksmith-safety-panel {
	background: var(--lock-cream);
	border-radius: calc(var(--lock-radius) * 1.35);
	overflow: hidden;
}

.locksmith-safety-copy {
	padding: clamp(2rem, 6vw, 5rem);
}

.locksmith-safety-aside {
	background: var(--lock-teal);
	color: #fff;
	min-height: 100%;
	padding: clamp(2rem, 5vw, 4rem);
}

.locksmith-safety-aside h3 {
	color: #fff;
}

.locksmith-step {
	background: #fff;
	border-bottom: 1px solid var(--lock-line);
	display: grid;
	gap: 1rem;
	grid-template-columns: 3rem 1fr;
	padding: 1.4rem 0;
}

.locksmith-step-number {
	align-items: center;
	background: var(--lock-gold);
	border-radius: 50%;
	color: var(--lock-accent-contrast);
	display: flex;
	font-weight: 900;
	height: 2.5rem;
	justify-content: center;
	width: 2.5rem;
}

.locksmith-area {
	background: var(--lock-dark);
	color: #fff;
	position: relative;
}

.locksmith-area h2,
.locksmith-area h3 {
	color: #fff;
}

.locksmith-area-card {
	background: #fff;
	border-radius: var(--lock-radius);
	box-shadow: var(--lock-shadow);
	color: var(--lock-dark);
	padding: clamp(1.5rem, 4vw, 2.5rem);
}

.locksmith-area-card h3 {
	color: var(--lock-dark);
}

.locksmith-area-card .locksmith-addresses {
	color: #44515b;
}

.locksmith-area-card .locksmith-addresses span + span {
	border-top-color: var(--lock-line);
}

.locksmith-principle {
	border-left: 1px solid var(--lock-line);
	padding-left: 1.5rem;
}

.locksmith-principle strong {
	color: var(--lock-accent-readable);
	font-family: var(--wp--preset--font-family--display, "Barlow Condensed Local", "Arial Narrow", sans-serif);
	display: block;
	font-size: 1.7rem;
}

.locksmith-faq .wp-block-details {
	border-bottom: 1px solid var(--lock-line);
	padding: 1rem 0 1.25rem;
}

.locksmith-faq summary {
	cursor: pointer;
	font-size: 1.08rem;
	font-weight: 800;
}

.locksmith-cta {
	background: var(--lock-gold);
	color: var(--lock-accent-contrast);
}

.locksmith-cta h2 {
	color: var(--lock-accent-contrast);
	font-size: clamp(2.1rem, 5vw, 4rem);
	letter-spacing: -0.05em;
	line-height: 0.98;
}

.locksmith-footer {
	background: #0b1217;
	color: #b9c3ca;
}

.locksmith-footer h2,
.locksmith-footer h3,
.locksmith-footer a,
.locksmith-footer .locksmith-brand-name {
	color: #fff;
}

.locksmith-footer a:hover {
	color: var(--lock-highlight);
}

.locksmith-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.82rem;
}

.locksmith-entry-header {
	background: var(--lock-cream);
	border-bottom: 1px solid var(--lock-line);
}

.locksmith-entry-content > * {
	margin-block-start: 1.5rem;
}

.locksmith-entry-content > h2,
.locksmith-entry-content > h3 {
	margin-block-start: 2.6rem;
}

.locksmith-query-card {
	border-bottom: 1px solid var(--lock-line);
	padding: 1.6rem 0;
}

@media (max-width: 960px) {
	body.admin-bar .locksmith-header {
		top: 46px;
	}

	.locksmith-header-availability,
	.locksmith-header-cta {
		display: none;
	}
}

@media (max-width: 781px) {
	.locksmith-hero {
		min-height: auto;
	}

	.locksmith-hero h1 {
		font-size: clamp(2.6rem, 13vw, 4.5rem);
	}

	.locksmith-proof-item {
		text-align: left;
	}

	.locksmith-safety-panel {
		border-radius: var(--lock-radius);
	}

	.locksmith-cta,
	.locksmith-cta .wp-block-group {
		text-align: center;
	}

	.locksmith-cta .wp-block-group {
		justify-content: center !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
