/* ===========================================================================
   Haya Software Solutions — brand stylesheet
   Palette: Haya Teal #139384 · Heritage Gold #C2A06B · Deep Teal #0E5249
   Type:    Space Grotesk (display) · Manrope (body/UI)
   ======================================================================== */

:root {
  --teal:        #139384;
  --teal-light:  #1CB39E;
  --teal-deep:   #0C6A5E;
  --deep:        #0E5249;
  --ink:         #1B463D;
  --gold:        #C2A06B;
  --gold-light:  #E6CF96;
  --gold-deep:   #B08A4E;
  --sand:        #F4F1E8;
  --sand-soft:   #FBFAF5;
  --paper:       #FFFFFF;
  --muted:       #6E7B73;
  --muted-soft:  #9A9A8C;
  --line:        #ECE7D9;

  --grad-teal:  linear-gradient(150deg, var(--teal-light), var(--teal-deep));
  --grad-gold:  linear-gradient(150deg, var(--gold-light), var(--gold));

  --shadow-sm:  0 1px 3px rgba(27,70,61,.08);
  --shadow-md:  0 14px 30px rgba(27,70,61,.10);
  --shadow-lg:  0 26px 50px rgba(12,70,61,.18);

  --radius:     18px;
  --radius-sm:  12px;
  --container:  1160px;

  --display: 'Space Grotesk', system-ui, sans-serif;
  --body:    'Manrope', system-ui, sans-serif;
}

/* ---- Reset / base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--sand-soft);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-deep); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--primary { background: var(--grad-teal); color: #fff; box-shadow: 0 10px 22px rgba(16,120,108,.28); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px rgba(16,120,108,.34); }
.btn--ghost { background: transparent; border-color: rgba(27,70,61,.22); color: var(--ink); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn--gold { background: var(--grad-gold); color: #4a3a1c; box-shadow: 0 10px 22px rgba(194,160,107,.30); }
.btn--gold:hover { color: #4a3a1c; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--teal); }
.btn--light:hover { color: var(--teal-deep); transform: translateY(-2px); }

/* ---- Logo lockup -------------------------------------------------------- */
.haya-logo { display: inline-flex; align-items: center; gap: 13px; }
.haya-logo__type { display: flex; flex-direction: column; gap: 4px; }
.haya-logo__word {
  font-family: var(--display); font-weight: 700; font-size: 26px;
  letter-spacing: -.035em; line-height: .85; color: var(--wm);
}
.haya-logo__sub {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 600; font-size: 9px;
  letter-spacing: .3em; text-transform: uppercase; color: var(--sub);
}
.haya-logo__rule { width: 20px; height: 2px; background: var(--rule); border-radius: 2px; }

/* ---- Header / nav ------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,250,245,.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.site-header__brand { display: inline-flex; }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav ul { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--ink);
  position: relative; padding: 6px 0;
}
.site-nav a:hover { color: var(--teal); }
.site-nav a.is-active { color: var(--teal); }
.site-nav a.is-active::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px;
  background: var(--gold); border-radius: 2px;
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  align-items: center; justify-content: center; background: none; border: 0; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Sections ----------------------------------------------------------- */
.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.section--sand { background: var(--sand); }
.section--paper { background: var(--paper); }

.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--body); font-weight: 700; font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; }
.section-head--center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); }
.section-head p { font-size: 18px; color: var(--muted); margin-bottom: 0; }

