/*
Theme Name: VitalTech Magyarország
Theme URI: https://vitaltech-magyarorszag.hu
Author: VitalTech Magyarország
Description: Egyedi WordPress téma a VitalTech Magyarország PEMF wellness márka számára. Szerkezetileg a scmedia-global.com/wp-colorcor oldal felépítésén alapul, vizuálisan az image.png tervek szerint.
Version: 0.1.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: vitaltech
*/

/* -------------------------------------------------------------------------
   0. Design tokens
   ------------------------------------------------------------------------- */
:root {
	--color-primary: #0f6e76;
	--color-primary-dark: #0b4f55;
	--color-primary-light: #e4f2f1;
	--color-ink: #1b2a3d;
	--color-ink-soft: #4a5a6d;
	--color-bg: #ffffff;
	--color-bg-alt: #f5f8f8;
	--color-border: #e2e8e8;
	--color-accent-red: #c0392b;

	--font-heading: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-body: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--container-width: 1600px;
	--radius-sm: 6px;
	--radius-md: 12px;
	--radius-lg: 20px;
	--shadow-card: 0 4px 20px rgba(27, 42, 61, 0.08);
	--space-section: 96px;
}

/* -------------------------------------------------------------------------
   1. Reset & base
   ------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--color-ink);
	background: var(--color-bg);
	line-height: 1.6;
	font-size: 16px;
}

a {
	color: inherit;
	text-decoration: none;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

h1, h2, h3, h4 {
	font-family: var(--font-heading);
	color: var(--color-ink);
	line-height: 1.15;
	margin: 0 0 16px;
	font-weight: 700;
}

p {
	margin: 0 0 16px;
	color: var(--color-ink-soft);
}

button {
	font-family: inherit;
}

.container {
	width: 100%;
	max-width: var(--container-width);
	margin-inline: auto;
	padding-inline: 24px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

section {
	padding-block: 72px;
}

.section-alt {
	background: var(--color-bg-alt);
}

.eyebrow {
	display: block;
	color: var(--color-primary);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 13px;
	margin-bottom: 12px;
}

.section-heading {
	max-width: 640px;
	margin-bottom: 48px;
}

.section-heading h2 {
	font-size: clamp(28px, 3vw, 36px);
}

/* -------------------------------------------------------------------------
   2. Buttons
   ------------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 28px;
	border-radius: var(--radius-md);
	font-weight: 600;
	font-size: 15px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn-primary {
	background: var(--color-primary);
	color: #fff;
}

.btn-primary:hover {
	background: var(--color-primary-dark);
}

.btn-icon--phone {
	color: #fff !important;
	stroke: #fff !important;
}

.btn-secondary {
	background: transparent;
	border-color: var(--color-border);
	color: var(--color-ink);
}

.btn-secondary:hover {
	border-color: var(--color-primary);
	color: var(--color-primary);
}

.btn-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

/* -------------------------------------------------------------------------
   3. Placeholder media
   ------------------------------------------------------------------------- */
.img-placeholder {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background: repeating-linear-gradient(
		135deg,
		var(--color-bg-alt),
		var(--color-bg-alt) 12px,
		#eef3f3 12px,
		#eef3f3 24px
	);
	border: 1px dashed var(--color-border);
	border-radius: var(--radius-md);
	color: var(--color-ink-soft);
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	padding: 16px;
	overflow: hidden;
}

.img-placeholder span {
	background: rgba(255, 255, 255, 0.85);
	padding: 6px 12px;
	border-radius: 999px;
}

.img-placeholder--hero {
	aspect-ratio: 4 / 3;
}

.img-placeholder--card {
	aspect-ratio: 4 / 3;
	margin-bottom: 16px;
}

.img-placeholder--wide {
	aspect-ratio: 16 / 9;
}

.img-placeholder--square {
	aspect-ratio: 1 / 1;
}

