/* ============================================================
   OXALIS — YARDOS PAGE CSS
   Built from Figma: YardOS page
   ============================================================ */

/* ─── PAGE & LIGHT FRAME ────────────────────────────────────── */
.ox-yardos-page {
  background: #FAF4E5;
}
.ox-yardos-light {
  background: #FAF4E5;
  padding: 0 179px;
  box-sizing: border-box;
  display: flow-root;
}

/* ─── SECTION 1: HERO ───────────────────────────────────────── */
.ox-yardos-hero {
  background: #FAF4E5;
  padding: 0 179px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  min-height: 640px;
}
.ox-yardos-hero__seagull {
  position: absolute;
  left: 803px; /* anchored next to the text: 179px padding + 600px lockup + 24px gap */
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}
.ox-yardos-hero__lockup {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 80px 0 80px;
  max-width: 600px;
}
.ox-yardos-hero__h1 {
  font-family: 'Tenez', serif;
  font-weight: 400;
  font-size: 68px;
  line-height: 105%;
  letter-spacing: -0.02em;
  color: #13252A;
  margin: 0;
}
.ox-yardos-hero__divider {
  width: 100%;
  height: 2px;
  border: none;
  margin: 0;
  background: linear-gradient(to right, #13252A 24px, rgba(19,37,42,0.2) 24px, rgba(19,37,42,0.2) calc(100% - 24px), #13252A calc(100% - 24px));
}
.ox-yardos-hero__intro {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 160%;
  color: #13252A;
  margin: 0;
  max-width: 563px;
}
.ox-yardos-hero__cta {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  gap: 12px;
  background: #FAE6CE;
  border: 1px solid #FF6600;
  text-decoration: none;
  cursor: pointer;
}
.ox-yardos-hero__cta-label {
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #13252A;
}
.ox-yardos-hero__cta:hover { background: #f5d5b0; }

/* ─── HERO RESPONSIVE: stack image below text on narrow viewports ─ */
@media (max-width: 1300px) {
  .ox-yardos-hero {
    padding: 0 48px;
    min-height: 0;
  }
  .ox-yardos-hero__lockup {
    max-width: 100%;
    padding: 64px 0 32px;
  }
  .ox-yardos-hero__seagull {
    position: static;
    transform: none;
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 0 auto 64px;
  }
}

/* ─── DIVIDER STROKE ────────────────────────────────────────── */
.ox-yardos-stroke {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  height: 2px;
  margin: 32px 0;
}
.ox-yardos-stroke__cap {
  display: block;
  width: 24px;
  height: 2px;
  background: #13252A;
  flex-shrink: 0;
}
.ox-yardos-stroke__line {
  display: block;
  flex: 1;
  height: 2px;
  background: rgba(19,37,42,0.2);
}

/* ─── SECTION 2: ORIGIN ─────────────────────────────────────── */
.ox-yardos-origin {
  background: #FAF4E5;
  padding: 0 179px;
  box-sizing: border-box;
  display: flow-root;
}
.ox-yardos-origin__row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  padding: 0 0 64px;
}
.ox-yardos-origin__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  flex: 0 0 514px;
}
.ox-yardos-origin__quote {
  font-family: 'Tenez', serif;
  font-weight: 400;
  font-size: 46px;
  line-height: 105%;
  color: #13252A;
  margin: 0;
}
.ox-yardos-origin__body {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 160%;
  color: #13252A;
  margin: 0;
}
.ox-yardos-origin__screenshot {
  flex: 1 1 514px;
  align-self: stretch;
  min-height: 400px;
  background: #1F3035;
  border: 1px solid #717C7F;
  overflow: hidden;
  position: relative;
}
.ox-yardos-origin__screenshot img {
  position: absolute;
  top: -4%;
  left: -128px;
  width: 240%;
  max-width: 1240px;
  height: auto;
  display: block;
}

/* ─── SECTION 3: PLATFORM ───────────────────────────────────── */
.ox-yardos-platform {
  background: #FAF4E5;
  padding: 0 179px;
  box-sizing: border-box;
  display: flow-root;
}
.ox-yardos-platform__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.ox-yardos-platform__h2 {
  font-family: 'Tenez', serif;
  font-weight: 400;
  font-size: 46px;
  line-height: 105%;
  color: #13252A;
  margin: 0;
}
.ox-yardos-platform__intro {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 160%;
  color: #13252A;
  margin: 0;
}
.ox-yardos-platform__deck {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
}
.ox-yardos-platform__card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 16px 24px 24px;
  gap: 24px;
  flex: 1;
  background: #FAEDDA;
  border: 1px solid #717C7F;
  margin-right: -1px;
}
.ox-yardos-platform__card-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.ox-yardos-platform__card-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.ox-yardos-platform__card-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.ox-yardos-platform__card-title {
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: #13252A;
  margin: 0;
}
.ox-yardos-platform__card-divider {
  width: 100%;
  height: 1px;
  background: #717C7F;
  border: none;
  margin: 0;
}
.ox-yardos-platform__card-body {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 21px;
  color: #13252A;
  margin: 0;
}

