/* ==========================================================================
   Stavio landing page
   Fonts: Archivo = Latin display + body, Noto Sans Armenian = Armenian,
   JetBrains Mono = labels/numbers. Subsets load only when a page uses them.
   ========================================================================== */

/* Archivo */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* JetBrains Mono (one file covers weights 400–600) */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Noto Sans Armenian */
@font-face {
  font-family: 'Noto Sans Armenian';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62.5% 100%;
  font-display: swap;
  src: url('../fonts/noto-sans-armenian-armenian.woff2') format('woff2');
  unicode-range: U+0308, U+0530-058F, U+2010, U+2024, U+25CC, U+FB13-FB17;
}
@font-face {
  font-family: 'Noto Sans Armenian';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62.5% 100%;
  font-display: swap;
  src: url('../fonts/noto-sans-armenian-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Noto Sans Armenian';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62.5% 100%;
  font-display: swap;
  src: url('../fonts/noto-sans-armenian-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  /* Brand */
  --stavio-orange: #E0763A;
  --stavio-orange-deep: #C25A22;
  --stavio-orange-tint: #FBEDE4;
  --stavio-black: #000000;
  --stavio-white: #FFFFFF;
  /* Neutrals */
  --ink-900: #141414;
  --ink-700: #3A3A3A;
  --ink-500: #6E6E6E;
  --ink-300: #BDBDBD;
  --ink-200: #E3E3E3;
  --ink-100: #F2F2F2;
  --ink-50: #F8F8F7;
  /* Semantic */
  --success: #2E7D4F;
  --danger: #C2362B;

  --font-body: 'Archivo', 'Noto Sans Armenian', sans-serif;
  --font-armenian: 'Noto Sans Armenian', 'Archivo', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius-sm: 2px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --dur-fast: 120ms;

  --gutter: clamp(20px, 4vw, 48px);
  --section-pad: clamp(56px, 8vw, 96px);
  --header-offset: 76px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  font-family: var(--font-body);
  color: var(--ink-900);
  -webkit-font-smoothing: antialiased;
}
h1, h2, p { margin: 0; }
a { color: var(--stavio-orange-deep); }
a:hover { color: var(--stavio-orange); }
[hidden] { display: none !important; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section-anchor { scroll-margin-top: var(--header-offset); }

/* Typography helpers */
.eyebrow {
  font: 600 16px/1.2 var(--font-mono);
  color: var(--stavio-orange-deep);
}
.h2 {
  font: 700 clamp(28px, 3.2vw, 40px)/1.15 var(--font-armenian);
  text-wrap: balance;
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   Logo
   ========================================================================== */
.logo {
  display: block;
  flex: none;
  align-self: flex-start;
  height: 30px;
  width: auto;
}
.logo--white { color: #fff; }
.logo--orange { color: var(--stavio-orange); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out);
}
.btn--lg { height: 52px; padding: 0 24px; font-size: 17px; }

.btn--primary { background: var(--stavio-orange); color: #fff; }
.btn--primary:hover { background: var(--stavio-orange-deep); color: #fff; }

.btn--secondary { background: var(--stavio-black); color: #fff; }
.btn--secondary:hover { background: var(--ink-700); color: #fff; }

.btn--outline { background: transparent; color: var(--ink-900); border-color: var(--ink-900); }
.btn--outline:hover { background: var(--ink-100); color: var(--ink-900); }

.btn--inverse { background: #fff; color: var(--stavio-orange-deep); }
.btn--inverse:hover { background: var(--stavio-orange-tint); color: var(--stavio-orange-deep); }

.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn--primary:disabled:hover { background: var(--stavio-orange); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  background: var(--stavio-orange);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.site-header__logo { display: flex; text-decoration: none; }
.site-nav {
  display: flex;
  gap: 24px;
  flex: 1;
  justify-content: flex-end;
}
.site-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.site-nav a:hover { color: #fff; text-decoration: underline; }
.site-header__cta { flex: none; }

@media (max-width: 979.98px) {
  .site-nav { display: none; }
  .site-header__cta { margin-left: auto; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { background: var(--stavio-orange); color: #fff; }
.hero__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-top: clamp(40px, 7vw, 88px);
  padding-bottom: clamp(48px, 8vw, 104px);
}
.hero__text { display: flex; flex-direction: column; gap: 24px; }
.hero__eyebrow { font: 600 16px/1.2 var(--font-mono); letter-spacing: .04em; }
.hero__title {
  font: 700 clamp(32px, 4.6vw, 54px)/1.1 var(--font-armenian);
  color: #fff;
  text-wrap: balance;
}
.hero__lead {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  max-width: 540px;
  text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero__picture { display: block; }
.hero__image { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }

/* ==========================================================================
   Core message (3-step flow)
   ========================================================================== */
.flow { background: #fff; }
.flow__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(48px, 7vw, 88px);
}
.flow__item {
  max-width: 720px;
  padding: 22px 28px;
  display: flex;
  gap: 20px;
  align-items: baseline;
  border: 1.5px solid;
}
.flow__num { font: 600 14px var(--font-mono); flex: none; }
.flow__text { font-size: clamp(18px, 2.2vw, 24px); font-weight: 600; line-height: 1.3; }
.flow__item--1 { margin-left: 0; background: #000; color: #fff; border-color: #000; }
.flow__item--2 { margin-left: clamp(0px, 8vw, 120px); background: #fff; color: var(--ink-900); border-color: var(--ink-900); }
.flow__item--3 { margin-left: clamp(0px, 16vw, 240px); background: var(--stavio-orange); color: #fff; border-color: var(--stavio-orange); }

/* ==========================================================================
   Services
   ========================================================================== */
.services { background: var(--ink-50); }
.services__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}
.services .section-head { max-width: 640px; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-sm);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-card__num { font: 600 13px var(--font-mono); color: var(--stavio-orange-deep); }
.service-card__title { font-size: 20px; font-weight: 600; line-height: 1.3; }
.service-card__desc { font-size: 15px; line-height: 1.6; color: var(--ink-500); }

/* ==========================================================================
   Why Stavio
   ========================================================================== */
.why { background: #fff; }
.why__inner {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 64px);
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}
.why .section-head { flex: 1 1 300px; }
.why__lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-700);
  max-width: 420px;
  text-wrap: pretty;
}
.why__grid {
  flex: 2 1 480px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  column-gap: 40px;
}
.value {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 0;
  border-top: 1px solid var(--ink-200);
}
.value__title { font-size: 18px; font-weight: 600; }
.value__desc { font-size: 15px; line-height: 1.55; color: var(--ink-500); }

/* ==========================================================================
   How it works
   ========================================================================== */
.process { background: #000; color: #fff; }
.process__inner {
  display: flex;
  flex-direction: column;
  gap: 44px;
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}
.process .section-head { max-width: 680px; }
.process .eyebrow { color: var(--stavio-orange); }
.process .h2 { color: #fff; }
.process__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 32px;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 2px solid var(--stavio-orange);
  padding-top: 20px;
}
.step__num { font: 700 28px/1 var(--font-mono); color: var(--stavio-orange); }
.step__title { font-size: 18px; font-weight: 600; line-height: 1.35; }
.step__desc { font-size: 15px; line-height: 1.55; color: var(--ink-300); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--stavio-orange); color: #fff; }
.contact__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}
.contact__info { display: flex; flex-direction: column; gap: 24px; }
.contact__title {
  font: 700 clamp(28px, 3.4vw, 44px)/1.15 var(--font-armenian);
  color: #fff;
  text-wrap: balance;
}
.contact__lead { font-size: 17px; line-height: 1.6; max-width: 480px; }
.contact__list {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, .5);
}
.contact__row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .5);
  align-items: baseline;
}
.contact__key { font: 500 12px var(--font-mono); letter-spacing: .04em; }
.contact__value { color: #fff; font-size: 18px; font-weight: 600; text-decoration: none; }
.contact__value:hover { color: #fff; text-decoration: underline; }

.contact__card {
  background: #fff;
  color: var(--ink-900);
  border-radius: var(--radius-sm);
  padding: clamp(24px, 3vw, 36px);
}

/* Success state */
.contact-success { display: flex; flex-direction: column; gap: 16px; padding: 24px 0; }
.contact-success__label { font: 600 13px var(--font-mono); color: var(--success); }
.contact-success__text { font-size: 24px; font-weight: 700; line-height: 1.3; }

/* Form */
.contact-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 18px;
}
.contact-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.field { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-body); }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: 13px; font-weight: 600; color: var(--ink-900); }
.field__input,
.field__textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink-900);
  background: #fff;
  border: 1.5px solid var(--ink-300);
  border-radius: var(--radius-sm);
  outline: none;
}
.field__input { height: 42px; padding: 0 12px; }
.field__textarea { line-height: 1.5; padding: 10px 12px; resize: vertical; }
.field__input:focus,
.field__textarea:focus {
  border-color: var(--stavio-orange);
  box-shadow: 0 0 0 3px var(--stavio-orange-tint);
}
.contact-form__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}
.contact-form__note { font-size: 13px; color: var(--ink-500); }
.contact-form__error {
  grid-column: 1 / -1;
  font-size: 14px;
  line-height: 1.5;
  color: var(--danger);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #fff; color: var(--ink-700); border-top: 1px solid var(--ink-200); }
.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 28px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 32px;
}
.site-footer__brand { display: flex; flex-direction: column; gap: 16px; }
.site-footer__tagline { font-size: 14px; line-height: 1.6; max-width: 260px; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer__heading { font: 12px var(--font-mono); color: var(--ink-500); }
.site-footer__col a { color: var(--ink-700); text-decoration: none; }
.site-footer__col a:hover { color: var(--ink-900); }
.site-footer__bottom {
  border-top: 1px solid var(--ink-200);
  padding-top: 20px;
  font-size: 13px;
  color: var(--ink-500);
}