/* -------------------------------------------------------------------------
   4. Site header
   ------------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 16px;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.site-logo {
	display: flex;
	align-items: center;
}

.primary-nav {
	display: flex;
	align-items: center;
	gap: 8px;
}

.primary-nav ul {
	display: flex;
	align-items: center;
	gap: 4px;
}

.primary-nav a {
	display: inline-block;
	padding: 10px 16px;
	border-radius: var(--radius-md);
	font-weight: 600;
	font-size: 15px;
	color: var(--color-ink);
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
	background: var(--color-primary-light);
	color: var(--color-primary-dark);
}

/* This copy of the CTA only appears inside the opened mobile dropdown;
   the desktop CTA lives in .site-header__actions instead. */
.primary-nav > .btn-primary {
	display: none;
}

.site-header__phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: var(--radius-md);
	background: var(--color-primary-light);
	color: var(--color-primary-dark);
	font-weight: 700;
	font-size: 15px;
	white-space: nowrap;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.site-header__phone:hover {
	background: var(--color-primary);
	color: #fff;
}

.site-header__phone::before {
	content: '';
	display: inline-block;
	width: 16px;
	height: 16px;
	background: currentColor;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.362 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.338 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") no-repeat center / contain;
	mask-size: 16px;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.362 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.338 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") no-repeat center / contain;
	-webkit-mask-size: 16px;
	flex-shrink: 0;
}

.site-header__phone-mobile {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--color-border);
	background: var(--color-primary-light);
	color: var(--color-primary-dark);
	flex-shrink: 0;
}

.site-header__phone-mobile::before {
	content: '';
	display: inline-block;
	width: 20px;
	height: 20px;
	background: currentColor;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.362 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.338 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") no-repeat center / contain;
	mask-size: 20px;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.362 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.338 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") no-repeat center / contain;
	-webkit-mask-size: 20px;
}

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--color-border);
	background: #fff;
}

.nav-toggle svg {
	width: 22px;
	height: 22px;
}

.nav-toggle .icon-close {
	display: none;
}

.site-header.is-open .nav-toggle .icon-menu {
	display: none;
}

.site-header.is-open .nav-toggle .icon-close {
	display: block;
}

/* -------------------------------------------------------------------------
   5. Hero — full-screen background photo with overlaid content
   ------------------------------------------------------------------------- */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	color: #fff;
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
}

.hero__bg-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		100deg,
		rgba(11, 20, 28, 0.82) 0%,
		rgba(11, 20, 28, 0.55) 45%,
		rgba(11, 20, 28, 0.2) 75%
	);
}

.hero__content {
	position: relative;
	z-index: 1;
	padding-block: 120px 96px;
}

.hero .eyebrow {
	display: block;
	color: #7fd4cf;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-size: 13px;
	margin-bottom: 20px;
}

.hero h1 {
	color: #fff;
	font-size: clamp(34px, 4.5vw, 52px);
	margin-bottom: 24px;
	max-width: 720px;
}

.hero h1 .accent {
	color: #7fd4cf;
}

.hero p.lead {
	color: rgba(255, 255, 255, 0.85);
	font-size: 17px;
	max-width: 480px;
	margin-bottom: 32px;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}

.hero .btn-secondary {
	border-color: rgba(255, 255, 255, 0.5);
	color: #fff;
}

.hero .btn-secondary:hover {
	border-color: #fff;
	color: #fff;
}

.hero__dots {
	display: flex;
	gap: 8px;
	margin-top: 40px;
}

.hero__dots span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
}

.hero__dots span:first-child {
	background: #fff;
	width: 22px;
	border-radius: 999px;
}

/* -------------------------------------------------------------------------
   6. Card grid (problem cards / product cards / value cards)
   ------------------------------------------------------------------------- */
.card-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

.problem-cards .card-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.products-grid .card-grid {
	max-width: none;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card {
	background: #F4F5F7;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: 24px;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.card:hover {
	box-shadow: var(--shadow-card);
	transform: translateY(-2px);
}

.card__icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--color-primary-light);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}

.card__thumb {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius-md);
	margin-bottom: 16px;
}