/* ─── SECTION 4: STATS ──────────────────────────────────────── */
.ox-yardos-stats {
  background: #FAF4E5;
  padding: 0 179px;
  box-sizing: border-box;
  display: flow-root;
}
.ox-yardos-stats__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.ox-yardos-stats__h2 {
  font-family: 'Tenez', serif;
  font-weight: 400;
  font-size: 46px;
  line-height: 105%;
  color: #13252A;
  margin: 0;
}
.ox-yardos-stats__intro {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 160%;
  color: #13252A;
  margin: 0;
}
.ox-yardos-stats__deck {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 59px;
  width: 100%;
}
.ox-yardos-stats__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 16px;
  gap: 8px;
  flex: 1;
  border-bottom: none;
}
.ox-yardos-stats__number {
  font-family: 'Tenez', serif;
  font-weight: 400;
  font-size: 77px;
  line-height: 105%;
  letter-spacing: -0.02em;
  text-align: center;
  color: #CC5200;
  margin: 0;
  width: 100%;
}
.ox-yardos-stats__label {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 160%;
  text-align: center;
  color: #13252A;
  margin: 0;
  width: 100%;
}

/* ─── SECTION 5: SOLUTIONS ──────────────────────────────────── */
.ox-yardos-solutions {
  background: #FAF4E5;
  padding: 0 179px;
  box-sizing: border-box;
  display: flow-root;
}
.ox-yardos-solutions__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.ox-yardos-solutions__h2 {
  font-family: 'Tenez', serif;
  font-weight: 400;
  font-size: 46px;
  line-height: 105%;
  color: #13252A;
  margin: 0;
}
.ox-yardos-solutions__intro {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 160%;
  color: #13252A;
  margin: 0;
}
.ox-yardos-solutions__list {
  display: flex;
  flex-direction: column;
  width: 100%;
}
/* Each solution row: number box + content card */
.ox-yardos-sol {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  width: 100%;
  margin-bottom: -1px;
}
.ox-yardos-sol__number {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 54px;
  height: 54px;
  align-self: flex-start;
  background: #FD9F5C;
  border: 1px solid #717C7F;
  margin-right: -1px;
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 120%;
  text-align: center;
  letter-spacing: -0.02em;
  color: #13252A;
  flex-shrink: 0;
}
.ox-yardos-sol__card {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex: 1;
  background: #FAEDDA;
  border: 1px solid #717C7F;
}
.ox-yardos-sol__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 0 20px 24px;
  gap: 24px;
  flex: 1;
}
.ox-yardos-sol__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.ox-yardos-sol__eyebrow {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 105%;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #13252A;
  margin: 0;
}
.ox-yardos-sol__title {
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: #13252A;
  margin: 0;
}
.ox-yardos-sol__desc {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 160%;
  color: #13252A;
  margin: 0;
}
.ox-yardos-sol__tags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0;
}
.ox-yardos-sol__tag {
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 8px 16px;
  height: 34px;
  background: #FAF4E5;
  border: 1px solid #717C7F;
  margin-right: -1px;
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 18px;
  color: #13252A;
  white-space: nowrap;
}
.ox-yardos-sol__cta {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  gap: 12px;
  background: #FAE6CE;
  border: 1px solid #FF6600;
  text-decoration: none;
  cursor: pointer;
}
.ox-yardos-sol__cta-label {
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #13252A;
}
.ox-yardos-sol__cta:hover { background: #f5d5b0; }
/* Right badge column */
.ox-yardos-sol__badge-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding: 0;
  flex-shrink: 0;
}
.ox-yardos-sol__badge {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 8px 12px;
  gap: 8px;
  background: #FD9F5C;
  border: 1px solid #717C7F;
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 13px;
  line-height: 20px;
  color: #13252A;
  white-space: nowrap;
}
.ox-yardos-sol__badge--partner {
  background: #FAF4E5;
}

