/*
Theme Name: Pesarkhale
Theme URI: http://localhost:8080
Author: Rokn
Description: Pesarkhale restaurant theme — Pesarkhale Card landing page, built from the Figma "Pk card" frame.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: pesarkhale
*/

@font-face {
	font-family: "Pinar";
	src: url("assets/fonts/Pinar-Regular.ttf") format("truetype");
	font-weight: 400 500;
	font-display: swap;
}

@font-face {
	font-family: "Pinar";
	src: url("assets/fonts/Pinar-ExtraBold.ttf") format("truetype");
	font-weight: 600 900;
	font-display: swap;
}

:root {
	--pk-bg: #f7e8d6;
	--pk-header-bg: #fef8f1;
	--pk-maroon: #4f0f0e;
	--pk-gold: #a98355;
	--pk-gold-light: #c89357;
	--pk-cream: #eae1d8;
	--pk-sand: #e8d2b7;
	--pk-gray: #6e6e6e;
	--pk-font: "Pinar", Tahoma, sans-serif;
	--pk-script: "Great Vibes", "Bon Vivant Family Script", cursive;
	--pk-img: url("assets/img/");
	/* Figma "Pk card" layout grid: 12 columns, 160px side margins, 32px gutter at 1920px. */
	--pk-gutter: min(160px, 8.3333vw);
}

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

html {
	scroll-behavior: smooth;
	-webkit-tap-highlight-color: rgba(79, 15, 14, .15);
}

a,
button {
	touch-action: manipulation;
}

/* Visible keyboard focus for every link/button (mouse clicks stay ring-free). */
a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--pk-gold);
	outline-offset: 3px;
	border-radius: 4px;
}

h1,
h2,
h3,
h4 {
	text-wrap: balance;
}

body {
	margin: 0;
	background: var(--pk-bg);
	color: #000;
	font-family: var(--pk-font);
	font-size: 18px;
	line-height: normal;
	/* clip, not hidden: hidden turns body into a scroll container and breaks position: sticky */
	overflow-x: clip;
}

/* Decorative full-bleed waves overhang the edges by a few pixels; never let them add a sideways scroll.
   clip (unlike hidden) does not create a scroll container, so position: sticky keeps working. */
html { overflow-x: clip; }

img {
	display: block;
	max-width: none;
}

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

p,
h1,
h2,
h3,
ul,
ol {
	margin: 0;
	padding: 0;
	font-weight: inherit;
	font-size: inherit;
}

ul,
ol {
	list-style: none;
}

.pk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 60px;
	padding: 18px 30px;
	border-radius: 20px;
	background: var(--pk-maroon);
	color: var(--pk-cream);
	font-size: 18px;
	font-weight: 500;
	white-space: nowrap;
	transition: background-color .2s ease, transform .2s ease;
}

.pk-btn:hover,
.pk-btn:focus-visible {
	background: #6e1c1b;
	transform: translateY(-2px);
}

.pk-btn:focus-visible,
.pk-nav a:focus-visible,
.pk-social a:focus-visible,
.pk-price:focus-visible {
	outline: 2px solid var(--pk-gold);
	outline-offset: 3px;
}

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

/* Skip link becomes visible when focused. */
a.screen-reader-text:focus-visible {
	top: 12px;
	right: 12px;
	z-index: 100;
	width: auto;
	height: auto;
	padding: 10px 16px;
	clip: auto;
	border-radius: 12px;
	background: var(--pk-maroon);
	color: var(--pk-cream);
}

/* Section heading: script line above a big Persian title */
.pk-heading {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	text-align: center;
	white-space: nowrap;
}

.pk-heading__script {
	font-family: var(--pk-script);
	font-size: 40px;
	line-height: 77px;
	color: var(--pk-maroon);
	direction: ltr;
}

.pk-heading__title {
	font-size: 60px;
	font-weight: 700;
	line-height: 48px;
	font-kerning: none;
	color: #000;
}

