/* Fonts */
@font-face {
  font-family: 'Syne';
  src: url('../elementos/Font/Syne/Syne-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

/* Reset & base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0a0a0a;
  --bg-elevated: #0e0e0e;
  --surface: #141414;
  --card-top: #1e1e1e;
  --card-bottom: #0c0c0c;
  --text: #f5f5f5;
  --muted: #9a9a9a;
  --accent: #39ff14;
  --accent-dim: rgba(57, 255, 20, 0.12);
  --radius: 22px;
  --radius-sm: 14px;
  --max-width: 1440px;
}

/* Page transitions */
@view-transition {
  navigation: auto;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}

::view-transition-old(root) {
  animation: fade-out 0.25s ease forwards;
}

::view-transition-new(root) {
  animation: fade-in 0.35s ease forwards;
}

.page__content {
  animation: fade-in 0.4s ease;
}

.hero__content {
  animation: fade-in 0.5s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Syne', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-accent {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.btn--primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.25);
  font-weight: 700;
}

.btn.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(57, 255, 20, 0.4);
}

.btn--large {
  padding: 14px 34px;
  font-size: 1rem;
}

/* Modal triggers reset */
.modal-trigger {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.3s ease, padding 0.3s ease;
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  width: auto;
  height: 57px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(20, 20, 20, 0.72);
  backdrop-filter: blur(12px);
}

.nav__link {
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav__link:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

.nav__link--active {
  position: relative;
  color: var(--accent);
  background: rgba(255,255,255,0.08);
}

.nav__link--active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
}

.menu-toggle span {
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: flex-start;
  overflow: visible;
  padding: 160px 0 60px;
  background: var(--bg);
}

.hero__blur {
  position: absolute;
  left: -12%;
  top: -12%;
  width: 70%;
  height: 140%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.75;
}

.hero__blur img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left top;
  filter: blur(50px);
}

.hero__chrome {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero__chrome-img {
  position: absolute;
  right: -600px;
  top: -180px;
  width: 2304px;
  height: auto;
  transform: scale(0.975);
  transform-origin: right top;
}

.hero__chrome-img img {
  width: 90%;
  height: auto;
  object-fit: contain;
  object-position: right top;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 20px;
}

.hero__title {
  font-size: clamp(1.5rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  max-width: 1000px;
}

.hero__accent {
  color: var(--accent);
  text-underline-offset: 8px;
  text-decoration-thickness: 3px;
}

.hero__subtitle {
  margin-top: 20px;
  color: #e6e6e6;
  font-size: 0.98rem;
  max-width: 1200;
  letter-spacing: 0.12em;
}

/* Preview */
.preview {
  padding: 80px 0 60px;
  position: relative;
  z-index: 2;
}

.preview__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.preview__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 5/4;
  background: linear-gradient(145deg, #1a251a 0%, #0d140d 55%, #070a07 100%);
  border: 1px solid rgba(57,255,20,0.08);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 60px rgba(57,255,20,0.06), 0 20px 60px rgba(0,0,0,0.45);
}

.preview__play {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(20,20,20,0.7);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--text);
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.preview__play:hover {
  transform: scale(1.08);
  background: rgba(57,255,20,0.15);
  color: var(--accent);
  border-color: var(--accent);
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  margin-bottom: 15px;
}



.preview__text {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--muted);
  max-width: 400px;
  margin-bottom: 28px;
}

.preview__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  font-size: 0.8rem;
  color: var(--text);
}

.tag__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

/* Products */
.products {
  padding: 80px 0 50px;
  position: relative;
  z-index: 2;
}

.products__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0px;
}

.link-arrow {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  transition: opacity 0.2s ease;
  margin-bottom: 15px;
}

.link-arrow:hover {
  opacity: 0.8;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  position: relative;
  height: 320px;
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, #1a1a1a 0%, #0e0e0e 55%, #080808 100%);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 20%, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(57,255,20,0.25);
}

.product-card--with-image {
  padding: 0;
  justify-content: flex-end;
}

.product-card__img {
  position: absolute;
  inset: 0 0 88px 0;
  width: 100%;
  height: auto;
  max-height: calc(100% - 88px);
  object-fit: contain;
  object-position: center;
  padding: 36px 18px 8px;
  pointer-events: none;
  z-index: 0;
}

.product-card--with-image .product-card__info {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 28px 18px 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 8, 8, 0.85) 40%, #080808 100%);
}

.badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.57rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.badge--new {
  background: var(--accent);
  color: var(--bg);
}

.badge--free {
  background: var(--accent);
  color: var(--bg);
}