.card__thumb--square {
	aspect-ratio: 1 / 1;
}

.card__thumb--wide {
	aspect-ratio: 16 / 9;
}

.card__icon svg {
	width: 22px;
	height: 22px;
	stroke: var(--color-primary-dark);
}

.card h3 {
	font-size: 17px;
	margin-bottom: 8px;
}

.card p {
	font-size: 14px;
	margin-bottom: 0;
}

.card__link {
	display: inline-block;
	margin-top: 12px;
	font-weight: 700;
	font-size: 14px;
	color: var(--color-primary);
}

.card--link {
	color: inherit;
	text-decoration: none;
}

.card--link:hover {
	box-shadow: 0 10px 28px rgba(27, 42, 61, 0.14);
	transform: translateY(-2px);
	color: inherit;
}

.card--link h3,
.card--link p {
	color: inherit;
}

.card__short-desc {
	font-size: 13px;
	font-weight: 600;
	color: var(--color-primary);
	margin: 0 0 8px 0;
	line-height: 1.4;
}

/* Photo cards: image bleeds to the card edges, the icon floats as a
   white badge straddling the photo/text boundary, text is centered.
   Used by the homepage problem cards. */
.card--photo {
	padding: 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f7f9 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    min-width: 240px;
}

.card--photo:hover {
	box-shadow: 0 10px 28px rgba(27, 42, 61, 0.14);
}

.card__media {
	position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: visible;
}

.card__media .card__thumb,
.card__media .img-placeholder {
	width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px 20px 0 0;
}

.card__icon--badge {
	position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
    width: 72px !important;
    height: 72px !important;
    max-width: 72px;
    max-height: 72px;
    z-index: 2;
    background: #f7f7f7;
	border-radius: 100%;
}

/* Pre-made circular badge PNGs (see /icons/ at the theme root) already
   include their own white circle + shadow, so this only handles sizing
   and the photo/text overlap position. */
.badge-icon {
	position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
    width: 72px !important;
    height: 72px !important;
    max-width: 72px;
    max-height: 72px;
    z-index: 2;
    background: #f7f7f7;
	border-radius: 100%;

}

.badge-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
    display: block;
}

.card--photo .card__body {
	padding: 52px 24px 32px 24px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card--photo h3 {
	font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 700;
    color: #0b192c;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.card--photo p {
	font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 400;
    color: #4a5a6d;
    margin: 0;
    line-height: 1.55;
    flex-grow: 1;
}

/* -------------------------------------------------------------------------
   7. Stats bar
   ------------------------------------------------------------------------- */
.stats-bar {
	background: var(--color-primary-dark);
	color: #fff;
}

.stats-bar .card-grid {
	--cols: 4;
	gap: 32px;
}

.stat {
	text-align: center;
}

.stat strong {
	display: block;
	font-family: var(--font-heading);
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 800;
	color: #fff;
}

.stat span {
	display: block;
	margin-top: 8px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
}

/* -------------------------------------------------------------------------
   7b. Technology benefit band (dark, sits next to the stats bar)
   ------------------------------------------------------------------------- */
.benefit-band {
	background: var(--color-primary-dark);
}

.benefit-band__heading {
	max-width: 640px;
	margin: 0 auto 48px;
	text-align: center;
}

.benefit-band__heading .eyebrow {
	color: rgba(255, 255, 255, 0.7);
}

.benefit-band__heading h2 {
	color: #fff;
}

.benefit-band__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	max-width: 1200px;
	margin: 0 auto;
}

.benefit-band__badge {
	width: 78px;
	height: 78px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.14);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 24px;
}

.benefit-band__badge svg {
	width: 34px;
	height: 34px;
	stroke: #fff;
}

.benefit-band__card h4 {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	color: #fff;
	margin-bottom: 12px;
	text-align: center;
}

.benefit-band__card p {
	font-size: 14.5px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.75);
	text-align: center;
	margin-bottom: 0;
}

/* -------------------------------------------------------------------------
   8. Overview / two-column content
   ------------------------------------------------------------------------- */