/* ---------- Header ---------- */
.pk-header {
	position: relative;
	height: 216px;
	z-index: 10;
	overflow-x: clip;
}

.pk-header__bg {
	position: absolute;
	top: -4px;
	left: 50%;
	width: 1936px;
	height: 227.111px;
	transform: translateX(-50%);
	pointer-events: none;
}

.pk-header__inner {
	position: relative;
	max-width: 1920px;
	height: 100%;
	margin: 0 auto;
}

.pk-logo {
	position: absolute;
	top: 30px;
	left: 50%;
	width: 124px;
	height: 120px;
	transform: translateX(-50%);
}

.pk-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.pk-nav {
	position: absolute;
	top: 59px;
	right: var(--pk-gutter);
}

.pk-nav ul {
	display: flex;
	gap: 32px;
	font-size: 16px;
	white-space: nowrap;
}

.pk-nav a {
	color: var(--pk-gray);
	transition: color .2s ease;
}

.pk-nav a:hover,
.pk-nav .current-menu-item > a,
.pk-nav .is-current > a {
	color: #000;
}

.pk-nav .current-menu-item > a,
.pk-nav .is-current > a {
	font-weight: 500;
}

.pk-header__cta {
	position: absolute;
	top: 50px;
	left: var(--pk-gutter);
	color: #fff;
}

.pk-menu-toggle {
	display: none;
}

.pk-mhead {
	display: none;
}

/* ---------- Hero ---------- */
.pk-hero {
	position: relative;
	max-width: 1920px;
	height: 656px; /* 216 → 872 in the design */
	margin: 0 auto;
}

.pk-hero__media {
	position: absolute;
	top: 62px;
	left: var(--pk-gutter);
	width: 712px;
	height: 475px;
}

.pk-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pk-hero__content {
	position: absolute;
	top: 93px;
	right: var(--pk-gutter);
	width: 461px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 57px;
	text-align: right;
}

.pk-hero__titles {
	display: grid;
	width: 465px;
	color: var(--pk-maroon);
}

.pk-hero__titles .pk-heading__script {
	text-align: center;
}

.pk-hero__title {
	font-size: 80px;
	font-weight: 700;
	line-height: 80px;
	font-kerning: none;
	white-space: nowrap;
	padding-bottom: 35px;
}

