/* ==========================================================================
   UCGP-AM: site stylesheet, built on the VILO UI Kit
   1. Tokens       VILO UI Kit tokens (colour, radius, spacing, shadow, focus).
                   Brand colours come from the UCGP-AM logo: orange #d35904,
                   charcoal #232322 and cream #fef8f1. The neutral is VILO's
                   gray-warm ramp; the primary ramp is built around the logo orange.
   2. Base         element defaults
   3. Components   VILO UI Kit components used on the site
   4. Layout       header, sections, cards and page layouts
   5. Pages        page-specific blocks
   6. Small screens
   ========================================================================== */

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
  /* Inter has no Armenian letters; the browser takes them from Noto Sans Armenian. */
  --font-sans: "Inter", "Noto Sans Armenian", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --base-white: #ffffff;
  /* VILO gray-warm ramp */
  --gray-25: #fdfdfc;
  --gray-50: #fafaf9;
  --gray-100: #f5f5f4;
  --gray-200: #e7e5e4;
  --gray-300: #d7d3d0;
  --gray-400: #a9a29d;
  --gray-500: #79716b;
  --gray-600: #57534e;
  --gray-700: #44403c;
  --gray-800: #292524;
  --gray-900: #1c1917;
  --gray-950: #171412;

  /* Primary ramp around the logo orange. 500 is the logo orange itself (icons, large
     accents); 600 is the fill behind white text (4.8:1, the logo orange is 4.0:1). */
  --primary-25: #fffcf9;
  --primary-50: #fef8f1;
  --primary-100: #fdebd8;
  --primary-200: #fad3ae;
  --primary-300: #f5ad73;
  --primary-400: #ea8237;
  --primary-500: #d35904;
  --primary-600: #bf5003;
  --primary-700: #9c4204;
  --primary-800: #7c3507;
  --primary-900: #5f2a08;
  --primary-950: #3a1905;

  --surface-cream: #fef8f1;
  --surface-dark: #232322;

  --success-50: #ecfdf3;
  --success-200: #abefc6;
  --success-500: #17b26a;
  --success-600: #079455;
  --success-700: #067647;
  --warning-400: #fdb022;
  --error-50: #fef3f2;
  --error-100: #fee4e2;
  --error-300: #fda29b;
  --error-500: #f04438;
  --error-600: #d92d20;
  --error-700: #b42318;
  --blue-light-50: #f0f9ff;
  --blue-light-200: #b9e6fe;
  --blue-light-700: #026aa2;
  --indigo-50: #eef4ff;
  --indigo-200: #c7d7fe;
  --indigo-700: #3538cd;

  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 12px;
  --radius-2xl: 16px;
  --radius-3xl: 24px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px 0 rgba(28,25,23,0.05);
  --shadow-sm: 0 1px 3px 0 rgba(28,25,23,0.10), 0 1px 2px 0 rgba(28,25,23,0.06);
  --shadow-md: 0 4px 8px -2px rgba(28,25,23,0.10), 0 2px 4px -2px rgba(28,25,23,0.06);
  --shadow-lg: 0 12px 16px -4px rgba(28,25,23,0.08), 0 4px 6px -2px rgba(28,25,23,0.03);
  --shadow-xl: 0 20px 24px -4px rgba(28,25,23,0.08), 0 8px 8px -4px rgba(28,25,23,0.03);
  --shadow-2xl: 0 24px 48px -12px rgba(28,25,23,0.18);
  --shadow-3xl: 0 32px 64px -12px rgba(28,25,23,0.14);
  --focus-ring-primary-100: 0 0 0 4px #fdebd8;
  --focus-ring-primary-500: 0 0 0 4px #ea8237;
  --focus-ring-gray-500: 0 0 0 4px #79716b;
  --shadow-xs-focused-primary-100: 0 0 0 4px #fdebd8, 0 1px 2px 0 rgba(28,25,23,0.05);
  --shadow-xs-focused-gray-100: 0 0 0 4px #f5f5f4, 0 1px 2px 0 rgba(28,25,23,0.05);
  --shadow-xs-focused-error-100: 0 0 0 4px #fee4e2, 0 1px 2px 0 rgba(28,25,23,0.05);
  --background-blur-sm: blur(8px);

  --container: 1280px;
  --container-pad: 32px;
  --header-h: 80px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--base-white);
  color: var(--gray-600);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
}
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; }
h1, h2, h3, h4, h5, h6 { color: var(--gray-900); font-weight: 600; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: none; }
a:focus-visible { border-radius: var(--radius-xs); box-shadow: var(--focus-ring-primary-100); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  padding: 8px 14px; border-radius: var(--radius-md);
  background: var(--primary-600); color: var(--base-white); font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ==========================================================================
   3. Components (VILO UI Kit; used variants only)
   ========================================================================== */

/* --- Button ------------------------------------------------------------------
   <a|button class="vilo-button vilo-button--{sm|lg|xl|2xl} vilo-button--{hierarchy}"> */
.vilo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: transparent;
  color: inherit;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.vilo-button svg { flex: none; width: 20px; height: 20px; }
.vilo-button--sm { padding: 8px 14px; }
.vilo-button--lg { padding: 10px 18px; font-size: 16px; line-height: 24px; }
.vilo-button--xl { padding: 12px 20px; font-size: 16px; line-height: 24px; }
.vilo-button--2xl { padding: 16px 28px; gap: 12px; font-size: 18px; line-height: 28px; }
.vilo-button--2xl svg { width: 24px; height: 24px; }
.vilo-button--icon { padding: 10px; }
.vilo-button--icon.vilo-button--lg { padding: 12px; }

.vilo-button--primary { background: var(--primary-600); border-color: var(--primary-600); color: var(--base-white); box-shadow: var(--shadow-xs); }
.vilo-button--primary:hover { background: var(--primary-700); border-color: var(--primary-700); }
.vilo-button--primary:active { background: var(--primary-800); border-color: var(--primary-800); }
.vilo-button--primary:focus-visible { box-shadow: var(--shadow-xs-focused-primary-100); }
.vilo-button--primary:disabled { background: var(--primary-200); border-color: var(--primary-200); box-shadow: none; cursor: not-allowed; }

.vilo-button--secondary-gray { background: var(--base-white); border-color: var(--gray-300); color: var(--gray-700); box-shadow: var(--shadow-xs); }
.vilo-button--secondary-gray:hover { background: var(--gray-50); color: var(--gray-800); }
.vilo-button--secondary-gray:focus-visible { box-shadow: var(--shadow-xs-focused-gray-100); }

.vilo-button--secondary-color { background: var(--primary-50); border-color: var(--primary-300); color: var(--primary-700); box-shadow: var(--shadow-xs); }
.vilo-button--secondary-color:hover { background: var(--primary-100); color: var(--primary-800); }
.vilo-button--secondary-color:focus-visible { box-shadow: var(--shadow-xs-focused-primary-100); }

.vilo-button--tertiary-gray { color: var(--gray-600); }
.vilo-button--tertiary-gray:hover { background: var(--gray-50); color: var(--gray-700); }
.vilo-button--tertiary-gray:focus-visible { box-shadow: var(--focus-ring-primary-100); }

.vilo-button--link-color { padding: 0; border: 0; color: var(--primary-700); }
.vilo-button--link-color:hover { color: var(--primary-800); }
.vilo-button--link-gray { padding: 0; border: 0; color: var(--gray-600); }
.vilo-button--link-gray:hover { color: var(--gray-700); }
.vilo-button--link-color:focus-visible,
.vilo-button--link-gray:focus-visible { border-radius: var(--radius-xs); box-shadow: var(--focus-ring-primary-100); }

/* On dark grounds the system asks for a gray-500 or primary-500 ring. */
.on-dark .vilo-button--secondary-gray:focus-visible,
.on-dark .vilo-button--primary:focus-visible,
.on-dark a:focus-visible { box-shadow: var(--focus-ring-primary-500); }
.on-dark .vilo-button--ghost { border-color: rgba(255,255,255,0.24); color: var(--base-white); }
.on-dark .vilo-button--ghost:hover { background: rgba(255,255,255,0.08); }

/* --- Badge -------------------------------------------------------------------
   <span class="vilo-badge vilo-badge--{sm|md|lg} vilo-badge--{color}"> */
.vilo-badge {
  --badge-50: var(--gray-50);
  --badge-200: var(--gray-200);
  --badge-500: var(--gray-500);
  --badge-700: var(--gray-700);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  background: var(--badge-50);
  color: var(--badge-700);
  box-shadow: inset 0 0 0 1px var(--badge-200);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  white-space: nowrap;
}
.vilo-badge--sm { padding: 2px 8px; font-size: 12px; line-height: 18px; }
.vilo-badge--lg { padding: 4px 12px; }
.vilo-badge--primary { --badge-50: var(--primary-50); --badge-200: var(--primary-200); --badge-500: var(--primary-500); --badge-700: var(--primary-700); }
.vilo-badge--success { --badge-50: var(--success-50); --badge-200: var(--success-200); --badge-500: var(--success-500); --badge-700: var(--success-700); }
.vilo-badge--blue-light { --badge-50: var(--blue-light-50); --badge-200: var(--blue-light-200); --badge-700: var(--blue-light-700); }
.vilo-badge--indigo { --badge-50: var(--indigo-50); --badge-200: var(--indigo-200); --badge-700: var(--indigo-700); }
.vilo-badge--modern { background: var(--base-white); color: var(--gray-700); box-shadow: inset 0 0 0 1px var(--gray-300), var(--shadow-xs); border-radius: var(--radius-sm); }
.vilo-badge svg { flex: none; width: 12px; height: 12px; color: var(--gray-500); }
.vilo-badge__dot { flex: none; width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--badge-500); }
.vilo-badge--modern .vilo-badge__dot { background: var(--success-500); }