.overview__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 56px;
	align-items: center;
	margin-bottom: 48px;
}

/* -------------------------------------------------------------------------
   9. Gallery strip
   ------------------------------------------------------------------------- */
.gallery-strip {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 20px;
}

.gallery-strip figure {
	margin: 0;
}

.gallery-strip figcaption {
	margin-top: 10px;
	font-size: 13px;
	font-weight: 600;
	color: var(--color-ink-soft);
	text-align: center;
}

/* -------------------------------------------------------------------------
   10. CTA band
   ------------------------------------------------------------------------- */
.cta-band {
	background: var(--color-primary);
	border-radius: var(--radius-lg);
	padding: 56px;
	text-align: center;
	color: #fff;
}

.cta-band h2,
.cta-band p {
	color: #fff;
}

.cta-band .btn-secondary {
	background: #fff;
	color: var(--color-primary-dark);
	border-color: #fff;
}

/* -------------------------------------------------------------------------
    11. Page banner (subpages)
    ------------------------------------------------------------------------- */
.page-banner {
	background: var(--color-bg-alt);
	padding-block: 64px;
	text-align: center;
}

.page-banner h1 {
	font-size: clamp(30px, 4vw, 44px);
	margin-bottom: 12px;
}

.page-banner p {
	max-width: 560px;
	margin-inline: auto;
}

/* -------------------------------------------------------------------------
    11b. Legal pages (Adatkezelés / ÁSZF / Impresszum)
    ------------------------------------------------------------------------- */
.legal-section {
	padding-block: 64px;
}

.legal-container {
	max-width: 820px;
}

.legal-content {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	padding: clamp(32px, 5vw, 64px);
	font-size: 16px;
	line-height: 1.8;
	color: var(--color-ink-soft);
}

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

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

.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content h4 {
	color: var(--color-ink);
	line-height: 1.3;
	margin-top: 40px;
	margin-bottom: 16px;
}

.legal-content h1:first-child,
.legal-content h2:first-child,
.legal-content h3:first-child {
	margin-top: 0;
}

.legal-content h2 {
	font-size: 24px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--color-border);
}

.legal-content h3 {
	font-size: 19px;
}

.legal-content p {
	margin-bottom: 18px;
	text-align: justify;
	text-justify: inter-word;
}

.legal-content ul,
.legal-content ol {
	margin: 0 0 18px 24px;
	padding: 0;
}

.legal-content li {
	margin-bottom: 8px;
}

.legal-content a {
	color: var(--color-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.legal-content strong {
	color: var(--color-ink);
}

.legal-content table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 24px;
	font-size: 14px;
}

.legal-content th,
.legal-content td {
	padding: 10px 14px;
	border: 1px solid var(--color-border);
	text-align: left;
}

.legal-content th {
	background: var(--color-bg-alt);
	color: var(--color-ink);
	font-weight: 700;
}

@media (max-width: 720px) {
	.legal-section {
		padding-block: 40px;
	}

	.legal-content {
		padding: 28px 20px;
	}
}

/* -------------------------------------------------------------------------
    11b. Contact page
    ------------------------------------------------------------------------- */
.contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 56px;
	align-items: start;
}

.contact__info {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.contact__item strong {
	display: block;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--color-primary);
	margin-bottom: 4px;
}

.contact__item a,
.contact__item span {
	font-size: 18px;
	font-weight: 600;
	color: var(--color-ink);
}

.contact__item a:hover {
	color: var(--color-primary);
}

.contact__intro {
	margin-bottom: 24px;
}