/* ---- Hero --------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 88px;
  background: linear-gradient(165deg, var(--sand-soft) 0%, var(--sand) 100%); }
.hero__glow {
  position: absolute; right: -180px; top: -160px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(28,179,158,.18), transparent 62%);
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 66px); letter-spacing: -.04em; }
.hero h1 .accent { color: var(--teal); }
.hero__lede { font-size: 20px; color: var(--muted); max-width: 30ch; margin: 22px 0 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__trust { display: flex; align-items: center; gap: 18px; color: var(--muted-soft); font-size: 14px; font-weight: 600; }
.hero__trust .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* Hero art: stacked floating mark on a teal panel */
.hero__art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 360px; }
.hero__panel {
  position: relative; width: 100%; max-width: 420px; aspect-ratio: 5/4;
  border-radius: 28px; overflow: hidden;
  background: radial-gradient(120% 120% at 78% 4%, var(--teal-light) 0%, var(--teal-deep) 66%);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
}
.hero__panel::after {
  content: ''; position: absolute; inset: 6px; border-radius: 22px;
  border: 1.5px solid rgba(230,207,150,.45); pointer-events: none;
}
.hero__panel .haya-mark { width: 46%; height: auto; filter: drop-shadow(0 18px 36px rgba(0,0,0,.3)); animation: float 6s ease-in-out infinite; }
.hero__badge {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-md);
  padding: 12px 16px; font-family: var(--display); font-weight: 600; font-size: 13px; color: var(--ink);
  display: flex; align-items: center; gap: 9px;
}
.hero__badge small { display: block; font-family: var(--body); font-weight: 600; font-size: 11px; color: var(--muted-soft); }
.hero__badge--a { left: -18px; top: 22%; animation: float 5s ease-in-out infinite; }
.hero__badge--b { right: -14px; bottom: 16%; animation: float 7s ease-in-out infinite .5s; }
.hero__badge .pip { width: 30px; height: 30px; border-radius: 9px; background: var(--grad-teal); display: grid; place-items: center; color: #fff; }
.hero__badge .pip--gold { background: var(--grad-gold); color: #4a3a1c; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---- Logo strip --------------------------------------------------------- */
.logos { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--sand-soft); }
.logos__row { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.logos__label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-soft); }
.logos__item { font-family: var(--display); font-weight: 700; font-size: 19px; color: #B8B3A4; letter-spacing: -.01em; }

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

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #E0D9C6; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(28,179,158,.14), rgba(12,106,94,.12));
  color: var(--teal); margin-bottom: 20px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 21px; }
.card p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* ---- Stats -------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { text-align: center; padding: 22px; }
.stat__num { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4vw, 46px); color: var(--teal); letter-spacing: -.03em; }
.stat__label { color: var(--muted); font-size: 14.5px; font-weight: 600; }

