/* =========================================================
   Neeotech — static preview stylesheet
   Tokens: see design-tokens.md. Layout: flexbox only.
   ========================================================= */

:root {
  /* Colours */
  --c-navy: #12284C;
  --c-navy-2: #1C3A66;
  --c-accent: #14B8A6;          /* buttons, CTA band, step numbers, solid fills (navy text on top) */
  --c-accent-hover: #2DD4BF;    /* hover of solid accent buttons (navy text) */
  --c-accent-on-dark: #2DD4BF;  /* accent text/icons on navy backgrounds */
  --c-accent-ink: #0F766E;      /* accent text/icons on white/light backgrounds */
  --c-accent-rgb: 20, 184, 166; /* for rgba() tints */
  --c-yellow: var(--c-accent);  /* legacy alias for the old yellow accent — kept so nothing breaks */
  --c-text: #1E2A3B;
  --c-muted: #55617A;
  --c-surface: #F3F6FA;
  --c-white: #FFFFFF;
  --c-border: #DCE3EC;

  /* Fonts */
  --f-head: "Poppins", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;

  /* Spacing */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 48px;
  --s-6: 80px;

  /* Shape */
  --radius: 10px;
  --radius-btn: 8px;
  --radius-pill: 999px;
  --shadow: 0 4px 14px rgba(18, 40, 76, .08);
  --shadow-hover: 0 12px 28px rgba(18, 40, 76, .14);
  --container: 1200px;
  --t: .25s ease;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-navy); }
h1, h2, h3, h4 {
  font-family: var(--f-head);
  color: var(--c-navy);
  line-height: 1.2;
  margin: 0 0 var(--s-2);
}
h1 { font-size: clamp(2rem, 3.2vw + 1rem, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.0625rem; font-weight: 600; }
p { margin: 0 0 var(--s-2); }
ul { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--c-accent-on-dark); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--c-accent); color: var(--c-navy);
  padding: var(--s-1) var(--s-2); font-weight: 600; z-index: 100;
}
.skip-link:focus { left: var(--s-2); top: var(--s-2); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Layout primitives (Section > Container > Widgets) ---------- */
.section { padding: var(--s-6) 0; }
.section--surface { background: var(--c-surface); }
.section--navy { background: var(--c-navy); color: var(--c-white); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--c-white); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-3);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.row--center { align-items: center; }
.col { flex: 1 1 0; min-width: 0; }

/* Section heading block */
.sec-head { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 720px; margin: 0 auto; }
.sec-head--left { align-items: flex-start; text-align: left; margin: 0; }
.sec-head h2 { margin-bottom: var(--s-1); }
.sec-head p { color: var(--c-muted); margin: 0; }
.section--navy .sec-head p { color: #D5DEEB; }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-1);
  font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-navy); background: rgba(var(--c-accent-rgb), .14);
  padding: 4px 14px; border-radius: var(--radius-pill); margin-bottom: var(--s-2);
}
.section--navy .eyebrow, .hero .eyebrow { color: var(--c-accent-on-dark); background: rgba(var(--c-accent-rgb), .16); }
.hl { color: var(--c-navy); background: linear-gradient(transparent 62%, rgba(var(--c-accent-rgb), .30) 62%); padding: 0 .1em; }
.hero .hl, .section--navy .hl { color: var(--c-accent-on-dark); background: none; padding: 0; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-1);
  font-family: var(--f-head); font-weight: 600; font-size: .9375rem;
  padding: 13px 26px; border-radius: var(--radius-btn);
  border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
  min-height: 48px;
}
.btn:hover { transform: translateY(-2px); }
.btn--yellow, .btn--accent { background: var(--c-accent); color: var(--c-navy); }
.btn--yellow:hover, .btn--accent:hover { background: var(--c-accent-hover); color: var(--c-navy); }
.btn--navy { background: var(--c-navy); color: var(--c-white); }
.btn--navy:hover { background: var(--c-navy-2); }
.btn--outline-light { border-color: rgba(255, 255, 255, .7); color: var(--c-white); }
.btn--outline-light:hover { background: var(--c-white); color: var(--c-navy); }
.btn--block { width: 100%; }

