/* ============================================
   SALIXSPACE — Editorial Precision v2
   Principles: Hierarchy, Restraint, Micro Detail
   ============================================ */

/* --- LINE Seed Sans TH — local font --- */
@font-face {
  font-family: 'LINE Seed Sans TH';
  src: url('fonts/LINESeedSansTH_W_Th.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'LINE Seed Sans TH';
  src: url('fonts/LINESeedSansTH_W_Rg.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'LINE Seed Sans TH';
  src: url('fonts/LINESeedSansTH_W_Bd.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'LINE Seed Sans TH';
  src: url('fonts/LINESeedSansTH_W_He.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'LINE Seed Sans TH';
  src: url('fonts/LINESeedSansTH_W_XBd.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #FAF9F6;
  --bg-cream: #F3F0EB;
  --bg-warm: #ECE7E0;
  --text: #1A1A18;
  --text-secondary: #70695F;
  --text-tertiary: #A39E96;
  --accent: #B34A1A;
  --accent-hover: #943D15;
  --accent-light: rgba(179, 74, 26, 0.06);
  --accent-subtle: rgba(179, 74, 26, 0.12);
  --border: #E6E1DA;
  --border-light: #EDEAE5;
  --white: #FFFFFF;

  --font-heading: 'LINE Seed Sans TH', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'LINE Seed Sans TH', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1140px;
  --container-narrow: 720px;
  --section-gap: 10rem;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-weight: 400;
  position: relative;
}

/* Subtle grain texture — adds depth without noise */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.3;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection {
  background: var(--accent-subtle);
  color: var(--text);
}

/* --- Layout --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2.5rem;
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--section-gap) 0;
}

.section--cream {
  background: var(--bg-cream);
}

/* --- Section headings with strict hierarchy --- */
.section__label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.section__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.section__subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.75;
}

.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}

/* ============================================
   HEADER — Quiet, precise, confident
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.header--scrolled {
  border-color: var(--border);
  box-shadow: 0 1px 0 var(--border-light);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.header__logo {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
}

.header__logo span {
  color: var(--accent);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2.75rem;
}

.header__link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-tertiary);
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 2px;
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header__link:hover {
  color: var(--text);
}

.header__link:hover::after {
  transform: scaleX(1);
}

.header__link--active {
  color: var(--text);
}

.header__link--active::after {
  transform: scaleX(1);
}

.header__cta {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--white);
  background: var(--text);
  padding: 0.5rem 1.25rem;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.header__cta:hover {
  background: var(--accent);
}

/* Mobile */
.header__menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 28px;
  position: relative;
}

.header__menu-btn span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--text);
  position: absolute;
  left: 5px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.header__menu-btn span:nth-child(1) { top: 9px; }
.header__menu-btn span:nth-child(2) { top: 14px; }
.header__menu-btn span:nth-child(3) { top: 19px; }

.header__menu-btn.open span:nth-child(1) {
  transform: rotate(45deg); top: 14px;
}
.header__menu-btn.open span:nth-child(2) { opacity: 0; }
.header__menu-btn.open span:nth-child(3) {
  transform: rotate(-45deg); top: 14px;
}

/* ============================================
   HERO — One focal point. The headline.
   Everything else is secondary.
   ============================================ */
.hero {
  padding-top: 11rem;
  padding-bottom: 6rem;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.hero__inner {
  max-width: 780px;
}

.hero__label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.hero__label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(3rem, 6.5vw, 5rem);
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.hero__title em {
  font-style: italic;
  color: var(--accent);
}

.hero__desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

/* ============================================
   BUTTONS — Precise, considered hover states
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.75rem 1.6rem;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.btn--primary {
  background: var(--text);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent);
}

.btn--outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn--outline:hover {
  color: var(--text);
  border-color: var(--text);
}

.btn--accent {
  background: var(--accent);
  color: var(--white);
}

.btn--accent:hover {
  background: var(--accent-hover);
}

.btn__arrow {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.btn--white {
  background: var(--white);
  color: var(--text);
}

.btn--white:hover {
  background: var(--bg-cream);
}

.btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.18);
}

.btn--ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

/* ============================================
   FEATURES — Three. Not eight. Each gets room.
   Asymmetric layout, not a uniform grid.
   ============================================ */
.features__list {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  align-items: baseline;
  transition: background 0.3s ease;
}

.feature-row:last-child {
  border-bottom: 1px solid var(--border);
}

.feature-row__number {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--text-tertiary);
  padding-top: 0.15rem;
}

.feature-row__content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: baseline;
}

