/*
Theme Name: Piru Brand
Theme URI: https://wa.me/923090976608
Author: Piru Brand Mobiles
Description: Premium, mobile-responsive one-page theme for Piru Brand Mobiles, Pakpattan – new & used iPhones. Manage stock under "iPhones Stock" and contact details under Appearance → Customize → Piru Brand – Shop Info.
Version: 1.0.0
Requires at least: 5.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: piru-brand
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--bg: #07070a;
	--bg-2: #0d0d12;
	--card: #121219;
	--card-2: #17171f;
	--line: rgba(255, 255, 255, .08);
	--line-2: rgba(255, 255, 255, .14);
	--text: #f5f5f7;
	--muted: #9d9daa;
	--accent: #ff7a1a;
	--accent-2: #ffb547;
	--hot: #ff3d6e;
	--wa: #25d366;
	--grad: linear-gradient(115deg, #ffc56b 0%, #ff7a1a 45%, #ff3d6e 100%);
	--radius: 22px;
	--radius-sm: 14px;
	--shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
	--f-head: 'Sora', system-ui, sans-serif;
	--f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--ease: cubic-bezier(.2, .8, .2, 1);
	color-scheme: dark;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 500 16px/1.65 var(--f-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: #000; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(780px, 100% - 32px); }
.section { padding: clamp(70px, 10vw, 120px) 0; position: relative; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--accent); color: #000; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.grad-text {
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	background-size: 200% auto;
	animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font: 700 12px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase;
	color: var(--accent-2);
	margin-bottom: 18px;
}
.live-dot {
	width: 8px; height: 8px; border-radius: 50%; background: var(--wa); display: inline-block;
	box-shadow: 0 0 0 0 rgba(37, 211, 102, .7); animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	--b: transparent;
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	padding: 12px 20px; border-radius: 999px; border: 1px solid var(--b);
	font: 700 15px/1 var(--f-body); white-space: nowrap; cursor: pointer;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-block { flex: 1; }
.btn-primary { background: var(--grad); color: #140800; box-shadow: 0 12px 30px -10px rgba(255, 122, 26, .7); }
.btn-primary:hover { box-shadow: 0 18px 40px -10px rgba(255, 122, 26, .9); }
.btn-primary svg { transition: transform .25s var(--ease); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost { --b: var(--line-2); background: rgba(255, 255, 255, .04); backdrop-filter: blur(10px); }
.btn-ghost:hover { --b: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); }
.btn-wa { background: var(--wa); color: #03240f; box-shadow: 0 10px 26px -12px rgba(37, 211, 102, .8); }
.btn-wa:hover { background: #2ee673; }
.btn-icon {
	display: grid; place-items: center; width: 46px; height: 46px; flex: none;
	border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04);
	transition: background .25s, transform .25s var(--ease);
}
.btn-icon svg { width: 18px; height: 18px; }
.btn-icon:hover { background: var(--accent); color: #000; transform: rotate(-12deg); }

/* ==========================================================================
   Top bar + header
   ========================================================================== */
