/* AVELOR — Сторінка «Про нас». 5 секцій. */

/* Hide Blocksy auto-rendered page hero/title — we render our own h1.
   The .avelor-about-page class is added in functions.php via body_class. */
body.avelor-about-page .hero-section,
body.avelor-about-page .entry-header { display: none !important; }
body.avelor-about-page main#main { padding: 0; }
body.avelor-about-page .ct-container-narrow { max-width: none; padding: 0; }

.abv-page {
	color: var(--fg-primary);
	background: var(--bg-page);
}
.abv-container {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--container-pad);
	box-sizing: border-box;
}
@media (max-width: 720px) {
	.abv-container { padding: 0 20px; }
}
@media (max-width: 480px) {
	.abv-container { padding: 0 16px; }
}

/* Shared section head */
.abv-eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
	color: var(--fg-muted); font-weight: 600;
	margin-bottom: 16px;
}
.abv-eyebrow .bar {
	width: 28px; height: 1px;
	background: var(--avelor-graphite);
	display: inline-block;
}
.abv-section { padding-top: 96px; padding-bottom: 96px; }
.abv-section-head {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 48px;
	align-items: end;
	padding-bottom: 56px;
	border-bottom: 1px solid var(--avelor-line);
	margin-bottom: 56px;
}
.abv-section-head .copy { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.abv-section-head .copy .abv-eyebrow { margin-bottom: 0; }
.abv-section-head h2 {
	margin: 0;
	font-size: clamp(32px, 4vw, 56px);
	line-height: 1.04;
	letter-spacing: -0.025em;
	font-weight: 500;
	color: var(--avelor-graphite);
}
.abv-section-head .sub {
	margin: 0;
	font-size: 15px; line-height: 1.6;
	color: var(--fg-secondary);
	max-width: 42ch;
}

/* =====================================================
   01 · Hero
   ===================================================== */
.abv-hero { padding-top: 56px; padding-bottom: 96px; }
.abv-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 64px;
	align-items: center;
}
.abv-hero-text { min-width: 0; }
.abv-hero h1 {
	margin: 0;
	font-size: clamp(48px, 7vw, 112px);
	line-height: 0.95;
	letter-spacing: -0.03em;
	font-weight: 500;
	color: var(--avelor-graphite);
}
.abv-hero h1 em {
	font-style: italic; font-weight: 400;
	color: var(--avelor-deep-green);
	font-family: var(--font-display);
}
.abv-hero-sub {
	margin: 32px 0 0;
	font-size: 16px; line-height: 1.65;
	color: var(--fg-secondary);
	max-width: 52ch;
}

.abv-hero-media {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 200px 80px 240px;
	gap: 12px;
	min-height: 540px;
}
.abv-tile {
	overflow: hidden;
	background: var(--avelor-milk);
	border-radius: var(--radius-md);
	position: relative;
}
.abv-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.abv-tile-a { grid-column: 1; grid-row: 1 / span 2; }
.abv-tile-b { grid-column: 2; grid-row: 1; }
.abv-tile-plate {
	grid-column: 2; grid-row: 2;
	background: var(--avelor-graphite);
	color: var(--avelor-milk);
	padding: 16px 18px;
	display: flex; flex-direction: column;
	gap: 6px;
	justify-content: center;
}
.abv-tile-plate .label {
	font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
	color: rgba(251,248,245,0.55);
	font-weight: 600;
}
.abv-tile-plate .copy {
	font-size: 12px;
	line-height: 1.4;
	font-style: italic;
	color: var(--avelor-milk);
}
.abv-tile-plate .sig {
	font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--avelor-champagne);
	font-weight: 600;
}
.abv-tile-c { grid-column: 1 / span 2; grid-row: 3; }

/* =====================================================
   02 · DNA — three principles
   ===================================================== */