/* ---- Work cards --------------------------------------------------------- */
.work-card {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 270px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px;
  color: #fff; box-shadow: var(--shadow-md);
  background: radial-gradient(120% 120% at 80% 0%, var(--teal-light), var(--teal-deep));
}
.work-card:nth-child(2) { background: radial-gradient(120% 120% at 80% 0%, #2A8C9E, #0E5249); }
.work-card:nth-child(3) { background: radial-gradient(120% 120% at 80% 0%, var(--gold), var(--gold-deep)); color: #3a2c10; }
.work-card:nth-child(4) { background: radial-gradient(120% 120% at 80% 0%, #1B6E62, #0C4A42); }
.work-card__tag {
  align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(255,255,255,.22); padding: 5px 11px; border-radius: 999px; margin-bottom: auto;
}
.work-card:nth-child(3) .work-card__tag { background: rgba(58,44,16,.18); }
.work-card h3 { color: inherit; font-size: 24px; margin-top: 18px; }
.work-card p { opacity: .9; font-size: 15px; margin-bottom: 14px; }
.work-card__metric { font-family: var(--display); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.work-card__metric::before { content: ''; width: 16px; height: 2px; background: currentColor; opacity: .7; }

/* ---- Process steps ------------------------------------------------------ */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding-top: 18px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--gold-deep);
  display: inline-block; margin-bottom: 12px; letter-spacing: .08em;
}
.step h3 { font-size: 19px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }
.step + .step::after {
  content: ''; position: absolute; left: -11px; top: 30px; width: 1px; height: calc(100% - 30px); background: var(--line);
}

/* ---- Split / about ------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__media {
  border-radius: var(--radius); overflow: hidden; min-height: 380px; box-shadow: var(--shadow-md);
  background: radial-gradient(120% 120% at 20% 0%, var(--teal-light), var(--teal-deep));
  display: grid; place-items: center;
}
.split__media .haya-mark { width: 38%; filter: drop-shadow(0 18px 36px rgba(0,0,0,.28)); }
.value-list { display: grid; gap: 16px; margin-top: 8px; }
.value-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 16px; color: var(--ink); }
.value-list .tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--grad-teal);
  display: grid; place-items: center; margin-top: 2px;
}
.value-list .tick svg { width: 13px; height: 13px; color: #fff; }

/* ---- CTA band ----------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; border-radius: 26px; padding: 56px; color: #fff;
  background: radial-gradient(120% 140% at 85% 0%, var(--teal-light) 0%, var(--teal-deep) 70%);
  box-shadow: var(--shadow-lg); }
.cta-band::after { content: ''; position: absolute; inset: 8px; border-radius: 20px; border: 1.5px solid rgba(230,207,150,.4); pointer-events: none; }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); margin: 0; }
.cta-band p { color: rgba(255,255,255,.85); margin: 8px 0 0; font-size: 17px; }

/* ---- Contact ------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: start; }
.contact-info .info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-info .info-item .pip { flex: none; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(150deg, rgba(28,179,158,.14), rgba(12,106,94,.12)); color: var(--teal); display: grid; place-items: center; }
.contact-info .info-item h4 { margin: 0 0 2px; font-size: 16px; }
.contact-info .info-item p { margin: 0; color: var(--muted); font-size: 15px; }

.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--display); font-weight: 600; font-size: 14px; margin-bottom: 7px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--body); font-size: 15px; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--sand-soft);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(19,147,132,.12); background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.field--error input, .field--error select, .field--error textarea { border-color: #c0492f; }
.field__err { color: #c0492f; font-size: 13px; margin-top: 6px; font-weight: 600; }
.honeypot { position: absolute; left: -9999px; }
.form__note { font-size: 13px; color: var(--muted-soft); margin-top: 14px; }

.alert { border-radius: 12px; padding: 16px 18px; margin-bottom: 22px; font-weight: 600; font-size: 15px; }
.alert--ok { background: rgba(28,179,158,.12); color: var(--teal-deep); border: 1px solid rgba(28,179,158,.3); }
.alert--err { background: rgba(192,73,47,.08); color: #a13a23; border: 1px solid rgba(192,73,47,.25); }

/* ---- Page hero (interior pages) ----------------------------------------- */
.page-hero { padding: 70px 0 56px; background: linear-gradient(165deg, var(--sand-soft), var(--sand)); }
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); }
.page-hero p { font-size: 19px; color: var(--muted); max-width: 56ch; margin: 14px 0 0; }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: var(--deep); color: rgba(255,255,255,.78); padding-top: 64px; margin-top: 8px; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.site-footer__pitch { max-width: 40ch; margin-top: 18px; font-size: 15px; color: rgba(255,255,255,.66); }
.site-footer__col h4 { color: #fff; font-size: 15px; letter-spacing: .04em; margin-bottom: 16px; }
.site-footer__col li { margin-bottom: 10px; font-size: 15px; }
.site-footer__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13.5px; color: rgba(255,255,255,.6);
}

/* ---- Reveal-on-scroll --------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__art { order: -1; min-height: 300px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .grid--3, .grid--4, .stats, .steps { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .step + .step::after { display: none; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--sand-soft); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: 12px 24px 22px; transform: translateY(-130%); transition: transform .3s ease; pointer-events: none;
  }
  .site-nav.is-open { transform: translateY(0); pointer-events: auto; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a { display: block; padding: 14px 0; }
  .site-nav a.is-active::after { display: none; }
  .site-nav__cta { margin-top: 14px; text-align: center; justify-content: center; }
  .section { padding: 64px 0; }
}

@media (max-width: 560px) {
  .grid--3, .grid--4, .stats, .steps, .grid--2, .site-footer__grid { grid-template-columns: 1fr; }
  .cta-band { padding: 38px 26px; }
  .form, .card { padding: 24px; }
  .hero__badge { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ===========================================================================
   ADVANCED / IMAGE-RICH COMPONENTS  (v2 redesign)
   ======================================================================== */

.btn--lg { padding: 15px 28px; font-size: 16px; }
.lead-muted { color: var(--muted); font-size: 18px; }
.grad-text { background: linear-gradient(100deg, var(--teal-light), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- Pill / eyebrow chip ------------------------------------------------ */
.pill {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px;
  padding: 8px 16px; border-radius: 999px; background: rgba(19,147,132,.09);
  border: 1px solid rgba(19,147,132,.18); color: var(--teal-deep);
  font-family: var(--display); font-weight: 600; font-size: 13.5px;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(19,147,132,.18); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(19,147,132,.18); } 50% { box-shadow: 0 0 0 7px rgba(19,147,132,.05); } }

/* ---- Hero v2 ------------------------------------------------------------ */
.hero2 { position: relative; overflow: hidden; padding: 84px 0 96px;
  background: linear-gradient(170deg, var(--sand-soft) 0%, var(--sand) 100%); }
.hero2__inner { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 60px; align-items: center; z-index: 1; }
.hero2 h1 { font-size: clamp(40px, 6vw, 68px); letter-spacing: -.04em; }
.hero2__lede { font-size: 20px; color: var(--muted); max-width: 34ch; margin: 22px 0 32px; }
.hero2__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero2__trust { display: flex; align-items: center; gap: 16px; }
.hero2__trust-tx { line-height: 1.35; }
.hero2__trust-tx b { display: block; font-family: var(--display); font-size: 14.5px; color: var(--ink); }
.hero2__trust-tx span { font-size: 13px; color: var(--muted-soft); }

.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: 0; animation: drift 16s ease-in-out infinite; }
.blob--a { width: 460px; height: 460px; right: -120px; top: -120px; background: radial-gradient(circle, rgba(28,179,158,.5), transparent 70%); }
.blob--b { width: 380px; height: 380px; left: -140px; bottom: -140px; background: radial-gradient(circle, rgba(230,207,150,.45), transparent 70%); animation-delay: -6s; }
@keyframes drift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(20px,30px) scale(1.08); } }

