:root {
  --bg: #f4eee3;
  --card: #ffffff;
  --primary: #21160f;
  --primaryText: #ffffff;
  --text: #21170f;
  --muted: #746354;
  --accent: #b45309;
  --accentDark: #92400e;
  --accentSoft: #ffedd5;
  --soft: #f8efe4;
  --line: rgba(36, 21, 13, 0.13);
  --shadow: 0 24px 72px rgba(36, 21, 13, 0.17);
  --focusRing: rgba(180, 83, 9, 0.42);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  overflow-x: hidden;
}

body {
  min-height: 100dvh;
  background: var(--card);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.lightboxOpen {
  overflow: hidden;
}

a,
button {
  color: inherit;
  cursor: pointer;
}

a {
  text-decoration: none;
}

button {
  font-family: inherit;
}

img {
  max-width: 100%;
}

i {
  line-height: 1;
}

.tradePage {
  width: 100%;
  min-height: 100dvh;
  background: var(--card);
}

.tradeCard {
  width: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
}

@media (min-width: 768px) {
  body,
  .tradePage {
    background:
      radial-gradient(circle at top, rgba(180, 83, 9, 0.18), transparent 34rem),
      var(--bg);
  }

  .tradePage {
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
  }

  .tradeCard {
    max-width: 430px;
    min-height: auto;
    border: 1px solid rgba(36, 21, 13, 0.08);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
}

.tradeHero {
  position: relative;
  height: 305px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--primary);
}

.tradeHero img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--heroPosition, center center);
}

.heroOverlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(33, 22, 15, 0.96), rgba(33, 22, 15, 0.44), rgba(33, 22, 15, 0.08)),
    linear-gradient(135deg, rgba(180, 83, 9, 0.42), transparent 45%);
}

.shareBtn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  display: grid;
  width: 2.85rem;
  height: 2.85rem;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
  transition: transform 0.18s ease;
}

.shareBtn:hover,
.btn:hover,
.quickLink:hover,
.serviceBtn:hover,
.packageCard a:hover,
.finalCta a:hover,
.floatingWhatsapp:hover {
  transform: translateY(-2px);
}

.heroText {
  position: absolute;
  left: 1rem;
  right: 4.8rem;
  bottom: 4.95rem;
  z-index: 2;
  color: #ffffff;
}