.contact__form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.form-row {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.form-row label {
	font-size: 14px;
	font-weight: 600;
	color: var(--color-ink);
}

.form-row input {
	padding: 12px 16px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	font-family: inherit;
	font-size: 15px;
	color: var(--color-ink);
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-row input:focus {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px var(--color-primary-light);
}

.contact__success {
	padding: 16px 20px;
	background: #e6f4ea;
	color: #1e7e34;
	border-radius: var(--radius-sm);
	font-weight: 600;
	margin-bottom: 24px;
}

/* -------------------------------------------------------------------------
    11c. Single product
    ------------------------------------------------------------------------- */
.product-single__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 56px;
	align-items: start;
}

.product-single__media .card__thumb {
	border-radius: var(--radius-md);
}

.product-single__body {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.product-single__price {
	display: inline-flex;
	align-self: flex-start;
	padding: 8px 18px;
	border-radius: 999px;
	background: var(--color-primary-light);
	color: var(--color-primary);
	font-size: 20px;
	font-weight: 700;
}

.product-single__desc {
	font-size: 18px;
	line-height: 1.6;
	font-weight: 600;
	color: var(--color-ink);
}

.product-single__content {
	font-size: 16px;
	line-height: 1.7;
	color: var(--color-ink-soft);
	text-align: justify;
	text-justify: inter-word;
}

.product-single__content > *:first-child {
	margin-top: 0;
}

/* -------------------------------------------------------------------------
    12. Knowledge base / post list
    ------------------------------------------------------------------------- */
.post-list {
	display: grid;
	gap: 32px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-card time {
	display: block;
	font-size: 13px;
	color: var(--color-primary);
	font-weight: 700;
	margin-bottom: 8px;
}

.pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 48px;
}

.pagination a,
.pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding-inline: 8px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--color-border);
	font-weight: 600;
	font-size: 14px;
}

.pagination .current {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: #fff;
}

/* -------------------------------------------------------------------------
    12b. Product comparison
    ------------------------------------------------------------------------- */
.comparison-table-wrap {
	overflow-x: auto;
	margin-bottom: 16px;
}

.comparison-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.comparison-table th,
.comparison-table td {
	padding: 16px;
	text-align: left;
	border-bottom: 1px solid var(--color-border);
}

.comparison-table thead th {
	background: var(--color-bg-alt);
	font-weight: 700;
	color: var(--color-ink);
}

.comparison-table tbody td:first-child {
	font-weight: 600;
	color: var(--color-ink);
	white-space: nowrap;
}

.comparison-table tbody tr:last-child td {
	border-bottom: none;
}

.comparison-hint {
	font-size: 13px;
	color: var(--color-ink-soft);
	text-align: center;
}

.comparison-table__corner {
	background: var(--color-bg-alt);
}

.comparison-table__product {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
	font-weight: 400;
}

.comparison-table__product .card__thumb,
.comparison-table__product .img-placeholder {
	width: 96px;
	height: 96px;
	object-fit: contain;
	margin-bottom: 0;
}

.comparison-table__product strong {
	font-size: 15px;
	color: var(--color-ink);
}

.comparison-table__price {
	font-weight: 700;
	color: var(--color-primary);
}

.comparison-table__desc-row td {
	font-size: 13px;
	line-height: 1.5;
	color: var(--color-ink-soft);
	vertical-align: top;
}

.comparison-table__feature-label {
	display: flex;
	align-items: center;
	gap: 10px;
	white-space: normal !important;
}

.comparison-table__feature-icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	stroke: var(--color-primary);
}

.comparison-table__mark {
	text-align: center;
}

.comparison-table__check {
	display: inline-block;
	font-weight: 700;
	font-size: 18px;
	color: var(--color-primary);
}

.comparison-table__dash {
	display: inline-block;
	color: var(--color-ink-soft);
}

/* -------------------------------------------------------------------------
    12c. Product stack (image left, description right, one per product)
    ------------------------------------------------------------------------- */
.product-stack {
	display: flex;
	flex-direction: column;
	gap: 40px;
	max-width: 980px;
	margin: 0 auto;
}

.product-stack__row {
	display: grid;
	grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
	gap: 32px;
	align-items: center;
	padding-bottom: 40px;
	border-bottom: 1px solid var(--color-border);
}

.product-stack__row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.product-stack__media .card__thumb,
.product-stack__media .img-placeholder {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius-md);
	margin-bottom: 0;
}