/* Avatars stack */
.avatars { display: flex; }
.av { width: 42px; height: 42px; border-radius: 50%; margin-left: -12px; border: 3px solid var(--sand-soft);
  display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 13px; color: #fff;
  background: linear-gradient(150deg, var(--teal-light), var(--teal-deep)); box-shadow: var(--shadow-sm); }
.av:first-child { margin-left: 0; }
.av:nth-child(2) { background: linear-gradient(150deg,#2A9D8F,#0E5249); }
.av:nth-child(3) { background: linear-gradient(150deg,#3AA0A6,#0C6A5E); }
.av--more { background: linear-gradient(150deg, var(--gold-light), var(--gold)) !important; color: #4a3a1c; font-size: 12px; }

/* Hero media */
.hero2__media { position: relative; }
.media-card { position: relative; margin: 0; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/4.4; }
.media-card img { width: 100%; height: 100%; object-fit: cover; }
.media-card__tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,70,61,.05) 40%, rgba(12,70,61,.55)); }
.media-card__cap { position: absolute; left: 20px; bottom: 18px; display: flex; align-items: center; gap: 11px; color: #fff; font-family: var(--display); font-weight: 600; font-size: 14px; text-shadow: 0 1px 6px rgba(0,0,0,.3); }

.float-card { position: absolute; background: rgba(255,255,255,.72); backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255,255,255,.7); border-radius: 16px; box-shadow: var(--shadow-md);
  padding: 13px 17px; display: flex; align-items: center; gap: 12px; z-index: 2; animation: float 6s ease-in-out infinite; }
.float-card b { font-family: var(--display); font-size: 16px; color: var(--ink); display: block; line-height: 1.1; }
.float-card small { font-size: 11.5px; color: var(--muted); }
.float-card__ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; }
.float-card__ic svg { width: 20px; height: 20px; }
.float-card__ic--teal { background: linear-gradient(150deg, var(--teal-light), var(--teal-deep)); }
.float-card__ic--gold { background: linear-gradient(150deg, var(--gold-light), var(--gold)); color: #4a3a1c; }
.float-card--tl { left: -26px; top: 20%; }
.float-card--br { right: -22px; bottom: 12%; animation-delay: .8s; }

/* ---- Image zoom on hover ------------------------------------------------ */
.zoomable { overflow: hidden; }
.zoomable img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.zoomable:hover img { transform: scale(1.06); }

/* ---- Marquee ------------------------------------------------------------ */
.marquee { overflow: hidden; background: var(--deep); padding: 20px 0; }
.marquee__track { display: inline-flex; align-items: center; gap: 26px; white-space: nowrap; animation: scroll 32s linear infinite; }
.marquee__item { font-family: var(--display); font-weight: 700; font-size: 22px; color: rgba(255,255,255,.55); letter-spacing: -.01em; }
.marquee__sep { color: var(--gold); opacity: .7; font-size: 13px; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- Section head variants ---------------------------------------------- */
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.section-head--split h2 { font-size: clamp(28px,4vw,44px); }

/* ---- Cards glow + link -------------------------------------------------- */
.card { position: relative; }
.card--glow::before { content: ''; position: absolute; inset: 0; border-radius: var(--radius); padding: 1px;
  background: linear-gradient(150deg, rgba(28,179,158,.5), rgba(194,160,107,.4)); opacity: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity .25s ease; pointer-events: none; }
.card--glow:hover::before { opacity: 1; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-family: var(--display);
  font-weight: 600; font-size: 14px; color: var(--teal); opacity: 0; transform: translateY(4px); transition: .25s; }
.card__link svg { width: 15px; height: 15px; }
.card:hover .card__link { opacity: 1; transform: none; }

/* ---- Split image + badge ------------------------------------------------ */
.split__img { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); min-height: 380px; }
.split__img img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.split__badge { position: absolute; right: 20px; bottom: 20px; background: rgba(255,255,255,.9); backdrop-filter: blur(8px);
  border-radius: 16px; padding: 14px 20px; box-shadow: var(--shadow-md); text-align: center; }
.split__badge .stat__num { font-size: 30px; }
.split__badge small { color: var(--muted); font-size: 12.5px; font-weight: 600; }

/* ---- Stats band --------------------------------------------------------- */
.stats-band { padding: 60px 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---- Steps with icons --------------------------------------------------- */
.step__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(150deg, rgba(28,179,158,.14), rgba(12,106,94,.12)); color: var(--teal); }
.step__ic svg { width: 24px; height: 24px; }
.step::before { display: none; }
.step + .step::after { top: 8px; }

/* ---- Work v2 (image cards) ---------------------------------------------- */
.work2 { position: relative; display: block; border-radius: var(--radius); overflow: hidden; min-height: 340px;
  box-shadow: var(--shadow-md); color: #fff; }
.work2 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work2__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,58,52,.12) 30%, rgba(8,45,40,.9)); }
.work2__body { position: relative; height: 100%; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; }
.work2__tag { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(255,255,255,.2); backdrop-filter: blur(4px); padding: 6px 12px; border-radius: 999px; margin-bottom: auto; }
.work2 h3 { color: #fff; font-size: 25px; margin: 16px 0 8px; }
.work2 p { color: rgba(255,255,255,.85); font-size: 15px; margin: 0 0 14px; max-width: 42ch; }
.work2__metric { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--gold-light); }
.work2__metric svg { width: 16px; height: 16px; }