.abv-dna-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
.abv-dna-cell {
	background: var(--avelor-white);
	border: 1px solid var(--avelor-line);
	border-radius: var(--radius-lg);
	padding: 32px 28px 28px;
	display: flex; flex-direction: column; gap: 18px;
	transition: border-color var(--dur-fast) var(--ease-out);
}
.abv-dna-cell:hover { border-color: var(--avelor-graphite); }
.abv-dna-cell > header {
	display: flex; align-items: center; justify-content: space-between;
}
.abv-dna-cell .num {
	font-family: var(--font-mono);
	font-size: 13px; letter-spacing: 0.14em;
	color: var(--fg-muted); font-weight: 600;
}
.abv-dna-cell .ic {
	width: 44px; height: 44px;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--avelor-milk);
	border-radius: var(--radius-pill);
	color: var(--avelor-deep-green);
}
.abv-dna-cell h3 {
	margin: 0;
	font-size: 22px;
	line-height: 1.2;
	letter-spacing: -0.015em;
	font-weight: 500;
	color: var(--avelor-graphite);
}
.abv-dna-cell p {
	margin: 0;
	font-size: 14px; line-height: 1.6;
	color: var(--fg-secondary);
}

/* =====================================================
   03 · Manifesto
   ===================================================== */
.abv-manifesto {
	background: var(--avelor-milk);
	padding: 96px 0;
	border-top: 1px solid var(--avelor-line);
	border-bottom: 1px solid var(--avelor-line);
}
.abv-manifesto-inner {
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr);
	gap: 64px;
	align-items: center;
}
.abv-manifesto-mark {
	width: 200px; height: 200px;
	background: var(--avelor-graphite);
	border-radius: var(--radius-md);
	display: flex; align-items: center; justify-content: center;
	user-select: none;
	overflow: hidden;
}
.abv-manifesto-mark img {
	width: 70%;
	height: auto;
	object-fit: contain;
	display: block;
	/* Logo PNG ships in dark graphite; on our graphite tile invert to milk. */
	filter: brightness(0) invert(1);
}
.abv-manifesto-text { min-width: 0; }
.abv-manifesto-text .lead {
	font-size: clamp(20px, 2.4vw, 28px);
	line-height: 1.45;
	color: var(--avelor-graphite);
	letter-spacing: -0.012em;
	margin: 0;
}
.abv-manifesto-text .lead + .lead { margin-top: 24px; }
.abv-manifesto-text .lead em {
	font-style: italic; font-weight: 400;
	color: var(--avelor-deep-green);
	font-family: var(--font-display);
}
.abv-sign {
	margin-top: 36px;
	display: inline-flex; align-items: center; gap: 16px;
}
.abv-sign .sig-line {
	width: 48px; height: 1px;
	background: var(--avelor-graphite);
	display: inline-block;
}
.abv-sign .sig-name {
	font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--fg-muted); font-weight: 600;
}

/* =====================================================
   04 · Brands
   ===================================================== */
.abv-brands {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}
.abv-brand-card {
	background: var(--avelor-white);
	border: 1px solid var(--avelor-line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: flex; flex-direction: column;
	transition: border-color var(--dur-fast) var(--ease-out);
}
.abv-brand-card:hover { border-color: var(--avelor-graphite); }
.abv-brand-photo {
	aspect-ratio: 16 / 11;
	background: var(--avelor-milk);
	overflow: hidden;
}
.abv-brand-photo img {
	width: 100%; height: 100%; object-fit: cover; display: block;
	transition: transform var(--dur-slow) var(--ease-out);
}
.abv-brand-card:hover .abv-brand-photo img { transform: scale(1.03); }
.abv-brand-body {
	padding: 28px 28px 32px;
	display: flex; flex-direction: column; gap: 14px;
	flex: 1;
}
.abv-brand-row {
	display: flex; align-items: center; justify-content: space-between;
	gap: 12px;
}
.abv-brand-tag {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--fg-muted); font-weight: 600;
}
.abv-brand-tag .dot {
	width: 8px; height: 8px;
	border-radius: var(--radius-pill);
	display: inline-block;
}
.abv-brand-num {
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--fg-muted); font-weight: 500;
	letter-spacing: 0.04em;
}
.abv-brand-card h3 {
	margin: 0;
	font-size: 32px;
	line-height: 1.1;
	letter-spacing: -0.02em;
	font-weight: 500;
	color: var(--avelor-graphite);
}
.abv-brand-card p {
	margin: 0;
	font-size: 14px; line-height: 1.6;
	color: var(--fg-secondary);
	max-width: 46ch;
}
.abv-brand-link {
	margin-top: auto;
	align-self: flex-start;
	font-size: 13px; font-weight: 500;
	color: var(--avelor-deep-green);
	text-decoration: none;
	border-bottom: 1px solid var(--avelor-line);
	transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.abv-brand-link:hover {
	color: var(--avelor-graphite);
	border-bottom-color: var(--avelor-graphite);
}

/* =====================================================
   05 · CTA
   ===================================================== */
.abv-cta {
	background: var(--avelor-deep-green);
	color: var(--avelor-milk);
	padding: 96px 0;
	margin-top: 0;
}
.abv-cta-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	gap: 64px;
	align-items: center;
}
.abv-cta .abv-eyebrow {
	color: rgba(251,248,245,0.55);
}
.abv-cta .abv-eyebrow .bar {
	background: var(--avelor-champagne);
}
.abv-cta h2 {
	margin: 0;
	font-size: clamp(48px, 6vw, 84px);
	line-height: 0.98;
	letter-spacing: -0.025em;
	font-weight: 500;
	color: var(--avelor-milk);
}
.abv-cta h2 em {
	font-style: italic; font-weight: 400;
	color: var(--avelor-champagne);
	font-family: var(--font-display);
}
.abv-cta p {
	margin: 24px 0 32px;
	font-size: 16px; line-height: 1.6;
	color: rgba(251,248,245,0.78);
	max-width: 36ch;
}
.abv-cta-actions {
	display: flex; gap: 12px;
	flex-wrap: wrap;
}
.abv-btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 16px 24px;
	border-radius: var(--radius-pill);
	font-family: inherit;
	font-size: 14px; font-weight: 500;
	letter-spacing: 0.005em;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.abv-btn--primary {
	background: var(--avelor-champagne);
	color: var(--avelor-graphite);
	border-color: var(--avelor-champagne);
}
.abv-btn--primary:hover {
	background: var(--avelor-milk);
	border-color: var(--avelor-milk);
}
.abv-btn--ghost {
	background: transparent;
	color: var(--avelor-milk);
	border-color: rgba(251,248,245,0.32);
}
.abv-btn--ghost:hover {
	border-color: var(--avelor-milk);
}