.topbar { background: #000; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar a { color: var(--text); font-weight: 700; }
.topbar a:hover { color: var(--accent-2); }

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(7, 7, 10, .55);
	backdrop-filter: saturate(160%) blur(16px);
	-webkit-backdrop-filter: saturate(160%) blur(16px);
	border-bottom: 1px solid transparent;
	transition: background .3s, border-color .3s;
}
.site-header.is-scrolled { background: rgba(7, 7, 10, .85); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; transition: height .3s; }
.is-scrolled .header-inner { height: 66px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { max-height: 48px; width: auto; }
.brand-mark {
	width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
	background: var(--grad); color: #140800; font: 800 22px/1 var(--f-head);
	box-shadow: 0 8px 24px -8px rgba(255, 122, 26, .8), inset 0 1px 0 rgba(255, 255, 255, .5);
	transform: rotate(-6deg); transition: transform .4s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(6deg) scale(1.05); }
.brand-text { font: 800 20px/1 var(--f-head); letter-spacing: .02em; display: grid; }
.brand-text b { font-weight: 800; color: var(--accent); margin-left: 0; }
.brand-text { grid-template-columns: auto auto; column-gap: 4px; }
.brand-text small { grid-column: 1 / -1; font: 600 10px/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav-list a {
	display: block; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: #cfcfd8;
	transition: color .2s, background .2s;
}
.nav-list a:hover, .nav-list a.is-current, .nav-list .current-menu-item > a { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-cta { padding: 10px 18px; }

.menu-toggle {
	display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line-2);
	background: rgba(255, 255, 255, .04); cursor: pointer; position: relative;
}
.menu-toggle span {
	position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px;
	transition: transform .3s var(--ease), opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding: clamp(50px, 8vw, 100px) 0 clamp(60px, 8vw, 110px); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: drift 14s ease-in-out infinite alternate; }
.orb-1 { width: 520px; height: 520px; background: #ff7a1a; right: -120px; top: -80px; opacity: .35; }
.orb-2 { width: 420px; height: 420px; background: #ff3d6e; right: 18%; bottom: -200px; opacity: .22; animation-delay: -5s; }
.orb-3 { width: 360px; height: 360px; background: #3d5afe; left: -160px; top: 30%; opacity: .16; animation-delay: -9s; }
@keyframes drift { to { transform: translate(40px, -30px) scale(1.1); } }
.grid-lines {
	position: absolute; inset: 0;
	background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 65%);
	-webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 65%);
	opacity: .5;
}

.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-title { font-size: clamp(42px, 7vw, 84px); font-weight: 800; letter-spacing: -.04em; line-height: .98; margin-bottom: 24px; }
.hero-sub { font-size: clamp(16px, 1.6vw, 18px); color: #b9b9c6; max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-stats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats li {
	padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, .03); backdrop-filter: blur(8px); min-width: 150px;
}
.hero-stats strong { display: block; font: 700 18px/1.2 var(--f-head); }
.hero-stats span { font-size: 13px; color: var(--muted); }

.hero-visual {
	--px: 0; --py: 0;
	position: relative; height: clamp(420px, 48vw, 600px);
	display: grid; place-items: center;
}
.hero-phone { position: absolute; width: clamp(170px, 19vw, 250px); filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .65)); transition: transform .6s var(--ease); }
.hero-phone .phone-svg { width: 100%; height: auto; }
.phone-front {
	transform: translate(calc(var(--px) * 30px + 40px), calc(var(--py) * 20px)) rotate(8deg);
	animation: float 6s ease-in-out infinite;
	z-index: 2;
}
.phone-back {
	transform: translate(calc(var(--px) * -20px - 80px), calc(var(--py) * -14px - 30px)) rotate(-12deg) scale(.88);
	animation: float 7s ease-in-out infinite reverse;
	opacity: .95;
}
@keyframes float { 50% { translate: 0 -18px; } }

.ring-text { position: absolute; width: min(520px, 100%); aspect-ratio: 1; animation: spin 30s linear infinite; opacity: .5; }
.ring-text svg { width: 100%; height: 100%; overflow: visible; }
.ring-text text { fill: #fff; font: 700 9.5px var(--f-head); letter-spacing: 3.2px; }
@keyframes spin { to { transform: rotate(360deg); } }

.float-chip {
	position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 14px;
	background: rgba(20, 20, 28, .7); border: 1px solid var(--line-2);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	box-shadow: var(--shadow);
	animation: float 5s ease-in-out infinite;
}
.float-chip svg { width: 16px; height: 16px; color: var(--wa); }
.float-chip b { color: var(--accent-2); }
.chip-1 { top: 12%; left: 2%; animation-delay: -1s; }
.chip-2 { bottom: 16%; right: 0; animation-delay: -2.5s; }
.chip-3 { bottom: 4%; left: 8%; animation-delay: -4s; }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
	overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2);
	padding: 18px 0; transform: rotate(-1.2deg) scale(1.02); margin: 10px 0;
}
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font: 700 clamp(18px, 2.4vw, 28px)/1 var(--f-head); white-space: nowrap; color: #e9e9ef; }
.marquee span:nth-of-type(3n+2) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .55); }
.marquee i { font-style: normal; color: var(--accent); font-size: 18px; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Section heads
   ========================================================================== */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -.035em; }
.section-head p { color: var(--muted); font-size: 17px; }
.section-head.left { text-align: left; margin: 0; }

/* ==========================================================================
   Shop
   ========================================================================== */
