@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Marck+Script&display=swap');

:root {
  --black: #070707;
  --ink: #111111;
  --paper: #f7f7f4;
  --muted: #a7a49d;
  --line: rgba(255,255,255,.14);
  --gold: #c9a06c;
  --ea-grad: linear-gradient(120deg, #f3d9b8 0%, #c9a06c 32%, #a67c3c 58%, #c9a06c 82%, #e3c39c 100%);
  --ea-grad-dark: linear-gradient(120deg, #c9a06c 0%, #a67c3c 45%, #8a5f26 72%, #b98a45 100%);
  --gold-light: #e3c39c;
  --sans: 'SF Pro Display', 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --display: 'SF Pro Display', 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'SF Pro Display', 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --script: 'Marck Script', 'Segoe Script', cursive;
  --sf-pro: 'SF Pro Display', 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--paper); font-family: var(--sans); overflow-x: hidden; }
body:has(.admin-view:not([hidden])) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.noise { pointer-events: none; position: fixed; inset: 0; z-index: 20; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E"); }
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: 86px; display: flex; align-items: center; justify-content: space-between; padding: 0 4.5vw; transition: .4s ease; }
.site-header.scrolled { background: rgba(7,7,7,.8); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.brand img { width: 130px; height: 60px; object-fit: contain; }
.desktop-nav { display: flex; gap: 32px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #c7c5bf; }
.desktop-nav a, .header-social, .footer-links a { transition: color .3s; }
.desktop-nav a:hover, .header-social:hover, .footer-links a:hover { color: var(--gold-light); }
.header-actions { display: flex; align-items: center; gap: 18px; font: 11px var(--mono); letter-spacing: .08em; }
.header-social { color: var(--muted); }
.cart-trigger { border: 1px solid var(--line); background: rgba(255,255,255,.04); color: #fff; border-radius: 999px; padding: 11px 17px; font: 11px var(--mono); }
.cart-trigger span { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 8px; color: var(--black); background: var(--gold-light); border-radius: 50%; }
.menu-trigger, .mobile-menu { display: none; }
.hero { min-height: 100svh; position: relative; overflow: hidden; display: grid; place-items: center; isolation: isolate; background: #090909; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -3; background: #090909; opacity: 0; transition: opacity .55s ease; filter: saturate(.78) contrast(1.08); }
.hero.video-ready .hero-video { opacity: 1; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.18) 60%, rgba(0,0,0,.72)), linear-gradient(0deg, rgba(0,0,0,.7), transparent 40%, rgba(0,0,0,.2)); }
.hero-grid { position: absolute; inset: 0; z-index: -1; opacity: .17; background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(to bottom, transparent, #000 30%, transparent 90%); }
.hero-copy { text-align: center; padding-top: 60px; }
.hero-message {
  position: relative;
  z-index: 3;
  width: min(1080px, 84vw);
  padding: clamp(34px, 5vw, 74px) clamp(28px, 6vw, 90px);
  opacity: 0;
  transform: translateY(30px) scale(.985);
  filter: blur(12px);
  transition: opacity 1.15s cubic-bezier(.2,.8,.2,1), transform 1.15s cubic-bezier(.2,.8,.2,1), filter 1.15s ease;
}
.hero-message:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 18% 7% 12%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .52) 0%, rgba(0, 0, 0, .34) 42%, rgba(0, 0, 0, 0) 76%);
  box-shadow: 0 0 90px 32px rgba(0, 0, 0, .28);
  filter: blur(24px);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
  opacity: 1;
  transform: scale(.96);
  transition: transform 1.25s cubic-bezier(.2,.8,.2,1), background 1.1s ease, box-shadow 1.1s ease;
}
.hero.video-finished .hero-message {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.hero.video-finished .hero-message:before {
  opacity: 1;
  transform: scale(1);
}
.hero.video-finished.hero-blur-settled .hero-message:before {
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .4) 0%, rgba(0, 0, 0, .24) 42%, rgba(0, 0, 0, 0) 76%);
  box-shadow: 0 0 90px 28px rgba(0, 0, 0, .22);
}
.hero-copy.hero-message h1 {
  max-width: 940px;
  margin: 0 auto;
  color: #9a9a9a;
  font-family: var(--sf-pro);
  font-size: clamp(38px, 5.6vw, 78px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 8px 28px rgba(0,0,0,.45);
}
.hero-message h1 span {
  color: var(--gold-light);
  font-family: var(--script);
  font-weight: 400;
  letter-spacing: 0;
}
.hero-message-kicker {
  margin: 0 0 24px;
  color: #5a5a5a;
  font: 700 16px var(--mono);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow, .section-label, .hero-scroll, .scene-side-label { font: 10px var(--mono); text-transform: uppercase; letter-spacing: .18em; color: var(--gold-light); }
.hero-copy .eyebrow { margin-bottom: 28px; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: var(--display); }
h1 { font-size: clamp(56px, 9vw, 132px); line-height: .87; letter-spacing: 0; font-weight: 700; margin: 0 0 28px; }
h1 em, .display span, .scene-copy em, .trade-number em { font-family: var(--script); font-weight: 400; color: var(--gold-light); letter-spacing: 0; }
.hero-note { font-size: 14px; line-height: 1.7; color: rgba(227,195,156,.82); margin-bottom: 35px; }
.hero-copy h1 { color: var(--gold-light); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 52px; padding: 0 24px; background: #fff; color: #111; border: 1px solid var(--gold-light); border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .02em; transition: background .35s, color .35s, transform .35s, box-shadow .35s; }
.button:hover { background: var(--gold); color: #fff; transform: translateY(-3px); box-shadow: 0 15px 35px rgba(201,160,108,.22); }
.button span { font-size: 18px; line-height: 1; }
.button-3d { position: relative; transform-style: preserve-3d; box-shadow: 0 12px 0 rgba(201,160,108,.35), 0 20px 40px rgba(0,0,0,.3); }
.button-3d:hover { transform: translateY(-7px) rotateX(8deg); }
.hero-scroll { position: absolute; bottom: 34px; left: 4.5vw; display: flex; align-items: center; gap: 14px; color: rgba(227,195,156,.7); border: 0; background: transparent; cursor: pointer; transition: color .3s; }
.hero-scroll:hover { color: var(--gold-light); }
.hero-scroll .scroll-emoji { font-size: 19px; line-height: 1; animation: scrollBounce 1.7s ease-in-out infinite; }
@keyframes scrollBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
.hero-corner { position: absolute; bottom: 31px; right: 4.5vw; text-align: right; font: 27px var(--script); color: var(--gold-light); line-height: .8; }
.hero-corner span { font: 8px var(--mono); color: var(--muted); letter-spacing: .2em; }
.ticker { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; white-space: nowrap; color: #d3d0c8; font: 10px var(--mono); letter-spacing: .15em; }
.ticker-track { width: max-content; animation: ticker 34s linear infinite; }
.ticker b { color: var(--gold); padding: 0 28px; }
@keyframes ticker { to { transform: translateX(-50%); } }
.section { padding: 150px 8vw; position: relative; }
.section-label { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.section-label span { color: var(--gold); }
.intro-content { display: grid; grid-template-columns: 1.4fr .7fr; gap: 8vw; align-items: end; margin-top: 50px; }
.display { font-family: var(--display); font-size: clamp(48px, 7vw, 100px); font-weight: 700; letter-spacing: 0; line-height: .9; margin: 0; }
.intro-text { padding-bottom: 8px; max-width: 360px; }
.intro-text p, .section-description, .trade-content > p, .director-copy > p { color: var(--muted); line-height: 1.8; font-size: 14px; }
.text-link { display: inline-flex; gap: 10px; margin-top: 25px; color: var(--gold-light); border-bottom: 1px solid var(--gold); padding-bottom: 7px; font-size: 12px; }
.feature-line { margin-top: 130px; padding-top: 34px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
.feature-line div { display: flex; align-items: center; gap: 18px; }
.feature-line strong {
  flex: 0 0 auto; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  color: #2a2010; font: 600 17px/1 var(--sf-pro); letter-spacing: .02em;
  background: linear-gradient(145deg, #f8e7d2 0%, #e3c39c 45%, #c9a06c 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -2px 4px rgba(120,86,20,.22), 0 8px 22px rgba(201,160,108,.16);
}
.feature-line span { color: #f4f0e8; font: 600 18px/1.35 var(--sf-pro); }
.iphone-scene { min-height: 1200px; overflow: hidden; background: radial-gradient(circle at 50% 52%, rgba(201,160,108,.08), transparent 38%); }
.scene-orbit { position: absolute; width: 650px; height: 650px; border: 1px solid rgba(201,160,108,.15); border-radius: 50%; left: 50%; top: 47%; transform: translate(-50%,-50%) rotate(-20deg) skewX(-8deg); box-shadow: 0 0 100px rgba(201,160,108,.08); }
.scene-orbit:after { content: ""; position: absolute; inset: 90px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; }
.scene-copy { position: absolute; left: 8vw; top: 210px; max-width: 400px; z-index: 12; padding: 22px 26px 22px 0; background: linear-gradient(100deg, rgba(7,7,7,.65) 0%, rgba(7,7,7,.55) 55%, transparent 100%); border-radius: 4px; }
.scene-copy h2 { font-family: var(--display); font-size: clamp(45px, 6vw, 84px); line-height: .9; letter-spacing: 0; font-weight: 700; margin: 35px 0; }
.scene-copy h2 em { font-family: inherit; font-style: normal; font-weight: 700; letter-spacing: 0; color: var(--gold-light); text-shadow: 0 0 22px rgba(227,195,156,.55); }
.scene-copy p:not(.eyebrow) { color: var(--muted); font-family: var(--sf-pro); font-size: 19px; font-weight: 600; line-height: 1.5; }
.phone-card { position: absolute; border: 1px solid rgba(255,255,255,.19); background: #111; padding: 10px 10px 20px; box-shadow: 0 35px 80px rgba(0,0,0,.45); will-change: transform; transform-style: preserve-3d; transition: border-color .4s; }
.phone-card:hover { border-color: var(--gold); z-index: 6; }
.phone-card img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.phone-card span { display: block; margin: 14px 4px 0; font: 600 9px var(--mono); letter-spacing: .12em; color: var(--muted); }
.phone-card-one { width: 390px; height: 480px; left: 43%; top: 260px; transform: translate3d(-50%, var(--scroll-shift,0px), 0) rotate(-8deg); z-index: 2; }
.phone-card-two { width: 300px; height: 370px; left: 66%; top: 490px; transform: translate3d(-50%, var(--scroll-shift,0px), 0) rotate(11deg); z-index: 3; }
.phone-card-three { width: 275px; height: 330px; left: 30%; top: 700px; transform: translate3d(-50%, var(--scroll-shift,0px), 0) rotate(7deg); z-index: 3; }
.scene-side-label { position: absolute; right: 8vw; bottom: 200px; writing-mode: vertical-rl; color: var(--muted); }
.catalog { background: var(--paper); color: var(--ink); }
.catalog .section-label { color: #8a8780; }
.catalog .section-label span { color: #a67c3c; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 50px; }
.section-head .display { color: var(--ink); margin-top: 35px; }
.section-head .display { font-family: var(--sf-pro); font-weight: 700; letter-spacing: 0; }
.section-head .display span { display: inline-block; padding-bottom: .08em; font-family: var(--sf-pro); font-weight: 700; letter-spacing: 0; color: #c9a06c; background: var(--ea-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section-head .section-description { max-width: 400px; color: var(--ink); font-family: var(--sf-pro); font-size: 21px; font-weight: 600; line-height: 1.45; margin-bottom: 5px; }
.filter-row { display: flex; gap: 12px; margin: 70px 0 30px; flex-wrap: wrap; }
.filter { padding: 16px 32px; border: 1.5px solid #b9b5aa; border-radius: 999px; background: #fff; color: var(--ink); font-family: var(--sf-pro); font-size: 17px; font-weight: 600; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.06); transition: .3s; }
.filter:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.filter.active { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.22); }
.products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.product-card { position: relative; padding: 14px; background: #fff; min-height: 500px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .35s, box-shadow .35s; transform-style: preserve-3d; }
.product-card:hover { box-shadow: 0 20px 50px rgba(0,0,0,.12); transform: translateY(-7px); }
.product-card-media { height: 300px; position: relative; overflow: hidden; background: #eeeeeb; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.product-card:hover .product-card-media img { transform: scale(1.06); }
.product-tag { position: absolute; left: 13px; top: 13px; z-index: 2; font: 9px var(--mono); color: var(--ink); background: var(--gold-light); padding: 7px 9px; }
.product-desc-overlay { position: absolute; inset: 0; z-index: 3; display: flex; align-items: flex-end; padding: 20px; overflow: auto; background: linear-gradient(180deg, transparent 0%, rgba(7,7,7,.5) 35%, rgba(7,7,7,.95) 100%); opacity: 0; transform: translateY(6%); transition: opacity .4s ease, transform .4s cubic-bezier(.2,.8,.2,1); }
.product-card:hover .product-desc-overlay, .product-card:focus-within .product-desc-overlay { opacity: 1; transform: translateY(0); }
.product-desc-overlay p { margin: 0; color: #f5f2e9; font-size: 12px; line-height: 1.65; }
.product-info { padding: 20px 5px 4px; }
.product-category { color: #9a958d; font: 9px var(--mono); text-transform: uppercase; letter-spacing: .14em; }
.product-name { font-size: 21px; letter-spacing: 0; margin: 9px 0 5px; }
.product-meta { color: #88847d; font-size: 11px; }
.product-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.product-price { font-size: 17px; font-weight: 600; }
.buy-button { border: 0; background: var(--ink); color: #fff; border-radius: 999px; padding: 11px 16px; font-size: 11px; transition: .3s; }
.buy-button:hover { background: var(--gold); color: #fff; }
.trade-in { min-height: 610px; overflow: hidden; background: #191817; }
.trade-glow { position: absolute; width: 500px; height: 500px; right: 8%; top: 50%; transform: translateY(-50%); background: radial-gradient(circle, rgba(201,160,108,.25), transparent 65%); filter: blur(12px); }
.trade-content { position: relative; z-index: 2; max-width: 550px; }
.trade-content .display { margin: 38px 0 25px; }
.trade-content > p { max-width: 340px; margin-bottom: 32px; }
.trade-device { position: absolute; right: 18%; top: 50%; width: 210px; height: 400px; border: 6px solid #bca678; border-radius: 35px; transform: translateY(-50%) rotate(21deg); box-shadow: 20px 35px 60px rgba(0,0,0,.4), inset 0 0 25px rgba(255,255,255,.15); background: linear-gradient(135deg,#444,#050505); }
.device-screen { position: absolute; inset: 10px; border-radius: 26px; display: grid; place-items: center; color: var(--gold-light); font: 33px var(--script); background: radial-gradient(circle at 30% 20%, #54462c, #0a0a0a 60%); }
.trade-number { position: absolute; right: 8vw; bottom: 60px; color: rgba(255,255,255,.06); font: 100px/ .7 var(--sans); font-weight: 700; letter-spacing: 0; }
.logos { padding-block: 100px; }
.logo-wall { display: grid; grid-template-columns: 1.1fr repeat(5,1fr); gap: 15px; align-items: center; margin-top: 60px; color: #8f8b82; font-size: 17px; font-weight: 600; letter-spacing: 0; }
.logo-wall img { width: 90px; height: 90px; object-fit: contain; mix-blend-mode: screen; opacity: .85; }
.director { display: grid; grid-template-columns: .9fr 1.1fr; gap: 10vw; align-items: center; border-top: 1px solid var(--line); }
.director-photo { height: 620px; overflow: hidden; }
.director-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: saturate(.72); }
.director-copy { max-width: 480px; }
.director-copy .display { margin: 40px 0 28px; }
.director-copy .signature { font: 32px var(--script); color: var(--gold-light); margin: 35px 0 8px; }
.director-copy strong, .director-copy small { display: block; font-size: 12px; }
.director-copy small { color: var(--muted); margin-top: 5px; }
.site-footer { padding: 80px 8vw 25px; border-top: 1px solid var(--line); background: #050505; }
.footer-top { min-height: 300px; display: flex; justify-content: space-between; align-items: start; }
.footer-logo { width: 175px; height: 110px; object-fit: contain; }
.footer-cta p { color: var(--muted); font-size: 12px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 20px; color: #666; font: 9px var(--mono); letter-spacing: .08em; }
.footer-links { display: flex; gap: 25px; color: #aaa; }
.admin-link { opacity: .22; transition: opacity .3s; }
.admin-link:hover { opacity: .75; }
.cart-drawer { position: fixed; z-index: 50; top: 0; right: 0; height: 100%; width: min(470px,100%); padding: 36px; background: #f7f7f4; color: #111; transform: translateX(100%); transition: transform .5s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; }
.cart-drawer.open { transform: translateX(0); }
.drawer-backdrop { position: fixed; z-index: 49; inset: 0; background: rgba(0,0,0,.65); opacity: 0; visibility: hidden; transition: .3s; }
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: start; border-bottom: 1px solid #ddd8ce; padding-bottom: 22px; }
.drawer-head h3 { font-size: 38px; letter-spacing: 0; margin: 12px 0 0; }
.close-button { border: 0; background: transparent; font-size: 30px; line-height: 1; color: inherit; }
.cart-items { overflow: auto; padding: 14px 0; flex: 1; }
.cart-item { display: grid; grid-template-columns: 70px 1fr auto; gap: 13px; align-items: center; border-bottom: 1px solid #e1ded8; padding: 14px 0; }
.cart-item img { width: 70px; height: 70px; object-fit: cover; }
.cart-item h4 { margin: 0 0 4px; font-size: 13px; }
.cart-item small { color: #85817b; font: 10px var(--mono); }
.cart-item strong { font-size: 12px; }
.remove-item { border: 0; background: none; color: #aaa; padding: 0; font-size: 17px; }
.cart-empty { display: none; flex: 1; align-items: center; justify-content: center; text-align: center; color: #96918a; font-size: 12px; }
.cart-empty span { display: block; font-size: 44px; color: #c9a06c; margin-bottom: 14px; }
.cart-empty p { line-height: 1.7; }
.cart-footer { border-top: 1px solid #ddd8ce; padding-top: 20px; }
.cart-footer > div { display: flex; justify-content: space-between; margin-bottom: 18px; font-size: 13px; }
.cart-footer strong { font-size: 21px; }
.button.full { width: 100%; }
.button:disabled, .button:disabled:hover { background: #4a4a4a; color: #999; border-color: #4a4a4a; cursor: not-allowed; transform: none; box-shadow: none; }
.admin-row-actions button { border-radius: 6px; }
.filter { border-radius: 999px; }
.cart-footer small { display: block; margin-top: 13px; color: #999; font-size: 10px; line-height: 1.5; }
.modal { position: fixed; z-index: 60; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.75); opacity: 0; visibility: hidden; transition: .3s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-card { position: relative; width: min(520px,100%); max-height: 90vh; overflow: auto; padding: 34px; background: var(--paper); color: #111; }
.modal-card > .close-button { position: absolute; right: 22px; top: 18px; }
.modal-card h3 { font-size: 38px; letter-spacing: 0; margin: 12px 0 26px; }
.modal-product { display: grid; grid-template-columns: 145px 1fr; gap: 24px; }
.modal-product img { width: 145px; height: 160px; object-fit: cover; }
.modal-product p { color: #777; font-size: 12px; line-height: 1.6; }
.modal-product strong { font-size: 20px; }
.product-receiving { display: block; margin-top: 24px; color: #777; font-size: 11px; }
.product-receiving select { display: block; width: 100%; border: 1px solid #d5d1c8; background: #fff; padding: 14px; margin-top: 6px; color: #111; outline-color: var(--gold); }
.trade-modal-card label { display: block; color: #777; font-size: 11px; margin: 16px 0; }
.trade-modal-card input, .trade-modal-card select, .admin-login input, .admin-product-form input { width: 100%; border: 1px solid #d5d1c8; background: #fff; padding: 14px; margin-top: 6px; color: #111; outline-color: var(--gold); }
.trade-result { display: flex; justify-content: space-between; align-items: center; border-block: 1px solid #ded9d0; padding: 19px 0; margin: 24px 0; font-size: 12px; }
.trade-result strong { font-size: 23px; }
.message-modal-card { width: min(620px,100%); }
.message-modal-card > p { color: #777; font-size: 12px; line-height: 1.6; margin: -10px 0 18px; }
.message-preview { display: block; width: 100%; min-height: 190px; resize: vertical; border: 1px solid #d5d1c8; background: #fff; color: #111; padding: 14px; font: 12px/1.6 var(--sans); outline-color: var(--gold); }
.message-modal-actions { display: flex; gap: 10px; margin-top: 16px; }
.message-modal-actions .button { flex: 1; }
.toast { position: fixed; z-index: 100; bottom: 24px; left: 50%; transform: translate(-50%, 30px); padding: 13px 19px; background: #fff; color: #111; border-left: 3px solid var(--gold); opacity: 0; visibility: hidden; transition: .35s; font-size: 12px; box-shadow: 0 8px 30px rgba(0,0,0,.3); }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%,0); }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.hero:not(.video-finished) .hero-copy .reveal { opacity: 0; transform: translateY(30px); pointer-events: none; }
.delay-1 { transition-delay: .12s; }.delay-2 { transition-delay: .22s; }.delay-3 { transition-delay: .34s; }.delay-4 { transition-delay: .46s; }
.admin-view { position: fixed; z-index: 80; inset: 0; overflow: auto; background: #090909; }
.admin-bg { position: fixed; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(201,160,108,.15), transparent 35%); pointer-events: none; }
.admin-browserbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 12px 5vw; background: #050505; border-bottom: 1px solid var(--line); font: 11px var(--mono); color: var(--muted); }
.admin-browserbar .dot { width: 8px; height: 8px; border-radius: 50%; background: #3a3a3a; }
.admin-browserbar .url { display: flex; align-items: center; gap: 8px; margin-left: 6px; padding: 6px 14px; background: rgba(255,255,255,.05); border-radius: 999px; color: #c9c6bd; }
.admin-browserbar .url span { color: var(--gold-light); }
.admin-panel { position: relative; min-height: 100%; width: min(1000px, 100%); margin: auto; padding: 42px 5vw 70px; }
.admin-back { color: var(--muted); font: 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.admin-photo-row { display: flex; align-items: center; gap: 10px; }
.admin-photo-row input#admin-product-image { flex: 1; }
.admin-photo-row .admin-photo-preview { width: 44px; height: 44px; object-fit: cover; border: 1px solid var(--line); flex-shrink: 0; background: rgba(255,255,255,.05); }
.admin-upload-btn { border: 1px solid var(--line); background: rgba(255,255,255,.06); color: #fff; padding: 0 14px; height: 47px; font-size: 10px; white-space: nowrap; }
.admin-upload-btn:hover { border-color: var(--gold); color: var(--gold-light); }
.admin-product-form textarea#admin-product-description { grid-column: 1 / -1; min-height: 60px; resize: vertical; font-family: var(--sans); }
.admin-strip { text-align: center; padding: 26px 8vw 30px; border-top: 1px solid var(--line); background: #050505; }
.admin-strip-link { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font: 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 12px 20px; transition: .3s; }
.admin-strip-link:hover { color: var(--gold-light); border-color: var(--gold); }
.admin-login { width: min(400px,100%); margin: 18vh auto 0; text-align: center; }
.admin-login img { width: 100px; height: 100px; object-fit: contain; mix-blend-mode: screen; margin-bottom: 25px; }
.admin-login h1 { font-size: 43px; letter-spacing: 0; margin: 15px 0; }
.admin-login p { color: var(--muted); font-size: 12px; margin-bottom: 25px; }
.admin-login small { color: #da6a6a; display: block; margin-top: 16px; }
.admin-heading { display: flex; align-items: end; justify-content: space-between; margin: 90px 0 35px; }
.admin-heading h1 { font-size: 70px; margin: 14px 0 0; }
.admin-product-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; align-items: center; padding: 18px; background: rgba(255,255,255,.06); }
.admin-product-form input, .admin-product-form textarea { margin: 0; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: #fff; min-width: 0; padding: 14px; outline-color: var(--gold); }
.admin-product-form .full-row { grid-column: 1 / -1; }
.admin-product-form .button { min-height: 47px; padding-inline: 15px; }
.admin-products { margin-top: 16px; }
.admin-row { display: grid; grid-template-columns: 70px 1fr 120px 170px auto; gap: 14px; align-items: center; border-bottom: 1px solid var(--line); padding: 14px 0; }
.admin-row img { width: 70px; height: 70px; object-fit: cover; }
.admin-row h4 { margin: 0 0 5px; font-size: 14px; }
.admin-row small { color: var(--muted); font: 10px var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-row strong { font-size: 13px; }
.admin-row-actions { display: flex; gap: 7px; justify-content: end; }
.admin-row-actions button { border: 1px solid var(--line); color: #fff; background: transparent; padding: 9px 11px; font-size: 10px; }
.admin-row-actions button:hover { border-color: var(--gold); color: var(--gold-light); }
@media (max-width: 820px) {
  body { min-width: 0; }
  .site-header {
    height: 70px;
    padding: env(safe-area-inset-top) 5vw 0;
  }
  .desktop-nav, .header-actions .header-social { display: none; }
  .brand, .header-actions, .menu-trigger { position: relative; z-index: 2; }
  .brand img { width: 108px; height: 54px; }
  .header-actions { gap: 8px; margin-left: auto; margin-right: 2px; }
  .cart-trigger { padding: 10px 13px; font-size: 10px; white-space: nowrap; }
  .menu-trigger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: 0;
    background: none;
    padding: 10px 4px 10px 10px;
    min-width: 37px;
  }
  .menu-trigger span { display: block; width: 23px; height: 1px; background: #fff; }
  .mobile-menu {
    position: fixed;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 105px 8vw calc(35px + env(safe-area-inset-bottom));
    inset: 0;
    min-height: 100dvh;
    overflow-y: auto;
    background: rgba(8,8,8,.98);
    font-size: clamp(25px, 7vw, 34px);
    letter-spacing: 0;
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.2,.8,.2,1);
  }
  .mobile-menu.open { transform: translateX(0); }
  .mobile-menu a { width: fit-content; }
  .mobile-menu a:hover { color: var(--gold-light); }

  .hero {
    min-height: max(680px, 100svh);
    padding-inline: 5vw;
  }
  .hero-copy { width: min(100%, 560px); padding: 45px 0 0; }
  .hero-copy .eyebrow { margin-bottom: 22px; }
  h1 { font-size: clamp(52px, 15vw, 94px); }
  .hero-note { max-width: 280px; margin-inline: auto; font-size: 13px; }
  .hero-scroll { left: 5vw; bottom: max(24px, env(safe-area-inset-bottom)); font-size: 8px; }
  .hero-scroll .scroll-emoji { font-size: 16px; }
  .hero-corner { right: 5vw; bottom: max(24px, env(safe-area-inset-bottom)); font-size: 22px; }
  .ticker { padding: 15px 0; }
  .ticker-track { animation-duration: 27s; font-size: 9px; }

  .section { padding: 88px 6vw; }
  .section-label { font-size: 9px; }
  .intro-content, .section-head, .director {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .intro-content { margin-top: 34px; }
  .display { font-size: clamp(48px, 12vw, 76px); }
  .intro-text { max-width: 460px; padding-bottom: 0; }
  .intro-text p, .section-description, .trade-content > p, .director-copy > p { font-size: 13px; }
  .feature-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 14px;
    margin-top: 72px;
  }
  .feature-line div { gap: 12px; }
  .feature-line strong { width: 44px; height: 44px; font-size: 15px; }
  .feature-line span { font-size: 15px; }

  .iphone-scene {
    min-height: 900px;
    padding-top: 78px;
    padding-bottom: 70px;
  }
  .scene-copy { top: 82px; left: 6vw; max-width: 300px; padding-right: 10px; }
  .scene-copy h2 { margin: 23px 0; font-size: clamp(42px, 11vw, 68px); }
  .scene-copy p:not(.eyebrow) { font-size: 16px; }
  .scene-orbit { width: min(480px, 112vw); height: min(480px, 112vw); top: 55%; }
  .phone-card-one { width: min(260px, 63vw); height: min(330px, 80vw); left: 47%; top: 300px; }
  .phone-card-two { width: min(200px, 49vw); height: min(255px, 62vw); left: 77%; top: 520px; }
  .phone-card-three { width: min(185px, 45vw); height: min(225px, 55vw); left: 16%; top: 640px; }
  .phone-card span { margin-top: 10px; font-size: 8px; }
  .scene-side-label { right: 3vw; bottom: 70px; font-size: 7px; }

  .section-head .display { margin-top: 25px; }
  .section-head .section-description { max-width: 460px; margin-bottom: 0; font-size: 18px; }
  .filter-row { gap: 7px; margin: 45px 0 20px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; scrollbar-width: none; }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter { flex: 0 0 auto; padding: 14px 24px; font-size: 16px; }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-card { min-height: 380px; padding: 9px; }
  .product-card-media { height: clamp(165px, 31vw, 235px); }
  .product-info { padding: 16px 3px 3px; }
  .product-name { font-size: clamp(15px, 4vw, 19px); }
  .product-meta { font-size: 10px; line-height: 1.4; }
  .product-bottom { align-items: stretch; flex-direction: column; gap: 10px; }
  .product-price { font-size: 15px; }
  .buy-button { width: 100%; padding-inline: 8px; }

  .trade-in { min-height: 570px; }
  .trade-content { max-width: 92%; }
  .trade-content .display { margin: 30px 0 20px; font-size: clamp(43px, 11vw, 70px); }
  .trade-content > p { max-width: 280px; }
  .trade-device { right: -2%; top: 62%; width: 160px; height: 305px; opacity: .38; transform: translateY(-50%) rotate(21deg) scale(.82); }
  .trade-number { right: 5vw; bottom: 45px; font-size: clamp(48px, 15vw, 72px); }
  .logos { padding-block: 78px; }
  .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 10px; margin-top: 42px; font-size: 12px; }
  .logo-wall img { width: 48px; height: 48px; }
  .director { gap: 40px; }
  .director-photo { height: min(110vw, 440px); }
  .director-copy .display { margin: 28px 0 22px; }
  .footer-top { min-height: 230px; flex-direction: column; gap: 34px; }
  .footer-bottom { flex-wrap: wrap; gap: 16px; line-height: 1.5; }
  .footer-links { gap: 18px; }

  .cart-drawer { width: 100%; padding: 25px max(20px, 6vw) calc(20px + env(safe-area-inset-bottom)); }
  .drawer-head h3 { font-size: 34px; }
  .cart-items { padding: 8px 0; }
  .cart-item { grid-template-columns: 58px minmax(0, 1fr) auto; gap: 11px; }
  .cart-item img { width: 58px; height: 58px; }
  .cart-item h4 { font-size: 12px; }
  .cart-item strong { font-size: 11px; white-space: nowrap; }
  .cart-footer { padding-top: 16px; }
  .cart-footer small { font-size: 9px; }

  .modal { padding: 12px; }
  .modal-card {
    width: min(100%, 560px);
    max-height: calc(100dvh - 24px);
    padding: 28px 22px;
  }
  .modal-card h3 { font-size: clamp(30px, 9vw, 38px); margin-bottom: 22px; }
  .modal-product { grid-template-columns: minmax(92px, 32%) minmax(0, 1fr); gap: 15px; }
  .modal-product img { width: 100%; height: 130px; }
  .modal-product p { font-size: 11px; }
  .product-receiving { margin-top: 20px; }
  .message-preview { min-height: 160px; }
  .message-modal-actions { flex-direction: column; }
  .message-modal-actions .button { width: 100%; }

  .admin-browserbar { padding: 10px 5vw; overflow: hidden; white-space: nowrap; }
  .admin-browserbar .url { max-width: 68vw; overflow: hidden; text-overflow: ellipsis; }
  .admin-panel { padding: 30px 6vw 55px; }
  .admin-heading { align-items: start; flex-direction: column; gap: 20px; margin: 65px 0 28px; }
  .admin-heading h1 { font-size: clamp(48px, 13vw, 70px); }
  .admin-product-form { grid-template-columns: 1fr; gap: 10px; padding: 13px; }
  .admin-product-form .full-row, .admin-photo-row { grid-column: auto; }
  .admin-row { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; }
  .admin-row img { width: 52px; height: 52px; }
  .admin-row strong { grid-column: 2; }
  .admin-row-actions { grid-column: 3; grid-row: 1 / span 2; flex-direction: column; }
}
@media (max-width: 460px) {
  .site-header { padding-inline: 4vw; }
  .brand img { width: 96px; }
  .cart-trigger { padding: 9px 10px; }
  .hero { min-height: max(620px, 100svh); }
  .hero-copy { padding-top: 30px; }
  .hero-note { font-size: 12px; }
  .hero-scroll { letter-spacing: .12em; }
  .section { padding-block: 76px; }
  .feature-line { margin-top: 58px; padding-top: 26px; }
  .feature-line strong { width: 38px; height: 38px; font-size: 13px; }
  .feature-line span { font-size: 13px; }
  .iphone-scene { min-height: 820px; }
  .scene-copy { top: 72px; max-width: 270px; }
  .scene-copy h2 { margin-block: 19px; }
  .phone-card-one { top: 275px; }
  .phone-card-two { top: 465px; }
  .phone-card-three { top: 570px; }
  .scene-side-label { bottom: 48px; }
  .product-card { min-height: 350px; }
  .product-card-media { height: 165px; }
  .product-desc-overlay { padding: 13px; }
  .product-desc-overlay p { font-size: 10px; line-height: 1.45; }
  .trade-in { min-height: 540px; }
  .trade-device { right: -13%; top: 66%; transform: translateY(-50%) rotate(21deg) scale(.68); }
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .director-photo { height: 88vw; }
  .modal-card { padding: 25px 18px; }
  .modal-product { grid-template-columns: 90px minmax(0, 1fr); gap: 12px; }
  .modal-product img { height: 115px; }
  .modal-product strong { font-size: 18px; }
  .admin-login h1 { font-size: 39px; }
  .admin-row { grid-template-columns: 48px minmax(0, 1fr); }
  .admin-row img { width: 48px; height: 48px; }
  .admin-row strong { grid-column: 2; }
  .admin-row-actions { grid-column: 2; grid-row: auto; flex-direction: row; justify-content: start; margin-top: 4px; }
}
@media (max-width: 360px) {
  .header-actions { gap: 4px; }
  .cart-trigger { padding-inline: 8px; font-size: 9px; }
  .menu-trigger { padding-left: 6px; }
  .hero-scroll { font-size: 7px; }
  .products-grid { grid-template-columns: 1fr; gap: 12px; }
  .product-card { min-height: 0; }
  .product-card-media { height: 230px; }
  .product-bottom { flex-direction: row; align-items: center; }
  .buy-button { width: auto; }
  .modal-product { grid-template-columns: 82px minmax(0, 1fr); }
  .modal-product img { height: 105px; }
}
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; } .hero-video { display: none; }.hero { background: url('assets/img-01-012a2302.jpg') center/cover; } }
/* Price-list mockup inspired by the supplied reference image. */
.price-hero {
  min-height: 100svh;
  background:
    radial-gradient(circle at 76% 58%, rgba(126, 91, 48, .18), transparent 25%),
    radial-gradient(circle at 76% 88%, rgba(76, 50, 28, .2), transparent 32%),
    linear-gradient(115deg, #050505 0%, #0b0b0a 54%, #16120f 100%);
}
.trade-in.price-hero {
  min-height: 760px;
  padding: 0;
  overflow: hidden;
}
.trade-in.price-hero .hero-copy {
  flex-direction: row-reverse;
  gap: 8vw;
}
.trade-in.price-hero .price-phone-wrap {
  margin-right: 0;
  margin-left: 4vw;
}
.trade-in.price-hero .price-hero-copy {
  padding: 24px 2vw 24px 0;
}
.price-hero .hero-video,
.price-hero .hero-shade,
.price-hero .hero-grid,
.price-hero .hero-scroll { display: none; }
.price-hero .hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5vw;
  width: min(1120px, 90vw);
  min-height: 100%;
  padding: 115px 0 48px;
  text-align: left;
}
.price-hero-copy { position: relative; z-index: 3; width: min(560px, 50%); }
.price-hero-kicker {
  margin: 0 0 34px;
  color: #aaa7a2;
  font-size: clamp(14px, 1.7vw, 22px);
  font-weight: 500;
  letter-spacing: 0;
}
.price-hero-section-label {
  margin: 0 0 22px;
  color: #c7a168;
  font: 600 10px var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.price-hero h1,
.price-hero h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(52px, 7.2vw, 108px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: 0;
}
.price-hero-title {
  width: fit-content;
  max-width: 100%;
}
.price-hero-action {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 48px);
  margin: clamp(52px, 7vw, 92px) 0 0 clamp(68px, 11vw, 160px);
}
.price-hero-action-note {
  position: relative;
  width: 150px;
  margin: 0;
  padding-left: 18px;
  color: rgba(240, 238, 232, .72);
  font-family: var(--sans);
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}
.price-hero-action-note:before {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, #d8b37e 20%, #d8b37e 80%, transparent);
}
.price-hero-action-note span { display: block; }
.price-hero-title .price-hero-trade {
  position: relative;
  display: flex;
  width: fit-content;
  min-height: 50px;
  margin: 0;
  padding: 0 17px 0 20px;
  gap: 12px;
  border-color: rgba(229, 189, 135, .9);
  background: linear-gradient(105deg, #f0d29e 0%, #c59a68 100%);
  color: #1b1510;
  box-shadow: 0 14px 30px rgba(181, 139, 84, .2);
}
.price-hero-title .price-hero-trade:before {
  content: "TRADE-IN";
  position: absolute;
  top: -18px;
  left: 4px;
  color: rgba(229, 189, 135, .72);
  font: 600 8px var(--mono);
  letter-spacing: .2em;
}
.price-hero-title .price-hero-trade:hover {
  background: linear-gradient(105deg, #ffe3b6 0%, #d4af7a 100%);
  color: #15110e;
  box-shadow: 0 18px 38px rgba(181, 139, 84, .3);
}
.price-hero-title .price-hero-trade span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(27, 21, 16, .28);
  border-radius: 50%;
  font-size: 15px;
}
.price-hero-social {
  display: flex;
  align-items: center;
  gap: 13px;
  width: fit-content;
  margin-top: 105px;
  padding: 8px 22px 8px 9px;
  border: 1px solid rgba(198, 164, 116, .5);
  border-radius: 999px;
  background: rgba(29, 28, 26, .82);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.price-hero-social:hover {
  border-color: #e5bd87;
  background: rgba(46, 39, 31, .92);
  transform: translateY(-3px);
}
.price-hero-social-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid #d8b37e;
  border-radius: 50%;
  color: #d8b37e;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
}
.price-hero-social strong,
.price-hero-social small { display: block; }
.price-hero-social strong { color: #f2eee8; font-size: 13px; font-weight: 700; }
.price-hero-social small { margin-top: 3px; color: #aaa39a; font-size: 10px; }
.price-phone-wrap {
  position: relative;
  z-index: 2;
  width: clamp(260px, 28vw, 350px);
  height: min(690px, 76vh);
  flex: 0 0 auto;
  margin-right: 4vw;
  transform: perspective(1100px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)) rotateZ(6deg);
  transform-style: preserve-3d;
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
  filter: drop-shadow(34px 42px 30px rgba(0,0,0,.48));
}
.price-phone-wrap:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -12% -36% -5%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(183, 131, 69, .28), transparent 65%);
  filter: blur(24px);
  transform: translateZ(-70px);
}
.price-phone {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 2px solid #7f7f7b;
  border-radius: 44px;
  background: linear-gradient(145deg, #272727 0%, #050505 22%, #0b0b0b 78%, #242321 100%);
  box-shadow:
    inset 8px 0 11px rgba(255,255,255,.09),
    inset -8px 0 13px rgba(0,0,0,.9),
    0 0 0 4px rgba(0,0,0,.8),
    0 32px 55px rgba(0,0,0,.65);
  transform-style: preserve-3d;
  animation: pricePhoneFloat 6s ease-in-out infinite;
}
.price-phone:before {
  content: "";
  position: absolute;
  z-index: 4;
  top: 0;
  left: 12%;
  width: 17%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  opacity: .5;
  transform: skewX(-11deg);
  pointer-events: none;
}
.price-phone:after {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0;
  border-radius: 42px;
  box-shadow: inset 1px 0 rgba(255,255,255,.35), inset -2px 0 rgba(0,0,0,.9);
  pointer-events: none;
}
@keyframes pricePhoneFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -13px, 12px); }
}
.price-phone-screen {
  position: absolute;
  inset: 10px;
  overflow: hidden;
  border-radius: 35px;
  background:
    radial-gradient(circle at 50% 43%, rgba(81, 63, 39, .18), transparent 26%),
    linear-gradient(150deg, #050505, #010101 64%, #0e0b08);
  transform: translateZ(18px);
}
.price-phone-screen:after {
  content: "";
  position: absolute;
  inset: -20% 25% 15% -35%;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.08), transparent 53%);
  transform: rotate(-8deg);
}
.price-phone-camera {
  position: absolute;
  z-index: 7;
  top: 21px;
  left: 50%;
  width: 31%;
  height: 25px;
  border-radius: 999px;
  background: #010101;
  box-shadow: inset 0 1px 4px rgba(255,255,255,.12);
  transform: translateX(-50%) translateZ(30px);
}
.price-phone-status {
  position: absolute;
  z-index: 3;
  top: 27px;
  left: 25px;
  right: 25px;
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,.78);
  font-size: 10px;
  font-weight: 600;
}
.price-phone-brand {
  position: absolute;
  z-index: 2;
  top: 46%;
  left: 50%;
  width: 100%;
  text-align: center;
  color: #d7b274;
  transform: translate(-50%, -50%);
}
.price-phone-brand b {
  display: block;
  margin-bottom: 12px;
  font-family: var(--display);
  font-size: clamp(64px, 8vw, 100px);
  font-weight: 700;
  line-height: .65;
  letter-spacing: 0;
  transform: translateX(-7%);
}
.price-phone-brand strong {
  display: block;
  color: #ded5c7;
  font-size: clamp(12px, 1.3vw, 18px);
  font-weight: 400;
  letter-spacing: .02em;
}
.price-phone-brand small {
  display: block;
  margin-top: 5px;
  color: #a69b8d;
  font-size: clamp(6px, .7vw, 9px);
  letter-spacing: .05em;
}
.price-phone-home {
  position: absolute;
  bottom: 11px;
  left: 50%;
  width: 34%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  transform: translateX(-50%);
}
.price-phone-button {
  position: absolute;
  z-index: 6;
  right: -5px;
  top: 34%;
  width: 5px;
  height: 96px;
  border-radius: 0 4px 4px 0;
  background: #777773;
  box-shadow: 0 0 5px rgba(255,255,255,.18);
  transform: translateZ(4px);
}
@media (max-width: 760px) {
  .price-hero .hero-copy {
    width: 86vw;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 25px;
    padding-top: 120px;
  }
  .price-hero-copy { width: 100%; }
  .price-hero-kicker { margin-bottom: 20px; font-size: 14px; }
  .price-hero h1,
  .price-hero h2 { margin-bottom: 0; font-size: clamp(48px, 14vw, 78px); }
  .trade-in.price-hero { min-height: 720px; }
  .price-hero-action {
    margin-top: 40px;
    margin-left: clamp(10px, 4vw, 32px);
    gap: 14px;
  }
  .price-hero-action-note {
    width: 105px;
    padding-left: 12px;
    font-size: 10px;
  }
  .price-hero-social { margin-top: 34px; }
  .trade-in.price-hero .hero-copy {
    flex-direction: column;
    align-items: flex-start;
  }
  .trade-in.price-hero .price-phone-wrap {
    margin-right: 2vw;
    margin-left: auto;
  }
  .trade-in.price-hero .price-hero-copy { padding: 0; }
  .price-phone-wrap {
    align-self: center;
    width: 205px;
    height: 420px;
    margin: 4px 2vw -80px auto;
  }
  .hero-message {
    width: 88vw;
    padding: 34px 22px;
  }
  .hero-message:before {
    inset: 18% 2% 11%;
    border-radius: 50%;
    filter: blur(18px);
  }
  .hero-message h1 {
    font-size: clamp(32px, 8.6vw, 56px);
    line-height: 1.06;
    letter-spacing: 0;
  }
}
@media (max-width: 460px) {
  .price-hero .hero-copy { padding-top: 98px; }
  .price-hero h1,
  .price-hero h2 { font-size: clamp(43px, 13vw, 62px); }
  .trade-in.price-hero { min-height: 680px; }
  .price-phone-wrap { width: 182px; height: 372px; margin-top: -8px; }
  .price-hero-title .price-hero-trade {
    min-height: 46px;
    padding-inline: 13px;
    gap: 8px;
    font-size: 10px;
  }
  .hero-message {
    width: 90vw;
    padding: 30px 18px;
  }
  .hero-message-kicker { font-size: 12px; letter-spacing: .14em; }
  .hero-message h1 { font-size: clamp(28px, 8.4vw, 40px); letter-spacing: 0; }
}

/* ---- Intro section: SF Pro, logo-gold gradient, bigger copy, accent CTA ---- */
.intro .intro-title {
  font-family: var(--sf-pro);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.02;
  color: #fff;
}
.intro .intro-title span {
  font-family: var(--sf-pro);
  font-weight: 700;
  letter-spacing: 0;
  display: inline-block;
  padding-bottom: .08em;
  background: linear-gradient(120deg, #f3d9b8 0%, #c9a06c 32%, #a67c3c 58%, #c9a06c 82%, #e3c39c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.intro .intro-text { max-width: 500px; }
.intro .intro-text p {
  font-family: var(--sf-pro);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.6;
  color: #d6d2ca;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  padding: 22px 26px 22px 38px;
  border-radius: 999px;
  font-family: var(--sf-pro);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  color: #1a1208;
  background: linear-gradient(120deg, #f3d9b8 0%, #d3ad7a 40%, #b98a45 100%);
  box-shadow: 0 0 0 1px rgba(243,217,184,.5), 0 14px 40px rgba(201,160,108,.35), 0 0 60px rgba(201,160,108,.18);
  transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
  animation: ctaGlow 2.8s ease-in-out infinite;
}
.cta-button .cta-arrow {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1a1208;
  color: #f3d9b8;
  font-size: 22px;
  line-height: 1;
  transition: transform .3s ease;
}
.cta-button:hover {
  transform: translateY(-4px);
  filter: brightness(1.06);
  box-shadow: 0 0 0 1px rgba(243,217,184,.7), 0 20px 50px rgba(201,160,108,.5), 0 0 80px rgba(201,160,108,.3);
}
.cta-button:hover .cta-arrow { transform: translateX(5px); }
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(243,217,184,.5), 0 14px 40px rgba(201,160,108,.3), 0 0 50px rgba(201,160,108,.14); }
  50% { box-shadow: 0 0 0 1px rgba(243,217,184,.7), 0 14px 44px rgba(201,160,108,.5), 0 0 80px rgba(201,160,108,.3); }
}
@media (max-width: 820px) {
  .intro .intro-text { max-width: 520px; }
  .intro .intro-text p { font-size: 18px; }
  .cta-button { width: 100%; justify-content: space-between; font-size: 18px; padding: 20px 22px 20px 30px; }
}

/* ===== Product cards redesign ===== */
:root { --gold-grad: var(--ea-grad); }
.products-grid { gap: 22px; }
.product-card, .product-card * { font-family: var(--sf-pro); }
.product-card {
  padding: 16px 16px 18px; min-height: 0; background: #fff;
  border: 1px solid #ebe6d8; border-radius: 22px;
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 10px 30px rgba(40,30,5,.06);
  justify-content: flex-start; gap: 20px;
}
.product-card:hover { border-color: #c9a06c; box-shadow: 0 0 0 1px rgba(201,160,108,.55), 0 28px 60px rgba(110,80,30,.18); transform: translateY(-8px); }
.product-card-media { height: 300px; border-radius: 14px; background: #0b0b0b; }
.product-card-media:after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold-grad); z-index: 4; }
.product-tag {
  left: 14px; top: 14px; padding: 8px 14px; border-radius: 999px; background: var(--gold-grad);
  color: #000; font-size: 12px; font-weight: 700; letter-spacing: 0; box-shadow: 0 6px 16px rgba(0,0,0,.28);
}
.product-desc-overlay p { font-size: 14px; font-weight: 600; line-height: 1.5; }
.product-info { padding: 4px 4px 0; }
.product-category {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0;
  text-transform: none; color: #a67c3c;
}
.product-category:before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--gold-grad); }
.product-name { font-size: 28px; font-weight: 700; letter-spacing: 0; line-height: 1.1; margin: 10px 0 8px; color: #000; }
.product-meta { font-size: 16px; font-weight: 600; line-height: 1.35; color: #6c685f; }
.product-bottom { margin-top: auto; display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.product-price {
  align-self: flex-start; display: inline-flex; align-items: baseline; gap: 7px; padding: 10px 20px 11px;
  border-radius: 12px; background: var(--gold-grad); color: #000;
  font-size: 30px; font-weight: 700; letter-spacing: 0; line-height: 1;
  box-shadow: 0 8px 20px rgba(166,124,60,.35), 0 1px 0 rgba(255,255,255,.55) inset;
}
.buy-button {
  position: relative; overflow: hidden; width: 100%; min-height: 64px; padding: 0 12px 0 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid #000; border-radius: 18px; background: #0a0a0a; color: #f3d9b8;
  font-family: var(--sf-pro); font-size: 19px; font-weight: 700; letter-spacing: 0; cursor: pointer;
  box-shadow: 0 14px 28px rgba(0,0,0,.28), 0 0 0 1px rgba(201,160,108,.35) inset;
  transition: transform .25s, box-shadow .25s, background .3s, color .3s;
}
.buy-button:before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(246,224,160,.35), transparent);
  transform: skewX(-20deg); transition: left .7s ease;
}
.buy-button:hover { background: var(--gold-grad); color: #000; border-color: #a67c3c; transform: translateY(-3px); box-shadow: 0 18px 36px rgba(166,124,60,.5); }
.buy-button:hover:before { left: 130%; }
.buy-button:active { transform: translateY(0) scale(.985); }
.buy-button:focus-visible { outline: 3px solid #c9a06c; outline-offset: 3px; }
.buy-plus {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--gold-grad); color: #000; font-style: normal; font-size: 28px; font-weight: 700; line-height: 1; padding-bottom: 3px;
  transition: background .3s, color .3s, transform .3s;
}
.buy-button:hover .buy-plus { background: #0a0a0a; color: #f3d9b8; transform: rotate(90deg); }
@media (max-width: 820px) {
  .products-grid { gap: 12px; }
  .product-card { padding: 10px 10px 12px; border-radius: 16px; gap: 14px; }
  .product-name { font-size: clamp(19px, 5vw, 24px); }
  .product-meta { font-size: 13px; }
  .product-price { font-size: 22px; padding: 8px 14px 9px; }
  .buy-button { min-height: 54px; padding: 0 8px 0 16px; font-size: 15px; border-radius: 14px; }
  .buy-plus { width: 36px; height: 36px; font-size: 24px; }
}
@media (max-width: 520px) {
  .product-bottom { flex-direction: column; align-items: stretch; }
  .buy-button { width: 100%; }
}

/* ===== Trade-in / price-list hero (rebuilt) ===== */
.th { --g: var(--ea-grad);
  position: relative; overflow: hidden; padding: 130px 6vw 110px; font-family: var(--sf-pro); color: #fff;
  background: radial-gradient(60% 70% at 78% 60%, rgba(150,105,40,.20), transparent 70%), linear-gradient(115deg,#050505 0%,#0b0a09 55%,#17120e 100%); }
.th, .th * { font-family: var(--sf-pro); }
.th-inner { width: min(1240px,100%); margin: 0 auto; display: grid; grid-template-columns: minmax(300px,.85fr) 1.15fr; align-items: center; gap: clamp(40px,6vw,110px); }
.th-copy { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.th-eyebrow { margin: 0 0 22px; display: flex; align-items: center; gap: 14px; font-size: 20px; font-weight: 500; letter-spacing: 0; color: #e3c39c; }
.th-eyebrow:before { content: ""; width: 44px; height: 3px; border-radius: 3px; background: var(--g); }
.th-h2 { margin: 0; font-family: var(--sf-pro); font-size: clamp(52px,6.6vw,104px); font-weight: 700; line-height: 1.02; letter-spacing: 0; color: #fff; text-wrap: balance; }
.th-h3 { margin: 30px 0 0; font-size: clamp(26px,2.5vw,36px); font-weight: 500; line-height: 1.2; letter-spacing: 0; color: #e3c39c; }
.th-text { margin: 18px 0 0; max-width: 32em; font-size: clamp(20px,1.7vw,24px); font-weight: 500; line-height: 1.5; color: #c9c4ba; }
.th-actions { margin-top: 48px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; width: 100%; }
.th-cta { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 80px; padding: 0 13px 0 40px; border: 0; border-radius: 999px; background: var(--g); color: #000; font-size: 26px; font-weight: 700; letter-spacing: 0; cursor: pointer; box-shadow: 0 18px 44px rgba(201,160,108,.35), 0 1px 0 rgba(255,255,255,.6) inset; transition: transform .25s, box-shadow .25s; }
.th-cta:before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg,transparent,rgba(255,255,255,.55),transparent); transform: skewX(-20deg); transition: left .7s ease; }
.th-cta:hover { transform: translateY(-4px); box-shadow: 0 26px 56px rgba(201,160,108,.5), 0 1px 0 rgba(255,255,255,.6) inset; }
.th-cta:hover:before { left: 130%; }
.th-cta:active { transform: scale(.985); }
.th-cta:focus-visible, .th-social:focus-visible { outline: 3px solid #f3d9b8; outline-offset: 4px; }
.th-cta i { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #0a0a0a; color: #f3d9b8; font-style: normal; font-size: 30px; font-weight: 700; transition: transform .3s; }
.th-cta:hover i { transform: translate(3px,-3px); }
.th-social { display: inline-flex; align-items: center; gap: 14px; padding: 8px 24px 8px 8px; border: 1.5px solid rgba(226,189,111,.55); border-radius: 999px; background: rgba(255,255,255,.04); transition: transform .3s, border-color .3s, background .3s; }
.th-social:hover { transform: translateY(-3px); border-color: #e3c39c; background: rgba(227,195,156,.09); }
.th-social-mark { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #0a0a0a; border: 1.5px solid #c9a06c; }
.th-social-mark img { width: 36px; height: auto; display: block; }
.th-social-text strong { display: block; font-size: 17px; font-weight: 700; letter-spacing: 0; color: #fff; }
.th-social-text small { display: block; margin-top: 3px; font-size: 14px; font-weight: 500; color: #b9b3a8; }

/* --- 3D phone --- */
.th-stage { position: relative; display: grid; place-items: center; height: min(720px,80vh); min-height: 560px; perspective: 1600px; }
.th-glow { position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(201,160,108,.22), transparent 65%); filter: blur(30px); }
.th-float { transform-style: preserve-3d; animation: thFloat 6s ease-in-out infinite; }
@keyframes thFloat { 50% { transform: translateY(-14px); } }
.th-phone { --w: 300px; --h: 620px; --d: 30px; position: relative; width: var(--w); height: var(--h); transform-style: preserve-3d; transform: rotateX(var(--rx,4deg)) rotateY(var(--ry,-24deg)) rotateZ(2deg); will-change: transform; }
.th-slices, .th-front { position: absolute; inset: 0; transform-style: preserve-3d; }
.th-slices i { position: absolute; inset: 0; border-radius: 56px; }
.th-front { transform: translateZ(calc(var(--d) / 2 + .5px)); border-radius: 56px; padding: 9px; background: #050505; box-shadow: 0 0 0 2px #8f8b84 inset, 0 0 0 4px #2a2927 inset; }
.th-screen { position: relative; width: 100%; height: 100%; border-radius: 47px; overflow: hidden; background: radial-gradient(90% 60% at 50% 45%, #15130f, #000 70%); display: grid; place-items: center; }
.th-screen-logo { width: 74%; height: auto; display: block; filter: drop-shadow(0 6px 24px rgba(201,160,108,.25)); }
.th-island { position: absolute; top: 14px; left: 50%; width: 92px; height: 27px; border-radius: 20px; background: #000; transform: translateX(-50%); box-shadow: 0 0 0 1px #111; }
.th-status { position: absolute; top: 18px; left: 26px; right: 26px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 700; color: #fff; }
.th-bat { width: 24px; height: 12px; border-radius: 4px; border: 1.5px solid rgba(255,255,255,.7); position: relative; }
.th-bat:after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: #fff; border-radius: 2px; }
.th-home { position: absolute; bottom: 10px; left: 50%; width: 110px; height: 5px; border-radius: 5px; background: rgba(255,255,255,.85); transform: translateX(-50%); }
.th-glare { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.03) 28%, transparent 42%); pointer-events: none; }
.th-btn { position: absolute; width: 5px; border-radius: 3px; background: linear-gradient(90deg,#4a4844,#8d8983,#4a4844); transform: translateZ(0); }
.th-btn-action { left: -3px; top: 112px; height: 30px; }
.th-btn-up { left: -3px; top: 168px; height: 58px; }
.th-btn-down { left: -3px; top: 240px; height: 58px; }
.th-btn-power { right: -3px; top: 200px; height: 92px; }
.th-shadow { position: absolute; bottom: 4%; width: 300px; height: 40px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0,0,0,.65), transparent 70%); filter: blur(10px); animation: thShadow 6s ease-in-out infinite; }
@keyframes thShadow { 50% { transform: scale(.88); opacity: .7; } }

@media (max-width: 980px) {
  .th { padding: 110px 6vw 80px; }
  .th-inner { grid-template-columns: 1fr; gap: 24px; }
  .th-stage { height: 560px; min-height: 0; order: -1; }
  .th-phone { --w: 250px; --h: 516px; }
  .th-phone .th-slices i, .th-phone .th-front { border-radius: 46px; }
  .th-screen { border-radius: 38px; }
  .th-btn-up { top: 140px; height: 48px; } .th-btn-down { top: 200px; height: 48px; } .th-btn-power { top: 170px; height: 76px; } .th-btn-action { top: 92px; height: 26px; }
  .th-shadow { width: 250px; }
}
@media (max-width: 560px) {
  .th-stage { height: 480px; }
  .th-phone { --w: 210px; --h: 434px; }
  .th-phone .th-slices i, .th-phone .th-front { border-radius: 40px; }
  .th-screen { border-radius: 32px; }
  .th-island { width: 74px; height: 22px; top: 11px; }
  .th-status { font-size: 12px; top: 14px; }
  .th-shadow { width: 210px; }
  .th-h2 { font-size: clamp(44px,13vw,60px); }
  .th-eyebrow { font-size: 18px; }
  .th-actions { align-items: stretch; }
  .th-cta { width: 100%; min-height: 74px; font-size: 23px; padding-left: 28px; }
  .th-social { width: auto; align-self: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .th-float, .th-shadow { animation: none; } }

/* ---- About me section ---- */
.director-copy .display, .director-copy .display span { font-family: var(--sf-pro); font-weight: 700; letter-spacing: 0; line-height: 1.02; }
.director-copy .display span { display: inline-block; padding-bottom: .08em; color: #c9a06c; background: var(--ea-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.director-copy > p { font-family: var(--sf-pro); font-size: 22px; font-weight: 600; line-height: 1.5; color: #fff; }
@media (max-width: 760px) { .director-copy > p { font-size: 19px; } }

/* Кнопки связи: Instagram + Telegram */
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.footer-cta .cta-buttons { margin-top: 14px; }
@media (max-width: 820px) { .cta-buttons { flex-direction: column; align-items: stretch; } .cta-buttons .button { width: 100%; justify-content: space-between; } }

/* ===== Mobile: стабильная адаптивность, без дёрганья ===== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: hidden; }
img, video { max-width: 100%; }

@media (max-width: 820px) {
  /* Галерея iPhone: все 3 карточки видны, композиция как на компьютере */
  .iphone-scene {
    min-height: 0;
    --stage: 128vw;
    padding: 88px 6vw calc(var(--stage) + 8vw);
  }
  .scene-copy { position: relative; top: auto; left: auto; max-width: 340px; padding: 0 10px 0 0; margin: 0; }
  .scene-orbit { width: 100vw; height: 100vw; top: auto; bottom: 22vw; transform: translateX(-50%) rotate(-20deg) skewX(-8deg); }

  .phone-card { padding: 7px 7px 12px; transition: border-color .4s; }
  .phone-card img { height: calc(100% - 20px); }
  .phone-card span { margin: 8px 3px 0; font-size: 7px; letter-spacing: .08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .phone-card-one   { width: 54vw; height: 66vw; left: 44%; top: auto; bottom: 70vw; }
  .phone-card-two   { width: 42vw; height: 52vw; left: 72%; top: auto; bottom: 48vw; }
  .phone-card-three { width: 38vw; height: 46vw; left: 27%; top: auto; bottom: 20vw; }
  /* мягкий параллакс: сдвиг уменьшен, чтобы карточки не прыгали */
  .phone-card-one   { transform: translate3d(-50%, calc(var(--scroll-shift, 0px) * .3), 0) rotate(-8deg); }
  .phone-card-two   { transform: translate3d(-50%, calc(var(--scroll-shift, 0px) * .3), 0) rotate(11deg); }
  .phone-card-three { transform: translate3d(-50%, calc(var(--scroll-shift, 0px) * .3), 0) rotate(7deg); }
  .scene-side-label { right: 3vw; bottom: 4vw; }

  /* Плавность на тач-экранах */
  .site-header { transition: background .3s ease, border-color .3s ease; }
  .site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(7,7,7,.94); }
  .brand img { mix-blend-mode: normal; }
  .noise { display: none; }
  .reveal { transition-duration: .6s; }
}
@media (max-width: 460px) {
  .iphone-scene { min-height: 0; }
  .phone-card-one, .phone-card-two, .phone-card-three { top: auto; }
  .scene-copy { max-width: 300px; }
}
@media (hover: none) {
  .phone-card:hover { border-color: rgba(255,255,255,.19); }
  .button:hover, .cta-button:hover { transform: none; }
}
@media (max-width: 820px) { .footer-cta { width: 100%; } }

/* ===== Единый фирменный градиент (как у «выбранные лично.») ===== */
/* Заголовки, акценты, H3, подписи, пункты — градиентный текст на тёмном фоне */
h1 em, h2 em, .display span, .scene-copy em, .scene-copy h2 em, .trade-number em,
.hero-copy h1:not(.hero-message h1), .hero-message h1 span,
.th-h3, .contact-handle, .director-copy .signature, .hero-corner,
.text-link, .eyebrow, .section-label, .section-label span, .scene-side-label, .hero-scroll,
.th-eyebrow, .ticker b, .mobile-drop .m-brand, .drop-devices .drop-all,
.price-hero-kicker, .price-hero-section-label {
  background-image: var(--ea-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  text-shadow: none;
}
.display span, h1 em, h2 em, .scene-copy em, .th-h3, .contact-handle, .director-copy .signature, .hero-corner {
  display: inline-block; padding-bottom: .1em;
}
.scene-copy h2 em { filter: drop-shadow(0 0 14px rgba(201,160,108,.35)); }
.th-eyebrow { width: fit-content; }

/* На светлом фоне (каталог, страница товара) — тот же градиент, чуть темнее для контраста */
.catalog .section-label, .catalog .section-label span, .catalog .section-head .display span,
.pp-info .eyebrow, .product-category, .catalog .eyebrow {
  background-image: var(--ea-grad-dark);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---- Шапка: крупнее, соцсети-иконки, телефон, бежевая кнопка корзины ---- */
.header-icon { display: none; }
.header-phone { display: none; }

.cart-trigger {
  border: 0;
  background: var(--ea-grad);
  background-size: 160% 100%;
  color: #1a1208;
  font-family: var(--sf-pro);
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 8px 26px rgba(201,160,108,.28), inset 0 1px 0 rgba(255,255,255,.35);
  transition: background-position .5s ease, transform .3s ease, box-shadow .3s ease;
}
.cart-trigger:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 12px 34px rgba(201,160,108,.42), inset 0 1px 0 rgba(255,255,255,.4); }
.cart-trigger span { color: var(--gold-light); background: #1a1208; font-weight: 700; }

@media (min-width: 821px) {
  .site-header { height: 124px; padding: 0 3.5vw; transition: height .4s ease, background .4s ease, border-color .4s ease; }
  .site-header.scrolled, .site-header.solid { height: 104px; }
  .brand img { width: 230px; height: 104px; transition: width .4s ease, height .4s ease; }
  .site-header.scrolled .brand img, .site-header.solid .brand img { width: 200px; height: 90px; }

  .desktop-nav { gap: clamp(22px, 2.4vw, 42px); font: 600 clamp(14px, 1.15vw, 17px) var(--sf-pro); letter-spacing: .08em; color: #e4e1da; }
  .desktop-nav .caret { font-size: 12px; }

  .header-actions { gap: clamp(10px, 1vw, 16px); font-family: var(--sf-pro); letter-spacing: 0; }
  .header-icon {
    display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
    color: var(--gold-light); border: 1px solid rgba(227,195,156,.4); background: rgba(255,255,255,.05);
    transition: color .3s, background .3s, border-color .3s, transform .3s;
  }
  .header-icon svg { width: 24px; height: 24px; }
  .header-icon:hover { color: #1a1208; background: var(--ea-grad); border-color: transparent; transform: translateY(-2px); }
  .header-phone {
    display: inline-block; font: 700 clamp(15px, 1.25vw, 19px) var(--sf-pro); letter-spacing: .02em;
    color: #fff; white-space: nowrap; margin: 0 clamp(2px, .6vw, 10px); transition: color .3s;
  }
  .header-phone:hover { color: var(--gold-light); }

  .cart-trigger { padding: 16px 28px; font-size: clamp(15px, 1.2vw, 18px); border-radius: 999px; }
  .cart-trigger span { width: 26px; height: 26px; margin-left: 10px; font-size: 14px; }
}

/* Средние экраны: телефон остаётся, но всё чуть компактнее */
@media (min-width: 821px) and (max-width: 1280px) {
  .brand img, .site-header.scrolled .brand img, .site-header.solid .brand img { width: 170px; height: 78px; }
  .header-icon { width: 44px; height: 44px; }
  .header-icon svg { width: 21px; height: 21px; }
  .cart-trigger { padding: 13px 20px; }
}
@media (min-width: 821px) and (max-width: 1060px) {
  .header-phone { display: none; }
}

/* Исправления: без переносов, иконки не сжимаются, логотип обрезан по знаку */
.desktop-nav a, .desktop-nav .nav-item > a { white-space: nowrap; }
.header-actions { flex-shrink: 0; }
.header-icon { flex: 0 0 auto; }
.cart-trigger { display: inline-flex; align-items: center; white-space: nowrap; }
@media (min-width: 821px) {
  .brand img { width: 190px; height: 100px; }
  .site-header.scrolled .brand img, .site-header.solid .brand img { width: 165px; height: 86px; }
}
@media (min-width: 821px) and (max-width: 1280px) {
  .brand img, .site-header.scrolled .brand img, .site-header.solid .brand img { width: 140px; height: 74px; }
}

/* Тонкая настройка плотности шапки */
@media (min-width: 821px) {
  .site-header { gap: clamp(16px, 2vw, 40px); }
  .desktop-nav { gap: clamp(16px, 1.7vw, 36px); font-size: clamp(13px, 1vw, 16px); letter-spacing: .06em; }
  .header-actions { gap: clamp(8px, .8vw, 14px); }
  .header-icon { width: clamp(42px, 3.1vw, 50px); height: clamp(42px, 3.1vw, 50px); }
  .header-phone { font-size: clamp(14px, 1.1vw, 18px); margin: 0 clamp(0px, .4vw, 8px); }
  .cart-trigger { padding: clamp(12px, 1vw, 16px) clamp(18px, 1.7vw, 28px); font-size: clamp(14px, 1.1vw, 17px); }
}
@media (min-width: 821px) and (max-width: 1180px) {
  .header-phone { display: none; }
}

/* =====================================================================
   Единый фирменный шрифт на всём сайте (включая корзину, формы, кнопки)
   ===================================================================== */
:root { --sans: var(--sf-pro); --mono: var(--sf-pro); --display: var(--sf-pro); }
body, button, input, select, textarea, .cart-drawer, .cart-drawer *, .modal-card, .modal-card *, .toast, .mobile-menu {
  font-family: var(--sf-pro);
}
h1, h2, h3, h4 { font-family: var(--sf-pro); }
h1 em, .display span em, .scene-copy em, .trade-number em, .hero-corner, .signature, .device-screen { font-family: var(--script); }
.cart-drawer h3 { font-weight: 700; letter-spacing: 0; }

/* =====================================================================
   Шапка в две строки: логотип + контакты сверху, 8 категорий снизу
   ===================================================================== */
@media (min-width: 821px) {
  .site-header {
    display: grid; height: auto; padding: 0 3.5vw; gap: 0;
    grid-template-columns: auto 1fr;
    grid-template-areas: "brand actions" "nav nav";
    align-items: center;
  }
  .site-header, .site-header.scrolled, .site-header.solid { height: auto; }
  .brand { grid-area: brand; padding: 12px 0; }
  .header-actions { grid-area: actions; justify-self: end; }
  .desktop-nav {
    grid-area: nav; justify-content: center; align-items: stretch; flex-wrap: nowrap;
    height: 60px; border-top: 1px solid rgba(227,195,156,.18);
    gap: clamp(12px, 1.9vw, 40px);
    font: 500 clamp(12px, 1.2vw, 18px) var(--sf-pro); letter-spacing: 0; text-transform: none; color: #d8d4cb;
    transition: height .4s ease;
  }
  .desktop-nav > a, .nav-item { display: flex; align-items: center; padding: 0; white-space: nowrap; position: relative; }
  .desktop-nav > a::after, .nav-item > a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 2px; border-radius: 2px;
    background: var(--ea-grad); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
  }
  .desktop-nav > a:hover::after, .nav-item:hover > a::after, .desktop-nav > a.active::after, .nav-item > a.active::after { transform: scaleX(1); }
  .nav-item > a { display: flex; align-items: center; height: 100%; }
  .desktop-nav a:hover, .desktop-nav a.active { color: var(--gold-light); }
  .desktop-nav .caret { font-size: .7em; margin-left: 6px; }

  /* логотип крупнее */
  .brand img, .site-header.scrolled .brand img, .site-header.solid .brand img { width: 170px; height: 120px; transition: width .4s ease, height .4s ease; }
  .site-header.scrolled .brand img, .site-header.solid .brand img { width: 120px; height: 84px; }
  .site-header.scrolled .desktop-nav, .site-header.solid .desktop-nav { height: 52px; }

  /* выпадающий каталог слева, под пунктом «Новые устройства» */
  .desktop-nav .nav-item .nav-drop { left: 0; transform: translate(0, 12px); }
  .desktop-nav .nav-item .nav-drop::before { left: 70px; }
  .desktop-nav .nav-item:hover .nav-drop, .desktop-nav .nav-item:focus-within .nav-drop { transform: translate(0, 0); }
  .site-header:not(.scrolled):not(.solid) { background: linear-gradient(180deg, rgba(7,7,7,.78) 0%, rgba(7,7,7,.35) 70%, transparent 100%); }

  .header-icon { width: 56px; height: 56px; }
  .header-icon svg { width: 26px; height: 26px; }
  .header-phone { font-size: clamp(17px, 1.4vw, 22px); }
  .cart-trigger { padding: 18px 32px; font-size: clamp(16px, 1.25vw, 19px); }
  .cart-trigger span { width: 28px; height: 28px; font-size: 15px; }

  /* контент не прячется под высокой шапкой */
  main > .section:first-child { padding-top: 250px; }
}
@media (min-width: 821px) and (max-width: 1180px) {
  .brand img, .site-header.scrolled .brand img, .site-header.solid .brand img { width: 130px; height: 92px; }
  .header-icon { width: 48px; height: 48px; }
  .cart-trigger { padding: 14px 24px; }
  main > .section:first-child { padding-top: 220px; }
}
@media (min-width: 821px) {
  .desktop-nav .nav-item { padding: 0; }
}
@media (min-width: 821px) {
  .desktop-nav > a, .desktop-nav .nav-item { height: 100%; align-self: stretch; }
}


/* =====================================================================
   Корзина и всплывающие окна: тот же фирменный шрифт, без Arial Black
   ===================================================================== */
.cart-drawer, .cart-drawer *, .modal-card, .modal-card *, .drawer-head h3, .cart-item h4, .cart-footer strong,
.cart-empty p, .cart-footer small, .eyebrow, .button, .close-button, .toast {
  font-family: var(--sf-pro) !important;
}
.cart-empty span { font-family: var(--sf-pro) !important; }
.drawer-head h3 { font-size: 38px; font-weight: 700; letter-spacing: 0; line-height: 1.05; }
.cart-drawer .eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .16em; }
.cart-empty { font-size: 15px; font-weight: 500; }
.cart-item h4 { font-size: 15px; font-weight: 600; }
.cart-item small { font: 500 12px var(--sf-pro) !important; }
.cart-item strong { font-size: 14px; font-weight: 700; }
.cart-footer > div { font-size: 15px; font-weight: 500; }
.cart-footer strong { font-size: 24px; font-weight: 700; letter-spacing: 0; }
.cart-footer small { font-size: 11px; }
.button { font-weight: 600; letter-spacing: 0; }
@media (max-width: 820px) {
  .drawer-head h3 { font-size: 32px; }
  .cart-footer small { font-size: 11px; }
}

/* =====================================================================
   Единый стиль заголовков — как «Технологии, выбранные лично.»:
   SF Pro, насыщенность 700, без сжатия букв
   ===================================================================== */
h1, h2, h3, h4, .display, .display span, .intro-title, .intro-title span,
.scene-copy h2, .scene-copy h2 em, .price-hero h2, .th-h2, .product-name,
.drawer-head h3, .modal-card h3, .admin-login h1, .mobile-menu, .mobile-menu a {
  font-family: var(--sf-pro) !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}
/* рукописные акценты остаются Marck Script */
h1 em, h2 em, .display span em, .hero-corner, .signature, .device-screen { font-family: var(--script) !important; font-weight: 400 !important; }
.scene-copy h2 em { font-family: var(--sf-pro) !important; font-weight: 700 !important; }
h1 { line-height: .98; }
.display { line-height: 1.02; }
.mobile-menu a { font-weight: 600 !important; }
.trade-number, .logo-wall, .product-price { font-family: var(--sf-pro); letter-spacing: 0; }

/* =====================================================================
   Корзина: везде тот же жирный фирменный шрифт, что и в
   «Технологии, выбранные лично.» (SF Pro Bold, без сжатия)
   ===================================================================== */
.cart-drawer, .cart-drawer * {
  font-family: var(--sf-pro) !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  font-style: normal;
}
.cart-drawer .drawer-head h3 { font-size: 40px; line-height: 1.05; }
.cart-drawer .eyebrow { font-size: 12px; letter-spacing: .14em !important; }
.cart-drawer .close-button { font-size: 32px; }
.cart-drawer .cart-item h4 { font-size: 17px; line-height: 1.25; }
.cart-drawer .cart-item small { font-size: 13px !important; line-height: 1.4; }
.cart-drawer .cart-item strong { font-size: 16px; }
.cart-drawer .cart-empty { font-size: 17px; line-height: 1.5; }
.cart-drawer .cart-footer > div { font-size: 17px; }
.cart-drawer .cart-footer strong { font-size: 28px; }
.cart-drawer .cart-footer small { font-size: 12px; line-height: 1.5; }
.cart-drawer .button, .cart-drawer .button.full {
  font-size: 18px; min-height: 62px; padding: 0 28px; gap: 14px;
}
.cart-drawer .button span { font-size: 22px; }
.cart-drawer .cart-item button, .cart-drawer [data-remove], .cart-drawer [data-qty] { font-size: 18px; }

/* окно «Сообщение готово» после оформления — тот же стиль */
.modal-card, .modal-card * { font-family: var(--sf-pro) !important; letter-spacing: 0 !important; }
.modal-card .button { font-size: 17px; font-weight: 700 !important; min-height: 56px; }
@media (max-width: 820px) {
  .cart-drawer .drawer-head h3 { font-size: 34px; }
  .cart-drawer .button, .cart-drawer .button.full { font-size: 17px; min-height: 58px; }
}
.cart-drawer .cart-item small, .cart-drawer .cart-empty p, .cart-drawer .cart-footer small { font-weight: 700 !important; }

/* =====================================================================
   Главный экран: белый заголовок + размытие фона прямо за текстом
   ===================================================================== */
.hero-copy.hero-message h1 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.55), 0 0 2px rgba(0,0,0,.35);
}
.hero-message-kicker { color: #9a9a9f; text-transform: none; text-shadow: 0 2px 14px rgba(0,0,0,.6); }

/* ancestor с filter ломает backdrop-filter — после появления фильтр снимаем */
.hero.video-finished .hero-message { filter: none; }

.hero-message:before,
.hero.video-finished.hero-blur-settled .hero-message:before {
  inset: 2% -3% 0;
  border-radius: 56px;
  background: rgba(5,5,5,.32);
  box-shadow: none;
  filter: none;
  -webkit-backdrop-filter: blur(22px) saturate(1.05);
  backdrop-filter: blur(22px) saturate(1.05);
  -webkit-mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 70%, transparent 100%);
  mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 70%, transparent 100%);
}
@media (max-width: 820px) {
  .hero-message:before,
  .hero.video-finished.hero-blur-settled .hero-message:before { inset: 0 -4%; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
}

/* =====================================================================
   Плавное появление текста после видео — без рывков.
   Контейнер больше не анимируется (opacity/filter/transform на нём ломали
   backdrop-filter и давали скачок). Вместо этого: панель размытия плавно
   проявляется, а текст мягко поднимается по очереди.
   ===================================================================== */
.hero-message,
.hero.video-finished .hero-message {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}

/* панель размытия: плавно проявляется целиком (вместе с размытием) */
.hero-message:before,
.hero.video-finished .hero-message:before,
.hero.video-finished.hero-blur-settled .hero-message:before {
  transform: none;
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(.25,.6,.25,1);
}
.hero.video-finished .hero-message:before,
.hero.video-finished.hero-blur-settled .hero-message:before { opacity: 1; }

/* до конца видео текст скрыт */
.hero:not(.video-finished) .hero-message > * { opacity: 0; pointer-events: none; }

/* после — появляется по очереди: надпись → заголовок → кнопка */
@keyframes heroRise {
  from { opacity: 0; transform: translate3d(0, 22px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
.hero.video-finished .hero-message > .hero-message-kicker { animation: heroRise 1.1s cubic-bezier(.2,.8,.2,1) .15s backwards; }
.hero.video-finished .hero-message > h1                   { animation: heroRise 1.1s cubic-bezier(.2,.8,.2,1) .3s backwards; }
.hero.video-finished .hero-message > .hero-cta            { animation: ctaGlow 2.8s ease-in-out infinite, heroRise 1.1s cubic-bezier(.2,.8,.2,1) .5s backwards; }

/* =====================================================================
   Шапка: «Новые устройства» — главная бежевая кнопка,
   «Б/У устройства» — кнопка-обводка (чтобы новая выделялась сильнее)
   ===================================================================== */
@media (min-width: 821px) {
  .desktop-nav .nav-item > a,
  .desktop-nav > a[href="used.html"] {
    height: 44px; padding: 0 24px; border-radius: 999px; align-self: center;
    font-weight: 600; transition: background-position .5s ease, background .3s, color .3s, border-color .3s, transform .3s, box-shadow .3s;
  }
  .desktop-nav .nav-item { align-self: stretch; }
  .desktop-nav .nav-item > a::after,
  .desktop-nav > a[href="used.html"]::after { display: none; }

  /* Новые — бежевый градиент */
  .desktop-nav .nav-item > a,
  .desktop-nav .nav-item > a:hover,
  .desktop-nav .nav-item > a.active {
    color: #1a1208; font-weight: 700;
    background: var(--ea-grad); background-size: 160% 100%;
    box-shadow: 0 6px 22px rgba(201,160,108,.28), inset 0 1px 0 rgba(255,255,255,.35);
  }
  .desktop-nav .nav-item:hover > a { background-position: 100% 0; transform: translateY(-1px); }

  /* Б/У — только обводка */
  .desktop-nav > a[href="used.html"] {
    color: var(--gold-light); background: transparent;
    border: 1.5px solid rgba(227,195,156,.8);
  }
  .desktop-nav > a[href="used.html"]:hover,
  .desktop-nav > a[href="used.html"].active { color: #fff; background: rgba(227,195,156,.14); border-color: var(--gold-light); }

  .site-header.scrolled .desktop-nav .nav-item > a,
  .site-header.scrolled .desktop-nav > a[href="used.html"],
  .site-header.solid .desktop-nav .nav-item > a,
  .site-header.solid .desktop-nav > a[href="used.html"] { height: 38px; }
}
@media (min-width: 821px) and (max-width: 1180px) {
  .desktop-nav .nav-item > a, .desktop-nav > a[href="used.html"] { padding: 0 16px; height: 38px; }
}

/* Footer: phone + social row */
.footer-bottom { flex-wrap: wrap; gap: 22px 40px; background: #111; margin: 0 -8vw -25px; padding: 34px 8vw 60px; border-top: 1px solid var(--line); }
.footer-contacts { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; font: 600 22px/1.2 'Manrope', var(--sans); letter-spacing: 0; }
.footer-phone { color: #fff; white-space: nowrap; }
.footer-social { display: inline-flex; align-items: center; gap: 14px; color: var(--gold); white-space: nowrap; transition: color .3s; }
.footer-social svg { width: 28px; height: 28px; flex: none; }
.footer-social:hover { color: var(--gold-light); }
.footer-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(201,160,108,.35); }
.footer-copy { color: #666; font: 9px var(--mono); letter-spacing: .08em; }
@media (max-width: 760px) {
  .footer-contacts { font-size: 17px; gap: 12px 20px; }
  .footer-social svg { width: 22px; height: 22px; }
  .footer-social { gap: 10px; }
  .footer-dot { display: none; }
  .footer-bottom { padding: 28px 8vw 40px; }
}

/* Message / order modal — SF Pro */
.modal .message-modal-card { --sf-text: 'SF Pro Text', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-family: var(--sf-text); -webkit-font-smoothing: antialiased; padding: 44px 44px 40px; }
.modal .message-modal-card .eyebrow { display: block; font: 600 13px/1 var(--sf-text); letter-spacing: .14em; text-transform: uppercase; color: #a67c3c; }
.modal .message-modal-card h3 { margin: 18px 0 16px; font: 700 clamp(34px, 5.4vw, 48px)/1.05 var(--sf-pro); letter-spacing: 0; color: #111; }
.modal .message-modal-card > p { margin: 0 0 22px; font: 400 16px/1.5 var(--sf-text); letter-spacing: 0; color: #6e6e73; }
.modal .message-modal-card .message-preview { min-height: 200px; padding: 16px 18px; font: 400 15px/1.6 var(--sf-text); letter-spacing: 0; color: #1d1d1f; }
.modal .message-modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.modal .message-modal-actions .button { flex: none; gap: 10px; min-height: 54px; padding: 0 22px; font: 600 15px/1 var(--sf-pro); letter-spacing: 0; white-space: nowrap; }
.modal .message-modal-actions .button svg { width: 18px; height: 18px; flex: none; }
.modal .message-modal-actions .button-copy { grid-column: 1 / -1; }
.modal .message-modal-card .close-button { font-family: var(--sf-pro); font-weight: 300; }
@media (max-width: 760px) {
  .modal .message-modal-card { padding: 30px 20px 24px; }
  .modal .message-modal-card > p { font-size: 15px; }
  .modal .message-modal-card .message-preview { font-size: 14px; min-height: 160px; }
  .modal .message-modal-actions { grid-template-columns: 1fr; }
  .modal .message-modal-actions .button { min-height: 50px; font-size: 14px; }
}

/* Message modal: gold gradient eyebrow (as in "выбранные лично.") + rounded corners */
.modal .message-modal-card { border-radius: 28px; }
.modal .message-modal-card .eyebrow {
  display: inline-block; padding-bottom: .12em;
  font: 700 22px/1.15 var(--sf-pro); letter-spacing: 0; text-transform: none;
  color: #a67c3c;
  background: var(--ea-grad-dark);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.modal .message-modal-card .message-preview { border-radius: 18px; border-color: #e0dbd0; }
.modal .message-modal-card .close-button { border-radius: 50%; }
@media (max-width: 760px) {
  .modal .message-modal-card { border-radius: 24px; }
  .modal .message-modal-card .eyebrow { font-size: 19px; }
}

/* Message modal: single gold gradient title */
.modal .message-modal-card h3 {
  display: block; margin: 0 0 14px; padding-bottom: .1em;
  font: 700 clamp(38px, 6vw, 56px)/1.08 var(--sf-pro); letter-spacing: 0;
  color: #a67c3c; background: var(--ea-grad-dark);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ===== Trade-in wizard ===== */
.modal .trade-modal-card { width: min(760px, 100%); border-radius: 28px; padding: 40px 44px 36px; }
.trade-modal-card [hidden] { display: none !important; }
.trade-steps { list-style: none; margin: 4px 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trade-steps button { width: 100%; padding: 12px 0 0; border: 0; border-top: 3px solid #e1dcd1; background: none; text-align: left; font: 500 14px/1.2 var(--sf-pro); color: #9a968c; cursor: default; transition: color .25s, border-color .25s; }
.trade-steps button.active { border-top-color: var(--gold); color: #a67c3c; font-weight: 600; }
.trade-steps button.done { border-top-color: #e3c39c; color: #6e6e73; cursor: pointer; }
.trade-steps button.done:hover { color: #a67c3c; }
.trade-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; align-items: start; }
.trade-modal-card .trade-field { display: flex; flex-direction: column; gap: 8px; margin: 0; font: 500 14px/1.2 var(--sf-pro); color: #6e6e73; }
.trade-modal-card .trade-field input, .trade-modal-card .trade-field select, .trade-modal-card .trade-field textarea { margin: 0; width: 100%; padding: 15px 18px; border: 1px solid #d9d4c9; border-radius: 16px; background: #fff; color: #111; font: 400 16px/1.3 var(--sf-pro); outline-color: var(--gold); transition: border-color .2s, box-shadow .2s; }
.trade-modal-card .trade-field textarea { resize: vertical; min-height: 84px; line-height: 1.45; }
.trade-modal-card .trade-field select { appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%23777' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center; }
.trade-modal-card .trade-field .invalid, .trade-modal-card input.invalid { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.12); }
.trade-wide { grid-column: 1 / -1; margin-top: 18px; }
.trade-grid .trade-wide { margin-top: 0; }
.trade-group { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.trade-grid .trade-group { margin-bottom: 0; }
.trade-group-title { font: 500 14px/1.2 var(--sf-pro); color: #6e6e73; }
.trade-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.trade-chips-cond { display: grid; grid-template-columns: repeat(2, 1fr); }
.trade-modal-card .trade-chip { position: relative; display: flex; flex-direction: column; gap: 3px; margin: 0; padding: 13px 18px; border: 1.5px solid #d9d4c9; border-radius: 16px; background: #fff; cursor: pointer; font: 400 13px/1.2 var(--sf-pro); color: #8a8780; transition: border-color .2s, background .2s, box-shadow .2s; }
.trade-modal-card .trade-chip b { font: 600 15px/1.2 var(--sf-pro); color: #111; }
.trade-modal-card .trade-chip input { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; padding: 0; border: 0; pointer-events: none; }
.trade-modal-card .trade-chip:hover { border-color: #e3c39c; }
.trade-modal-card .trade-chip:has(input:checked) { border-color: var(--gold); background: #fbf4e8; box-shadow: 0 0 0 3px rgba(201,160,108,.16); }
.trade-modal-card .trade-chip:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.trade-chip-sm { flex-direction: row; align-items: center; padding: 14px 20px; border-radius: 999px; }
.trade-modal-card .trade-result { border-radius: 0; margin: 22px 0 14px; }
.trade-modal-card .trade-result span { font: 500 14px var(--sf-pro); color: #6e6e73; }
.trade-modal-card .trade-result strong { font: 700 26px var(--sf-pro); letter-spacing: 0; color: #111; }
.trade-note { margin: 14px 0 0; font: 400 14px/1.5 var(--sf-pro); color: #8a8780; }
.trade-summary { margin: 22px 0 0; padding: 4px 20px; border: 1px solid #e1dcd1; border-radius: 18px; background: #fff; }
.trade-summary div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid #efebe2; font: 400 14px/1.4 var(--sf-pro); }
.trade-summary div:last-child { border-bottom: 0; }
.trade-summary dt { color: #8a8780; flex: none; }
.trade-summary dd { margin: 0; color: #111; text-align: right; font-weight: 500; }
.trade-nav { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 30px; }
.trade-back { min-height: 54px; padding: 0 26px; border: 1px solid #d9d4c9; border-radius: 999px; background: transparent; color: #111; font: 600 15px var(--sf-pro); cursor: pointer; transition: border-color .25s, color .25s; }
.trade-back:hover { border-color: var(--gold); color: #a67c3c; }
.trade-next { margin-left: auto; min-height: 54px; padding: 0 34px; border: 0; background: var(--gold); color: #111; font: 600 16px var(--sf-pro); letter-spacing: 0; cursor: pointer; }
.trade-next:hover { background: var(--gold-light); color: #111; }
@media (max-width: 760px) {
  .modal .trade-modal-card { padding: 28px 18px 22px; border-radius: 24px; }
  .trade-steps { gap: 6px; margin-bottom: 22px; }
  .trade-steps button { font-size: 11px; padding-top: 9px; }
  .trade-grid, .trade-chips-cond { grid-template-columns: 1fr; }
  .trade-modal-card .trade-field input, .trade-modal-card .trade-field select, .trade-modal-card .trade-field textarea { font-size: 16px; }
  .trade-nav { margin-top: 24px; }
  .trade-next { padding: 0 24px; flex: 1; }
  .trade-back { padding: 0 20px; }
}
.trade-modal-card .trade-field.trade-wide { margin-top: 20px; }
.trade-modal-card .trade-grid .trade-field.trade-wide { margin-top: 0; }
.trade-modal-card .trade-grid + .trade-field.trade-wide { margin-top: 22px; }

/* ===== Типографика (единое правило) =====
   Заголовки — SF Pro Bold (700), подзаголовки — Medium (500),
   второстепенный текст — Regular (400), межбуквенный интервал — 0 */
h1, h2, h3, h4, .display, .display span, .scene-copy h2, .scene-copy h2 em, .th-h2, .intro-title, .price-hero h2 {
  font-family: var(--sf-pro) !important; font-weight: 700 !important; letter-spacing: 0 !important;
}
.scene-copy p:not(.eyebrow), .section-description, .th-h3, .th-eyebrow, .director-copy > p, .intro .intro-text p {
  font-family: var(--sf-pro); font-weight: 500; letter-spacing: 0;
}
.scene-copy h2, .scene-copy h2 em { letter-spacing: 0 !important; }

/* ===== Галерея iPhone (десктоп): карточки справа, крупнее, не заходят на текст ===== */
@media (min-width: 821px) {
  .iphone-scene { min-height: 1260px; background: radial-gradient(circle at 68% 48%, rgba(201,160,108,.09), transparent 42%); }
  .scene-orbit { width: clamp(560px, 54vw, 880px); height: clamp(560px, 54vw, 880px); left: 68%; top: 46%; }
  .scene-copy { max-width: min(400px, 34vw); }
  .phone-card { --w: 300px; width: var(--w); height: calc(var(--w) * 1.22); }
  .phone-card-one   { --w: clamp(300px, 34vw, 540px); left: 67%; top: 120px; transform: translate3d(-50%, var(--scroll-shift, 0px), 0) rotate(-6deg); z-index: 2; }
  .phone-card-two   { --w: clamp(240px, 26vw, 420px); left: 81%; top: 610px; transform: translate3d(-50%, var(--scroll-shift, 0px), 0) rotate(9deg); z-index: 3; }
  .phone-card-three { --w: clamp(230px, 24vw, 390px); left: 42%; top: 690px; transform: translate3d(-50%, var(--scroll-shift, 0px), 0) rotate(6deg); z-index: 3; }
  .phone-card span { margin-top: 16px; font-size: 10px; }
  .scene-side-label { right: 2vw; bottom: 110px; }
}

/* ===== Подзаголовок под заголовком — Medium (500), интервал 0 ===== */
.display + p, .display + .intro-text, .intro-text p, .section-description, .th-text,
.scene-copy h2 + p, .contact-block p, .director-copy p, .pp-desc, .hero-note {
  font-family: var(--sf-pro) !important; font-weight: 500 !important; letter-spacing: 0 !important;
}
.th-h3 { font-family: var(--sf-pro) !important; font-weight: 500 !important; letter-spacing: 0 !important; }
.footer-contacts, .footer-contacts * { font-family: var(--sf-pro); letter-spacing: 0; }
.cta-button, .hero-cta { font-weight: 600 !important; letter-spacing: 0 !important; }

/* ===== Подвал: колонки ссылок + юридическая строка ===== */
.site-footer { padding: 64px 8vw 0; }
.footer-main { display: grid; grid-template-columns: minmax(260px, 1.6fr) 1fr 1.2fr 1fr; gap: 40px; align-items: start; padding-bottom: 56px; }
.footer-main .footer-logo { width: 140px; height: 88px; display: block; margin: 0 0 22px -6px; }
.footer-address { margin: 0 0 18px; color: var(--muted); font: 500 13px/1.7 var(--sf-pro); letter-spacing: 0; }
.footer-main .footer-contacts { font-size: 15px; gap: 10px 22px; margin-bottom: 12px; }
.footer-main .footer-social svg { width: 18px; height: 18px; }
.footer-main .footer-social { gap: 9px; }
.footer-col { display: flex; flex-direction: column; gap: 14px; font: 500 14px/1.3 var(--sf-pro); }
.footer-col h4 { margin: 0 0 6px; color: #d9d6cf; font: 700 11px/1 var(--sf-pro); letter-spacing: .12em; text-transform: uppercase; }
.footer-col a { color: #a7a49d; transition: color .3s; width: fit-content; }
.footer-col a:hover { color: var(--gold-light); }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; border-top: 1px solid var(--line); padding: 22px 0 26px; color: #777; font: 500 11px/1.5 var(--sf-pro); letter-spacing: 0; }
.footer-legal-links { display: flex; gap: 26px; }
.footer-legal-links a { transition: color .3s; }
.footer-legal-links a:hover { color: var(--gold-light); }

/* Плавающая кнопка «Задать вопрос» */
.ask-widget { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; font-family: var(--sf-pro); }
.ask-button { display: inline-flex; align-items: center; gap: 12px; padding: 6px 20px 6px 6px; border: 1px solid rgba(201,160,108,.35); border-radius: 999px; background: rgba(12,12,12,.88); backdrop-filter: blur(14px); color: #fff; font: 600 14px/1 var(--sf-pro); box-shadow: 0 10px 30px rgba(0,0,0,.45); transition: border-color .3s, transform .3s; }
.ask-button:hover { border-color: var(--gold); transform: translateY(-2px); }
.ask-button img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: center 25%; }
.ask-panel { display: flex; flex-direction: column; min-width: 190px; padding: 8px; border: 1px solid var(--line); border-radius: 18px; background: rgba(12,12,12,.94); backdrop-filter: blur(14px); box-shadow: 0 14px 36px rgba(0,0,0,.5); }
.ask-panel[hidden] { display: none; }
.ask-panel a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; color: #e8e5de; font: 600 14px/1 var(--sf-pro); transition: background .25s, color .25s; }
.ask-panel a:hover { background: rgba(201,160,108,.12); color: var(--gold-light); }
.ask-panel svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .site-footer { padding-top: 44px; }
  .footer-main { padding-bottom: 36px; }
  .footer-legal { flex-direction: column; padding-bottom: 20px; }
  .footer-legal-links { flex-wrap: wrap; gap: 8px 22px; }
  .ask-widget { right: 14px; bottom: 14px; }
  .ask-button { font-size: 13px; padding-right: 16px; }
  .ask-button img { width: 36px; height: 36px; }
}
@media (max-width: 420px) { .footer-main { grid-template-columns: 1fr; } }

/* ===== Админка: цены через TXT ===== */
.price-txt { margin: 0 0 28px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 26px; background: #111; font-family: var(--sf-pro); }
.price-txt h3 { margin: 0 0 12px; font: 600 24px/1.2 var(--sf-pro); letter-spacing: 0; color: #fff; }
.price-txt p { margin: 0 0 12px; max-width: 70ch; color: var(--muted); font: 500 14px/1.6 var(--sf-pro); letter-spacing: 0; }
.price-txt .price-txt-warn { color: var(--gold-light); }
.price-txt .price-txt-status { color: #cfe8c9; }
.price-txt-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.price-txt-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.05); color: #fff; font: 600 14px/1 var(--sf-pro); letter-spacing: 0; cursor: pointer; transition: border-color .3s, color .3s; }
.price-txt-btn:hover { border-color: var(--gold); color: var(--gold-light); }
.price-txt-upload { border-color: rgba(201,160,108,.5); }
.price-txt-reset { color: var(--muted); }
.price-txt-btn[hidden] { display: none; }

/* ===== Админка: управление магазином ===== */
.adm-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 18px; font-family: var(--sf-pro); }
.adm-bar p { margin: 0; color: var(--muted); font: 500 14px/1.4 var(--sf-pro); }
.adm-bar .button { background: var(--gold); border-color: var(--gold); color: #111; }
.adm-server { margin: -8px 0 16px; font: 500 13px/1.45 var(--sf-pro); color: var(--muted); }
.adm-server.ok { color: #7fd38a; }
.adm-server.bad { color: #ff9a8a; }
.adm-server .adm-link { margin-left: 6px; }
.adm-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.adm-tabs button { min-height: 44px; padding: 0 22px; border: 1px solid var(--line); border-radius: 999px; background: #111; color: #fff; font: 600 14px/1 var(--sf-pro); }
.adm-tabs button.active { background: var(--gold); border-color: var(--gold); color: #111; }
.adm-pane[data-pane="products"]:not([hidden]) { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: start; }
.adm-side { display: flex; flex-direction: column; gap: 14px; }
.adm-add { min-height: 46px; border: 1px solid var(--gold); border-radius: 14px; background: none; color: var(--gold-light); font: 600 14px/1 var(--sf-pro); }
.adm-list { display: flex; flex-direction: column; gap: 4px; max-height: 62vh; overflow: auto; }
.adm-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border: 0; border-radius: 12px; background: none; color: #d9d6cf; text-align: left; font: 500 14px/1.2 var(--sf-pro); }
.adm-item small { color: var(--muted); }
.adm-item.active, .adm-item:hover { background: rgba(201,160,108,.14); color: var(--gold-light); }
.adm-editor, .adm-cats { padding: 26px; border: 1px solid var(--line); border-radius: 26px; background: #111; font-family: var(--sf-pro); }
.adm-editor h3, .adm-cats h3 { margin: 0 0 18px; font: 600 22px/1.2 var(--sf-pro); color: #fff; }
.adm-cats p { margin: -8px 0 20px; color: var(--muted); font-size: 14px; }
.adm-label { display: flex; flex-direction: column; gap: 7px; color: var(--muted); font: 500 12px/1.2 var(--sf-pro); }
.adm-label input, .adm-label select, .adm-pick { width: 100%; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #0b0b0b; color: #fff; font: 500 15px/1 var(--sf-pro); }
.adm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 26px; }
.adm-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.adm-wide { grid-column: 1 / -1; }
.adm-vhead { display: flex; justify-content: space-between; align-items: center; }
.adm-vhead h3 { margin: 0 0 12px; }
.adm-link { border: 0; background: none; color: var(--gold-light); font: 600 14px/1 var(--sf-pro); }
.adm-pick { margin-bottom: 18px; }
.adm-danger { display: flex; gap: 22px; }
.adm-danger button { border: 0; background: none; color: #e25b5b; font: 600 14px/1 var(--sf-pro); }
.adm-empty { color: var(--muted); font-size: 14px; }
.adm-cat { display: grid; gap: 12px; margin-bottom: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; }
.adm-sub { margin-left: 22px; }
@media (max-width: 820px) { .adm-pane[data-pane="products"]:not([hidden]) { grid-template-columns: 1fr; } .adm-grid, .adm-grid3 { grid-template-columns: 1fr; } .adm-list { max-height: 220px; } }

/* ===== Главный экран: заголовок в три строки, каждая «выезжает» по очереди ===== */
.hero-message h1 .hero-line { display: block; overflow: hidden; padding: .06em 0 .12em; margin: 0; font: inherit; line-height: 1.12; }
.hero-message h1 .hero-line > b { display: block; font: inherit; }
.hero.video-finished .hero-message > h1 { animation: none; }
@keyframes heroLineIn {
  from { opacity: 0; transform: translate3d(0, 110%, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
.hero.video-finished .hero-message h1 .hero-line > b { animation: heroLineIn 1s cubic-bezier(.2,.8,.2,1) backwards; }
.hero.video-finished .hero-message h1 .hero-line:nth-child(1) > b { animation-delay: .3s; }
.hero.video-finished .hero-message h1 .hero-line:nth-child(2) > b { animation-delay: .5s; }
.hero.video-finished .hero-message h1 .hero-line:nth-child(3) > b { animation-delay: .7s; }

/* десктоп: три строки компактнее и ниже шапки с меню */
@media (min-width: 821px) {
  .hero-copy.hero-message { padding-top: clamp(150px, 20vh, 190px); padding-bottom: 40px; }
  .hero-copy.hero-message h1 { font-size: clamp(40px, 4.6vw, 72px); line-height: 1.1; }
  .hero-message h1 .hero-line { line-height: 1.1; }
  .hero-message-kicker { margin-bottom: 18px; }
}

/* Хит продаж / наличие — правый верхний угол */
.product-badges { position: absolute; right: 14px; top: 14px; z-index: 3; display: flex; flex-direction: column; align-items: flex-end; gap: 7px; pointer-events: none; }
.product-badges > span { padding: 8px 14px; border-radius: 999px; font: 700 12px/1 var(--sf-pro); letter-spacing: 0; white-space: nowrap; box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.product-hit { background: #0a0a0a; color: #f3d9b8; border: 1px solid rgba(227,195,156,.7); box-shadow: 0 0 0 3px rgba(227,195,156,.18), 0 6px 18px rgba(0,0,0,.35) !important; }
.product-stock { background: var(--ea-grad); color: #000; }
.product-stock.is-out { background: #8e8e93; color: #fff; }
.adm-label.adm-checks { grid-column: span 2; gap: 10px; }
.adm-label.adm-checks .adm-check { display: flex; align-items: center; gap: 10px; color: #fff; font: 600 14px/1.2 var(--sf-pro); cursor: pointer; }
.adm-label.adm-checks .adm-check input { width: 20px; min-height: 0; height: 20px; padding: 0; flex: none; accent-color: #c9a06c; cursor: pointer; }
.adm-label.adm-checks .adm-check small { color: var(--muted); font-weight: 500; }
@media (max-width: 640px) { .product-badges { right: 8px; top: 8px; gap: 5px; } .product-badges > span { padding: 5px 9px; font-size: 10px; } }

/* ===== Плавность: без дерганий ===== */
.is-offscreen, .is-offscreen *, .is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }
.phone-card.parallax { transition: border-color .4s !important; }
.site-header { transition: background-color .3s ease, border-color .3s ease; }
.noise { transform: translateZ(0); }
@media (min-width: 821px) { html { scroll-behavior: auto; } }

/* ===== Анимация кнопки «Задать вопрос» ===== */
.ask-button { position: relative; isolation: isolate; overflow: visible; animation: askWiggle 7s ease-in-out 3s infinite; }
/* расходящиеся золотые волны */
.ask-button::before, .ask-button::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1.5px solid var(--gold); opacity: 0; z-index: -1; pointer-events: none; animation: askRipple 3.2s cubic-bezier(.2,.6,.3,1) infinite; }
.ask-button::after { animation-delay: 1.6s; }
/* вращающийся золотой ободок вокруг фото */
.ask-button img { position: relative; box-shadow: 0 0 0 2px rgba(12,12,12,1), 0 0 0 4px rgba(201,160,108,.55); animation: askPhoto 4s ease-in-out infinite; }
/* блик, пробегающий по кнопке */
.ask-button span { position: relative; background-color: #fff; background-image: linear-gradient(100deg, transparent 35%, var(--gold) 50%, transparent 65%); background-size: 250% 100%; background-repeat: no-repeat; background-position: 0 0; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: askShine 4.5s linear infinite; }
.ask-button[aria-expanded="true"] { border-color: var(--gold); animation: none; }
.ask-button[aria-expanded="true"]::before, .ask-button[aria-expanded="true"]::after { animation: none; opacity: 0; }
.ask-button:hover img { animation-duration: 1.2s; }

@keyframes askRipple { 0% { transform: scale(1); opacity: .65; } 100% { transform: scale(1.35, 1.9); opacity: 0; } }
@keyframes askPhoto { 0%,100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.08) rotate(-6deg); } }
@keyframes askShine { 0% { background-position: 0 0; } 60%,100% { background-position: 100% 0; } }
@keyframes askWiggle {
  0%, 88%, 100% { transform: translateY(0) rotate(0); }
  90% { transform: translateY(-8px) rotate(-3deg); }
  92% { transform: translateY(0) rotate(2.5deg); }
  94% { transform: translateY(-4px) rotate(-1.5deg); }
  96% { transform: translateY(0) rotate(0); }
}

/* меню вылетает «пружинкой» по очереди из кнопки */
.ask-panel { transform-origin: bottom right; animation: askPanel .45s cubic-bezier(.34,1.56,.64,1) both; }
.ask-panel a { animation: askItem .5s cubic-bezier(.34,1.56,.64,1) both; }
.ask-panel a:nth-child(1) { animation-delay: .06s; }
.ask-panel a:nth-child(2) { animation-delay: .14s; }
.ask-panel a:nth-child(3) { animation-delay: .22s; }
.ask-panel a:hover { transform: translateX(-4px); }
.ask-panel a:hover svg { animation: askIcon .6s ease; }
@keyframes askPanel { from { opacity: 0; transform: scale(.6) translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes askItem { from { opacity: 0; transform: translateY(24px) scale(.7) rotate(6deg); } to { opacity: 1; transform: none; } }
@keyframes askIcon { 30% { transform: scale(1.3) rotate(-14deg); } 60% { transform: scale(1.15) rotate(10deg); } 100% { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .ask-button, .ask-button::before, .ask-button::after, .ask-button img, .ask-button span, .ask-panel, .ask-panel a { animation: none !important; }
  .ask-button span { -webkit-text-fill-color: #fff; background: none; }
}

/* ===== Анимация кнопки «Смотреть товары» ===== */
.cta-button { position: relative; overflow: hidden; isolation: isolate; }
.cta-button > * { position: relative; z-index: 1; }
/* блик, регулярно пробегающий слева направо */
.cta-button::before { content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 38%; z-index: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.65) 50%, transparent 100%);
  transform: translateX(-160%) skewX(-18deg); animation: ctaSweep 3.6s ease-in-out 1.2s infinite; }
/* стрелка «подталкивает» вперёд и пускает кольцо */
.cta-button .cta-arrow { position: relative; overflow: visible; animation: ctaNudge 1.8s ease-in-out infinite; }
.cta-button .cta-arrow::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1a1208; opacity: 0; pointer-events: none; animation: ctaRing 1.8s ease-out infinite; }
/* при наведении стрелка вылетает вправо и возвращается слева */
.cta-button:hover .cta-arrow { animation: ctaShoot .75s cubic-bezier(.5,0,.2,1) infinite; }
.cta-button:hover::before { animation-duration: 1.2s; animation-delay: 0s; }
.cta-button:active { transform: scale(.96); }

@keyframes ctaSweep { 0% { transform: translateX(-160%) skewX(-18deg); } 45%, 100% { transform: translateX(380%) skewX(-18deg); } }
@keyframes ctaNudge { 0%, 55%, 100% { transform: translateX(0); } 70% { transform: translateX(6px); } 85% { transform: translateX(-1px); } }
@keyframes ctaRing { 0%, 55% { transform: scale(1); opacity: 0; } 60% { opacity: .55; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes ctaShoot { 0% { transform: translateX(0); opacity: 1; } 45% { transform: translateX(34px); opacity: 0; } 46% { transform: translateX(-34px); opacity: 0; } 100% { transform: translateX(0); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .cta-button::before, .cta-button .cta-arrow, .cta-button .cta-arrow::after, .cta-button:hover .cta-arrow { animation: none !important; }
}

/* ===== Главный экран: подпись капсом + чуть плотнее строки заголовка ===== */
.hero-message-kicker { text-transform: uppercase; }
.hero-message h1 .hero-line { line-height: 1.02; padding: .04em 0 .12em; }
@media (min-width: 821px) { .hero-message h1 .hero-line { line-height: 1.0; } }
@media (max-width: 820px) { body .hero-message h1 .hero-line { line-height: 1.04 !important; } }

/* ===== Насыщенность: весь текст Medium (500), заголовки Bold (700) =====
   @layer: !important в более раннем слое сильнее, поэтому порядок слоёв
   ea-keep → ea-heading → ea-weight задаёт приоритет сверху вниз. */
@layer ea-keep, ea-heading, ea-weight;

/* исключения: рукописные акценты (один вес) и подзаголовки остаются как есть */
@layer ea-keep {
  h1 em:not(.scene-copy h2 em), h2 em:not(.scene-copy h2 em), .display span em, .hero-corner, .signature, .device-screen { font-weight: 400 !important; }
  .th-sub, .th-h3 { font-weight: 500 !important; }
}
/* заголовки и всё, что внутри них — Bold */
@layer ea-heading {
  h1, h2, h3, h4, h1 *, h2 *, h3 *, h4 *,
  .display, .display *, .scene-copy h2, .scene-copy h2 *, .th-h2, .intro-title, .price-hero h2,
  .product-name, .product-price, .pp-price, .ws-yr, .drawer-head h3, .modal-card h3, .admin-login h1 { font-weight: 700 !important; }
}
/* всё остальное — Medium */
@layer ea-weight {
  *, *::before, *::after { font-weight: 500 !important; }
}
/* запасной вариант для очень старых браузеров без @layer */
html body * { font-weight: 500; }
html body :is(h1, h2, h3, h4, .display, .th-h2, .product-name, .product-price, .pp-price, .ws-yr) { font-weight: 700; }

/* ===== Одинаковый цвет текста: вступление и описание галереи iPhone ===== */
.intro .intro-text p, .scene-copy p:not(.eyebrow) { color: #d6d2ca; }

.adm-label input[type="color"] { padding: 6px 8px; cursor: pointer; }
.adm-label input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.adm-label input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 6px; }
.adm-label input[type="color"]::-moz-color-swatch { border: 0; border-radius: 6px; }

/* Регистрационные данные в подвале (на всех страницах) */
.footer-reg { flex: 0 0 100%; margin: 0; color: #8a8a8a; font: 500 11px/1.6 var(--sf-pro); letter-spacing: 0; }

/* загрузка фото товара в админке */
.adm-photo { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 20px; align-items: start; padding: 18px; border: 1px solid var(--line); border-radius: 18px; }
.adm-photo-prev { aspect-ratio: 1; border-radius: 14px; background: #0b0b0b; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.adm-photo-prev img { width: 100%; height: 100%; object-fit: contain; }
.adm-photo-body { display: grid; gap: 12px; }
.adm-photo-title { color: #fff; font: 600 15px/1.2 var(--sf-pro); }
.adm-photo-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.adm-photo-upload { cursor: pointer; }
.adm-photo-all { display: flex; align-items: center; gap: 10px; color: #fff; font: 600 14px/1.2 var(--sf-pro); cursor: pointer; }
.adm-photo-all input { width: 20px; height: 20px; accent-color: #c9a06c; }
.adm-photo-all small, .adm-photo .adm-hint { color: var(--muted); font-weight: 500; }
@media (max-width: 820px) { .adm-photo { grid-template-columns: 1fr; } .adm-photo-prev { max-width: 200px; } }

.adm-photo-scope select { min-height: 44px; }
.pp-media img { animation: ppPhotoIn .35s ease both; }
@keyframes ppPhotoIn { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pp-media img { animation: none; } }

/* дополнительные фото варианта в админке */
.adm-gallery { display: grid; gap: 10px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.adm-gallery .adm-photo-title small { color: var(--muted); font-weight: 500; }
.adm-gallery-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.adm-gthumb { position: relative; width: 84px; height: 84px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #0b0b0b; }
.adm-gthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.adm-gthumb button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(0,0,0,.72); color: #fff; font: 600 16px/1 var(--sf-pro); cursor: pointer; }
.adm-gthumb button:hover { background: #d44; }
.adm-gadd { display: grid; place-items: center; width: 84px; height: 84px; border: 1px dashed var(--line); border-radius: 12px; color: var(--gold-light); font: 400 30px/1 var(--sf-pro); cursor: pointer; transition: border-color .25s; }
.adm-gadd:hover { border-color: var(--gold); }

/* оговорка о ценах в подвале */
.footer-disclaimer { margin: 0; padding: 0 0 26px; color: #777; font: 500 11px/1.5 var(--sf-pro); letter-spacing: 0; max-width: 900px; }
@media (max-width: 820px) { .footer-disclaimer { padding-bottom: 20px; } }

/* Строка «+ 20 BYN доставка» под итогом корзины */
.cart-drawer .cart-footer > .cart-delivery-note { display: block; margin: -12px 0 18px; text-align: right; font-size: 12px; font-weight: 500; color: #8a867d; }

/* Вкладка «Модели»: порядок моделей */
.adm-order { max-width: 760px; }
.adm-ord-head { margin-bottom: 14px; }
.adm-ord-head select { width: 100%; }
.adm-ord-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.adm-ord-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 14px; border: 1px solid var(--line, #2a2a2a); border-radius: 12px; background: rgba(255,255,255,.03); transition: background .6s, border-color .6s; }
.adm-ord-item.moved { background: rgba(201,160,108,.16); border-color: rgba(201,160,108,.6); }
.adm-ord-num { flex: none; width: 26px; color: var(--muted, #8d8a84); font: 600 13px/1 var(--sf-pro, inherit); }
.adm-ord-name { flex: 1; min-width: 0; color: #e8e4dc; font: 600 15px/1.25 var(--sf-pro, inherit); }
.adm-ord-item small { color: var(--muted, #8d8a84); white-space: nowrap; }
.adm-ord-btns { display: inline-flex; gap: 4px; flex: none; }
.adm-ord-btns button { width: 38px; height: 36px; border-radius: 10px; border: 1px solid var(--line, #333); background: rgba(255,255,255,.04); color: #e8e4dc; font: 700 16px/1 var(--sf-pro, inherit); cursor: pointer; }
.adm-ord-btns button:hover:not(:disabled) { border-color: rgba(201,160,108,.7); color: #c9a06c; }
.adm-ord-btns button:disabled { opacity: .25; cursor: default; }
@media (max-width: 560px) { .adm-ord-item small { display: none; } }