.product-stack__body h3 {
	margin-bottom: 12px;
}

.product-stack__body p {
	color: var(--color-ink-soft);
	line-height: 1.7;
}

/* -------------------------------------------------------------------------
   13. Footer
   ------------------------------------------------------------------------- */
.site-footer {
	background: var(--color-ink);
	color: rgba(255, 255, 255, 0.75);
	padding-top: 72px;
}

.site-footer a {
	color: rgba(255, 255, 255, 0.75);
}

.site-footer a:hover {
	color: #fff;
}

.footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 48px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__col {
	min-width: 0;
}

.footer__col h4 {
	color: #fff;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 20px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.footer__col li {
	margin-bottom: 12px;
	font-size: 14px;
}

.footer__social {
	display: flex;
	gap: 12px;
	margin-top: 20px;
}

.footer__social a {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
}

.footer__social svg {
	width: 16px;
	height: 16px;
}

.footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-block: 24px;
	font-size: 13px;
}

.footer__legal {
	display: flex;
	gap: 20px;
}

.footer__legal a {
	color: inherit;
	opacity: 0.8;
}

.footer__legal a:hover {
	opacity: 1;
}

/* -------------------------------------------------------------------------
   14. 404
   ------------------------------------------------------------------------- */
.error-404 {
	text-align: center;
	padding-block: 120px;
}

.error-404 h1 {
	font-size: 96px;
	color: var(--color-primary);
	margin-bottom: 8px;
}

/* -------------------------------------------------------------------------
   15. Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 1100px) {
	.overview__grid {
		grid-template-columns: 1fr;
	}

	.contact__grid {
		grid-template-columns: 1fr;
	}

	.problem-cards .card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.products-grid .card-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.card-grid,
	.stats-bar .card-grid {
		/* !important: card grids that set --cols inline (vitaltech_card_grid())
		   must still collapse at this breakpoint. */
		--cols: 2 !important;
	}

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

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

	.benefit-band__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 40px 24px;
	}

	.footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.product-stack__row {
		grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
		gap: 24px;
	}
}

@media (max-width: 720px) {
	.hero {
		min-height: 90vh;
	}

	.hero__content {
		padding-block: 80px 56px;
	}

	.primary-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		border-bottom: 1px solid var(--color-border);
		flex-direction: column;
		align-items: stretch;
		padding: 16px 24px 24px;
		display: none;
	}

	.site-header.is-open .primary-nav {
		display: flex;
	}

	.primary-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
	}

	.primary-nav > .btn-primary {
		display: inline-flex;
		margin-top: 12px;
	}

	.site-header__actions .btn-primary {
		display: none;
	}

	.site-header__phone {
		display: none;
	}

	.site-header__phone-mobile {
		display: inline-flex;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.card-grid,
	.problem-cards .card-grid,
	.products-grid .card-grid,
	.stats-bar .card-grid,
	.gallery-strip,
	.post-list {
		grid-template-columns: 1fr;
	}

	.benefit-band__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.card--photo .card__media {
		aspect-ratio: 3 / 2;
	}

	.card__icon--badge,
	.badge-icon {
		width: 56px !important;
		height: 56px !important;
		max-width: 56px;
		max-height: 56px;
		border-radius: 100%;
	}

	.card--photo .card__body {
		padding: 40px 20px 28px 20px;
	}

	.footer__grid {
		grid-template-columns: 1fr;
	}

	.product-stack__row {
		grid-template-columns: 1fr;
		gap: 16px;
		padding-bottom: 32px;
	}

	.product-stack {
		gap: 32px;
	}

	.product-stack__media .card__thumb,
	.product-stack__media .img-placeholder {
		max-width: 320px;
		margin-inline: auto;
	}

	.footer__bottom {
		flex-direction: column;
		gap: 12px;
		text-align: center;
	}

	.footer__legal {
		flex-wrap: wrap;
		justify-content: center;
	}

	.cta-band {
		padding: 40px 24px;
	}

	.contact__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.product-single__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}