/* Placeholder marker — anything the client still has to confirm */
.tbc {
  background: #FFF4C2; color: #5A4500;
  border: 1px dashed #B58900; border-radius: 4px;
  padding: 0 6px; font-size: .9em; font-weight: 600;
  overflow-wrap: anywhere; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Top bar ---------- */
.topbar { background: var(--c-navy); color: #D5DEEB; font-size: .875rem; }
.topbar .container { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-1) var(--s-3); padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--c-white); text-decoration: none; }
.topbar__list { display: flex; flex-wrap: wrap; gap: var(--s-3); list-style: none; }
.topbar__list li { display: flex; align-items: center; gap: 6px; }
.topbar svg { width: 16px; height: 16px; color: var(--c-accent-on-dark); flex: none; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--c-white); box-shadow: 0 1px 0 var(--c-border), var(--shadow); }
.header .container { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 76px; }
.header__logo img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: var(--s-4); }
.nav__list { display: flex; gap: var(--s-3); list-style: none; }
.nav__list a {
  font-family: var(--f-head); font-weight: 500; font-size: .9375rem;
  color: var(--c-navy); text-decoration: none; padding: 6px 0;
  border-bottom: 2px solid transparent; transition: border-color var(--t);
}
.nav__list a:hover { border-bottom-color: var(--c-accent); }
.nav__toggle {
  display: none; background: none; border: 2px solid var(--c-border); border-radius: var(--radius-btn);
  width: 48px; height: 48px; align-items: center; justify-content: center; cursor: pointer; color: var(--c-navy);
}
.nav__toggle svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-2) 100%); color: var(--c-white); padding: var(--s-6) 0; }
.hero h1 { color: var(--c-white); }
.hero .row { align-items: center; gap: var(--s-5); }
.hero__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.hero__lead { font-size: 1.125rem; color: #D5DEEB; max-width: 560px; margin-bottom: var(--s-4); }
.hero__media { flex: 1 1 420px; min-width: 0; }
.hero__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); box-shadow: 0 24px 48px rgba(0, 0, 0, .3); }
.hero__points { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-3); list-style: none; margin-top: var(--s-4); }
.hero__points li { display: flex; align-items: center; gap: var(--s-1); font-size: .9375rem; color: #E6ECF4; }
.hero__points svg { width: 20px; height: 20px; color: var(--c-accent-on-dark); flex: none; }

/* ---------- Clients strip ---------- */
.clients .container { gap: var(--s-3); }
.clients__title { text-align: center; font-family: var(--f-head); font-weight: 600; color: var(--c-muted); font-size: .9375rem; letter-spacing: .04em; text-transform: uppercase; margin: 0; }
/* Continuous marquee: two identical lists side by side, track slides by -50% and loops.
   Spacing uses margin-right on each logo (not gap) so the two halves are exactly equal. */
.marquee {
  overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.clients__list { display: flex; flex: none; list-style: none; }
.clients__list li {
  flex: 0 0 160px; height: 84px; margin-right: var(--s-2);
  display: flex; align-items: center; justify-content: center;
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius); padding: var(--s-1);
}
.clients__list img { max-height: 64px; width: auto; }

/* ---------- Cards (services, products, steps, testimonials) ---------- */
.cards { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.card {
  flex: 1 1 calc(25% - var(--s-3)); min-width: 240px;
  display: flex; flex-direction: column;
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: var(--s-3); box-shadow: var(--shadow);
  transition: box-shadow var(--t), transform var(--t);
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.card p { color: var(--c-muted); margin: 0; }
.card__icon {
  width: 56px; height: 56px; border-radius: 12px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--c-accent-rgb), .14); color: var(--c-accent-ink); margin-bottom: var(--s-2);
}
.card__icon svg { width: 28px; height: 28px; }
.card__list { list-style: none; margin-top: var(--s-2); display: flex; flex-direction: column; gap: 6px; }
.card__list li { display: flex; gap: var(--s-1); font-size: .9375rem; }
.card__list li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: var(--c-accent); }

