/*
Theme Name: Alarm Control Systems
Theme URI: https://acsimt.com/
Author: Corner Stripe
Description: Child theme for Alarm Control Systems Inc., built on Twenty Twenty-Five.
Template: twentytwentyfive
Version: 1.0.10
Text Domain: acsimt-child
*/

:root {
	--acs-blue: #00559c;
	--acs-green: #9bcc53;
	--acs-white: #ffffff;
	--acs-dark: #102235;
	--acs-light: #f5f8fb;
}

body {
	background: var(--acs-white);
	font-size: 16px;
	line-height: 1.55;
}

h1,
h2,
h3,
h4 {
	line-height: 1.18;
}

h1 {
	font-size: clamp(2rem, 3.2vw, 3.15rem);
}

h2 {
	font-size: clamp(1.55rem, 2.2vw, 2.15rem);
}

h3 {
	font-size: clamp(1.15rem, 1.45vw, 1.4rem);
}

p {
	font-size: 1rem;
}

.acs-site-header {
	box-shadow: 0 1px 0 rgba(16, 34, 53, 0.08);
	position: relative;
	z-index: 10;
}

.acs-header-inner {
	margin-left: auto;
	margin-right: auto;
	max-width: 1180px;
	width: 100%;
}

.acs-header-actions {
	margin-left: auto;
}

.acs-site-header .wp-block-navigation {
	font-size: clamp(0.82rem, 0.9vw, 0.95rem);
	font-weight: 500;
}

.acs-site-header .wp-block-button__link {
	font-size: 0.85rem;
	padding: 0.65rem 1rem;
}

.acs-phone-pill {
	align-items: stretch;
	background: var(--acs-blue);
	border-radius: 999px;
	color: var(--acs-green);
	display: inline-flex;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1;
	overflow: hidden;
	text-decoration: none;
}

.acs-phone-pill:hover,
.acs-phone-pill:focus {
	color: var(--acs-green);
	text-decoration: none;
}

.acs-phone-pill-icon {
	align-items: center;
	background: var(--acs-green);
	color: var(--acs-white);
	display: inline-flex;
	justify-content: center;
	padding: 0.75rem 1rem;
}

.acs-phone-pill-icon svg {
	display: block;
	height: 18px;
	width: 18px;
}

.acs-phone-pill-number {
	align-items: center;
	display: inline-flex;
	padding: 0.75rem 1.2rem;
}

.acs-hero {
	background: linear-gradient(135deg, rgba(0, 85, 156, 0.94), rgba(16, 34, 53, 0.92));
	color: var(--acs-white);
}

.acs-hero .wp-block-image {
	background: var(--acs-white);
	border-radius: 12px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
	padding: 22px;
}

.acs-section-light {
	background: var(--acs-light);
}

.acs-page-header {
	background: var(--acs-blue);
	color: var(--acs-white);
	padding: 58px clamp(20px, 5vw, 60px);
}

.acs-page-header-inner {
	margin-left: auto;
	margin-right: auto;
	max-width: 900px;
}

.acs-page-header .wp-block-post-title {
	color: var(--acs-white);
	font-size: clamp(2.05rem, 3.6vw, 3.5rem);
	line-height: 1.08;
	margin-bottom: 12px;
	margin-top: 0;
}

.acs-page-header .wp-block-post-excerpt,
.acs-page-header .wp-block-post-excerpt p {
	color: var(--acs-white);
	font-size: 1rem;
	line-height: 1.55;
	margin-bottom: 0;
	margin-top: 0;
}

.acs-page-content {
	padding-bottom: 70px;
	padding-top: 70px;
}

.acs-page-content h2 {
	font-size: clamp(1.55rem, 2.2vw, 2.15rem);
}

.acs-page-content h3 {
	font-size: clamp(1.15rem, 1.45vw, 1.4rem);
}

.acs-service-detail {
	align-items: center;
	border-bottom: 1px solid rgba(0, 85, 156, 0.12);
	gap: clamp(28px, 5vw, 64px);
	padding: 56px 0;
}

.acs-service-detail:first-child {
	padding-top: 0;
}

.acs-service-detail:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.acs-service-detail .wp-block-image {
	margin: 0;
}

