:root {
  --black: #050505;
  --black-2: #0c0c0d;
  --black-3: #151515;
  --gold: #d4af37;
  --gold-light: #f1d27a;
  --gold-dark: #9d7620;
  --silver: #dedede;
  --off-white: #f7f5f0;
  --white: #ffffff;
  --gray-100: #ece9e2;
  --gray-200: #dad6cd;
  --gray-500: #817d74;
  --gray-700: #3d3b37;
  --line-dark: rgba(255, 255, 255, .12);
  --line-light: rgba(5, 5, 5, .12);
  --shadow: 0 24px 70px rgba(0, 0, 0, .18);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 30px;
  --container: 1200px;
  --header-height: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--white);
  background: var(--black);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
svg { width: 1.15em; height: 1.15em; fill: currentColor; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 110px 0; position: relative; }
.section--light { color: var(--black); background: var(--off-white); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 9999; padding: 10px 16px; color: var(--black); background: var(--gold); border-radius: 8px; }
.skip-link:focus { top: 12px; }

.announcement { position: relative; z-index: 52; color: var(--black); background: linear-gradient(90deg, #a77d20, #f1d27a 50%, #a77d20); font-size: .73rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.announcement__inner { min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.announcement__dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; background: rgba(5,5,5,.82); backdrop-filter: blur(20px); transition: border-color .25s, background .25s; }
.site-header.is-scrolled { border-color: var(--line-dark); background: rgba(5,5,5,.96); }
.header__inner { min-height: var(--header-height); display: flex; align-items: center; gap: 34px; }
.brand { margin-right: auto; display: inline-flex; align-items: center; }
.brand img { width: 175px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 28px; }
.desktop-nav a { position: relative; color: rgba(255,255,255,.78); font-size: .82rem; font-weight: 600; letter-spacing: .04em; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--gold); transition: right .25s; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--white); }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; }
.header__cta { padding: 11px 18px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line-dark); border-radius: 10px; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 100%; height: 1px; margin: 5px 0; background: var(--white); transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { position: absolute; left: 0; right: 0; top: 100%; padding: 12px 20px 24px; border-bottom: 1px solid var(--line-dark); background: rgba(5,5,5,.99); }
.mobile-menu nav { width: min(100%, var(--container)); margin: auto; display: grid; }
.mobile-menu nav > a:not(.button) { padding: 14px 4px; border-bottom: 1px solid var(--line-dark); font-weight: 600; }
.mobile-menu .button { margin-top: 18px; text-align: center; }

.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 9px; padding: 11px 22px; border: 1px solid transparent; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.button--gold { color: #15120b; background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark)); box-shadow: 0 10px 30px rgba(212,175,55,.18); }
.button--gold:hover { box-shadow: 0 14px 35px rgba(212,175,55,.28); }
.button--outline { color: var(--white); border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.03); }
.button--outline:hover { border-color: var(--gold); color: var(--gold-light); }
.button--dark { color: var(--white); background: var(--black); }
.button--ghost { color: var(--black); border-color: var(--line-light); background: transparent; }
.button--large { min-height: 54px; padding-inline: 28px; }