.pk-hero__text {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.pk-hero__lead {
	font-size: 32px;
	font-weight: 500;
}

.pk-hero__desc {
	font-size: 18px;
	line-height: 27px;
}

/* ---------- Benefits ---------- */
.pk-benefits {
	position: relative;
	overflow-x: clip;
	height: 599px;
	background: var(--pk-maroon);
	color: var(--pk-cream);
}

.pk-benefits__wave {
	position: absolute;
	top: 598px;
	left: 50%;
	width: 1928px;
	height: 80px;
	transform: translateX(-50%);
	pointer-events: none;
}

.pk-birds {
	position: absolute;
	top: 0;
	width: 225px;
	height: 480px;
	overflow: hidden;
	opacity: .22;
	pointer-events: none;
}

.pk-birds img {
	position: absolute;
	top: -54px;
	width: 803.57px;
	height: 600px;
	transform: scaleX(-1);
}

.pk-birds--left {
	left: 0;
}

.pk-birds--left img {
	left: -409.82px;
}

.pk-birds--right {
	right: 0;
}

.pk-birds--right img {
	left: -184.82px;
}

.pk-benefits .pk-heading {
	position: relative;
	padding-top: 122px;
}

.pk-benefits .pk-heading__script {
	color: var(--pk-gold);
}

.pk-benefits .pk-heading__title {
	color: var(--pk-cream);
}

.pk-benefits__list {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: calc(100% - 2 * var(--pk-gutter));
	margin: 73px auto 0;
}

.pk-benefit {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	font-size: 18px;
	white-space: nowrap;
	font-weight: 500;
	text-align: center;
}

.pk-benefit img {
	width: 80px;
	height: 80px;
}

.pk-benefits__sep {
	width: 14.142px;
	height: 198px;
	flex-shrink: 0;
}

/* ---------- Plans ----------
 * The three cards keep the design's 31px between frames and scale so the outer
 * frame strokes land on the grid lines. --u is one design pixel at the current
 * scale: content width = 3 × 511u (508px card + 3px stroke) + 2 × 31px.
 */
.pk-plans {
	position: relative;
	padding-top: 234px; /* 1471 → 1705 */
	container-type: inline-size;
}

.pk-plans__grid {
	--u: calc((100cqw - 2 * var(--pk-gutter) - 62px) / 1533);
	position: relative;
	display: flex;
	justify-content: center;
	gap: calc(31px + 3 * var(--u));
	margin-top: 106px;
}

.pk-plan {
	position: relative;
	width: calc(508 * var(--u));
	height: calc(795.5 * var(--u));
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: calc(72 * var(--u));
}

.pk-plan__frame {
	position: absolute;
	top: calc(-1.5 * var(--u));
	left: calc(-1.5 * var(--u));
	width: calc(511 * var(--u));
	height: calc(798.5 * var(--u));
	pointer-events: none;
}

.pk-plan__badge {
	position: absolute;
	top: calc(-30 * var(--u));
	left: 50%;
	width: calc(199 * var(--u));
	height: calc(59 * var(--u));
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: calc(20 * var(--u));
	font-weight: 900;
	white-space: nowrap;
}

.pk-plan__badge img {
	position: absolute;
	inset: 0;
	width: calc(199 * var(--u));
	height: calc(59 * var(--u));
}

.pk-plan__badge span {
	position: relative;
}

.pk-plan__head {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: calc(374 * var(--u));
	height: calc(317 * var(--u));
}

.pk-plan__name {
	width: 100%;
	font-size: calc(40 * var(--u));
	font-weight: 500;
	color: var(--pk-gold);
	text-align: center;
	line-height: normal;
}

.pk-plan__card {
	width: calc(374 * var(--u));
	height: calc(249.333 * var(--u));
	object-fit: cover;
}

.pk-plan__card--shadow {
	filter: drop-shadow(0 calc(4 * var(--u)) calc(4 * var(--u)) rgba(0, 0, 0, .25));
}

.pk-plan__perks {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: calc(32 * var(--u));
	width: calc(450 * var(--u));
	margin-top: calc(36 * var(--u));
}

.pk-plan__divider {
	display: flex;
	align-items: center;
	gap: calc(23 * var(--u));
	width: 100%;
	direction: ltr;
}

.pk-plan__divider span {
	font-size: calc(24 * var(--u));
	font-weight: 700;
	color: var(--pk-gold-light);
	white-space: nowrap;
}

.pk-plan__line {
	position: relative;
	width: calc(180 * var(--u));
	height: 0;
	flex-shrink: 0;
}

.pk-plan__line img {
	position: absolute;
	top: calc(-2.67 * var(--u));
	width: calc(182.667 * var(--u));
	height: calc(5.333 * var(--u));
}

.pk-plan__line--left img {
	left: calc(-2.667 * var(--u));
}

.pk-plan__line--right img {
	left: 0;
}

.pk-plan__list {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: calc(5 * var(--u));
	width: calc(156 * var(--u));
}

.pk-plan__list li {
	display: flex;
	align-items: center;
	gap: calc(6 * var(--u));
	font-size: calc(18 * var(--u));
	font-weight: 500;
	white-space: nowrap;
}

.pk-plan__list img {
	width: calc(24 * var(--u));
	height: calc(24 * var(--u));
}

.pk-price {
	position: absolute;
	top: calc(687 * var(--u));
	left: calc(29 * var(--u));
	display: flex;
	align-items: center;
	justify-content: center;
	gap: calc(6 * var(--u));
	width: calc(450 * var(--u));
	height: calc(75 * var(--u));
	padding: calc(18 * var(--u)) calc(30 * var(--u));
	border-radius: calc(20 * var(--u));
	background: var(--pk-sand);
	color: #000;
	white-space: nowrap;
	transition: filter .2s ease, transform .2s ease;
}

.pk-price:hover {
	filter: brightness(.96);
	transform: translateY(calc(-2 * var(--u)));
}

.pk-price strong {
	font-size: calc(24 * var(--u));
	font-weight: 700;
}

.pk-price span {
	font-size: calc(18 * var(--u));
	font-weight: 500;
}

.pk-plan--featured .pk-plan__list li {
	color: #fff;
}

.pk-plan--featured .pk-price {
	background: var(--pk-gold);
	color: #fff;
}

.pk-plan--featured .pk-price span {
	color: var(--pk-cream);
}

/* ---------- Steps ---------- */
.pk-steps {
	padding-top: 155.5px; /* 2735.5 → 2891 */
}

.pk-steps__row {
	display: flex;
	justify-content: space-between;
	width: calc(100% - 2 * var(--pk-gutter));
	margin: 80px auto 0;
}

.pk-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	width: 236px;
	flex-shrink: 0;
}

