@font-face {
  font-family: 'Literature Decor';
  src: url('/local/components/centrano/landing-auction/templates/.default/fonts/Literature-Decor.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geologica';
  src: url('/local/components/centrano/landing-auction/templates/.default/fonts/Geologica/static/Geologica-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geologica';
  src: url('/local/components/centrano/landing-auction/templates/.default/fonts/Geologica/static/Geologica-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --au-navy: #14203a;
  --au-gold: #ead0a7;
  --au-light: #f4f4f4;
  --au-white: #fff;
  --au-font-display: 'Literature Decor', 'Times New Roman', serif;
  --au-font-body: 'Geologica', sans-serif;
  --au-max: 390px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--au-navy);
}

.auction-page-wrap,
.auction-page {
  max-width: var(--au-max);
  margin: 0 auto;
  overflow-x: hidden;
}

.auction-page {
  background: var(--au-navy);
  color: var(--au-white);
  font-family: var(--au-font-body);
}

.auction-page img {
  max-width: 100%;
  display: block;
  max-height: 280px;
  margin-bottom: 30px;
}

.auction-page a {
  color: inherit;
}

/* Hero */
.au-hero {
  padding: 41px 20px 0;
  text-align: center;
}

.au-hero__title {
  margin: 0 0 8px;
  font-family: var(--au-font-display);
  font-weight: 400;
  line-height: 1.165;
}

.au-hero__title-top {
  display: block;
  font-size: 26px;
  color: var(--au-white);
  letter-spacing: 0.02em;
}

.au-hero__title-main {
  display: block;
  font-size: 65px;
  color: var(--au-gold);
  line-height: 1;
  padding: 15px 0;
  padding-bottom: 10px;
}

.au-hero__date {
  margin: 0 0 45px;
  font-family: var(--au-font-display);
  font-size: 29px;
  line-height: 1.165;
  color: var(--au-gold);
}

.au-hero__visual {
  position: relative;
  margin: 0 -101px;
  width: 552px;
  min-height: 519px;
}

.au-hero__building-wrap {
  position: relative;
  width: 552px;
  height: 367px;
  overflow: hidden;
}

.au-hero__building {
  position: absolute;
  top: 4.5%;
  left: 0;
  width: 100%;
  height: 100.27%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}

.au-hero__wave {
  position: absolute;
  left: 50%;
  top: 292px;
  width: 391px;
  height: 227px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;
}

.au-hero__wave img {
  position: absolute;
  top: -3.96%;
  right: -1.02%;
  bottom: 0;
  left: -1.02%;
  display: block;
  width: calc(100% + 2.04%);
  height: calc(100% + 3.96%);
  max-width: none;
}

.au-hero__seal {
  position: absolute;
  left: 50%;
  top: 283px;
  width: 141px;
  height: 141px;
  transform: translateX(-50%);
  object-fit: cover;
  z-index: 3;
}

/* Sections */
.au-section-title {
  max-width: 350px;
  margin: 0 auto 24px;
  font-family: var(--au-font-display);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.165;
  text-align: center;
  word-break: break-word;
  color: var(--au-white);
}

.au-section-title--light {
  color: var(--au-white);
}

.au-laurel {
  width: 350px;
  max-width: 100%;
  height: 26px;
  margin: 0 auto 24px;
  overflow: hidden;
}

.au-laurel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.au-text {
  margin: 0 0 24px;
  font-family: var(--au-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: var(--au-white);
  text-align: center;
  font-variation-settings: 'CRSV' 0, 'SHRP' 0;
}

.au-text--center {
  text-align: center;
}

/* Mission */
.au-mission {
  padding: 40px 20px 0;
  padding-top: 0;
  margin-top: -70px;
  z-index: 9;
  position: relative;
}

.au-mission__icon {
  display: block;
  height: 74px;
  margin: 40px auto 24px;
  object-fit: contain;
}

.au-mission__icon--book {
  width: 85px;
}

.au-mission__icon--map {
  width: 136px;
}

.au-mission__icon--heart {
  width: 88px;
}

.au-mission__cta {
  max-width: 350px;
  margin: 45px auto 24px;
  font-family: var(--au-font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.165;
  text-align: center;
  word-break: break-word;
  background-image:
    linear-gradient(90deg, #fff 0%, #fff 100%),
    linear-gradient(93.05deg, #9f6817 0.63%, #fdf4c9 35.98%, #af7e2a 84.24%);
  -webkit-background-clip: text, text;
  background-clip: text, text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Criteria */
.au-criteria {
  padding: 48px 20px 0;
}

.au-criteria .au-section-title {
  margin-bottom: 10px;
}

.au-criteria__intro {
  max-width: 350px;
  margin: 0 auto 40px;
}

.au-criteria__intro p {
  margin: 0;
  font-family: var(--au-font-body);
  line-height: 20px;
  font-variation-settings: 'CRSV' 0, 'SHRP' 0;
}

.au-criteria__track {
  display: flex;
  gap: 16px;
  margin: 0 -20px;
  padding: 0 20px 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 20px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.au-criteria__track::-webkit-scrollbar {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .au-criteria__track {
    cursor: grab;
  }

  .au-criteria__track.is-dragging {
    scroll-snap-type: none;
    cursor: grabbing;
    user-select: none;
  }
}

.au-criteria__card {
  flex: 0 0 264px;
  scroll-snap-align: start;
}

.au-criteria__card-img {
  display: block;
  width: 264px;
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Form */
.au-form {
  padding: 40px 20px 48px;
  background: var(--au-light);
  color: var(--au-navy);
}

.au-form__title {
  margin: 0 0 32px;
  font-family: var(--au-font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.165;
  text-align: center;
  color: var(--au-navy);
}

.au-form__title span {
  font-size: 36px;
}

.au-form__fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.au-field {
  position: relative;
  display: block;
}

.au-field__label {
  position: absolute;
  left: 16px;
  top: 15px;
  font-family: var(--au-font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.165;
  color: var(--au-navy);
  pointer-events: none;
  font-variation-settings: 'CRSV' 0, 'SHRP' 0;
  transition: opacity 0.15s ease;
}

.au-field:has(.au-field__input:focus) .au-field__label,
.au-field:has(.au-field__input:not(:placeholder-shown)) .au-field__label {
  opacity: 0;
}

.au-field__input {
  width: 100%;
  height: 52px;
  padding: 15px 24px 15px 16px;
  border: 1px solid var(--au-navy);
  border-radius: 5px;
  background: var(--au-white);
  color: var(--au-navy);
  font-family: var(--au-font-body);
  font-size: 16px;
}

.au-field__textarea {
  height: 95px;
  padding: 15px 24px 15px 16px;
  resize: vertical;
}

.au-field__req {
  position: absolute;
  right: 10px;
  top: 3px;
  font-size: 16px;
  font-weight: 600;
  font-style: italic;
  color: var(--au-navy);
}

.au-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 63px;
  margin-top: 4px;
  padding: 20px 28px;
  border: 0;
  border-radius: 5px;
  background: var(--au-navy);
  color: var(--au-white);
  font-family: var(--au-font-display);
  font-size: 20px;
  line-height: 1.165;
  cursor: pointer;
}

.au-form__submit:hover {
  opacity: 0.92;
}

.au-form__submit:disabled {
  opacity: 0.7;
  cursor: default;
}

.au-form__message {
  max-width: 350px;
  margin: 0 auto 24px;
  font-family: var(--au-font-body);
  font-size: 16px;
  line-height: 20px;
  text-align: center;
}

.au-form__message[hidden] {
  display: none;
}

.au-form__message--success {
  color: #1f6b3f;
}

.au-form__message--error {
  color: #9b2c2c;
}

/* Footer */
.au-footer {
  padding: 44px 20px 32px;
  background: var(--au-navy);
  color: var(--au-light);
}

.au-footer__logo {
  width: 175px;
  height: auto;
  margin: 0 auto 24px;
}

.au-footer__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 43px;
  margin-bottom: 40px;
  padding: 0 28px;
  border-radius: 5px;
  background: var(--au-light);
  color: var(--au-navy) !important;
  font-family: var(--au-font-display);
  font-size: 20px;
  line-height: 1.165;
  text-decoration: none;
  white-space: nowrap;
}

.au-footer__heading {
  margin: 0 0 12px;
  font-family: var(--au-font-display);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.165;
  color: var(--au-light);
}

.au-footer__text {
  margin: 0 0 10px;
  font-family: var(--au-font-body);
  font-size: 14px;
  line-height: 18px;
  font-variation-settings: 'CRSV' 0, 'SHRP' 0;
}

.au-footer__text a {
  text-decoration: none;
}

.au-footer__divider {
  width: 100%;
  height: 1px;
  margin: 24px 0;
}

.au-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}

.au-footer__link {
  font-family: var(--au-font-body);
  font-size: 14px;
  line-height: 1.165;
  text-decoration: none;
  font-variation-settings: 'CRSV' 0, 'SHRP' 0;
}

.au-footer__copy {
  margin: 24px 0 0;
  font-family: var(--au-font-display);
  font-size: 20px;
  line-height: 1.165;
  text-align: center;
}

/* Desktop: keep mobile layout centered */
@media (min-width: 391px) {
  body {
    background: #0d1528;
  }

  .auction-page-wrap {
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.35);
  }
}
