/*
 * atvesmir — "Kontakt" page (block 13)
 * 1:1 with the prototype's contact screen: a mono eyebrow + serif H1 + lead,
 * then two responsive grids of contact cards. Row 1 carries the .at-card lift
 * (dark "night" e-mail card + two leader cards); row 2 is plain (postal address,
 * provozovatel, social pills). Colours/metrics come from the design tokens
 * (tokens.css) so the page follows light/dark. Measured against tests/design
 * (Kontakt screen): main max-width 1180px, gutter clamp(18px,5vw,48px).
 */

.at-kontakt {
	max-width: var(--at-content);
	margin-inline: auto;
	padding: clamp(34px, 5vw, 56px) var(--at-gutter) 0;
}

/* ---------------------------------------------------------------- *
 * 1. Heading band — mono eyebrow + serif H1 + lead
 * ---------------------------------------------------------------- */
.at-kontakt__eyebrow {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: .16em;
	line-height: 1.65;
	text-transform: uppercase;
	color: var(--ink3);
	margin: 0 0 10px;
	padding: 0;
}
.at-kontakt__title {
	font-family: var(--font-serif);
	font-size: clamp(2.1rem, 4.6vw, 3.2rem);
	font-weight: 400;
	letter-spacing: -.02em;
	line-height: 1.65;
	color: var(--ink);
	margin: 0;
	padding: 0;
}
.at-kontakt__lead {
	font-size: 1.2rem;
	line-height: 1.65;
	color: var(--ink2);
	max-width: 52ch;
	margin: 18px 0 0;
	padding: 0;
}

/* ---------------------------------------------------------------- *
 * 2. Card grids — auto-fit, minmax(250px, 1fr)
 * ---------------------------------------------------------------- */
.at-kontakt__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 14px;
	margin: 36px 0 0;
}
.at-kontakt__grid--second {
	margin: 14px 0 0;
}

.at-kontakt__card {
	background: var(--bg2);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 26px 28px;
}
.at-kontakt__card--night {
	display: block;
	background: var(--night);
	color: var(--nightInk);
	border: 0;
}
.at-kontakt__card--night:visited,
.at-kontakt__card--night:focus,
.at-kontakt__card--night:active,
.at-kontakt__card--night:hover {
	color: var(--nightInk);
}

/* ---------------------------------------------------------------- *
 * 3. Card contents
 * ---------------------------------------------------------------- */
.at-kontakt__klabel {
	display: block;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: .1em;
	line-height: 1.65;
	text-transform: uppercase;
	color: var(--ink3);
	margin-bottom: 12px;
}
.at-kontakt__klabel--night {
	color: var(--nightInk2);
}

.at-kontakt__value {
	display: block;
	font-size: 1.25rem;
	line-height: 1.65;
	color: var(--ink);
}
.at-kontakt__card--night .at-kontakt__value {
	color: var(--nightInk);
}

.at-kontakt__tel {
	display: inline-block;
	color: var(--accent);
	font-family: var(--font-mono);
	font-size: 13px;
	line-height: 1.65;
}
.at-kontakt__tel:visited,
.at-kontakt__tel:focus,
.at-kontakt__tel:active,
.at-kontakt__tel:hover {
	color: var(--accent);
}

.at-kontakt__addr {
	display: block;
	font-size: 1.15rem;
	line-height: 1.5;
	color: var(--ink);
}

/* ---------------------------------------------------------------- *
 * 4. Social pills
 * ---------------------------------------------------------------- */
.at-kontakt__pills {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.at-kontakt__pill {
	color: var(--ink);
	border: 1px solid var(--line2);
	padding: 8px 14px;
	border-radius: 999px;
	font-family: var(--font-mono);
	font-size: 12px;
	line-height: 1.65;
}
.at-kontakt__pill:visited,
.at-kontakt__pill:focus,
.at-kontakt__pill:active,
.at-kontakt__pill:hover {
	color: var(--ink);
}

/* ---------------------------------------------------------------- *
 * E-mail "night" card now stacks a clickable e-mail value + the general
 * phone number (pulled from the footer). Keep both light (high contrast on
 * the dark card); the small accent-tel default would read too dim on --night.
 * ---------------------------------------------------------------- */
.at-kontakt__valuelink { text-decoration: none; }
.at-kontakt__card--night .at-kontakt__tel,
.at-kontakt__card--night .at-kontakt__tel:visited,
.at-kontakt__card--night .at-kontakt__tel:focus,
.at-kontakt__card--night .at-kontakt__tel:active { color: var(--nightInk); }
.at-kontakt__tel--night { margin-top: 12px; font-size: 14px; }
.at-kontakt__card--night .at-kontakt__valuelink:hover,
.at-kontakt__card--night .at-kontakt__tel--night:hover { text-decoration: underline; }