/* --- Badge group ("Small, middle & enterprise businesses") -------------------- */
.vilo-badge-group {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 4px 10px 4px 4px;
  border-radius: var(--radius-full);
  background: var(--primary-50);
  color: var(--primary-700);
  box-shadow: inset 0 0 0 1px var(--primary-200);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}
.vilo-badge-group .vilo-badge { box-shadow: inset 0 0 0 1px var(--primary-200); background: var(--base-white); }
.vilo-badge-group svg { width: 16px; height: 16px; flex: none; }
.on-dark .vilo-badge-group { background: rgba(255,255,255,0.06); color: var(--gray-200); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); }
.on-dark .vilo-badge-group .vilo-badge { background: var(--primary-600); color: var(--base-white); box-shadow: none; }

/* --- Featured icon ------------------------------------------------------------ */
.featured-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-xl);
  background: var(--base-white);
  color: var(--primary-600);
  box-shadow: inset 0 0 0 1px var(--gray-200), var(--shadow-xs);
}
.featured-icon img, .featured-icon svg { width: 24px; height: 24px; }
.featured-icon--light { background: var(--primary-100); box-shadow: none; border-radius: var(--radius-full); }
.featured-icon--light-outline { background: var(--primary-100); box-shadow: 0 0 0 8px var(--primary-50); border-radius: var(--radius-full); }