.shop-tools { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.seg {
	position: relative; display: inline-flex; padding: 5px; border-radius: 999px;
	background: var(--card); border: 1px solid var(--line);
}
.seg-btn {
	position: relative; z-index: 1; border: 0; background: none; cursor: pointer;
	padding: 10px 22px; border-radius: 999px; font-weight: 700; color: var(--muted); transition: color .3s;
}
.seg-btn.is-active { color: #140800; }
.seg-glider {
	position: absolute; top: 5px; bottom: 5px; left: 0; border-radius: 999px; background: var(--grad);
	transition: transform .4s var(--ease), width .4s var(--ease);
}
.tool-right { display: flex; gap: 10px; flex-wrap: wrap; }
.search, .sort {
	display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 48px;
	border-radius: 999px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s;
}
.search:focus-within, .sort:focus-within { border-color: var(--accent); }
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input, .sort select { border: 0; background: none; outline: 0; height: 100%; min-width: 0; }
.search input { width: 210px; }
.search input::placeholder { color: #6d6d7a; }
.sort select { cursor: pointer; padding-right: 4px; }
.sort option { background: var(--card); }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin-bottom: 8px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
	flex: none; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
	background: transparent; color: #c9c9d3; font-weight: 600; font-size: 14px; cursor: pointer;
	transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--line-2); color: #fff; }
.chip.is-active { background: #fff; color: #000; border-color: #fff; }
.result-count { color: var(--muted); font-size: 14px; margin-bottom: 18px; }

.phone-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }

.card {
	--mx: 50%; --my: 30%;
	position: relative; display: flex; flex-direction: column;
	background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; isolation: isolate;
	transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
	animation: pop .55s var(--ease) both;
	animation-delay: calc(min(var(--i), 12) * 45ms);
}
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.card:hover { border-color: var(--line-2); transform: translateY(-6px); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--c) 55%, transparent); }
.card-media {
	position: relative; height: 270px; display: grid; place-items: center; perspective: 900px;
	background:
		radial-gradient(circle at var(--mx) var(--my), color-mix(in srgb, var(--c) 45%, transparent), transparent 62%),
		linear-gradient(180deg, #1a1a23, #111117);
}
.card-media::after {
	content: ''; position: absolute; left: 20%; right: 20%; bottom: 18px; height: 18px;
	background: rgba(0, 0, 0, .6); filter: blur(12px); border-radius: 50%;
}
.tilt { width: 118px; transition: transform .35s var(--ease); transform-style: preserve-3d; position: relative; z-index: 1; }
.tilt img { width: 100%; max-height: 230px; object-fit: contain; }
.card-media:has(img) .tilt { width: 72%; }
.cond, .badge {
	position: absolute; top: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px;
	font: 800 11px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase;
}
.cond { left: 14px; background: rgba(255, 255, 255, .1); border: 1px solid var(--line-2); backdrop-filter: blur(6px); }
.cond.new { color: #7dffb0; }
.cond.used { color: #ffd27d; }
.badge { right: 14px; background: var(--grad); color: #140800; }

.card-body { padding: 18px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.card-title h3 { font-size: 19px; margin: 0; }
.storage { flex: none; font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 8px; background: rgba(255, 255, 255, .08); color: #ddd; }
.card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0; font-size: 14px; color: var(--muted); }
.swatch { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px rgba(255, 255, 255, .15); }
.pta { color: #ffb3a1; font-weight: 700; }
.pta.ok { color: #7dffb0; }
.battery { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.battery-bar { flex: 1; height: 6px; background: rgba(255, 255, 255, .08); border-radius: 6px; overflow: hidden; }
.battery-bar i { display: block; height: 100%; border-radius: 6px; }
.battery-bar i.good { background: linear-gradient(90deg, #1fbf5b, #7dffb0); }
.battery-bar i.ok { background: linear-gradient(90deg, #ff9f1a, #ffd27d); }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 4px; }
.price { font: 800 22px/1 var(--f-head); letter-spacing: -.02em; }
.price-row s { color: #6f6f7c; font-size: 14px; }
.card-actions { display: flex; gap: 10px; }
.card-actions .btn { padding: 13px 14px; font-size: 14px; }

.empty { text-align: center; padding: 50px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.empty p { font-size: 18px; }

/* ==========================================================================
   Why
   ========================================================================== */
.why { background: linear-gradient(180deg, transparent, var(--bg-2) 30%, var(--bg-2) 70%, transparent); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card {
	position: relative; padding: 30px; border-radius: var(--radius);
	background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line);
	overflow: hidden; transition: transform .4s var(--ease), border-color .3s;
}
.why-card::before {
	content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
	background: var(--grad); opacity: 0; transition: opacity .4s;
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor; mask-composite: exclude;
}
.why-card:hover { transform: translateY(-6px); }
.why-card:hover::before { opacity: 1; }
.why-icon {
	width: 58px; height: 58px; display: grid; place-items: center; font-size: 28px;
	border-radius: 18px; background: rgba(255, 122, 26, .1); border: 1px solid rgba(255, 122, 26, .25);
	margin-bottom: 20px; transition: transform .5s var(--ease);
}
.why-card:hover .why-icon { transform: rotate(-10deg) scale(1.1); }
.why-card h3 { font-size: 21px; }
.why-card p { color: var(--muted); margin: 0; }

/* ==========================================================================
   Sell / exchange
   ========================================================================== */
.sell-box {
	position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
	padding: clamp(32px, 5vw, 64px); border-radius: 32px; overflow: hidden;
	background:
		radial-gradient(circle at 0% 0%, rgba(255, 122, 26, .28), transparent 50%),
		radial-gradient(circle at 100% 100%, rgba(255, 61, 110, .2), transparent 55%),
		var(--card);
	border: 1px solid var(--line-2);
}
.sell-copy h2 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; letter-spacing: -.035em; }
.sell-copy p { color: #c3c3cf; font-size: 17px; margin-bottom: 28px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li {
	display: flex; gap: 18px; align-items: center; padding: 20px 22px;
	border-radius: var(--radius-sm); background: rgba(0, 0, 0, .35); border: 1px solid var(--line);
	transition: transform .35s var(--ease), background .3s;
}
.steps li:hover { transform: translateX(8px); background: rgba(0, 0, 0, .5); }
.steps span { font: 800 30px/1 var(--f-head); color: transparent; -webkit-text-stroke: 1.2px var(--accent-2); min-width: 46px; }
.steps h3 { font-size: 18px; margin: 0 0 4px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-inner .section-head { position: sticky; top: 110px; }
.faq-inner .section-head .btn { margin-top: 8px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
	border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card);
	transition: border-color .3s, background .3s;
}
.faq-list details[open] { border-color: rgba(255, 122, 26, .45); background: var(--card-2); }
.faq-list summary {
	list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
	font: 600 17px/1.4 var(--f-head);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
	content: '+'; position: absolute; right: 18px; top: 50%; width: 30px; height: 30px; margin-top: -15px;
	display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .07);
	font: 400 22px/1 var(--f-body); transition: transform .3s var(--ease), background .3s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: #000; }
.faq-list details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.map-wrap {
	position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2);
	min-height: 420px; background: var(--card);
}
.map-wrap iframe {
	position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
	filter: grayscale(.25) contrast(1.05);
}
.contact-cards { display: grid; gap: 14px; }
.c-card {
	display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius-sm);
	background: var(--card); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease);
}
.c-card:hover { border-color: var(--line-2); transform: translateX(-4px); }
.c-card h3 { font-size: 16px; margin: 0 0 4px; }
.c-card p { margin: 0; color: #c9c9d3; }
.c-card p a:hover { color: var(--accent-2); }
.c-icon {
	flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px;
	background: rgba(255, 122, 26, .12); color: var(--accent-2);
}
.c-icon svg { width: 22px; height: 22px; }
.c-icon.wa { background: rgba(37, 211, 102, .12); color: var(--wa); }
.link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--accent-2); font-weight: 700; font-size: 14px; }
.link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); padding: 70px 0 30px; background: #040406; }
.footer-cta {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px;
	padding-bottom: 50px; margin-bottom: 50px; border-bottom: 1px solid var(--line);
}
.footer-cta h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 800; margin: 0; letter-spacing: -.03em; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; }
.footer-grid .brand { margin-bottom: 16px; }
.footer-grid h4 { font-size: 15px; margin-bottom: 16px; color: #fff; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--muted); font-size: 15px; }
.footer-grid a:hover { color: var(--accent-2); }
.footer-bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
	margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: #7c7c88;
}
.footer-bottom p { margin: 0; }

/* Floating buttons */
.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 60;
	width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
	background: var(--wa); color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .8);
	animation: pulse 2.4s infinite; transition: transform .3s var(--ease);
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }
.to-top {
	position: fixed; right: 28px; bottom: 92px; z-index: 60; width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid var(--line-2); background: rgba(20, 20, 28, .8); backdrop-filter: blur(10px);
	cursor: pointer; font-size: 18px; opacity: 0; pointer-events: none; transform: translateY(10px);
	transition: opacity .3s, transform .3s var(--ease);
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

/* Generic pages */
.page-content .entry { padding: 30px 0; border-bottom: 1px solid var(--line); }
.entry-title { font-size: clamp(30px, 5vw, 48px); }
.entry-title a:hover { color: var(--accent-2); }
.entry-body { color: #cfcfd8; }
.entry-body a { color: var(--accent-2); text-decoration: underline; }
.entry-thumb img { border-radius: var(--radius); margin-bottom: 20px; height: auto; }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.js-reveal .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	.why-grid { grid-template-columns: repeat(2, 1fr); }
	.main-nav { gap: 14px; }
	.nav-list a { padding: 8px 10px; }
}

@media (max-width: 900px) {
	.menu-toggle { display: block; z-index: 2; }
	.main-nav {
		position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 30px;
		background: rgba(7, 7, 10, .97); backdrop-filter: blur(20px);
		opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
	}
	.menu-open .main-nav { opacity: 1; visibility: visible; }
	/* backdrop-filter would trap the fixed overlay inside the header */
	.menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; }
	.menu-open { overflow: hidden; }
	.nav-list { flex-direction: column; align-items: center; gap: 6px; }
	.nav-list a { font: 700 28px/1.2 var(--f-head); padding: 10px 20px; }
	.menu-open .nav-list li { animation: pop .5s var(--ease) both; }
	.menu-open .nav-list li:nth-child(2) { animation-delay: .05s; }
	.menu-open .nav-list li:nth-child(3) { animation-delay: .1s; }
	.menu-open .nav-list li:nth-child(4) { animation-delay: .15s; }
	.menu-open .nav-list li:nth-child(5) { animation-delay: .2s; }
	.nav-cta { padding: 16px 28px; font-size: 17px; }

	.hero-inner { grid-template-columns: 1fr; text-align: center; }
	.hero-sub { margin-inline: auto; }
	.hero-actions, .hero-stats { justify-content: center; }
	.eyebrow { justify-content: center; }
	.hero-visual { height: 460px; order: -1; margin-bottom: -10px; }
	.sell-box, .faq-inner, .contact-grid { grid-template-columns: 1fr; }
	.faq-inner { gap: 30px; }
	.faq-inner .section-head { position: static; text-align: center; }
	.faq-inner .section-head .eyebrow { display: flex; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
	body { font-size: 15px; }
	.topbar p { display: none; }
	.topbar-inner { justify-content: center; }
	.header-inner { height: 66px; }
	.brand-mark { width: 40px; height: 40px; font-size: 20px; }
	.brand-text { font-size: 18px; }

	.hero { padding-top: 30px; }
	.hero-visual { height: 380px; }
	.hero-phone { width: 150px; }
	.phone-front { transform: translate(30px, 0) rotate(8deg); }
	.phone-back { transform: translate(-60px, -20px) rotate(-12deg) scale(.88); }
	.float-chip { font-size: 12px; padding: 8px 12px; }
	.chip-1 { left: 0; top: 6%; }
	.chip-2 { right: 0; }
	.chip-3 { display: none; }
	.hero-actions .btn { flex: 1 1 100%; }
	.hero-stats li { flex: 1 1 100%; min-width: 0; }

	.shop-tools { flex-direction: column; align-items: stretch; }
	.seg { width: 100%; }
	.seg-btn { flex: 1; }
	.tool-right { flex-direction: column; }
	.search input { width: 100%; }
	.search, .sort { width: 100%; }
	.sort select { width: 100%; }

	.phone-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.card { border-radius: 18px; }
	.card-media { height: 190px; }
	.tilt { width: 82px; }
	.cond, .badge { top: 10px; padding: 5px 8px; font-size: 9px; }
	.cond { left: 10px; }
	.badge { right: 10px; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.card-body { padding: 14px 12px; gap: 8px; }
	.card-title { flex-direction: column; gap: 6px; }
	.card-title h3 { font-size: 15px; }
	.storage { font-size: 11px; }
	.card-meta { font-size: 12px; }
	.price { font-size: 17px; }
	.price-row { flex-wrap: wrap; gap: 4px 8px; }
	.price-row s { font-size: 12px; }
	.card-actions .btn { padding: 11px 8px; font-size: 12px; gap: 6px; }
	.card-actions .btn svg { width: 15px; height: 15px; }
	.card-actions .btn-icon { display: none; }

	.why-grid { grid-template-columns: 1fr; gap: 14px; }
	.why-card { padding: 24px; }
	.sell-box { gap: 30px; border-radius: 24px; }
	.sell-copy { text-align: center; }
	.sell-copy .btn { width: 100%; white-space: normal; }
	.map-wrap { min-height: 320px; }
	.footer-cta { flex-direction: column; text-align: center; }
	.footer-cta-actions { width: 100%; flex-direction: column; }
	.footer-grid { grid-template-columns: 1fr; gap: 30px; }
	.footer-bottom { flex-direction: column; text-align: center; }
	.wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
	.to-top { right: 21px; bottom: 82px; }
}

@media (max-width: 360px) {
	.phone-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	html { scroll-behavior: auto; }
}
