:root {
  --green-950: #032d1d;
  --green-900: #063f28;
  --green-800: #0b5436;
  --green-100: #dcebe3;
  --red-800: #860d0a;
  --red-700: #a21510;
  --gold-700: #7b640e;
  --cream: #f7f4ee;
  --paper: #fffdf9;
  --ink: #171b19;
  --muted: #66716b;
  --line: #d9ddd9;
  --white: #ffffff;
  --shadow: 0 26px 70px rgba(3, 45, 29, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-180%);
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--white);
  background: var(--green-900);
}

.skip-link:focus {
  transform: translateY(0);
}

.topline {
  color: var(--white);
  background: var(--green-950);
  font-size: 0.875rem;
}

.topline__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
}

.topline a {
  font-weight: 750;
  letter-spacing: 0.02em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(3, 45, 29, 0.08);
  background: rgba(255, 253, 249, 0.95);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  min-height: 150px;
}

.brand {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
}

.brand img {
  width: min(42vw, 480px);
  height: 136px;
  object-fit: contain;
  object-position: center;
}

.desktop-nav {
  display: flex;
  grid-column: 1;
  grid-row: 1;
  align-items: center;
  justify-self: start;
  gap: 26px;
  color: #344039;
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-wrap > .button {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.desktop-nav a,
.text-link,
.social-links a {
  transition: color 160ms ease;
}

.desktop-nav a:hover,
.text-link:hover,
.social-links a:hover {
  color: var(--red-800);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 760;
  line-height: 1.2;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.image-button:focus-visible,
.text-link:focus-visible,
.image-dialog__close:focus-visible,
.floating-whatsapp:focus-visible {
  outline: 3px solid #e6bb44;
  outline-offset: 4px;
}

.button--small {
  min-height: 42px;
  padding: 9px 19px;
  font-size: 0.9rem;
}

.button--outline {
  border-color: var(--green-900);
  color: var(--green-900);
}

.button--primary {
  color: var(--white);
  background: var(--red-800);
  box-shadow: 0 12px 28px rgba(134, 13, 10, 0.22);
}

.button--primary:hover {
  background: var(--red-700);
}

.button--ghost {
  border-color: #bdc7c0;
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.6);
}

.button--whatsapp {
  color: var(--white);
  background: #17794a;
  box-shadow: 0 12px 28px rgba(5, 83, 47, 0.24);
}

.button--whatsapp:hover {
  background: #0d633a;
}

.button--large {
  min-height: 58px;
  padding-inline: 28px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 94px;
  background:
    radial-gradient(circle at 80% 15%, rgba(11, 84, 54, 0.13), transparent 30%),
    linear-gradient(135deg, #fffdf9 0%, #f7f4ee 100%);
}

.hero::before {
  position: absolute;
  top: 40px;
  left: -180px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(134, 13, 10, 0.12);
  border-radius: 50%;
  content: "";
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.78fr);
  gap: 80px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-800);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 30px;
  height: 2px;
  background: var(--red-800);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--green-950);
  letter-spacing: -0.035em;
}

h1 {
  max-width: 650px;
  margin: 22px 0 24px;
  font-size: clamp(3.1rem, 6vw, 5.3rem);
  line-height: 0.98;
}

.hero__copy > p {
  max-width: 620px;
  margin-bottom: 32px;
  color: #48534d;
  font-size: 1.18rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__trust {
  display: flex;
  gap: 42px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #d8d7d1;
}

.hero__trust div {
  display: grid;
  gap: 2px;
}

.hero__trust strong {
  color: var(--green-950);
  font-size: 1.08rem;
}

.hero__trust span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-phone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1px 22px;
  align-items: center;
  width: min(100%, 520px);
  margin-top: 24px;
  border-left: 5px solid var(--red-800);
  border-radius: 4px 16px 16px 4px;
  padding: 16px 20px;
  color: var(--white);
  background: var(--green-900);
  box-shadow: 0 14px 34px rgba(3, 45, 29, 0.15);
  transition: transform 160ms ease, background 160ms ease;
}

.hero-phone:hover {
  transform: translateY(-2px);
  background: var(--green-800);
}

.hero-phone > span {
  color: #bcdac8;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-phone strong {
  grid-row: 2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-phone small {
  grid-column: 2;
  grid-row: 1 / 3;
  color: #e5f3eb;
  font-size: 0.82rem;
  font-weight: 750;
  white-space: nowrap;
}

.portrait-card {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1;
  justify-self: end;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: var(--shadow);
}

.portrait-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}

.auction {
  padding: 90px 0 100px;
  color: var(--white);
  background: var(--green-950);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading h2,
.about h2,
.contact h2 {
  margin: 10px 0 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
}

.section-heading--light h2 {
  color: var(--white);
}

.section-heading--light .section-kicker {
  color: #b9dcc8;
}

.auction-status {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 10px 18px;
  color: #d5e9dd;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.86rem;
  font-weight: 750;
}

.auction__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 48px;
  align-items: start;
}

.auction__facts {
  display: grid;
  grid-template-columns: 0.8fr 0.7fr 1.4fr;
  gap: 12px;
}

.fact-card {
  display: flex;
  min-height: 145px;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
}

.fact-card__label {
  margin-bottom: 10px;
  color: #9cc8af;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.fact-card strong {
  line-height: 1.25;
}

.fact-card > span:last-child {
  margin-top: 5px;
  color: #c5d8cd;
  font-size: 0.86rem;
}

.auction__terms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 34px;
}