.eyebrow { margin: 0 0 16px; color: var(--gold-light); font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow--dark { color: var(--gold-dark); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Cinzel", Georgia, serif; font-weight: 500; line-height: 1.08; letter-spacing: -.025em; }
h1 { margin-bottom: 24px; font-size: clamp(2.9rem, 6vw, 5.5rem); }
h2 { margin-bottom: 22px; font-size: clamp(2rem, 4vw, 3.6rem); }
h3 { line-height: 1.25; }

.hero { position: relative; min-height: calc(100vh - 110px); display: grid; align-items: center; overflow: hidden; background:
  radial-gradient(circle at 74% 40%, rgba(212,175,55,.11), transparent 28%),
  linear-gradient(135deg, #050505 10%, #101010 55%, #030303 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to right, black, transparent 68%); }
.hero__glow { position: absolute; width: 560px; height: 560px; right: 2%; top: 12%; border: 1px solid rgba(212,175,55,.22); border-radius: 50%; box-shadow: 0 0 140px rgba(212,175,55,.08), inset 0 0 100px rgba(212,175,55,.05); }
.hero__grid { position: relative; z-index: 2; min-height: calc(100vh - 110px); padding: 72px 0 86px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 55px; }
.hero__lead { max-width: 650px; margin-bottom: 34px; color: rgba(255,255,255,.7); font-size: clamp(1rem, 1.5vw, 1.18rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__highlights { margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 22px; list-style: none; color: rgba(255,255,255,.76); font-size: .8rem; font-weight: 600; }
.hero__highlights li { display: flex; align-items: center; gap: 8px; }
.hero__highlights svg { color: var(--gold); }
.hero__visual { position: relative; min-height: 560px; display: grid; place-items: center; }
.hero__visual > img { position: relative; z-index: 2; width: 100%; max-width: 640px; aspect-ratio: 1.35 / 1; object-fit: contain; filter: drop-shadow(0 35px 60px rgba(0,0,0,.65)); }
.hero__ring { position: absolute; width: 440px; height: 440px; border: 1px solid rgba(212,175,55,.2); border-radius: 50%; box-shadow: inset 0 0 90px rgba(212,175,55,.05); }
.hero__product-card { position: absolute; z-index: 3; right: 0; bottom: 30px; min-width: 250px; padding: 18px 20px; border: 1px solid rgba(212,175,55,.32); border-radius: 14px; background: rgba(8,8,8,.8); backdrop-filter: blur(18px); box-shadow: var(--shadow); }
.hero__product-card strong, .hero__product-card span { display: block; }
.hero__product-card strong { margin: 4px 0 3px; font-family: "Cinzel", serif; font-size: 1.15rem; }
.hero__product-card > span:last-child { color: rgba(255,255,255,.6); font-size: .78rem; }
.hero__product-kicker { color: var(--gold-light); font-size: .66rem; font-weight: 700; letter-spacing: .18em; }

.trust-bar { position: relative; z-index: 3; color: var(--black); background: linear-gradient(90deg, #c59b33, #f1d27a, #c59b33); }
.trust-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-bar__grid > div { min-height: 102px; padding: 22px 26px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid rgba(5,5,5,.16); }
.trust-bar__grid > div:last-child { border-right: 1px solid rgba(5,5,5,.16); }
.trust-bar strong { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.trust-bar span { font-size: .78rem; opacity: .68; }

.section-heading { max-width: 760px; margin-bottom: 52px; }
.section-heading > p:last-child { color: var(--gray-500); }
.section-heading--split { max-width: none; display: grid; grid-template-columns: 1fr .7fr; gap: 70px; align-items: end; }
.section-heading--split > p { margin-bottom: 8px; }
.section-heading--center { margin-inline: auto; text-align: center; }
.catalog { overflow: hidden; }
.catalog::before { content: "IPRIME"; position: absolute; right: -20px; top: 30px; color: rgba(5,5,5,.025); font-family: "Cinzel", serif; font-size: 12vw; line-height: 1; pointer-events: none; }
.catalog-controls { position: relative; z-index: 2; margin-bottom: 22px; display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-chip { min-height: 42px; padding: 9px 19px; border: 1px solid var(--line-light); border-radius: 999px; color: var(--gray-700); background: rgba(255,255,255,.45); font-size: .77rem; font-weight: 700; cursor: pointer; }
.filter-chip:hover, .filter-chip.is-active { color: var(--white); border-color: var(--black); background: var(--black); }
.search-box { width: min(100%, 330px); min-height: 46px; padding: 0 16px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-light); border-radius: 999px; background: var(--white); }
.search-box svg { color: var(--gray-500); }
.search-box input { width: 100%; border: 0; outline: 0; color: var(--black); background: transparent; }
.search-box input::placeholder { color: #9b978f; }
.catalog-meta { margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; color: var(--gray-500); font-size: .78rem; }
.catalog-meta p { margin: 0; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid rgba(5,5,5,.08); border-radius: var(--radius); background: var(--white); box-shadow: 0 8px 28px rgba(0,0,0,.04); transition: transform .25s, box-shadow .25s, border-color .25s; }
.product-card:hover { transform: translateY(-7px); border-color: rgba(157,118,32,.32); box-shadow: 0 22px 45px rgba(0,0,0,.11); }
.product-card__media { position: relative; aspect-ratio: 1.16 / 1; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #fafafa, #e8e8e8); }
.product-card__media::after { content: ""; position: absolute; width: 52%; height: 18px; left: 24%; bottom: 13%; border-radius: 50%; background: rgba(0,0,0,.12); filter: blur(10px); }
.product-card__media img { position: relative; z-index: 1; width: 92%; height: 88%; object-fit: contain; transition: transform .35s; }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__badges { position: absolute; z-index: 2; left: 12px; top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.badge { padding: 5px 8px; border-radius: 999px; color: var(--white); background: rgba(5,5,5,.86); font-size: .58rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.badge--gold { color: #20190b; background: var(--gold-light); }
.product-card__body { padding: 21px; }
.product-card__brand { margin-bottom: 7px; color: var(--gold-dark); font-size: .64rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.product-card h3 { min-height: 48px; margin-bottom: 14px; color: var(--black); font-family: "Cinzel", serif; font-size: 1.12rem; font-weight: 600; }
.product-card__specs { margin: 0 0 18px; padding: 0; display: grid; gap: 7px; color: var(--gray-700); font-size: .73rem; list-style: none; }
.product-card__specs li { display: grid; grid-template-columns: 90px 1fr; gap: 8px; }
.product-card__specs strong { color: var(--black); font-weight: 600; }
.product-card__price { margin-bottom: 14px; padding-top: 15px; border-top: 1px solid var(--line-light); }
.product-card__price span { display: block; color: var(--gray-500); font-size: .67rem; text-transform: uppercase; letter-spacing: .1em; }
.product-card__price strong { color: var(--black); font-size: 1rem; }
.product-card__actions { display: grid; grid-template-columns: 1fr auto; gap: 9px; }
.product-card__actions .button { min-height: 42px; padding-inline: 14px; font-size: .67rem; }
.product-card__details { width: 42px; padding: 0; border-radius: 50%; color: var(--black); border: 1px solid var(--line-light); background: transparent; }
.product-card__details:hover { border-color: var(--gold-dark); color: var(--gold-dark); }
.catalog-note { max-width: 920px; margin: 32px 0 0; color: var(--gray-500); font-size: .7rem; }
.empty-state { padding: 70px 20px; border: 1px dashed var(--line-light); border-radius: var(--radius); text-align: center; }
.empty-state h3 { color: var(--black); }
.empty-state p { color: var(--gray-500); }

.xiaomi-banner { overflow: hidden; background: linear-gradient(135deg, #070707, #171717); }
.xiaomi-banner::before { content: ""; position: absolute; inset: 0; opacity: .07; background-image: radial-gradient(var(--gold) 1px, transparent 1px); background-size: 32px 32px; }
.xiaomi-banner__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; }
.xiaomi-banner__content { max-width: 560px; }
.xiaomi-banner__content p:not(.eyebrow) { color: rgba(255,255,255,.65); }
.xiaomi-banner__visual { min-height: 420px; display: grid; place-items: center; }
.xiaomi-banner__visual img { width: 100%; max-height: 470px; object-fit: contain; filter: drop-shadow(0 35px 55px rgba(0,0,0,.55)); }

.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit-card { padding: 28px; border: 1px solid var(--line-light); border-radius: var(--radius); background: rgba(255,255,255,.55); }
.benefit-icon { width: 50px; height: 50px; margin-bottom: 24px; display: grid; place-items: center; border: 1px solid rgba(157,118,32,.28); border-radius: 50%; color: var(--gold-dark); }
.benefit-card h3 { margin-bottom: 12px; color: var(--black); font-family: "Cinzel", serif; font-size: 1.05rem; }
.benefit-card p { margin: 0; color: var(--gray-500); font-size: .8rem; }

.steps { background: linear-gradient(180deg, #050505, #0e0e0e); }
.steps__grid { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; counter-reset: steps; }
.step { position: relative; min-height: 260px; padding: 30px 28px; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.step:last-child { border-right: 1px solid var(--line-dark); }
.step > span { display: inline-block; margin-bottom: 55px; color: var(--gold); font-family: "Cinzel", serif; font-size: 1.3rem; }
.step h3 { margin-bottom: 12px; font-family: "Cinzel", serif; font-weight: 500; }
.step p { margin: 0; color: rgba(255,255,255,.58); font-size: .8rem; }

.faq__grid { display: grid; grid-template-columns: .76fr 1.24fr; gap: 90px; align-items: start; }
.accordion { border-top: 1px solid var(--line-light); }
.accordion-item { border-bottom: 1px solid var(--line-light); }
.accordion-item > button { width: 100%; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 0; color: var(--black); background: transparent; text-align: left; font-weight: 600; cursor: pointer; }
.accordion-icon { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--line-light); border-radius: 50%; color: var(--gold-dark); font-size: 1.2rem; transition: transform .25s; }
.accordion-item > button[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }
.accordion-panel { padding: 0 44px 22px 0; color: var(--gray-500); font-size: .83rem; }
.accordion-panel p { margin: 0; }

.final-cta { padding: 70px 0; border-top: 1px solid var(--line-dark); background: radial-gradient(circle at 15% 50%, rgba(212,175,55,.12), transparent 30%), #080808; }
.final-cta__inner { display: grid; grid-template-columns: 110px 1fr auto; gap: 34px; align-items: center; }
.final-cta__inner > img { width: 90px; height: 120px; object-fit: contain; }
.final-cta h2 { margin-bottom: 9px; font-size: clamp(1.8rem, 3vw, 3rem); }
.final-cta p:not(.eyebrow) { margin: 0; color: rgba(255,255,255,.62); }

.site-footer { padding: 72px 0 24px; border-top: 1px solid var(--line-dark); color: rgba(255,255,255,.62); background: #020202; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 55px; }
.footer__brand img { width: 190px; margin-bottom: 24px; }
.footer__brand p { max-width: 380px; font-size: .78rem; }
.footer__grid h2 { margin-bottom: 18px; color: var(--white); font-family: "Montserrat", sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer__grid a, .footer__grid span { margin-bottom: 9px; display: block; font-size: .76rem; }
.footer__grid a:hover { color: var(--gold-light); }
.footer__bottom { margin-top: 50px; padding-top: 22px; display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line-dark); font-size: .66rem; }
.footer__bottom p { margin: 0; }

.floating-whatsapp { position: fixed; z-index: 40; right: 22px; bottom: 22px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: #0c1b10; background: #25d366; box-shadow: 0 16px 36px rgba(0,0,0,.3); transition: transform .2s; }
.floating-whatsapp:hover { transform: translateY(-4px) scale(1.03); }
.floating-whatsapp svg { width: 29px; height: 29px; }

.modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.78); backdrop-filter: blur(8px); }
.modal__dialog { position: relative; width: min(100%, 960px); max-height: min(88vh, 760px); overflow: auto; display: grid; grid-template-columns: .95fr 1.05fr; border: 1px solid rgba(212,175,55,.22); border-radius: var(--radius-lg); color: var(--black); background: var(--off-white); box-shadow: 0 40px 100px rgba(0,0,0,.55); }
.modal__close { position: absolute; z-index: 3; right: 14px; top: 14px; width: 42px; height: 42px; border: 1px solid rgba(5,5,5,.15); border-radius: 50%; color: var(--black); background: rgba(255,255,255,.84); font-size: 1.55rem; line-height: 1; cursor: pointer; }
.modal__media { min-height: 520px; padding: 40px; display: grid; place-items: center; background: linear-gradient(145deg, #ffffff, #e6e6e6); }
.modal__media img { width: 100%; height: 100%; max-height: 470px; object-fit: contain; }
.modal__content { padding: 58px 48px 45px; }
.modal__content h2 { margin-bottom: 14px; font-size: clamp(2rem, 4vw, 3.2rem); }
.modal__note { color: var(--gray-500); font-size: .82rem; }
.product-details { margin: 30px 0; display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.product-details > div { padding: 12px 0; display: grid; grid-template-columns: 145px 1fr; gap: 18px; border-bottom: 1px solid var(--line-light); }
.product-details dt { color: var(--gray-500); font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.product-details dd { margin: 0; color: var(--black); font-size: .8rem; font-weight: 600; }
.modal__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .desktop-nav, .header__cta { display: none; }
  .menu-toggle { display: block; }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero__visual { min-height: 470px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer__grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 820px) {
  :root { --header-height: 68px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 82px 0; }
  .brand img { width: 145px; }
  .hero { min-height: auto; }
  .hero__grid { min-height: auto; padding: 78px 0 65px; grid-template-columns: 1fr; }
  .hero__content { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .hero__highlights { justify-content: center; }
  .hero__visual { min-height: 390px; }
  .hero__visual > img { max-height: 360px; }
  .hero__ring { width: 330px; height: 330px; }
  .hero__product-card { right: 5%; bottom: 0; }
  .trust-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar__grid > div:nth-child(3) { border-top: 1px solid rgba(5,5,5,.16); }
  .trust-bar__grid > div:nth-child(4) { border-top: 1px solid rgba(5,5,5,.16); border-right: 1px solid rgba(5,5,5,.16); }
  .section-heading--split { grid-template-columns: 1fr; gap: 0; }
  .catalog-controls { align-items: stretch; flex-direction: column; }
  .search-box { width: 100%; max-width: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .xiaomi-banner__grid { grid-template-columns: 1fr; gap: 30px; }
  .xiaomi-banner__content { text-align: center; margin-inline: auto; }
  .xiaomi-banner__visual { min-height: 300px; }
  .steps__grid { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 1px solid var(--line-dark); }
  .step:nth-child(3), .step:nth-child(4) { border-top: 0; }
  .faq__grid { grid-template-columns: 1fr; gap: 40px; }
  .final-cta__inner { grid-template-columns: 80px 1fr; }
  .final-cta__inner .button { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__grid > div:last-child { grid-column: auto; }
  .modal__dialog { grid-template-columns: 1fr; }
  .modal__media { min-height: 310px; max-height: 380px; }
}

@media (max-width: 560px) {
  .announcement__inner { min-height: 38px; gap: 8px; font-size: .58rem; letter-spacing: .05em; }
  .header__inner { gap: 15px; }
  .brand img { width: 132px; }
  h1 { font-size: clamp(2.4rem, 13vw, 3.7rem); }
  h2 { font-size: clamp(1.85rem, 10vw, 2.8rem); }
  .hero__grid { padding-top: 58px; }
  .hero__actions { display: grid; }
  .hero__actions .button { width: 100%; }
  .hero__highlights { gap: 12px 18px; font-size: .7rem; }
  .hero__visual { min-height: 315px; }
  .hero__visual > img { width: 110%; max-width: none; }
  .hero__ring { width: 270px; height: 270px; }
  .hero__product-card { right: 0; bottom: -10px; min-width: 218px; padding: 14px 16px; }
  .trust-bar__grid { grid-template-columns: 1fr; }
  .trust-bar__grid > div { min-height: 80px; padding: 16px 20px; border-right: 1px solid rgba(5,5,5,.16); border-top: 1px solid rgba(5,5,5,.16); }
  .trust-bar__grid > div:first-child { border-top: 0; }
  .filter-chips { display: grid; grid-template-columns: repeat(3, 1fr); }
  .filter-chip { padding-inline: 8px; }
  .catalog-meta { align-items: flex-start; flex-direction: column; gap: 2px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card__media { aspect-ratio: 1.28 / 1; }
  .benefit-grid { grid-template-columns: 1fr; }
  .steps__grid { grid-template-columns: 1fr; }
  .step { border-right: 1px solid var(--line-dark); border-top: 0; }
  .step:first-child { border-top: 1px solid var(--line-dark); }
  .step > span { margin-bottom: 28px; }
  .final-cta__inner { grid-template-columns: 1fr; text-align: center; }
  .final-cta__inner > img { margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
  .footer__bottom { flex-direction: column; gap: 7px; }
  .floating-whatsapp { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  .modal { padding: 10px; }
  .modal__dialog { max-height: 94vh; border-radius: 18px; }
  .modal__media { min-height: 265px; padding: 26px; }
  .modal__content { padding: 36px 22px 26px; }
  .product-details > div { grid-template-columns: 112px 1fr; gap: 10px; }
  .modal__actions { display: grid; }
}

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

/* =========================================================
   REFINAMENTOS V4 — PADRÃO ÚNICO DE IMAGENS NO MOBILE
   ========================================================= */

.announcement__mobile { display: none; }

.hero__image-shell {
  position: relative;
  z-index: 2;
  width: min(100%, 640px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(10px, 2vw, 22px);
  background: radial-gradient(circle at 50% 45%, #171717 0, #090909 58%, #020202 100%);
  border: 1px solid rgba(212,175,55,.14);
  border-radius: 20px;
  filter: drop-shadow(0 30px 55px rgba(0,0,0,.55));
}

.hero__image-shell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Todos os produtos passam a usar o mesmo palco visual. */
.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(14px, 2.5vw, 24px);
  background: #f1f1f1;
}

.product-card__media::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 44%;
  height: 12px;
  left: 28%;
  bottom: 8%;
  border-radius: 50%;
  background: rgba(0,0,0,.10);
  filter: blur(10px);
}

.product-card__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  padding: 0;
  object-fit: contain;
  object-position: center;
  transform: none;
  filter: none;
}

.product-card:hover .product-card__media img {
  transform: scale(1.015);
}

/* Remove regras antigas específicas por produto e mantém escala uniforme. */
.product-card[data-product-id] .product-card__media {
  background: #f1f1f1;
}

.product-card[data-product-id] .product-card__media img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
  object-position: center;
}

/* A imagem do 17 Pro Max agora foi preparada com fundo neutro. */
.product-card[data-product-id="iphone-17-pro-max"] .product-card__media::after {
  display: block;
}

/* Produtos horizontais recebem um pouco mais de respiro. */
.product-card[data-product-id="iphone-12"] .product-card__media img,
.product-card[data-product-id="redmi-pad"] .product-card__media img,
.product-card[data-product-id="poco-x8-pro"] .product-card__media img {
  width: 96%;
  height: 96%;
}

/* Imagens verticais nunca devem ser cortadas. */
.product-card[data-product-id="iphone-17"] .product-card__media img,
.product-card[data-product-id="redmi-15-6gb"] .product-card__media img {
  width: 92%;
  height: 92%;
}

.mobile-action-bar { display: none; }

@media (max-width: 900px) {
  html { scroll-padding-top: 84px; }

  .hero__content { text-align: left; }
  .hero__lead { margin-inline: 0; }
  .hero__actions,
  .hero__highlights { justify-content: flex-start; }

  .hero__visual {
    width: 100%;
    max-width: 690px;
    margin-inline: auto;
  }

  .section-heading--split { gap: 12px; }
}

@media (max-width: 640px) {
  body { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }

  .announcement__desktop { display: none; }
  .announcement__mobile { display: inline; }

  .site-header { top: 0; }
  .header__inner { min-height: 70px; }
  .brand img { width: min(190px, 48vw); max-height: 48px; }

  .hero {
    min-height: auto;
    padding: 42px 0 34px;
  }
  .hero__grid { gap: 28px; }
  .hero__eyebrow { margin-bottom: 14px; }
  .hero h1 {
    max-width: 11ch;
    font-size: clamp(2.65rem, 12vw, 4rem);
    line-height: .94;
  }
  .hero__lead {
    margin-top: 18px;
    font-size: .95rem;
    line-height: 1.65;
  }
  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }
  .hero__actions .button { width: 100%; min-height: 52px; }

  .hero__highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .hero__highlights li {
    min-width: 0;
    align-items: flex-start;
    gap: 6px;
    font-size: .64rem;
    line-height: 1.35;
  }
  .hero__highlights svg { flex: 0 0 auto; margin-top: 1px; }

  .hero__visual {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }
  .hero__ring { display: none; }
  .hero__image-shell {
    width: 100%;
    margin-inline: 0;
    aspect-ratio: 4 / 3;
    padding: 14px;
    border-radius: 16px;
  }
  .hero__image-shell img { object-fit: contain; }

  .hero__product-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 340px);
    min-width: 0;
    margin: -2px 0 0 auto;
    padding: 13px 15px;
  }
  .hero__product-card strong { font-size: 1rem; }

  .trust-bar__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .trust-bar__grid > div {
    min-height: 88px;
    padding: 15px 14px;
    border-top: 1px solid rgba(5,5,5,.16);
  }
  .trust-bar__grid > div:nth-child(-n+2) { border-top: 0; }
  .trust-bar strong { font-size: .69rem; line-height: 1.25; }
  .trust-bar span { font-size: .65rem; line-height: 1.35; }

  .section-heading { margin-bottom: 34px; }
  .section-heading--split { grid-template-columns: 1fr; }
  .section-heading--split > p { font-size: .86rem; }

  .catalog-controls { gap: 14px; }
  .filter-chips {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .filter-chips::-webkit-scrollbar { display: none; }
  .filter-chip { flex: 0 0 auto; min-height: 40px; padding-inline: 18px; }
  .search-box { min-height: 48px; }

  .catalog-meta { margin-bottom: 14px; }
  .product-grid { grid-template-columns: 1fr; gap: 18px; }
  .product-card { border-radius: 18px; }
  .product-card:hover { transform: none; }

  /* Altura estável sem zoom ou recorte. */
  .product-card__media {
    aspect-ratio: 4 / 3;
    min-height: 0;
    padding: 16px;
  }
  .product-card__media img,
  .product-card[data-product-id] .product-card__media img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .product-card__body { padding: 18px; }
  .product-card h3 { min-height: 0; margin-bottom: 12px; font-size: 1.08rem; }
  .product-card__specs { margin-bottom: 14px; gap: 6px; }
  .product-card__specs li { grid-template-columns: minmax(86px, 34%) 1fr; }
  .product-card__actions .button { min-height: 46px; }

  .xiaomi-banner__content { text-align: left; }
  .xiaomi-banner__visual { min-height: 230px; }
  .xiaomi-banner__visual img { max-height: 280px; object-fit: contain; }

  .modal {
    align-items: end;
    padding: 0;
  }
  .modal__dialog {
    width: 100%;
    max-height: 92dvh;
    border-radius: 22px 22px 0 0;
    border-bottom: 0;
  }
  .modal__media { min-height: 230px; max-height: 280px; padding: 18px; }
  .modal__media img { object-fit: contain; }
  .modal__content { padding: 28px 18px calc(22px + env(safe-area-inset-bottom)); }
  .modal__content h2 { font-size: 2rem; }
  .product-details { margin: 22px 0; }
  .product-details > div { grid-template-columns: 105px 1fr; }

  .mobile-action-bar {
    position: fixed;
    z-index: 60;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: .95fr 1.15fr;
    gap: 10px;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255,255,255,.12);
    background: rgba(5,5,5,.96);
    backdrop-filter: blur(16px);
  }
  .mobile-action-bar .button { min-height: 50px; padding-inline: 10px; }
}