/* --- Input and textarea ----------------------------------------------------- */
.vilo-input, .vilo-textarea { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.vilo-input__label, .vilo-textarea__label { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--gray-700); }
.vilo-input__label .req { color: var(--primary-600); }
.vilo-input__field {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  background: var(--base-white);
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 0 1px var(--gray-300), var(--shadow-xs);
  transition: box-shadow 120ms ease;
}
.vilo-input__field > svg { flex: none; width: 20px; height: 20px; color: var(--gray-500); }
.vilo-input__control, .vilo-textarea__control {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gray-900);
  font-family: inherit;
  font-size: 16px;
  line-height: 24px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.vilo-input__control::placeholder, .vilo-textarea__control::placeholder { color: var(--gray-500); opacity: 1; }
.vilo-input__field:focus-within { box-shadow: inset 0 0 0 1px var(--primary-300), var(--shadow-xs-focused-primary-100); }
.vilo-textarea__control {
  display: block;
  min-height: 128px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--base-white);
  box-shadow: inset 0 0 0 1px var(--gray-300), var(--shadow-xs);
  resize: vertical;
  transition: box-shadow 120ms ease;
}
.vilo-textarea__control:focus { box-shadow: inset 0 0 0 1px var(--primary-300), var(--shadow-xs-focused-primary-100); }
.vilo-input__hint, .vilo-textarea__hint { font-size: 14px; line-height: 20px; color: var(--gray-600); }
.is-invalid .vilo-input__field { box-shadow: inset 0 0 0 1px var(--error-300), var(--shadow-xs); }
.is-invalid .vilo-input__field:focus-within { box-shadow: inset 0 0 0 1px var(--error-300), var(--shadow-xs-focused-error-100); }
.is-invalid .vilo-textarea__control { box-shadow: inset 0 0 0 1px var(--error-300), var(--shadow-xs); }
.is-invalid .vilo-input__hint, .is-invalid .vilo-textarea__hint { color: var(--error-600); }

/* --- Checkbox ----------------------------------------------------------------- */
.vilo-checkbox { position: relative; display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.vilo-checkbox__input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: inherit; }
.vilo-checkbox__box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: var(--base-white);
  color: var(--primary-600);
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.vilo-checkbox__box svg { display: none; width: 14px; height: 14px; }
.vilo-checkbox__input:checked + .vilo-checkbox__box { background: var(--primary-50); border-color: var(--primary-600); }
.vilo-checkbox__input:checked + .vilo-checkbox__box svg { display: block; }
.vilo-checkbox__input:focus-visible + .vilo-checkbox__box { box-shadow: var(--focus-ring-primary-100); border-color: var(--primary-300); }
.vilo-checkbox:hover .vilo-checkbox__box { background: var(--primary-100); border-color: var(--primary-600); }
.vilo-checkbox__label { font-size: 14px; line-height: 24px; font-weight: 500; color: var(--gray-700); }

/* --- Button group (tabs and segmented filters) -------------------------------- */
.vilo-button-group {
  display: inline-flex;
  max-width: 100%;
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 0 1px var(--gray-300), var(--shadow-xs);
  overflow: hidden;
}
.vilo-button-group__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 16px;
  border: 0;
  border-left: 1px solid var(--gray-300);
  background: var(--base-white);
  color: var(--gray-700);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.vilo-button-group__item:first-child { border-left: 0; }
.vilo-button-group__item:hover { background: var(--gray-50); color: var(--gray-800); }
.vilo-button-group__item[aria-selected="true"],
.vilo-button-group__item[aria-pressed="true"] { background: var(--gray-50); color: var(--gray-800); }
.vilo-button-group__item:focus-visible { position: relative; z-index: 1; box-shadow: var(--focus-ring-primary-100); }
.vilo-button-group__count {
  padding: 0 8px;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
}