.pk-step__shape {
	position: relative;
	width: 236px;
	height: 260px;
}

.pk-step__bg {
	position: absolute;
	top: -0.55px;
	left: 0;
	width: 236px;
	height: 261.079px;
}

.pk-step__icon {
	position: absolute;
	overflow: hidden;
}

.pk-step__icon img {
	position: absolute;
}

.pk-step__label {
	height: 32px;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.669;
	text-align: center;
	white-space: nowrap;
}

.pk-step__arrow {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	height: 260px;
}

.pk-step__arrow img {
	position: absolute;
	top: 124.67px;
	left: 50%;
	transform: translateX(-50%);
	width: 74.167px;
	height: 10.667px;
}

/* ---------- Note ---------- */
.pk-note {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1077px;
	max-width: calc(100% - 32px);
	height: 177px;
	margin: 129px auto 171px;
	background: url("assets/img/note-frame.png") center / 100% 100% no-repeat;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.669;
	text-align: center;
	padding: 0 90px 8px;
}

/* ---------- Footer ---------- */
.pk-footer {
	position: relative;
	height: 839px;
	overflow: hidden;
	color: #fff;
}

.pk-footer__wave {
	position: absolute;
	top: 0;
	left: 50%;
	width: 1928px;
	height: 80px;
	transform: translateX(-50%) scaleY(-1);
}

.pk-footer__bg {
	position: absolute;
	top: 80px;
	left: 50%;
	width: 1924px;
	height: 759px;
	transform: translateX(-50%);
	background: var(--pk-maroon);
}

.pk-footer__corner {
	position: absolute;
	width: 380px;
	height: 320px;
	overflow: hidden;
	pointer-events: none;
}

.pk-footer__corner-inner {
	position: absolute;
	left: 0;
	right: 0;
	overflow: hidden;
}

/* Opacity and flips live on the blended layer so the blend reaches the footer background. */

.pk-footer__corner-inner img {
	position: absolute;
	left: -95%;
	width: 195%;
	height: 148.91%;
	top: -26.63%;
	transform: scaleY(-1);
}

.pk-footer__corner--right {
	top: 54px;
	right: 0;
}

.pk-footer__corner--right .pk-footer__corner-inner {
	top: 5%;
	bottom: -5%;
	opacity: .5;
	mix-blend-mode: color-burn;
}

.pk-footer__corner--left {
	top: 79px;
	left: -6px;
}

.pk-footer__corner--left .pk-footer__corner-inner {
	top: 0;
	bottom: 0;
	mix-blend-mode: multiply;
}

.pk-footer__corner--left .pk-footer__corner-inner img {
	left: 0;
	transform: scale(-1, -1);
}