/* Product range cards */
.product { padding: 0; overflow: hidden; text-decoration: none; color: inherit; }
.product__img { background: var(--c-white); border-bottom: 1px solid var(--c-border); padding: var(--s-2); display: flex; justify-content: center; }
.product__img img { width: 100%; max-width: 240px; aspect-ratio: 1 / 1; object-fit: contain; transition: transform .4s ease; }
.product:hover .product__img img { transform: scale(1.05); }
.product__body { padding: var(--s-2) var(--s-3) var(--s-3); display: flex; flex-direction: column; flex: 1; }
.product__body h3 { margin-bottom: 4px; }
.product__more { margin-top: auto; padding-top: var(--s-2); font-family: var(--f-head); font-weight: 600; font-size: .9375rem; color: var(--c-navy); display: inline-flex; align-items: center; gap: 6px; }
.product__more svg { width: 18px; height: 18px; transition: transform var(--t); }
.product:hover .product__more svg { transform: translateX(4px); }

/* ---------- About ---------- */
.about .row { align-items: center; gap: var(--s-5); }
.about__media { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: var(--s-2); }
.about__media img { border-radius: var(--radius); border: 1px solid var(--c-border); background: var(--c-white); }
.about__text { flex: 1 1 460px; min-width: 0; }
.about__text p { color: var(--c-muted); }
.stats { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; margin: var(--s-3) 0; }
.stats li {
  flex: 1 1 140px; display: flex; flex-direction: column;
  background: var(--c-surface); border-left: 4px solid var(--c-accent); border-radius: 6px; padding: var(--s-2);
}
.stats strong { font-family: var(--f-head); font-size: 1.75rem; color: var(--c-navy); line-height: 1.1; }
.stats span { font-size: .875rem; color: var(--c-muted); }
.checks { list-style: none; display: flex; flex-direction: column; gap: var(--s-1); margin-bottom: var(--s-4); }
.checks li { display: flex; gap: var(--s-1); align-items: flex-start; }
.checks svg { width: 22px; height: 22px; color: var(--c-navy); flex: none; margin-top: 1px; }

/* ---------- Process ---------- */
.steps { display: flex; flex-wrap: wrap; gap: var(--s-3); list-style: none; counter-reset: step; }
.step {
  flex: 1 1 calc(20% - var(--s-3)); min-width: 190px;
  display: flex; flex-direction: column; gap: var(--s-1);
  background: var(--c-navy-2); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: var(--s-3);
}
.step__num {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-accent); color: var(--c-navy);
  font-family: var(--f-head); font-weight: 700;
}
.step h3 { margin: var(--s-1) 0 0; font-size: 1.125rem; }
.step p { color: #D5DEEB; margin: 0; font-size: .9375rem; }

/* ---------- Testimonials (placeholders) ---------- */
.notice {
  display: flex; gap: var(--s-1); align-items: flex-start;
  background: #FFF4C2; color: #5A4500; border: 1px dashed #B58900; border-radius: var(--radius);
  padding: var(--s-2) var(--s-3); font-size: .9375rem;
}
.notice svg { width: 22px; height: 22px; flex: none; }
.quote { flex: 1 1 calc(33.333% - var(--s-3)); min-width: 260px; border-style: dashed; border-width: 2px; }
.quote__tag { align-self: flex-start; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: #FFF4C2; color: #5A4500; border-radius: var(--radius-pill); padding: 2px 10px; margin-bottom: var(--s-2); }
.quote blockquote { margin: 0 0 var(--s-3); font-size: 1rem; color: var(--c-text); font-style: italic; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: var(--s-2); }
.quote__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--c-surface); border: 2px dashed var(--c-border); flex: none; }
.quote__name { font-family: var(--f-head); font-weight: 600; color: var(--c-navy); display: block; }
.quote__role { font-size: .875rem; color: var(--c-muted); }

/* ---------- FAQ (native details/summary = Elementor Accordion) ---------- */
.faq { display: flex; flex-direction: column; gap: var(--s-2); max-width: 860px; width: 100%; margin: 0 auto; }
.faq details { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius); }
.faq details[open] { box-shadow: var(--shadow); border-color: var(--c-navy); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--s-2);
  padding: 18px var(--s-3); font-family: var(--f-head); font-weight: 600; color: var(--c-navy); font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--c-accent-rgb), .18); font-size: 1.25rem; line-height: 1;
}
.faq details[open] summary::after { content: "–"; background: var(--c-accent); }
.faq details > div { padding: 0 var(--s-3) var(--s-3); color: var(--c-muted); }
.faq details > div p { margin: 0; }