.acs-service-detail img,
.acs-page-feature-image img {
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(16, 34, 53, 0.08);
	display: block;
	width: 100%;
}

.acs-logo-feature {
	margin: 34px auto;
	max-width: 430px;
}

.acs-nurse-intro {
	align-items: center;
	gap: clamp(28px, 5vw, 64px);
}

.acs-staff-grid {
	display: grid;
	gap: 28px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 760px;
}

.acs-staff-card {
	background: var(--acs-white);
	border: 1px solid rgba(0, 85, 156, 0.14);
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(16, 34, 53, 0.08);
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
}

.acs-staff-card .wp-block-image {
	margin: 0;
}

.acs-staff-card img {
	aspect-ratio: 4 / 3;
	display: block;
	object-fit: cover;
	width: 100%;
}

.acs-staff-card-content {
	flex: 1;
	padding: 24px;
}

.acs-staff-card-content h3 {
	margin-block-start: 0;
}

.acs-contact-layout {
	align-items: flex-start;
	gap: clamp(32px, 6vw, 80px);
}

.acs-contact-card {
	background: var(--acs-light);
	border-left: 5px solid var(--acs-green);
	border-radius: 16px;
	padding: 28px;
}

.wpcf7-form label {
	color: var(--acs-dark);
	display: block;
	font-weight: 600;
	margin-bottom: 18px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
	background: var(--acs-white);
	border: 1px solid rgba(0, 85, 156, 0.22);
	border-radius: 10px;
	box-shadow: 0 4px 14px rgba(16, 34, 53, 0.05);
	box-sizing: border-box;
	font: inherit;
	margin-top: 8px;
	min-height: 48px;
	padding: 12px 14px;
	width: 100%;
}

.wpcf7-form textarea {
	min-height: 160px;
	resize: vertical;
}

.wpcf7-form input[type="submit"] {
	background: var(--acs-green);
	border: 0;
	border-radius: 999px;
	color: var(--acs-white);
	cursor: pointer;
	font-weight: 700;
	min-height: 48px;
	padding: 0.8rem 1.5rem;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form input[type="submit"]:focus {
	background: var(--acs-blue);
}

.acs-services-grid {
	align-items: stretch;
	display: grid;
	gap: 24px;
	grid-auto-rows: 1fr;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.acs-featured-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-left: auto;
	margin-right: auto;
	max-width: 900px;
}

.acs-featured-grid .acs-card img {
	aspect-ratio: 16 / 10;
	object-position: top center;
}

.acs-featured-grid .acs-card-content h3 {
	font-size: clamp(1.15rem, 1.45vw, 1.4rem);
	margin-block-start: 0;
}

.acs-services-grid > .wp-block-group {
	margin-block-start: 0;
	max-width: none !important;
	min-width: 0;
	width: 100%;
}

.acs-card {
	background: var(--acs-white);
	border: 1px solid rgba(0, 85, 156, 0.14);
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(16, 34, 53, 0.08);
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
}

.acs-card .wp-block-image {
	margin: 0;
	width: 100%;
}

.acs-card img {
	aspect-ratio: 16 / 9;
	display: block;
	object-fit: cover;
	width: 100%;
}

.acs-card-content {
	flex: 1;
	padding: 24px;
}

.acs-card-content p {
	font-size: 0.94rem;
}

.acs-kicker {
	color: var(--acs-green);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.acs-button-row {
	gap: 0.75rem;
}

.acs-trust-strip {
	border-top: 1px solid rgba(0, 85, 156, 0.12);
	border-bottom: 1px solid rgba(0, 85, 156, 0.12);
}

.acs-footer {
	background: var(--acs-blue);
	color: var(--acs-white);
}

.acs-footer a {
	color: var(--acs-white);
}

.acs-footer .wp-block-button__link {
	color: var(--acs-white);
}

.acs-footer-address {
	line-height: 1.7;
}

@media (max-width: 900px) {
	.acs-header-inner {
		gap: 1rem;
		justify-content: center;
	}

	.acs-site-header .wp-block-navigation {
		order: 3;
		width: 100%;
	}

	.acs-services-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.acs-staff-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.acs-services-grid {
		grid-template-columns: 1fr;
	}
}