.pk-footer__inner {
	position: relative;
	max-width: 1920px;
	height: 100%;
	margin: 0 auto;
}

.pk-footer__logo {
	position: absolute;
	top: 80px;
	left: 50%;
	width: 124px;
	height: 120px;
	transform: translateX(-50%);
	background: #fff;
	-webkit-mask: url("assets/img/footer-logo-mask.png?v=2") center / contain no-repeat;
	mask: url("assets/img/footer-logo-mask.png?v=2") center / contain no-repeat;
}

.pk-footer__cols {
	position: absolute;
	top: 250px;
	left: var(--pk-gutter);
	right: var(--pk-gutter);
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 48px;
}

.pk-footer__col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	text-align: right;
}

.pk-footer__col h3 {
	font-size: 20px;
	font-weight: 700;
	white-space: nowrap;
}

.pk-footer__brand {
	font-size: 40px;
	font-weight: 900;
	white-space: nowrap;
}

.pk-footer__about {
	width: 406px;
	font-size: 14px;
	line-height: 25px;
}

.pk-footer__links {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 18px;
	white-space: nowrap;
}

.pk-footer__links a:hover,
.pk-footer__links a:focus-visible {
	color: var(--pk-sand);
}

.pk-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 23px;
	font-size: 18px;
}

.pk-footer__contact p:first-child {
	width: 403px;
}

.pk-footer__contact b {
	font-weight: 700;
}

.pk-footer__contact .nowrap {
	white-space: nowrap;
}

.pk-footer__social-row {
	position: absolute;
	top: 583px;
	left: var(--pk-gutter);
	right: var(--pk-gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	direction: ltr;
}

.pk-footer__line {
	width: 493px;
	height: 1px;
}

.pk-social {
	display: flex;
	gap: 12.19px;
}

.pk-social a {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 83.81px;
	height: 80px;
	transition: transform .2s ease;
}

.pk-social a:hover {
	transform: translateY(-3px);
}

.pk-social__bg {
	position: absolute;
	inset: 0;
	-webkit-mask: url("assets/img/social-mask.png") 0 0 / 83.81px 80px no-repeat;
	mask: url("assets/img/social-mask.png") 0 0 / 83.81px 80px no-repeat;
}

.pk-social__bg img {
	width: 83.81px;
	height: 80px;
}

.pk-social__icon {
	position: relative;
	height: 32px;
}

.pk-footer__ornaments {
	position: absolute;
	top: 678px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 2px;
	opacity: .25;
	direction: ltr;
}

.pk-ornament {
	width: 92px;
	height: 92px;
	flex-shrink: 0;
	background: var(--pk-cream);
	-webkit-mask: url("assets/img/footer-ornament-mask.png") 0 0 / 92px 92px no-repeat;
	mask: url("assets/img/footer-ornament-mask.png") 0 0 / 92px 92px no-repeat;
}

.pk-ornament-sep {
	width: 14.142px;
	height: 73px;
	flex-shrink: 0;
}

.pk-skyline {
	width: 732px;
	height: 161px;
	flex-shrink: 0;
	object-fit: cover;
	object-position: bottom;
}

/* ---------- Generic pages ---------- */
.pk-page {
	max-width: 900px;
	margin: 0 auto;
	padding: 60px 24px 120px;
	line-height: 1.9;
}

/* Not-found page */
.pk-404 { padding-block: clamp(48px, 10vw, 120px); text-align: center; }
.pk-404__code { margin: 0; color: var(--pk-maroon); font-family: "Lalezar", var(--pk-font); font-size: clamp(72px, 18vw, 160px); line-height: 1; opacity: .18; }
.pk-404 h1 { margin-top: 8px; font-size: clamp(28px, 6vw, 48px); line-height: 1.3; }
.pk-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 32px; }
.pk-404__actions .pk-btn--light { border: 1.5px solid var(--pk-maroon); background: transparent; color: var(--pk-maroon); }
.pk-404__actions .pk-btn--light:hover, .pk-404__actions .pk-btn--light:focus-visible { background: var(--pk-maroon); color: var(--pk-cream); }

