/* ============================================================
   Pippo Caffè — база: токени, ресет, спільні класи.
   ============================================================ */

:root {
	--pc-black: #0d0906;
	--pc-espresso: #1a0e0a;
	--pc-smoke: #2a1d15;
	--pc-bark: #3d2e22;
	--pc-clay: #6b5344;
	--pc-stone: #8a7565;
	--pc-sand: #b8a48e;
	--pc-crema: #f5ead6;
	--pc-latte: #faf6ef;
	--pc-white: #fffdf9;
	--pc-gold: #c8a45e;
	--pc-gold-light: #e0c97f;
	--pc-gold-dim: rgba(200, 164, 94, 0.12);
	--pc-terracotta: #b8573a;
	--pc-olive: #5a6b48;

	--font-display: 'Cormorant Garamond', Georgia, serif;
	--font-body: 'Outfit', system-ui, sans-serif;

	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	--spring: cubic-bezier(0.34, 1.56, 0.64, 1);

	--pc-shell: 1200px;
	--pc-gutter: 40px;
	--pc-gutter-sm: 20px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--pc-white);
	color: var(--pc-bark);
	font-family: var(--font-body);
	font-weight: 300;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
ul,
ol {
	margin: 0;
	padding: 0;
}

ul,
ol {
	list-style: none;
}

button {
	font-family: inherit;
}

/* ── Спільні дрібниці секцій ─────────────────────────────── */

.label {
	display: block;
	margin-bottom: 20px;
	color: var(--pc-gold);
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 4px;
	text-transform: uppercase;
}

.stitle {
	margin-bottom: 20px;
	color: var(--pc-espresso);
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.1;
}

.stitle--lg {
	font-size: clamp(36px, 5vw, 52px);
}

.stitle--md {
	font-size: clamp(32px, 5vw, 48px);
}

.stitle--light {
	color: var(--pc-crema);
}

.sdesc {
	color: var(--pc-stone);
	font-family: var(--font-body);
	font-size: 17px;
	font-weight: 300;
	line-height: 1.75;
}

/* Поява блоків під час скролу (див. assets/js/reveal.js). */
.rv,
.hs-rev,
.hf-rev,
.hc-rev {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.rv.vis,
.hs-rev.vis,
.hf-rev.vis,
.hc-rev.vis {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.rv,
	.hs-rev,
	.hf-rev,
	.hc-rev {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ── Форми: honeypot і повідомлення про помилку ──────────── */

.pc-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.pc-form-error {
	display: none;
	margin: 0 0 16px;
	color: var(--pc-terracotta);
	font-family: var(--font-body);
	font-size: 14px;
}

.pc-form-error.show {
	display: block;
}

.pc-form-error--light {
	color: #e0846a;
}

button[disabled] {
	opacity: 0.6;
	cursor: progress;
}

/* ── Прості сторінки: page.php, index.php, 404.php ───────── */

.pc-doc__hero {
	position: relative;
	padding: 160px 0 60px;
	background: var(--pc-espresso);
	text-align: center;
}

.pc-doc__hero-inner {
	max-width: 760px;
	margin: 0 auto;
	padding: 0 var(--pc-gutter);
}

.pc-doc__label {
	display: block;
	margin-bottom: 16px;
	color: var(--pc-gold);
	font-family: var(--font-display);
	font-size: 56px;
	font-weight: 700;
	line-height: 1;
}

.pc-doc__title {
	color: var(--pc-crema);
	font-family: var(--font-display);
	font-size: clamp(32px, 5vw, 56px);
	font-weight: 700;
	line-height: 1.1;
}

.pc-doc__sub {
	margin-top: 16px;
	color: var(--pc-stone);
	font-size: 17px;
}

.pc-doc__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 32px;
	padding: 15px 34px;
	border-radius: 100px;
	background: var(--pc-gold);
	color: var(--pc-espresso);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	text-decoration: none;
	transition: all 0.4s var(--ease);
}

.pc-doc__btn:hover {
	background: var(--pc-gold-light);
	transform: translateY(-2px);
}

.pc-doc__btn svg {
	width: 16px;
	height: 16px;
}

.pc-doc__body {
	max-width: 760px;
	margin: 0 auto;
	padding: 72px var(--pc-gutter) 120px;
	color: var(--pc-clay);
	font-size: 16px;
	line-height: 1.8;
}

.pc-doc__body h2,
.pc-doc__body h3 {
	margin: 40px 0 16px;
	color: var(--pc-espresso);
	font-family: var(--font-display);
	font-weight: 700;
}

.pc-doc__body h2 {
	font-size: 30px;
}

.pc-doc__body h3 {
	font-size: 23px;
}

.pc-doc__body p {
	margin-bottom: 18px;
}

.pc-doc__body a {
	color: var(--pc-gold);
}

.pc-doc__body ul,
.pc-doc__body ol {
	margin: 0 0 18px 20px;
	list-style: disc;
}

.pc-doc__body ol {
	list-style: decimal;
}

.pc-doc__body li {
	margin-bottom: 8px;
}

.pc-doc__list li {
	margin-bottom: 28px;
}

.pc-doc__list a {
	color: var(--pc-espresso);
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 700;
	text-decoration: none;
}

.pc-doc__list a:hover {
	color: var(--pc-gold);
}

@media (max-width: 768px) {
	.pc-doc__hero {
		padding: 140px 0 48px;
	}

	.pc-doc__hero-inner,
	.pc-doc__body {
		padding-left: var(--pc-gutter-sm);
		padding-right: var(--pc-gutter-sm);
	}
}