.abv-cta-meta {
	display: flex; flex-direction: column;
	gap: 24px;
	padding-left: 48px;
	border-left: 1px solid rgba(251,248,245,0.16);
}
.abv-cta-meta-item { display: flex; flex-direction: column; gap: 4px; }
.abv-cta-meta-item .lbl {
	font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
	color: rgba(251,248,245,0.55);
	font-weight: 600;
}
.abv-cta-meta-item .val {
	font-size: 16px;
	color: var(--avelor-milk);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color var(--dur-fast) var(--ease-out);
}
.abv-cta-meta-item .val:hover { border-bottom-color: var(--avelor-champagne); }
.abv-cta-meta-item .hours {
	font-size: 11px;
	color: rgba(251,248,245,0.55);
	margin-top: 2px;
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 1080px) {
	.abv-hero-grid { grid-template-columns: 1fr; gap: 48px; }
	.abv-hero h1 { font-size: clamp(48px, 10vw, 88px); }
	.abv-hero-media { min-height: 420px; }
	.abv-section-head { grid-template-columns: 1fr; gap: 16px; padding-bottom: 40px; margin-bottom: 40px; }
	.abv-dna-grid { grid-template-columns: 1fr; gap: 16px; }
	.abv-manifesto-inner { grid-template-columns: 1fr; gap: 40px; }
	.abv-manifesto-mark { width: 140px; height: 140px; font-size: 88px; }
	.abv-brands { grid-template-columns: 1fr; gap: 16px; }
	.abv-cta-inner { grid-template-columns: 1fr; gap: 48px; }
	.abv-cta-meta { padding-left: 0; padding-top: 32px; border-left: 0; border-top: 1px solid rgba(251,248,245,0.16); }
}

@media (max-width: 720px) {
	.abv-section { padding-top: 64px; padding-bottom: 64px; }
	.abv-hero { padding-top: 32px; padding-bottom: 64px; }
	.abv-manifesto { padding-top: 64px; padding-bottom: 64px; }
	.abv-cta { padding-top: 64px; padding-bottom: 64px; }
	.abv-hero-media {
		grid-template-rows: 180px 70px 200px;
		min-height: auto;
	}
	.abv-tile-plate .copy { font-size: 11px; }
	.abv-dna-cell { padding: 24px 20px; }
	.abv-brand-body { padding: 22px 20px 26px; }
	.abv-brand-card h3 { font-size: 26px; }
	.abv-cta-actions .abv-btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	.abv-page * { transition: none !important; }
	.abv-brand-card:hover .abv-brand-photo img { transform: none; }
}
