﻿:root {
  --red: #ed0018;
  --red-dark: #cf0016;
  --ink: #141821;
  --muted: #6b7280;
  --line: #e8ebef;
  --soft: #f5f6f8;
  --white: #fff;
  --shadow: 0 8px 24px rgba(18, 24, 33, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: 'Manrope', Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.wrap { width: min(100% - 64px, 1280px); margin: 0 auto; }

.btn {
  min-height: 48px;
  border: 0;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 28px;
  color: #fff;
  background: linear-gradient(180deg, #ff1025, var(--red));
  box-shadow: 0 8px 18px rgba(237, 0, 24, .28);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
}
.btn--small { min-height: 32px; padding: 0 16px; font-size: 11px; }
.btn--ghost { border: 1px solid rgba(255,255,255,.88); background: rgba(0,0,0,.18); box-shadow: none; }
.btn--light { color: var(--ink); background: #f1f3f6; box-shadow: none; }

.topbar { height: 34px; background: #fff; border-bottom: 1px solid #edf0f3; font-size: 12px; }
.topbar__inner { height: 100%; display: flex; align-items: center; gap: 26px; color: #262b33; }
.topbar__inner i { color: #6b7280; margin-right: 6px; }
.topbar__socials { margin-left: auto; display: flex; gap: 13px; color: #555b65; }
.topbar__socials a { font-size: 15px; line-height: 1; transition: color .2s ease; }
.topbar__socials a:hover { color: var(--red); }
.topbar__phone { font-size: 16px; font-weight: 900; letter-spacing: .2px; }

.nav { height: 54px; background: #fff; border-bottom: 1px solid #e6e8eb; position: sticky; top: 0; z-index: 10; }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 205px; }
.brand__mark { width: 33px; height: 33px; border-radius: 6px; color: #fff; background: var(--red); display: grid; place-items: center; font-size: 23px; font-weight: 900; }
.brand b { display: block; font-size: 15px; letter-spacing: .5px; line-height: 1; }
.brand em { color: var(--red); font-style: normal; }
.brand small { display: block; margin-top: 4px; font-size: 9px; }
.nav__links { flex: 1; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 800; font-size: 12px; }
.nav__links .is-red,
.nav__links .is-active { color: var(--red); }
.nav__mobile-info, .nav__mobile-phone, .nav__mobile-whatsapp { display: none; }
.menu-toggle { display: none; margin-left: auto; width: 42px; height: 38px; border: 1px solid var(--line); background: #fff; border-radius: 5px; padding: 9px; position: relative; z-index: 12; }
.menu-toggle span { display: block; width: 100%; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle span + span { margin-top: 6px; }
.nav.is-open .menu-toggle span:nth-child(1),
body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav.is-open .menu-toggle span:nth-child(2),
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .menu-toggle span:nth-child(3),
body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.menu-backdrop { display: none; }

.site-page { display: none; }
.site-page.is-active { display: block; }

.hero {
  position: relative;
  min-height: calc(100vh - 88px);
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.32)),
    url('assets/hero-fallback.jpg') center / cover no-repeat #07090d;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.32));
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: url('assets/hero-fallback.jpg') center / cover no-repeat #07090d;
}
.hero__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .45s ease;
  filter: saturate(1.08) contrast(1.04);
}
.hero__media.is-loaded video { opacity: 1; }
.hero__inner { position: relative; z-index: 2; min-height: calc(100vh - 88px); display: flex; align-items: center; padding: 68px 0; }
.hero__content { max-width: 890px; }
.hero h1 { margin: 8px 0 30px; font-size: clamp(48px, 6vw, 82px); line-height: 1.02; letter-spacing: 0; }
.hero h1 span { color: var(--red); }
.hero p { margin: 0 0 28px; font-size: 21px; font-weight: 700; }
.features { display: grid; grid-template-columns: repeat(4, minmax(95px, 1fr)); gap: 20px; max-width: 610px; margin-bottom: 26px; }
.features div { display: grid; grid-template-columns: 30px 1fr; column-gap: 8px; align-items: center; }
.features i { width: 26px; height: 26px; border: 1px solid #fff; border-radius: 3px; display: grid; place-items: center; font-style: normal; font-size: 13px; }
.features b { font-size: 12px; }
.features small { grid-column: 2; color: #fff; opacity: .92; font-size: 11px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__actions .btn { min-width: 215px; }
.btn--hero { min-height: 58px; padding: 0 34px; font-size: 14px; }
.lead-card { align-self: start; margin-top: 18px; padding: 24px; border-radius: 7px; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: var(--shadow); }
.lead-card h2 { margin: 0 0 2px; font-size: 26px; }
.lead-card p { margin: 0 0 15px; color: #3e4652; font-size: 13px; font-weight: 400; }
.lead-card input, .bottom-cta input { width: 100%; height: 42px; border: 1px solid #dbe0e6; border-radius: 4px; padding: 0 14px; background: #fff; margin-bottom: 12px; color: var(--ink); }
.lead-card .btn { width: 100%; }
.lead-card small { display: block; text-align: center; color: #9aa1aa; margin-top: 12px; }

.section { margin-top: 34px; margin-bottom: 34px; }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 10px; }
.section h2, .faq h2, .bottom-cta h2 { margin: 0; font-size: 30px; line-height: 1.1; }
.section__head a { font-size: 11px; font-weight: 800; }
.catalog-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.icon-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: start; }
.product-icon {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 9px;
  text-align: center;
  font-weight: 900;
}
.product-icon span {
  width: 96px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(180deg, #ff0c21, var(--red));
  box-shadow: 0 12px 24px rgba(237, 0, 24, .22);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-icon i { font-size: 34px; }
.product-icon b { font-size: 14px; }
.product-icon:hover span { transform: translateY(-4px); box-shadow: 0 18px 32px rgba(237, 0, 24, .28); }
.product { min-width: 0; padding: 10px 14px 14px; border: 1px solid #edf0f3; border-radius: 7px; background: #fff; box-shadow: 0 4px 14px rgba(20,24,33,.08); }
.product img { width: 100%; height: 144px; object-fit: contain; border-radius: 4px; margin-bottom: -8px; background: #f7f8fa; }
.product span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #ffd1d6; border-radius: 5px; color: var(--red); background: #fff; position: relative; }
.product h3 { min-height: 40px; margin: 12px 0 6px; font-size: 14px; }
.product b { display: block; color: var(--red); font-size: 14px; text-transform: uppercase; margin-bottom: 12px; }
.product button { height: 32px; width: 104px; border: 1px solid var(--red); border-radius: 4px; color: var(--red); background: #fff; font-weight: 800; text-transform: uppercase; font-size: 10px; }

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.profile-card {
  --profile-image-height: 290px;
  min-width: 0;
  display: grid;
  grid-template-rows: var(--profile-image-height) 1fr auto;
  overflow: hidden;
  border: 1px solid #edf0f3;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(20,24,33,.07);
}
.profile-card > img {
  width: 100%;
  height: var(--profile-image-height);
  object-fit: cover;
  background: linear-gradient(180deg, #f8f9fb, #fff);
}
.profile-card__body { padding: 16px 18px 14px; }
.profile-card__body > b {
  display: block;
  color: var(--red);
  font-size: 13px;
  letter-spacing: 0;
}
.profile-card__body > span {
  display: block;
  margin-top: 5px;
  color: #667085;
  font-size: 11px;
  font-weight: 900;
}
.profile-card h3 { margin: 12px 0 8px; font-size: 22px; }
.profile-card p {
  margin: 0;
  color: #2b3038;
  font-size: 13px;
  line-height: 1.55;
}
.profile-card ul {
  display: grid;
  gap: 8px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
  color: #222831;
  font-size: 12px;
  font-weight: 800;
}
.profile-card li { display: flex; align-items: center; gap: 8px; }
.profile-card li i { width: 18px; color: var(--red); text-align: center; }
.profile-card footer {
  min-height: 58px;
  padding: 12px 18px;
  border-top: 1px solid #edf0f3;
  background: #f8f9fb;
  color: #4b5563;
  font-size: 11px;
  font-weight: 700;
}
.profile-card footer b { color: var(--red); }

.product-detail {
  margin-top: 44px;
  margin-bottom: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .86fr);
  gap: 32px;
  align-items: start;
}
.product-detail--reverse .detail-gallery { order: 2; }
.detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.detail-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 7px;
  background: #f4f6f8;
}
.detail-gallery img:first-child {
  grid-column: span 2;
  grid-row: span 2;
  height: 370px;
}
.detail-gallery--compact img:first-child { grid-row: span 1; height: 180px; }
.detail-copy > b {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 3px;
  color: #fff;
  background: var(--red);
  font-size: 12px;
  text-transform: uppercase;
}
.detail-copy h2 { margin: 0 0 14px; font-size: 32px; line-height: 1.12; }
.detail-copy h3 { margin: 20px 0 8px; font-size: 17px; text-transform: uppercase; }
.detail-copy p { margin: 0 0 11px; color: #333b47; line-height: 1.62; }
.detail-copy ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
.detail-copy li::before {
  content: '\f058';
  margin-right: 8px;
  color: var(--red);
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}
.detail-cta {
  margin-top: 22px;
  display: grid;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.detail-cta strong { color: var(--red); font-size: 22px; text-transform: uppercase; }
.detail-cta .btn { width: max-content; min-width: 240px; }

.page-hero {
  color: #fff;
  background-position: center;
  background-size: cover;
}
.page-hero .wrap {
  min-height: 280px;
  display: grid;
  align-content: center;
  padding: 42px 0;
}
.page-hero b {
  display: inline-flex;
  width: max-content;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 3px;
  background: var(--red);
  font-size: 12px;
  text-transform: uppercase;
}
.page-hero h1 {
  max-width: 740px;
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
}
.page-hero p {
  max-width: 620px;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}
.page-hero--pvc { background-image: linear-gradient(90deg, rgba(8,11,16,.78), rgba(8,11,16,.36)), url('assets/price-rehau-wide.png'); }
.page-hero--aluminum { background-image: linear-gradient(90deg, rgba(8,11,16,.76), rgba(8,11,16,.38)), url('assets/primer.jpg'); }
.page-hero--works { background-image: linear-gradient(90deg, rgba(8,11,16,.78), rgba(8,11,16,.34)), url('assets/works/10.jpeg'); }

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.price-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 1.25fr .9fr;
  overflow: hidden;
  border: 1px solid #edf0f3;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(20,24,33,.07);
}
.price-card img {
  width: 100%;
  height: 100%;
  min-height: 285px;
  object-fit: cover;
  background: #f7f8fa;
}
.price-card__content {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 22px;
}
.price-card__content > span {
  width: max-content;
  padding: 4px 8px;
  border-radius: 3px;
  color: #fff;
  background: var(--red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.price-card h3 { margin: 0; font-size: 23px; }
.price-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}
.price-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #edf0f3;
  font-size: 13px;
}
.price-card dt { color: #69717d; }
.price-card dd { margin: 0; font-weight: 900; }
.price-card__content > b {
  color: var(--red);
  font-size: 22px;
  text-transform: uppercase;
}
.price-card .btn { width: 100%; min-height: 42px; }
.catalog-grid--prices { grid-template-columns: repeat(3, 1fr); }
.works--page .work-slide { flex-basis: calc((100% - 28px) / 3); }
.works--page .work-slide img { height: 300px; }

.works { position: relative; padding: 0 34px; }
.works__track { display: flex; gap: 14px; overflow: hidden; scroll-behavior: smooth; }
.work-slide { flex: 0 0 calc((100% - 42px) / 4); min-width: 0; border: 0; border-radius: 8px; padding: 0; overflow: hidden; background: #f3f5f7; cursor: zoom-in; }
.work-slide img { height: 190px; width: 100%; object-fit: cover; border-radius: 8px; transition: transform .28s ease; }
.work-slide:hover img { transform: scale(1.07); }
.round { position: absolute; top: 50%; translate: 0 -50%; width: 43px; height: 43px; border-radius: 50%; border: 1px solid #e8ebef; background: #fff; box-shadow: var(--shadow); font-size: 35px; line-height: 1; z-index: 2; }
.round:first-child { left: 0; }
.round:last-child { right: 0; }

.reviews article, .faq details, .question-card { background: #fff; border: 1px solid #edf0f3; border-radius: 7px; box-shadow: 0 4px 18px rgba(20,24,33,.07); }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.reviews article { min-height: 72px; display: grid; grid-template-columns: 58px 1fr; gap: 10px; padding: 10px 13px; }
.reviews img { width: 51px; height: 51px; border-radius: 50%; object-fit: cover; }
.review-avatar {
  width: 51px;
  height: 51px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #ed0018, #ff6b7a);
  font-size: 20px;
  font-weight: 900;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.45), 0 6px 14px rgba(237,0,24,.18);
}
.review-avatar--blue { background: linear-gradient(135deg, #2563eb, #60a5fa); box-shadow: inset 0 0 0 3px rgba(255,255,255,.45), 0 6px 14px rgba(37,99,235,.18); }
.review-avatar--dark { background: linear-gradient(135deg, #1f2937, #64748b); box-shadow: inset 0 0 0 3px rgba(255,255,255,.45), 0 6px 14px rgba(31,41,55,.18); }
.reviews b { color: #ffbd00; letter-spacing: 1px; }
.reviews p { margin: 3px 0 5px; font-size: 11px; }
.reviews small { color: #5c6470; font-size: 10px; }

.faq-wrap { margin-top: 42px; margin-bottom: 42px; display: grid; grid-template-columns: 1.42fr .98fr; gap: 22px; }
.faq details { margin-top: 10px; padding: 0 18px; }
.faq summary {
  list-style: none;
  min-height: 52px;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '\f078';
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--red);
  background: #fff1f3;
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 12px;
  transition: transform .2s ease;
}
.faq details[open] summary::after {
  content: '\f077';
  transform: rotate(0deg);
}
.faq p { margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.question-card {
  position: relative;
  min-height: 260px;
  display: block;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(105deg, #222831 0%, #141922 58%, #090d13 100%);
}
.question-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 84% 80%, rgba(255,255,255,.14), transparent 36%);
  pointer-events: none;
}
.question-card div {
  position: relative;
  z-index: 2;
  max-width: 64%;
  padding: 30px 24px 26px;
}
.question-card h2 { margin: 0 0 11px; font-size: 26px; line-height: 1.08; }
.question-card p { margin: 0 0 18px; font-size: 13px; line-height: 1.5; }
.question-card .btn { min-height: 38px; padding: 0 18px; }
.question-card img {
  position: absolute;
  right: -26px;
  bottom: 0;
  z-index: 1;
  width: auto;
  height: 96%;
  max-width: none;
  object-fit: contain;
  opacity: .96;
  pointer-events: none;
}

.bottom-cta { margin-top: 24px; color: #fff; background: linear-gradient(120deg, #080b10 0%, #171c25 54%, #05070a 100%); }
.bottom-cta__inner { min-height: 140px; display: grid; grid-template-columns: 1fr 430px; gap: 35px; align-items: center; padding: 26px 0; }
.bottom-cta h2 { font-size: 24px; }
.bottom-cta p { margin: 5px 0 12px; }
.badges { display: grid; grid-template-columns: repeat(4, max-content); gap: 19px; color: #fff; font-size: 11px; font-weight: 800; }
.badges span::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--red); margin-right: 7px; }
.bottom-cta form { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.bottom-cta input { height: 36px; margin: 0; }
.bottom-cta .btn { grid-column: 1 / -1; min-height: 39px; }

.footer { color: #dfe3e8; background: linear-gradient(120deg, #111318 0%, #1b2028 55%, #080a0d 100%); }
.footer__inner {
  min-height: 150px;
  display: grid;
  grid-template-columns: minmax(185px, 1.35fr) minmax(92px, .75fr) minmax(108px, .9fr) minmax(220px, 1.35fr) auto;
  gap: 26px;
  align-items: start;
  padding: 42px 0 44px;
}
.footer__inner > * { min-width: 0; }
.brand--footer { color: #fff; }
.brand--footer b { font-size: 15px; }
.brand--footer small { font-size: 10px; }
.footer h3 { margin: 0 0 8px; color: #fff; text-transform: uppercase; font-size: 13px; }
.footer a { display: block; color: #c9ced5; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.footer__socials { display: flex; justify-content: end; align-items: center; gap: 12px; color: #fff; min-width: 136px; }
.footer__socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 17px;
  line-height: 1;
}
.footer__socials .instagram { background: radial-gradient(circle at 30% 110%, #feda75 0 18%, #fa7e1e 32%, #d62976 58%, #962fbf 78%, #4f5bd5 100%); }
.footer__socials .telegram { background: #2aabee; }
.footer__socials .whatsapp { width: 50px; height: 50px; background: #39c75b; font-size: 28px; box-shadow: 0 0 0 7px rgba(57,199,91,.22); }

.modal,
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(8, 11, 16, .72);
}
.modal.is-open,
.lightbox.is-open { display: flex; }
.modal__dialog {
  position: relative;
  width: min(100%, 420px);
  border-radius: 10px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 22px 70px rgba(0,0,0,.28);
}
.modal__dialog h2 { margin: 0 0 8px; font-size: 26px; }
.modal__dialog p { margin: 0 0 18px; color: var(--muted); }
.modal__close,
.lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: #f1f3f6;
}
.modal-form { display: grid; gap: 12px; }
.modal-form input {
  width: 100%;
  height: 46px;
  border: 1px solid #dbe0e6;
  border-radius: 5px;
  padding: 0 14px;
}
.modal-form .btn { width: 100%; }
.lightbox img {
  max-width: min(1120px, 88vw);
  max-height: 84vh;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 22px 70px rgba(0,0,0,.32);
}
.lightbox__close { color: #fff; background: rgba(255,255,255,.16); }
.lightbox__arrow {
  position: absolute;
  top: 50%;
  width: 54px;
  height: 54px;
  translate: 0 -50%;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.18);
  font-size: 42px;
  line-height: 1;
}
.lightbox__arrow--prev { left: 28px; }
.lightbox__arrow--next { right: 28px; }

@media (max-width: 980px) {
  body.menu-open { overflow: hidden; }
  .wrap { width: min(100% - 32px, 720px); }
  .topbar { display: none; }
  .topbar__inner { min-height: 35px; flex-wrap: wrap; gap: 10px 16px; padding: 6px 0; }
  .topbar__socials { margin-left: 0; }
  .nav { height: auto; padding: calc(12px + env(safe-area-inset-top)) 0 12px; }
  .nav::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9;
    background: rgba(8, 11, 16, .54);
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s ease;
  }
  body.nav-open .nav::before { opacity: 1; pointer-events: auto; }
  .nav__inner { min-height: 52px; flex-wrap: nowrap; }
  .brand { order: 1; }
  .menu-toggle { display: block; margin-left: auto; }
  .nav__links {
    order: 3;
    flex: none;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 11;
    width: min(86vw, 360px);
    height: 100dvh;
    max-height: none;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 0;
    padding: calc(82px + env(safe-area-inset-top)) 22px 24px;
    background: #fff;
    box-shadow: -20px 0 50px rgba(8, 11, 16, .22);
    transform: translateX(100%);
    transition: transform .24s ease;
    font-size: 15px;
  }
  .menu-toggle { order: 2; }
  .nav.is-open .nav__links,
  body.nav-open .nav__links { transform: translateX(0); }
  .nav__links a { padding: 15px 0; border-bottom: 1px solid #edf0f3; }
  .nav__mobile-info {
    display: grid;
    grid-column: 1 / -1;
    gap: 8px;
    margin-top: 12px;
    padding: 14px;
    border-radius: 8px;
    background: #f6f7f9;
    color: #2f3742;
    font-size: 13px;
    font-weight: 700;
  }
  .nav__mobile-info a,
  .nav__mobile-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
  }
  .nav__mobile-info i { color: var(--red); width: 16px; text-align: center; }
  .nav__mobile-phone, .nav__mobile-whatsapp { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; margin-top: 14px; padding: 0 !important; border: 0 !important; border-radius: 5px; }
  .nav__mobile-phone { color: var(--ink); background: #f2f4f7; }
  .nav__mobile-whatsapp { color: #fff; background: #25d366; }
  .menu-backdrop { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 18px; padding-top: 26px; }
  .lead-card { width: min(100%, 360px); margin-top: 0; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .icon-grid { grid-template-columns: repeat(3, 1fr); }
  .product-icon span { width: 86px; border-radius: 18px; }
  .product-icon i { font-size: 30px; }
  .product-detail, .product-detail--reverse { grid-template-columns: 1fr; }
  .product-detail--reverse .detail-gallery { order: 0; }
  .catalog-grid, .reviews, .faq-wrap, .bottom-cta__inner, .footer__inner { grid-template-columns: 1fr 1fr; }
  .profile-grid { grid-template-columns: 1fr 1fr; }
  .profile-card { --profile-image-height: 265px; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card { grid-template-columns: 1.15fr .85fr; }
  .catalog-grid--prices { grid-template-columns: 1fr 1fr; }
  .question-card, .bottom-cta__inner > *, .footer__inner > *:first-child { grid-column: 1 / -1; }
  .catalog-grid { gap: 12px; }
  .works { padding: 0 28px; }
  .works__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .work-slide { flex-basis: 72%; scroll-snap-align: center; }
  .work-slide img { height: 220px; }
  .round { display: grid; place-items: center; width: 38px; height: 38px; font-size: 30px; }
  .bottom-cta__inner { padding: 20px 0; }
  .footer__socials { justify-content: start; }
}

@media (max-width: 620px) {
  body { font-size: 14px; }
  .wrap { width: min(100% - 22px, 480px); }
  .brand { min-width: 0; }
  .brand b { font-size: 13px; }
  .brand small { font-size: 8px; }
  .hero { min-height: 620px; background-position: center center; }
  .hero__inner { min-height: 620px; padding: 34px 0; }
  .hero h1 { font-size: 33px; }
  .hero p { font-size: 15px; }
  .icon-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .product-icon span { width: min(100%, 92px); }
  .product-icon b { font-size: 14px; }
  .detail-gallery { grid-template-columns: repeat(2, 1fr); }
  .detail-gallery img, .detail-gallery--compact img:first-child { height: 155px; }
  .detail-gallery img:first-child { grid-column: 1 / -1; height: 245px; }
  .detail-copy h2 { font-size: 27px; }
  .detail-copy ul { grid-template-columns: 1fr; }
  .detail-cta .btn { width: 100%; min-width: 0; }
  .features, .hero__actions, .catalog-grid, .reviews, .faq-wrap, .bottom-cta__inner, .footer__inner, .bottom-cta form { grid-template-columns: 1fr; }
  .profile-grid, .price-card, .catalog-grid--prices { grid-template-columns: 1fr; }
  .profile-card { --profile-image-height: 280px; }
  .page-hero .wrap { min-height: 240px; }
  .page-hero p { font-size: 15px; }
  .price-card img { min-height: 230px; }
  .price-card__content { padding: 18px; }
  .works--page .work-slide { flex-basis: 86%; }
  .hero__actions .btn { width: 100%; }
  .lead-card { width: 100%; }
  .product img { height: 150px; }
  .question-card { min-height: 230px; }
  .question-card div { max-width: 68%; }
  .question-card img { right: -24px; height: 88%; }
  .badges { grid-template-columns: 1fr 1fr; gap: 10px; }
  .footer__inner { padding-bottom: 78px; }
  .work-slide { flex-basis: 86%; }
  .work-slide img { height: 250px; }
  .lightbox { padding: 14px; }
  .lightbox__arrow { width: 42px; height: 42px; font-size: 32px; }
  .lightbox__arrow--prev { left: 12px; }
  .lightbox__arrow--next { right: 12px; }
}

@media (max-width: 400px) {
  .topbar__inner { justify-content: center; }
  .topbar__phone, .topbar .btn { margin-left: 0; width: 100%; }
  .nav__links { grid-template-columns: 1fr; }
  .hero h1 { font-size: 29px; }
  .icon-grid { grid-template-columns: 1fr; }
  .features, .badges { grid-template-columns: 1fr; }
  .question-card { min-height: 250px; }
  .question-card div { max-width: 74%; padding: 26px 18px 24px; }
  .question-card h2 { font-size: 24px; }
  .question-card img { right: -34px; height: 78%; }
}


