/* TERMOPET overrides loaded after the original theme styles */

body {
	background: var(--termopet-bg);
	color: var(--termopet-text);
}

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

.have-vustom-page-title,
.vustom-page-title,
.pager-sec {
	display: none;
}

.termopet-page,
.termopet-service {
	background: var(--termopet-bg);
}

.termopet-page-hero {
	padding: 72px 0 34px;
	background:
		radial-gradient(circle at top left, rgba(27, 125, 165, 0.16), transparent 34%),
		linear-gradient(180deg, #f9fbfd 0%, #eef3f7 100%);
}

.termopet-page-hero--service {
	padding-bottom: 42px;
}

.termopet-page-hero h1 {
	margin: 0;
	font-size: clamp(2.2rem, 4vw, 4rem);
	line-height: 1.05;
	letter-spacing: -0.04em;
	text-transform: none;
}

.termopet-page-body {
	padding: 0 0 88px;
}

.termopet-section + .termopet-section {
	margin-top: 28px;
}

.termopet-page-card {
	padding: 34px;
	background: var(--termopet-surface);
	border: 1px solid rgba(215, 224, 231, 0.95);
	border-radius: var(--termopet-radius);
	box-shadow: var(--termopet-shadow);
}

.termopet-entry-content,
.termopet-entry-content p,
.termopet-entry-content li,
.termopet-entry-content blockquote,
.termopet-entry-content td,
.termopet-entry-content th {
	color: var(--termopet-muted);
	font-size: 1.03rem;
	line-height: 1.85;
}

.termopet-entry-content > *:first-child {
	margin-top: 0;
}

.termopet-entry-content > *:last-child {
	margin-bottom: 0;
}

.termopet-entry-content h2,
.termopet-entry-content h3,
.termopet-entry-content h4 {
	color: var(--termopet-text);
	text-transform: none;
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin: 1.8em 0 0.7em;
}

.termopet-entry-content h2 {
	font-size: clamp(1.65rem, 2.5vw, 2.3rem);
}

.termopet-entry-content h3 {
	font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.termopet-entry-content a {
	color: var(--termopet-brand);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.termopet-entry-content ul,
.termopet-entry-content ol {
	padding-left: 1.3rem;
	margin-bottom: 1.2rem;
}

.termopet-entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 20px;
}

.termopet-entry-content .wp-block-image,
.termopet-entry-content .wp-block-gallery {
	margin: 1.6rem 0;
}

.termopet-card__link {
	display: inline-flex;
	align-items: center;
	margin-top: 16px;
	color: var(--termopet-brand);
	font-weight: 700;
	text-decoration: none;
}

.termopet-card__link:hover,
.termopet-card__link:focus {
	color: var(--termopet-brand-dark);
}

.termopet-split-card,
.termopet-contact-layout,
.termopet-two-column-list {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
	gap: 24px;
}

.termopet-highlight-card,
.termopet-mini-card,
.termopet-process-card,
.termopet-faq-item,
.termopet-cta-band {
	padding: 28px;
	background: var(--termopet-surface);
	border: 1px solid rgba(215, 224, 231, 0.95);
	border-radius: 24px;
	box-shadow: var(--termopet-shadow);
}

.termopet-highlight-card h3,
.termopet-mini-card h3,
.termopet-process-card h3,
.termopet-faq-item h3,
.termopet-cta-band h2 {
	margin: 0 0 12px;
	color: var(--termopet-text);
	text-transform: none;
}

.termopet-highlight-card p,
.termopet-mini-card p,
.termopet-process-card p,
.termopet-faq-item p,
.termopet-cta-band p {
	margin-bottom: 0;
	color: var(--termopet-muted);
}

.termopet-info-grid,
.termopet-process-grid,
.termopet-faq-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.termopet-check-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.termopet-check-list li {
	position: relative;
	padding-left: 22px;
	color: var(--termopet-muted);
	line-height: 1.7;
}

.termopet-check-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.72em;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: var(--termopet-brand);
	transform: translateY(-50%);
}

.termopet-process-card {
	position: relative;
	padding-top: 68px;
}

.termopet-process-card__index {
	position: absolute;
	top: 24px;
	left: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 999px;
	background: rgba(27, 125, 165, 0.12);
	color: var(--termopet-brand-dark);
	font-size: 0.95rem;
	font-weight: 800;
}

.termopet-cta-band {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 244, 248, 0.96));
}