.heroText p,
.sectionTitle p,
.finalCta p {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.heroText p {
  color: rgba(255, 255, 255, 0.76);
}

.heroText h1 {
  margin: 0.42rem 0 0;
  color: #ffffff;
  font-size: clamp(2rem, 10vw, 2.95rem);
  font-weight: 950;
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.tradeContent {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.brandPanel {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: center;
  margin-top: -4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  padding: 0.85rem;
  box-shadow: 0 18px 42px rgba(36, 21, 13, 0.15);
  backdrop-filter: blur(14px);
}

.brandMark {
  display: grid;
  width: 4.9rem;
  height: 4.9rem;
  place-items: center;
  overflow: hidden;
  border: 2px solid #ffffff;
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 18%, rgba(245, 158, 11, 0.9), transparent 55%),
    var(--primary);
  color: var(--primaryText);
  font-size: 1rem;
  font-weight: 950;
}

.brandMark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brandInfo {
  min-width: 0;
}

.status {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  background: var(--accentSoft);
  color: var(--accentDark);
  padding: 0.38rem 0.62rem;
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brandInfo h2 {
  margin: 0.45rem 0 0;
  color: var(--text);
  font-size: 1.42rem;
  font-weight: 950;
  line-height: 1.03;
  overflow-wrap: anywhere;
}

.brandInfo p,
.description,
.serviceInfo p,
.packageCard p,
.processStep p,
.galleryItem span,
.finalCta span {
  color: var(--muted);
  line-height: 1.45;
}

.brandInfo p {
  margin: 0.35rem 0 0;
  font-size: 0.86rem;
  font-weight: 720;
}

.description {
  margin: 1rem 0 0;
  font-size: 0.96rem;
  font-weight: 620;
}

.mainActions {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

@media (min-width: 380px) {
  .mainActions {
    grid-template-columns: 1.25fr 0.75fr;
  }
}

.btn,
.serviceBtn,
.packageCard a,
.finalCta a,
.floatingWhatsapp {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 950;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btnPrimary,
.finalCta a,
.floatingWhatsapp {
  background: var(--accent);
  color: #ffffff;
}

.btnSecondary {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btnSecondary:hover {
  background: var(--primary);
  color: var(--primaryText);
}

.quickLinks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.quickLink {
  display: grid;
  gap: 0.42rem;
  min-height: 76px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 0.7rem 0.4rem;
  text-align: center;
  transition: transform 0.18s ease;
}

.quickIcon {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primaryText);
}

.quickLink span:last-child {
  font-size: 0.7rem;
  font-weight: 900;
}

.trustSection,
.serviceSection,
.packageSection,
.gallerySection,
.processSection,
.infoPanel,
.finalCta {
  margin-top: 1.2rem;
}

.trustList {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--primary);
}

.trustItem {
  padding: 0.85rem 0.55rem;
  color: #ffffff;
  text-align: center;
}

.trustItem + .trustItem {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.trustItem strong {
  display: block;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 950;
}

.trustItem span {
  display: block;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
}

.sectionTitle {
  border-top: 1px solid var(--line);
  padding-top: 1.15rem;
}

.sectionTitle p {
  color: var(--accentDark);
}

.sectionTitle h2 {
  margin: 0.3rem 0 0;
  color: var(--text);
  font-size: 1.3rem;
  font-weight: 950;
  line-height: 1.08;
}

.serviceList,
.packageList,
.processList {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.serviceCard,
.packageCard,
.processStep,
.infoPanel > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.serviceCard {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  padding: 0.9rem;
}

.serviceIcon {
  display: grid;
  width: 2.45rem;
  height: 2.45rem;
  place-items: center;
  border-radius: 999px;
  background: var(--accentSoft);
  color: var(--accentDark);
}

.serviceInfo h3,
.packageCard h3,
.processStep h3 {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.15;
}

.serviceInfo p,
.packageCard p,
.processStep p {
  margin: 0.35rem 0 0;
  font-size: 0.84rem;
  font-weight: 620;
}

.serviceBtn {
  width: 100%;
  min-height: 40px;
  margin-top: 0.75rem;
  background: var(--primary);
  color: var(--primaryText);
}

.packageCard {
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(180, 83, 9, 0.12), transparent 42%),
    #ffffff;
}

.packageBadge {
  display: inline-flex;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primaryText);
  padding: 0.35rem 0.58rem;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.packageCard h3 {
  margin-top: 0.55rem;
}

.packageFooter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.95rem;
  border-top: 1px solid var(--line);
  padding-top: 0.8rem;
}

.packageFooter strong {
  color: var(--accentDark);
  font-size: 1.05rem;
  font-weight: 950;
}

.packageFooter a {
  min-height: 38px;
  background: var(--accent);
  color: #ffffff;
  padding: 0 0.8rem;
  font-size: 0.78rem;
}

.galleryList {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.galleryFilters {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.95rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}

.galleryFilter {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  padding: 0.52rem 0.82rem;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: capitalize;
}

.galleryFilter.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.galleryItem {
  position: relative;
  min-height: 9.5rem;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  padding: 0;
  color: inherit;
  text-align: left;
  transition: transform 0.18s ease;
}

.galleryItem:hover {
  transform: translateY(-2px);
}

.galleryItem:nth-child(2),
.galleryItem:nth-child(3) {
  min-height: 4.45rem;
}

.galleryItem:first-child {
  grid-row: span 2;
}

.galleryItem img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.galleryItem::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(36, 21, 13, 0.72), transparent 62%);
}

.galleryItem span {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.65rem;
  z-index: 2;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 900;
}

.galleryLightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(25, 18, 14, 0.94);
  padding: 4.5rem 1.25rem;
}

.galleryLightbox.open {
  display: flex;
}

.lightboxFigure {
  width: min(100%, 760px);
  margin: 0;
  text-align: center;
}

.lightboxFigure img {
  width: 100%;
  max-height: 68dvh;
  display: block;
  object-fit: contain;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.3);
}

.lightboxFigure figcaption {
  min-height: 1.2rem;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 600;
}

.lightboxClose,
.lightboxArrow {
  position: absolute;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.18s ease, transform 0.18s ease;
}

.lightboxClose:hover,
.lightboxArrow:hover {
  color: #ffffff;
  transform: scale(1.06);
}

.lightboxClose {
  top: 1.3rem;
  right: 1.25rem;
  width: 2.6rem;
  height: 2.6rem;
  font-size: 1.65rem;
}

.lightboxArrow {
  top: 50%;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  font-size: 1.2rem;
  transform: translateY(-50%);
}

.lightboxArrow:hover {
  transform: translateY(-50%) scale(1.06);
}

.lightboxPrev {
  left: 0.55rem;
}

.lightboxNext {
  right: 0.55rem;
}

.processStep {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  padding: 0.9rem;
}

.processNumber {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 950;
}

.infoPanel {
  display: grid;
  gap: 0.7rem;
}

.infoPanel > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: center;
  background: var(--soft);
  padding: 0.9rem;
}

.infoPanel > div > span {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
}

.infoPanel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.infoPanel strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.3;
}

.finalCta {
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 10%, rgba(245, 158, 11, 0.48), transparent 34%),
    var(--primary);
  color: var(--primaryText);
  padding: 1.15rem;
}

.finalCta p {
  color: rgba(255, 255, 255, 0.62);
}

.finalCta h2 {
  margin: 0.35rem 0 0;
  color: #ffffff;
  font-size: 1.48rem;
  font-weight: 950;
  line-height: 1.05;
}

.finalCta span {
  display: block;
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 650;
}

.finalCta a {
  width: 100%;
  margin-top: 1rem;
}

.footer {
  margin-top: auto;
  padding-top: 1rem;
  padding-bottom: 0.25rem;
  text-align: center;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.floatingWhatsapp {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 20;
  min-height: 48px;
  padding: 0 1rem;
  box-shadow: 0 16px 42px rgba(36, 21, 13, 0.25);
}

a:focus-visible,
button:focus-visible {
  outline: 4px solid var(--focusRing);
  outline-offset: 4px;
}

@media (max-width: 370px) {
  .quickLinks,
  .trustList,
  .galleryList {
    grid-template-columns: 1fr;
  }

  .trustItem + .trustItem {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .galleryItem,
  .galleryItem:nth-child(2),
  .galleryItem:nth-child(3) {
    min-height: 8rem;
  }

  .galleryItem:first-child {
    grid-row: auto;
  }

  .serviceCard,
  .processStep {
    grid-template-columns: 1fr;
  }

  .packageFooter {
    align-items: flex-start;
    flex-direction: column;
  }

  .packageFooter a {
    width: 100%;
  }

  .heroText {
    right: 1rem;
  }
}