/* ─── CONTACT FORM (dark) ────────────────────────────────────── */
.ox-yardos-form {
  background: #13252A;
  padding: 0 179px;
  box-sizing: border-box;
  display: flow-root;
}
.ox-yardos-form__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0 0 80px;
}
.ox-yardos-form__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
.ox-yardos-form__h2 {
  font-family: 'Tenez', serif;
  font-weight: 400;
  font-size: 46px;
  line-height: 105%;
  text-transform: capitalize;
  color: #F3F4F4;
  margin: 0;
}
.ox-yardos-form__intro {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 160%;
  color: #F3F4F4;
  margin: 0;
}
.ox-yardos-form__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ox-yardos-form__row {
  display: flex;
  flex-direction: row;
  gap: 24px;
  width: 100%;
}
.ox-yardos-form__field {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.ox-yardos-form__label {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 105%;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #F3F4F4;
}
.ox-yardos-form__input {
  box-sizing: border-box;
  width: 100%;
  height: 34px;
  background: #1F3035;
  border: 1px solid #717C7F;
  color: #F3F4F4;
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  padding: 0 12px;
  outline: none;
}
.ox-yardos-form__input:focus { border-color: #FF6600; }
.ox-yardos-form__req {
  color: #FF6600;
  margin-left: 2px;
}
.ox-yardos-form__textarea {
  box-sizing: border-box;
  width: 100%;
  height: 129px;
  background: #1F3035;
  border: 1px solid #717C7F;
  color: #F3F4F4;
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  padding: 12px;
  outline: none;
  resize: vertical;
}
.ox-yardos-form__textarea:focus { border-color: #FF6600; }
.ox-yardos-form__submit {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  gap: 12px;
  background: #1F3035;
  border: 1px solid #FF6600;
  cursor: pointer;
  width: fit-content;
}
.ox-yardos-form__submit-label {
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #F3F4F4;
}
.ox-yardos-form__submit:hover { background: #263e44; }

/* eyebrow light variant (dark text on light bg) */
.ox-yardos-eyebrow {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.ox-yardos-eyebrow__dot {
  display: block;
  width: 8px;
  height: 8px;
  background: #FF6600;
  border: 4px solid #FDAD73;
  border-radius: 0;
  flex-shrink: 0;
}
.ox-yardos-eyebrow__label {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #13252A;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */

/* Reduce horizontal padding on laptop/tablet so content has room. */
@media (max-width: 1300px) {
  .ox-yardos-light,
  .ox-yardos-origin,
  .ox-yardos-platform,
  .ox-yardos-stats,
  .ox-yardos-solutions,
  .ox-yardos-form {
    padding-left: 48px;
    padding-right: 48px;
  }
}

/* Origin: stack screenshot below text on narrow viewports. */
@media (max-width: 1100px) {
  .ox-yardos-origin__row {
    flex-direction: column;
    gap: 32px;
  }
  .ox-yardos-origin__content {
    flex: 0 0 auto;
    width: 100%;
  }
  .ox-yardos-origin__screenshot {
    flex: 0 0 auto;
    width: 100%;
    height: 360px;
    min-height: 0;
    align-self: auto;
  }
}

/* Platform deck + Stats deck: 3-up → 1-up below 900px (allow 2-up at 901-1100). */
@media (max-width: 1100px) {
  .ox-yardos-platform__deck,
  .ox-yardos-stats__deck {
    flex-wrap: wrap;
  }
  .ox-yardos-platform__card {
    flex: 1 1 calc(50% - 1px);
    min-width: 0;
    margin-bottom: -1px;
  }
  .ox-yardos-stats__stat {
    flex: 1 1 calc(50% - 32px);
    min-width: 0;
  }
}
@media (max-width: 700px) {
  .ox-yardos-platform__deck,
  .ox-yardos-stats__deck {
    flex-direction: column;
  }
  .ox-yardos-platform__card,
  .ox-yardos-stats__stat {
    flex: 1 1 auto;
    width: 100%;
  }
}

/* Solutions cards: stack inner row (badge column drops below body) on narrow. */
@media (max-width: 900px) {
  .ox-yardos-sol__card {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .ox-yardos-sol__badge-col {
    align-self: flex-start;
  }
}

/* Form row: side-by-side fields stack on narrow. */
@media (max-width: 700px) {
  .ox-yardos-form__row {
    flex-direction: column;
    gap: 24px;
  }
  .ox-yardos-form__field {
    width: 100%;
  }
}

/* Tighten side padding further on phones. */
@media (max-width: 600px) {
  .ox-yardos-light,
  .ox-yardos-hero,
  .ox-yardos-origin,
  .ox-yardos-platform,
  .ox-yardos-stats,
  .ox-yardos-solutions,
  .ox-yardos-form {
    padding-left: 24px;
    padding-right: 24px;
  }
  .ox-yardos-hero__h1 {
    font-size: 44px;
  }
  .ox-yardos-origin__quote,
  .ox-yardos-platform__h2,
  .ox-yardos-stats__h2,
  .ox-yardos-solutions__h2,
  .ox-yardos-form__h2 {
    font-size: 32px;
  }
}