.termopet-inline-links {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	list-style: none;
	padding: 0;
	margin: 22px 0 0;
}

.termopet-inline-links a {
	color: var(--termopet-brand);
	font-weight: 700;
	text-decoration: none;
}

.termopet-form-shell .wpcf7-form p {
	margin-bottom: 14px;
}

.termopet-form-shell input[type="text"],
.termopet-form-shell input[type="email"],
.termopet-form-shell input[type="tel"],
.termopet-form-shell textarea {
	width: 100%;
	min-height: 54px;
	padding: 14px 18px;
	border: 1px solid rgba(215, 224, 231, 1);
	border-radius: 18px;
	background: #fff;
	color: var(--termopet-text);
	font-size: 1rem;
}

.termopet-form-shell textarea {
	min-height: 170px;
	resize: vertical;
}

.termopet-form-shell input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 24px;
	border: 0;
	border-radius: 999px;
	background: var(--termopet-brand);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.termopet-form-shell input[type="submit"]:hover,
.termopet-form-shell input[type="submit"]:focus {
	background: var(--termopet-brand-dark);
}

.termopet-form-shell .wpcf7-response-output,
.termopet-form-shell .wpcf7-not-valid-tip {
	color: var(--termopet-muted);
	font-size: 0.95rem;
	margin: 12px 0 0;
}

.termopet-service-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
	gap: 26px;
	align-items: start;
}

.termopet-service-main {
	display: grid;
	gap: 28px;
}

.termopet-service-media {
	margin-bottom: 24px;
}

.termopet-service-media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 22px;
}

.termopet-service-aside {
	display: grid;
	gap: 20px;
}

.termopet-service-panel {
	padding: 28px;
	background: var(--termopet-surface);
	border: 1px solid rgba(215, 224, 231, 0.95);
	border-radius: 24px;
	box-shadow: var(--termopet-shadow);
}

.termopet-service-panel--muted {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 247, 250, 0.96));
}

.termopet-service-panel h2 {
	margin: 0 0 10px;
	font-size: 1.35rem;
	line-height: 1.2;
	text-transform: none;
}

.termopet-service-panel p {
	margin-bottom: 18px;
	color: var(--termopet-muted);
}

.termopet-service-panel .termopet-mail {
	display: block;
	margin-bottom: 18px;
}

.termopet-page-comments {
	margin-top: 28px;
	padding: 34px;
	background: var(--termopet-surface);
	border: 1px solid rgba(215, 224, 231, 0.95);
	border-radius: var(--termopet-radius);
	box-shadow: var(--termopet-shadow);
}

.termopet-page-comments .comments-section,
.termopet-page-comments .comment-navigation {
	float: none;
	width: auto;
	padding: 0;
}

.termopet-page-comments h2,
.termopet-page-comments h3,
.termopet-page-comments h4,
.termopet-page-comments label,
.termopet-page-comments .comment-metadata a,
.termopet-page-comments .comment-author a {
	color: var(--termopet-text);
}

.termopet-page-comments p,
.termopet-page-comments li,
.termopet-page-comments span {
	color: var(--termopet-muted);
}

.termopet-site-header .termopet-button,
.termopet-contact .termopet-button,
.termopet-service-panel .termopet-button {
	text-decoration: none;
}

@media (max-width: 991px) {
	.termopet-split-card,
	.termopet-contact-layout,
	.termopet-two-column-list,
	.termopet-service-layout {
		grid-template-columns: 1fr;
	}

	.termopet-info-grid,
	.termopet-process-grid,
	.termopet-faq-list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 782px) {
	body.admin-bar .termopet-site-header {
		top: 46px;
	}
}

@media (max-width: 820px) {
	.termopet-page-hero {
		padding: 56px 0 28px;
	}

	.termopet-page-body {
		padding-bottom: 64px;
	}

	.termopet-page-card,
	.termopet-page-comments,
	.termopet-service-panel,
	.termopet-highlight-card,
	.termopet-mini-card,
	.termopet-process-card,
	.termopet-faq-item,
	.termopet-cta-band {
		padding: 24px;
	}

	.termopet-cta-band {
		flex-direction: column;
		align-items: flex-start;
	}
}