.feature-row__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
  line-height: 1.25;
}

.feature-row__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 400px;
}

/* ============================================
   SERVICES — 3 primary. Dominant first card.
   ============================================ */
.services__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.service-card {
  padding: 2.75rem 2.5rem;
  background: var(--white);
  position: relative;
  transition: background 0.35s ease;
}

.service-card:hover {
  background: var(--bg);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2.5rem;
  right: 2.5rem;
  height: 0;
  background: var(--accent);
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
  height: 2px;
}

/* First card spans full width — it's the hero service */
.service-card--primary {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 3rem;
}

.service-card__number {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.service-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
  color: var(--text);
  line-height: 1.3;
}

.service-card--primary .service-card__title {
  font-size: 1.75rem;
}

.service-card__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.service-card__tag {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-tertiary);
  background: var(--bg);
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
  letter-spacing: 0.02em;
}

.service-card:hover .service-card__tag {
  background: var(--bg-cream);
}

.service-card__link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-card:hover .service-card__link {
  opacity: 1;
  transform: translateY(0);
}

.service-card__link-arrow {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .service-card__link-arrow {
  transform: translateX(3px);
}

/* ============================================
   STATS — Clean horizontal rhythm.
   Numbers are the focal point, nothing else.
   ============================================ */
.stats {
  padding: 6rem 0;
}

.stats__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat {
  text-align: center;
  padding: 0 2rem;
  position: relative;
}

.stat::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 48px;
  background: var(--border);
}

.stat:last-child::after {
  display: none;
}

.stat__number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.75rem, 5vw, 3.75rem);
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.stat__number span {
  color: var(--accent);
}

.stat__label {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ============================================
   CTA — Dark block, single focal point
   ============================================ */
.cta {
  text-align: center;
}

.cta__inner {
  background: var(--text);
  border-radius: 12px;
  padding: 6rem 3rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow — depth, not decoration */
.cta__inner::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(179, 74, 26, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--white);
  position: relative;
}

.cta__desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.5);
  max-width: 440px;
  margin: 0 auto 2.75rem;
  line-height: 1.75;
  position: relative;
}

.cta__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  position: relative;
}

/* ============================================
   FOOTER — Quiet, functional
   ============================================ */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.5);
  padding: 5rem 0 2.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer__brand-desc {
  font-size: 0.875rem;
  line-height: 1.75;
  margin-top: 1.25rem;
  max-width: 300px;
}

.footer__heading {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 1.5rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer__link {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

.footer__bottom-links {
  display: flex;
  gap: 2rem;
}

.footer__logo {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.025em;
}

.footer__logo span {
  color: var(--accent);
}

/* ============================================
   PAGE HERO — Interior pages
   ============================================ */
.page-hero {
  padding-top: 10rem;
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--border);
}

.page-hero__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  line-height: 1.08;
  margin-bottom: 1.5rem;
  letter-spacing: -0.015em;
}

.page-hero__desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.8;
}

/* ============================================
   ABOUT — Mission cards, values, timeline
   ============================================ */
.about-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 4rem;
}

.about-mission__card {
  padding: 3rem;
  background: var(--white);
}

.about-mission__label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.about-mission__text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.55;
  color: var(--text);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 4rem;
}

.value-card {
  padding: 2.5rem 2rem 2.5rem 0;
  border-top: 1px solid var(--border);
  position: relative;
}

.value-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover::before {
  width: 100%;
}

.value-card__number {
  font-size: 0.6875rem;
  color: var(--text-tertiary);
  font-weight: 500;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.value-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.value-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Timeline */
.timeline {
  margin-top: 4rem;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 140px;
  width: 1px;
  background: var(--border);
}

.timeline__item {
  display: grid;
  grid-template-columns: 120px 20px 1fr;
  gap: 2rem;
  padding: 2.25rem 0;
  position: relative;
}

.timeline__year {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--text-tertiary);
  text-align: right;
  padding-top: 0.1rem;
}