/* --- Avatar ------------------------------------------------------------------- */
.vilo-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--primary-50);
  color: var(--primary-600);
  box-shadow: inset 0 0 0 .75px rgba(28,25,23,0.08);
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
}

/* ==========================================================================
   4. Layout
   ========================================================================== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--container-pad); }
.container--sm { max-width: calc(720px + 2 * var(--container-pad)); }
.container--md { max-width: calc(768px + 2 * var(--container-pad)); }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--gray { background: var(--surface-cream); }
.section--top-0 { padding-top: 0; }
.section--dark { background: var(--surface-dark); color: var(--gray-300); }

/* Section heading: eyebrow, title, supporting text */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 64px; }
.section-head__text { max-width: 768px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .section-head__text { margin: 0 auto; }
.eyebrow { display: block; margin-bottom: 12px; color: var(--primary-700); font-size: 16px; line-height: 24px; font-weight: 600; }
.on-dark .eyebrow { color: var(--primary-300); }
.h1 { font-size: 60px; line-height: 72px; letter-spacing: -0.02em; }
.h2 { font-size: 36px; line-height: 44px; letter-spacing: -0.02em; }
.h3 { font-size: 30px; line-height: 38px; }
.h4 { font-size: 24px; line-height: 32px; }
.lead { margin-top: 20px; font-size: 20px; line-height: 30px; color: var(--gray-600); }
.section-head .lead { margin-top: 16px; }
.on-dark .h1, .on-dark .h2, .on-dark .h3, .on-dark .h4 { color: var(--base-white); }
.on-dark .lead { color: var(--gray-300); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.section-head .actions { margin-top: 0; flex: none; }

/* --- Site header ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: var(--background-blur-sm);
  backdrop-filter: var(--background-blur-sm);
  border-bottom: 1px solid var(--gray-200);
}
.site-header__inner { display: flex; align-items: center; gap: 40px; height: var(--header-h); }
.site-header__logo { display: inline-flex; flex: none; }
.site-header__logo img { width: 191px; height: 32px; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.site-nav a {
  padding: 8px 12px;
  border-radius: var(--radius-md);
  color: var(--gray-600);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  transition: background-color .15s ease, color .15s ease;
}
.site-nav a:hover { background: var(--gray-50); color: var(--gray-700); }
.site-nav a[aria-current="page"] { color: var(--primary-700); background: var(--primary-50); }
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.menu-button { display: none; }

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 49;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 16px 16px 24px;
  background: var(--base-white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a { padding: 12px; border-radius: var(--radius-md); color: var(--gray-900); font-size: 16px; line-height: 24px; font-weight: 600; }
.mobile-menu nav a:hover, .mobile-menu nav a[aria-current="page"] { background: var(--gray-50); }
.mobile-menu .actions { flex-direction: column; margin-top: 24px; }
.mobile-menu .actions .vilo-button { width: 100%; }

/* --- Site footer ------------------------------------------------------------ */
.site-footer { padding: 64px 0 48px; border-top: 1px solid var(--gray-200); background: var(--base-white); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 1.2fr; gap: 32px 48px; }
.site-footer__brand img { width: 215px; height: 36px; }
.site-footer__brand p { max-width: 320px; margin-top: 24px; }
.site-footer h2 { margin-bottom: 16px; color: var(--gray-500); font-size: 14px; line-height: 20px; font-weight: 600; }
.site-footer ul { display: flex; flex-direction: column; gap: 12px; padding: 0; list-style: none; }
.site-footer ul a { color: var(--gray-600); font-weight: 600; }
.site-footer ul a:hover { color: var(--gray-700); }
.site-footer address { font-style: normal; }
.site-footer__contact { display: flex; flex-direction: column; gap: 16px; }
.site-footer__contact dt { color: var(--gray-500); font-size: 14px; line-height: 20px; }
.site-footer__contact dd { margin: 2px 0 0; color: var(--gray-900); font-weight: 500; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
  color: var(--gray-500);
}
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.site-footer__legal a { color: var(--gray-500); }
.site-footer__legal a:hover { color: var(--gray-700); }

/* --- Cards --------------------------------------------------------------------- */
.grid { display: grid; gap: 32px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-2xl);
  background: var(--base-white);
  box-shadow: inset 0 0 0 1px var(--gray-200), var(--shadow-xs);
  transition: box-shadow .2s ease, transform .2s ease;
}
a.card:hover, .card--link:hover { box-shadow: inset 0 0 0 1px var(--gray-200), var(--shadow-lg); transform: translateY(-2px); }
a.card:focus-visible { box-shadow: inset 0 0 0 1px var(--primary-300), var(--focus-ring-primary-100); }
@media (prefers-reduced-motion: reduce) { a.card:hover, .card--link:hover { transform: none; } }
.card__arrow { position: absolute; top: 24px; right: 24px; width: 24px; height: 24px; color: var(--gray-400); transition: color .2s ease, transform .2s ease; }
a.card:hover .card__arrow { color: var(--primary-600); transform: translate(2px, -2px); }

/* Service card */
.service-card { gap: 20px; padding: 24px; min-height: 100%; }
.service-card h3 { padding-right: 32px; font-size: 20px; line-height: 30px; }
.service-card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.service-card .vilo-button { margin-top: auto; align-self: flex-start; }

/* Case study card */
.case-card { overflow: hidden; }
.case-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--gray-100); }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a.case-card:hover .case-card__media img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { a.case-card:hover .case-card__media img { transform: none; } }
.case-card__body { display: flex; flex-direction: column; flex: 1; gap: 12px; padding: 24px; }
.case-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--gray-500); font-size: 14px; line-height: 20px; }
.case-card h2, .case-card h3 { font-size: 20px; line-height: 30px; }
.case-card .tags { margin-top: auto; padding-top: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }

/* Article card */
.article-card { overflow: hidden; }
.article-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray-100); }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a.article-card:hover .article-card__media img { transform: scale(1.03); }
.article-card__body { display: flex; flex-direction: column; gap: 8px; padding: 24px; }
.article-card h3 { padding-right: 32px; font-size: 20px; line-height: 30px; }
.article-card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-card .card__arrow { top: auto; bottom: auto; }
.article-card--row { flex-direction: row; }
.article-card--row .article-card__media { flex: 0 0 40%; aspect-ratio: auto; min-height: 220px; }

/* --- Page hero (inner pages) ----------------------------------------------------- */
.page-hero { padding: 96px 0 64px; }
.page-hero--gray { background: var(--surface-cream); }
.page-hero .lead { max-width: 768px; }
.page-hero .page-hero__columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 64px; max-width: none; margin-top: 24px; }
.page-hero__columns p { font-size: 18px; line-height: 28px; }
.back-link { margin-bottom: 32px; }

/* --- Call-to-action band -------------------------------------------------------- */
.cta-band { padding: 96px 0; }
.cta-band__panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 64px;
  border-radius: var(--radius-2xl);
  background: var(--primary-600);
  overflow: hidden;
  isolation: isolate;
}
.cta-band__panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -120px;
  top: -160px;
  width: 520px;
  height: 520px;
  background: url(../img/hero-art.svg) center / contain no-repeat;
  opacity: .35;
}
.cta-band__panel .lead { max-width: 640px; margin-top: 16px; color: var(--primary-50); }
.cta-band__panel .actions { margin-top: 0; flex: none; }

/* --- Prose (rich text from the CMS) -------------------------------------------- */
.prose { color: var(--gray-600); font-size: 18px; line-height: 28px; }
.prose > * + * { margin-top: 20px; }
.prose h2 { margin-top: 48px; color: var(--gray-900); font-size: 30px; line-height: 38px; }
.prose h3 { margin-top: 40px; color: var(--gray-900); font-size: 24px; line-height: 32px; }
.prose h2 + *, .prose h3 + * { margin-top: 16px; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { display: flex; flex-direction: column; gap: 12px; padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 36px; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--primary-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bf5003' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 36px; counter-increment: n; }
.prose ol li::before {
  content: counter(n);
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--primary-100);
  color: var(--primary-700);
  font-size: 13px;
  line-height: 24px;
  font-weight: 600;
  text-align: center;
}
.prose strong { color: var(--gray-900); font-weight: 600; }
.prose a { color: var(--primary-700); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius-xl); }
.prose blockquote { padding-left: 20px; border-left: 2px solid var(--primary-600); font-size: 20px; line-height: 30px; font-style: italic; color: var(--gray-900); }

/* ==========================================================================
   5. Pages
   ========================================================================== */

/* --- Home hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 120px 0 96px;
  background:
    radial-gradient(55% 75% at 85% 20%, rgba(211,89,4,0.30) 0%, rgba(35,35,34,0) 70%),
    radial-gradient(40% 60% at 0% 100%, rgba(211,89,4,0.12) 0%, rgba(35,35,34,0) 70%),
    var(--surface-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -6%;
  width: min(62vw, 880px);
  aspect-ratio: 1120 / 720;
  transform: translateY(-50%);
  background: url(../img/hero-art.svg) center / contain no-repeat;
  opacity: .55;
}
.hero__inner { max-width: 760px; }
.hero .vilo-badge-group { margin-bottom: 24px; }
.hero h1 { font-size: 60px; line-height: 72px; letter-spacing: -0.02em; color: var(--base-white); }
.hero .lead { max-width: 640px; margin-top: 24px; color: var(--gray-300); }
.hero .actions { margin-top: 48px; }
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 96px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero__stat dt { order: 2; margin-top: 8px; color: var(--gray-300); font-size: 16px; line-height: 24px; }
.hero__stat { display: flex; flex-direction: column; }
.hero__stat dd { order: 1; margin: 0; color: var(--primary-400); font-size: 48px; line-height: 60px; letter-spacing: -0.02em; font-weight: 600; }

/* --- Technology marquee ----------------------------------------------------------- */
.tech { padding: 40px 0; border-bottom: 1px solid var(--gray-200); }
.tech__inner { display: flex; align-items: center; gap: 48px; }
.tech__title { flex: none; max-width: 220px; color: var(--gray-900); font-size: 16px; line-height: 24px; font-weight: 600; }
.marquee { position: relative; flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 12px; width: max-content; padding: 4px 0; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track .vilo-badge { padding: 6px 14px; font-size: 16px; line-height: 24px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 6px)); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { flex-wrap: wrap; width: auto; animation: none; }
  .marquee__track [aria-hidden="true"] { display: none; }
}