.auction__terms span {
  padding: 8px 13px;
  border-radius: 999px;
  color: #ffe7e5;
  background: var(--red-800);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lots {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}

.lots__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.lots__heading h3 {
  margin: 0;
  font-size: 1.2rem;
}

.lots__heading span {
  color: #9cc8af;
  font-size: 0.86rem;
  font-weight: 700;
}

.lot-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lot-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lot-list li:last-child {
  border-bottom: 0;
}

.lot-list li > span {
  color: #e5b0ac;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 700;
}

.lot-list li div {
  display: grid;
  gap: 3px;
}

.lot-list strong {
  line-height: 1.35;
}

.lot-list small {
  color: #aac0b3;
  font-size: 0.82rem;
  line-height: 1.45;
}

.auction__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  padding: 24px 26px;
  border-radius: var(--radius-md);
  color: var(--ink);
  background: var(--white);
}

.auction__cta > div {
  display: grid;
  gap: 2px;
}

.auction__cta span {
  color: var(--muted);
  font-size: 0.88rem;
}

.auction__poster {
  position: sticky;
  top: 150px;
}

.image-button {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  padding: 0;
  cursor: zoom-in;
  background: var(--white);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24);
}

.image-button img {
  width: 100%;
}

.image-button span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(3, 45, 29, 0.9);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 750;
}

.text-link {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  border: 0;
  padding: 10px;
  color: #d7e9de;
  background: transparent;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 750;
  cursor: pointer;
}

.about {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 90px;
  align-items: center;
}

.about__mark {
  position: relative;
  display: grid;
  width: min(100%, 380px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--green-100);
}

.about__mark::before,
.about__mark::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.about__mark::before {
  inset: -18px;
  border: 1px solid rgba(134, 13, 10, 0.28);
}

.about__mark::after {
  inset: 16px;
  border: 1px solid rgba(3, 45, 29, 0.18);
}

.about__mark img {
  width: 74%;
  border-radius: 50%;
  mix-blend-mode: multiply;
}

.about__copy p {
  max-width: 680px;
  margin: 25px 0 34px;
  color: #505b55;
  font-size: 1.08rem;
}

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

.about__meta div {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.about__meta span {
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about__meta strong {
  color: var(--green-900);
  font-size: 0.95rem;
}

.contact {
  padding: 84px 0;
  color: var(--white);
  background: var(--red-800);
}

.contact .section-kicker {
  color: #f4c3bf;
}

.contact h2 {
  color: var(--white);
}

.contact p {
  margin: 12px 0 0;
  color: #f5d4d1;
  font-size: 1.05rem;
}

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

.contact__actions {
  display: grid;
  gap: 16px;
  justify-items: end;
}

.social-links {
  display: flex;
  gap: 22px;
  color: #ffe4e2;
  font-size: 0.92rem;
  font-weight: 750;
}

.site-footer {
  padding: 34px 0;
  background: var(--white);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-footer img {
  width: 250px;
  height: 70px;
  object-fit: contain;
  object-position: left center;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: right;
}

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  gap: 10px;
  border: 3px solid var(--white);
  border-radius: 999px;
  padding: 11px 18px 11px 12px;
  color: var(--white);
  background: #147944;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
  background: #0d633a;
}

.floating-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.image-dialog {
  width: min(92vw, 860px);
  max-height: 92vh;
  border: 0;
  border-radius: 20px;
  padding: 12px;
  background: var(--white);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.4);
}

.image-dialog::backdrop {
  background: rgba(0, 23, 14, 0.84);
  backdrop-filter: blur(5px);
}

.image-dialog img {
  width: 100%;
  max-height: calc(92vh - 24px);
  border-radius: 12px;
  object-fit: contain;
}

.image-dialog__close {
  position: fixed;
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: var(--white);
  background: rgba(0, 0, 0, 0.55);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.7fr);
    gap: 42px;
  }

  .auction__layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
  }

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

  .fact-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .topline {
    display: none;
  }

  .nav-wrap {
    grid-template-columns: 1fr;
    min-height: 126px;
    gap: 14px;
  }

  .brand {
    grid-column: 1;
    justify-self: center;
  }

  .brand img {
    width: min(92vw, 350px);
    height: 108px;
  }

  .nav-wrap > .button {
    display: none;
  }

  .hero {
    padding: 54px 0 64px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.25rem);
  }

  .hero__copy > p {
    font-size: 1.04rem;
  }

  .hero__actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero__trust {
    gap: 28px;
  }

  .hero-phone {
    grid-template-columns: 1fr;
  }

  .hero-phone small {
    grid-column: 1;
    grid-row: auto;
    margin-top: 6px;
  }

  .portrait-card {
    width: min(100%, 470px);
    justify-self: center;
  }

  .auction,
  .about {
    padding: 68px 0 76px;
  }

  .section-heading {
    display: grid;
    gap: 20px;
    align-items: start;
  }

  .auction-status {
    justify-self: start;
  }

  .auction__layout,
  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .auction__poster {
    position: static;
    width: min(100%, 480px);
    margin-inline: auto;
  }

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

  .fact-card {
    min-height: 130px;
    padding: 18px;
  }

  .auction__cta {
    display: grid;
  }

  .about__mark {
    width: min(82%, 340px);
    margin-inline: auto;
  }

  .about__grid {
    gap: 60px;
  }

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

  .contact {
    padding: 66px 0 82px;
  }

  .contact__inner,
  .site-footer__inner {
    display: grid;
  }

  .contact__actions {
    width: 100%;
    justify-items: stretch;
  }

  .social-links {
    justify-content: center;
  }

  .site-footer__inner {
    justify-items: center;
  }

  .site-footer img {
    width: 230px;
    object-position: center;
  }

  .site-footer p {
    text-align: center;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    padding-right: 14px;
  }

  .floating-whatsapp span {
    display: none;
  }
}

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

  .fact-card:last-child {
    grid-column: auto;
  }

  .hero__trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .portrait-card__seal {
    width: 64px;
    height: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