.timeline__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.55rem;
  position: relative;
  z-index: 1;
  justify-self: center;
}

.timeline__content-title {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.3rem;
}

.timeline__content-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================
   SOLUTIONS
   ============================================ */
.solutions__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 4rem;
}

.solution-card {
  padding: 2.75rem 2.5rem;
  background: var(--white);
  transition: background 0.35s ease;
}

.solution-card:hover {
  background: var(--bg);
}

.solution-card__icon {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  opacity: 0.5;
}

.solution-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.375rem;
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.solution-card__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.solution-card__outcomes {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.solution-card__outcome {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.01em;
}

/* ============================================
   FEATURES GRID — For services/solutions detail pages
   ============================================ */
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 3rem;
}

.feature-card {
  background: var(--white);
  padding: 2.25rem;
  transition: background 0.3s ease;
}

.feature-card:hover {
  background: var(--bg);
}

.feature-card__title {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.feature-card__desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================
   CONTACT
   ============================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 5rem;
  margin-top: 4rem;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact__info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact__info-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
  flex-shrink: 0;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.contact__info-card:hover .contact__info-icon {
  border-color: var(--accent);
  color: var(--accent);
}

.contact__info-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 0.2rem;
}

.contact__info-value {
  font-size: 0.9375rem;
  color: var(--text);
  font-weight: 500;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group__label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.form-group__input,
.form-group__textarea,
.form-group__select {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group__input:focus,
.form-group__textarea:focus,
.form-group__select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.form-group__input::placeholder,
.form-group__textarea::placeholder {
  color: var(--text-tertiary);
}

.form-group__textarea {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --section-gap: 7rem;
  }

  .hero__inner {
    max-width: 100%;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .feature-row__content {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

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

  .service-card--primary {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stats__row {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .stat::after {
    display: none;
  }

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

  .about-mission {
    grid-template-columns: 1fr;
  }

  .values__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 5rem;
  }

  .container {
    padding: 0 1.5rem;
  }

  .header__nav {
    display: none;
  }

  .header__nav--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(250, 249, 246, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }

  .header__menu-btn {
    display: block;
  }

  .header__cta--nav {
    display: none;
  }

  .hero {
    padding-top: 8rem;
    min-height: auto;
    padding-bottom: 4rem;
  }

  .hero__title {
    font-size: clamp(2.25rem, 8vw, 3rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .feature-row {
    padding: 2rem 0;
  }

  .services__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }

  .stats__row {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .stats {
    padding: 4rem 0;
  }

  .cta__inner {
    padding: 4rem 1.5rem;
    border-radius: 8px;
  }

  .cta__actions {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

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

  .timeline__item {
    grid-template-columns: auto 20px 1fr;
    gap: 1rem;
  }

  .timeline::before {
    left: 52px;
  }

  .timeline__year {
    font-size: 1rem;
    min-width: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .page-hero {
    padding-top: 8rem;
    padding-bottom: 3rem;
  }
}

/* Language switcher */
.lang-switch {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.lang-switch__btn {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.6rem;
  border: none;
  background: transparent;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-switch__btn--active {
  background: var(--text);
  color: var(--white);
}

.lang-switch__btn:hover:not(.lang-switch__btn--active) {
  color: var(--text);
}

/* ============================================
   CAREERS — Job listings
   ============================================ */
.jobs__list {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.job-card {
  background: var(--white);
  padding: 2.5rem;
  position: relative;
  transition: background 0.3s ease;
}

.job-card:hover {
  background: var(--bg);
}

.job-card__dept {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.job-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--text);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.job-card__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  max-width: 640px;
}

.job-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.job-card__tag {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-tertiary);
  background: var(--bg);
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
  letter-spacing: 0.02em;
}

.job-card:hover .job-card__tag {
  background: var(--bg-cream);
}

.job-card__apply {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.job-card:hover .job-card__apply {
  opacity: 1;
  transform: translateY(0);
}

.job-card__apply::after {
  content: ' \2192';
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
}

.job-card:hover .job-card__apply::after {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .job-card {
    padding: 2rem 1.5rem;
  }

  .job-card__apply {
    opacity: 1;
    transform: translateY(0);
  }
}