/* --- Why choose us ---------------------------------------------------------------- */
.why { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.why__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 0; list-style: none; }
.why__list li { display: flex; flex-direction: column; gap: 20px; }
.why__list h3 { font-size: 20px; line-height: 30px; }
.why__list p { margin-top: 8px; }

/* --- Consultation ------------------------------------------------------- */
.consult { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.consult__media { position: relative; border-radius: var(--radius-2xl); overflow: hidden; background: var(--surface-dark); aspect-ratio: 640 / 720; }
.consult__media img { width: 100%; height: 100%; object-fit: cover; }
.consult .vilo-badge { margin-bottom: 16px; }

/* --- Quote form ------------------------------------------------------------------ */
.quote-form { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.contact-list { display: flex; flex-direction: column; gap: 32px; margin-top: 48px; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 16px; }
.contact-list h3 { font-size: 18px; line-height: 28px; }
.contact-list p { margin-top: 4px; }
.contact-list a { color: var(--primary-700); font-weight: 600; }
.form-card { padding: 32px; border-radius: var(--radius-2xl); background: var(--base-white); box-shadow: inset 0 0 0 1px var(--gray-200), var(--shadow-lg); }
.form { display: flex; flex-direction: column; gap: 24px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
.form__note { color: var(--gray-500); font-size: 14px; line-height: 20px; }
.form__status {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-xl);
  background: var(--success-50);
  color: var(--success-700);
  box-shadow: inset 0 0 0 1px var(--success-200);
  font-size: 14px;
  line-height: 20px;
}
.form__status[hidden] { display: none; }
.form__status svg { flex: none; width: 20px; height: 20px; }
.form__status strong { display: block; font-weight: 600; }
.form__status--error { background: var(--error-50); color: var(--error-700); box-shadow: inset 0 0 0 1px var(--error-300); }

/* --- Services page: engagement models --------------------------------------------- */
.models__tabs { margin-bottom: 40px; overflow-x: auto; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 0; list-style: none; }
.steps[hidden] { display: none; }
.step { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--radius-2xl); background: var(--base-white); box-shadow: inset 0 0 0 1px var(--gray-200), var(--shadow-xs); }
.step__n { color: var(--primary-600); font-size: 36px; line-height: 44px; letter-spacing: -0.02em; font-weight: 600; font-variant-numeric: tabular-nums; }
.step h3 { font-size: 18px; line-height: 28px; }
.warranty {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 40px;
  border-radius: var(--radius-2xl);
  background: var(--primary-50);
  box-shadow: inset 0 0 0 1px var(--primary-200);
}
.warranty .featured-icon { width: 56px; height: 56px; }
.warranty .featured-icon svg { width: 28px; height: 28px; }
.warranty p { margin-top: 4px; font-size: 18px; line-height: 28px; }

/* --- Service and case-study detail ---------------------------------------------- */
.detail { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.detail--full { grid-template-columns: minmax(0, 1fr); max-width: 880px; }
.detail__aside { position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; gap: 24px; }
.aside-card { padding: 32px; border-radius: var(--radius-2xl); background: var(--surface-dark); color: var(--gray-300); }
.aside-card h2 { color: var(--base-white); font-size: 20px; line-height: 30px; }
.aside-card p { margin-top: 8px; }
.aside-card .vilo-button { width: 100%; margin-top: 24px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin: 32px 0 0; }
.fact { padding: 16px 20px; border-radius: var(--radius-xl); background: var(--gray-50); box-shadow: inset 0 0 0 1px var(--gray-200); }
.fact dt { color: var(--gray-500); font-size: 14px; line-height: 20px; }
.fact dd { margin: 4px 0 0; color: var(--gray-900); font-size: 18px; line-height: 28px; font-weight: 600; }
.diagram { padding: 16px; border-radius: var(--radius-2xl); background: var(--base-white); box-shadow: inset 0 0 0 1px var(--gray-200), var(--shadow-lg); }
.diagram img { width: 100%; border-radius: var(--radius-md); }
.diagram figcaption { margin-top: 12px; color: var(--gray-500); font-size: 14px; line-height: 20px; text-align: center; }
.detail-head .tags { margin-top: 24px; }

/* --- Case-study filters ---------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 32px; }
.filters .vilo-input { width: 320px; }
.dropdown { position: relative; }
.dropdown > summary { list-style: none; }
.dropdown > summary::-webkit-details-marker { display: none; }
.dropdown > summary .chev { transition: transform .15s ease; }
.dropdown[open] > summary .chev { transform: rotate(180deg); }
.dropdown__panel {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  width: 320px;
  max-height: 360px;
  overflow-y: auto;
  padding: 8px;
  border-radius: var(--radius-md);
  background: var(--base-white);
  box-shadow: inset 0 0 0 1px var(--gray-200), var(--shadow-lg);
}
.dropdown__panel .vilo-checkbox { padding: 8px 10px; border-radius: var(--radius-sm); }
.dropdown__panel .vilo-checkbox:hover { background: var(--gray-50); }
.filters__summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 32px; color: var(--gray-600); }
.filters__summary[hidden] { display: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 4px 2px 10px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--base-white);
  color: var(--gray-700);
  box-shadow: inset 0 0 0 1px var(--gray-300);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  cursor: pointer;
}
.chip svg { width: 14px; height: 14px; color: var(--gray-400); }
.chip:hover svg { color: var(--gray-600); }
.chip:focus-visible { box-shadow: inset 0 0 0 1px var(--primary-300), var(--focus-ring-primary-100); }
.empty { padding: 64px 24px; border-radius: var(--radius-2xl); background: var(--gray-50); text-align: center; }
.empty[hidden] { display: none; }
.empty .featured-icon { margin-bottom: 16px; }
.empty h2 { font-size: 18px; line-height: 28px; }
.empty p { margin: 4px 0 24px; }

/* --- Careers ----------------------------------------------------------------------- */
.jobs { display: flex; flex-direction: column; gap: 16px; padding: 0; list-style: none; }
.job { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 32px; }
.job h3 { font-size: 20px; line-height: 30px; }
.job .tags { margin-top: 8px; }

/* --- Legal ------------------------------------------------------------------------- */
.legal-item + .legal-item { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--gray-200); }
.legal-item h2 { font-size: 20px; line-height: 30px; }
.legal-item .prose { margin-top: 12px; font-size: 16px; line-height: 24px; }

/* --- Article ------------------------------------------------------------------------ */
.article-title { font-size: 48px; line-height: 60px; }
.article-hero { margin-top: 48px; border-radius: var(--radius-2xl); overflow: hidden; aspect-ratio: 16 / 8; background: var(--gray-100); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: 64px 0 0; }

/* --- 404 ---------------------------------------------------------------------------- */
.not-found { padding: 160px 0; text-align: center; }
.not-found .actions { justify-content: center; }

/* ==========================================================================
   6. Small screens
   ========================================================================== */
@media (max-width: 1100px) {
  .site-nav, .header-email { display: none; }
  .site-header__inner { justify-content: space-between; }
  .menu-button { display: inline-flex; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why { grid-template-columns: 1fr; gap: 48px; }
  .consult, .quote-form, .detail { grid-template-columns: 1fr; gap: 48px; }
  .detail__aside { position: static; }
  .consult__media { max-width: 520px; }
  .hero::after { opacity: .25; right: -30%; width: 110vw; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--2 { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why__list { grid-template-columns: 1fr; }
  .tech__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .tech__title { max-width: none; }
  .marquee { width: 100%; }
  .cta-band__panel { flex-direction: column; align-items: flex-start; padding: 48px 32px; }
  .page-hero .page-hero__columns { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --container-pad: 16px; --header-h: 72px; }
  .site-header__logo img { width: 168px; height: 28px; }
  body { font-size: 16px; }
  .section, .cta-band { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
  .section-head .actions { margin-top: 8px; }
  .h1, .hero h1, .article-title { font-size: 36px; line-height: 44px; }
  .h2 { font-size: 30px; line-height: 38px; }
  .h3 { font-size: 24px; line-height: 32px; }
  .lead { font-size: 18px; line-height: 28px; }
  .hero { padding: 64px 0; }
  .hero .actions { margin-top: 32px; }
  .actions .vilo-button { flex: 1 1 100%; }
  .hero__stats { margin-top: 64px; gap: 32px 16px; }
  .hero__stat dd { font-size: 30px; line-height: 38px; white-space: nowrap; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .page-hero { padding: 64px 0 48px; }
  .article-card--row { flex-direction: column; }
  .article-card--row .article-card__media { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
  .form-card { padding: 24px 20px; }
  .form__row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .warranty { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .filters .vilo-input, .dropdown, .dropdown > summary { width: 100%; }
  .dropdown > summary { justify-content: space-between; }
  .dropdown__panel { width: 100%; }
  .models__tabs { width: 100%; }
  .job { flex-direction: column; align-items: flex-start; padding: 24px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .article-hero { aspect-ratio: 4 / 3; margin-top: 32px; }
  .article-body { padding-top: 40px; }
  .not-found { padding: 96px 0; }
}

/* ==========================================================================
   7. Bilingual site additions
   ========================================================================== */
/* Language switch in the header */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  color: var(--gray-700);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  white-space: nowrap;
}
.lang-switch svg { width: 20px; height: 20px; color: var(--gray-500); }
.lang-switch:hover { background: var(--gray-50); color: var(--gray-900); }
.lang-switch:focus-visible { box-shadow: var(--focus-ring-primary-100); }

.eyebrow--sm { margin: 0; font-size: 14px; line-height: 20px; }

/* Certifications: one card per vendor */
.certs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; padding: 0; list-style: none; }
.certs > li { grid-column: span 2; }
.certs > li:nth-child(n+4) { grid-column: span 3; }
.cert-card { gap: 16px; padding: 24px; }
.cert-card h3 { font-size: 18px; line-height: 28px; }
.cert-card > ul:not(.tags) { display: flex; flex-direction: column; gap: 8px; padding: 0; list-style: none; }
.cert-card > ul:not(.tags) li { position: relative; padding-left: 18px; font-size: 14px; line-height: 20px; }
.cert-card > ul:not(.tags) li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 6px; height: 6px; border-radius: var(--radius-full); background: var(--primary-500); }

/* Consultation checklist */
.checklist { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; padding: 0; list-style: none; color: var(--gray-700); font-weight: 500; }
.checklist li { display: flex; align-items: center; gap: 12px; }
.checklist svg { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: var(--radius-full); background: var(--primary-100); color: var(--primary-600); }

/* Detail pages */
.detail__body { margin-top: 40px; }
.detail-head .lead { margin-top: 16px; }
.cover-figure { overflow: hidden; border-radius: var(--radius-2xl); box-shadow: var(--shadow-lg); }
.cover-figure img { width: 100%; }
.side-card { padding: 24px; }
.side-card h2 { font-size: 18px; line-height: 28px; }
.side-card ul { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; padding: 0; list-style: none; }
.side-card .vilo-button { white-space: normal; text-align: left; }
.stack { flex-direction: row !important; flex-wrap: wrap; gap: 8px !important; }
.stack li { padding: 4px 10px; border-radius: var(--radius-sm); background: var(--gray-50); box-shadow: inset 0 0 0 1px var(--gray-200); color: var(--gray-700); font-size: 14px; line-height: 20px; font-weight: 500; }
.aside-card .featured-icon { margin-bottom: 20px; }

/* Forms and contact */
.form__actions { margin-top: 0; align-items: center; justify-content: space-between; }
.form__actions--end { justify-content: flex-end; }
.form-card .h3 { margin-bottom: 8px; }
.form-card__lead { margin-bottom: 32px; }
.contact-list--top { margin-top: 0; }
.contact-list h2 { font-size: 18px; line-height: 28px; }
.contact-list address { margin-top: 4px; font-style: normal; }
.jobs-title { margin-bottom: 32px; }
.filters__summary strong { color: var(--gray-900); }
.filters__chips { display: contents; }
.filters__summary [data-clear] { margin-left: 8px; }

/* Articles and legal pages */
.article-top { padding-bottom: 0; }
.container--article { max-width: calc(1024px + 2 * var(--container-pad)); }
.legal-intro { margin-top: 20px; }
.not-found .h1 { margin-top: 16px; }
.not-found .lead + .lead { margin-top: 8px; font-size: 16px; line-height: 24px; color: var(--gray-500); }

/* Armenian: longer words, so headings may wrap and nav needs a little more room */
:lang(hy) .h1, :lang(hy) .hero h1 { letter-spacing: -0.01em; }
:lang(hy) .site-nav a { padding: 8px 10px; font-size: 15px; }

@media (max-width: 1240px) {
  .header-email { display: none; }
}
@media (max-width: 1100px) {
  .certs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .certs > li, .certs > li:nth-child(n+4) { grid-column: auto; }
}
@media (max-width: 640px) {
  .certs { grid-template-columns: 1fr; }
  .lang-switch { padding: 10px 8px; }
  .lang-switch svg { display: none; }
}
@media (max-width: 640px) {
  /* "Book a call" stays in the menu; the header keeps the logo, language and menu button. */
  .site-header__actions > .vilo-button--primary { display: none; }
  .actions .vilo-button, .cta-band__panel .vilo-button { white-space: normal; text-align: center; }
  .vilo-button-group { flex-wrap: wrap; }
}
/* Long Armenian words must not push the layout wider than the screen. */
h1, h2, h3, .lead, .prose, .eyebrow { overflow-wrap: break-word; }
.detail > *, .quote-form > *, .consult > *, .why > *, .cta-band__panel > * { min-width: 0; }
@media (max-width: 640px) {
  :lang(hy) .h1, :lang(hy) .hero h1, :lang(hy) .article-title { font-size: 32px; line-height: 40px; }
}
