:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-strong: #fff7f7;
  --ink: #151515;
  --muted: #66666d;
  --line: #ece7e7;
  --red: #8f0d17;
  --red-bright: #d91524;
  --red-soft: #fff0f1;
  --shadow: 0 26px 70px rgba(143, 13, 23, 0.13);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(143, 13, 23, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.navbar,
.section-shell,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 84px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand img,
.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand > span {
  font-size: 1.38rem;
}

.brand span span,
.footer-brand span {
  color: var(--red-bright);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a {
  transition: color 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  color: var(--red);
  transform: translateY(-1px);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--red);
  border-radius: 999px;
  padding: 0 22px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, color 200ms ease;
}

.nav-cta,
.button.primary {
  color: #ffffff;
  background: var(--red);
  box-shadow: 0 14px 34px rgba(143, 13, 23, 0.22);
}

.button.secondary {
  color: var(--red);
  background: #ffffff;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(143, 13, 23, 0.26);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  background: #fafafa;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3.5vw, 40px);
  min-height: 0;
  padding: clamp(20px, 3.5vh, 44px) 0 clamp(22px, 4vh, 48px);
}

.hero-copy {
  max-width: 26rem;
}

.hero .eyebrow {
  margin-bottom: 8px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.hero-title {
  max-width: 13em;
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2.85vw, 2.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.hero-title-line {
  display: block;
}

.hero-title-accent {
  color: var(--red);
}

.hero-lead {
  margin: 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.938rem;
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
}

.hero .button {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.84rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-trust span:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 12px;
  border-radius: 50%;
  background: var(--line);
  vertical-align: middle;
}

.hero-visual {
  position: relative;
  justify-self: stretch;
  width: 100%;
  max-width: min(100%, 920px);
  margin-left: auto;
  perspective: 1100px;
}

.hero-banner-stage {
  transform-style: preserve-3d;
  animation: heroBannerFloat 9s ease-in-out infinite;
}

.hero-banner-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(6px, 1.2vw, 9px);
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(21, 21, 21, 0.06);
  transform: rotateY(-3deg) rotateX(1.5deg);
  transition: transform 420ms ease, box-shadow 420ms ease;
}

.hero-visual:hover .hero-banner-card {
  transform: rotateY(-1.5deg) rotateX(1deg) translateY(-4px);
  box-shadow: var(--shadow);
}

.hero-banner-crop {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 8px);
  aspect-ratio: 820 / 312;
  background: #0c0c0c;
}

.hero-banner-crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 36%;
  display: block;
}

.hero-banner-caption {
  margin: 10px 3px 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.45;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-section {
  font-size: 0.94rem;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.listings-intro {
  margin-bottom: 22px;
  max-width: 640px;
}

.listings-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
  max-width: 540px;
}

.categories-intro {
  margin-bottom: 22px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  line-height: 1.02;
  letter-spacing: -0.07em;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 4.6vw, 3.65rem);
  line-height: 1.06;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 4.5vw, 4.4rem);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  line-height: 1.2;
}

.hero-text,
.about-card:not(.about-card--solo) p {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.06rem;
}

.featured,
.categories,
.process,
.about-section,
.contact {
  padding: 88px 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.filter-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--muted);
  background: #fafafa;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.8125rem;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, transform 180ms ease;
}

.filter-button:hover {
  background: #ffffff;
}

.filter-button:hover,
.filter-button.active {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-1px);
}

.filter-button.active {
  background: #ffffff;
}

.listing-grid,
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.listing-card,
.category-card,
.about-card,
.process-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 20px 60px rgba(15, 15, 15, 0.04);
}

.listing-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  min-height: 100%;
  transition: border-color 260ms ease, box-shadow 260ms ease;
  cursor: pointer;
}

.listing-card:hover {
  border-color: rgba(143, 13, 23, 0.22);
  box-shadow: var(--shadow);
}

.listing-card-media {
  position: relative;
  aspect-ratio: 8 / 5;
  width: 100%;
  background: #f0f0f0;
  padding: 12px;
  box-sizing: border-box;
}

.listing-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.listing-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 24px;
}

.listing-name {
  margin: 0 0 8px;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
  color: var(--ink);
}

.listing-price {
  margin: 0 0 12px;
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.listing-desc {
  margin: 0 0 20px;
  flex: 1;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.58;
}

.listing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.listing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.listing-btn-site {
  color: var(--red);
  background: #ffffff;
  border-color: var(--red);
}

.listing-btn-site:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(143, 13, 23, 0.12);
}

.listing-btn-disabled {
  cursor: not-allowed;
  opacity: 0.45;
  border-color: var(--line);
  color: var(--muted);
  box-shadow: none;
}

.listing-btn-disabled:hover {
  transform: none;
}

.listing-btn-whatsapp {
  color: #ffffff;
  background: #25d366;
  border-color: #1ebe5d;
}