/* ---------- Contact ---------- */
.contact .row { gap: var(--s-5); align-items: flex-start; }
.contact__info { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.contact__info p { color: var(--c-muted); }
.info-list { list-style: none; display: flex; flex-direction: column; gap: var(--s-2); }
.info-list li { display: flex; gap: var(--s-2); align-items: flex-start; }
.info-list .card__icon { width: 48px; height: 48px; margin: 0; }
.info-list .card__icon svg { width: 22px; height: 22px; }
.info-list strong { display: block; font-family: var(--f-head); color: var(--c-navy); }
.contact__form { flex: 1.4 1 480px; min-width: 0; background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius); padding: var(--s-4); box-shadow: var(--shadow); }
.form { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-3); }
.field { flex: 1 1 calc(50% - var(--s-3)); min-width: 220px; display: flex; flex-direction: column; gap: 6px; }
.field--full { flex-basis: 100%; }
.field label { font-weight: 600; font-size: .9375rem; color: var(--c-navy); }
.field label .req { color: #B42318; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--c-text); background: var(--c-white);
  border: 1px solid #B8C3D3; border-radius: var(--radius-btn); padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(var(--c-accent-rgb), .45); outline-offset: 0; border-color: var(--c-navy); }
.field__hint { font-size: .8125rem; color: var(--c-muted); }
.form__status { flex-basis: 100%; margin: 0; font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-ok { color: #13723A; }
.form__status.is-err { color: #B42318; }

/* ---------- CTA band ---------- */
.cta { background: var(--c-accent); padding: var(--s-5) 0; }
.cta .container { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); }
.cta h2 { margin: 0; font-size: clamp(1.5rem, 1.5vw + 1rem, 2rem); }
.cta p { margin: 4px 0 0; color: var(--c-navy); }

/* ---------- Footer ---------- */
.footer { background: #0C1D38; color: #C9D3E2; padding: var(--s-6) 0 0; font-size: .9375rem; }
.footer a { color: #E6ECF4; text-decoration: none; }
.footer a:hover { color: var(--c-accent-on-dark); text-decoration: underline; }
.footer__cols { display: flex; flex-wrap: wrap; gap: var(--s-5); }
.footer__col { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: var(--s-2); }
.footer__col--brand { flex: 1.6 1 280px; }
.footer__col h2 { color: var(--c-white); font-size: 1.0625rem; margin: 0; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: var(--s-1); }
.footer__logo { width: 160px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: var(--s-5); }
.footer__bottom .container { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: var(--s-1) var(--s-3); padding-top: var(--s-3); padding-bottom: var(--s-3); font-size: .875rem; }
.footer__bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-3); }
.footer .tbc { font-size: .85em; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .section, .hero { padding: 64px 0; }
  .card { flex-basis: calc(50% - var(--s-3)); }
  .step { flex-basis: calc(33.333% - var(--s-3)); }
  .nav__list { gap: var(--s-2); }
  .header__cta { display: none; }
}

/* ---------- Mobile nav switch ---------- */
@media (max-width: 900px) {
  .js .nav__toggle { display: inline-flex; }
  .js .nav { display: none; position: static; }
  .js .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: var(--s-2);
    flex-basis: 100%; padding-bottom: var(--s-3);
  }
  .header .container { flex-wrap: wrap; }
  .nav { flex-basis: 100%; flex-direction: column; align-items: stretch; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--c-border); }
  .header__cta { display: inline-flex; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .container { padding: 0 var(--s-2); }
  .section, .hero { padding: var(--s-5) 0; }
  .card, .step, .quote { flex-basis: 100%; }
  .topbar__tag { display: none; }
  .contact__form { padding: var(--s-3) var(--s-2); }
  .clients__list li { flex-basis: 130px; height: 72px; margin-right: 12px; }
  .clients__list img { max-height: 54px; }
  .btn-row .btn { flex: 1 1 100%; }
  .footer__cols { gap: var(--s-4); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  /* No auto-scroll: let users swipe/scroll the logo row themselves */
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .clients__list[aria-hidden="true"] { display: none; }
}