/* ---- Testimonials ------------------------------------------------------- */
.quote { position: relative; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quote__mark { font-family: var(--display); font-size: 60px; line-height: .6; color: var(--gold); opacity: .5; height: 30px; }
.quote blockquote { margin: 0 0 22px; font-size: 16.5px; color: var(--ink); line-height: 1.6; }
.quote__by { display: flex; align-items: center; gap: 13px; }
.quote__av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-family: var(--display); font-weight: 700; color: #fff; background: linear-gradient(150deg, var(--teal-light), var(--teal-deep)); }
.quote__by b { font-family: var(--display); font-size: 15px; color: var(--ink); display: block; }
.quote__by small { font-size: 13px; color: var(--muted); }

/* ---- CTA with image ----------------------------------------------------- */
.cta-img { position: relative; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-img__overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(12,70,61,.94) 30%, rgba(12,106,94,.75)); }
.cta-img__inner { position: relative; padding: 64px 56px; text-align: center; }
.cta-img__inner h2 { color: #fff; font-size: clamp(28px,3.6vw,42px); margin: 0; }
.cta-img__inner p { color: rgba(255,255,255,.85); font-size: 18px; margin: 12px 0 28px; }
.cta-img__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Responsive (v2) ---------------------------------------------------- */
@media (max-width: 960px) {
  .hero2__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero2__media { max-width: 460px; }
  .section-head--split { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .float-card--tl { left: -6px; top: 10px; }
  .float-card--br { right: -6px; }
  .cta-img__inner { padding: 40px 24px; }
  .work2, .work2__body { min-height: 300px; }
}

/* ---- Clients grid ------------------------------------------------------- */
.clients-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.client-chip { display: flex; align-items: center; gap: 14px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 14px; padding: 15px 18px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.client-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #E0D9C6; }
.client-chip__mono { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 15px; color: #fff;
  background: linear-gradient(150deg, var(--teal-light), var(--teal-deep)); }
.client-chip:nth-child(3n+2) .client-chip__mono { background: linear-gradient(150deg, var(--gold-light), var(--gold)); color: #4a3a1c; }
.client-chip:nth-child(3n) .client-chip__mono { background: linear-gradient(150deg, #2A9D8F, #0E5249); }
.client-chip__tx b { font-family: var(--display); font-size: 15px; color: var(--ink); display: block; line-height: 1.2; }
.client-chip__tx small { font-size: 12.5px; color: var(--muted); }
@media (max-width: 760px) { .clients-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .clients-grid { grid-template-columns: 1fr; } }

/* ---- ERP platform cards ------------------------------------------------- */
.platform-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.platform-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #E0D9C6; }
.platform-card__logo { display: inline-flex; align-items: center; font-family: var(--display); font-weight: 700;
  font-size: 24px; letter-spacing: -.02em; padding: 10px 20px; border-radius: 12px; margin-bottom: 20px;
  background: linear-gradient(150deg, rgba(28,179,158,.16), rgba(12,106,94,.12)); color: var(--teal-deep); }
.platform-card__logo span { color: var(--gold-deep); }
.platform-card__logo--odoo { background: rgba(113,75,103,.12); color: #714B67; text-transform: lowercase; }
.platform-card h3 { font-size: 23px; }
.platform-card .value-list { margin-top: 20px; }
.platform-card .value-list li { font-size: 15px; }

/* ---- ERP modules chips -------------------------------------------------- */
.modules { margin-top: 40px; text-align: center; }
.modules__label { display: block; font-family: var(--display); font-weight: 600; font-size: 15px;
  color: var(--muted); margin-bottom: 18px; }
.modules__chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.module-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; box-shadow: var(--shadow-sm);
  font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--ink); }
.module-chip svg { width: 15px; height: 15px; color: var(--teal); }