.pk-page h1 {
	font-size: 48px;
	font-weight: 700;
	color: var(--pk-maroon);
	margin-bottom: 24px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1700px) {
	.pk-hero__media { width: calc(50vw - var(--pk-gutter)); height: auto; aspect-ratio: 712 / 475; }
	.pk-step, .pk-step__arrow img { zoom: .75; }
	.pk-footer__line { width: auto; min-width: 0; flex: 1 1 0; }
	.pk-social { margin: 0 24px; }
}

@media (max-width: 1400px) {
	.pk-hero__content { width: 420px; }
	.pk-hero__titles { width: 100%; }
	.pk-hero__title { font-size: 64px; }
	.pk-benefits { height: auto; padding-bottom: 80px; }
	.pk-benefits__list { flex-wrap: wrap; justify-content: center; row-gap: 40px; }
	.pk-benefits__sep { display: none; }
	.pk-footer { height: auto; padding-bottom: 200px; }
	.pk-footer__cols { position: relative; top: auto; left: auto; right: auto; margin: 0 var(--pk-gutter); padding-top: 250px; flex-wrap: wrap; justify-content: center; gap: 48px; }
	.pk-footer__social-row { position: relative; top: auto; left: auto; right: auto; margin: 56px var(--pk-gutter) 0; }
	.pk-footer__ornaments { top: auto; bottom: 0; }
}

@media (max-width: 1250px) {
	.pk-plans__grid { --u: 1px; flex-wrap: wrap; row-gap: 80px; column-gap: 34px; }
	.pk-step { zoom: 1; }
	.pk-steps__row { flex-wrap: wrap; justify-content: center; gap: 40px 32px; }
	.pk-step__arrow { display: none; }
}

@media (max-width: 1024px) {
	body { font-size: 16px; }
	.pk-header { height: 180px; }
	.pk-header__bg { height: 190px; }
	.pk-logo { width: 103px; height: 100px; top: 24px; }
	.pk-nav { display: none; position: absolute; top: 150px; right: 16px; left: 16px; background: var(--pk-header-bg); border: 2px solid var(--pk-gold); border-radius: 20px; padding: 16px; }
	.pk-nav.is-open { display: block; }
	.pk-nav ul { flex-direction: column; gap: 12px; font-size: 18px; }
	.pk-menu-toggle { display: flex; position: absolute; top: 44px; right: 16px; width: 48px; height: 48px; align-items: center; justify-content: center; border: 0; border-radius: 14px; background: transparent; color: var(--pk-maroon); cursor: pointer; }
	.pk-menu-toggle span, .pk-menu-toggle span::before, .pk-menu-toggle span::after { display: block; width: 24px; height: 2px; background: currentColor; position: relative; content: ""; }
	.pk-menu-toggle span::before { position: absolute; top: -8px; }
	.pk-menu-toggle span::after { position: absolute; top: 8px; }
	.pk-header__cta { top: 44px; left: 16px; height: 48px; padding: 12px 18px; font-size: 16px; border-radius: 14px; }
	.pk-hero { height: auto; display: flex; flex-direction: column; align-items: center; gap: 32px; padding: 24px 16px 96px; }
	.pk-hero__media, .pk-hero__content { position: static; }
	.pk-hero__media { width: min(712px, 100%); }
	.pk-hero__content { width: min(520px, 100%); gap: 32px; }
	.pk-hero__title { font-size: 56px; }
	.pk-hero__lead { font-size: 24px; }
	.pk-heading { white-space: normal; padding: 0 16px; }
	.pk-heading__title { font-size: 40px; }
	.pk-heading__script { font-size: 32px; }
	.pk-benefits .pk-heading { padding-top: 96px; }
	.pk-benefit { width: 45%; }
	.pk-plans { padding-top: 140px; }
	.pk-plans__grid { margin-top: 80px; }
	.pk-step__arrow { display: none; }
	.pk-steps__row { gap: 32px; }
	.pk-note { height: auto; min-height: 140px; margin: 100px auto; padding: 32px 15%; font-size: 16px; background-size: 100% 100%; }
	.pk-footer__cols { flex-direction: column; align-items: center; padding: 240px 16px 0; }
	.pk-footer__col { align-items: center; text-align: center; }
	.pk-footer__about, .pk-footer__contact p:first-child { width: min(406px, 100%); }
	.pk-footer__contact .nowrap { white-space: normal; }
	.pk-footer__line { display: none; }
	.pk-footer__social-row { justify-content: center; }
}