.product-card__info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.product-card__category {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.product-card__name {
  font-size: 0.92rem;
  font-weight: 700;
  margin-top: 2px;
  color: var(--accent);
}

.product-card__price {
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 4px;
  color: var(--text);
}

.product-card__action {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  background: transparent;
}

.product-card__action:hover {
  transform: scale(1.1);
}

.product-card__action img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

/* Custom Orders */
.custom-orders {
  padding: 90px 0 110px;
  text-align: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.custom-orders::before,
.custom-orders::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(57,255,20,0.18) 0%, rgba(57,255,20,0.06) 40%, transparent 70%);
  filter: blur(50px);
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}

.custom-orders::before {
  left: -90px;
}

.custom-orders::after {
  right: -90px;
}

.custom-orders__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.custom-orders__lead {
  color: var(--muted);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto 48px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.feature {
  padding: 18px 12px;
  text-align: center;
  border-right: 2px solid rgba(255,255,255,0.08);
}

.feature:last-child {
  border-right: none;
}

.feature__icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  color: var(--accent);
}

.feature__icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.feature__title {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature__desc {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.35;
}

/* Footer */
.footer {
  padding: 36px 0 22px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: var(--bg-elevated);
  position: relative;
  z-index: 2;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.footer__links a,
.footer__links button {
  font-size: 0.82rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer__links a:hover,
.footer__links button:hover {
  color: var(--accent);
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}

.footer__social a,
.footer__social button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.footer__social a:hover,
.footer__social button:hover {
  transform: scale(1.1);
}

.footer__social a img,
.footer__social a svg,
.footer__social button img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 300;
  transform: translateX(-50%) translateY(12px);
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.96);
  border: 1px solid rgba(57, 255, 20, 0.35);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--muted);
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer__lang {
  cursor: pointer;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal--open {
  opacity: 1;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.modal__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  display: grid;
  grid-template-columns: 1.1fr auto 1fr;
  align-items: center;
  gap: 36px;
  background: rgba(18, 18, 18, 0.95);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  padding: 48px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.3s ease;
}

.modal--open .modal__content {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.modal__close:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.modal__logo {
  width: auto;
  height: 40px;
  object-fit: contain;
  margin-bottom: 28px;
}

.modal__title {
  font-size: 1.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.modal__text {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 260px;
}

.modal__divider {
  width: 1px;
  height: 160px;
  background: rgba(255,255,255,0.1);
}

.modal__right {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  transition: transform 0.2s ease;
}

button.contact-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.contact-link:hover {
  transform: translateX(4px);
}

.contact-link__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.contact-link__icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.contact-link__label {
  font-size: 0.9rem;
  color: var(--text);
}

.contact-link__copy {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--muted);
  opacity: 0.5;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.contact-link:hover .contact-link__copy {
  opacity: 1;
  color: var(--accent);
}

/* Legal modals */
.modal--legal {
  align-items: center;
  justify-content: center;
}

.modal--legal .modal__content {
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 640px;
  max-height: 85vh;
  padding: 0;
  overflow: hidden;
}

.modal__legal {
  padding: 48px 42px;
  overflow-y: auto;
  max-height: 85vh;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.modal__legal::-webkit-scrollbar {
  display: none;
}

.modal__legal .modal__logo {
  margin-bottom: 18px;
}

.modal__legal .modal__title {
  margin-bottom: 28px;
}

.modal__body {
  color: #cfcfcf;
  font-size: 0.92rem;
  line-height: 1.55;
}

.legal-section {
  margin-bottom: 22px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.legal-section p {
  margin-bottom: 10px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-email {
  color: var(--accent);
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.legal-email:hover {
  opacity: 0.8;
}

/* Product modal */
.modal--product {
  align-items: center;
  justify-content: center;
}

.modal--product .modal__content {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  max-width: 900px;
  max-height: 85vh;
  padding: 0;
  overflow: hidden;
}

.product-modal__media {
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #2a2a2a 0%, #111111 100%);
  padding: 32px;
  overflow: hidden;
}

.product-modal__img-wrapper {
  width: 100%;
  height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.product-modal__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-modal__carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 22px;
}

.carousel-track {
  display: flex;
  gap: 10px;
  overflow: hidden;
  flex: 0 0 auto;
  justify-content: center;
}

.carousel-thumb {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  padding: 0;
  border: 2px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-thumb:hover {
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.carousel-thumb--active {
  border-color: var(--accent);
}

.carousel-dots {
  display: none;
}

.carousel-dot {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--muted);
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.carousel-dot--active {
  background: var(--accent);
  border-color: var(--accent);
  color: #0d0d0d;
}

.carousel-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.carousel-arrow:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(57,255,20,0.08);
}

.product-modal__body {
  display: flex;
  flex-direction: column;
  padding: 42px;
  overflow-y: auto;
  max-height: 85vh;
}

.product-modal__title {
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.product-modal__desc {
  color: #cfcfcf;
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 28px;
}

.product-modal__section {
  margin-bottom: 24px;
}

.product-modal__section h3 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.product-modal__colors {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.product-modal__color {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
  cursor: default;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.product-modal__color:hover {
  transform: scale(1.1);
  border-color: var(--accent);
}

.product-modal__formats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.product-modal__format {
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.82rem;
  color: var(--muted);
}

.product-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.product-modal__price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
}

.product-modal__order {
  flex-shrink: 0;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 980px) {
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero__chrome {
    opacity: 0.7;
    display: none;
  }
  .hero__chrome-img {
    width: 90%;
  }
}

@media (max-width: 760px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    background: rgba(10,10,10,0.98);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 12px;
    margin-top: 8px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  }

  .nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    text-align: center;
    padding: 14px;
    border-radius: 10px;
  }

  .nav__link--active {
    background: rgba(57,255,20,0.10);
  }

  .nav__link--active::after {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header .btn {
    display: none;
  }

  .hero {
    padding-top: 120px;
    min-height: auto;
    padding-bottom: 80px;
  }

  .hero {
    overflow: hidden;
  }

  .hero__blur {
    left: 0;
    width: 100%;
    opacity: 0.6;
  }

  .hero__chrome {
    opacity: 0.35;
  }

  .hero__chrome-img {
    top: 10%;
    right: 0;
    width: 100%;
    transform: none;
    transform-origin: center top;
  }

  .hero__chrome-img img {
    width: 100%;
  }

  .preview__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .modal__content {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 28px;
  }

  .modal__legal {
    padding: 36px 26px;
  }

  .modal__legal .modal__title {
    font-size: 1.4rem;
  }

  .modal__divider {
    width: 100%;
    height: 1px;
  }

  .modal--product .modal__content {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }

  .product-modal__media {
    padding: 24px;
    min-height: 240px;
  }

  .product-modal__img-wrapper {
    height: 240px;
  }

  .product-modal__carousel {
    gap: 8px;
    margin-top: 14px;
  }

  .carousel-track {
    gap: 8px;
  }

  .carousel-thumb {
    width: 56px;
    height: 56px;
    border-radius: 12px;
  }

  .carousel-arrow {
    width: 22px;
    height: 22px;
  }

  .product-modal__body {
    padding: 28px;
    max-height: none;
    overflow-y: visible;
  }

  .product-modal__title {
    font-size: 1.25rem;
  }

  .product-modal__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
  }
}

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

  .features__grid {
    grid-template-columns: 1fr;
  }
}

/* Page layout (non-home pages) */
.page {
  padding-top: 110px;
}

.page__content {
  padding-bottom: 80px;
}

/* Filters */
.filters {
  padding: 40px 0 30px;
  position: relative;
  z-index: 10;
}

.filters__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.filter-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.filter-toggle img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.filters__pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
}

.filters__indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 999px;
  background: rgba(57, 255, 20, 0.12);
  border: 1px solid var(--accent);
  z-index: 0;
  pointer-events: none;
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1), width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-pill {
  position: relative;
  z-index: 1;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  transition: color 0.25s ease;
}

.filter-pill--active {
  color: var(--accent);
  background: transparent;
  border-color: transparent;
}

/* Products page sections */
.products--page {
  padding: 30px 0 40px;
}

.products--page .products__header {
  display: none;
}

/* Gallery */
.gallery {
  padding: 40px 0 80px;
  position: relative;
  z-index: 2;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.gallery__item {
  border-radius: var(--radius);
  background: linear-gradient(180deg, #2a2a2a 0%, #111111 100%);
  border: 1px solid rgba(255,255,255,0.06);
  min-height: 180px;
  overflow: hidden;
  position: relative;
}

.gallery__item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 20%, rgba(255,255,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.gallery__item--wide {
  grid-column: span 12;
  min-height: 320px;
}

.gallery__item--short {
  grid-column: span 5;
  min-height: 220px;
}

.gallery__item--tall {
  grid-column: span 7;
  min-height: 220px;
}

.gallery__item--thin {
  grid-column: span 12;
  min-height: 110px;
}

/* Responsive: pages */
@media (max-width: 760px) {
  .page {
    padding-top: 110px;
  }

  .filters__bar {
    gap: 12px;
    flex-wrap: nowrap;
    overflow: visible;
    padding-bottom: 4px;
    position: relative;
  }

  .filters__pills {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    flex-direction: column;
    gap: 0;
    background: #1e1e1e;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 6px;
    z-index: 50;
    min-width: 180px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  }

  .filters__pills--open {
    display: flex;
  }

  .filter-pill {
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    font-size: 0.9rem;
    border-radius: 8px;
  }

  .filters__indicator {
    display: none;
  }

  .gallery__grid {
    gap: 14px;
  }

  .gallery__item--short,
  .gallery__item--tall {
    grid-column: span 12;
    min-height: 180px;
  }

  .gallery__item--wide {
    min-height: 220px;
  }

  .gallery__item--thin {
    min-height: 90px;
  }
}
