/*
Theme Name: Alfa Mobile
Description: Bilingual (English / Arabic) mobile phone repair shop theme with doorstep pickup booking. Customers describe the phone problem, share their location and choose how to pay; the shop receives the request (email + dashboard + WhatsApp), picks up the phone, repairs it and delivers it back. Includes repair tracking.
Version: 3.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: mobile-repair
*/

:root {
	--brand: #1d4ed8;        /* blue – trust, technology */
	--brand-dark: #1e40af;
	--brand-deep: #172554;
	--accent: #fccc05;       /* logo yellow – the "do this" colour for main buttons */
	--accent-dark: #f0b400;
	--accent-ink: #1c1917;   /* text on amber buttons (high contrast) */
	--ink: #0f172a;
	--muted: #526070;
	--line: #dbe3f0;
	--bg: #ffffff;
	--bg-soft: #eff4ff;
	--ok: #15803d;
	--err: #b91c1c;
	--radius: 16px;
	--shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
	margin: 0;
	font-family: "Poppins", "Cairo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	color: var(--ink);
	background: var(--bg);
	line-height: 1.6;
	font-size: 16px;
}
html[dir="rtl"] body { font-family: "Cairo", "Poppins", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif; line-height: 1.75; }
img { max-width: 100%; height: auto; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { text-align: center; max-width: 660px; margin: 0 auto 40px; }
.section__head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section__head p { color: var(--muted); margin: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 24px; border-radius: 999px; border: 0; cursor: pointer;
	font: inherit; font-weight: 700; text-decoration: none; transition: .2s; min-height: 48px;
}
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-dark); }
.btn--teal { background: var(--brand); color: #fff; }
.btn--teal:hover { background: var(--brand-dark); }
.btn--outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.75); }
.btn--outline:hover { background: rgba(255,255,255,.12); }
.btn--soft { background: #fff; color: var(--brand); box-shadow: inset 0 0 0 2px var(--brand); }
.btn--soft:hover { background: var(--bg-soft); }
.btn--wa { background: #25d366; color: #0b3d1f; }
.btn--wa:hover { background: #1fbe5b; }
.btn--block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand img { max-height: 46px; width: auto; }
.brand .brand__mark { height: 50px; width: auto; max-height: none; }
.brand__text { display: grid; line-height: 1.15; }
.brand__text strong { font-size: 1.15rem; color: var(--brand-deep); }
.brand__text small { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
html[dir="rtl"] .brand__text small { letter-spacing: 0; font-size: .8rem; }
@media (max-width: 420px) { .brand .brand__mark { height: 42px; } .brand__text strong { font-size: 1rem; } }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; white-space: nowrap; }
.nav a:hover { color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
	display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
	background: var(--bg-soft); color: var(--brand-dark); font-weight: 700; text-decoration: none; white-space: nowrap;
	border: 1.5px solid var(--line);
}
.lang-toggle:hover { border-color: var(--brand); }
.lang-toggle[lang="ar"] { font-family: "Cairo", sans-serif; }
.header-call { padding: 9px 18px; font-size: .95rem; min-height: 0; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; font-size: 28px; cursor: pointer; color: var(--ink); padding: 4px 8px; }

@media (max-width: 1100px) {
	.nav-toggle { display: block; }
	.nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
	.nav.is-open { display: block; }
	.nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; }
	.nav li a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
	.header-call { display: none; }
}

/* Hero */
.hero { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%); color: #fff; padding: 80px 0 90px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.hero p { font-size: 1.1rem; opacity: .93; max-width: 580px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.hero__badges li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-inline-end: 6px; }
/* ---------- 3D phone (hero) ---------- */
.hero__stage {
	--pw: 240px; --ph: 480px; --pd: 20px; --pr: 40px;
	justify-self: center; position: relative; width: 340px; height: 560px;
	perspective: 1300px; display: grid; place-items: center;
}
.phone3d-tilt {
	position: relative; width: var(--pw); height: var(--ph); transform-style: preserve-3d;
	transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transition: transform .4s ease-out;
}
.phone3d { position: absolute; inset: 0; transform-style: preserve-3d; animation: phone-move 16s ease-in-out infinite; }
@keyframes phone-move {
	0%   { transform: translateY(0)     rotateX(8deg) rotateY(-22deg) rotateZ(-2deg); }
	25%  { transform: translateY(-16px) rotateX(4deg) rotateY(16deg)  rotateZ(2deg); }
	50%  { transform: translateY(0)     rotateX(8deg) rotateY(-22deg) rotateZ(-2deg); }
	62%  { transform: translateY(-8px)  rotateX(8deg) rotateY(-22deg) rotateZ(-2deg); }
	80%  { transform: translateY(-20px) rotateX(6deg) rotateY(338deg) rotateZ(-2deg); }
	100% { transform: translateY(0)     rotateX(8deg) rotateY(338deg) rotateZ(-2deg); }
}

/* Body: rounded slices + flat sides give the phone real thickness. */
.phone3d__slice, .phone3d__face { position: absolute; inset: 0; border-radius: var(--pr); }
.phone3d__slice { background: #1a3478; transform: translateZ(var(--z)); }
.phone3d__side { position: absolute; background: linear-gradient(90deg, #12245e, #3b6fe0 50%, #12245e); }
.phone3d__side--l, .phone3d__side--r { width: var(--pd); height: calc(var(--ph) - 2 * var(--pr)); top: var(--pr); left: calc(50% - var(--pd) / 2); }
.phone3d__side--l { transform: rotateY(-90deg) translateZ(calc(var(--pw) / 2)); }
.phone3d__side--r { transform: rotateY(90deg) translateZ(calc(var(--pw) / 2)); }
.phone3d__side--t, .phone3d__side--b { height: var(--pd); width: calc(var(--pw) - 2 * var(--pr)); left: var(--pr); top: calc(50% - var(--pd) / 2); background: linear-gradient(180deg, #12245e, #3b6fe0 50%, #12245e); }
.phone3d__side--t { transform: rotateX(90deg) translateZ(calc(var(--ph) / 2)); }
.phone3d__side--b { transform: rotateX(-90deg) translateZ(calc(var(--ph) / 2)); }

.phone3d__face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.phone3d__front {
	transform: translateZ(calc(var(--pd) / 2)); background: #050a1a; padding: 9px;
	box-shadow: inset 0 0 0 2px #5b8cf0, 0 0 0 1px rgba(255,255,255,.08);
}
.phone3d__back {
	transform: rotateY(180deg) translateZ(calc(var(--pd) / 2));
	background: radial-gradient(120% 80% at 30% 10%, #3b6fe0, #1a3478 55%, #0f1f52);
	box-shadow: inset 0 0 0 2px #5b8cf0; display: grid; place-items: center;
}
.phone3d__cam {
	position: absolute; top: 18px; left: 18px; width: 92px; height: 92px; border-radius: 26px;
	background: rgba(0,0,0,.28); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);
	display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px;
}
.phone3d__cam i { border-radius: 50%; background: radial-gradient(circle at 35% 35%, #4a6a8a, #05080c 60%); box-shadow: 0 0 0 3px #1b1f24; }
.phone3d__cam i:nth-child(3) { grid-column: 1 / -1; width: 34px; justify-self: center; }
.phone3d__mark { width: 130px; height: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); }

/* Screen */
.ps {
	position: relative; height: 100%; border-radius: calc(var(--pr) - 9px); overflow: hidden;
	background: linear-gradient(170deg, #2453c4 0%, #12245e 55%, #0b1638 100%);
	color: #fff; padding: 40px 16px 16px; display: flex; flex-direction: column; gap: 10px;
	font-size: 12px; line-height: 1.35; text-align: center;
}
.ps__status { position: absolute; top: 12px; left: 22px; right: 22px; display: flex; justify-content: space-between; align-items: center; font: 700 11px/1 system-ui, sans-serif; direction: ltr; }
.ps__bars { display: flex; align-items: flex-end; gap: 2px; }
.ps__bars i { width: 3px; background: #fff; border-radius: 1px; }
.ps__bars i:nth-child(1) { height: 4px; } .ps__bars i:nth-child(2) { height: 6px; } .ps__bars i:nth-child(3) { height: 8px; }
.ps__bars b { width: 18px; height: 9px; margin-inline-start: 4px; border-radius: 3px; border: 1.5px solid #fff; background: linear-gradient(90deg, #fff 70%, transparent 70%); background-clip: content-box; padding: 1px; }
.ps__notch { position: absolute; top: 9px; left: 50%; width: 70px; height: 20px; margin-left: -35px; border-radius: 12px; background: #000; }
.ps__app { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; }
.ps__logo { width: 30px; height: auto; }
.ps__ticket { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 8px 10px; display: grid; gap: 1px; }
.ps__ticket small { opacity: .7; font-size: 10px; }
.ps__ticket b { color: var(--accent); font-size: 15px; letter-spacing: 1px; direction: ltr; }
.ps__ticket span { opacity: .8; font-size: 11px; }
.ps__scenes { position: relative; flex: 1; min-height: 150px; }
.ps__scene {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
	opacity: 0; animation: ps-scene 16s infinite;
}
.ps__scene--2 { animation-delay: 4s; } .ps__scene--3 { animation-delay: 8s; } .ps__scene--4 { animation-delay: 12s; }
@keyframes ps-scene {
	0%       { opacity: 0; transform: translateY(14px) scale(.94); }
	3%, 22%  { opacity: 1; transform: none; }
	25%, 100% { opacity: 0; transform: translateY(-14px) scale(.94); }
}
.ps__scene strong { font-size: 15px; margin-top: 8px; }
.ps__scene small { opacity: .75; font-size: 11.5px; }
.ps__icon {
	width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; font-size: 36px; position: relative;
	background: radial-gradient(circle, rgba(252,204,5,.28), rgba(252,204,5,.06));
	box-shadow: 0 0 0 1px rgba(252,204,5,.35);
}
.ps__icon::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--accent); animation: ps-ring 2s ease-out infinite; }
@keyframes ps-ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.45); opacity: 0; } }
.ps__icon span { display: block; }
.ps__scene--1 .ps__icon span { animation: ps-bob 1.2s ease-in-out infinite; }
.ps__scene--2 .ps__icon span { animation: ps-ride 2s ease-in-out infinite; }
.ps__scene--3 .ps__icon span { animation: ps-turn 1s ease-in-out infinite; }
.ps__scene--4 .ps__icon span { animation: ps-pop 1.6s ease-in-out infinite; }
@keyframes ps-bob { 50% { transform: translateY(-5px); } }
@keyframes ps-ride { 0% { transform: translateX(-16px); } 50% { transform: translateX(16px) rotate(-4deg); } 100% { transform: translateX(-16px); } }
@keyframes ps-turn { 0%, 100% { transform: rotate(-25deg); } 50% { transform: rotate(25deg); } }
@keyframes ps-pop { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.18); } }
html[dir="rtl"] .ps__scene--2 .ps__icon span { scale: -1 1; }

.ps__progress { height: 6px; border-radius: 6px; background: rgba(255,255,255,.12); overflow: hidden; }
.ps__progress i { display: block; height: 100%; width: 25%; border-radius: 6px; background: linear-gradient(90deg, var(--accent), #ffe066); animation: ps-progress 16s infinite; }
@keyframes ps-progress { 0% { width: 6%; } 22% { width: 25%; } 25% { width: 28%; } 47% { width: 50%; } 50% { width: 53%; } 72% { width: 75%; } 75% { width: 78%; } 95%, 100% { width: 100%; } }
.ps__dots { display: flex; justify-content: center; gap: 8px; }
.ps__dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.ps__dots span:nth-child(2) { animation: ps-dot2 16s infinite; }
.ps__dots span:nth-child(3) { animation: ps-dot3 16s infinite; }
.ps__dots span:nth-child(4) { animation: ps-dot4 16s infinite; }
@keyframes ps-dot2 { 0%, 24.9% { background: rgba(255,255,255,.2); } 25%, 100% { background: var(--accent); } }
@keyframes ps-dot3 { 0%, 49.9% { background: rgba(255,255,255,.2); } 50%, 100% { background: var(--accent); } }
@keyframes ps-dot4 { 0%, 74.9% { background: rgba(255,255,255,.2); } 75%, 100% { background: var(--accent); } }
.ps__btn { background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 10px; font-weight: 800; font-size: 13px; box-shadow: 0 6px 16px rgba(252,204,5,.35); }
.ps__glare {
	position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.13) 48%, transparent 60%);
	background-size: 250% 100%; animation: ps-glare 8s ease-in-out infinite;
}
@keyframes ps-glare { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

/* Floating chips around the phone (they float in front of it in 3D) */
.chip3d {
	position: absolute; width: 56px; height: 56px; border-radius: 18px; background: #fff;
	display: grid; place-items: center; font-size: 26px; box-shadow: 0 14px 28px rgba(0,0,0,.28);
	animation: chip-bob 5s ease-in-out infinite;
}
.chip3d--1 { top: 50px;  left: -56px;  transform: translateZ(90px); }
.chip3d--2 { top: 150px; right: -62px; transform: translateZ(60px); animation-delay: -1.2s; }
.chip3d--3 { bottom: 120px; left: -64px; transform: translateZ(50px); animation-delay: -2.5s; }
.chip3d--4 { bottom: 40px; right: -44px; transform: translateZ(100px); animation-delay: -3.7s; }
@keyframes chip-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

.phone3d__shadow {
	position: absolute; bottom: 4px; left: 50%; width: 220px; height: 26px; margin-left: -110px; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(0,0,0,.4), transparent); animation: shadow-pulse 16s ease-in-out infinite;
}
@keyframes shadow-pulse { 0%, 50%, 100% { transform: scale(1); opacity: 1; } 25%, 80% { transform: scale(.8); opacity: .7; } }

@media (max-width: 860px) {
	.hero { padding: 52px 0 40px; }
	.hero .container { grid-template-columns: 1fr; }
	.hero__actions .btn { flex: 1 1 100%; }
	.hero__stage { height: 470px; width: 100%; margin-top: 8px; }
	.phone3d-tilt { scale: .8; }
	.chip3d--1, .chip3d--3 { left: -36px; }
	.chip3d--2, .chip3d--4 { right: -36px; }
}
@media (prefers-reduced-motion: reduce) {
	.phone3d, .ps__scene, .ps__progress i, .ps__dots span, .ps__icon::after, .ps__icon span, .ps__glare, .chip3d, .phone3d__shadow { animation: none !important; }
	.phone3d { transform: rotateX(8deg) rotateY(-18deg); }
	.ps__scene--1 { opacity: 1; }
	.ps__dots span:not(:first-child) { background: rgba(255,255,255,.2); }
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow); position: relative; }
.step::before {
	counter-increment: step; content: counter(step);
	position: absolute; top: -14px; inset-inline-start: 22px; width: 32px; height: 32px; border-radius: 50%;
	background: var(--accent); color: var(--accent-ink); font-weight: 800; display: grid; place-items: center; font-size: .95rem;
}
.step__icon { font-size: 34px; }
.step h3 { font-size: 1.1rem; margin-top: 10px; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Cards (services + payments) */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.service { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; transition: .2s; }
.service:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.service__icon { width: 54px; height: 54px; border-radius: 14px; background: var(--bg-soft); display: grid; place-items: center; font-size: 26px; margin-bottom: 12px; }
.service h3 { font-size: 1.05rem; }
.service p { color: var(--muted); margin: 0; font-size: .93rem; }
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.brands span { background: var(--bg-soft); border-radius: 999px; padding: 6px 16px; font-weight: 500; color: var(--brand-dark); font-size: .9rem; }

.pay-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.pay-extra > div { background: var(--bg-soft); border-radius: var(--radius); padding: 24px; }
.pay-extra h3 { font-size: 1.05rem; }
.pay-extra pre { white-space: pre-wrap; font: inherit; margin: 0 0 10px; direction: ltr; text-align: start; }
html[dir="rtl"] .pay-extra pre { text-align: right; }
.pay-extra p { color: var(--muted); margin: 0 0 14px; }
@media (max-width: 760px) { .pay-extra { grid-template-columns: 1fr; } }

/* Booking */
.book { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: start; }
.book__info { background: linear-gradient(160deg, var(--brand-deep), #12245e); color: #fff; border-radius: var(--radius); padding: 32px; }
.book__info h2 { font-size: 1.7rem; }
.book__info ul { list-style: none; padding: 0; margin: 20px 0 0; }
.book__info li { padding: 11px 0; border-top: 1px solid rgba(255,255,255,.14); }
.book__info a { color: #fff; }
@media (max-width: 900px) { .book { grid-template-columns: 1fr; } .book__info { order: 2; } }

/* Forms */
.mrs-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.mrs-form fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.mrs-form legend { font-weight: 800; font-size: 1.1rem; margin-bottom: 14px; color: var(--brand-dark); padding: 0; }
.mrs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.mrs-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .mrs-grid { grid-template-columns: 1fr; } .mrs-card { padding: 22px 16px; } }
.mrs-form label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: 6px; }
.mrs-form .req { color: var(--err); }
.mrs-form input, .mrs-form select, .mrs-form textarea {
	width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px;
	font: inherit; font-size: 16px; background: #fff; color: var(--ink); min-height: 50px;
}
.mrs-form input[type="tel"], .mrs-form input[type="email"], .mrs-form input[type="url"], .mrs-form .is-ltr { direction: ltr; }
html[dir="rtl"] .mrs-form input[type="tel"], html[dir="rtl"] .mrs-form input[type="email"], html[dir="rtl"] .mrs-form input[type="url"], html[dir="rtl"] .mrs-form .is-ltr { text-align: right; }
.mrs-form input:focus, .mrs-form select:focus, .mrs-form textarea:focus { outline: 3px solid rgba(29,78,216,.2); border-color: var(--brand); }
.mrs-form textarea { min-height: 110px; resize: vertical; }
.mrs-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mrs-note { font-size: .88rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.mrs-hint { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }

/* Location box */
.mrs-loc { border: 2px dashed rgba(29,78,216,.45); background: var(--bg-soft); border-radius: 14px; padding: 16px; }
.mrs-loc__status { margin: 10px 0 0; font-weight: 600; font-size: .93rem; }
.mrs-loc__status.is-ok { color: var(--ok); }
.mrs-loc__status.is-err { color: var(--err); }
.mrs-loc .or { display: block; text-align: center; color: var(--muted); font-size: .85rem; margin: 12px 0 8px; }

/* Payment choices */
.mrs-pay { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.mrs-pay__opt {
	display: flex !important; align-items: center; gap: 10px; margin: 0 !important; cursor: pointer;
	border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; transition: .15s;
}
.mrs-pay__opt:hover { border-color: var(--brand); }
.mrs-pay__opt:has(input:checked) { border-color: var(--brand); background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.mrs-form .mrs-pay__opt input { width: 20px; height: 20px; min-height: 0; margin: 0; accent-color: var(--brand); flex: none; }
.mrs-pay__icon { font-size: 22px; }

.mrs-alert { border-radius: 14px; padding: 18px 20px; margin-bottom: 20px; }
.mrs-alert h3 { margin-bottom: 6px; font-size: 1.15rem; }
.mrs-alert p { margin: 0 0 10px; }
.mrs-alert--ok { background: #ecfdf3; border: 1px solid #b7e4c7; color: #14532d; }
.mrs-alert--err { background: #fef2f2; border: 1px solid #fecaca; color: var(--err); }
.mrs-ticket { font-size: 1.6rem; font-weight: 800; letter-spacing: 1px; direction: ltr; unicode-bidi: isolate; }

/* Tracking */
.track { max-width: 660px; margin: 0 auto; }
.track form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
@media (max-width: 600px) { .track form { grid-template-columns: 1fr; } }
.timeline { list-style: none; padding: 0; margin: 20px 0 0; }
.timeline li { padding-block: 10px; padding-inline-start: 34px; position: relative; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 8px; top: 16px; width: 14px; height: 14px; border-radius: 50%; background: var(--line); }
.timeline li.done { color: var(--ink); }
.timeline li.done::before { background: var(--ok); }
.timeline li.current { font-weight: 800; color: var(--brand-dark); }
.timeline li.current::before { background: var(--brand); box-shadow: 0 0 0 5px rgba(29,78,216,.2); }
.track-pay { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.track-pay p { margin: 0 0 8px; }
.badge { display: inline-block; padding: 2px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700; }
.badge--ok { background: #dcfce7; color: var(--ok); }
.badge--wait { background: #fef3c7; color: #92400e; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.contact-item { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.contact-item strong { display: block; margin-bottom: 4px; }
.contact-item a, .contact-item span { color: var(--muted); text-decoration: none; word-break: break-word; }
.contact-item a.contact-dir { display: inline-flex; margin-top: 12px; padding: 8px 16px; min-height: 0; font-size: .9rem; color: var(--brand); }

/* Content pages */
.page-content { padding: 56px 0; }
.page-content .container { max-width: 820px; }
.entry { margin-bottom: 48px; }

/* Footer */
.site-footer { background: #12245e; color: rgba(255,255,255,.78); padding: 32px 0; font-size: .92rem; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { height: 74px; width: auto; }
.footer-brand small { display: block; opacity: .8; }
.site-footer a { color: #fff; }

/* Floating WhatsApp (desktop) + quick action bar (phones) */
.wa-float {
	position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
	background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.mobile-bar { display: none; }
@media (max-width: 700px) {
	body { padding-bottom: 68px; }
	.wa-float { display: none; }
	.mobile-bar {
		display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
		background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.08);
		padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
		gap: 8px;
	}
	.mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 6px 4px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: .8rem; color: var(--ink); }
	.mobile-bar a span { font-size: 20px; line-height: 1; }
	.mobile-bar .is-book { background: var(--accent); color: var(--accent-ink); }
	.mobile-bar .is-wa { background: #e7f9ee; color: #0b6b33; }
	.mobile-bar .is-call { background: var(--bg-soft); color: var(--brand-dark); }
}