.listing-btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(30, 190, 93, 0.35);
}

.category-card {
  min-height: 100%;
  padding: 24px;
  transform-style: preserve-3d;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.category-card:hover,
.about-card:hover {
  border-color: rgba(143, 13, 23, 0.22);
  box-shadow: var(--shadow);
}

.category-card span,
.steps span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--red);
  font-weight: 900;
}

.category-card p,
.steps p {
  color: var(--muted);
}

.process-panel {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 36px;
  padding: 34px;
  background: var(--surface-strong);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.steps div {
  border: 1px solid rgba(143, 13, 23, 0.12);
  border-radius: 24px;
  padding: 20px;
  background: #ffffff;
}

.about-section {
  display: block;
}

.about-card {
  padding: 34px;
}

.about-card--solo {
  max-width: 640px;
  padding: 24px 26px;
}

.about-card--solo .eyebrow {
  margin-bottom: 8px;
}

.about-card--solo h2 {
  margin-bottom: 12px;
  font-size: clamp(1.2rem, 2.5vw, 1.68rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.about-card--solo p {
  margin-bottom: 12px;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--muted);
}

.about-card--solo p:last-child {
  margin-bottom: 0;
}

.contact {
  display: block;
  max-width: 520px;
}

.contact-whatsapp {
  max-width: 480px;
}

.contact-heading {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.contact-lead {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.62;
}

.whatsapp-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.94rem;
  color: #ffffff;
  background: #25d366;
  border: 1px solid #1ebe5d;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(30, 190, 93, 0.32);
}

.contact-phone {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-phone-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 36px 0;
}

.footer-brand strong {
  display: block;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--red);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroBannerFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (min-width: 1100px) {
  .hero-inner {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 48px);
  }

  .hero-visual {
    max-width: min(100%, 980px);
  }
}

@media (max-width: 980px) {
  .hero-inner,
  .process-panel {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .hero-visual {
    order: -1;
    justify-self: stretch;
    max-width: none;
  }

  .listing-grid,
  .category-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .navbar,
  .section-shell,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .navbar {
    min-height: 74px;
  }

  .brand img,
  .footer-brand img {
    width: 42px;
    height: 42px;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-open .nav-links {
    position: fixed;
    inset: 74px 14px auto;
    display: grid;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 18px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .nav-open .nav-links a {
    padding: 12px;
  }

  .nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero-inner,
  .featured,
  .categories,
  .process,
  .about-section,
  .contact {
    padding: 58px 0;
  }

  .hero-title {
    max-width: none;
    font-size: clamp(1.3rem, 5.5vw, 1.85rem);
  }

  .hero-banner-crop {
    aspect-ratio: 16 / 10;
  }

  .hero-visual {
    justify-self: stretch;
    max-width: none;
  }

  .hero-banner-stage {
    animation-duration: 11s;
  }

  .hero-banner-card {
    transform: rotateY(-2deg) rotateX(1deg);
  }

  .listing-grid,
  .category-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

body.modal-open {
  overflow: hidden;
}

.listing-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(12px, 4vw, 28px);
  box-sizing: border-box;
}

.listing-modal[hidden] {
  display: none;
}

.listing-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 21, 21, 0.45);
  cursor: pointer;
}

.listing-modal-panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.listing-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.listing-modal-close:hover {
  border-color: var(--red);
  color: var(--red);
}

.listing-modal-iframe {
  display: block;
  width: 100%;
  flex: 1;
  min-height: min(78vh, 760px);
  border: 0;
  background: #fafafa;
}

.asset-detail-page {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
}

#asset-detail-root {
  padding: clamp(16px, 3vw, 28px);
}

.asset-detail-inner {
  max-width: 720px;
  margin: 0 auto;
}

.asset-detail-media {
  margin-bottom: 22px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.asset-detail-media img {
  width: 100%;
  height: auto;
  max-height: min(58vh, 520px);
  object-fit: contain;
  display: block;
}

.asset-detail-name {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.asset-detail-price {
  margin: 0 0 16px;
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--red);
}

.asset-detail-desc {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.asset-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.asset-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.asset-detail-btn-buy {
  color: #ffffff;
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 10px 24px rgba(143, 13, 23, 0.22);
}

.asset-detail-btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(143, 13, 23, 0.28);
}

.asset-detail-btn-wa {
  color: #ffffff;
  background: #25d366;
  border-color: #1ebe5d;
}

.asset-detail-btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(30, 190, 93, 0.35);
}

.asset-detail-btn-disabled {
  cursor: not-allowed;
  opacity: 0.5;
  box-shadow: none;
}

.asset-detail-btn-disabled:hover {
  transform: none;
}

.asset-detail-error {
  max-width: 400px;
  margin: 40px auto;
  padding: 20px;
  color: var(--muted);
  text-align: center;
}

.asset-detail-error a {
  color: var(--red);
  font-weight: 700;
}