@media (max-width: 560px) {
	.pk-hero__title { font-size: 44px; }
	.pk-plans__grid { --u: .68px; }
	.pk-plans__grid { row-gap: 40px; }
	.pk-benefit { width: 100%; }
	.pk-step { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}

/* ---------- Breathing-space guides (add ?guides to the URL, or press Shift+G) ---------- */
.pk-guides {
	position: fixed;
	inset: 0;
	z-index: 9999;
	pointer-events: none;
}

.pk-guides::before,
.pk-guides::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 1px;
	background: #ff2d55;
}

.pk-guides::before {
	left: var(--pk-gutter);
}

.pk-guides::after {
	right: var(--pk-gutter);
}

/* ---------- Mobile header (Figma "11" / "Contact us mobile"), phones only ---------- */
@media (max-width: 767px) {
	.pk-header {
		height: calc(100vw * 135.5 / 440);
		max-height: 136px;
	}

	.pk-header__bg,
	.pk-logo,
	.pk-header__cta {
		display: none !important;
	}

	.pk-mhead {
		display: block;
		position: absolute;
		inset: 0 0 auto;
	}

	.pk-mhead__bg {
		width: 100%;
		height: calc(100vw * 135.5 / 440);
		max-height: 136px;
	}

	.pk-mhead__logo {
		position: absolute;
		top: 15px;
		left: 50%;
		width: 83px;
		height: 80px;
		transform: translateX(calc(-50% - 19%));
		background: #fff;
		-webkit-mask: url("assets/img/pages/m-logo-mask.png?v=2") center / contain no-repeat;
		mask: url("assets/img/pages/m-logo-mask.png?v=2") center / contain no-repeat;
	}

	.pk-mhead__search {
		position: absolute;
		top: 27px;
		right: 22px;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 32px;
		height: 32px;
	}

	.pk-menu-toggle {
		top: 27px !important;
		right: auto !important;
		left: 22px;
		z-index: 2;
		width: 32px !important;
		height: 32px !important;
		border-radius: 8px !important;
		background: url("assets/img/pages/m-hamburger.svg") center / 32px 32px no-repeat !important;
	}

	.pk-menu-toggle span:not(.screen-reader-text) {
		display: none !important;
	}

	.pk-nav {
		top: calc(100vw * 135.5 / 440 + 8px) !important;
	}
}

/* Card plans scale with their column (--u); keep the small labels at a readable 12px minimum. */
.pk-plan__badge { font-size: max(12px, calc(20 * var(--u))); }
.pk-plan__divider span { font-size: max(12px, calc(24 * var(--u))); }
.pk-plan__list li { font-size: max(12px, calc(18 * var(--u))); }
.pk-price strong { font-size: max(12px, calc(24 * var(--u))); }
.pk-price span { font-size: max(12px, calc(18 * var(--u))); }

/* Card page, phones and tablets: benefits stack centred (no edge nudging), and the note keeps its
   text clear of the frame's flourishes. */
@media (max-width: 1024px) {
	.pk-benefit, .pk-benefit * { translate: none !important; }
	.pk-benefit { align-items: center; text-align: center; margin-inline: auto; }
	.pk-note { min-height: 170px; padding: 40px 18% 60px; text-align: center; direction: rtl; }
}
